Build failed about  RVV

make -j4 HOSTCC=gcc CC=riscv64-unknown-linux-gnu-gcc FC=riscv64-unknown-linux-gnu-gfortran ARCH=riscv64 TARGET=RISCV64_ZVL128B

error:
../kernel/riscv64/zaxpy_rvv.c:46:33: error: incompatible types when assigning to type 'vfloat64m4_t' from type 'int'
   46 | #define VGET_VX2                __riscv_vget_v_f64m4x2_f64m4
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../kernel/riscv64/zaxpy_rvv.c:169:19: note: in expansion of macro 'VGET_VX2'
  169 |             vy1 = VGET_VX2(vyx2, 1);

My gcc version:
luyahan@plct-c7:~/source/OpenBLAS$ riscv64-unknown-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=riscv64-unknown-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/home/luyahan/riscv64/bin/../libexec/gcc/riscv64-unknown-linux-gnu/13.2.0/lto-wrapper
Target: riscv64-unknown-linux-gnu
Configured with: /home/runner/work/riscv-gnu-toolchain/riscv-gnu-toolchain/gcc/configure --target=riscv64-unknown-linux-gnu --prefix=/opt/riscv --with-sysroot=/opt/riscv/sysroot --with-pkgversion= --with-system-zlib --enable-shared --enable-tls --enable-languages=c,c++,fortran --disable-libmudflap --disable-libssp --disable-libquadmath --disable-libsanitizer --disable-nls --disable-bootstrap --src=.././gcc --disable-multilib --with-abi=lp64d --with-arch=rv64gc --with-tune=rocket --with-isa-spec=20191213 'CFLAGS_FOR_TARGET=-O2    -mcmodel=medlow' 'CXXFLAGS_FOR_TARGET=-O2    -mcmodel=medlow'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.0 ()

Unfortunately the situation with the various flavors of RVV standards and compiler support is a bit frustrating - can you try  with the vendor (xuetie) toolchain we use in the CI jobs, which is https://occ-oss-prod.oss-cn-hangzhou.aliyuncs.com/resource/1698113812618/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.8.0-20231018.tar.gz ? (I think a recent clang would also work, but not the official gcc13)


(SP: 1) Add admin invitations list on the admin portal

no explanation. the creator is no longer on the project. closed as not relevant.


"Aggregation" doesn't work for my config

here is part of what I config for my frequency rule, and I am expecting elastalert will consolidate all matched documents and sent them all together in one Email, per minute. But what actually happened is that it will send out the mail occasionally, i have no clue about when it will be triggered. Please help, Thx!
num_events: 0
timeframe:
minutes: 1
aggregation:
schedule: '* * * * * *'
And from log I could see some logs mentioned "Ignoring match for silenced rule *******", which is not what I am expecting also.
Thanks.

Add
realert:
  minutes: 0

OK, trying. And what does 'minutes: 0' mean?

@BrianNiu it means it will not ignore alerts
You can read more here https://elastalert.readthedocs.org/en/latest/ruletypes.html#realert

Thanks, Kiawin. But from what's being said in doc you shared, it also mentions "aggregation: This option allows you to aggregate multiple matches together into one alert. Every time a match is found, ElastAlert will wait for the aggregation period, and send all of the matches that have occurred in that time for a particular rule together."
So you mean, "aggregation" will ignore some matched docs rather than giving all matches in one alert?

@BrianNiu So let's say our run_every is set to minutes: 1 (check to be performed every 1 minute), aggregation is set to minutes: 3 (only consider as an alert if rule matches for consecutive 3 minutes), and realert is set to minutes: 0 (do not ignore any repeating alerts), then we should be getting alerts as per aggregation value (if we assume the rule matches all the time).
However when we set realert to any value other than minutes: 0, then the subsequent alert may be ignored (and hence not triggered) depending on the realert value.


Update healthCheckTimestamp when updating agent health

Current script misses healthCheckTimestamp when updating agent health. This will result in agent turning red on build page (after 10 minutes period).

Solved.


add Google Structured Data Testing Tool as bot

This PR references the issue #127

@houndci single quotes replaced


feat:sealer build support multi-user logic to pull docker images

Describe what this PR does / why we need it
sealer build support multi-user logic to pull docker images
trigger:
if build context contains file named at "imageListWithAuth.yaml",and its format like below, will trigger sealer build to pull docker images, its work process like COPY imageList manifests.
- registry: registry.cn-shanghai.aliyuncs.com
  username: user1
  password: pw
  images:
    - registry.cn-shanghai.aliyuncs.com/xxx/xxx1:v1.1
    - registry.cn-shanghai.aliyuncs.com/xxx/xxx2:v1.1
- registry: registry.cn-shanghai.aliyuncs.com
  username: user2
  password: pw
  images:
    - registry.cn-shanghai.aliyuncs.com/xxx/xxx3:v1.1
    - registry.cn-shanghai.aliyuncs.com/xxx/xxx4:v1.1

filed registry is optional , if not present will use the default "docker.io" as its domain name. if len (images)==0 will skip this section.
below is my build context: this will trigger pull images form imageList and imageListWithAuth
[root@iZbp16ikro46xwgqzij67sZ build]# ll
total 12
-rw-r--r-- 1 root root   7 Feb 28 14:10 imageList
-rw-r--r-- 1 root root 450 Mar  1 10:20 imageListWithAuth.yaml
-rw-r--r-- 1 root root  49 Feb 28 14:06 Kubefile
[root@iZbp16ikro46xwgqzij67sZ build]#
[root@iZbp16ikro46xwgqzij67sZ build]# cat Kubefile
FROM kubernetes:v1.19.8
COPY imageList manifests

Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

Add documents

And support ACR tmp secret


[Improvement] ToIcebergSortOrder.java missing private constructor

What would you like to be improved?
Utility classes should have private constructors.
How should we improve?
Add private constructor.

HI @justinmclean ，Noticed that you have report over one hundred optimizations two days ago. I have a plan to solve all of them during the next two weekends.
Could you assign them to me?

Thanks for wanting to help out. Just pick a couple of issues and try those out first and see how you go. Feel free to add a comment saying you are working on an issue without having the issue assigned to you.


Fail to use python box dimensioner when the camera is flipped for Intel realsense D435.

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ R200 / F200 / SR300 / ZR300 / D400 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC/Raspberry Pi/ NVIDIA Jetson / etc..

SDK Version
{ legacy / 2.. }

