meta-iotedge not compatible with poky thud branch, but doesn't work with sumo either.

Describe the bug
When I give the command "bitbake core-image-base", I get the error
error: meta-iotedge is not compatible with the core layer which only supports these series: thud (layer is compatible with sumo rocko)
If I change my poky branch to sumo and then give the command "bitbake core-image-base", I get the errors:
error: layer 'meta-iotedge' depends on layer 'rust-layer', but this layer in not enabled in your configuration
error: layer 'meta-iotedge' depends on layer 'virtualization-layer', but this layer in not enabled in your configuration
What is the best way to move forward from this situation?
Other concerns/questions:
Pardon my ignorance; I'm a newbie to yocto, poky, iotedge, etc...
I'm confused as to where the meta-iotedge directory should be placed with
respect to the poky directory.  If I place it outside of poky, then the
"bitbake-layers add-layer meta-iotedge" command doesn't work.  If I place it
inside poky the "bitbake-layers add-layer meta-iotedge" still doesn't work.
It's only if I cd to poky/build and modify the command to be "bitbake-layers
add-layer ../meta-iotedge" that the command works.
I can get the meta-iotedge code to build if I manually run
"env METARUST_REV='refs/remotes/origin/master' sh scripts/fetch.sh"
and also manually run scripts/build.sh.  This results in the meta-iotedge
directory itself including poky and others as subdirectories.  This seems a
bit strange.  Is this intended?
To Reproduce
Here are the steps I followed:
first, install yocto on my dev machine (following https://www.yoctoproject.org/docs/2.6.1/brief-yoctoprojectqs/brief-yoctoprojectqs.html)...
browse to http://downloads.yoctoproject.org/releases/yocto/yocto-2.6.1/buildtools/
download x86_64-buildtools-nativesadk-standalone-2.6.1.sh
cd /mnt/sdc1
mkdir yocto
cd yocto
mkdir buildtools
cd buildtools
mv ~/Downloads/x86_64-buildtools-nativesadk-standalone-2.6.1.sh .
chmod a+x x86_64-buildtools-nativesadk-standalone-2.6.1.sh
sh x86_64-buildtools-nativesadk-standalone-2.6.1.sh
  at prompt, enter install dir: (I used /opt/poky/2.6.1)
  instructions at end say:
      Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g.
      ./opt/poky/2.6.1/environment-setup-x86_64-pokysdk-linux
source /opt/poky/2.6.1/environment-setup-x86_64-pokysdk-linux
sudo apt-get install diffstat

now, bring down poky and configure it...
cd /mnt/sdc1/yocto
git clone git://git.yoctoproject.org/poky
cd poky
git fetch --tags
git tag  (displays all of the tags available)
git checkout tags/yocto-2.6.1 -b my-yocto-2.6.1
source oe-init-build-env  (auto cd's to build dir)
edit conf/local.conf and make changes:
    MACHINE ?= "beaglebone-yocto"         #mcg: uncommented this line
    PACKAGE_CLASSES ?= "package_deb"	  #mcg: replaced line with this line
    EXTRA_IMAGE_FEATURES += "tools-debug" #mcg: added this line

now, add meta-iotedge layer and build...
cd /mnt/sdc1/yocto/poky
git clone https://github.com/Azure/meta-iotedge.git
bitbake-layers add-layer meta-iotedge
    unable to find bblayers.conf
cd build
bitbake-layers add-layer meta-iotedge
    specified layer dir doesn't exist: /mnt/sdc1/yocto/poky/build/meta-iotedge
bitbake-layers add-layer ../meta-iotedge   (that worked)
bitbake core-image-base
    error: meta-iotedge is not compatible with the core layer which only supports these series: thud (layer is compatible with sumo rocko)

now, configure poky to use the sumo branch and try the build again...
cd .. (ie, up to yocto/poky)
git branch -a (to see all branches)
git checkout -b sumo remotes/origin/sumo  (my local sumo is now set to track remote branch)
mv build build-thud
source oe-init-build-env  (makes new build dir and auto cd's to it)
edit conf/local.conf and make changes:
    MACHINE ?= "beaglebone-yocto"         #mcg: uncommented this line
    PACKAGE_CLASSES ?= "package_deb"	  #mcg: replaced line with this line
    EXTRA_IMAGE_FEATURES += "tools-debug" #mcg: added this line
bitbake-layers add-layer ../meta-iotedge
    error: layer 'meta-iotedge' depends on layer 'rust-layer', but this layer in not enabled in your configuration
    error: layer 'meta-iotedge' depends on layer 'virtualization-layer', but this layer in not enabled in your configuration
so edited conf/bblayers.conf manually and added to the end of BBLAYERS
      /mnt/sdc1/yocto/poky/meta-iotedge \
bitbake core-image-base
    error: layer 'meta-iotedge' depends on layer 'rust-layer', but this layer in not enabled in your configuration
    error: layer 'meta-iotedge' depends on layer 'virtualization-layer', but this layer in not enabled in your configuration

Expected behavior
I expect it to build without errors.
Logs
If applicable, add logs to help explain your problem.
Build System (please complete the following information):

OS: Debian 8 (jessie)
Version: 3.16.51-3

Target System (please complete the following information):

OS: linux kernel based on kernel.org
Version 4.1.51
architecture: ARMv8 using 64-bits for the kernel and 32-bits for user space programs

Additional context
Add any other context about the problem here.

Thank you for your patience. I am just seeing these issues now.
Normally all of the layers should be placed at the same level. The build scripts git clone the repos into the poky folder. This isn't normal but was required to get some CI build to work. You probably don't want to follow this pattern.
Typically you will create a directory and clone each layer into this directory. All of the layers should be on the same level, including poky. The iotedge layer requires meta-rust, meta-virtualization, and openembedded-core to build. You will need to clone these as well. The git uris and included in meta-iotedge's README as well as the branch that needs to be checked out.

Thank you for the additional instructions.  I tried following your suggestions and built poky with iotedge as an added layer but didn't see any  iotedge executables after the build.  Previously, I had found them in build/tmp/deploy/deb/cortexa8hf-neon.  Also, I think the README.md file calls out git://github.com/openembedded/openembedded-core.git but maybe you really meant git://git.openembedded.org/meta-openembedded.git?  And I had to manually add the iotedge layers to bblayers.conf because I ran into problems with bitbake-layers (see below).  Any advice on how I can move forward is appreciated.
Here is what I did to build it:
cd /mnt/sdc1
mkdir 3yocto
cd 3yocto
git clone https://github.com/Azure/meta-iotedge.git     (branch in use is master)
git clone https://github.com/meta-rust/meta-rust.git    (branch in use is master)
git clone git://git.yoctoproject.org/meta-virtualization
cd meta-virtualization
git branch -a  (to see all branches)
git checkout -b sumo remotes/origin/sumo  (my local sumo branch is now set to track remote branch)
cd ..
git clone git://github.com/openembedded/openembedded-core.git
cd openembedded-core
git branch -a  (to see all branches)
git checkout -b sumo remotes/origin/sumo  (my local sumo branch is now set to track remote branch)
cd ..
git clone git://git.yoctoproject.org/poky
cd poky
git branch -a  (to see all branches)
git checkout -b sumo remotes/origin/sumo  (my local sumo is now set to track remote branch)
cd ../poky
source oe-init-build-env  (auto cd's to build dir)
source /opt/poky/2.6.1/environment-setup-x86_64-pokysdk-linux  (where build tools were installed previously)
edit conf/local.conf and make changes:
MACHINE ?= "beaglebone-yocto"              #mcg: uncommented this line
PACKAGE_CLASSES ?= "package_deb"		   #mcg: replaced other line with this line
EXTRA_IMAGE_FEATURES += "tools-debug"          #mcg: added this line
cd /mnt/sdc1/3yocto/poky/build
bitbake-layers add-layer ../../meta-iotedge
ERROR: Layer 'meta-iotedge' depends on layer 'rust-layer','virtualization-layer', but this layer is not enabled in your configuration
bitbake-layers add-layer ../../openembedded-core
Specified layer directory /mnt/sdc1/3yocto/openembedded-core doesn't contain a conf/layer.conf file
bitbake-layers add-layer ../../meta-rust
ERROR: Layer 'rust-layer' depends on layer 'openembedded-layer', but this layer is not enabled in your configuration
so I just edited poky/build/conf/bblayers.conf manually and this is what it looks like now (based on meta-iotedge/conf/bblayers.conf.sample)
BBLAYERS ?= "
/mnt/sdc1/3yocto/meta-iotedge
/mnt/sdc1/3yocto/poky/meta
/mnt/sdc1/3yocto/poky/meta-poky
/mnt/sdc1/3yocto/meta-rust
/mnt/sdc1/3yocto/poky/meta-yocto-bsp
/mnt/sdc1/3yocto/poky/meta-openembedded/meta-filesystems
/mnt/sdc1/3yocto/poky/meta-openembedded/meta-oe
/mnt/sdc1/3yocto/poky/meta-openembedded/meta-networking
/mnt/sdc1/3yocto/poky/meta-openembedded/meta-python
/mnt/sdc1/3yocto/meta-virtualization
"
    BBLAYERS_NON_REMOVABLE ?= " \
      /mnt/sdc1/3yocto/poky/meta \
      /mnt/sdc1/3yocto/poky/meta-yocto \
      "
cd /mnt/sdc1/3yocto/poky/build
bitbake core-image-base
    ERROR: Layer directory '/mnt/sdc1/3yocto/poky/meta-openembedded/meta-filesystems' does not exist!
cd ../..
git clone git://git.openembedded.org/meta-openembedded.git  (this contains meta-networking)
cd meta-openembedded
git checkout -b sumo remotes/origin/sumo
cd ../poky/build/conf
edited poky/build/conf/bblayers.conf manually to fix references to meta-openembedded
    BBLAYERS ?= " \
      /mnt/sdc1/3yocto/meta-iotedge \
      /mnt/sdc1/3yocto/poky/meta \
      /mnt/sdc1/3yocto/poky/meta-poky \
      /mnt/sdc1/3yocto/meta-rust \
      /mnt/sdc1/3yocto/poky/meta-yocto-bsp \
      /mnt/sdc1/3yocto/meta-openembedded/meta-filesystems \
      /mnt/sdc1/3yocto/meta-openembedded/meta-oe \
      /mnt/sdc1/3yocto/meta-openembedded/meta-networking \
      /mnt/sdc1/3yocto/meta-openembedded/meta-python \
      /mnt/sdc1/3yocto/meta-virtualization \
      "
cd /mnt/sdc1/3yocto/poky/build
During previous build efforts, I got a warning about meta-virtualization not being enabled in my DISTRO_FEATURES, so to avoid that I edited conf/local.conf and added
    DISTRO_FEATURES_append += " virtualization"
as is shown in meta-iotedge/conf/local.conf.sample
bitbake core-image-base
    The build completed after a few hours
I then looked for the iotedge executables, but they are not in the usual place (build/tmp/deploy/deb/cortexa8hf-neon).
So, I assume the build didn't build the iotedge stuff.

I have just tried compiling with thud, and the build goes through, but no artifacts or packages or anything seems to be produced. Where should I check? Thanks! :)

If you are running bitbake core-image-base you should be able to find the image in build/tmp/deploy/images/{machine}/. I believe by default bitbake will clean up all of the intermediate artifacts.

Thanks for replying. I am specifically looking for iot edge files. The image is indeed produced, but where do I look to confirm that all the IoT Edge files are there?

Don't know if this is still relevant ... but you could verify that you are adding iotedge to your image in the image configuration file: <layer-name>\recipes-core\images\<image-name>.bb
IMAGE_INSTALL += "docker iotedge-daemon iotedge-cli"

Then it should be included when doing:
$ bitbake <image-name>

Don't know if this is still relevant ... but you could verify that you are adding iotedge to your image in the image configuration file: <layer-name>\recipes-core\images\<image-name>.bb
IMAGE_INSTALL += "docker iotedge-daemon iotedge-cli"

Then it should be included when doing:
$ bitbake <image-name>

Thank, yes I think it was something like that. I was inexperienced in yocto, and assumed it magically got added when I added the layer. :)

so, solved?

Stale issue.  Closing.


Update info.md

The name of the event changed to 'kill_feed'

Hey @charllespaiva,
thanks for the hint. I didn't play CS:GO for quite some time.
According to the Overwolf docs, kill should get fired when the player kills someone and kill_feed should get fired when any player dies.
Can you confirm?
According to your screenshot kill wasn't fired at all.
The Overwolf app is subscribing both features.
Thanks, Jens

I just checked and I still get both events.

EVENT: {"events":[{"name":"headshot","data":{"headshotsInRound":1}}]}
EVENT: {"events":[{"name":"kill","data":{"totalKills":1}}]}
INFO: {"player":{"score":3}}
INFO: {"player":{"totalKills":1}}
EVENT: {"events":[{"name":"fired","data":{"weapon_name":"weapon_usp_silencer","weapon_current_ammo":1,"weapon_max_ammo":12,"weapon_type":"Pistol"}}]}
INFO: {"game_info":{"scoreboard_5":{"nickname":"Irwin","steamid":0,"team":"T","money":0,"kills":0,"assists":0,"deaths":1,"mvps":0,"score":0,"adr":0,"ud":0,"ef":0,"ping":0,"local_player":0}}}
INFO: {"game_info":{"scoreboard_0":{"nickname":"loci","steamid":76561197960736140,"team":"CT","money":1150,"kills":1,"assists":1,"deaths":0,"mvps":0,"score":3,"adr":0,"ud":0,"ef":0,"ping":1,"local_player":1}}}
EVENT: {"events":[{"name":"kill_feed","data":{"attacker":"loci","assister":"","weapon":"usp_silencer","headshot":true,"suicide":false,"wallbang":false,"revenge":false,"domination":false,"noscope":false,"throughsmoke":false,"flashed":false,"victim":"BOT Irwin"}}]}

You're right, for some reason my home assistant automation wasn't working correctly with "kill" event. But I checked logs again and there is a event called "kill" .
I'm sorry, I'll close this pull request  😁


Instagram Failed to load resource: net::ERR_TIMED_OUT cannot load image

Hey thanks for the report!
Can you add a description of the issue your facing?


etcd memory sizing

I just ran into an issue with my etcd cluster (running on separate VMs, 3 nodes) where the etcd processes were being killed by the kernel OOM reaper because they hit the cgroup's memory limit, which was set at 512MB. The VMs have (supposedly) 4GB of memory available.
Turns out, due to https://github.com/kubernetes-incubator/kubespray/blob/595e96ebf125823c04a5a7f77e002e5a6affb9f2/roles/etcd/defaults/main.yml#L42, the memory limit is set to 512MB, because apparently Ansible decides the host has less than 4GB available (free -m says the same thing).
Bumping the memory limit to 1024MB (by setting etc_memory_limit in my inventory group_vars:etcd) ensures etcd keeps running. Should we raise the default? Size this differently?...
This also shows we should invest some time in proper monitoring of the etcd cluster...

Can we find a formula saying how many memory will be consume by the etcd cluster depending on the size of the k8 cluster ?
I dont like this kind "auto" limit. I would prefer to have no limit set by default for etcd cluster and having  in the inventory a comment line saying that if the server running etcd cluster are low in memory then set the limit to 1024MB (if we decide that this is the good value) with this setting line etc_memory_limit=1024MB

So you'd set it to 0 by default, and document the ability to override. Would work for me... What do you think @Zempashi @ballot-scality @alxf

Just ran into this again, needs a solution.

I agree with @xaf-scality, tweak the value only if necessary, and let without limit by default.


[DEV-196706] Set Chrome as browser to open the CCT

Add Chrome package name to open CustomTabs, even Chrome is not the default browser in the device settings.

Validated


ADD support to models on Grid Gateway

ADD support to models  with grid gateway
ADD global queries (Could be very useful to know what type of datasets / models we have on our grid network).
ADD new notebook

There are files changes from a different PR. Can you create a new PR?

Ok. I'll close this PR.


Mercedes car Integration via unofficial mobile api

Is your feature request related to a problem? Please describe.
A lot of Mercedes drivers are unhappy about the fact that evcc offers no direct integration of their car.
Describe the solution you'd like
There are several projects like home assistant, iobroker, openhab, … who are using the unofficial mobile app api to integrate the Mercedes cars into their home automation system. One of the developers wrote a how to but I am no go dev so it is not possible to implement that on my own. But maybe someone here wants to do that: https://community.home-assistant.io/t/mercedes-me-component/41911/1714
Describe alternatives you've considered
My alternative at the moment is using the data out of my home assistant instance. This works for me but other people not having a home automation system are in the need of installing a whole home automation system only for the Mercedes soc und distance.

Happy to take a PR. From the linked description it is not entirely clear to me what the api really is.

Hi @andig ,
before I start the coding, let me explain what I plan todo. I'm new to your platform and want to make sure that I'm not running in the wrong direction or the PR gets to big.
High level idea for V1:
Configuration:
RefreshToken, Vin, Account

The procedure to get RT is Pin based. I can add a command line tool to get the RT
One account can have multiple cars, Account is used to keep the RT and AT synchron

Identity:
Use the RefreshToken (RT) to get the AccessToken (AT), store the new RT via settings.SetJson, Lifetime of the AT is 2h.
Api:
Check if AT is still valid, call the Rest API with AccessToken+Vin --> Result is a Protobuf Message --> Unmarshal the message and store the Soc, Max-Soc, Odo, Location, ...
Open questions so far:

Can I create multiple cars with one config entry? If not, how can I make sure that only one car updates the AT.
How are units handled? Is everything stored in Km and the system handles the conversation?

V2:

Create a background websocket to send the command to change the Max-Soc or activate defined charging programs.

Sounds great!

store the new RT via settings.SetJson

Put RT into config- vehicles shouldn't even know there's permananent storage (yeah, broke that rule for tesla command, but had to since even the refresh token is short-lived)

If not, how can I make sure that only one car updates the AT.

Create singleton instance, see tesla command. You'll need a key for doing so. TC does by looking at the token's subject.

Is everything stored in Km

yes

@dm82m does that make sense and it it enough to get you started?

As far as I understood @ReneNulschDE will step into it, I will maybe join if that is useful.

I'm on it - had to change my car simulator a little bit to support this scenario and have to learn evcc and golang :-)

Now I have to solve the token refresh before I switch to the mb environment.
@dm82m : Happy to handover it to you afterwards.

Hi @ReneNulschDE
if you have anything to test, I will do...
Same like in Home Assistant ;-)
MB Car integration would be nice... properly with an automatic identification if its possible

Works partially with 0.126.6. Should work fully with 0.126.7 and works with current nightly! Thank you very much @ReneNulschDE for adding this to evcc! Much appreciated!

Great Thank you very much @ReneNulschDE

es fuktioniert ja schon perfekt seit 0.124.x und auhc mit der aktuellen 0.125.0! Danke dafür!
leider zeigt es den Soc immer nu an, wenn ich das auto grad angesteckt habe. geht das auch, dass der soc immer angezeigt wird?


Media Playback Blocked by Browser.

This bug happens on Brave Browser, where whenever I watch a video, the playback will just suddenly stop sometimes. It's not consistent with every video but every video affected stops playing at a certain time. According to the console, the error is 'ERR_BLOCKED_BY_CLIENT'. an HTTP 400 Bad Request Error, and a Video.js 'CODE:3 MEDIA_ERR_DECODE'.
Steps to reproduce the behavior:

Go on a random video
Watch said video
The video may stop playing at a certain time

Expected behavior
I expect the video to play fully.
Screenshots

System Configuration
This is on the Odysee website.
I'm running Brave Version 1.70.123 (Chromium 129.0.6668.89)
My OS is Windows 11 23H2 (22631.3958)
Additional context
Add any other context about the problem here.

Thanks for the report, and sorry to hear that's happening. If you click the retry button in the top left, does it end up playing?

Uh, no. The video still doesn't play.

How often would you say it happens? Does it also happen in other browsers? Are you watching at 1x or a faster speed?

Also, if you refresh, does it work then?
Would be great to pick this up with you via<EMAIL_ADDRESS>so we can communicate more readily.

Another way to debug this is to check the recent players and click the file that was playing to see the logs here: chrome://media-internals/

It happens with some videos, and it doesn't happen with others. I'd say it happens about 30% of the time. I'm watching at 1x speed.
Refreshing the page does not work.
As for the recent players, this is what I got as a log (via text file);
media-internals.txt

Small update: I think a potential issue is that I'm running an audio website called 'My Noise' alongside the video. When I turned off its playback, the video I was using to test the bug suddenly started playing. It may be possible that the video is just having conflicts with that website. Only issue is that I need that website and its audio on. Currently, I'm solving the issue temporarily by using Vivaldi instead of Brave, which doesn't seem to have this issue.

Thanks for the addtional details. Sounds like some browser bug that might be causing this - wonder if it happens with other sites that have audio/video, or only that one. Glad things are working better now - going to close this for now.

Actually, I'd reopen it. The problem persists on Vivaldi, too. I thought it didn't but it does.
The odds seem to be a lot lower (I'd say about 5-10% on Vivaldi, but the issue still seems to crop up. If I come across the issue again, I'll post the logs and stuff.

Thanks for the addtional details. Sounds like some browser bug that might be causing this - wonder if it happens with other sites that have audio/video, or only that one. Glad things are working better now - going to close this for now.

I have an instance of the media playback stopping on Vivaldi.

odysee.com-1728705746047.log
media-internals (1).txt
Refreshing the page seems to have solved the problem, but I still have some items in case if you need it.

Are you also playing the My Noise on Vivaldi, or in the other browser at the same time? If you don't play that site, do things work normally?
We're not able to reproduce the issue on our end unfortunately, so it would be hard to debug/fix. We can try a couple things and send  you a test site to try it on, give us a few days. Can you reach out to us at<EMAIL_ADDRESS>directely to coorindate this?


Determine if chrome debugger is stopped before actually refreshing code

I am using fb-flo to work on my web project and it is very very awesome, especially for live CSS editing. However the problem that I have always had is that whenever I absentmindedly leave the chrome debugger stopped on something, and then go and change the JS code (which in turn causes fb-flo to hotswap the new JS) it throws Chrome into a completely borked state where mousemove events stop working entirely for the remainder of the lifetime of the browser tab process, including if I F5-refresh the entire page.
Therefore I would very much like to know if it is possible to determine from the fb-flo client update callback whether or not the Chrome Debugger is stopped on something and hopefully if it is I can also go ahead and unpause script execution, somehow. But if it turns out I can't programmatically unpause the debugger, maybe there is still a way that I can at least cancel the live code update so that my entire tab does not become trashed.

Unfortunately currently there is no way to hook into the debugger from the extension. So there is no way to unpause or even just know that it's active. Any other suggestions?

That's as i suspected. I suppose it may be impossible for various reasons depending on how the process and VM sandbox system is architected...

I remember seeing somewhere that it's planned to provide access. It would open a bit more possibilities then. I'll close the issue because it's not actionable but we can keep discussing


Evaluate Airflow

How are dependencies in processing jobs handled? Is there any scheduling along with dependencies? => Should use Airflow.

@satendrapalsingh Nifi is very similar to Airflow - can you share a deeper comparative analysis on how a switch would help here?

Currently we are using Nifi for Processing and Job Scheduling . Airflow process we haven't consider in the current development.
If we to evaluate the Airflow we can take this to backlog


stuck after login

[Main/SUCCESS] | Logged on as **********************
[Main/INFO] | Loaded 1 extensions, with total of 2 command
it stuck after login and i cant enter any command

bro after login go back to your discord account and create a fake server and that server type cp!help
you will see a list of command to use .this script work through discord not in terminal

oh ok thank you


Console Server - fallback to authorization header if X-Forwarded-Access-Token is not populated

Type of change

Enhancement / new feature

Description
To support the kubernetes case (when pusher's oauth-proxy is in use), take the bearer token from the Authorization header if X-Forwarded-Access-Token is not set.
Checklist

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[ ] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

@enmasse-ci run tests testcase=*ConsoleTest

:x: Test Summary :x:
TEST_PROFILE: pr
TEST_CASE: *ConsoleTest
TOTAL: 62
PASS: 55
FAIL: 1
SKIP: 6
BUILD_NUMBER: 87
:heavy_exclamation_mark: Test Failures :heavy_exclamation_mark:

testLoginLogout in io.enmasse.systemtest.isolated.web.FirefoxConsoleTest


Fixing diet restriction shows None in description page

What I have done

I have discovered and resolve another problem which is the diet restriction on the description page always shows none.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.


Also like how to make use of app.data to store some data until end of conversation. Before we used to do app.data. =  so that on next request we can access the value of it and modify it and pass it again

Instead of using app.data, you can use conv.data.

Thanks a ton fleker :) i should have checked the updated samples! Without checking that I just posted the query. Sorry bro. I would love to know one more thing. Is it possible to still use the actionMap?

The idea of the action map is not available in v2. Instead, the recommendation is to use map your intents to functions as noted in the migration guide.

@Fleker  hey fleker! Is there any sample provided for sign-in provided intent? I tried integrating with outlook and i was successfully getting accessToken for further operations. But everytime i try on actions on google simulator, i need to go to debug console, get the URL, authenticate and then again speak to the app! If there is any sample like outlook mail fetching which is like easy way, please share it! (I made default welcome intent as sign-in intent)

I do not believe there is a sample for sign-in in this GitHub org.


DeleteByQuery hangs for invalid query

This program with a syntax error in the query hangs:
package main

import (
    "gopkg.in/olivere/elastic.v3"
)

func main() {
    client, err := elastic.NewClient()
    if err != nil {
        panic(err)
    }

    _, err = client.DeleteByQuery(`{
            "query": {
                "filtered": {
                    "query": {
                        "match_all": { }
                    },
                    "filter": {
                        { "term": { "interval": -1 } }
                    }
                }
            }
        }`).
        Index("twitter20151101").
        Type("tweets").
        Do()

    if err != nil {
        panic(err)
    }
}

Sometimes it hangs, sometimes it exists with the panic.

Sounds to me like an issue with Elasticsearch, not with the Go client. Which ES version are you using? Maybe you're suffering from one of the issues described here: https://www.elastic.co/blog/core-delete-by-query-is-a-plugin?!

Am 08.11.2015 um 15:48 schrieb Peter Kleiweg<EMAIL_ADDRESS>Sometimes it hangs, sometimes it exists with the panic.
—
Reply to this email directly or view it on GitHub.

ES 2.0 with elastic version 3. No, I didn't have the plug-in.
Perhaps something to mention in the docs, that you should call client.HasPlugin("delete-by-query") first? And add the link you give to the docs also.

Perhaps a better solution would be if DeleteByQuery returned an error if the plug-in is not installed.

@pebbe I see. Yes, documentation can always be better. I've written it up in the CHANGELOG for 3.0, but I understand that it's hard to find and the Wiki would have been a better place. Still struggling to find the time to enhance the Wiki.
However, I'm just a single developer and rephrasing all updates and docs written by the good guys at the Elastic documentation team is simply not possible. Therefore I rely on people reading the documentation for Elasticsearch (e.g. the Breaking changes for 2.0) and only then lean to elastic, trying to implement their solution in our favorite programming language.
Also notice the new SetRequiredPlugins configuration option in v3. It could be a useful option for your use case. It will check for the existence of a plugin at client creation time (btw you can achieve the same with a change to your Elasticsearch configuration):
// Will raise an error if the "delete-by-query" plugin is NOT installed
client, err := elastic.NewClient(elastic.SetRequiredPlugins("delete-by-query"))
if err != nil {
  log.Fatal(err)
}

Your idea of returning an error if the DeleteByQuery plugin comes with a problem. If I do this with every usage of DeleteByQuery, elastic will end up sending an additional request to Elasticsearch for the "just in case" use case. I tend to not do that.  Elastic doesn't try to be smart.


Error in storeUser: UnrecognizedClientException: The security token included in the request is invalid.

Hi,
I had some success today getting this working but then I cleared everything out and reinitialised ... now I get an error executing LambdAuthCreateUser. I have spent way too long trying to work out what is going wrong but it seems that it isn't picking up the correct policy that allows LambdAuthCreateUser to write to the DynamoDB. But I can't see what policies it HAS picked up only what it SHOULD pick up. The policy simulater reports no issues, so it's nothing obvious.
Do you have any thoughts?
A.

Check the IAM role used by the Lambda function (form the Lambda console), is it allowing to PutItem to the table? Is the AWS Account ID correct for you?

I think it was an issue now solved (the AWS account was cabled or not replaced in the init.sh procedure). Can you try now, running the init script again (it is designed to be non-destructive) ?

Hi @danilop, I reorganised everything completely differently and so can't run the new code anymore. I hope my comments were helpful regardless :)


Failed to sync with BCH testnet

Current behavior
Syncing with Bitcoin Cash testnet (BCHTestnet) is failed.
Debugger output:

start sync
testnet-seed-abc.bitcoinforks.org:18333 connecting
2018-09-20 17:17:50.590262+0300 Wallet[57043:20908774] [] nw_connection_get_connected_socket 1 Connection has no connected handler
2018-09-20 17:17:50.590664+0300 Wallet[57043:20908774] TCP Conn 0x60400016cb40 Failed : error 0:-65554 [-65554]
testnet-seed-abc.bitcoinforks.org:18333 socket error occurred
testnet-seed-abc.bitcoinforks.org:18333 disconnected
Expected behavior
Syncing with testnet-seed-abc.bitcoinforks.org or other node is successful
Steps to reproduce

Launch Wallet app (Examples folder)
Go to "Send" tab
Syncing with node or choosing other node to sync is failed

Environment

BitcoinKit: 1.0.2
Xcode Version: 9.4.1 (9F2000)
Swift Version: 4.1

@cuhte3
SPV features are under construction and really unstable.
It is on our roadmap to modify it, so please wait.


Add option to validate strings that are added

For example if I change input type like so <input v-if="!readOnly" v-bind:placeholder="getPlaceholder()" type="number" ... it will accept only numbers and validate it with browser built in functionality.
In HTML5 there are options to match the patterns in the input (http://www.w3schools.com/tags/att_input_pattern.asp).
Do you think this could be a good enhancement? I could provide a PR if you will

Yeah, this would be nice. Maybe we can add 2 optional props: type and pattern.
If you can, create a PR (I'm very busy this week). Otherwise next week I can do it.

OK, will do that tonight

Hmm, that may be not that straightforward. Adding v-bind:type="validateType"  with code like this:
<script>
  let legitType = /date|datetime|email|month|number|tel|text|time|url/;
  export default {
    name: 'InputTag',
    props: {
     ..
      validate: {
        type: String,
        default: 'text',
      }
    },
    beforeMount : function () {
          if(this.validate && legitType.test(this.validate)) {
              this.validateType = this.validate;
          }
    },
    ..
</script>

<template>

...
    <input v-if="!readOnly" v-bind:placeholder="getPlaceholder()" v-bind:type="validateType" v-model="newTag"

Results in vue.js core error - template syntax error : v-model does not support dynamic input types. Use v-if branches instead..
Having multiple <input v-if="type='text'" .. <input v-if="type='number'" .. <input v-if="type='tel'" .. etc doesn't look like an elegant solution.

Hmm, I didn't know this 😕
Yeah, a lots of inputs with v-if doesn't seem nice. I'm not sure if there is other way tho...

I see 3 possible ways to tackle this

custom directive
validator hook inside of the adding item logic
subcomponent with custom render function
I'll update later today

here's a sample implementation with validator hook - https://github.com/shershen08/vue-input-tag/commit/f2089f7735416e8f0c3dc876596c1d9e7faf6010
let me know what you think?

I tested locally and works good 👍
Create a PR to develop branch and then we can merge it to master

#12


feat(Navbar): Fixed Navbar Functionality

Signed-off-by: sandeep-v1404<EMAIL_ADDRESS>Functionality:
Fix Bugs in Navbar
Solution:
Modified Functions and Added New Function to make Navbar Functionality bug free.
Risk level:

[ ] high
[X] medium
[ ] low

How to test:

ng serve
firebase emulators:start
Check Navbar Below Header.

Screenshot:

Login Page

Start New Sprint

Create New Task

My Dashboard

Tasks Page

Task Details Page

Please resolve merge conflicts as soon as possible


Add ODIS circuit breaker implementation

Description
Refer here for more information.
This PR adds an implementation for the ODIS circuit breaker. HSM keys have been deployed to mainnet/alfajores GCPs as well. Circuit breaker operation can be performed by temporarily disabling or permanently destroying the decryption keys. Once this PR is approved, I'll deploy the cloud functions in both mainnet/alfajores.
Related issues

Fixes #1396

@silasbw definitely worth adding tests, was planning on it. may have been better to submit this pr in a draft state; primarily just wanted some feedback on the design itself.


automatically generate cheatsheet in CI

Is your feature request related to a problem? Please describe.
Currently whenever a contributor adds a new keybinding, they need to update the cheatsheet to reflect the change, with go run scripts/cheatsheet.go. This is a hassle and it would be better done on CI
Describe the solution you'd like
When we merge a branch to master, the cheatsheet file is re-generated based on the new code, and if it's different to what's committed, we'll commit the new cheatsheet.
Describe alternatives you've considered
Doing it manually
Additional context
This might require giving some extra git permissions to CI, and it might clutter up the commits a bit, but I think it's the right move

I'll hop onto this now

done


Shorten dev version install instructions

When we switch to using Remotes: in place of staged dependencies, let's also simplify the installation instructions for the dev version of admiral. At the moment, the far-less used instructions are given a bit too much real estate on the home page.
What is looks like now:

Proposal:

Use a code block for install.packages("admiral") instead of code formatting.
Update the code block for dev version to something like this

# install.packages("devtools")
devtools::install_github("pharmaverse/admiral")

Can the two (staged.dependencies and remotes) exists at the same time?

@bms63 there is no reason they can't coexist.

If they can co-exist, then I think we can make this update in the Description and update the instructions?


Detect the XDG runtime setting in env instead of configuration (on macOS)

For some compatibility reasons, I set my own XDG Base Directories. Not equal to default macOS folder suggestions.
I know there is a configuration to open XDG support on Mac, but some zig tools (such as zls ) don't provide a method to change it. If known-folders can read env and follow the XDG settings, will resolve this problem.

I would also like this feature.
I use macos and prefer using XDG directories for everything. I use zls which uses this project, but I have no way to insert pub const known_folders_config = .{ .xdg_on_mac = true }; into the code of zls, since I'm just a user of zls.


[doc] Documenting Helm chart for Comet Kube execution

Which issue does this PR close?

Closes #689 .
Rationale for this change
Document how to deploy Apache Spark with Comet accelerator to the Kubernetes using Helm

What changes are included in this PR?

How are these changes tested?

@andygrove please have a look


Dependency package typedoc has a new version available

We have identified a dependency on version 0.15.2 of typedoc. A new version (0.22.17) is available for upgrade.
Following are the steps to upgrade package dependency.

Understand the breaking changes between the version being used and the version you want to upgrade to.

Identify all packages that take a dependency on this package.

Go to the root folder for each such package (/sdk/service-name/package-name) and update package.json to have the new version.

Run rush update to ensure the new version is pulled in.

Make relevant changes to absorb the breaking changes.

Repeat steps 3 to 5 for each of the packages that have a dependency on this package.

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Azure.Core:0.25756505,Service Bus:0.17612441,EngSys:0.054823127'


Can't launch Spyder on Windows 10

Description of your problem
What steps will reproduce the problem?
I typically open Spyder via the Start Menu, but now, when I try to click on the Spyder icon in the Start Menu, I get no response. I then tried to go directly to the spyder.exe file in the Scripts folder in the directory where Anaconda is installed but I got no response.
Please provide any additional information below
Versions and main components

Spyder Version: 3.2.4
Python Version: 3.6.2
Qt Version: 5.6.2
PyQt Version: 5.6.0
Operating system: Windows 10

Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:

spyder --reset
solves the problem

I am having a similar problem. When I attempt to run Spyder, I get a pop-up saying that Python has stopped working. I have tried launching from start menu, navigator, and prompt, but I get the same result each time.
I am running Anaconda Navigator 1.8.7, with Spyder 3.2.8, and I have Python 3.6 installed on the machine.

Most probably it's an antivirus original firewall problem. Please deactivate them an try again.

I deactivated both and still had the same problem.  I tried restarting with both still deactivated, and still had the same issue.  Spyder will not start when trying to open from start menu or Anaconda Navigator, and I am still getting the message that python has stopped working when I try launching from prompt.

same problem here.. spyder window is showing loading editorand it never open nor get cloosed. i hav eto close it manualy

I too have the same issue. It is stuck at the "loading editor..." phase.  Nor could I launch jupyter notebook. When I run jupyter.exe or jupter-troubleshoot.exe, a window opens and closes in a fraction of second. I had this problem a month ago. So I switched to Ubuntu. It seems its working fine in Linux.

No, i can ooen julytrr and work on that but spyder is not working. I have
tried almost all possible way to solve it but nothing worked.
On Sat 4 Aug, 2018, 9:32 PM Chetan Sriram Madasu<EMAIL_ADDRESS>wrote:

I too have the same issue. It is stuck at the "loading editor..." phase.
Nor could I launch jupyter notebook. When I run jupyter.exe or
jupter-troubleshoot.exe, a window opens and closes in a fraction of second.
I had this problem a month ago. So I switched to Ubuntu. It seems its
working fine in Linux.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/5525#issuecomment-410459228,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AmUSRjpxd-GdlJsay9axe6lChHT44Z_pks5uNcWMgaJpZM4QBkfw
.

I also have the same problem :(

This works for me: In windows 10 (run this in conda prompt, might need to run as admin)
conda install --force-reinstall pyqt qt
see here:
spyder-ide/spyder#6934

try this:
This works for me: In windows 10 (run this in conda prompt, might need to run as admin)
conda install --force-reinstall pyqt qt
see here:
spyder-ide/spyder#6934

No, i can ooen julytrr and work on that but spyder is not working. I have tried almost all possible way to solve it but nothing worked.
…
On Sat 4 Aug, 2018, 9:32 PM Chetan Sriram Madasu, @.***> wrote: I too have the same issue. It is stuck at the "loading editor..." phase. Nor could I launch jupyter notebook. When I run jupyter.exe or jupter-troubleshoot.exe, a window opens and closes in a fraction of second. I had this problem a month ago. So I switched to Ubuntu. It seems its working fine in Linux. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5525 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AmUSRjpxd-GdlJsay9axe6lChHT44Z_pks5uNcWMgaJpZM4QBkfw .

spyder --reset
solves the problem

The above, after reinstalling pyqt (quoted below) solves the problem for me.

try this:
conda install --force-reinstall pyqt qt
This works for me: In windows 10 (run this in conda prompt, might need to run as admin)
see here:
#6934

No, i can ooen julytrr and work on that but spyder is not working. I have tried almost all possible way to solve it but nothing worked.
…
On Sat 4 Aug, 2018, 9:32 PM Chetan Sriram Madasu, @.***> wrote: I too have the same issue. It is stuck at the "loading editor..." phase. Nor could I launch jupyter notebook. When I run jupyter.exe or jupter-troubleshoot.exe, a window opens and closes in a fraction of second. I had this problem a month ago. So I switched to Ubuntu. It seems its working fine in Linux. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#5525 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AmUSRjpxd-GdlJsay9axe6lChHT44Z_pks5uNcWMgaJpZM4QBkfw .

I had the following error message, when trying to launch Spyder from my conda environment (in other words the environment was already activated and running)
This Python interpreter is in a conda environment, but the environment hasnot been activated. Libraries may fail to load. To activate this environmentplease see https://conda.io/activation
The above Spyder --reset did the trick for me (I have also used 'update qt' though before that as suggested on one of the stackoverflow answers... just before that, so maybe try both)

I have Windows 10 and Spyder wont even launch for the first time immediately after installing the most recent version of Anaconda. Anyone else having this issue recently? (November 2020)

I have Windows 7 and Spyder wont even launch for the first time immediately after installing the most recent version of Anaconda.  Next I tried installing WinPython63 <IP_ADDRESS> in order to launch spyder from there. No luck there too.

@stefaneidelloth, it seems you're trying to use a version older than Spyder 3.3.0 with Python 3.10. But that version was released three and a half years ago.

I had the same problem with a download of Winpython: spyder would just not start without any message. It turned out that even I had the spyder.exe the python modules were missing. So pip install spyder solved the issue

@gersbrett - Agreed, the latest windows installer is broken and will not launch Spyder properly. Installing Spyder from pip instead fixed the startup issue for me on 22H2 Win10. Thanks for the solution.

@ccordoba12 - I wasn't trying to be overly critical, Windows is a convoluted environment to be sure, and I am not running WinPython. I have just had issues getting Spyder to run properly over the last three releases, whereas it ran without a hitch before that (January 2022 time frame). I run a straight Python 3.9 install on Win10, no environments, no Anaconda, etc. I have found that Spyder when I try your install and run the shortcut your installer provides, try's to launch but then quits at the splashscreen. When I coax it to tell me what's wrong, it tells me it can't find Python 3.8. So then I have had to write a batch file that launches Python 3.8 from your windows installer install and then launches the spyder_xxx.pyw file you provide.
When I installed Spyder via PIP (@gersbretts hint above), then Spyder.exe was placed properly in my main Python 3.9 directory(s) like everything else, and all I have to do to get this to run properly is launch it as an administrator.

@ccordoba12 - I wasn't trying to be overly critical, Windows is a convoluted environment to be sure, and I am not running WinPython

Don't worry, it wasn't clear from your message if you were using WinPython. I read it that way, hence my suggestion to report the problem to them.

I have just had issues getting Spyder to run properly over the last three releases, whereas it ran without a hitch before that (January 2022 time frame)

Ok, this could be due to the inclusion of Spyder-terminal in our Windows installer. You could check that by going to the site-packages directory of the installer (I this it's called pkgs) and removing the folder for Spyder-terminal.

So then I have had to write a batch file that launches Python 3.8 from your windows installer install and then launches the spyder_xxx.pyw file you provide.

Could you post the error you're getting and the script you're using to launch the installer? That way we could better understand your problem.

@ccordoba12 - OK, I installed the full installer and looked at this again.
I removed the terminal - that didn't fix the issue.
If I just run the installer supplied shortcut, I get a splash screen, some things zip by and then the splash screen disappears. Poof - Gone.
If I run the installer supplied shortcut as an administrator - I get a splash screen and then I "Think" I can see the info zip by that it is changing directory's, etc. Finally Spyder opens fine.
I am 99% sure that there is some permissions problem (you know, because Windows 10 is a nightmare with permissions). I take back what I said about the installer - this is some interaction with Win 10 and permissions.
The only weird thing is that in January / February 22 this worked fine with the installer out of the box, but there have been monthly Win10 updates, so perhaps there is an interaction there.
Bottom line: Just run the shortcut as an administrator and it works.
Thanks for your help and prodding so I got to the bottom of it.

The only weird thing is that in January / February 22 this worked fine with the installer out of the box, but there have been monthly Win10 updates, so perhaps there is an interaction there.

Agreed, that's very strange. We did many changes between Spyder 5.2.2 (release on January) and 5.3.0 (released on March), so it'd be hard to tell exactly what is causing this issue.

Thanks for your help and prodding so I got to the bottom of it.

No problem. Glad to know you found a workaround to keep using Spyder.

I should add, that I don't see a lot of chatter here with others having these same sorts of issues that I have, so it seems to be more of a one off on my configuration problem.

Yep, that's my suspicion too.


Improve consistency checks for the HFSM when generating code

Do not generate the code unless it passes all model consistency checks (for all states marked complete in the model):

No two transitions out of a state should have the same Event / Guard combination
All states containing children must have an initial state
configured and properly wired up to transition to one of their
children
Any substate containing an End State must have an End Transition (no
event) leaving the state
States cannot have more than one End Transition
End Transitions cannot have guard conditions
Choice pseudostates must have a default (unguarded) transition
States should not have any transitions without an Event unless they
contain an End State

closed by #2


Front End Error Handling

Fixes

Added a catchall error code to the API, added an error message to display when error code is seen

Description

In the try/except block for the quick-search endpoint, it will now send a 500 when any error is caught. The SearchResultPage will now display "There was an error during the search operation" if it receives a 500.

Docs

Updated the quick-search docs in gitbook: https://app.gitbook.com/o/-MXypK5ySzExtEzQU6se/s/-MXyolqTg_voOhFyAcr-/~/changes/449/api/endpoints/data-sources-database

This is now live on dev, I had to make a breaking change locally to the API in order to generate the below error message

This is my first front end ticket, was just hoping to get something general working in case something went wrong. Very open to suggestions


No license?

Is the license same as the one on CurseForge (MIT)? I'd like to contribute some of my changes but the lack of license in this repo makes it impossible.

I have no way to make pr atm. Yep, thats mip


Test to figure out why cache always misses during lint, typecheck, test

Self Checklist

[ ] I wrote a PR title in English and added an appropriate label to the PR.
[ ] I wrote the commit message in English and to follow the Conventional Commits specification.
[ ] I added the changeset about the changes that needed to be released. (or didn't have to)
[ ] I wrote or updated documentation related to the changes. (or didn't have to)
[ ] I wrote or updated tests related to the changes. (or didn't have to)
[ ] I tested the changes in various browsers. (or didn't have to)

Windows: Chrome, Edge, (Optional) Firefox
macOS: Chrome, Edge, Safari, (Optional) Firefox

Related Issue

Summary

Details

Breaking change? (Yes/No)

References

#1684


Error encountered

Running the below:
perl -MSisimai -lE 'print Sisimai->dump(shift)' ./messages/ > report.json

causes the below error to be printed:
Can't use an undefined value as an ARRAY reference at /Library/Perl/5.18/Sisimai/Rhost/GoogleApps.pm line 116.
And the email files in the directory is downloaded from outlook.com not google, perhaps this is the cause?
Thanks in advance.

@beeing Thanks for the bug report. We have tried to fix the bug and it may be fixed at the current master branch.
Sisimai::Rhost::GoogleApps is called from Sisimai::Rhost only when the value of rhost in the parsed results is aspmx.l.google.com.  A bounce mail which causes the error may be sent from outlook.com to Google.

@beeing If possible, could you show the entire email which causes the error at your private gist because we need a sample email for testing the bug and fixed code. The following command is helpful to find the email.
$ for v in $(find ./messages -type f); do
echo $v
perl -MSisimai -lE 'print Sisimai->dump(shift)' $v > /dev/null
done

Thanks

I found the problematic email, can you provide an email that I can send to?

Also, how do I update the fixes from master branch? Do I clone and run make again?

I found the problematic email, can you provide an email that I can send to?

<EMAIL_ADDRESS>is our development team's email address.

Also, how do I update the fixes from master branch? Do I clone and run make again?

Yes, To update to the latest master is clone and install like the following commands:
$ git clone https://github.com/sisimai/p5-Sisimai.git
Cloning into 'p5-Sisimai'...
remote: Enumerating objects: 43, done.
remote: Counting objects: 100% (43/43), done.
remote: Compressing objects: 100% (33/33), done.
remote: Total 22880 (delta 14), reused 27 (delta 10), pack-reused 22837
Receiving objects: 100% (22880/22880), 7.56 MiB | 4.24 MiB/s, done.
Resolving deltas: 100% (15503/15503), done.

$ cd ./p5-Sisimai
$ make install-from-local
...

Or -I./lib option is useful to test the fixed version like the following:
$ git clone https://github.com/sisimai/p5-Sisimai.git
...
$ cd ./p5-Sisimai
$ perl -I./lib -MSisimai -lE 'print Sisimai->dump(shift)' ./path/to/messages-directory

@beeing We have received a email with the bounce mail as a sample. We are going to inspect the bug tomorrow, thanks :-)

Thanks @azumakuniyuki

@beeing We have improved code at Sisimai::Bite::Email::Exim module based on the bounce mail you gave. The parsed results generated by the current master branch are the following:
- reason: "userunknown"
- deliverystatus: "5.1.1"
- smtpagent: "Email::Exim"

Thanks :-)

Great! Thank you for the quick fix.


Lift + shift for cross-db macros

A step on the way toward resolving #4813. Continues #5265.
Description

Move dispatched + default__ macros into global project, macros/utils
Move Postgres-specific implementations into dbt-postgres
Move test cases into dbt-tests-adapter, with options to override the macro_namespace. This allows us to test for backwards compatibility when people call the dbt_utils-namespaced versions.

Conflict for current_timestamp()
Context

Both dbt-utils and dbt-core contained definitions for current_timestamp()
The text of the definitions is not identical (see here)
However the SQL result of the definitions appears to be equal (see here)

Options
We have some options for how to handle this:

Keep the existing definition within each database adapter and discard the dbt-utils definition
Overwrite the existing definition within each database adapter in favor of the dbt-utils definition
Keep the existing definition within each database adapter and re-institute the dbt-utils definition back into the macros/cross_db_utils folder.

Initial decision
I went with the following decision since dbt-core is more foundational:

Option 1: Keep the original definitions from dbt-core and discard the definitions from dbt-core

But all else being equal, I probably would have preferred Option 2. Risk aversion tilted the scales to Option 1.
Further options (per adapter)
If desired, any or all of the following could be done without any known issues:

Move definition of current_timestamp() from dbt/include/global_project/macros/adapters/freshness.sql to dbt/include/global_project/macros/utils/current_timestamp.sql (or equivalent location per adapter)
Replace the original definition in dbt-core with the original definition from dbt-utils

To do before merge

[x] Review and affirm the default definition of current_timestamp() here
[x] Review initial decision for handing current_timestamp() and change tack if desired
[x] Determine how to handle tests decorated with @pytest.mark.skip within tests/adapter/dbt/tests/adapter/utils/

There seems to be a lot of tests that didn't got implemented, do we have anything tracking those?

Yes! Let's kick those out of this PR. Those tests will be added in https://github.com/dbt-labs/dbt-utils/pull/586 instead.

Otherwise this is mainly moving things in dbt-utils to core right?

✅

🎉 🎉 🎉


create root span from slim auto-instrumentation

To allow avoiding all of the spans created by psr-15 auto-instrumentation, have slim auto-instrumentation create its own root span (which is a slightly simplified version of what psr-15 does). Now, slim auto-instrumentation can be used with or without psr-15, depending on whether you want to create spans for all psr-15 middlewares or not.

Testing against the demo quoteservice gives the following traces:
Slim auto-instrumentation:

Slim + psr-15 auto-instrumentation:

To allow avoiding all of the spans created by psr-15 auto-instrumentation, have slim auto-instrumentation create its own root span (which is a slightly simplified version of what psr-15 does). Now, slim auto-instrumentation can be used with or without psr-15, depending on whether you want to create spans for all psr-15 middlewares or not.

@brettmc Is it now possible to disable one or other instrumentation dynamically at runtime (by using API) without manipulating with installed packages?

Is it now possible to disable one or other instrumentation dynamically at runtime (by using API) without manipulating with installed packages?

No, it's not. This can only be achieved by either installing or not some of the packages.

Is it now possible to disable one or other instrumentation dynamically at runtime (by using API) without manipulating with installed packages?

No, it's not. This can only be achieved by either installing or not some of the packages.

I'm wondering if that would not be a useful feature

I'm wondering if that would not be a useful feature

I think it's a good idea, I'll create an issue for it. I don't think we can un-register hooks once they exist, but perhaps checking a configuration - something like OTEL_PHP_DISABLED_INSTRUMENTATIONS which contains a list?


Naming for scope

There are multiple features named scope on the web:

The CSS at-rule @scope {} https://developer.mozilla.org/en-US/docs/Web/CSS/@scope
The CSS pseudo-class :scope https://developer.mozilla.org/en-US/docs/Web/CSS/:scope
The web app manifest member scope https://developer.mozilla.org/en-US/docs/Web/Manifest/scope

And a few others with the word scope in them:

Scroll-driven animations timeline-scope property: https://developer.mozilla.org/en-US/docs/Web/CSS/timeline-scope
The PWA scope_extensions feature https://chromestatus.com/feature/5746537956114432

We used the word scope on this repo to mean the first of this list. What will we do with the others?
The two last features are probably ok, because they're not just named scope.
Not sure if the :scope pseudo class and scope manifest member will need to be their own features. If not, this issue can be closed.

Can https://developer.mozilla.org/en-US/docs/Web/Manifest/scope be grouped into a larger feature, or did it really ship by itself?

I don't know the history here. But I guess scope really only makes sense when the PWA is installed on the device (i.e. as a standalone app). So maybe this needs to be grouped together in a larger feature related to web app installation (which, btw, has been so much in flux lately that I'm not eager to try to define that group).

So I guess we're saying, let's close this issue.


PR: Update RELEASE.md and CONTRIBUTING.md

Description of Changes

Some outdated references to spyder 4.x and spyder-kernels 1.x branches.
Update crowdin link to sync translations
Update conda.txt requirements link

Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: dalthviz

I know much work it is to keep a repository's *.md files up to date and consistent with the rest of the repository so thank you.
Good job!


Add pyobjc to dependencies.

Hello,
First of all thank you for the project. This is exactly what I was looking for :).
First time I used it I used it from the release. Than I realized that release was version 0.1 and there were already a 0.2 version. So I got the master and build from there. I was able to build it by fixing some py2app bug manually as explained here:
http://stackoverflow.com/a/29449144/350127
After that I was able to build the package but when I ran the package it did not work and got some error. I fixed it by adding pyobjc package to virtualenv I used to build the app as explained here:
http://stackoverflow.com/a/18043508/350127
For the people who use this. pyobjc is a build time dependency. It seems like if it is being added to app package. So you do not need to add it to global python path. It just needs to be on the path when you build the app.
It would be nice to have those tricks on README of this repo and pyobjc on requirements.txt

Hi!
I'm happy you like the project! :)
What version of py2app did you use? I had no problem using py2app 0.7.2. I'll still add the stackoverflow link to the README.md so people who get your problem can build the app.
for your other point, I didn't realize pyobjc was required since I already had it installed, I'll add it to the requirements.txt !
Thank you for your input!

From pip-freeze I am getting following version. Actually I just created a new virtualenv and installed requirements file there. Here is the version that was installed:
py2app==0.10

That's weird that I didn't have your problem with the same version, probably something configured diferently on my machine. Anyway, I'll keep the py2app fix in the README in case someone run into the problem!
I'll close the issue now, if you have something to add don't hesitate to reopen it or create a new one :)


Update README.md

Update the README to reflect the fact that Capybara Webkit now requires Qt 5.

My tests all fail now with QT4...

Hey @lpender, if you take a look at the Travis builds for capybara-webkit, for example, https://travis-ci.org/thoughtbot/capybara-webkit/jobs/65627737, you'll see that they are testing against QT 4.8.1 as well as QT5.
There is a plan to eventually drop QT 4, as mentioned https://github.com/thoughtbot/capybara-webkit/issues/760, but it's not until at least 2.0 release.
Can you please give more information about the issues you are having?
Maybe open an Issue with your current Capybara Webkit version, QT version, webkit_debug output, and a reproducible test sample app for the issues you are experiencing?

Hey @nritholtz, thanks for that.  Sorry about the premature PR.
So I think the issue is that I'm using REACT, which apparently requires QT 5 to work with capybara-webkit, possibly because it uses ES6 libraries.
Perhaps I should do some more research to see exactly what is going on.  I can close this PR for the time being.
Thanks
-Lee


MIPS64 reverse instruction is found to be wrong, how to fix the disassembly?

ida:
text:0000000000019B08 A0 FF BD 67                 daddiu  $sp, -0x60       # Doubleword Add Immediate Unsigned
.text:0000000000019B0C 48 00 BC FF                 sd      $gp, 0x60+var_18($sp)  # Store Doubleword
.text:0000000000019B10 09 00 1C 3C                 lui     $gp, 9           # Load Upper Immediate
.text:0000000000019B14 2D E0 99 03                 daddu   $gp, $t9         # Doubleword Add Unsigned
.text:0000000000019B18 48 85 9C 67                 daddiu  $gp, (strncpy_ptr - 0xA2050)  # Doubleword Add Immediate Unsigned
.text:0000000000019B1C 10 85 99 DF                 dla     $t9, strdup      # Load 64-bit address
.text:0000000000019B20 50 00 BE FF                 sd      $fp, 0x60+var_10($sp)  # Store Doubleword
.text:0000000000019B24 38 00 B2 FF                 sd      $s2, 0x60+var_28($sp)  # Store Doubleword

ghidra:
        00119b08 a0 ff bd 67     daddiu     sp,sp,-0x60
        00119b0c 48 00 bc ff     sd         gp,local_18(sp)
        00119b10 09 00 1c 3c     lui        gp,0x9
        00119b14 2d e0 99 03     daddu      gp,gp,t9
        00119b18 48 85 9c 67     daddiu     gp,gp,-0x7ab8
        00119b1c 10 85 99 df     ld         t9,-0x7af0(gp)
        00119b20 50 00 be ff     sd         s8,local_10(sp)
        00119b24 38 00 b2 ff     sd         s2,local_28(sp)

0x000019B1C this offset ghidra is wrong ,ida is right.
ghidra cannot find  function "strdup" ?
how to fix the disassembly?

The instruction mnemonic and operands are correct.
check it against other disassemblers and they will match ghidra. dla is a pseudo instruction, and certainly not a 4-byte instruction. If anything this a bug in Ida's disassembler.

According to a quick google search dla is a pseudo instruction.

@astrelsky  "markup dual instruction references" How to set it up? Can you send me some help ?


Add tasks completed in Profile

Fixes #1063
Acc no: c54c04774efaae20746fd3f29cdd619fea512e119bc1082b863572b2e8844104

@kristykjlee before I continue and refactor my code, may I ask for feedback on the UI (i.e. whether it matches the design)?

Here's a preview of the website with the addition of tasks completed: http://tnb-completed-tasks.surge.sh/user/profile

@jamessspanggg, looks perfect.
Just one note, at ~800px width there's a problem and the component is getting out of the screen. Maybe it would be better if the components go one below another at an earlier point.


Add a mySimpleSchema.addDocValidator(function)

Similar to mySimpleSchema.addValidator() but at the document level, so we can easily do validation over the entire document.

+1
As far as I can tell, using this.value('somekey').value in an addValidator or custom function won't have access to that value if somekey wasn't being set or updated in the transaction.
For example, if I'm updating 'someotherkey', but I want to validate it against 'somekey', I couldn't do that.
MySchema.simpleSchema().addValidator(function() {
    var somekey = this.value('somekey').value; //Undefined... :(
    var someotherkey = this.value('someotherkey').value;
    if (somekey === someotherkey) {
        return 'lol_error';
    }
}

And then later...
MySchema.update({_id: ...}, {
    someotherkey: '1337'
});

There really isn't a good way of doing non-trivial validation that spans multiple fields right now.

Thanks for your patience. SimpleSchema 2.0.0-rc.1 is now released and includes changes that resolve this issue.
There are a number of breaking changes when updating to 2.0, so be sure to check out the change log. If you use aldeed:collection2, you will need to use 2.10.0 or higher of that package in order to use SimpleSchema 2.0. If you use autoform, it is not yet updated to work with SimpleSchema 2.0, but hopefully soon.
SimpleSchema is now an isomorphic NPM package, so you can check out the updated readme and file issues over at the other repo. The Meteor wrapper package will exist for now but eventually I will probably deprecate support for it.
This is still a beta/RC and I do expect people will find issues, so use with caution. Production use is not yet recommended. That said, there are more and better unit tests than ever before, and the codebase should be much easier for others to read through and debug quickly.


Remove executable mode from lib.rs

Description
Remove x mode from lib.rs file
Motivation and Context
lib.rs was marked as executable file at this commit: https://github.com/http-rs/tide/commit/815c3314d6480d4e4fa610d292cd5f1709210c74#diff-b4aea3e418ccdb71239b96952d9cddb6
I think there is no particular reason to be executable. Maybe a mistake.
How Has This Been Tested?

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Thanks!


Add poly_getnoise_eta2_4x alias for poly_getnoise_eta1_4x

In encapsulation of ml-kem-768 and ml-kem-1024, we are using poly_getnoise_eta1_4x to sample both the secret and the error. This works because ETA1 = ETA2 = 2.
However, this is somewhat confusing when reading the code.
This commit uses poly_getnoise_eta2_4x instead and defines it as an alias for poly_getnoise_eta1_4x in case ETA1=ETA2. I think this the cleaner solution.

@mkannwischer I agree, this is cleaner. Thank you


Main

the docs

Hi @EliVolsch
I have review the pull request and everything is fine.
You can merge now.


Filtered Dropdown

Is it possible to filter the dropdown? For example, the dropdown only includes a certain condition?

I would also really like to have this (assuming we're talking about the dropdown fields on an edit view). An example where this would be essential is assigning a certain task to a project, where each project has a boolean to say whether it's currently active. You would only want to display rows where active == true.

Possible similar to this one:

Is there a way I can make a workaround JS for this? reading node-postgres right now, but it will take time to learn.

I will look into this, may be simple to implement

@hardc0l2e is the field a foreign key to another table? or a string field with options?

@hardc0l2e is the field a foreign key to another table? or a string field with options?

Yes I got that scenario that it is a foreign key, example on company table, it is handy to have a dropdown for a list of employees, or projects, milestones etc, it will a good idea it can work on foreign keys. If with constant of fix list the current option dropdown is good enough.

implemented in #903

really great!!


ClipboardJS.copy is not a function

🐛 Bug Report
Hi. I'm use v2.0.8 and try to reproduce this demo https://github.com/zenorocha/clipboard.js/blob/master/demo/text-programmatic-copy.html as result in console this message: "Uncaught TypeError: ClipboardJS.copy is not a function"
jsfiddle as proof:
https://jsfiddle.net/zxg21kvw/4/
Where my mistake or this is bug?
Browsers Affected
Chrome 95.0.4638.54
Operational System
Windows 10

It looks like this is an unreleased feature... I copied the development js files and it worked, but the function is missing in the packages that are released. Is it possible that this could be released soon?

v2.0.8 was released on 10 March 2021
desired change was committed on 18 May 2021
So yeah, it looks like it hasn't been published yet.

I have the same problem. Has anyone solved it?
const textCopied = ClipboardJS.copy('123');

I have the same problem. Has anyone solved it?
const textCopied = ClipboardJS.copy('123');

I have the problem too, I solved it like this;
const fakerBtn = document.createElement('button')
new ClipboardJS(fakerBtn, {
    text: () =><PHONE_NUMBER>34,
})
fakerBtn.click()

thanks for you reply. it resolve my problem, thanks.

Hey @obetomuniz, could you check if it's related to our PR #749 ?

Hey 👋 It's because the latest version was not released. @helderburato do you have rights to move the latest version forward to NPM? Ty

Hey folks, as suggested, the latest code version on GitHub was not deployed properly. Now, the brand new code lives under @v2.0.9 tagged and released on GitHub and published on NPM  🥂
Thanks, A LOT you all for the report and pairing.
Also, @Aleksandr2015, the proper API to use the new method .copy is declared here. TL;DR, once it is a static method, you don't need to instantiate ClipboardJS.  Let me know if I can help with anything else.
I'll close the issue for now, but feel free to re-open it if you need.


Fake issue to enable upload of an image

Want to upload a graphic of the test automation pyramid.

Uploaded the image.


Include active sponsor

add display of current sponsor, if any, to orphans index view & exported CSV
fix N+1 queries
refactor query in OrphansController#index

This PR breaks a number of unit tests, mostly controller & view. All are low-level tests that are very fragile as they are tied too closely to the implementation detail. Rather than fixing them, I am inclined to either improve them or to drop them entirely. Would prefer to handle that separately in order to deliver the feature to the client ASAP

@b264 Fixed the tests in place.
Going forward, refactoring and/or removing many of these should be a priority to avoid ~doubling the workload for each change or new feature. Right now, I'm tempted to just rm -rf spec/controllers. Back in the day, we drank way too much textbook Kool-Aid and chased after complete coverage instead of thinking about the purpose of these tests

:-D

:shipit:

+1


Add integration tests for API client

As a first step toward realizing #126 we should have a test of integration tests that exercise the clientset against an embedded API server.  An example of this is in https://github.com/kubernetes-incubator/service-catalog/blob/master/test/integration/clientset_test.go though ours can likely be simplified slightly.
@font has been interested in this one
/sig multicluster

Actually it looks like update and delete can just be added to this case:
https://github.com/kubernetes/cluster-registry/blob/master/pkg/clusterregistry/testing/server_test.go

/assign font

Closed by #133


Attention GRU layer implementation issue -- why is complie time so long ?

Hey guys!
Based on this paper, I implemented a attention GRU layer, which is based on the current GRU layer, and this is the gist.  It seems to be able to run in this example,however, the compile time of the test code is extremely long and when I use this layer in a more complex model( say a encoder -decoder model), it seems to take forever to compile.
Any idea how to solve this ? Am I doing something wrong when I implement this layer ？
@fchollet
By the way, the arg hidden_input of the init function  is the hidden output of the RNN encoder, because I don't know how to define a multiple input for the GRU layer , I just code like this, could this be the problem?
THANKS !!!!!!!!!!!!

I have implemented a custom RNN as you recommended in 2240, and the compile time of this layer is to long, could you help me to go through my code, and tell me what is wrong? @matthiasplappert
Thanks a lot

How long does it take?
I trained one multi-dimensional RNN with only two layers, and it takes me almost 900 seconds.  So don't be surprised if it takes you longer with complex RNN model.

have you used the latest version?
it seems in new version of Keras, the compilation speed is far more faster than version 0.x.x
only takes 1~2 minutes to compile a 512 units of bi-GRU for QA task @Tesla K40

@shampool  The experiment code I wrote which is more complex than the test took me 4 hours to get to the epoch stage and I ran it on my laptop, however, when I test it in the tesla k20 server, after waiting for 1 hour, I kill the process. I mean 900 seconds is Ok, but 4 hours is too long.

@ymcui Yes, I used the latest version of keras to implement my code. I use this layer to build a seq2seq model and it really took me a long time.

compile times can become insanely huge when your computational graph is complex
I guess it takes quite some time to approximate all those derivatives
Try setting your environment variable mode=FAST_COMPILE and see what that does

@lemuriandezapada thanks, I will give it a try


Fix add-tag-to-commits and mark-merge-commits-in-list

Test on https://github.com/sindresorhus/refined-github/commits/master/.gitattributes

In case your waiting for me to test it. I tested it and it works.

This completely stopped working when I was writting https://github.com/sindresorhus/refined-github/pull/3342#issuecomment-663003308, but it works fine except there's still error.


bug: plugin is making the intro disappear when opening neovim

Did you check docs and existing issues?

[X] I have read all the todo-comments.nvim docs
[X] I have searched the existing issues of todo-comments.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.9.1
Operating system/version
Ubuntu LTS
Describe the bug
intro disappears right after opening neovim
Steps To Reproduce
1.open neovim with no file
Expected Behavior

the intro message should appears (the one that appears with the :intro command)

Just defer loading todo comments till VimEnter or a similar event.
todo comments, creates hl groups and that causes a redraw, making the intro disappear


[DO NOT MERGE YET] Cherry-pick commits required for swift-3.0-branch Foundation integration

What's in this pull request?
Pulls in PR #4203 "build libdispatch by default in both linux build bot configurations". The changes are required for branching swift-corelibs-foundation for Swift 3.
This is not to be merged until swiftpm #617, swift-corelibs-xctest #170, and libdispatch #165 are ready to merge.

@swift-ci please test linux

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 966e957c8cd78332d2ebd028abf54da842908b3a
Test requested by - @parkera


support multi-doc kubeconfigs - fixes #440

I've fixed the warnings under "Unchanged files with check annotations" in #442. I guess that only works when you open the PR?

Ah, that's because you probably pushed from a fork at the time.
See https://github.com/actions-rs/clippy-check#limitations
You have write access, you can make branches :-)


Refreshing the page still throws a 404 error in the console.

While the page does still load, a 404 error is still thrown in the console, and on some browsers, a banner is displayed at the top of the page saying that the page could not be found.

Yeah it’ll be 404 followed by a 200. That’s how it works, see the readme for details. I haven’t seen the banner you referred to, which browsers do that?

Brave browser does that. Even though the 200 follows, the banner persists. Now, there is a setting to disable it, but I think it's enabled by default.

Okay good to know. I'm going to close this issue as it is working as intended. Ideally GitHub pages would natively support spas, but that is not the case which is why this workaround exists. Some alternatives are to use a static site generator with GitHub pages (e.g. Gatsby), or to host your site somewhere that natively supports spas (e.g. Netlify).


Crash on 1.10 during client load

Getting a crash with v. 2.1.6 on Forge 1.10.2-<IP_ADDRESS>4 during client load screen.
Gist https://gist.github.com/t3f/4f9716daa100468c73ad7132124ec1f2

Seems to only occur with SD 3.2.0 & 3.2.1, the older 3.1.11 works.
StorageDrawers-1.9.4-3.2.1.jar
StorageDrawers-1.9.4-3.2.0.jar

Are you sure you're using 2.1.6?  Your stack trace does not correspond with that version .. looks like it's probably 2.1.5.

Oof, you are right, I was only getting the error with 2.1.5 and 3.2.*.  Sorry about that.


Behavior of AddFill in complex scenarios

Hi @swharden & Team,
i have played a little with the function:
Polygon AddFill(double[] xs1, double[] ys1, double[] xs2, double[] ys2, Color? color = null)
It looks like the function is not intended for complex scenarios. That is, a variable number of values on the X-axis or Y-axis. The following errors occur if xs1 and xs2  is different:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at ScottPlot.Plot.AddFill(Double[] xs1, Double[] ys1, Double[] xs2, Double[] ys2, Nullable`1 color)
at ExchangePlotter.InteractivChart.AddData(ChartInput ci) in d:\Code\ExchangePlotter\InteractivChart.cs:line 78
If the number of xs1 and xs2  is equal but ys1 and ys2 have different amounts, this exception happens:
System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds.
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at ScottPlot.Plot.AddFill(Double[] xs1, Double[] ys1, Double[] xs2, Double[] ys2, Nullable`1 color)
at ExchangePlotter.InteractivChart.AddData(ChartInput ci) in d:\Code\ExchangePlotter\InteractivChart.cs:line 78
This is not urgent. It would be cool if the number of points for X/Y didn't matter. As long as the areas for xs1, xs2 overlap, interpolation would certainly be possible to find "missing" points on one or the other line to span the polygon. Is probably very complex to implement? I'll leave it here in case someone is bored ;-)
Version: ScottPlot 4.1.8-beta
Thanks!

I'm confused as to what you mean, the following requirements are present:

xs1.Length must be equal to ys1.Length or it is not a valid curve.
Similarly, xs2.Length must be equal to ys2.Length or it is not a valid curve.

I don't see anything in the code which would necessitate that the length of xs1 be the same as xs2 or anything like that.

Thank you for your feedback @bclehmann. You are right I was a bit confused . xs1 and ys1 have the same number of elements as xs2 and ys2. So far so clear and sorry for the confusion.
The case that both lines have different number of input points should be considered. That is my main concern here. As you said, if the minimum number of points is given a polygon should be built. In my case it is about lines with about 20K and 2K points.
So this is the relevant exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at ScottPlot.Plot.AddFill(Double[] xs1, Double[] ys1, Double[] xs2, Double[] ys2, Nullable`1 color)
at ExchangePlotter.InteractivChart.AddData(ChartInput ci) in d:\Code\ExchangePlotter\InteractivChart.cs:line 79

I tried this and I had no issues:
Code:
double[] xs = DataGen.Range(0, 10, .1, true);
double[] xs2 = DataGen.Range(0, 20, .1, true);
double[] ys1 = DataGen.Sin(xs);
double[] ys2 = DataGen.Cos(xs2);

plt.AddFill(xs, ys1, xs2, ys2);

Result:

In this case xs1 and ys1 have length 10, while xs2 and ys2 have length 20.

Thank you @bclehmann for the great support. I checked my code again and found an error on my side :no_mouth:. The result now looks similar to yours. Sorry for the confusion. Here are some more constructive suggestions:

Is it possible to cut the area where there is no overlap? In your example after 10 to 20.
Is it possible to add the area to the legend via label?
Is it possible to make the area transparent?

Thanks for your patience!

Addition to point 1)
I just realize that I have it in my own hands to simply cut off the values in the input. This would be the simple solution. The question would be, why does the function try to calculate a polygon when there is no overlap? Especially relevant at the ends. Here is an example at the beginning:

Since there is no overlap to xs1, ys1 it seems to use the start & end point for xs2, ys2 as the basis for the calculation? Kind of puzzles me. I wouldn't plot the range at all, or maybe that makes sense in other scenarios? I can be wrong ;-)

For 1) It plots between curves by creating a closed polygon out of the two curves. In this situation that polygon intersects itself. The only alternative I can think of is to only create the polygon where the x-value overlap (i.e. ignore the second half of xs1 and ys1 in the example I gave). I don't particularly like that alternative because in my mind that's not the behavior I would expect in this situation.
For 2), AddFill returns a PlottablePolygon which has a Label field that you can edit and can show up in the legend.
For 3) I believe you can simply pass in a colour to AddFill with whatever degree of opacity you want (i.e. the alpha channel can be set to 0 for full transparency or 255 for full opacity or anywhere in between).

Thank you @bclehmann for the quick feedback and explanation. Than i think we can close the ticket. I know how i can do it! 👍


De-registration of mapped audit view entities from core param

Description
De-registration of mapped audit view entities from core param, post audit entry within AuditViewHandler.
Overview of Changes
Changes made in AuditViewHandler
Type of Change

You did it @soham-anthem!
Thank you for signing the Anthem Opensource Software CLA.


Write a Rust program to find factorial of a number by recursion

Description
Write a Rust program to find factorial of a number by recursion
Factorial of a number is the product of all the numbers from 1 to that number. For example, factorial of 5 is 5*4*3*2*1 = 120.
Input  : 5
Output : 120

How to contribute

Save the solution in find_factorial_of_a_number_by_recursion.rs file
Add find_factorial_of_a_number_by_recursion.rs file in find-factorial-of-a-number-by-recursion folder

Hey assign this to me


Constant Propagation Improvements

[ ] Propagate multiple inversions of the same signal
[ ] Propagate arithmetic operators

Closing this, as there is extensive support for constant propagation of arithmetic. To take advantage of the "double negation pattern" would require a restructuring of how constant propagation works quite a bit. This might be the goal of a future strength reduction transform and/or a motivating use case for keeping complex expression trees intact.


Fix bugs in regex:replaceAll function with index parameter

Purpose

Fix bugs in regex:replaceAll function with index parameter.

Fixes #39655
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

@SasinduDilshara can you backport the same to 4.x and 3.x


Fix minor error in github action

Use modern version of setup-python action in Ubuntu meson build & test
Modify github action name in pylint

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2507. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.

To contributor, We have used 'Signed-off-by:' notation by default to handle the license issues, that result from contributors. Note that 'Is there a Signed-off-by line?' is important because lawyers tell us we must have to it to cleanly maintain the open-source license issues even though it has nothing to do with the code itself.

@heka1024 Thank you for your Review 👍
on our repo we have commit message length ci
commit 4[10](https://github.com/nnstreamer/nntrainer/actions/runs/8313711981/job/22767984577?pr=2507#step:13:11)a4dd301a0752a8eed4ddb1b04dce42[14](https://github.com/nnstreamer/nntrainer/actions/runs/8313711981/job/22767984577?pr=2507#step:13:15)cdd31
Author: heka1024<EMAIL_ADDRESS>Date:   Sun Mar 17 [15](https://github.com/nnstreamer/nntrainer/actions/runs/8313711981/job/22767984577?pr=2507#step:13:16):59:50 2024 +0900

    Use same script in Ubuntu Meson build & test

    Signed-off-by: heka1024<EMAIL_ADDRESS>
 .github/workflows/ubuntu_clean_meson_build.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
::error The commit has too short commit message.

please write more detail commit message!!

@heka1024 Could you Please Resolve conflicts ?

@DonghakPark Thank you for notice! I just rebased to latest upstream.


add "Azure::Core::" prefix for Base64 functions in auto-generator and re-format code

Pull Request Checklist
Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:
See the detailed list in the contributing guide.

[x] C++ Guidelines
[x] Doxygen docs
[x] Unit tests
[x] No unwanted commits/changes
[x] Descriptive title/description

[x] PR is single purpose
[x] Related issue listed

[x] Comments in source
[x] No typos
[x] Update changelog
[x] Not work-in-progress
[x] External references or docs updated
[x] Self review of PR done
[x] Any breaking changes?

closes https://github.com/Azure/azure-sdk-for-cpp/issues/1299

/azp run cpp - storage

/azp run cpp - storage

Only seeing reformatting here.

Same. I am assuming the PR description is referring only to the generator, since the generated code is identical.

Only seeing reformatting here.

Same. I am assuming the PR description is referring only to the generator, since the generated code is identical.

Only seeing reformatting here.

Same. I am assuming the PR description is referring only to the generator, since the generated code is identical.

yep

Only seeing reformatting here.

Same. I am assuming the PR description is referring only to the generator, since the generated code is identical.

yep


Library data requirements should bypass query filter parsing

Summary
Ensures query filter parsing is only performed on measure data requirements and not library data requirements.
New Behavior
When running library data requirements, the detailed query filter parsing will no longer be performed. Library data requirements does not make use of a measurement period because there is no measure, and so it does not make sense to do detailed query filter parsing since a lot of the logic relies on constructing intervals for the (non-existent) measurement period.
Code Changes

Add check in the conditional ofgetDataRequirements for whether a measurement period is passed in (since it should only be passed in from dataRequirements and not libraryDataRequirements)
calculateLibraryDataRequirements now omits measurementPeriodStart/measurementPeriodEnd if they are passed in as CLI options (we could change this to throw an error if that is more appropriate)

Testing Guidance

Run unit tests
Run library data requirements on the master branch and compare the output to the results on this branch to see the effects of not performing detailed query filter parsing for library data requirements.

See the testing guidance in  https://github.com/projecttacoma/fqm-execution/pull/181 for an example library bundle and CLI command that can used for running library data requirements.
A good way to go about this is to save the output from the master branch to a file, then save the output from this branch to a file, and then use VSCode’s “Select for Compare”/“Compare with Selected” to see the code diff

I want to point out that this code change also turns off queryFilterParsing for regular calculateDataRequirements calls when no measurement period is provided by the user or found in the measure. Is this the expected behavior?

Yes this is expected. Based on this Slack thread there exists at least one measure type that does not require effectivePeriod, but it is unlikely that we will be working with those measures, and if we are, providing the measurement period via the Calculation Options should allow us to still do the query filter parsing. Otherwise, we will bypass the query filter parsing for the measure.


Add support for N-API builds

The N-API Working Group is interested in adding support to prebuild for N-API builds. We have an issue open on our project site where we're discussing possible changes.
Like I did for node-pre-gyp, I'm ready to start work on a pull request for prebuild. But I'd appreciate any comments or suggestions from the prebuild maintainers and users before I start serious work.

@ralphtheninja I've started work on the PR and will post it when it's ready.

There are now two PRs. One for prebuild and another for prebuild-install.

Closing because both PRs have landed. Thanks @jschlight!


mensajes

??????
On Mon, Jan 9, 2023 at 6:20 PM Darío Salazar Leal @.***>
wrote:

Closed #665 https://github.com/ageron/handson-ml/pull/665.
—
Reply to this email directly, view it on GitHub
https://github.com/ageron/handson-ml/pull/665#event-8186002325, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACQPMJVWHKASAKH5ELSSXFTWRR6LFANCNFSM6AAAAAASMLV5XA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


m += cons should accept non-array

should work:
m3 = Model()
x = IntVar(0,3, 3)
m3 += alldifferent(x)
m3.solve()
(now: requires m3 += [alldifferent(x)]

fixed in current release


Add MOTD module

I wanted to have a play around with making a stateful module; MOTD seemed easy enough for a first try.
This code assumes each irc object can only have one MOTD in progress at a time.
==> If you query multiple servers; can they come in interleaved?

I was intending to have all state handled by the host program with IRCe just being a thin translation layer, although now I see that might not be the best idea in terms of ease-of-use. I'll have to think about this.
This reminds me of channel name lists. I have a handler that inteprets RPL_NAMREPLYs but I just return each interpreted line as it comes. I might make that stateful. Again, I'll think about it.
As for multiple servers/MOTDs, you could check the message prefix (ie. sender[1]) and sort each server's MOTD by it.

I'm also not sure if raising errors in a handler is a good idea.

Also, I wonder if it'd be better to keep state in the IRC object itself (like in self._motdstate or something).

I was intending to have all state handled by the host program with IRCe just being a thin translation layer, although now I see that might not be the best idea in terms of ease-of-use.

Much of IRC requires state: many results arrive over multiple lines.

This reminds me of channel name lists. I have a handler that inteprets RPL_NAMREPLYs but I just return each interpreted line as it comes. I might make that stateful.

Sounds good :)

I'm also not sure if raising errors in a handler is a good idea.

What will happen? I assume it would propogate to where :process was called?

Also, I wonder if it'd be better to keep state in the IRC object itself (like in self._motdstate or something).

I thought of that first; but it's not really extensible.... don't want to deal with clashes etc.
One option would be that modules are passed a 'state' object they should use?

I'm also not sure if raising errors in a handler is a good idea.

What will happen? I assume it would propogate to where :process was called?

Yeah. I guess you could pcall irc.process. I'm avoiding raising errors in handlers in favour of reporting them to callbacks (or else just silently ignoring them), especially ones out of control of the program (like MOTD messages coming out of order).

Also, I wonder if it'd be better to keep state in the IRC object itself (like in self._motdstate or something).

I thought of that first; but it's not really extensible.... don't want to deal with clashes etc.

One option would be that modules are passed a 'state' object they should use?

Local state sounds the best out of the options after all; that shall be what I'll use.
Regarding your MOTD module, are you going to try sorting MOTDs by prefix to get around the possible multiple-server-interleaving issue? (I've tried to implement something like this in the NAMES list handler, but I'm not actually sure it's even necessary; it probably overcomplicates it.)

Yeah. I guess the host program could pcall irc.process. I'm avoiding raising errors in handlers in favour of reporting them to callbacks (or else just silently ignoring them), especially ones out of control of the program (like MOTD messages coming out of order).

I figured letting a broken server continue would be useless: raising to the irc:process should ideally result in a closing the connection.

Regarding your MOTD module, are you going to try sorting MOTDs by prefix to get around the possible multiple-server-interleaving issue? (I've tried to implement something like this in the NAMES list handler, but I'm not actually sure it's even necessary; it probably overcomplicates it.)

I don't know if sorting is the correct solution; I was more thinking about indexing by a compound key of irc object + server.

I figured letting a broken server continue would be useless: raising to the irc:process should ideally result in a closing the connection.

Ah, makes sense.

I don't know if sorting is the correct solution; I was more thinking about indexing by a compound key of irc object + server.

I think I should have worded that better; in the NAMES handlers I've experimentally tried indexing like so: state[irc_obj][prefix][channel] = list_of_names (feels a bit unecessary for the NAMES handler, but I'm not sure (also I probably shouldn't be using that many nested tables, compound keys sound good)). That's what I meant when I said "sorting".

I've just updated this PR to use the "state" variable now passed to module functions.


Update get_started.md to fix the version in demo

fix typo of version when try the demo

@wonderflow thanks for your contribution!


⚠ SolarQuery has degraded performance

In 4fabc17, SolarQuery ($SOLARQUERY_URL) experienced degraded performance:

HTTP code: 200
Response time: 8518 ms

Resolved: SolarQuery performance has improved in 9f70a39 after 9 minutes.


DEP: interpolate: remove deprecated interpolate_wrapper

This is a follow-up to gh-9325: remove more deprecated stuff from scipy.interpolate.

oops sorry I missed these.


Support for Inbox UI

Hey, anyone has any insights whether the inbox.google.com will be compatible with gmail.js?

This is not supported and none of the active contributors are working on it.
Also worth noting, based on how you read Google's PR-statements, it sounds like Inbox was a prototype/playground for ideas for new Gmail, and that new Gmail will get more of Inbox's features eventually rather than the  other way around.
And that sounds awfully close to Inbox having a retirement date. As such, putting in effort to support Inbox is not very appealing.
Technically speaking, under the hood, Inbox also shares no similarities with gmail (w.r.t DOM layout, selectors, XHR format, etc) so supporting this would involve a complete from scratch implementation... All while we maintain compatibility with existing gmail.js code.
Especially considering the ongoing, prioritized work to ensure better support for New Gmail, expecting any support for Inbox any time soon is not very realistic.
Unless, ofcourse, someone else does all that work and sends us a PR for this.