Go Live [15 June]

Docs Build status updates of commit 0092e98:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/TOC.yml
:white_check_mark:Succeeded
View

msteams-platform/apps-in-teams-meetings/teams-apps-in-meetings.md
:white_check_mark:Succeeded
View

msteams-platform/apps-in-teams-meetings/teams-together-mode.md
:white_check_mark:Succeeded
View

msteams-platform/assets/images/IIS.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/Teamstoolkitpage.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/adaptive-cards/mobile-universal-bots-teams-outlook.jpg
:white_check_mark:Succeeded
View

msteams-platform/assets/images/createnewproject.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/solution-configurations.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/teamstoolkiticon.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/visual-studio-web-dev-module.png
:white_check_mark:Succeeded
View

msteams-platform/bots/how-to/conversations/send-proactive-messages.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/build-and-test/app-studio-overview.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/build-and-test/deep-links.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/build-and-test/teams-developer-portal.md
:white_check_mark:Succeeded
View

msteams-platform/graph-api/proactive-bots-and-messages/graph-proactive-bots-and-messages.md
:white_check_mark:Succeeded
View

msteams-platform/task-modules-and-cards/cards/cards-format.md
:white_check_mark:Succeeded
View

msteams-platform/toolkit/visual-studio-overview.md
:white_check_mark:Succeeded
View

msteams-platform/whats-new.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


I was not able to install it on the C.H.I.P

Dear Sir
I am getting this error:
/usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory
include <sys/cdefs.h>

I need more information than just this.
What file caused this error?
Did you install all the proper dependencies per the README?
Can you provide the full build output?