Language
{C/C#/labview/nodejs/opencv/pcl/python/unity }

Segment
{Robot/Smartphone/VR/AR/others }

Issue Description
<Describe your issue / question / feature request / etc..>

@dk67604 As https://github.com/IntelRealSense/librealsense/tree/master/wrappers/python/examples/box_dimensioner_multicam#workflow indicated, please make sure that you did "Place the calibration chessboard object into the field of view of all the realsense cameras. Update the chessboard parameters in the script in case a different size is chosen."  Thanks!

@dk67604 Is the issue resolved? Looking forward to your update. Thanks!

@dk67604 Could you please update? Thanks!

Please close this issue. Thanks for the update.

@dk67604 Thanks for the feedback! Will close it now.


Use AssertJ as the assertion framework

As of 2018, Java Hamcrest development has largely stalled. Although it's only lightly used in rdf4j's tests, I believe it's worth tracking a currently maintained framework.
To resolve this, switch all use of org.hamcrest over to the Apache-licenced AssertJ (as of writing, last released in April 2018).
In most cases this is a direct translation:
-assertThat(errorCollector.getFatalErrors(), empty());
+assertThat(errorCollector.getFatalErrors()).isEmpty();

As a side benefit, some assertions are substantially more concise:
-assertThat(stmts, Matchers.<Statement> iterableWithSize(2));
+assertThat(stmts).hasSize(2);

This change will need to be made in all rdf4j repos:

rdf4j
rdf4j-storage
rdf4j-tools
rdf4j-testsuite

CQ: https://dev.eclipse.org/ipzilla/show_bug.cgi?id=16249

CQ has been approved. @josephw are you available to put the update in for the other rdf4j repos as well?

Good stuff, thanks.


List of edited templates

This issue is to keep track of all the templates made by the comms team. Please tick off once the individual issues have been closed.

[ ] Venue requirements template edits (https://github.com/softwaresaved/event-organisation-guide/issues/66)
[ ] Risk Management template edits (https://github.com/softwaresaved/event-organisation-guide/issues/67)
[ ] Event timeline template edits (https://github.com/softwaresaved/event-organisation-guide/issues/68)
[ ] Event Roles template edits (https://github.com/softwaresaved/event-organisation-guide/issues/69)
[ ] Event Duties Roster template edits (https://github.com/softwaresaved/event-organisation-guide/issues/70)
[ ] Budget template edits (https://github.com/softwaresaved/event-organisation-guide/issues/71)

All templates have been updated inline with the comms-edits2 work and are ready for final review - @selina-aragon and @JacalynLaird please make any update in place to these documents - there is no need to take a copy. Thanks.
https://drive.google.com/drive/folders/1DzSxtaGVkuFHGscBgR-1LyH1re3dm1x2

I will close the other related tickets above and this one once the final review is done - I have made any suggested changes from that and have uploaded the new versions to Zenodo.

All templates have been updated inline with the comms-edits2 work and are ready for final review - @selina-aragon and @JacalynLaird please make any update in place to these documents - there is no need to take a copy. Thanks.
https://drive.google.com/drive/folders/1DzSxtaGVkuFHGscBgR-1LyH1re3dm1x2

There's an outstanding comment on the risk management spreadsheet that I can't change

It was referencing a different cell using a vlookup - I have updated the cell referenced so factots --> factors

All changes made (e.g. environment -> external factors in in the venue requirements) new files are now uploaded at these DOI permalinks:
Event Roles - https://doi.org/10.5281/zenodo.3967426
Event Duties Roster - https://doi.org/10.5281/zenodo.3967444
Venue Requirements - https://doi.org/10.5281/zenodo.4064078
Event Timeline - https://doi.org/10.5281/zenodo.4066930
Budget - https://doi.org/10.5281/zenodo.4071895
Risk Management - https://doi.org/10.5281/zenodo.4088023


Platform mqtt does not generate unique IDs

Have you seen these issues and who to clear them?
Log Details (ERROR)
Logger: homeassistant.components.button
Source: helpers/entity_platform.py:744
integration: Button ([documentation](https://www.home-assistant.io/integrations/button), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+button%22))
First occurred: 11:58:27 (18 occurrences)
Last logged: 11:58:27

Platform mqtt does not generate unique IDs. ID ener314rt-4324-IDENTIFY already exists - ignoring button.library_radiator_identify
Platform mqtt does not generate unique IDs. ID ener314rt-3463-IDENTIFY already exists - ignoring button.downstairs_bathroom_radiator_identify
Platform mqtt does not generate unique IDs. ID ener314rt-5993-IDENTIFY already exists - ignoring button.guest_bedroom_radiator_identify
Platform mqtt does not generate unique IDs. ID ener314rt-3233-IDENTIFY already exists - ignoring button.office_radiator_identify
Platform mqtt does not generate unique IDs. ID ener314rt-5318-IDENTIFY already exists - ignoring button.bedroom_radiator_identify

I've not seen this issue before; it looks like it is trying to add the discovery buttons for the radiators but they are already defined in the HA registry.  Try deleting all identify buttons associated with the eTRVs in both HA and the MQTT discovery topics. Then let MQTT discovery add them again.


Typogr auto-emdashes closing comment tags

Just noticed this on a client project. I’ve got typogr running on blocks of HTML. The double dashes in a closing comment tag (-->) are getting turned into an em dash.

Shoud be fixed by #32


Feature/3144 drawer transition

Fixes #82

Changes proposed in this Pull Request:

Fixes drawer jankiness when closing drawer.

This bug was happening because the drawer width was being recalculated on variant change.
In the drawer-layout.component.ts file...
When the variant is updated to temporary, the width of the drawer is quickly recalculated to it's full, non-collapsed size.  This is because isCollapsed() was returning false after the variant was updated to temporary.
I've added in an edge-case that listens for this change & if the drawer is in a collapsed state, avoids the recalculated width until the drawer is fully dismissed from the screen.

Screenshots:

To Test:

Checkout the showcase project and adjust the size of the screen width until it transitions from a persistent to temporary variant.  Try this for when the drawer is opened & closed.

This also should be checked for the rail variant.

Rail -> Temporary transition can be viewed here: https://github.com/brightlayer-ui/angular-showcase-demo/tree/feature/rail-demo

I was able to reproduce this & am looking into it now.  Good catch @jeffvg !


webpack5 > webpack.IgnorePlugin  failure

Bug report

What is the current behavior?
In the process of learning Webpack 5

><EMAIL_ADDRESS>build
> webpack

asset main.js 628 KiB [emitted] (name: main) 1 related asset
runtime modules 1020 bytes 4 modules
modules by path ./node_modules/moment/dist/locale/*.js 407 KiB 135 modules
./src/index.js 300 bytes [built] [code generated]
./node_modules/moment/dist/moment.js 150 KiB [built] [code generated]
./node_modules/moment/dist/locale/ sync ^\.\/.*$ 3.21 KiB [optional] [built] [code generated]
webpack 5.38.1 compiled successfully in 1237 ms

Expectations for main.js <=170kb
If the current behavior is a bug, please provide the steps to reproduce.
// src/index.js

import moment from 'moment'
console.log(moment().format('MMMM Do YYYY, h:mm:ss a'));

// webpack.config.js

const path = require('path')
const webpack = require('webpack');

module.exports = {
  mode:'none',
  devtool:'source-map',
  context:process.cwd(),
  entry:'./src/index.js',
  output:{
    path: path.resolve(__dirname, 'dist'),
    filename: '[name].js',
  },
  resolve: {
    modules:['node_modules'],
    mainFields:['jsnext:main','main']
  },
  plugins:[
    new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
  ]
}

What is the expected behavior?
ignore
moment>dist>locale

Other relevant information:
webpack version:  ^5.38.1
Node.js version: v12.16.3
Operating System:  mac 10.15.7
Additional tools:

Please use:
new webpack.IgnorePlugin({
  resourceRegExp: /^\.\/locale$/,
  contextRegExp: /moment/,
}),

From docs:
// Supported in webpack 4 and earlier, unsupported in webpack 5:
new webpack.IgnorePlugin(resourceRegExp, [contextRegExp]);

We should throw an validation error

@alexander-akait I found that it had validation code
	constructor(options) {
		validate(schema, options, {
			name: "Ignore Plugin",
			baseDataPath: "options"
		});
		this.options = options;

		/** @private @type {Function} */
		this.checkIgnore = this.checkIgnore.bind(this);
	}

{
  "title": "IgnorePluginOptions",
  "anyOf": [
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "contextRegExp": {
          "description": "A RegExp to test the context (directory) against.",
          "instanceof": "RegExp",
          "tsType": "RegExp"
        },
        "resourceRegExp": {
          "description": "A RegExp to test the request against.",
          "instanceof": "RegExp",
          "tsType": "RegExp"
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "checkResource": {
          "description": "A filter function for resource and context.",
          "instanceof": "Function",
          "tsType": "((resource: string, context: string) => boolean)"
        }
      }
    }
  ]
}

And he really doesn't throw errors, which I think are validate errors

Yes, feel free to send a PR with fix, just remove it from schema

Yes, feel free to send a PR with fix, just remove it from schema

Sorry, there are some problems mentioned above, should be increased
"required": [ "resourceRegExp"]
"required": [ "checkResource" ]

I will send a PR later

I'm a little confused. Can you guys help me understand why this IgnorePlugin config (for co-located tests) doesn't work with Webpack 5 enabled (but does work with Webpack 4):
const webpack = require('webpack');
module.exports = {
  future: {
    // very sadly, must revert to Webpack 4 in order for IgnorePlugin (below) to successfully ignore co-located tests
    webpack5: false,
  },
  webpack: (config) => {
    config.plugins.push(
      new webpack.IgnorePlugin({
        resourceRegExp: /.test.(ts|tsx)$/,
      })
    );
    return config;
  },
};

It seems like it would be fine, vis-a-vis the relevant docs, but it doesn't work. Am I gathering from this thread that both resourceRegExp and a checkResource filter are required? That would be surprising. Can you help understand?

@jcamden from this configuration, it works in Webpack5. Can you give an example of an error

@jcamden
/\.test\.(ts|tsx)$/

you can try again

/\.test\.(ts|tsx)$/

you can try this, if not you can provide an error example

Thanks @myNameIsDu . I was intentionally not escaping the periods, but I should have added a glob, and you're right that my regex probably should include escaped periods to be more specific: (i.e. /.*\.test(\.).*(ts|tsx)$/ ) Here's what I'm running:
const webpack = require('webpack');

module.exports = {
  future: {
    webpack5: true,
  },
  webpack: (config) => {
    config.plugins.push(
      new webpack.IgnorePlugin({
        resourceRegExp: /.*\.test(\.).*(ts|tsx)$/,
      })
    );
    return config;
  },
};

Seems to work with Webpack 4, but build fails with Webpack 5 enabled:
info  - Creating an optimized production build
Failed to compile.

HookWebpackError: Cannot read property 'slice' of undefined

> Build error occurred
Error: > Build failed because of webpack errors
    at /home/.../next/dist/build/index.js:17:924
    at processTicksAndRejections (node:internal/process/task_queues:94:5)
    at runNextTicks (node:internal/process/task_queues:63:3)
    at processImmediate (node:internal/timers:437:9)
    at async Span.traceAsyncFn (/home/...trace.js:6:584)

I assume this means that the modified Webpack config didn't add up to a proper array in some regard, but I'm not sure.

Ah, by the way, it looks like pageExtensions is the best solution to the problem of co-location: https://github.com/vercel/next.js/discussions/23959#discussioncomment-894210

@alexander-akait  Is it enough if we change the anyOf to oneOf in the ignorePlugin.json to allow one of the two objects and throw error ?


Update README.md

I corrected the source for Vinish Kapoor's blog. Changed from foxinfotech.in to vinish.dev, as foxinfotech.in is no more exists.

Corrected the website source.


Format the output of the 'spo cdn policy list' command as table

Format the output of the 'spo cdn policy list' command as table consistently with the spo app list command.

Fixed with #101


Create exhaustive components page to test new themes with

/cc @tonyruscoe

I think this will just be the components page, when the theming architecture is built

UI components test page #359
the file name is : test-all.amp.html


Generating a library with no explicit prefix uses a default lib prefix

It should not default to any prefix.
This is related to https://github.com/angular/angular-cli/pull/10405, and is blocking Angular CLI e2e tests.

Also related to https://github.com/angular/devkit/pull/720


disableDnD config doesn't work

Context (REQUIRED):

Browser : chrome
Browserversion : 116.0.5845.190
Qalendar Version 3.5.0

Describe the bug (REQUIRED)
I put a "disableDnD : ['day', 'week', 'month']" in config but it doesn't work. Events are still dragable.

data() {
        return {
            events: [
                {
                  title: "Advanced algebra",
                  with: "Chandler Bing",
                  time: { start: "2023-09-28 12:05", end: "2023-09-28 13:35" },
                  colorScheme: "meetings",
                  isEditable: true,
                  id: "753944708f0f",
                  description: "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Asperiores assumenda corporis doloremque et expedita molestias necessitatibus quam quas temporibus veritatis. Deserunt excepturi illum nobis perferendis praesentium repudiandae saepe sapiente voluptatem!"
                },
                {
                  title: "Ralph on holiday",
                  with: "Rachel Greene",
                  time: { start: "2023-09-12", end: "2023-09-12" },
                  colorScheme: "sports",
                  isEditable: true,
                  id: "5602b6f589fc"
                }
            ],
            config: {
                week: {
                    // Takes the value 'sunday' or 'monday'
                    // However, if startsOn is set to 'sunday' and nDays to 5, the week displayed will be Monday - Friday
                    startsOn: 'sunday',
                    // Takes the values 5 or 7.
                    nDays: 7,
                    // Scroll to a certain hour on mounting a week. Takes any value from 0 to 23.
                    // This option is not compatible with the 'dayBoundaries'-option, and will simply be ignored if custom day boundaries are set.
                    scrollToHour: 5,
                },
                disableDnD : ['day', 'week', 'month'],
                disableModes : ['week'],
                locale: 'en-US',
                defaultMode: 'month'
            }
        }
    }

thank you for your reply. This is the config

This is more helpful, thanks for providing the context :)
You can/need to configure this per event. There is currently no central config for this:
https://tomosterlund.github.io/qalendar/guide.html#calendar-event-properties
So you would need:
data() {
        return {
            events: [
                {
                  title: "Advanced algebra",
                  with: "Chandler Bing",
                  time: { start: "2023-09-28 12:05", end: "2023-09-28 13:35" },
                  colorScheme: "meetings",
                  isEditable: true,
                  disableDnD : ['day', 'week', 'month'],
                  id: "753944708f0f",
                  description: "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Asperiores assumenda corporis doloremque et expedita molestias necessitatibus quam quas temporibus veritatis. Deserunt excepturi illum nobis perferendis praesentium repudiandae saepe sapiente voluptatem!"
                },
                {
                  title: "Ralph on holiday",
                  with: "Rachel Greene",
                  time: { start: "2023-09-12", end: "2023-09-12" },
                  colorScheme: "sports",
                  isEditable: true,
                  id: "5602b6f589fc",
                disableDnD : ['day', 'week', 'month'],
                }
            ],
            config: {
                week: {
                    // Takes the value 'sunday' or 'monday'
                    // However, if startsOn is set to 'sunday' and nDays to 5, the week displayed will be Monday - Friday
                    startsOn: 'sunday',
                    // Takes the values 5 or 7.
                    nDays: 7,
                    // Scroll to a certain hour on mounting a week. Takes any value from 0 to 23.
                    // This option is not compatible with the 'dayBoundaries'-option, and will simply be ignored if custom day boundaries are set.
                    scrollToHour: 5,
                },
                disableModes : ['week'],
                locale: 'en-US',
                defaultMode: 'month'
            }
        }
    }


Create Currency Not Working

I have the following script which establishes a node and then compiles eosio.token.  I attempt to create a currency.  However, nothing is there.
Please note this is all on my own private node and I am using 1.1.6.
#setup node
docker run --rm --name eosio -d -p 8888:8888 -p 9876:9876 -v /tmp/work:/work -v /tmp/eosio/data:/mnt/dev/data -v /tmp/eosio/config:/mnt/dev/config eosio/eos-dev:v1.1.6  /bin/bash -c "nodeos -e -p eosio --plugin eosio::wallet_api_plugin --plugin eosio::wallet_plugin --plugin eosio::producer_plugin --plugin eosio::history_plugin --plugin eosio::chain_api_plugin --plugin eosio::history_api_plugin --plugin eosio::http_plugin -d /mnt/dev/data --config-dir /mnt/dev/config --http-server-address=<IP_ADDRESS>:8888 --access-control-allow-origin=* --contracts-console --http-validate-host=false"
alias cleos='docker exec -it eosio /opt/eosio/bin/cleos -u http://<IP_ADDRESS>:8888 --wallet-url http://<IP_ADDRESS>:8888'
#copy code to contracts
docker exec eosio bash -c 'cd /eos/contracts/eosio.token && eosiocpp -o eosio.token.wast eosio.token.cpp'
I am using 1.1.6.  I had to go to /eos/contracts/eosiolib and change core_symbol.hpp.in to core_symbol.hpp
docker exec eosio bash -c 'cd /eos/contracts && eosiocpp -g eosio.token/eosio.token.abi eosio.token/eosio.token.cpp'
#create and open wallets - keys should be in them
#if you have a prior wallet copy it to /tmp/eosio/data as sudo
cleos wallet open -n bob
#Unlock nesha wallet - this will be the private key for your wallet
cleos wallet unlock -n bob
#create account with wallet keys
cleos create account eosio bob
#set eosio.token contract to account.
cleos set contract bob /eos/contracts/eosio.token -p bob@active
create tokens.
cleos push action bob create '{"issuer":"bob","maximum_supply":"1000000.00 JCK"}' -p bob
#issue tokens
cleos  push action bob issue '{"to":"bob","quantity":"1000.00 JCK", "memo":"airdrop"}' -p bob
#up to this point I have had no errors
#check balance
cleos get table eosio.token bob accounts
#k this does not work.  Says account is not on block chain....
Should I have a table at this point?

This is not a create currency issue. It's a known eosiocpp bug.
See this issue: #5419
See this PR fixing this problem: #5401
They should merge the PR ASAP, or more people are gonna complain about it. Meanwhile, you may add a new line to the 115th line at tools/eosiocpp.in :
-extra-arg=-I@CMAKE_BINARY_DIR@/contracts \

And then run install again. Your eosiocpp should now work.

Thanks for quick reply.  I will give this a try.

Use cleos get table bob bob accounts.  The get table help text is misleading.  The first argument is the account on which the contract was deployed, not the contract name.  The text is being corrected in #5448.

Figured it out.  Please close.


Async entities

Adds AsyncApplication: An app that starts up asynchronously. Calling start will call start on its children, but it does not expect the children to have started by the time the start() effector has returned. Instead, it infers from the children's state whether they are up or not.
An example use-case is where the app kicks off some async children. These children call out to whichever system they integrate with (e.g. provisioning resources), and then several hours later get callbacks to say whether it started/succeeded. Instead of leaving the start() method running for several hours, we let the start method return and then we transition automatically to the right state. I didn't want to leave the start() method executing for a long time, because then on Brooklyn-restart the effector would have been interrupted and it would not handled it well!

The computation of service-up and service-state (i.e. the enrichers) is very different for the async app. As the javadoc says:
Calculates the "service.state" and "service.isUp", based on the state of the children. It
also transitions from expected=starting to expected=running once all of the children have
finished their starting.

This does not just rely on the "service.problems" and "service.notUp.indicators"
because those make different assumptions about the expected state. Instead it seems much
easier to implement the specific logic for async startup here.

Before resorting to this approach, I tried to reuse/adapt the standard enrichers that are in AbstractApplication and ServiceStateLogic. However, I would either have made that complicated code much more complicated, or reimplemented a huge chunk as an alternative enricher. The big difference is that we want to automatically transition to expected=running.
Overall, it is therefore simpler to implement the specific enricher for AsyncApplication.
I also did not use the same pattern for service.notUp.indicators and service.problems. Instead of using these to infer whether we are up/healthy, it sets service.isUp and service.state directly. It also sets the indicators to explain why we are in the given state. This is a far simpler pattern when we can compute our state directly, and where we don't expect users to customize it with completely different ways of telling if we're up. In the past, the race conditions and complexity of entities using separate enrichers for indicators caused us a lot of pain in non-deterministic tests etc (which we ironed out over a long period of time).

The other commit (AsyncStartable marker interface) is important for if we restart Brooklyn or if we failover in HA. On rebind, a normal entity that is "starting" will be set as "on-fire" because it's effector will not automatically resume. That behaviour is not applicable for AsyncStartable.

Thanks @drigodwin - comments addressed (adding more explanation to AsyncApplicationImpl.start, and fixing the config key descriptions). Squashed and pushed here as a single commit.


[Feature] Word restriction

Implementing a block list with words related to other edTech startups/firms. If a message sender sends any word among this bot will raise and warning until the message is updated

With the latest push this problem is solved how did I do it

Declared a trigger in index js
Created a dictionary of prohibited words of edTech startup
Convert the input message into lowercase
Now check if the word is present in this converted message from the dictionary.
if yes warn in public and dm
if not don't do anything


Reorder decision tree questions: don't start in the middle

In the current decision tree questions we start 'in the middle' regarding whether and what kind of additional users the software will have.
Feedback from the walk-in sessions indicates that this leads to confusion about the used definitions of (external) users.
Instead, we're probably better off first asking if any users other than the developer themselves are expected, and only further specifying from there, to better guide the user through our different kinds of user definitions.

New, linear order:

Reusable
Multi-user
Community

Fixed in https://github.com/SS-NES/docassemble-SMPDecisionTree/commit/3007cbc4a4b3de46584a6885d2947f550369641a


Issue #13 - returns info about pages

Signed-off-by: robertwe<EMAIL_ADDRESS>

I created a followup task: https://github.com/Myra-Security-GmbH/myrasec-go/issues/8


feat(tabs): add swipe events #2209

Addresses #2209 by adding swipe events to the tab content area.

@jelbourn - I'm getting a lint error saying:
ERROR: /Users/austin/dev/material2/src/lib/tabs/tab-body.ts[30, 73]: 'HammerInput' is declared but never used.

which is false because its being used in the onSwipe event here:
@Output() onSwipe: EventEmitter<HammerInput> = new EventEmitter<HammerInput>();

@jelbourn - ready for review.

@jelbourn - added unit tests and comments, ready for review again.

@jelbourn I just searched "enum" in repo and found this (PascalCased enum members) and this  (UPPERCASED enum members)
... and the enum members here (from HammerDirection) are going to be lowercased. I'm not sure what's the standard for enums in the repo, but I think the case of enum members should be consistent, shouldn't it?
Note that according this style-guide the recommended approach for enum members is to use PascalCase.

@jelbourn - rdy to go.

Looks good to me as well, thanks for adding this!

@amcdnl Can you fix the linter error? :D

Also needs rebase now

@kara - rebased and fixed whitespace error. The other unused error @jelbourn responded above to that.

@amcdnl lint errors:
ERROR: /home/travis/build/angular/material2/src/lib/tabs/tab-body.ts[30, 1]: All imports are unused.
ERROR: /home/travis/build/angular/material2/src/lib/tabs/tab-group.spec.ts[233, 1]: trailing whitespace

The  All imports are unused. is not valid, we discussed it above. Fixed the whitespace.

@amcdnl false positive for lint need a suppression (search for "tslint:disable" in the codebase)

@jelbourn updated.

Looks like this just needs rebase again (sorry this happens a lot)

@jelbourn - Merged :)

@amcdnl bumping this to milestone 5.1; you can rebase the PR and add back "merge ready" once 5.0 is out

Those of us that are waiting for this really wish you would just merge it when it gets the "merge ready" stamp next time, instead of waiting for it to need rebase again... Please?

Rebased and ready :)

@amcdnl seems to be some lint issues

@jkruse see https://github.com/angular/material2/blob/master/CODE_REVIEWS.md#how-prs-are-merged
It was never merged because our internal presubmit revealed that it broke a large number of apps and needed other fixes to land first.

Fixed merge issues.

@amcdnl needs rebase, re-apply merge ready when done

@mmalerba done.

@amcdnl have you resolved the HammerJS issues yet? should I mark this as merge ready?

We do still need to figure out how to make this not require hammer all the time

I reviewed @crisbeto PR ( https://github.com/angular/material2/pull/2280 ) and from the looks of it, it should cover the cases I'm using here. @jelbourn - Any specifics you can share on the presubmit failure such as what event/etc failed?

Running a tentative presubmit to see how it goes...

@jelbourn - what were the results?

I did a smaller sample presubmit and it was totally green, so maybe the initial failure was a flake. If you rebase again I can run a full presubmit :)

@jelbourn - done.

@amcdnl should this be target: minor or target: major?

@amcdnl the g3 presubmit looks good, but travis is all red

Any activity on this?

Looks like it's waiting on @amcdnl to resolve CI failures

@jelbourn - The error is odd, any ideas what this is?
error TS5055: Cannot write file '/home/travis/build/angular/material2/dist/packages/material/core/animation/animation.d.ts' because it would overwrite input file.

Maybe a flake? Try rebasing and re-pushing?

I was just wondering how it is going with that weird error? Did a little search and found this. Hope it helps. https://github.com/Microsoft/TypeScript/issues/14538#issuecomment-302487769

Hi @amcdnl do you think this PR will make the next minor release?

@CharlBest  - That would be a @jelbourn call.

Looks like there are still failures on CI

@amcdnl Do you think the CI failures are difficult to fix?

Any progress on this @amcdnl ?

@amcdnl do you think this will make the v7 release?

@jelbourn Do you think this PR will be considered or is it out of scope at the moment?

Austin has been taking some time off, we'll revisit when he gets back

@jelbourn Thank you for the reply. Good luck with everything you're working on and great job.

@jelbourn It doesn't look like @amcdnl will be working on this or am I wrong? Can I help with this PR? Just think this will give the tabs a nice native feeling.

@CharlBest If you would like to take over on this pull request, then I'd be happy to work with you on reviewing and getting it merged in

Hi @andrewseguin
Yes sure. I will do it although I'm not exactly sure what I'm suppose to do. :)

@andrewseguin @CharlBest did you guys took over this pull request? Or is it still stalled?
I'm highly interested in this feature

We decided recently that we want to remove HammerJS as a dependency, so we probably won't add this directly to the library any more, and instead document instructions for how to accomplish it with the gesture library of your choice.

Closing this since we've decided to remove Hammer as a dependency and push gesture recognition to the application layer


what is precision?

when i train i get high mAP but low precision, so what is precision and how much does it really matter when using the model?

I have encountered the same problem as you. Have you solved it？

Because the score threshold is small. For higher mAP, you should set score_threshold to a small number like 0.001. But for real practice, choose bigger number like 0.3 is better. For more information about mAP, I think google it is better.


Proposal to use zstd instead of gzip

Before I spent time cleaning up our fork and creating a PR for this, I wanted to check if this is something you would actually be interested in taking back at all.
Basically, I just wanted to use zstd compression instead (or in parallel?) with the current gzip compression. The primary reason is a much lower cache size and overall binary size.
.rw-rw-r--@ 1,422,606 jake 29 May  8:56 embedded-cache.bin.gz
.rw-rw-r--@   967,297 jake 20 Jun  9:22 embedded-cache.bin.zstd

.rwxrwxr-x@  8,034,936 jake 28 May 11:57 askalono
.rwxrwxr-x@  7,130,792 jake 20 Jun  9:22 askalono

There is also a slight (~20ms on my machine) improvement on decompression times, but it's probably not going to be noticeable in practice.

Ah! I had almost this exact thought the other day. That would be super cool -- a substantial size reduction and a speedup is a win in my book. Would love to see a PR. :)

Cool, good to hear, will hopefully have something next week. Do you want it to support both, or just do a straight replacement?

Replacement is totally fine; no need for both when the format itself is specific to this tool.

Awesome, that makes it a lot easier. ☺

Closing based on your PR (thanks again!)


engine: supply the metric of the compression ratio on write.

Description
Supply one extra metric to obeserve the compression ratio change of LogBatch when writing.
With this pr, the compression ratio can be reviewed as following shows:

Meanwhile, the format of dependencies specified in Cargo.toml is cleared up.

/test

@glorv Can u help me to merge this pr into master branch ? thx.


Update to go 1.16

Now that go 1.16 is available, let's upgrade the buildpack to use it

(This is me testing a script to do this for all the repos, by the way.)


feat: added new basic tools

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

1.0.0
GitHub release

Your semantic-release bot :package::rocket:


fix: auto height limits container select

Description
Issue
When changing the limits inside a container of any child widget, the child widget loses focus and selects the container widget.
Solution
When you create a drag even from a child node but end the drag on one of it's parent it becomes a click event for that parent and useClickToSelectWidget hook then selects the parent widget. So added a check in that hook whether we should ignore the click if we are changing the auto height with limits.
Fixes #18544
Media
-- Before
https://user-images.githubusercontent.com/17961105/204483538-ee708fed-3c58-4a0a-8dd9-a8182e6b1113.mov
-- After
https://user-images.githubusercontent.com/17961105/204483816-28018119-8517-4e3d-9ab1-ac53cd8ba402.mov
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Manual
Jest

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/ok-to-test sha=b3e0f47

/ok-to-test sha=146ffa7

Tested on Dp, works fine @ankurrsinghal


Duplicate and unexpected interim results reported

Describe the bug
Every interim result is sent to the callback function twice. In addition, an unexpected "Listening to results for job: " message is also sent to the callback.
Steps to reproduce
def my_callback(job_id, result):
    print(f"interim result for {job_id}: {result}")

options = {"backend_name": "ibmq_qasm_simulator"}
inputs = {"iterations": 3}
job = service.run("hello-world", inputs=inputs, options=options, callback=my_callback)
job.result()

has the output of
interim result for c8gjlnccg1ttgk6hvl5g: Listening to results for job: c8gjlnccg1ttgk6hvl5g

interim result for c8gjlnccg1ttgk6hvl5g: {'iteration': 0, 'counts': {'00100': 218, '00000': 806}}
interim result for c8gjlnccg1ttgk6hvl5g: {'iteration': 0, 'counts': {'00100': 218, '00000': 806}}
interim result for c8gjlnccg1ttgk6hvl5g: {'iteration': 1, 'counts': {'10101': 11, '10001': 218, '11000': 258, '11101': 9, '11100': 11, '10000': 234, '10100': 13, '11001': 270}}
interim result for c8gjlnccg1ttgk6hvl5g: {'iteration': 1, 'counts': {'10101': 11, '10001': 218, '11000': 258, '11101': 9, '11100': 11, '10000': 234, '10100': 13, '11001': 270}}
interim result for c8gjlnccg1ttgk6hvl5g: {'iteration': 2, 'counts': {'01001': 25, '00011': 450, '01011': 30, '00001': 519}}
interim result for c8gjlnccg1ttgk6hvl5g: {'iteration': 2, 'counts': {'01001': 25, '00011': 450, '01011': 30, '00001': 519}}
interim result for c8gjlnccg1ttgk6hvl5g: All done!

Expected behavior
Each interim result is only surfaced once. And the line Listening to results for job should not be there
Suggested solutions
Additional Information
This does not happen when using qiskit-ibmq-provider

qiskit-ibm-runtime version: 0.1.0
Python version: 3.8
Operating system:

"Listening to results for job" is coming from API. Will open an issue with runtime API team.


Add container attach skeleton

This adds the basic scaffolding for container attach as well as fixing
some test cases.
Refers to #287

This is the first iteration, PTAL @haircommander @rphillips

lgtm, after Peter's comment.

Ready for a new review round, PTAL @haircommander @rphillips


Threlte camera seems to break on viewport resize

The models stop being visible if you resize the browser window, unsure why.

This was resolved as a part of #92 . There is flickering while resizing but it no longer permanently breaks the camera
https://github.com/KittyCAD/text-to-cad-ui/assets/23481541/ae9dc671-b022-432c-9cb6-d2ca5bad9f73


Use SVG badges on readme, instead of PNG

The .png badges look pretty terrible on high resolution monitors:

How about using .svg instead:

Thanks @orien ! that looks much better!


[sdk] Add json-rpc VerifyingClient

Note: this diff implements the bare minimum to get a single non-verifying API call working (get_account). Would like to get feedback on whether this looks like the right approach.

VerifyingClient wraps a base non-verifying json-rpc Client and converts normal non-verifying json-rpc calls, like get_account(address), into a set of verifying calls [get_account_with_proof(diem_root), get_account_with_proof(address)], issues the requests to the remote, untrusted json-rpc server, then verifies the proofs in the response, and finally presents the response as a normal AccountView.

I tested this implementation against testnet, and it seems to correctly sync and make a verifying get_account call. It seems like the sdk testing framework is still a bit of a moving target, so I've left that out for now.

For this first attempt, we just add an InMemoryStorage for storing the TrustedState. We already have a series of "Storage" traits/impls in secure/storage, which might be handy to reuse.

We could probably use a macro or something to make implementing the handlers easier.

See also this assorted list of TODO's:

// TODO(philiphayes): figure out retry strategy
// TODO(philiphayes): real on-disk waypoint persistence
// TODO(philiphayes): fill out rest of the methods
// TODO(philiphayes): use real error types
// TODO(philiphayes): non-verifying vs verifying client equivalence testing
// TODO(philiphayes): all clients should validate chain id (allow users to trust-on-first-use or pre-configure)
// TODO(philiphayes): we could abstract the async client so VerifyingClient takes a dyn Trait?

rebased

/land


Support for multiple auth methods for single consumer

Hi Guys,
While playing around i reached the following:

Single API
Single consumer
Basic auth credentials for this consumer (more than one set)
Keyauth - more than one set
Keyauth was enabled first

This leads to basic auth being unusable. E.g. when authing with user/pass combos it says i need a keyauth also. Is this intended effect?
Is it possible to configure stuff like this. E.g. auth either with basic or key.

To better understand your question, would you like to chain multiple authentication systems together?

Chaining is currently what happens. I want to be able to use any of the available.
I.e. use user/pass (aka basic) for one system (e.g manual tester/qa) OR keyauth (aka hash/header) with other system (production)

Do you think it's reasonable to have two APIs on Kong? One production and one development, with different plugin configurations?

Reasonable yes, unfortunately not really feasible. Main driver behind this setup is we are migrating to an API style auth (e.g. header, with some magic value (even if statically configured)). We were wondering if we could use kong as both LB frontend and cheap auth implementation.

For the Load Balancer part, this is referenced to #157.
When I mentioned "two APIs on Kong", doesn't necessarily mean two different APIs on your side, but two different API objects in Kong that point to one API on your side. Like:
curl -d "name=test-production&public_dns=test-production.com&target_url=http://my.api/" ...
curl -d "name=test-staging&public_dns=test-staging.com&target_url=http://my.api/" ...

Where both APIs point to the same target_url (or path, if you are using the path resolver), but on Kong's side you can configure the authentication plugins independently for each of them.

I think it would be useful to enable optional authentication using any one of the available methods, for a single API.  I say this would be useful because I have existing code authenticating using basic auth but would like to deploy new code using key auth and gradually migrate to that over time.  In the meantime, having to choose one or the other is a little inflexible.

Yes indeed it would be usefull for exactly this migration scenario

+1

I am closing this in favor of #590 which I slightly updated to also reflect the concerns described here.


Document how to expose buildkit behind Kong

Document how to expose buildkit behind Kong using the right annotations

@rberrelleza do you think this is the right place to document this? or would be better a community post?

@rberrelleza do you think this is the right place to document this? or would be better a community post?

I don't think this is the right place for this (or for the bring your own ingress). I think we should create a separate section under self-hosted/administration/configuration/advanced/XXX for the things that a) we have received common requests and b) we plan on supporting officially.
If this is a single customer ask, i'd go with the community for now. if we get enough requests, we can promote it to the official documentation.

@rberrelleza do you think this is the right place to document this? or would be better a community post?

I don't think this is the right place for this (or for "the bring your own ingress" section either). This section is meant to be a reference for the values that we accept in the configuration, not to explain all the possible scenarios, exceptions, and architecture. I think that we should create a separate section under self-hosted/administration/configuration/advanced/XXX for the topics that a) we have received several requests and b) we plan on supporting officially (meaning that if it doesn't work we'll fix it).
If this is a single customer ask, we should start with a community post for now. if we get enough requests, we can promote it to the official documentation.

@rberrelleza updated to link to a community guide:
https://community.okteto.com/t/how-do-i-configure-my-own-ingress-controller/887


Kill python application

I am using this package in non-flet purposes. Im facing a need of stopping/killing the python process. Is there a way or a planned way to do this? Its highly recommended because using "sys.exit()" or "os._exit()" is actually exiting the whole flutter app.

I am using this package in non-flet purposes. Im facing a need of stopping/killing the python process. Is there a way or a planned way to do this? Its highly recommended because using "sys.exit()" or "os._exit()" is actually exiting the whole flutter app.

cPython.Py_Finalize();
Please publicize the cPython object from serious_python

I don't think "killing" Python process is a proper way to deal with that. serious_python runs Python in-process.
You would need a way to communicate from Dart to Python that you'd like Python program to finish, like pipes, sockets.
Take a look at Flet and flet_example - Flet starts a socket server on Python side and then connects to it from Dart.


Argo550

Could you please tell me the meaning of Argo550 in the marker.csv or p37_s29_a24_c59kx_e15__at__20220106_014304_946511_cellringmask.csv?

Hi calm-focus, Argo550 is an empty channel in our panel.  You can ignore that in your analysis.

@jrlin1001 Thank you for your promp reply!
Are both segmentation masks (*-mask.ome.tif) in Aws s3 and nuclear segmentation mentioned in the paper derived from IF images rather than H&E images?

Yes, all segmentation masks were derived from IF/Orion images.


method_missing': undefined method assets'

Hi,
I'm new to Rails but I would love to use your polymer-rails for my project!
I included gem below:
gem 'polymer-rails'
gem 'polymer-core-rails'
gem 'polymer-paper-rails'
then did bundle install with success message. Now when I run: rails g polymer:install, I get:
.rvm/gems/ruby-1.9.3-p547/gems/railties-3.2.18/lib/rails/railtie/configuration.rb:85:in method_missing': undefined method assets' for #Rails::Railtie::Configuration:0x007f85c5664e58 (NoMethodError)
Is there any way I can resolve this error message? (I'm using Rails 3.2.18. )
Your reply would be really appreciated.
Thank you

@rami2929  Try using latest version 0.2.8 of polymer-rails. This should be fixed there

@rami2929 any issues for version 0.2.8?


adds scss data: option

hotfixes error with scss build from undefined variables.

This would interfere with site custom scss


Missing files

I couldn't find the computeMetricsAlt and evalThresholdAlt tools in utils。

Thanks for bringing up this issue, this was solved in last commit.


Navigation menu disappears on firefox android

hi!
The navigation menu seems to disappear on Firefox for Android 46.0.1. Moving nav.dl-menuwrapper after div.entry-header seems to help, but i'm not sure what else it breaks.
Thanks fro the great theme.
best, Paul

Maybe it's some sort z-index issue if moving it after the header makes it appear. Hard to say since I have no real way of debugging it.

Setting z-index: inherit for .dl-menu fix this with Firefox 46.0.1 on Archlinux.

@piem I just pushed a small CSS update as per @bricewge's suggestion. Does this fix the issue for you?

yes, it works perfectly now, thanks!


make Config.Shell be struct pointer so omitempty works

Summary
devbox init produces files like:
➜ cat devbox.json
{
  "packages": [],
  "shell": {}
}

This PR changes this to produce:
➜ cat devbox.json
{
  "packages": []
}%

How was it tested?
didn't test - rely on Github Actions tests?

Current dependencies on/for this PR:

main

PR #126   👈

This comment was auto-generated by Graphite.

Change looks fine, two requests:

You have some failing tests, fix :)
Could you add to testdata/ an "empty" project? (a directory with a devbox.json and a corresponding plan.json and nothing else). In the past that case could trigger a nil pointer exception when rendering empty pointers in the templates, and I want to make sure we're catching those.

This looks good to me, but I also have an upcoming PR which is going to set the default shell prompt, so shell will never be nil in new configs.


Each repo for each entity?

Hi!
If there will be more than one entity, but all of them shares one db connection: do we need to initialize each repo separately (like here https://github.com/Creatly/creatly-backend/blob/483b7788a66b0b077e42948510c7fd0acd58eec1/internal/repository/admins_mongo.go) or there can be other logic?
Your template is awesome! Thanks!

Hi!
I like to use one repository better. But this is not strict.


server(cdc): introduce server package and add the interface

What problem does this PR solve?

Issue Number: ref #6356
What is changed and how it works?
introduce Server interface, and move it to the corresponding package.
Check List
Tests

No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
`None`

/run-all-tests

/run-all-tests

Codecov Report

Merging #6358 (91e4bc9) into master (82defd1) will decrease coverage by 0.0527%.
The diff coverage is 66.6666%.

Flag
Coverage Δ

cdc
66.0254% <66.6666%> (-0.1433%)
:arrow_down:

engine
63.4371% <ø> (-0.0914%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #6358        +/-   ##
================================================
- Coverage   59.2948%   59.2421%   -0.0528%
================================================
  Files           751        750         -1
  Lines         86284      86057       -227
================================================
- Hits          51162      50982       -180
+ Misses        30598      30575        -23
+ Partials       4524       4500        -24

/merge

/merge

/run-dm-integration-test


Search Functionality

Requested at https://gov.optimism.io/t/easyretropgf-xyz-run-your-own-optimism-style-rpgf-round/7359/5

To enable search within the metadata we would need to either:
1. Build an indexer that downloads all the Attestations and their metadata
This could be done like this:

Function to query EAS graphql for all the relevant attestations
Download the metadata for each attestation
Store in a Postgres database
Use alchemy custom webhooks to listen to Attested and Revoked events on the EAS contract and update db accordingly

2. Index while metadata is fetched

When a metadata request is made, store the results in a postgres table (indexKey, title, description, type)
Create an endpoint to query this table

This will only index the metadata that has been fetched by a user.
If an attestation is revoked, how would this db be updated?

Option 1 is more complex and manages a copy of the EAS db.
Option 2 still uses EAS as source of truth but could be challenging to remove revoked projects or lists.


Mat-Panel: Low-performance while scrolling of panel content in Internet Explorer 11 (IE11)

Bug, feature request, or proposal:
Bug
What is the expected behavior?
Smooth scrolling of panel content in a case when content overflows panel in any supported browser.
What is the current behavior?
IE browser has very slow scrolling (has bad performance and lags) when the panel content has not quite simple structure and content overflows the panel.
In other browsers, there are no any visible problems.
What are the steps to reproduce?

Open example on Plunker in Internet Explorer 11: http://plnkr.co/edit/4uMvn3QbaU7pBRY5jTeM
Click "Open panel"
Try to scroll panel content

You can see scrolling has awful lags
What is the use-case or motivation for changing an existing behavior?
This problem doesn't allow to use the panel component for showing tables with checkboxes or radio-buttons (for example). Or for any other not simple forms.
IE11 is used for some enterprise applications yet.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 5.0.3
Material 5.0.0-rc1
OS Windows 10
TypeScript 2.4.2
Internet Explorer 11

This seems to be more of an issue of rendering 100 sliders, rather than the dialog. E.g. creating a <div style="height: 500px; overflow: auto;"> inside the body and putting the sliders into it yields similar results.

@crisbeto I tried to use this content without a panel. The performance was good.
And I tried to use other input components in the panel. and I got the same result (lags)
You can see it in this example: http://plnkr.co/edit/81RsdBbROdXaLmQrYumr

@crisbeto By the way, scrolling has the same lags if I use buttons.
http://plnkr.co/edit/Rvf2JNDZa0X3LyudBQ0R

I have the same problem. A few  inside a popup. Typing text is slow in IE 11 only, and scrolling is even worse

same here. dividing the content into multiple mat-tab elements avoids the need to scroll inside the mat dialog and thus prevents the performance issue.
Profiling shows that scrolling inside the mat dialog causes long blocking repaints of the entire cdk-overlay-container:

this issue could be related: https://github.com/angular/material2/issues/11758

With MatDialog, I was experiencing the slow lag issue as well. A fix that worked for me was to apply this css:
.mat-dialog-container {
     border-radius: 0px !important;
}

It might change the appearance but I can deal without rounded corners for a performance increase.
This might be related but I suspect border-radius and overflow don't play nicely together in IE 11 on a single element:
https://stackoverflow.com/questions/39490557/how-does-overflow-hidden-border-radius-on-a-container-cause-massive-slowdown
I struggled to find a solution but this seems to have fixed it for me :-)

@patakattack Thank you so much for this fix. It completely fixed our performance issues in IE11. We unfortunately need to support it because it is our company default.

@patakattack Solved thanks to you. IE 11 is really amazing :')

Closing this issue because Angular is dropping support for IE11 in the upcoming version 13. We don't plan to fix any further IE11 bugs going forward.


High Demand + Interesting Issues 🚀

Hi folks! We're excited you're here! Many of our contributors have requested that we collect some issues that fall into various categories, such as fun new features, interesting problems, and high value work.
Thus, this issue serves as a sort of general guide for contributors looking to pick up such work. It also provides some insight regarding features we're keeping our eyes on. If you're looking for more concrete timelines for upcoming changes, you should refer to our upcoming minor release issue / milestone.
This serves as a bit of an update to https://github.com/pydantic/pydantic/issues/9102, which is now out of date, but had much of the same sentiment.
This issue is a WIP - we'll continue to update the below list as it makes sense over the coming months.
We've tagged many issues with good first issue and help wanted. You can also filter along those guidelines to find issues not listed here.
High value work
Anything on https://github.com/pydantic/pydantic/issues/10349, or more loosely, in https://github.com/pydantic/pydantic/milestone/19, is by definition high value :).
I can update this with more specific issues if desired, but I think the above provides a solid list for now.
Interesting Issues for contributors

https://github.com/pydantic/pydantic/issues/9782
https://github.com/pydantic/pydantic/issues/9677
https://github.com/pydantic/pydantic/issues/8922
https://github.com/pydantic/pydantic/issues/9855
https://github.com/pydantic/pydantic/issues/9805
https://github.com/pydantic/pydantic/issues/9672
https://github.com/pydantic/pydantic/issues/9400
https://github.com/pydantic/pydantic/issues/9358
Very interesting, also hard: https://github.com/pydantic/pydantic/issues/9290
High demand: https://github.com/pydantic/pydantic/issues/8972
https://github.com/pydantic/pydantic/issues/8248

Any questions? Just ask! Happy to help you find a cool + fun issue to work on :).

cc @Youssefares, @kc0506, @changhc, and other recent contributors who asked for said collection :)


[1pt] PR: Fix ras2catchments

In a recent release, the ras2catchment product feature was included but was not completed and now is.
The ras2catchment product feature looks at depth grid files names created by ras2fim, the extract the river features ID that are relevant.  Using that list of relevant feature IDs,  extract the relevant catchment polygons from nwm_catchments.gkpg, creating its own catchments gkpg.
New input files are required for this release to be tested and used. One file and one folder need to be downloaded in the X-National_Datasets folder, or your equivalent. The new file and folder are:

nwm_catchments.gpkg:  It needs to be sitting beside the original three files of nwm_flows.gpkg, nwm_wbd_lookup.nc, and WBD_National.gpkg.
A folder named WBD_HUC8 needs to  be downloaded and place inside the X-National_Datasets or equiv.  The WBD_HUC8 folder includes a gkpg for each HUC8 from the a full WBD national gkpg. They were split to separate HUC8 files for system performance.

The new file and folder can be found in inputs directories on both rasfim S3 or ESIP S3.
Code folder changes:
Additions

README.md: Has been updated to talk about downloading all X-National_Datasets files and folder now in the Inputs directory. Previous versions of this page talked about getting three files from a folder in ESIP called National Datasets. Now both ESIP and ras2fim S3 have an identical inputs folder.  This md file now also talks the new file and WBD_HUC8 folder in its required downloads.
INSTALL.md: Updated to talk about the new inputs instead of the original three files.
src

shared_functions.py: Includes a common duration calculating function, now used by both ras2fim and ras2catchments.py. This file can be shared for common functionality across all files in the code. Common shared functions help with consistency, avoid duplication and ease of implementation. Other code blocks have already been detected as being duplicated and may be moved into this file at a later time.

Changes

src

ras2fim.py: Updated to change the duration output system to come from the new shared_functions.py file replacing it's original duration calc code. The step feature has been partially repaired as it had an error in it, but has not been fully fixed or tested. A separate issue card and PR will be coming.  In the meantime, the code now has re-instated the code feature of not allowing a user to re-execute ras2fim.py against a folder that already exists.
ras2catchments.py:  This has been rebuilt in recognition that it had a fair bit of temporary duplication code from run_ras2rem.  ras2catchemts is now stripped back to it's original requirement described above.

Testing

testing was done with various combinations for it's three command line arguments. Coupled with input validation code, this created a number of possibilities such as:

a bad parent output_ras2fim_modesls huc folder. ie) 12090301_meters_2277. (aka.. does not exist)
an invalid path to the national dataset folder. The -n is an optional flag and defaults to a set path, and the tests validate if the folder exists regardless if the -n override has been submitted or using the defaulted pathing (in case the folder does not exist)
testing to validate that key files and folder exist such as the nwm_catchments.gpkg and the WBD_HUC8 folder exist.
validation that key relevant files and folders exist such as depth grid tifs and the 05_hecras_output folder exist.
validation of combinations of all required and optional input arguments when using the ras2catchments.gkpg directly as a command line call.
validation that the ras2catchment product feature runs as expected as part of the ras2fim.py execution.
and more related tests.

This PR is related to issue #56
Checklist
You may update this checklist before and/or after creating the PR. If you're unsure about any of them, please ask, we're here to help! These items are what we are going to look for before merging your code.

[x] Informative and human-readable title, using the format: [_pt] PR: <description>
[ x Links are provided if this PR resolves an issue, or depends on another other PR
[x] If submitting a PR to the dev branch (the default branch), you have a descriptive Feature Branch name using the format: dev-<description-of-change> (e.g.: dev-revise-levee-masking)
[x] Changes are limited to a single goal (no scope creep)
[x] The feature branch you're submitting as a PR is up to date (merged) with the latest dev branch
[x] Changes adhere to PEP-8 Style Guidelines
[x] Any change in functionality is tested
[ ] N/A - Passes all unit tests locally (inside interactive Docker container, at /foss_fim/, run: pytest unit_tests/)
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged / future todos are captured in comments
[x] Project documentation has been updated (CHANGELOG and/or README)
[ ] Reviewers requested

Two images from the 'doc' folder,  doc/default_folder_structure.png and doc/default_models_folder_structure.png, do not appear to have been moved over correctly to the main "dev" branch. Attempts here were made to correct that but were unsuccessful, Please watch for these upon merge.


Improper UUID serialisation dropping leading zeros ▶ "ValueError: badly formed hexadecimal UUID string"

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the SQLModel documentation, with the integrated search.
[X] I already searched in Google "How to X in SQLModel" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to SQLModel but to Pydantic.
[X] I already checked if it is not related to SQLModel but to SQLAlchemy.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
import uuid
from typing import Optional

import sqlalchemy.exc
from sqlmodel import SQLModel, Field
from sqlmodel import create_engine, Session, select

class Hero(SQLModel, table=True):
    id: Optional[uuid.UUID] = Field(primary_key=True,
                                    default_factory=uuid.uuid4)
    name: str
    secret_name: str
    age: Optional[int] = None

    def __str__(self):
        return f'{self.name} (AKA {self.secret_name}) [{self.age if self.age is not None else "Unknown"}]'

sqlite_file_name = "database.db"
sqlite_url = f"sqlite:///{sqlite_file_name}"

engine = create_engine(sqlite_url, echo=True)  # remove echo for prod

def create_db_and_tables():
    try:
        Hero.__table__.drop(engine)
    except sqlalchemy.exc.OperationalError:  # table doesn't exist yet
        pass
    SQLModel.metadata.create_all(engine)

def create_heroes():
    heros = [
        Hero(name="Deadpond", secret_name="Dive Wilson"),
        Hero(name="Spider-Boy", secret_name="Pedro Parqueador"),
        Hero(name="Rusty-Man", secret_name="Tommy Sharp", age=48),
        Hero(name="Tarantula", secret_name="Natalia Roman-on", age=32),
        Hero(name="Black Lion", secret_name="Trevor Challa", age=35),
        Hero(name="Dr. Weird", secret_name="Steve Weird", age=36),
        Hero(name="Captain North America", secret_name="Esteban Rogelios", age=93),
    ]

    with Session(engine) as session:
        for hero in heros:
            session.add(hero)
        session.commit()

def select_heroes():
    with Session(engine) as session:
        for hero in session.exec(select(Hero)):
            print(hero.id)

if __name__ == "__main__":
    while True:
        try:
            create_db_and_tables()
            create_heroes()
            select_heroes()
        except ValueError:
            raise

Cleansed Traceback
Traceback (most recent call last):
  File “/…/sqlmodel_tutorial/minimal_example.py", line 89, in <module>
    select_heroes()
  File “/…/sqlmodel_tutorial/minimal_example.py", line 80, in select_heroes
    for hero in session.exec(select(Hero)):
  File "/.../lib/python3.8/site-packages/sqlalchemy/engine/result.py", line 381, in iterrows
    for row in self._fetchiter_impl():
  File "/.../lib/python3.8/site-packages/sqlalchemy/orm/loading.py", line 147, in chunks
    fetch = cursor._raw_all_rows()
  File "/.../lib/python3.8/site-packages/sqlalchemy/engine/result.py", line 392, in _raw_all_rows
    return [make_row(row) for row in rows]
  File "/.../lib/python3.8/site-packages/sqlalchemy/engine/result.py", line 392, in <listcomp>
    return [make_row(row) for row in rows]
  File "/.../lib/python3.8/site-packages/sqlalchemy/sql/type_api.py", line 1430, in process
    return process_value(value, dialect)
  File "/.../lib/python3.8/site-packages/sqlmodel/sql/sqltypes.py", line 61, in process_result_value
    value = uuid.UUID(value)
  File “/…/lib/python3.8/uuid.py", line 171, in __init__
    raise ValueError('badly formed hexadecimal UUID string')
ValueError: badly formed hexadecimal UUID string

Description
Running through the tutorial up until around this point, I tried swapping out the int id key for a UUID key.
This works except whenever the uuid.uuid4 default factory creates a UUID with a hexstring that starts with a zero.
It appears that here in sqltypes.py that, rather than using UUID().hex, sqltypes.py carries on sqlalchemy's integer stringification apprach, however, doesn't include any padding declaration.
IMO there are two options;

faithfully fix the replication of SQLAlchemy's UUID ▶ int ▶ str approach with the padding fixed (f"{v.int:032x}")
switch to using the stdlib UUID.hex implementation for serialisation

Personally I'm a fan of the latter so will spin up a PR
Operating System
macOS
Operating System Details
No response
SQLModel Version
0.0.4
Python Version
3.8.8
Additional Context
No response

I am also hitting this issue with UUIDs being "badly formed".

I am also getting this issue. A new release with the PR merged will be very helpful.

For those awaiting a fix for this, here's a method to ensure the generated UUIDs don't start with leading zeros:
def new_uuid() -> str:
    # Note: Work around UUIDs with leading zeros: https://github.com/tiangolo/sqlmodel/issues/25
    # by making sure uuid str does not start with a leading 0
    val = uuid.uuid4().hex
    while val[0] == '0':
        val = uuid.uuid4().hex

    return val

class UuidMixin(SQLModel):
    # amend index / primary_key as needed
    id: uuid.UUID = Field(index=False, primary_key=True, default_factory=new_uuid)

Other solution: installing the version of @andrewbolster's PR:
pip install git+https://github.com/andrewbolster/sqlmodel.git@patch-1

Another (temporary) solution, with SQLAlchemy-Utils:
from sqlalchemy_utils import UUIDType
from sqlmodel import Column, Field, SQLModel
from uuid import UUID, uuid4

class MyModel(SQLModel, table=True):
    uuid: UUID = Field(default_factory=uuid4, sa_column=Column(UUIDType(), primary_key=True))

@tiangolo is there any update on this?

Thanks for the report and fix in https://github.com/tiangolo/sqlmodel/pull/26 @andrewbolster! :cake:
And thanks everyone for the discussion. :coffee:
The fix will be available in SQLModel 0.0.7, released in the next hours. :tada:


npm run upload_metadata times out and failes with 502 error

I noticed when uploading Images and MetaData json files the API request is not using the Authorization header when sending request to NFTPort API endpoint.
I wonder how come i was able to upload  images using npm run upload_files  command without any issue, but run upload_metadata cause TIME_OUT error and after Retrying it throws 502 error.
I noticed both /utils/nftport/uploadFiles.js and /utils/nftport/uploadMetas.js are not using NFTPort API key, its an empty object for both files. so my qustion is do we need the NFTport API key to upload files, if so, why images were uploaded without API key and why metadata json files are not uploading.
By the way i am trying to upload a collection 5000 json files, and _metadata.json file already exist with information for all 5000 metadata along with 5000 metadata.json files under /build/json/0.json - 4999.json files.

Did you manage To get any Fix? I'm facing the same challenge... We may be the First 2.

I have got same issue. you guys are not alone. looking for solution tbh

tremendous. I will have a look.  :)