Dear Robert
Tell me what to do and I will send you everything you need, I am not Linux expert…
I did the following:
sudo apt-get update
sudo apt-get install git build-essential python-dev python-pip flex bison chip-dt-overlays -y
git clone https://github.com/atenart/dtc.git
cd dtc
make
sudo  make install PREFIX=/usr
cd ..
git clone git://github.com/xtacocorex/CHIP_IO.git
cd CHIP_IO
sudo python setup.py install
cd ..
and stopped with make error as  I have sent to you.
From: Robert Wolterman<EMAIL_ADDRESS>Sent: Wednesday, February 15, 2017 12:10 AM
To: xtacocorex/CHIP_IO<EMAIL_ADDRESS>Cc: shaddow501<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [xtacocorex/CHIP_IO] I was not able to install it on the C.H.I.P (#60)
I need more information than just this.
What file caused this error?
Did you install all the proper dependencies per the README?
Can you provide the full build output?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xtacocorex/CHIP_IO/issues/60#issuecomment-279852318 , or mute the thread https://github.com/notifications/unsubscribe-auth/AUIqkwu1CsRCtsPPpXzOO1hzSGRMC4tmks5rciZJgaJpZM4MBA8A .  https://github.com/notifications/beacon/AUIqkws_LSIldvcuvDwFvzljpJE_NFuyks5rciZJgaJpZM4MBA8A.gif

root@chip:/home/chip/CHIP_IO/dtc# ls
checks.c                   dtc-parser.y  Makefile.convert-dtsv0
checks.d                   dtdiff        Makefile.dtc
convert-dtsv0-lexer.l      fdtdump.c     Makefile.utils
convert-dtsv0-lexer.lex.c  fdtdump.d     README
convert-dtsv0-lexer.lex.d  fdtget.c      README.license
data.c                     fdtget.d      scripts
data.d                     fdtput.c      srcpos.c
Documentation              fdtput.d      srcpos.d
dtc.c                      flattree.c    srcpos.h
dtc.d                      flattree.d    tests
dtc.h                      fstree.c      TODO
dtc-lexer.l                fstree.d      treesource.c
dtc-lexer.lex.c            GPL           treesource.d
dtc-lexer.lex.d            libfdt        util.c
dtc-parser.tab.c           livetree.c    util.d
dtc-parser.tab.d           livetree.d    util.h
dtc-parser.tab.h           Makefile      version_gen.h
root@chip:/home/chip/CHIP_IO/dtc# make
    CHK version_gen.h

     CC srcpos.o

In file included from /usr/include/stdio.h:27:0,
             from srcpos.c:22:

/usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory
include <sys/cdefs.h>
                     ^

compilation terminated.
Makefile:255: recipe for target 'srcpos.o' failed
make: *** [srcpos.o] Error 1
root@chip:/home/chip/CHIP_IO/dtc#
Next:
root@chip:/home/chip/CHIP_IO# sudo python setup.py install
Compiling DTS Files
Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property
Checking for DTBO Install Path
Removing old DTBO files (if applicable)
Moving DTBO files to /lib/firmware/chip_io
running install
running bdist_egg
running egg_info
writing CHIP_IO.egg-info/PKG-INFO
writing top-level names to CHIP_IO.egg-info/top_level.txt
writing dependency_links to CHIP_IO.egg-info/dependency_links.txt
reading manifest file 'CHIP_IO.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'CHIP_IO.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv7l/egg
running install_lib
running build_py
running build_ext
building 'CHIP_IO.GPIO' extension
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c source/py_gpio.c -o build/temp.linux-armv7l-2.7/source/py_gpio.o -Wno-format-security
In file included from /usr/include/stdlib.h:24:0,
             from source/py_gpio.c:39:

/usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory
include <sys/cdefs.h>
                     ^

compilation terminated.
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
root@chip:/home/chip/CHIP_IO#
From: Robert Wolterman<EMAIL_ADDRESS>Sent: Wednesday, February 15, 2017 12:10 AM
To: xtacocorex/CHIP_IO<EMAIL_ADDRESS>Cc: shaddow501<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [xtacocorex/CHIP_IO] I was not able to install it on the C.H.I.P (#60)
I need more information than just this.
What file caused this error?
Did you install all the proper dependencies per the README?
Can you provide the full build output?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xtacocorex/CHIP_IO/issues/60#issuecomment-279852318 , or mute the thread https://github.com/notifications/unsubscribe-auth/AUIqkwu1CsRCtsPPpXzOO1hzSGRMC4tmks5rciZJgaJpZM4MBA8A .  https://github.com/notifications/beacon/AUIqkws_LSIldvcuvDwFvzljpJE_NFuyks5rciZJgaJpZM4MBA8A.gif

Hmm, it appears libc6 might not have gotten installed.
Try:
sudo apt-get install libc6 libc6-dev

And then rebuild dtc and CHIP_IO again.

I think I did before install them
libc6 is already the newest version.
libc6-dev is already the newest version.
Finally after looking that file I was able to find 3 packages that were missing and apt-get install said that there is no release candidate or they weren’t found.
I managed to compile it all downloading the files manually move them to the CHIP home folder and installed them:
https://packages.debian.org/sid/libc6-dev-armhf-cross
dpkg –I libc6-dev-armhf-cross_2.24-9cross1_all.deb
dpkg –I linux-libc-dev-armhf-cross_4.9.2-2cross1_all.deb
dpkg –I libc6-armhf-cross_2.24-9cross1_all.deb
Sorry not sure if in this order…
From: Robert Wolterman<EMAIL_ADDRESS>Sent: Wednesday, February 15, 2017 2:41 AM
To: xtacocorex/CHIP_IO<EMAIL_ADDRESS>Cc: shaddow501<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [xtacocorex/CHIP_IO] I was not able to install it on the C.H.I.P (#60)
Hmm, it appears libc6 might not have gotten installed.
Try:
sudo apt-get install libc6 libc6-dev
And then rebuild dtc and CHIP_IO again.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xtacocorex/CHIP_IO/issues/60#issuecomment-279882889 , or mute the thread https://github.com/notifications/unsubscribe-auth/AUIqk9w0WxZOaXuY0P7pG4erBs-qMKH8ks5rckmdgaJpZM4MBA8A .  https://github.com/notifications/beacon/AUIqk9x3eyD8cw4nTQgvIXMYoCHLE0WWks5rckmdgaJpZM4MBA8A.gif

So CHIP_IO is now happy for you?
I did notice you're running as root.  That is not recommended on Linux machines as you can destroy your system if you don't know what you're doing.
Are you on a CHIP or CHIP Pro?

Lol Not working yet
Now I have other problem…
I am on CHIP not CHIP Pro
About being root, I do many backups :)
I made this test file:
import CHIP_IO.GPIO as GPIO
import time
GPIO.cleanup()
GPIO.setup("XIO-P2", GPIO.OUT)
print "Toggling XIO-P1 10 times..."
for i in range(0,10):
GPIO.output("XIO-P2", GPIO.LOW)
time.sleep(0.1)
GPIO.output("XIO-P2", GPIO.HIGH)
time.sleep(0.1)
GPIO.cleanup()
When I run it I get:
root@chip:/home/chip/CHIP_IO# python led.py
File "led.py", line 13
GPIO.output("XIO-P2", GPIO.LOW)

   ^

IndentationError: expected an indented block
How to fix it now?
From: Robert Wolterman<EMAIL_ADDRESS>Sent: Wednesday, February 15, 2017 4:09 AM
To: xtacocorex/CHIP_IO<EMAIL_ADDRESS>Cc: shaddow501<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [xtacocorex/CHIP_IO] I was not able to install it on the C.H.I.P (#60)
So CHIP_IO is now happy for you?
I did notice you're running as root. That is not recommended on Linux machines as you can destroy your system if you don't know what you're doing.
Are you on a CHIP or CHIP Pro?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xtacocorex/CHIP_IO/issues/60#issuecomment-279897092 , or mute the thread https://github.com/notifications/unsubscribe-auth/AUIqk6Ejp1907--5fMMxUf9O19ykPwp3ks5rcl4igaJpZM4MBA8A .  https://github.com/notifications/beacon/AUIqk4xQKKhqJuWCjJi46-LDhU--folLks5rcl4igaJpZM4MBA8A.gif

Python is very strict about indentation.  The indents need to be the same number of spaces.  The code below is indented properly below.
import CHIP_IO.GPIO as GPIO
import time

GPIO.cleanup()
GPIO.setup("XIO-P2", GPIO.OUT)
print "Toggling XIO-P1 10 times..."

for i in range(0,10):
    GPIO.output("XIO-P2", GPIO.LOW)
    time.sleep(0.1)
    GPIO.output("XIO-P2", GPIO.HIGH)
    time.sleep(0.1)

GPIO.cleanup()

Sorry
My mistake
I copied it wrong…
import CHIP_IO.GPIO as GPIO
import time
GPIO.cleanup()
GPIO.setup("XIO-P2", GPIO.OUT)
print "Toggling  XIO-P1 10 times..."
for i in range(0,10):
    GPIO.output("XIO-P2", GPIO.LOW)

    time.sleep(0.1)

    GPIO.output("XIO-P2", GPIO.HIGH)

    time.sleep(0.1)

GPIO.cleanup()
From: Robert Wolterman<EMAIL_ADDRESS>Sent: Wednesday, February 15, 2017 4:09 AM
To: xtacocorex/CHIP_IO<EMAIL_ADDRESS>Cc: shaddow501<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [xtacocorex/CHIP_IO] I was not able to install it on the C.H.I.P (#60)
So CHIP_IO is now happy for you?
I did notice you're running as root. That is not recommended on Linux machines as you can destroy your system if you don't know what you're doing.
Are you on a CHIP or CHIP Pro?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xtacocorex/CHIP_IO/issues/60#issuecomment-279897092 , or mute the thread https://github.com/notifications/unsubscribe-auth/AUIqk6Ejp1907--5fMMxUf9O19ykPwp3ks5rcl4igaJpZM4MBA8A .  https://github.com/notifications/beacon/AUIqk4xQKKhqJuWCjJi46-LDhU--folLks5rcl4igaJpZM4MBA8A.gif

Yes sorry to bother you figured it out later lol
It is almost 5 am and I was trying to figure out what I do wrong with the CHP-IO for about 2 days, when I almost lost hope I did contact you.
It might that others will encounter the same issue as I did so if you want add those 3 packages that I had to install in not apt-get install way…
Thanks for your help
From: Robert Wolterman<EMAIL_ADDRESS>Sent: Wednesday, February 15, 2017 4:23 AM
To: xtacocorex/CHIP_IO<EMAIL_ADDRESS>Cc: shaddow501<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [xtacocorex/CHIP_IO] I was not able to install it on the C.H.I.P (#60)
Python is very strict about indentation. The indents need to be the same number of spaces. The code below is indented properly below.
import CHIP_IO.GPIO as GPIO
import time
GPIO.cleanup()
GPIO.setup("XIO-P2", GPIO.OUT)
print "Toggling XIO-P1 10 times..."
for i in range(0,10):
GPIO.output("XIO-P2", GPIO.LOW)
time.sleep(0.1)
GPIO.output("XIO-P2", GPIO.HIGH)
time.sleep(0.1)
GPIO.cleanup()
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xtacocorex/CHIP_IO/issues/60#issuecomment-279899084 , or mute the thread https://github.com/notifications/unsubscribe-auth/AUIqkybBnH3nM9seWeYVHTBZOGfHmY-4ks5rcmGSgaJpZM4MBA8A .  https://github.com/notifications/beacon/AUIqkxwIcEmlD7kH5Ob8GvkNzE1DiWRDks5rcmGSgaJpZM4MBA8A.gif

No worries!  I wonder if you did something to your system that caused those to not be there.  I haven't had to install them on any of my CHIPs and my CHIP Pro to get CHIP_IO to install.
I'll keep this open and investigate a bit.

I am on the latest kernel 4.4 something.
I just flashed it with the getchip no limit version and uploaded the tar –zxvpf.
If the files weren’t deleted or anything just wasn’t there..
From: Robert Wolterman<EMAIL_ADDRESS>Sent: Wednesday, February 15, 2017 4:29 AM
To: xtacocorex/CHIP_IO<EMAIL_ADDRESS>Cc: shaddow501<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [xtacocorex/CHIP_IO] I was not able to install it on the C.H.I.P (#60)
No worries! I wonder if you did something to your system that caused those to not be there. I haven't had to install them on any of my CHIPs and my CHIP Pro to get CHIP_IO to install.
I'll keep this open and investigate a bit.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xtacocorex/CHIP_IO/issues/60#issuecomment-279899804 , or mute the thread https://github.com/notifications/unsubscribe-auth/AUIqk8wTs8iCdRxewqhKfRki9u7C2IlNks5rcmLbgaJpZM4MBA8A .  https://github.com/notifications/beacon/AUIqk1pk80Nj52gm2bLWOLw116SYGHFNks5rcmLbgaJpZM4MBA8A.gif

This is the backup I do
For backup:
cd /
mkdir /backup
mount /dev/sda1 /backup
tar -zcvpf /backup/fullbackup.tar.gz --directory=/ --exclude=proc --exclude=sys --exclude=dev \
--exclude=sys --exclude=mnt --exclude=backup --exclude='./etc/udev/rules.d/70-persistent-net.rules' .
From: Robert Wolterman<EMAIL_ADDRESS>Sent: Wednesday, February 15, 2017 4:29 AM
To: xtacocorex/CHIP_IO<EMAIL_ADDRESS>Cc: shaddow501<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [xtacocorex/CHIP_IO] I was not able to install it on the C.H.I.P (#60)
No worries! I wonder if you did something to your system that caused those to not be there. I haven't had to install them on any of my CHIPs and my CHIP Pro to get CHIP_IO to install.
I'll keep this open and investigate a bit.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xtacocorex/CHIP_IO/issues/60#issuecomment-279899804 , or mute the thread https://github.com/notifications/unsubscribe-auth/AUIqk8wTs8iCdRxewqhKfRki9u7C2IlNks5rcmLbgaJpZM4MBA8A .  https://github.com/notifications/beacon/AUIqk1pk80Nj52gm2bLWOLw116SYGHFNks5rcmLbgaJpZM4MBA8A.gif

Now I have this problem
Also doesn’t work after reboot…
GPIO.setup("LCD-D23", GPIO.OUT)

RuntimeError: Error setting up channel LCD-D23, maybe already exported? (gpio_export: could not write '119' to /sys/class/gpio/export (Device or resource busy))
root@chip:/sys/class/gpio# ls
export  gpiochip0  gpiochip1013  gpiochip1021  unexport
I cannot unexport them…
From: Robert Wolterman<EMAIL_ADDRESS>Sent: Wednesday, February 15, 2017 4:29 AM
To: xtacocorex/CHIP_IO<EMAIL_ADDRESS>Cc: shaddow501<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [xtacocorex/CHIP_IO] I was not able to install it on the C.H.I.P (#60)
No worries! I wonder if you did something to your system that caused those to not be there. I haven't had to install them on any of my CHIPs and my CHIP Pro to get CHIP_IO to install.
I'll keep this open and investigate a bit.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xtacocorex/CHIP_IO/issues/60#issuecomment-279899804 , or mute the thread https://github.com/notifications/unsubscribe-auth/AUIqk8wTs8iCdRxewqhKfRki9u7C2IlNks5rcmLbgaJpZM4MBA8A .  https://github.com/notifications/beacon/AUIqk1pk80Nj52gm2bLWOLw116SYGHFNks5rcmLbgaJpZM4MBA8A.gif

I'm beginning to think your backup might be causing issues, although I'm not 100% sure on that.
How often are you backing up and restoring your CHIP?
I have no issues with LCD-D23 on the CHIP I use for development.
[chip@chipdev][04:13][~]: sudo python
[sudo] password for chip:
Python 2.7.9 (default, Aug 13 2016, 17:56:53)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import CHIP_IO.GPIO as gp
>>> gp.setup("LCD-D23",gp.OUT)
>>> gp.cleanup()
>>> gp.toggle_debug()
>>> gp.setup("LCD-D23",gp.OUT)
 ** gpio_export **
 ** gpio_export: creating data struct **
 ** gpio_set_direction: out **
 ** gpio_set_pud: port 3, pin 23, value 0 **
 ** gpio_get_pud: port 3, pin 23 **
 ** open_value_file **
>>> gp.cleanup()
 ** exports_cleanup **
 ** gpio_unexport **
 ** gpio_unexport: freeing memory **
 ** gpio_unexport **
>>>

I backup after a major change.
I didnt backup yet after getting the CHIP IO working.
The problem happen I think is when I stopped python script during process....
But now I cannot remove any of the gpiochip1013 and 1021...
Ilan B. (Mobile)
-----Original Message-----
From: Robert Wolterman<EMAIL_ADDRESS>To: xtacocorex/CHIP_IO<EMAIL_ADDRESS>Cc: shaddow501<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Sent: יום ד׳, 15 פבר' 2017 6:23
Subject: Re: [xtacocorex/CHIP_IO] I was not able to install it on the C.H.I.P (#60)
I'm beginning to think your backup might be causing issues, although I'm not 100% sure on that.
How often are you backing up and restoring your CHIP?
I have no issues with LCD-D23 on the CHIP I use for development.
[chip@chipdev][04:13][~]: sudo python
[sudo] password for chip:
Python 2.7.9 (default, Aug 13 2016, 17:56:53)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import CHIP_IO.GPIO as gp
>>> gp.setup("LCD-D23",gp.OUT)
>>> gp.cleanup()
>>> gp.toggle_debug()
>>> gp.setup("LCD-D23",gp.OUT)
 ** gpio_export **
 ** gpio_export: creating data struct **
 ** gpio_set_direction: out **
 ** gpio_set_pud: port 3, pin 23, value 0 **
 ** gpio_get_pud: port 3, pin 23 **
 ** open_value_file **
>>> gp.cleanup()
 ** exports_cleanup **
 ** gpio_unexport **
 ** gpio_unexport: freeing memory **
 ** gpio_unexport **
>>>

--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/xtacocorex/CHIP_IO/issues/60#issuecomment-279913633

Update
It seems that after adding this line to the python script it fixed the problem…
Before that I did run Utilities.py (python Utilities.py)
Could that fixed my problem?
def unexport_all():
if DEBUG:

    print("Unexporting all the pins")

gpios = glob.glob("/sys/class/gpio/gpio[0-9]*")

for g in gpios:

    tmp = g.split("/")

    gpio = tmp[4]

    num = re.sub("[a-z]","",gpio)

    cmd = "echo " + num + " > /sys/class/gpio/unexport"

    subprocess.Popen(cmd,shell=True, stdout=subprocess.PIPE)

There is a command to free al GPIOs but it doesn’t work…
root@chip:/home/chip/CHIP_IO# sh unexport_all.sh
/sys/class/gpio/gpio[0-9]* 0-9]*
unexport_all.sh: line 6: echo: write error: Invalid argument
I don’t know why, I am not an expert but it seems that with this configuration python script everything works well with no issues even when I stop (CTRL-C) the script it still working after with no issues.
In the script I toggle between 2 x GPIOs  as you can see.
One leg of the LED is connected to D23 and the other to D21 and I just switch between them.
It is just for testing purpose I use 2 GPIOs to drive a LED, I know that I can use only one ((-) leg of the LED to the GND, or (+) leg to the VCC, but just wanted to test it.
import CHIP_IO.GPIO as GPIO
import time
import subprocess
import glob
import re
print "First freeing GPIOs"
gpios = glob.glob("/sys/class/gpio/gpio[0-9]*")
for g in gpios:
    tmp = g.split("/")

    gpio = tmp[4]

    num = re.sub("[a-z]","",gpio)

    cmd = "echo " + num + " > /sys/class/gpio/unexport"

    subprocess.Popen(cmd,shell=True, stdout=subprocess.PIPE)

GPIO.cleanup()
#GPIO.toggle_debug()
print "Now allocating GPIO"
GPIO.setup("LCD-D23", GPIO.OUT)
GPIO.setup("LCD-D21", GPIO.OUT)
print "Toggling  LCD-D21 & LCD-D23 10 times..."
for i in range(0,1000):
    GPIO.output("LCD-D21", GPIO.LOW)

    GPIO.output("LCD-D23", GPIO.HIGH)

    time.sleep(0.05)

    GPIO.output("LCD-D21", GPIO.HIGH)

    GPIO.output("LCD-D23", GPIO.LOW)

    time.sleep(0.05)

    GPIO.output("LCD-D21", GPIO.LOW)

    GPIO.output("LCD-D23", GPIO.LOW)

GPIO.cleanup()
From: Robert Wolterman<EMAIL_ADDRESS>Sent: Wednesday, February 15, 2017 6:23 AM
To: xtacocorex/CHIP_IO<EMAIL_ADDRESS>Cc: shaddow501<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [xtacocorex/CHIP_IO] I was not able to install it on the C.H.I.P (#60)
I'm beginning to think your backup might be causing issues, although I'm not 100% sure on that.
How often are you backing up and restoring your CHIP?
I have no issues with LCD-D23 on the CHIP I use for development.
[chip@chipdev][04:13][~]: sudo python
[sudo] password for chip:
Python 2.7.9 (default, Aug 13 2016, 17:56:53)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import CHIP_IO.GPIO as gp
gp.setup("LCD-D23",gp.OUT)
gp.cleanup()
gp.toggle_debug()
gp.setup("LCD-D23",gp.OUT)
** gpio_export **
** gpio_export: creating data struct **
** gpio_set_direction: out **
** gpio_set_pud: port 3, pin 23, value 0 **
** gpio_get_pud: port 3, pin 23 **
** open_value_file **
gp.cleanup()
** exports_cleanup **
** gpio_unexport **
** gpio_unexport: freeing memory **
** gpio_unexport **

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xtacocorex/CHIP_IO/issues/60#issuecomment-279913633 , or mute the thread https://github.com/notifications/unsubscribe-auth/AUIqk94FTt-7YEpASujigHh3Sy7QmyhGks5rcn23gaJpZM4MBA8A .  https://github.com/notifications/beacon/AUIqk7CpYgPWFqESg9CXEUv-oIzoxGi4ks5rcn23gaJpZM4MBA8A.gif

You probably didn't import the CHIP_IO Utilities correctly.  You don't need an unexport_all() function as I have one.  Here is what your code should be like:
import CHIP_IO.GPIO as GPIO
import CHIP_IO.Utilities as UT
import time
import subprocess

print "First freeing GPIOs"
# This will blast away all the GPIO exported on the system
# use wisely if other scripts are running that are accessing
# GPIO
UT.unexport_all()

# No need to do a GPIO.cleanup here as nothing
# has been exported, so the underling module
# code won't do anything

#GPIO.toggle_debug()

print "Now allocating GPIO"
GPIO.setup("LCD-D23", GPIO.OUT)
GPIO.setup("LCD-D21", GPIO.OUT)

print "Toggling  LCD-D21 & LCD-D23 10 times..."
for i in range(0,1000):
    GPIO.output("LCD-D21", GPIO.LOW)
    GPIO.output("LCD-D23", GPIO.HIGH)
    time.sleep(0.05)
    GPIO.output("LCD-D21", GPIO.HIGH)
    GPIO.output("LCD-D23", GPIO.LOW)
    time.sleep(0.05)
    GPIO.output("LCD-D21", GPIO.LOW)
    GPIO.output("LCD-D23", GPIO.LOW)

# Final Cleanup
GPIO.cleanup()

Yes it looks much better than what I did
Thank you
What if I would like to unexport only the GPIOs that I have used in the script?
Lets say that there are other python processes that might use other GPIOs and if I set UT.unexport_all() it will damage them as well.
Is the right command UT.unexport_All("LCD-D23","LCD-D21")   ?
From: Robert Wolterman<EMAIL_ADDRESS>Sent: Wednesday, February 15, 2017 3:08 PM
To: xtacocorex/CHIP_IO<EMAIL_ADDRESS>Cc: shaddow501<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [xtacocorex/CHIP_IO] I was not able to install it on the C.H.I.P (#60)
You probably didn't import the CHIP_IO Utilities correctly. You don't need an unexport_all() function as I have one. Here is what your code should be like:
import CHIP_IO.GPIO as GPIO
import CHIP_IO.Utilities as UT
import time
import subprocess
print "First freeing GPIOs"
This will blast away all the GPIO exported on the system
use wisely if other scripts are running that are accessing
GPIO
UT.unexport_all()
No need to do a GPIO.cleanup here as nothing
has been exported, so the underling module
code won't do anything
#GPIO.toggle_debug()
print "Now allocating GPIO"
GPIO.setup("LCD-D23", GPIO.OUT)
GPIO.setup("LCD-D21", GPIO.OUT)
print "Toggling  LCD-D21 & LCD-D23 10 times..."
for i in range(0,1000):
GPIO.output("LCD-D21", GPIO.LOW)
GPIO.output("LCD-D23", GPIO.HIGH)
time.sleep(0.05)
GPIO.output("LCD-D21", GPIO.HIGH)
GPIO.output("LCD-D23", GPIO.LOW)
time.sleep(0.05)
GPIO.output("LCD-D21", GPIO.LOW)
GPIO.output("LCD-D23", GPIO.LOW)
Final Cleanup
GPIO.cleanup()
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xtacocorex/CHIP_IO/issues/60#issuecomment-280005906 , or mute the thread https://github.com/notifications/unsubscribe-auth/AUIqk28NBp1EtjK4E93LLSazcVMgq91Xks5rcvifgaJpZM4MBA8A .  https://github.com/notifications/beacon/AUIqk5_1m0irMZQbhc2fPNSSmfETBrDhks5rcvifgaJpZM4MBA8A.gif

It is not possible to provide arguments to UT.unexport_all().  It's mainly for development so that if the script screws up, you can cleanly enter when you run the script again.
Your earlier problem was probably the Ctrl-C.  The code isn't handling the KeyboardInterrupt exception that is thrown, so the GPIO are still exported when the script is force closed.
That can be solved by changing the code to:
import CHIP_IO.GPIO as GPIO
import CHIP_IO.Utilities as UT
import time
import subprocess

print "First freeing GPIOs"
# This will blast away all the GPIO exported on the system
# use wisely if other scripts are running that are accessing
# GPIO
# Recommended to not use in Live systems
#UT.unexport_all()

# No need to do a GPIO.cleanup here as nothing
# has been exported, so the underling module
# code won't do anything

#GPIO.toggle_debug()

print "Now allocating GPIO"
GPIO.setup("LCD-D23", GPIO.OUT)
GPIO.setup("LCD-D21", GPIO.OUT)

print "Toggling  LCD-D21 & LCD-D23 10 times..."
# The try/catch will grab the Ctrl-C from the user
# while the script is running
try:
    for i in range(0,1000):
        GPIO.output("LCD-D21", GPIO.LOW)
        GPIO.output("LCD-D23", GPIO.HIGH)
        time.sleep(0.05)
        GPIO.output("LCD-D21", GPIO.HIGH)
        GPIO.output("LCD-D23", GPIO.LOW)
        time.sleep(0.05)
        GPIO.output("LCD-D21", GPIO.LOW)
        GPIO.output("LCD-D23", GPIO.LOW)
catch KeyboardInterrupt:
    # This will hit anytime Ctrl-C is pressed
    GPIO.cleanup()

# Final Cleanup
# This will get hit if the loop runs through
# all it's iterations
GPIO.cleanup()

Thanks a lot
Ilan B. (Mobile)
-----Original Message-----
From: Robert Wolterman<EMAIL_ADDRESS>To: xtacocorex/CHIP_IO<EMAIL_ADDRESS>Cc: shaddow501<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Sent: יום ד׳, 15 פבר' 2017 16:14
Subject: Re: [xtacocorex/CHIP_IO] I was not able to install it on the C.H.I.P (#60)
It is not possible to provide arguments to UT.unexport_all().  It's mainly for development so that if the script screws up, you can cleanly enter when you run the script again.
Your earlier problem was probably the Ctrl-C.  The code isn't handling the KeyboardInterrupt exception that is thrown, so the GPIO are still exported when the script is force closed.
That can be solved by changing the code to:
import CHIP_IO.GPIO as GPIO
import CHIP_IO.Utilities as UT
import time
import subprocess

print "First freeing GPIOs"
# This will blast away all the GPIO exported on the system
# use wisely if other scripts are running that are accessing
# GPIO
# Recommended to not use in Live systems
#UT.unexport_all()

# No need to do a GPIO.cleanup here as nothing
# has been exported, so the underling module
# code won't do anything

#GPIO.toggle_debug()

print "Now allocating GPIO"
GPIO.setup("LCD-D23", GPIO.OUT)
GPIO.setup("LCD-D21", GPIO.OUT)

print "Toggling  LCD-D21 & LCD-D23 10 times..."
# The try/catch will grab the Ctrl-C from the user
# while the script is running
try:
    for i in range(0,1000):
        GPIO.output("LCD-D21", GPIO.LOW)
        GPIO.output("LCD-D23", GPIO.HIGH)
        time.sleep(0.05)
        GPIO.output("LCD-D21", GPIO.HIGH)
        GPIO.output("LCD-D23", GPIO.LOW)
        time.sleep(0.05)
        GPIO.output("LCD-D21", GPIO.LOW)
        GPIO.output("LCD-D23", GPIO.LOW)
catch KeyboardInterrupt:
    # This will hit anytime Ctrl-C is pressed
    GPIO.cleanup()

# Final Cleanup
# This will get hit if the loop runs through
# all it's iterations
GPIO.cleanup()

--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/xtacocorex/CHIP_IO/issues/60#issuecomment-280021279

Deat Sir
Your option didn’t work for me it, the python reported errors.
I finally did that instead and I think it is working.
try:
 for i in range(0,1000000):

    GPIO.output("LCD-D21", GPIO.LOW)

    GPIO.output("LCD-D23", GPIO.HIGH)

    time.sleep(0.05)

    GPIO.output("LCD-D21", GPIO.HIGH)

    GPIO.output("LCD-D23", GPIO.LOW)

    time.sleep(0.05)

    GPIO.output("LCD-D21", GPIO.LOW)

    GPIO.output("LCD-D23", GPIO.LOW)

 GPIO.cleanup()

except KeyboardInterrupt:
   GPIO.cleanup()

Lol after I have finally learned how to program correctly in Arduino IDE, now python is a new thing for me…
From: Robert Wolterman<EMAIL_ADDRESS>Sent: Wednesday, February 15, 2017 4:15 PM
To: xtacocorex/CHIP_IO<EMAIL_ADDRESS>Cc: shaddow501<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [xtacocorex/CHIP_IO] I was not able to install it on the C.H.I.P (#60)
It is not possible to provide arguments to UT.unexport_all(). It's mainly for development so that if the script screws up, you can cleanly enter when you run the script again.
Your earlier problem was probably the Ctrl-C. The code isn't handling the KeyboardInterrupt exception that is thrown, so the GPIO are still exported when the script is force closed.
That can be solved by changing the code to:
import CHIP_IO.GPIO as GPIO
import CHIP_IO.Utilities as UT
import time
import subprocess
print "First freeing GPIOs"
This will blast away all the GPIO exported on the system
use wisely if other scripts are running that are accessing
GPIO
Recommended to not use in Live systems
#UT.unexport_all()
No need to do a GPIO.cleanup here as nothing
has been exported, so the underling module
code won't do anything
#GPIO.toggle_debug()
print "Now allocating GPIO"
GPIO.setup("LCD-D23", GPIO.OUT)
GPIO.setup("LCD-D21", GPIO.OUT)
print "Toggling  LCD-D21 & LCD-D23 10 times..."
The try/catch will grab the Ctrl-C from the user
while the script is running
try:
for i in range(0,1000):
GPIO.output("LCD-D21", GPIO.LOW)
GPIO.output("LCD-D23", GPIO.HIGH)
time.sleep(0.05)
GPIO.output("LCD-D21", GPIO.HIGH)
GPIO.output("LCD-D23", GPIO.LOW)
time.sleep(0.05)
GPIO.output("LCD-D21", GPIO.LOW)
GPIO.output("LCD-D23", GPIO.LOW)
catch KeyboardInterrupt:
# This will hit anytime Ctrl-C is pressed
GPIO.cleanup()
Final Cleanup
This will get hit if the loop runs through
all it's iterations
GPIO.cleanup()
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xtacocorex/CHIP_IO/issues/60#issuecomment-280021279 , or mute the thread https://github.com/notifications/unsubscribe-auth/AUIqk1EcUqvcl-0Sn2BAOujBH2bcJ3f7ks5rcwhfgaJpZM4MBA8A .  https://github.com/notifications/beacon/AUIqk2NI7DtPMtuM9Nb4Ayqk8IF7PFDbks5rcwhfgaJpZM4MBA8A.gif

I am at work at the moment and created that script above on the fly without testing.
You should read up on how to code in Python; the issue I caused in the sample above is in due to where I placed the exception handling.  It is not caused by CHIP_IO.

It is ok all works now
From: Robert Wolterman<EMAIL_ADDRESS>Sent: Wednesday, February 15, 2017 10:12 PM
To: xtacocorex/CHIP_IO<EMAIL_ADDRESS>Cc: shaddow501<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [xtacocorex/CHIP_IO] I was not able to install it on the C.H.I.P (#60)
I am at work at the moment and created that script above on the fly without testing.
You should read up on how to code in Python; the issue I caused in the sample above is in due to where I placed the exception handling. It is not caused by CHIP_IO.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/xtacocorex/CHIP_IO/issues/60#issuecomment-280124914 , or mute the thread https://github.com/notifications/unsubscribe-auth/AUIqkw38auXkjRc27UjmWFjEN4wAo6HQks5rc1wbgaJpZM4MBA8A .  https://github.com/notifications/beacon/AUIqk90cFGS5a0YzBOwji5fmgjFq1Wdoks5rc1wbgaJpZM4MBA8A.gif

Hello.
You can help me install the "https://github.com/atenart/dtc" libraries as they are no longer available on that link.
This tutorial    https://drive.google.com/open?id=1DhiZDBd-VJB6IrRimrW3xskTsH8QevHW    . Thanks


[Insight Guide]: Contributor Risk

Insight Guide Topic (1 - 3 words)
Contributor Risk
Primary Metrics (2 - 4 metrics)

Bus Factor
Contributors
Types of Contributions

Why is this topic important? How will this help people improve their open source project and / or community? Who will benefit from this guide?
An important consideration for the health of an open source project is whether there are enough contributors to sustain the project. What would happen if one or more contributors suddenly decided to stop working on a project? Could the project continue or would it become unviable? This is an important risk to assess for projects that you are already working on or for projects that you are considering for adoption.
How would you like to see this guide developed?
I have the experience and time available to write the first draft
Additional Notes
Here is the doc where this guide will be developed: https://docs.google.com/document/d/1pmsFoQznw-X4mcHZKUwg3a4Npq_OukTHTbh199CnWCk/edit
For an example of a nearly finished Insight Guide that you can use to better understand what should be in each section and how much detail to include, please see the Responsiveness guide.

Not sure what the process would be because these metrics would need to get adopted under CHAOSS (which would like to discuss whether its included in this insights guide or not) but id like to purpose the Heatmap series we have been working on in 8knot as a part of this or maybe another insights, software development or responsiveness maybe. https://eightknot.osci.io/codebase is where it can be found. The heatmaps break down by the directory to have a more granular view on the activity around a repository. The 3 heatmaps:

Contributor
Contribution
Reviewer (in final rounds of reviews to be added to the dashboard)

allow for a view into different parts of the codebase. You can see how long has been the majority reviewers or code contributors have been active to see if the knowledge retention is there, there is a large amount of contributions vs the # of reviewers, etc

I don't think this is a good fit for an insight guide. The insights guides are less about implementation of metrics and more about interpretation of broad concepts - mostly for people who are getting started and struggling to understand how to interpret data about their project, so I'd like to keep the insight guides as simple as possible.
However, I would love to see these implemented as CHAOSS metrics and possibly included into our metrics models, where this would be a great fit. The best way to start that discussion is to attend the next Metrics Development WG meeting on Thursday, Feb 29: https://www.google.com/url?q=https://docs.google.com/document/d/1xsii5tfmmDwWpuhrFcBJMeYeT3RipJdiCdHrbi0NalQ/edit%23heading%3Dh.n3rh3l1y6dv7&sa=D&source=calendar&usd=2&usg=AOvVaw1rDXWuThRGQqMVowYWglAK It might also be good to file it as an issue in that repo to get people thinking about these metrics: https://github.com/chaoss/wg-metrics-development/issues

The first draft is now ready for people to review and provide feedback.

Here's a case study: https://link.springer.com/chapter/10.1007/978-3-642-33442-9_3


Implemented and tested with STM32L412

Hi @SergeiSOficial
Thanks for your contribution. We generate these drivers mostly automatically and the sample implementations come from https://github.com/Sensirion/embedded-common. Could you open the pull request on that repository? Thanks :slightly_smiling_face:

Hi @SergeiSOficial
Did you see my previous message? I'll close this for now. Feel free to open a pull request on embedded-common to add your sample implementation.

Yes, I saw your message. Thank you!


Use structs for input

When calling setup_network, teardown_network, setup_port_forward, and
teardown_port_forward we now use defined structs for input.
Signed-off-by: Brent Baude<EMAIL_ADDRESS>

fixed up

/lgtm


WSL: bash opens wrong directory

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.68
OS Version: Windows 10 (Windows_NT x64 10.0.19042)

Steps to Reproduce:

open WSL Ubuntu
cd /var/projects/test
type code .
open terminal in VS Code
bash shows directory /var/projects

This worked a month ago but then stopped working. Tried it with several other directories inside /var/projects. VS Code always shows this directory. I always have to cd to the proper directory to get started.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.68.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

looks like you may be using an old version of VS Code

Looks like the bot can't interpret my 1.68 and expects 1.68.0


Adds one to dimension max-value in create_ops_par_loop

Since ops iterates a loop until the value is < x_Max and devito iterates
a loop until the value is <= x_Max, we lose a value when going to OPS.
This commit solves this adding one to each dimension max-value, making
OPS iterate the ops_par_loop until the value is < x_Max + 1

34 commits for a 1-line change + test ?

Ops, my bad! I merged instead of rebasing, doing the rebase now!

@maelso @btrb should I proceed?

@maelso @btrb should I proceed and merge this?

Looks good.

merged


The WSL can't start after reset

Windows Version
Windows 10.0.19044.4894
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[ ] WSL 2
[X] WSL 1

Kernel Version
<IP_ADDRESS>-2
Distro Version
Kali Linux <IP_ADDRESS>
Other Software
No response
Repro Steps
open Windows Settings -> Apps -> select WSL -> Advanced options -> Reset
Expected Behavior
The first time start, the system will initialize and create a new user.
Actual Behavior
The WSL can't start after reset, and display the following error:
Processing fstab with mount -a failed.
Failed to mount C:, see dmesg for more details.
Failed to mount D:, see dmesg for more details.
<3>WSL (7) ERROR: CreateProcessEntryCommon:334: getpwuid(0) failed 2
<3>WSL (7) ERROR: CreateProcessEntryCommon:505: execvpe /bin/sh failed 2
<3>WSL (7) ERROR: CreateProcessEntryCommon:508: Create process not expected to return
Diagnostic Logs
No response

I'm not using the wsl --install command to install a Linux distro because the network is throttled. I installed offline using powershell.
Add-AppxProvisionedPackage -Online -PackagePath ./KaliLinux_<IP_ADDRESS>.AppxBundle -SkipLicense
I found a compromise solution.  wsl --unregister, then uninstall the Linux distribution, and reinstall it.

/logs


VNF textures have triangulation artifacts

cyl(d=10/PI, h=5, chamfer=0,
       texture=texture("hex_grid"), tex_samples=2, tex_reps=[6,3], tex_depth=.2);

This will almost certainly be a bug in the VNF slicing function.

The artifacts arise due to application of vnf_slice to an already triangulated VNF.  The solution (verified) is to make all the texture VNFs untriangulated.  For the bricks_vnf texture
                [0,4,7,20], [4,8,11,7], [9,8,4,5], [4,0,1,5], [10,9,5,6],
                [20,7,6,13,12,21] ,[2,3,23,22,15,14],
                [15,19,18,14], [22,23,27,26], [16,19,15,12],[13,6,5,1],
                [26,25,21,22], [8,9,10,11],[7,11,10,6],[17,16,12,13],[22,21,12,15],[16,17,18,19],[24,25,26,27],[25,24,20,21]

is the correct face set.

Two things could still be improved here.  I tried creating a single-polygon background field for cone and it runs into trouble slicing it.  If this worked it would produce the fewest artifacts.
We could sample cone and other shapes on a grid instead of on their natural triangulation.  I believe that would produce a better result.
We could at least for straight cylinders, not apply slicing in the Y direction, which would reduce the number of artifacts.


Reorder module hierarchy

follow up of https://github.com/input-output-hk/cardano-node/issues/4558

:+1:  Nice. Now lets move:

cardano-testnet/src/Spec/* -> cardano-testnet/test/Test (rename Spec to Test)
cardano-testnet/test -> cardano-testnet/util and we can probable rename cardano-testnet/src/Test/Util.hs to cardano-testnet/src/Test/Ignore.hs for now

I'll approve after this.

:+1:  I just noticed :cardano-testnet/src/Testnet/Properties/Cli. That should also be put in the cardano-testnet/test/Test/Cli/ dir

+1 I just noticed cardano-testnet/src/Testnet/Properties/Cli. That should also be put in the cardano-testnet/test/Test/Cli/ dir

There used to be two different KesPeriodInfo.hs in the hierarchy (One of them importing the other)..I renamed one of them to Test.Misc.

bors r+

bors r+

bors r+


Scanning area and walking hook

Hi.. after few minutes, I only see how the bot scan area for objects and walking hooks. No pokemons found... no pokemons appears... am I doing any wrong?

plug your coordinates into google maps, look up the location on pokevision.com, and see if there are even any pokemon where your bot is. it's not uncommon to not see any pokemon depending on where you are at.

please do as @reddivision mentioned and if you see that there infact is pokemons in the area, printscreen and open a new ticket


Added Angular 2 tutorial page.

Angular.io will always do a better job than we'll be able to keep up with. We're just going to forward users there.

:+1:

:+1:


Fix Flaky mlock Failure in CI

Summary
The mule environment seems to be having trouble running the indexer. I've been seeing this issue for a while now, it seems to happen >25% of the time and pretty much always goes away after restarting the job:
output from 'go' 'run' 'cmd/e2equeries/main.go' '-pg' 'host=localhost port=5432 dbname=e2e_tests sslmode=disable user=root password=root' '-q':
runtime: mlock of signal stack failed: 12
runtime: increase the mlock limit (ulimit -l) or
runtime: update your kernel to 5.3.15+, 5.4.2+, or 5.5+
fatal error: mlock failed

Possibly related to this: https://github.com/golang/go/issues/37436
It suggests two workarounds.
Scope/Requirements
No more flaky failures!
Urgency/Relative Priority
It's annoying to babysit builds.

Both of the workarounds make sense: updated Ubuntu to fix the kernel, and improved handling through golang 1.15. This should work, provided this is the root cause of the issue.

On a side note: I believe docker containers run with the host kernel, not a custom kernel per container. Bumping the ubuntu image likely would not fix the issue.

Going to merge this as is. Please re-open this or create a new ticket if it does not fix the problem.


(Bug) Token's balance displayed incorrectly if it's less than 1

If you are reporting a problem with Nifty Wallet, please include the following information:
What browser and version did you use?
Chrome
What operating system did you use?
MacOs
Do you have screenshots showing the problem?

What is your issue?
Token's balance displayed incorrectly if it's less than 1
Should be format '0.123' if balance is less than 1

@dennis00010011b is it still reproducible in 'develop' branch for you? I can't reproduce for now.

@vbaranov
Yes, it is reproducible
Try account ba98116a7d4b98f22f113c59448b9cc69f916d75f35d51f088b64b483fd0b8ca
There is DAI in mainnet , 0x06f0fe2c6be188b55049da39c9d7ca6ee9b6bf7c in Ropsten


Skip separator when key prefix is empty

It is often convenient not to have any key prefix but only attribute name.
For instance when storing metrics in CloudWatch Agent via statsd instead of having long metric name:
coordinator_presto_memory_NonHeapMemoryUsage_used
I would rather have:
NonHeapMemoryUsage_used
as I can identify metric source via so called "dimensions" (statsd attributes).

:x: Build jmxtrans 361 failed (commit https://github.com/jmxtrans/jmxtrans/commit/45d802e738 by @sopel39)

:white_check_mark: Build jmxtrans 363 completed (commit https://github.com/jmxtrans/jmxtrans/commit/54899b64da by @sopel39)

LGTM


docs(example/changes_color_property):

Changes the Color color property in BackgroundBarChartRodData to List<Color> colors.
Since this property has been changed in the package updates, these examples can be misleading for starters.

You should provide color property. There is no colors property at this time.
That's why the CI is failed.

@imaNNeoFighT This is strange though, as I am using this plugin on my app now and there is no color property (anymore) in the BackgroundBarChartRodData class but colors with List of Color's, here is my implementation here:
BackgroundBarChartRodData(
            show: true, toY: 20, colors: barBackgroundColors),
)

List barBackgroundColors = [Color(0xffD04537).withAlpha(25)]

What version are you using?

Oh, sure you are right. I see that I am using an old version, I have switched to a latest version now, thanks.


SPFX extension ribbon custom button trigger flow

I am unable to call flow form  SPFX externsion custom button on ribbon in order to trigger a flow.

Hi, can you provide more information as to what the issue is and what your environment is like? We are unable to provide any help with the information provided.

What version of SPFx are you using?
What version of SharePoint are you using?
Can you provide your sample source code for the request you are trying to make?

What version of SPFx are you using?
1.9
What version of SharePoint are you using?
Online
Can you provide your sample source code for the request you are trying to make?
i am refer below link in order to archive my functionality.
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/extensions/get-started/building-simple-cmdset-with-dialog-api
question :- Is there any way we can update record to sp library using pop-up extension which can help me trigger flow.

When creating an issue, please use the template provided to complete context information that is needed to help...

There's not enough information provided to understand or troubleshoot... please provide more context on your question.


Join in mappings vs joins in logical sources: you lose opaque subject generation when using logical source

@chrdebru 's comment:
Hello all,
I'm following up on the discussion about joins vs. fields.
I couldn't help but feel that joins in the mapping language would make certain uses more opaque in a good way. Unfortunately, my example in the call could have been more compelling. I've tried to come up with a more compelling example.
Let's assume that Person X is responsible for Triples Map X (TMX) and Person Y is responsible for Triples Map Y (TMY). X and Y know that X uses CSV and Y uses XML. They also know that their data can be joined on a particular attribute (X_ID, and Y_ID), but both triples maps use different attributes to generate IRIs: X_FOO and Y_BAR. Now let's assume that Y's source changes and the attribute Y_BAR is not used anymore, and other attributes have been added to generate IRIs.
With fields, joining sources requires Y to inform X of these changes.
With joins at the mapping level, as long as Y respects the inclusion of the join attribute Y_ID and does not change data formats, the changes in TMY remain opaque.
I admit this is a somewhat "farfetched" scenario, but in complex and large knowledge graphs, various triples maps will be governed by different people, no?
Just a braindump before I move on with other things. ;-)
With my best regards,
Christophe

@chrdebru can we close this issue?

Yes, as a decision was made at the COST Meeting.


Fix timestream endpoint tests

Feature or Bugfix

Bugfix

Detail

Reverting the change to timestream endpoints

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: b7f9c26e71cc73038f4611aacbd5e6c003600ba6
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: b8ef079f162a1f3a8d27e96c11b1ddf8a588db99
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 182af9083d0f2b436469648bd5833347ac897598
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 494ced50198423a4e683baf5d3ff9aeec295fde4
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 494ced50198423a4e683baf5d3ff9aeec295fde4
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 21f56156ae0209fee7b3390bb2bcbaf6904bebb7
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: c9bd38c50d0bad93472460e1491317cdaa91b206
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: c9bd38c50d0bad93472460e1491317cdaa91b206
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Looks good, any opportunity for us to add a quick note in documentation on setting endpoint url to a timestream interface endpoint?

Good call, I added a description to the config properties

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 7440dcf98f1da63ca3a67014087847a91ee0c1b7
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


importance of motifs for specific classes

Hello,
How can we assess the importance of motifs for specific classes? In the paper, you discuss that Basset is able to pull out motifs specific to cell types. However, when we look at the filters and their motifs, there is no way to tell which motifs are important for which classes specially in a multi-class problem.

If you're interested in the filters themselves, you can try the script basset_motifs_infl.py, which will nullify the variance through that filter and measure how the predictions change. That's how I made Figure 3A (http://genome.cshlp.org/content/26/7/990/F3.expansion.html). However, it can be difficult to interpret because some motifs are captured by many filters.
basset_db.py might be a more useful analysis. In that script, I inject instances of known motifs from a database like CIS-BP into random sequences and measure how predictions change. The results there usually fit better with known relationships, e.g. OCT4 motifs and pluripotent cells.


The custom logo is loaded only in dark mode

Describe the bug
I put a logo_light.png and logo_dark.png (there are the same, I copy one from the other) in public directory close to the app.
To Reproduce
Steps to reproduce the behavior:

Run chainlit run your_app.py
In light mode, the logo is not taken into account
Go to settings, switch to dark mode : the logo is displayed properly whereas they are the same...

Expected behavior
The logo_light.png should be taken into account the same way the logo_dark.png is properly rendered.
Desktop :

OS: Mac OS Sonoma 14.2.1
Browser chrome 122.0.6261.112
Version 1.00.400

logging out from the chat and cleaning the browser cache fix the issue :)


Content type to publish access content (audio, BSL, text) for gallery visitors

What is it and who's it for?
A new content type to deliver multimedia content (image, audio, video, text) to WC visitors on their own devices
User story
As a Gallery visitor with a sensory impairment
I need to access audio/BSL/textual interpretation on my own device
So that I can understand gallery content and minimise my risk of infection
Implementation
The Story content type contains all the design elements needed to deliver guide content, but using the actual Story content type potentially causes problematic cross-publishing with actual Stories
A new content type would be ideal; a clone of the Story content type with the same elements would probably be able to deliver all the content.
Acceptance criteria
Ability to deliver multimedia access interpretation to visitors' own devices in the gallery for Joy and Tranquility exhibitions, triggered by QR codes
Testing and tracking
We will create utm-style URLs for the QR codes to be printed, so the usage of each individual code (but no user data) will be tracked (this will become obsolete when we stop using Google Analytics)
A conversation is beginning with Alice about how to test the in-gallery implementation
Measurement
In-gallery usage will be the primary thing we want to measure for success
Other considerations

Impact on URL design
potentially new content type in the form
https://wellcomecollection.org/[type]/4lph4nuM3r1c

Cardigan documentation
no new elements should mean minimal impact

Some extra content:
The exhibitions team have commissioned audio tours of both forthcoming Joy and Tranquility exhibitions. Each exhibition has a tour with twelve stops, which they would like to make available in the gallery through QR codes. The team have also commissioned BSL videos and transcripts of the same content.

Another thing I have learned: each stop will be written by a different person; crediting this could work in the same way as contributor roles on stories and events.


How to set input's value use javascript?

I hope set a value to the input when user type some value to another input, but I can't found API to do this. (it's not on initializing form)

you can do it using normalizers http://erikras.github.io/redux-form/#/examples/normalizing?_k=3pr189

Yep. @trashgenerator nailed it.


Fix issue 1710

During user validation, only save POST data in session if it is a POST
request, otherwise saved comment may be overwritten by GET request that
results from redirect if user verification is required.
https://github.com/stephenmcd/mezzanine/issues/1710

Thanks a lot!


Bundle Adjustment

Hi,
Is that possible to use gpufit to solve bundle adjustment problem ? and if possible could anyone provide example
Thanks

If you can formulate the bundle adjustment problem as an optimization problem suitable for the Levenberg-Marquardt algorithm, then very likely Gpufit can do it.  What would need to be implemented is a custom fit model function and possibly also an estimator function specific to bundle adjustment problems. So far, there are no examples for this.
A general way to implement a custom fit model is described in the customization section of the documentation.


Idea: Secondary line on Bubble card type Button

Good morning
I don't want to report a bug but suggest an idea for improvement.
Is it possible to add a secondary line to the button Switch type card (this is the one I use in my example) to display the room temperature and humidity in a bit of the same style as it? is it possible to do this on Mushroom?
Of course, we must also be able, depending on the temperature values, to write the text in color or the background of the zone and other possible and useful customs?
what I have on Mushrom

What I have at the moment on bubble card.
Either you can slide sub-buttons for temperature and humidity for example as shown in the arrow
either we add a line with possible entities based on the Mushroom principle

In this way on room cards we can maximize the information on a home page and then if we need more details we go to the view page
which gives us a single viable card for a PC, tablet and mobile dashboard and that’s optimization

Hi! You can already do that with custom templates, take a look at the examples in the documentation, there is one that explain how to change the text in a button, this allows exactly what you want 👌
Also next time please open a new discussion for that kind of request.


ArticleItem widget for pc and mobile

ArticleItem widget for pc and mobile
close #65

嗯travis過不了... 我沒有改articleDetail.js這隻啊... 我不知道發生了什麼事情...

Coverage remained the same at 61.667% when pulling 860e4294f064be7d5ba018ad844706119a5a1d11 on 65-index-item-widget into 4c54baf16b8aaf35e449b88494387787180d826b on master.

Coverage remained the same at 61.667% when pulling 971bd19f8822869cb29aada7cc7221fcc28dfcab on 65-index-item-widget into 4c54baf16b8aaf35e449b88494387787180d826b on master.

Coverage remained the same at 61.667% when pulling 971bd19f8822869cb29aada7cc7221fcc28dfcab on 65-index-item-widget into 4c54baf16b8aaf35e449b88494387787180d826b on master.

Coverage remained the same at 61.667% when pulling f69924fb5f33b8952f75b51f811a7cfd0a8e9b30 on 65-index-item-widget into 4c54baf16b8aaf35e449b88494387787180d826b on master.

Coverage remained the same at 61.667% when pulling d09734f864cd1e2b3f5f321332554ff6883a1294 on 65-index-item-widget into 4c54baf16b8aaf35e449b88494387787180d826b on master.


[All Hosts] Add articles about developing and publishing add-ins using VS Code.

This PR adds a new article about developing Office Add-ins with VS Code (in the Develop section of the TOC) and also a new article about publishing an Office Add-in that was developed with VS Code (in the Publish section of the TOC). It also slightly refactors the corresponding Visual Studio article (for consistency in naming).

Docs Build status updates of commit 2cdfa68:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/publish/host-an-office-add-in-on-microsoft-azure.md
:bulb:Suggestion

Details

docs/develop/develop-add-ins-vscode.md
:white_check_mark:Succeeded

docs/includes/publish-add-in.md
:white_check_mark:Succeeded

docs/publish/package-your-add-in-using-visual-studio.md
:white_check_mark:Succeeded

docs/publish/publish-add-in-vs-code.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

docs/publish/host-an-office-add-in-on-microsoft-azure.md

Line 31: [Suggestion] Link 'https://azure.microsoft.com/en-us/pricing/member-offers/visual-studio-subscriptions/' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites. NOTE: This Suggestion will become a Warning on 12/20/2019.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit dbeb299:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/design/add-in-design.md
:white_check_mark:Succeeded

docs/develop/create-and-debug-office-add-ins-in-visual-studio.md
:white_check_mark:Succeeded

docs/develop/develop-add-ins-vscode.md
:white_check_mark:Succeeded

docs/excel/custom-functions-errors.md
:white_check_mark:Succeeded

docs/excel/custom-functions-troubleshooting.md
:white_check_mark:Succeeded

docs/includes/alert-script-lab-support.md
:white_check_mark:Succeeded

docs/includes/publish-add-in.md
:white_check_mark:Succeeded

docs/publish/host-an-office-add-in-on-microsoft-azure.md
:white_check_mark:Succeeded

docs/publish/package-your-add-in-using-visual-studio.md
:white_check_mark:Succeeded

docs/publish/publish-add-in-vs-code.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

docs/tutorials/share-data-and-events-between-custom-functions-and-the-task-pane-tutorial.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@ElizabethSamuel-MSFT just FYI, I'd like your feedback on this PR, whenever you have time. (I submitted it just before the holiday, so re-pinging now to ensure it's on your radar.) Thank you!

Docs Build status updates of commit 5728fb6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/design/add-in-design.md
:white_check_mark:Succeeded

docs/develop/create-and-debug-office-add-ins-in-visual-studio.md
:white_check_mark:Succeeded

docs/develop/develop-add-ins-vscode.md
:white_check_mark:Succeeded

docs/excel/custom-functions-errors.md
:white_check_mark:Succeeded

docs/excel/custom-functions-troubleshooting.md
:white_check_mark:Succeeded

docs/includes/alert-script-lab-support.md
:white_check_mark:Succeeded

docs/includes/publish-add-in.md
:white_check_mark:Succeeded

docs/publish/host-an-office-add-in-on-microsoft-azure.md
:white_check_mark:Succeeded

docs/publish/package-your-add-in-using-visual-studio.md
:white_check_mark:Succeeded

docs/publish/publish-add-in-vs-code.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

docs/tutorials/share-data-and-events-between-custom-functions-and-the-task-pane-tutorial.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@ElizabethSamuel-MSFT thanks for the feedback!


how to reliably catch rejected LanguageClient onReady promise?

See leanclient.ts
I'm trying to catch the exception thrown if my client fails to start using try catch, like this:
        this.client = new LanguageClient(
            'lean4',
            'Lean 4',
            serverOptions,
            clientOptions
        )
        try {
            this.client.onDidChangeState((s) =>{
                if (s.newState === State.Starting) {
                    console.log('client starting');
                } else if (s.newState === State.Running) {
                    console.log('client running');
                } else if (s.newState === State.Stopped) {
                    console.log('client has stopped or it failed to start');
                }
            })
            this.client.start()
            await this.client.onReady();
            // if we got this far then the client is happy so we are running!
            this.running = true;
        } catch (error) {
            console.log(error);
            ...
            return;
        }

But it only works sometimes.  If I do a clean "Developer: Reload Window" on a project that loads my extension then it fails to work and I see this output in my console log:
client starting
client has stopped or it failed to start
rejected promise not handled within 1 second: Error: write EPIPE
stack trace: Error: write EPIPE
	at afterWriteDispatched (internal/stream_base_commons.js:156:25)
	at writeGeneric (internal/stream_base_commons.js:147:3)
	at Socket._writeGeneric (net.js:785:11)
	at Socket._write (net.js:797:8)
	at writeOrBuffer (internal/streams/writable.js:358:12)
	at Socket.write (internal/streams/writable.js:303:10)
	at d:\git\leanprover\vscode-lean4\vscode-lean4\out\extension.js:13932:29
	at new Promise (<anonymous>)
	at WritableStreamWrapper.write (d:\git\leanprover\vscode-lean4\vscode-lean4\out\extension.js:13922:16)
	at StreamMessageWriter.doWrite (d:\git\leanprover\vscode-lean4\vscode-lean4\out\extension.js:13187:33)
	at d:\git\leanprover\vscode-lean4\vscode-lean4\out\extension.js:13178:29

rejected promise not handled within 1 second: Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
stack trace: Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
	at Socket.write (internal/streams/writable.js:294:11)
	at d:\git\leanprover\vscode-lean4\vscode-lean4\out\extension.js:13932:29
	at new Promise (<anonymous>)
	at WritableStreamWrapper.write (d:\git\leanprover\vscode-lean4\vscode-lean4\out\extension.js:13922:16)
	at StreamMessageWriter.doWrite (d:\git\leanprover\vscode-lean4\vscode-lean4\out\extension.js:13187:33)
	at d:\git\leanprover\vscode-lean4\vscode-lean4\out\extension.js:13178:29

The vscode instance I'm debuggin has this expected output window:
[Error - 10:10:31 PM] Connection to server is erroring. Shutting down server.
'lean' is not recognized as an internal or external command,
operable program or batch file.

If I run this same code to start my LanguageClient from my own command the try/catch works fine and I get this console log output:
client starting
client has stopped or it failed to start
client starting
client has stopped or it failed to start
client starting
client has stopped or it failed to start
client starting
client has stopped or it failed to start
client starting
client has stopped or it failed to start
Error: Connection to server got closed. Server will not be restarted.
	at LanguageClient.handleConnectionClosed (d:\git\leanprover\vscode-lean4\vscode-lean4\out\extension.js:16610:47)
	at LanguageClient.handleConnectionClosed (d:\git\leanprover\vscode-lean4\vscode-lean4\out\extension.js:20462:15)
	at closeHandler (d:\git\leanprover\vscode-lean4\vscode-lean4\out\extension.js:16579:18)
	at CallbackList.invoke (d:\git\leanprover\vscode-lean4\vscode-lean4\out\extension.js:12178:39)
	at Emitter.fire (d:\git\leanprover\vscode-lean4\vscode-lean4\out\extension.js:12240:36)
	at closeHandler (d:\git\leanprover\vscode-lean4\vscode-lean4\out\extension.js:11254:26)
	at CallbackList.invoke (d:\git\leanprover\vscode-lean4\vscode-lean4\out\extension.js:12178:39)
	at Emitter.fire (d:\git\leanprover\vscode-lean4\vscode-lean4\out\extension.js:12240:36)
	at StreamMessageReader.fireClose (d:\git\leanprover\vscode-lean4\vscode-lean4\out\extension.js:12924:27)
	at Socket.<anonymous> (d:\git\leanprover\vscode-lean4\vscode-lean4\out\extension.js:13009:42)
	at Socket.emit (events.js:327:22)
	at Pipe.<anonymous> (net.js:673:12)
	at Pipe.callbackTrampoline (internal/async_hooks.js:131:14)

This is the better expected output and you can see vscode tries to launch my client 5 times as expected and so on.  I tried looking at all exceptions thrown but didn't see anything obviously wrong in my code.  I also tried setting all breakpoints in my code to see if it is something else responding to some event that did something wrong, but I can't find anything.
Any ideas how to debug this?  The unhandled exception seems to be coming from a reject call in WritableStreamWrapper write method:
    write(data, encoding) {
        return new Promise((resolve, reject) => {
            const callback = (error) => {
                if (error === undefined || error === null) {
                    resolve();
                }
                else {
                    reject(error);
                }
            };
            if (typeof data === 'string') {
                this.stream.write(data, encoding, callback);
            }
            else {
                this.stream.write(data, callback);
            }
        });
    }

and this seems to be deep inside the vscode-languageserver implementation to do with rpc or something.
I think the key might be this part of the error:
rejected promise not handled within 1 second: Error: write EPIPE

but I don't know why is not handling it in 1 second...

I will close it and label for 3.17 which is the LSP release number

@dbaeumer, any idea why this version of the LSP requires such a recent version of vscode (only 13 days old)?  my customers are complaining my extension wont work on their version of vscode...?


Readd missing six import in compat

This fixes a miss from #2806 where six was incorrectly removed from the compat module. This is required for external test frameworks and is needed for backwards compatibility.

Codecov Report
Base: 93.47% // Head: 93.48% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (3840acd) compared to base (572be46).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2814   +/-   ##
========================================
  Coverage    93.47%   93.48%
========================================
  Files           63       63
  Lines        13343    13344    +1
========================================
+ Hits         12473    12474    +1
  Misses         870      870

Impacted Files
Coverage Δ

botocore/compat.py
92.66% <100.00%> (+0.04%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Inconsistent @startframe behavior in fluid.bufstats~

As outlined in this thread on the discourse it seems that @startframe (and presumably @numframes) is only being applied to the @source buffer and not the @weights buffer, leading to errors being thrown even when both buffers satisfy all the conditions of fluid.bufstats~:
a single-channel
exactly the same amount of frames as source
all values must be positive (anything lower than 0 will be rejected)

This creates a situation where the @weights buffer needs to be manually trimmed based on the @startframe / @numframes attributes of fluid.bufstats~.
Expected behavior:
@startframe / @numframes truncating is applied to both @source and @weights buffers (as well as the right inlet (the "weights inlet").

I think it could be a case of just trimming the weights vector before it is supplied to the MultiStats processor... I could possibly take a look but my C++ fu is not good.

Do you have a patch to test with @rconstanzo?

(why do I never get notifications from github responses...)
Here you go:

starrtframe error.maxpat.zip

Agreed. source and weights should be treated  consistently, rather than wanting weights to be already the effective size of source.
However, this is a textbook example of a hidden interface break (i.e. someone, somewhere will be relying on old behaviour).
So, with heavy heart, great regret etc, I think that to fix this we need to make it optional with a new param 😢 (trimWeights or something). Sorry @rconstanzo  – I agree it should have been the default all along.

Hmm, perhaps I'm overlooking something.I don't see how this would break anything.
All that means is the person would have been manually changing the weights size before sending it into fluid.bufstats~ anyways, which would still work with a fixed interface.
Presently:

create a source buffer
create a weights buffer
crop/copy weights buffer to same size as source
send both buffers

Proposed:

create a source buffer
create a weights buffer
(crop/copy weights buffer to same size as source)
send both buffers

It would still work if you manually crop the buffer ahead of time (I don't see why fluid.bufstats~ would care that you manually trimmed your buffer or not ahead of time).

Any code that assumes that startFrame doesn't apply to the weights buffer, and uses a changing startFrame for the source buffer (perhaps because the weights are generated in a different way to you) would break if startFrame suddenly started applying to the weights buffer as well.

Ah fair, yeah that would indeed break.
My suspicion is that (somehow) no one has used @startframe with fluid.bufstats~ for weighted buffers as it would have popped up as a bug before, but best not risk it.
Plus this has the unintended side effect of immediately throwing an error trimeweights is not a valid attribute) if people run the patch on an older version of FluCoMa, rather than it silently failing or throwing a (confusing) error later.


Update fs2-core, fs2-io to 3.2.6

Updates

co.fs2:fs2-core
co.fs2:fs2-io

from 3.2.5 to 3.2.6.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "co.fs2" } ]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #187.


Bulk Edit Documents and #tag

Is your feature request related to a problem? Please describe.
It is very painful and I upload 100 documents and I have to

rename each of them to add a prefix (ok I could do it on my computer first, but still)
have to edit each of them to add tags (maybe it's only me, but I cannot add a tag during the upload like it seams to be suggest)

Describe the solution you'd like
It would be awesome if...

it was possible to filter document without tags
it was possible to edit, at least, to [add/rename/remove] tags in bulk (same tag on multiple documents)

Describe alternatives you've considered
A documentation to explain how to do it via importing and exporting the Documents Mapping

Closing in favour of #3527


HLS issues

I was configured my OBS as custom streaming to rtmp://<ip>:<port>/stream and key test
As I understood, nginx will callback ffmpeg to block the stream into .ts for HLS, however it is not working.

And here's the nginx's log

And the problem may is OS specific, since it works well on my another computer with Ubuntu 21.04 .


Compiler optimizations

@miraclx LTO appears to reduce binary size from 11MB to 7.8MB on Linux. No noticeable difference on the inlined function, but maybe it was already getting inlined or is immaterial.

Probably inlined it by default with the function being small. https://stackoverflow.com/a/37639889/9806233

Messed around with some things, and was able to get the binary size to as low as 1856 kbytes (1.9M) first with opt_level='z' (5.1M) on the release profile and then finally using upx to compress the binary with the lzma format.
$ du -sh 0.13.1*
10252   11M     0.13.1
6224    6.1M    0.13.1_stripped
6224    6.1M    0.13.1_lto
5124    5.1M    0.13.1_opt_level
2340    2.3M    0.13.1_opt_level_upx_1
2320    2.3M    0.13.1_opt_level_upx_9
2312    2.3M    0.13.1_opt_level_upx_best
1904    1.9M    0.13.1_opt_level_upx_brute
2076    2.1M    0.13.1_opt_level_upx_brute_1
1904    1.9M    0.13.1_opt_level_upx_brute_9
1856    1.9M    0.13.1_opt_level_upx_lzma
2028    2.0M    0.13.1_opt_level_upx_lzma_1
1856    1.9M    0.13.1_opt_level_upx_lzma_9
1896    1.9M    0.13.1_opt_level_upx_ultra_brute

I'm sure there's gonna be a cost somewhere that I can't investigate right now, but it's good to know it gets that low without doing much to tweak the actual code.


Publishing a new version on PyPi

Hi !
First of all thank you for your work, i've been having trouble with unicode in my css/js files lately and after testing this patch : https://github.com/peterbe/django-static/commit/4853b052482601bf7055c19f2ec86a6cd6f5814a
it fixed the issue :)
So i wondered, when do you plan on releasing a 1.5.5 on PyPi for django-static ?
Regards,
Olivier.

Now I get it. You emailed me and sent a message on github. Anyway, pypi updated with the latest 1.5.5 version.

thanks :)
i didn't email you, github does when someone send an issue, doesn't it ?

on another topic, is there a tutorial or doc anywhere on how to setup "local" dev env ? thank you for your time.

what do you mean? All you need is a virtualenv that has django in it. There should be a sample project in the django-static repo which has a manage.py which you can use for running tests and stuff.

well i'm just a bit struggling about what i should activate to serve static files (without nginx/apache/...) in dev mode using juste the runserver.
I think i finally understood, but maybe you can help me,
i need to set up django-staticfiles for serving static files from /tmp/cache-forever ?


Hasura upgrade

I noticed that hasura version is locked to 2.2.0 when the most actual one is 2.8.3 (same in the cloud I think). Any luck to have it upgraded to the latest version? I think it is quite important to use latest software versions, also some feature are missing such as stream subscriptions.

Version can be added to nhost/config.yaml.
services:
  hasura:
    version: v2.8.3

There are some details in the CLI wiki, but it's not very descriptive.

We will be more responsive to Hasura version updates in the future.
If you want to set a custom Hasrua version you can do so in nhost/config.yaml like this:
services:
  hasura:
    image: hasura/graphql-engine:v2.8.3


Ui fixes

Some better fixes for the ui on responsive design

Codecov Report

Merging #155 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #155   +/-   ##
=======================================
  Coverage   84.58%   84.58%
=======================================
  Files          18       18
  Lines         279      279
=======================================
  Hits          236      236
  Misses         43       43

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 967d5ba...fdce301. Read the comment docs.


Cell barcodes in whiteList not present in output

I am trying to use the CITE-seq-Count tool to associate cell hashing barcodes with cell barcodes from a 10x 3' run. I'm using the filtered barcodes.tsv (after removing '-1') as the white list to this tool. The resulting antibody/hashing barcode counts file does not contain information for every cell barcode provided. Seurat's setAssayData() requires the new assay data to have the same list of cell barcodes for both datasets. I can fill in the blanks in R after the fact but it would be nice if the CITE-seq-Count matrix had columns for every cell barcode in the white list. Am I doing something wrong?
Command:
python CITE-seq-count.py -R1 Pre_HTO_S1_L001_R1_001.fastq.gz -R2 Pre_HTO_S1_L001_R2_001.fastq.gz -t barcodes.csv -cbf 1 -cbl 16 -umif 17 -umil 26 -tr "^[ATGC]{15}[TGC][A]{6,}" -hd 1 -o Pre_HTO_antibodyCounts.txt -wl preHTO_whiteList.txt
Read 1: 26bp
Read2: 101bp
Barcodes:
GTCAACTCTTTAGCG,b1
TGATGGCCTATTGGG,b2
TTCCGCCTCTCTTTG,b3
AGTAAGTTCAGCGTA,b4
Head of white list:
TTTGTCACAATCCGAT
TTTGTCACACGGTAGA
TTTGTCACAGCTTAAC
TTTGTCAGTTAAAGTG
TTTGTCATCCGAACGC
TTTGTCATCGATAGAA
TTTGTCATCGCATGAT
TTTGTCATCTACTATC
TTTGTCATCTCTGTCG
TTTGTCATCTTGTATC
Number of cell barcodes given in white list: 8329
Number of cell barcodes present in output counts file: 7844
Thanks in advance,
Jason

Hello @jrm3215
Could you try the following.
Take a barcode found in the 10x run but not in CITE seq and then simply grep it on R1 from the Tags data.
How does that look like? Do you find any results?

Hi @Hoohm,
Thanks for responding so quickly. You've hit on the crux of my question/issue. I've asked the tool to look for a specific set of cell barcodes and provide counts for them. It appears that when no data is found for a particular cell barcode, it is disregarded, instead of given a count of zero. If that is the intended functionality, I will fill in the zeros myself.

So what I would suggest to do, instead of filling in the zeros. First filter your mRNA data from 10x.
My guess is that some barcodes are not cells, maybe super low counts.
Because if you add 0 for the missing barcodes and then re filter it after to just dismiss the zeros you're kind of working for nothing.
But I could add a column of zeros for missing barcodes. It would allow you to filter on mRNA and CITE data at the same time, which could provide useful.
I'll add the feature.

Thanks for considering my question and potentially modifying the code. I see where you are coming from, but I think I would rather try to impute identity, rather than filter out cells when there isn't data from our low level sequencing (miSeq run) of the hashing antibody library.

@jrm3215 Wanted to get back to you and tell you it's now implemented.
Let me know if it works fine for you

The new version works fine for me. @scholzmb are you confusing hashing/cite-seq barcodes with the whitelist of cell barcodes?

You are correct.  Apologies.  This is also an issue however.  Shall I open separate issues?

Hey!

This is not what's really intended, the function is making sure that all the barcode TAGS are the same lenght, and don't react to having only one.
I'm working on a new implementation that will add the possibility to run different TAG barcode lengths stripping this part out.
Do you guys need to run the script with only one barcode TAG? If it's the case, I can add a quick if statement in there.


Always allow Primary Owner to change permissions

Always allow Primary Owner to change group permissions even if their rank lacks the "PERMS" permission.
Fixes issue #10
PS: Please make sure to test the code because I didn't as I don't have a dev env set up :<

This won't actually always allow the primary owner to change permissions, such as if they do not have the LIST_PERMS permission or the OPEN_GUI permission. Additionally, this PR does not affect the behaviour of /nlmp which is another way to modify permissions.

A better way to go about this would be to adjust transferring primary owner so that it automatically comes with Owner role, and anyone that has primary owner role should be unable to demote themselves from Owner role. Rather than adjusting logic on individual permission checks


enhancewhen calculating the availability of MTMV, no longer consider refresh state

Before the modification, if the last refresh of the materialized view failed, the entire materialized view cannot be used for transparent rewriting. In fact, many partitions may be available, so this modification was made

run buildall

run buildall

run buildall


post: false - doesn't work

Instead of updating the original post, it still posts a new post with the link, but it also shows the following:

I am seeing the same behavior.
I think that's the error message.


Refactor datatable component to include filter clearing functionality

fixes #269
@dinmukhamedm I've updated the DataTable component to check if a filter exists in the search parameters and is applied. Only then do we have the permission to clear filters."

[!IMPORTANT]
Adds filter clearing functionality to DataTable component, allowing users to clear applied filters via a button.

Behavior:

Adds clearFilters function in datatable.tsx to remove 'filter' from search parameters and update the URL.
Displays 'Clear filters' button in TableCell when filters are applied and no results are found.

Imports:

Adds usePathname, useRouter, and useSearchParams from next/navigation in datatable.tsx.

This description was created by  for 8f65322987077538fb5507643e1c9c82f19ef741. It will automatically update as commits are pushed.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@devansh-m12 LGTM. Can you please attach a screenshot of what it looks like after your last change?

Here, @dinmukhamedm I've implemented the requested changes. To clarify, it removes the filter from the search parameters but does not reset the filter fields, allowing previously applied filters to be re-applied with a single click. you can check recording for refrence.

https://github.com/user-attachments/assets/3b4c92c4-3e27-4928-bb0f-0df269df946a

Awesome, that works great, merging to dev now!


FIX: Improved handling of refname edge cases

This PR covers two edge cases.
The first is a case where the keywords passed to git_versions_from_keywords() is non-empty but refnames is missing. IIRC this could occur in git archives for hashes that had no branches or tags associated. This breaks L54:
https://github.com/python-versioneer/python-versioneer/blob/8071eaa56816837ac670d18bdc73d7de6cb60ea6/src/git/from_keywords.py#L54
Instead we reduce the check to 'refnames' in keywords, which covers the actually erroring case, and provide a better error message.
The second is a case where you might have a tag test_tag. If you have a tag prefix 'v', this will get filtered out. If your tag prefix is '', then all weird tags get pulled in. So I've added a filter that requires the first character of the tag (post-prefix) to be a digit.

Anybody care to review?

This does resolve concrete issues for me, and hasn't spawned outrage. I'll go ahead and merge...


DATA-1091 - Docs update: Public data API documentation

Just a quick first go, very open to suggestions!

bumping this @agreenb & @maxhorowitz :-)


Refactor to use TreeGameObject for performance increase (#13)

See more information at #13

#15 has a better approach and improved performance more than this would have


History Import: Gekko encountered an error and can't continue

Hi. I got following error during history import.
Error: Cannot find module 'C:\gekko-master\node_modules\sqlite3\lib\binding\node-v57-win32-x64\node_sqlite3.node'
Some more info from cmd line:
QUOTE
Gekko encountered an error and can't continue
Error:
The plugin sqlite adapter expects the module sqlite3 to be installed. However it is not, install it by running:
    npm install<EMAIL_ADDRESS>
Meta debug info:
Gekko version: v0.5.13
Nodejs version: v8.9.4
UNQUOTE
Running on windows server.
My tries to fix:

I installed sqlite3, still doesn't work.
Copied in history folder from regular gekko -> "No Data found"

Switched to Ubuntu System, there it's running wihout issues. Thanks!


Cannot get fully install on Laravel ^8.12

This is result after run the php artisan adminlte:status
+------------------+------------------------------------------+---------------+----------+
| Package Resource | Description                              | Status        | Required |
+------------------+------------------------------------------+---------------+----------+
| assets           | The AdminLTE required assets             | Installed     | true     |
| config           | The default package configuration file   | Installed     | true     |
| translations     | The default package translations files   | Mismatch      | true     |
| main_views       | The default package main views           | Not Installed | false    |
| auth_views       | The default package authentication views | Mismatch      | false    |
| basic_views      | The default package basic views          | Mismatch      | false    |
| basic_routes     | The package routes                       | Not Installed | false    |
+------------------+------------------------------------------+---------------+----------+

Could you help me for checking?
Thank you so much!

Hi @giangmd , I recommend to first take a read to the Artisan Commands Section, so you understand what is each resource for. The php artisan adminlte:install command will only install the required resources for the package (those that says true on the required column).
To install all the available package resources you may execute:
php artisan adminlte:install --type=full --with=main_views

But, be sure to understand what each resource is used for. Usually, you just need to install the required ones.

No feedback...


Official Elli repo

The question/confusion is coming up again.
@knutin would you be willing to have knutin/elli redirect to elli-lib/elli? Or put in the knutin/elli title or readme to go to elli-lib/elli?

Yes. I just added a link in the README to elli-lib/elli :-)

Thanks!


Feature: Participants' selected roles

Add an item that tells me whether/what role and build path a participant has locked in before the match - I just realized that I need that badly.

recreated this FR on FeatHub @ http://feathub.com/madglory/gamelocker-vainglory/+7

This is happening with the next game patch.
  We clean that up.

I see in the above sample from @genexp that the telemetry will show bans as HeroBan in the sample telemetry, but I'm not seeing the role (Captain, Carry, Jungle) or item path (Weapon, Crystal, Utility) selected in hero select as requested. Perhaps this request is being confused with request #38 ?

Yes you are correct. Fixing!

@Polidore22 @genexp - will this be part of telemetry or also regular /matches endpoint?

Picks and bans are part of #38 @kvahuja -- not this feature request.
But to answer your question, #38 features will be in telemetry as shown in the sample as HeroBan and HeroSelect. There also appears to be HeroSawp and HeroSkinSelect as well.

Moving to the main Feature Issue #223

@genexp This one is related to that tweet earlier today. Been around for a while, maybe  it can be added to the Data request candidates since there doesn't appear to be many right now? Use case would be to help identify player intention vs actual experience.

hey @BrianGlory Sure! We can just add it to the "schema" project, and prioritize it.  Feel free to change priority if you like!  I'll do that now :)


0.2.0 release

Moved all tagged-base64 tags to their own module
Renamed phaselock to hotshot
Publicly exposed the brand module

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Gift sats:currency issue.

Not sats but the currency that was chosen. I had chosen £

Able to reproduce this issue on staging app v2.0.5(381)

This needs to have an option to be in the $/£ amount

@cakesoft-shashank can you implement the switch? I'll do the conversion part based on the state of the switch.

@Parsh - pls take help from Tobi

Tested on dev app v2.0.66(401)

Verified this issue on dev app v2.0.66(402)


PHP8.1 compatibility "sha1(): Passing null to parameter #1 ($string) of type string is deprecated in imdb.class.php on line 300"

Hallo!
Due to other dependencies I had to update the system to a newer PHP version (8.1). Using this imdb.class.php will output a warning:
PHP Deprecated:  sha1(): Passing null to parameter #1 ($string) of type string is deprecated in imdb.class.php on line 300
Does it occur only on my side? I fixed it by checking for null.
BR,
Sven

Will fix it! Thx!


Support for newest Matroska elements

The schema currently does not support the new elements CueRelativePosition (F0) and CueDuration (B2). When parsing files containing these new elements, the parser fails because the getSchemaInfo function returns an undefined value.

https://github.com/themasch/node-ebml/pull/9 fixes this

this should be fixed by version 0.2.0 now. correct? If not, reopen please


Focus indicator is not clearly visible on "Terms" link on the map

As shown in the picture below, the focus indicator does not completely surround the Terms link.
Additional padding-top ,padding-bottom and padding-right is required on the 'TermsLinkContainer' id in the html.

Hi @vedikans,
I have given your feedback to the V8 control team but the current behavior is "By Design" so I will close this request.
Sincerely,
IoTGirl

Hi @vedikans,
I have given your feedback to the V8 control team but the current behavior is "By Design" so I will close this request.
Sincerely,
IoTGirl


[cxx-interop] import static operator call from C++23 as member callAs…

…Function functions in Swift to preserve source compatibility

@swift-ci please test

Explanation: Correct importing of operator ()() from C++ types into Swift.
Scope: This fixes a small C++ interop issue in the compiler which is required for use of std::hash on Windows.
Issue:
Risk: This is a pretty narrow change to how we handle static operator()() which was added in C++23. It impacts only the C++ interop path where this method is declared.
Testing: This has been on main for quite some time and we failed to bring it over for the release.
Reviewer: @egorzhdan @hyp @al45tair

@swift-ci please test

Can you link to the original PR on main? Thanks.

Main PR is: https://github.com/swiftlang/swift/pull/74279

Explanation: The C++ standard library included in recent versions of Microsoft Visual Studio have adopted a C++23 feature "static operator()", which causes a source compatibility break for Swift/C++ interoperability on Windows. Implement support for static operator() in the Clang importer by importing it as an instance method callAsFunction. This ensures that the source-compatible change to C++23 code (from operator() to static operator()) will also be a source-compatible change for Swift/C++ interoperability.
Issue: https://github.com/compnerd/swift-build/issues/808
Scope: This is a general addition to the Clang importer for C++ interoperability, although it's applicability is very narrow: static operator() is a new feature in C++23, and is not yet widely used.
Risk: Since static operator() is so new in C++23, and this fix is narrowly targeted at importing that feature, the likelihood of this affecting anything else is small.
Testing: CI, new tests
Reviewed By: @egorzhdan, me
Original PR: https://github.com/swiftlang/swift/pull/74279


Bump mkdocs version

Bump mkdocs package version to take care of: https://github.com/advisories/GHSA-qh9q-34h6-hcv9

Fixed via #24


OCI_GetString on date column drops the time portion of the date

	OCI_ExecuteStmt(st, L"select sysdate dt from dual");
	OCI_Resultset *rs = OCI_GetResultset(st);
	while (OCI_FetchNext(rs))
	{
		std::wcout << OCI_GetString(rs, 1) << std::endl;
	}

prints 2018-03-03 instead of 2018-03-03 20:51:14
Env: Windows 7, MVC 2017, Oracle client 12, server 12

What are your environment and session settings?:
SQL> select sysdate from dual;

SYSDATE
---------
04-MAR-18

SQL> alter session set NLS_DATE_FORMAT = 'DD-MON-YY HH:MI:SS';

Session altered.

SQL> select sysdate from dual;

SYSDATE
------------------
04-MAR-18 05:01:39

Hello,
This is an intended behaviour.
When using OCI_GetString() with non character based columns, I had decided (since v1.0) to reproduce by default the same output than SQLPlus.
In that case, as Chris mentioned, SQLPlus omits the time portion by default.
You can change OCI_GetString()  default behaviour by setting your own date format  using  OCI_SetFormat().
Regards,
Vincent


devops assignment

development assignment created

Devops

Instructions

docker build -t anikevya/flask .
docker run -p anikevya/flask


eureka: mark fairies (really lazily)

Betterment ideas / TODO:

Add support for other languages
Play some sound effect when one gets found
Mark these in their own fancy way on the map, also reuse
SetStyleFromEntity instead of hackily duplicating it

WIP for #109

Ah sorry about the whitespace mixup, don't have a development setup atm. I'll fix it when I get back

Thanks for this! I'll get this landed when you fix up the whitespace.  No need to apologize!  That's why there's automatic checks.  :)

Fixed the whitespace


Mark indices.exists_type/TypeExists APIs as deprecated.

@Yury-Fridlyand can you double check that /{index}/mapping/{type} is behaving similarly between OpenSearch 1.x and OpenSearch 2.0?
As far as I can see, that endpoint is not available in OpenSearch 2.0.

/{index}/mapping/{type} was marked as deprecated in 1.x and removed in 2.0.
The corresponding APIs were removed from .Net client in stage of adoption of Elastic .Net client. I just checked that nothing left. Even OpenSearch 1.0 client can't use these APIs.


Avoid making invalid "Use let" suggestions in ApplicativeDo blocks

In an ApplicativeDo block, the second last statement cannot be a let, for example, this doesn't compile:
{-# LANGUAGE ApplicativeDo, DeriveFunctor #-}

newtype T a = T a deriving Functor

instance Applicative T where
  pure = T
  T a <*> T b = T (a b)

foo :: T Int
foo = do
  x <- pure 2
  let y = 3
  pure $ x + y

So we avoid making such suggestions on the second last statement, if the do-block is possibly an ApplicativeDo block.

Should this be reported upstream to GHC? It seems a pretty arbitrary limitation...

Yeah, agreed it should be reported upstream first to see if it's a GHC bug.


Does not display reward videos

I can not display reward videos in the app in any way. Can someone tell me how I should set up mediation? Is it necessary to install some plugin for mediation?

Have you found a way to add mediation to reward video? I am facing the same  problem here 😭


Add terrain to reference JPG converter

It would be convenient to be able to convert the .exr terrain to normalized jpeg in-app to use as a reference for drawing paths.

Added terrain to JPEG converter button in 0.2.