is it works for you.I also got same kind of error 403 even after adding API ?

Thank you @HabedyOmid, I had the same issue and your fix worked!


Significance of multiplying the translation vector by 0.1(args['scale'])

Hi,
Thank you for sharing the code.
I am not able to understand the significance of multiplying the translation vector by 0.1(args['scale']) constant in kitti.py file to update variables trajectory[i][0:3, 3].
Can you explain to me why you multiplied the translation vector by 0.1(args['scale'])?
        for i in range(len(trajectory)):
            trajectory[i] = np.dot(imu2cam, util.inv_SE3(trajectory[i]))
            trajectory[i][0:3, 3] *= self.args['scale']

Hi, I did this so that the scales of the depth on KITTI, NYU and ScanNet matched approximately. On NYU the depth range was about 0.5-8 meters and KITTI is about 5-80 meters.

Thank you for your reply!!
I am still trying to understand your code.
However, it is hard to understand SE3 operations in se3.py because I lack SE3 knowledge.
Could you give me a reference to understand the operations?

Hi, This is an approximation for the gradient of the se3_matrix_expm layer, it is exact when omega=0 and a very good approximation for small omega. It corresponds to taking the gradient of the taylor approximation
t ~= upsilon
R = I + [omega]_x
instead of the analytic formula. I was encountering numerical instabilities when trying to use automatic differentiation through the se3_matrix_expm function. Using this approximation fixed that issue without harming performance.

Thank you so much.
I thoroughly understand why you use the taylor approximation!
Is a staking order important?
[example]
def _se3_matrix_expm_grad(op, grad):
grad_upsilon_omega = tf.stack([
grad[..., 2, 1] - grad[..., 1, 2],
grad[..., 0, 2] - grad[..., 2, 0],
grad[..., 1, 0] - grad[..., 0, 1],
grad[..., 0, 3],
grad[..., 1, 3],
grad[..., 2, 3]
], axis=-1)
    return grad_upsilon_omega

I am sorry to keep asking questions.

Thank you so much.
I thoroughly understand why you use the taylor approximation!
I have additional question.
transformation.py
add dampening and apply increment
H += ep_lmbdatf.eye(6) + lm_lmbdaH*tf.eye(6)
Why do you add 'ep_lmbdatf.eye(6) + lm_lmbdaHtf.eye(6) ' to H?
and What is 'ep_lmbdatf.eye(6) + lm_lmbdaHtf.eye(6) ' ?
I am sorry to keep asking questions.

Hi, the ep_lmbda and lm_lmbda add a small diagonal to the Hessian matrix H. This ensures that H is positive definite, so that the  cholesky factorization will not fail. Additionally, it improves numerical stability by applying a small amount of damping to the pose update.

Thank you for your kindness!
I understand your answer but why do you set 'ep_lmbda = 100'?
I think that the value of 'ep_lmbda' is too big for positive Hessian matrix H.

Hi, This is an approximation for the gradient of the se3_matrix_expm layer, it is exact when omega=0 and a very good approximation for small omega. It corresponds to taking the gradient of the taylor approximation
t ~= upsilon
R = I + [omega]_x
instead of the analytic formula. I was encountering numerical instabilities when trying to use automatic differentiation through the se3_matrix_expm function. Using this approximation fixed that issue without harming performance.

Is grad = [ I+[omega]_x | t ] right?

Hi, to answer your questions

The other values in the Hessian matrix are generally on the order of 1e6 or larger, so 100 is very small comparatively
_se3_matrix_expm_grad is an approximation of the gradient for small theta, so the accuracy of the gradient will degrade if theta becomes too large. However, this approximation is good for the data our method is trained on (i.e. we don't really expect the camera to rotate more than 20 degrees between pairs of frames).


Can't scan code

I'm setting up homebridge. Got an accessory and platform set up and working. But when I try to scan the code in the iOS HomeKit app, I select "Homebridge" and it gives me less than a second to scan the code. Which isn't enough time to line it up with the camera and focus, so it fails.
Any ideas?

I am having a similar issue, my homebridge had been working fine then all of a sudden I could not control anything with it. I deleted it from my home app on my iphone and when I try to add it again it just shows the "Select an accessory..." screen with nothing coming up.

Enter the code manually.

I can't, the "Enter Code Manually" option is only on the screen for about half a second, before it changes to the "Couldn't add Homebridge" screen. I can time repeatedly pressing it before it changes, but it still won't let me enter it manually.

Try deleting home then removing your persist folder then restart homebridge and try again.
On 27 Jan 2017, at 23:17, sfyfe31 <notifications<EMAIL_ADDRESS>wrote:
I can't, the "Enter Code Manually" option is only on the screen for about half a second, before it changes to the "Couldn't add Homebridge" screen. I can time repeatedly pressing it before it changes, but it still won't let me enter it manually.

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/nfarina/homebridge/issues/1078#issuecomment-275800728, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APQCAB5rILqtDLocq5elftOWSLZNjCVQks5rWnscgaJpZM4LnW-m.

Done. Still the same:

Add Accessory
Homebridge
"Position the HomeKit code in the frame" page with "Enter Code Manually" option remains on screen for about half a second. Tapping on "Enter Code Manually" does nothing.
"Couldn't add Homebridge" page with "Back" and "Dismiss" options.

Can you get the status of Homebrige before and after you try to add it? I am not sure how you setup the load on boot but I wonder if it is crashing for some reason.  I can use the following for a quick status check.
systemctl status home bridge
Also, stop it and start it manually to see if it throws up any errors.
Maybe this will give us some clue.
Last, can you share your config file back with us?

I just run "homebridge" in terminal on my Mac, with the following output:
Scotts-Mac-mini:~ scott$ homebridge
[1/28/2017, 3:31:22 PM] Loaded plugin: homebridge-nest
[1/28/2017, 3:31:22 PM] Registering platform 'homebridge-nest.Nest'
[1/28/2017, 3:31:22 PM] ---
[1/28/2017, 3:31:24 PM] Loaded plugin: homebridge-wemo
[1/28/2017, 3:31:24 PM] Registering accessory 'homebridge-wemo.WeMo'
[1/28/2017, 3:31:24 PM] ---
[1/28/2017, 3:31:24 PM] Loaded config.json with 1 accessories and 1 platforms.
[1/28/2017, 3:31:24 PM] ---
[1/28/2017, 3:31:24 PM] Loading 1 platforms...
[1/28/2017, 3:31:24 PM] Initializing Nest platform...
[1/28/2017, 3:31:24 PM] Fetching Nest devices.
[1/28/2017, 3:31:24 PM] Loading 1 accessories...
[1/28/2017, 3:31:24 PM] [Electric Blanket] Initializing WeMo accessory...
[1/28/2017, 3:31:24 PM] [Electric Blanket] Searching for WeMo device with exact name 'Electric Blanket'...
[1/28/2017, 3:31:24 PM] [Electric Blanket] Found 'Electric Blanket' device at <IP_ADDRESS>
[1/28/2017, 3:31:29 PM] Software version for Hallway Thermostat is: 5.6-7
[1/28/2017, 3:31:29 PM] Current temperature for Hallway Thermostat is: 21.5 C
[1/28/2017, 3:31:29 PM] Current heating for Hallway Thermostat is: Heating
[1/28/2017, 3:31:29 PM] Current humidity for Hallway Thermostat is: 40%
[1/28/2017, 3:31:29 PM] Target temperature for Hallway Thermostat is: 22 C
[1/28/2017, 3:31:29 PM] Target heating for Hallway Thermostat is: Heating
[1/28/2017, 3:31:29 PM] Away for Hallway Thermostat is: 1
[1/28/2017, 3:31:29 PM] Initializing platform accessory 'Hallway Thermostat'...
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

    ┌────────────┐
    │ 031-45-154 │
    └────────────┘

[1/28/2017, 3:31:29 PM] Homebridge is running on port 56530.

When I try to add it in the Home app on my iPhone, nothing else is logged. Again, just goes immediately to "Couldn't add Homebridge" screen.
Here's my config file (I've changed the connection keys):
{
  "bridge": {
    "name": "Homebridge",
    "username": "CC:22:3D:E3:CE:30",
    "port": 56530,
    "pin": "031-45-154"
  },

  "description": "This is an example configuration file",

  "accessories": [
    {
      "accessory": "WeMo",
      "name": "Laura's Electric Blanket",
      "wemo_name": "Lauras Electric Blanket"
    }
  ],
  "platforms": [
    {
      "platform": "Nest",
      "token": "blahblahblah",
      "clientId": "blahblahblah",
      "clientSecret": "blahblahblah",
      "code": "blahblahblah"
    }
  ]
}

No errors so I don't see anything wrong there.  Out of curiosity cut your Nest out and see if it fails again.  Also change your user name to force a refresh.

Done and done. Still the same. Also tried removing the WeMo, still the same.

What apple device and iOS version are you running?   Do you have more than one device to test with?

I just noticed your port is different than mine.  Did you setup that custom port?   It would seem like if the port isn't accessible it might fail immediately.

If you want to try another port mine is set to 36631.

Not sure where I got that port from. Possibly the original guide I read on how to setup homebridge. Tried the one from the sample config (51826) and 36631. Still the same.

I am having the exact same issue. @sfyfe31 did you figure anything out?
Also, that default port is what's in the config-sample.

Just for shits and giggles, try changing the name, mac address and the pairing PIN, then remove persist and retry. Once had this problem too.

hi,It took me a week's time,I have successfully solved this problem.My previous ios version was 10.2.Now has been updated 10.3.The key to the 10.3 “HOME ”APP has a new button allows you to delete the family configuration.Deleted after a new family,It will tell you whether to allow mistrust of accessories.you call yes,than,it's can Add your parts, give it a try.

Hi @sfyfe31 , I have the same issue, have you figured out the solution for it? Can you share your solution?

same issue here... :(

Same issue here. Changing name, pin and port had no effect. Tried with both iOS 10.3 and iOS 11 dev beta 3.
After entering my code I get the "Couldn't add Homebridge" screen.

@respectTheCode Sounds like a compatibility issue with the way homebridge exposed stuff to homekit and thats why the pairing failed. I would try updating to the latest homebridge as I believe most of the IOS 11 issues have been fixed.

I can confirm that homebridge is working again

@respectTheCode Glad to hear that!

I had this issue and disabling my macOS firewall fixed it.


allow custom environment directory, fixes #2025

This PR allows env folder in a gauge project to be configured.
IMPORTANT - this allows changing the env directory to a custom name/location. This does not change the way environments function, i.e. gauge run --env=foo will continue to function.
Things to note:

the environment directory is still expected to be a sub-directory in the project.
the default behaviour would be to continue using env directory
there are two ways to override the location, either by setting gauge_env_dir environment variable or using EnvironmentDir key in the project's manifest.json.
in case there is no manifest.json found, gauge will default to env.
the precedence is given to gauge_env_dir env variable -> manifest.json -> default env.

Signed-off-by: sriv<EMAIL_ADDRESS>

#2047 can be reviewed and merged before this.

@zabil - pushed docs changes via getgauge/docs.gauge.org#331 (please review :) )
See:
https://deploy-preview-331--elastic-lalande-8b9fbc.netlify.app/execution.html?os=macos&language=javascript&ide=vscode#configuring-table-data-per-environment
https://deploy-preview-331--elastic-lalande-8b9fbc.netlify.app/configuration.html?os=macos&language=javascript&ide=vscode#custom-location-for-environment-property-files


better monitoring for rss-puller (and all Producer/Queuer classes)

Since we're no longer always/only fetching RSS files a fixed interval in the past (two days ago), it would be nice to have a way to see the date of the most recently fetched story that has been queued.
Grafana appears to have axis labeling options for date/times:  Investigate what it wants: decimal numbers like YYYYMMDD or epoch seconds (since 1970-01-01)?
Investigate:

a single gauge for the latest fetch_date queued in the current batch (add record keeping to Producer.queue_story?)
two gauges: one for latest, one for oldest (since hist-queuer goes backwards in time, and so do the historical CSV files?)
use statsd timer type (which keeps highest/lowest values for all data points in a reporting period). cons: would keep meaningless things like mean/std dev!, graphs would only show data for reporting periods where data was queued, while gauge values "stick" and continue to report whether or not new data has been reported.

Footnote:
I suppose min/max date metrics could be reported for ALL Workers (gathering the info in StorySender.send_story), which would be useful if multiple queues were congested, so you could see what range of dates were being handled where in the pipeline?!


Azcopy 10 not working on our Windows azure servers while azcopy 8 does

Which version of the AzCopy was used?
10.0.7-Preview
Which platform are you using? (ex: Windows, Mac, Linux)
Windows server 2012 R2
What command did you run?
azcopy.exe copy ThirdPartyNotice.txt "https://poccftlnx.blob.core.windows.net/iazrgbl0/recep/test?st=2018-11-19T08%3A45%3A51Z&se=2020-11-20T08%3A45%3A00Z&sp=rwdl&sv=2018-03-28&sr=c&sig=..."
What problem was encountered?
file upload stay at pending, one cpu go to 100% until timeout or cancel.
How can we reproduce the problem in the simplest way?
Don't know. Our server is hosted on azure on a private VLAN, The storage account access is for now unrestricted at the network level.
Have you found a mitigation/solution?
The same upload is working fine on the same server with the azcopy 8.1.0 version :
this command is working :
C:\Program Files (x86)\Microsoft SDKs\Azure\AzCopy>azcopy /Source:"c:\temp\ThirdPartyNotice.txt" /Dest:"https://poccftlnx.blob.core.windows.net/iazrgbl0/recep/test?st=2018-11-19T08%3A45%3A51Z&se=2020-11-20T08%3A45%3A00Z&sp=rwdl&sv=2018-03-28&sr=c&sig=..."

log file:
2019/02/28 09:25:02 AzcopVersion  10.0.7-Preview
2019/02/28 09:25:02 OS-Environment  windows
2019/02/28 09:25:02 OS-Architecture  amd64
2019/02/28 09:25:02 Job-Command copy ThirdPartyNotice.txt https://poccftlnx.blob.core.windows.net/iazrgbl0/recep/test?se=2020-11-20t08%3A45%3A00z&sig=REDACTED&sp=rwdl&sr=c&st=2018-11-19t08%3A45%3A51z&sv=2018-03-28
2019/02/28 09:25:02 JobID=934f71c1-59e2-864b-4a2c-4025a9698aee, credential type: Anonymous
2019/02/28 09:25:02 scheduling JobID=934f71c1-59e2-864b-4a2c-4025a9698aee, Part#=0, Transfer#=0, priority=0
2019/02/28 09:25:02 INFO: [P#0-T#0] has worker 0 which is processing TRANSFER
2019/02/28 09:25:02 INFO: [P#0-T#0] Starting transfer: Source "ThirdPartyNotice.txt" Destination "https://poccftlnx.blob.core.windows.net/iazrgbl0/recep/test?se=2020-11-20t08%3A45%3A00z&sig=REDACTED&sp=rwdl&sr=c&st=2018-11-19t08%3A45%3A51z&sv=2018-03-28". Specified chunk size 8388608
2019/02/28 09:25:02 ==> OUTGOING REQUEST (Try=1)
PUT https://poccftlnx.blob.core.windows.net/iazrgbl0/recep/test?se=2020-11-20t08%3A45%3A00z&sig=REDACTED&sp=rwdl&sr=c&st=2018-11-19t08%3A45%3A51z&sv=2018-03-28&timeout=901
Content-Length: [14944]
User-Agent: [AzCopy/10.0.7-Preview Azure-Storage/0.4 (go1.10.3; Windows_NT)]
X-Ms-Blob-Cache-Control: []
X-Ms-Blob-Content-Disposition: []
X-Ms-Blob-Content-Encoding: []
X-Ms-Blob-Content-Language: []
X-Ms-Blob-Content-Type: [text/plain; charset=utf-8]
X-Ms-Blob-Type: [BlockBlob]
X-Ms-Client-Request-Id: [08682b1c-02cd-42b5-5408-c005a1e31d0c]
X-Ms-Version: [2018-03-28]
2019/02/28 09:27:44 JobID=934f71c1-59e2-864b-4a2c-4025a9698aee canceled
2019/02/28 09:27:44 ==> REQUEST/RESPONSE (Try=1/2m41.7190015s[SLOW >3s], OpTime=2m41.7199918s) -- REQUEST ERROR
PUT https://poccftlnx.blob.core.windows.net/iazrgbl0/recep/test?se=2020-11-20t08%3A45%3A00z&sig=REDACTED&sp=rwdl&sr=c&st=2018-11-19t08%3A45%3A51z&sv=2018-03-28&timeout=901
Content-Length: [14944]
User-Agent: [AzCopy/10.0.7-Preview Azure-Storage/0.4 (go1.10.3; Windows_NT)]
X-Ms-Blob-Cache-Control: []
X-Ms-Blob-Content-Disposition: []
X-Ms-Blob-Content-Encoding: []
X-Ms-Blob-Content-Language: []
X-Ms-Blob-Content-Type: [text/plain; charset=utf-8]
X-Ms-Blob-Type: [BlockBlob]
X-Ms-Client-Request-Id: [08682b1c-02cd-42b5-5408-c005a1e31d0c]
X-Ms-Version: [2018-03-28]
ERROR:
-> github.com/Azure/azure-storage-azcopy/ste.newAzcopyHTTPClientFactory.func1.1, /go/src/github.com/Azure/azure-storage-azcopy/ste/mgr-JobPartMgr.go:100
HTTP request failed
Put https://poccftlnx.blob.core.windows.net/iazrgbl0/recep/test?se=2020-11-20T08%3A45%3A00Z&sig=ut104jrewSqAAx6Gg9fo06JpYbns8sqA0pgK89%2F7fbw%3D&sp=rwdl&sr=c&st=2018-11-19T08%3A45%3A51Z&sv=2018-03-28&timeout=901: context canceled
goroutine 37 [running]:
github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-storage-blob-go/azblob.stack(0xc042136380, 0xc04225aa00, 0x0)
/go/src/github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-storage-blob-go/azblob/zc_policy_request_log.go:146 +0xae
github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-storage-blob-go/azblob.NewRequestLogPolicyFactory.func1.1(0xbcd7e0, 0xc04224f860, 0xc04225b600, 0xb46827, 0xc, 0xb44d8b, 0xa)
/go/src/github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-storage-blob-go/azblob/zc_policy_request_log.go:96 +0x66c
github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-pipeline-go/pipeline.PolicyFunc.Do(0xc042084870, 0xbcd7e0, 0xc04224f860, 0xc04225b600, 0xa, 0xa8af20, 0xc04203c800, 0xc042519170)
/go/src/github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-pipeline-go/pipeline/core.go:42 +0x4b
github.com/Azure/azure-storage-azcopy/ste.NewVersionPolicyFactory.func1.1(0xbcd7e0, 0xc04224f860, 0xc04225b600, 0x79, 0xc0425191a0, 0x42bb5b, 0xb72f48)
/go/src/github.com/Azure/azure-storage-azcopy/ste/mgr-JobPartMgr.go:64 +0xef
github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-pipeline-go/pipeline.PolicyFunc.Do(0xc042807520, 0xbcd7e0, 0xc04224f860, 0xc04225b600, 0xc0425191b0, 0xc042519270, 0x4e096a, 0xc04224f870)
/go/src/github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-pipeline-go/pipeline/core.go:42 +0x4b
github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-storage-blob-go/azblob.responderPolicy.Do(0xbc7720, 0xc042807520, 0xc042052960, 0xbcd7e0, 0xc04224f860, 0xc04225b600, 0xc04224f870, 0xbcd760, 0xc042048440, 0x0)
/go/src/github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-storage-blob-go/azblob/zz_generated_responder_policy.go:34 +0x5a
github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-storage-blob-go/azblob.anonymousCredentialPolicy.Do(0xbc7760, 0xc042807540, 0xbcd7e0, 0xc04224f860, 0xc04225b600, 0xfaba00, 0xbcd7e0, 0xc04224f860, 0xc0465ac780)
/go/src/github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-storage-blob-go/azblob/zc_credential_anonymous.go:54 +0x56
github.com/Azure/azure-storage-azcopy/ste.NewBlobXferRetryPolicyFactory.func1.1(0xbcd760, 0xc042048440, 0xc04225b500, 0xb4d61b, 0x16, 0xc046596f90, 0x24)
/go/src/github.com/Azure/azure-storage-azcopy/ste/xferRetrypolicy.go:362 +0x6c8
github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-pipeline-go/pipeline.PolicyFunc.Do(0xc0420848c0, 0xbcd760, 0xc042048440, 0xc04225b500, 0x24, 0x60b512, 0xab5dc0, 0xc0465a0cc0)
/go/src/github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-pipeline-go/pipeline/core.go:42 +0x4b
github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-storage-blob-go/azblob.NewUniqueRequestIDPolicyFactory.func1.1(0xbcd760, 0xc042048440, 0xc04225b500, 0xb450e7, 0xa, 0xc04201a900, 0x3e)
/go/src/github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-storage-blob-go/azblob/zc_policy_unique_request_id.go:19 +0xa3
github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-pipeline-go/pipeline.PolicyFunc.Do(0xc042807560, 0xbcd760, 0xc042048440, 0xc04225b500, 0x3e, 0xc042004c68, 0xc0465a0d20, 0xc042519690)
/go/src/github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-pipeline-go/pipeline/core.go:42 +0x4b
github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-storage-blob-go/azblob.NewTelemetryPolicyFactory.func1.1(0xbcd760, 0xc042048440, 0xc04225b500, 0x1, 0x0, 0x1, 0xc042004c68)
/go/src/github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-storage-blob-go/azblob/zc_policy_telemetry.go:34 +0xa5
github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-pipeline-go/pipeline.PolicyFunc.Do(0xc0465a0d20, 0xbcd760, 0xc042048440, 0xc04225b500, 0xc0465a0d20, 0xc042519700, 0x4119cc, 0xc042052968)
/go/src/github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-pipeline-go/pipeline/core.go:42 +0x4b
github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-pipeline-go/pipeline.(*pipeline).Do(0xc042048400, 0xbcd760, 0xc042048440, 0xbc7780, 0xc042052960, 0xc04225b500, 0x1f, 0xc0420785d7, 0x14, 0x0)
/go/src/github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-pipeline-go/pipeline/core.go:128 +0x88
github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-storage-blob-go/azblob.blockBlobClient.Upload(0xc0420785b0, 0x5, 0x0, 0x0, 0x0, 0xc0420785b8, 0x1f, 0xc0420785d7, 0x14, 0x0, ...)
/go/src/github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-storage-blob-go/azblob/zz_generated_block_blob.go:421 +0x560
github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-storage-blob-go/azblob.BlockBlobURL.Upload(0xc0420785b0, 0x5, 0x0, 0x0, 0x0, 0xc0420785b8, 0x1f, 0xc0420785d7, 0x14, 0x0, ...)
/go/src/github.com/Azure/azure-storage-azcopy/vendor/github.com/Azure/azure-storage-blob-go/azblob/url_block_blob.go:64 +0x252
github.com/Azure/azure-storage-azcopy/ste.(*blockBlobUploader).generatePutWholeBlob.func1()
/go/src/github.com/Azure/azure-storage-azcopy/ste/uploader-blockBlob.go:157 +0x4d8
github.com/Azure/azure-storage-azcopy/ste.createChunkFunc.func1(0x19)
/go/src/github.com/Azure/azure-storage-azcopy/ste/uploader.go:104 +0xf4
github.com/Azure/azure-storage-azcopy/ste.(*jobsAdmin).chunkProcessor(0xc0420740e0, 0x19)
/go/src/github.com/Azure/azure-storage-azcopy/ste/JobsAdmin.go:220 +0x97
created by github.com/Azure/azure-storage-azcopy/ste.initJobsAdmin
/go/src/github.com/Azure/azure-storage-azcopy/ste/JobsAdmin.go:173 +0x625
2019/02/28 09:27:44 INFO: [P#0-T#0] UPLOAD SUCCESSFUL
2019/02/28 09:27:44 JobID=934f71c1-59e2-864b-4a2c-4025a9698aee, Part#=0, TransfersDone=1 of 1
2019/02/28 09:27:44 all parts of Job 934f71c1-59e2-864b-4a2c-4025a9698aee successfully completed, cancelled or paused

Hi @c-petit, thanks for reaching out!
Were there any proxy configuration that you made for V8?

Hello,
Nothing from my part.

Hi @c-petit, it seems to be a configuration issue related to your environment. I'd suggest to reach out to Azure Support to see if they can help you sort it out.

@c-petit please let us know if we can assist you with anything else.

@c-petit I'd like to follow up with you on something related to this issue.  Could you please email me?  My email address can be found on my profile page.


Bumped parent pom version and handle null pointer when setting pkce.

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


Multiconfig support (Raspberry Pi 3 + 4)

This is an initial proposal for being able to build images that boot on multiple targets. The current implementation adds support for Raspberry Pi 3 and 4.

This won't work due to the complication of multiple kernel modules. I'll rethink this using multiple kernel recipes.

Looks good approach to me. Although a bit stretch use of multiconfig but thats fine.

@kraj this would have worked fine if it wasn't for the modules complication. I am testing now a different approach - https://github.com/agherzan/meta-raspberrypi/commits/ag/raspberrypi-armv7


How to attach a specific file

Hi @kensoh
I have managed to automated the email but come to attach file I'm stuck on it.
Question
After clicked on the "Attach"  on the web base MS Outlook, windows file explorer will pop out.
From there how do i click on the specific folder and click on the file that i want to attach?
p/s: im using Juypter with the TaUI web Automation chrome extension
`r.url ('https://outlook.office365.com/mail/inbox')
#Click on new message
r.click('//*[@id = "id__3"]')
#email To
r.type('//*[@aria-label = "To"]','to1<EMAIL_ADDRESS>#email Cc
r.type('//*[@aria-label =<EMAIL_ADDRESS>#Add a subject
r.type('//*[@aria-label = "Add a subject"]',' Inventory Report')
#email content
r.type('//*[@aria-label = "Message body"]','Dear boss\n\nAttached the daily inventory report\n\nRegards\n')
r.click('//*[@name = "Attach"]')
r.click('//*[@name = "Browse this computer"]')`

i managed to figure out , just use r.click('image.PNG') , OCR :)

Oh great! For some upload forms, the r.upload() function may be able to work on it, by providing the CSS selector as input (copy selector after inspecting from Chrome Inspector).
https://github.com/tebelorg/RPA-Python#pro-functions


USHIFT-1639: Delete e2e directory from microshift project

This PR can only be merged after the https://github.com/openshift/release/pull/42855 PR
Closes USHIFT-1639
/hold

/unhold

/test all

/lgtm