Suggest using --dev for a repro run with a given artifact

cargo fuzz run now defaults to release mode since #231. When it finds a failure and prints a command for how to run just that input, it doesn't suggest the --dev flag.
It would be good to suggest the --dev flag for repro, since the purpose of the repro run is presumably to be able to debug the failure, and the default mode seems to even lack sufficient debug info for source attachment.

I think that it should suggest exactly the command and flags that are known to reproduce the failure. It isn't unheard of for some crates to have cfgs that completely change code paths based on whether rustc has optimizations enabled or not, and suggesting --dev could make us miss bug-triggering code paths.

That's a good point. However, it's practically bad that the suggestion compiles without debug info, so the repro isn't useful at all for debugging the problem.

Yes, it's a trade off with no perfect solution and my inclination is to lean towards the "steps to reproduce will always reproduce" side.

We could add debug level 2 to the defaults so that full debug info is available by default. Then there's no need to drop down to --dev.


CC2531 shuts down soon after being plugged-in

Hi. Out of the blue my cc2531 stopped working (it happened during the night, was not changing anything). The green led was off and zigbee2mqtt can't talk to the SoC.
Tried the usual: various plug-out and plug-in, reboots to the rpi, tried using it on the laptop, and tried flashing the latest dev as well as master firmware. Nothing.
The geen led lights up for about a minute, then turns off. The USB is detected but apparently won't talk back.
Any idea on what might be goin' on? Shall I order a new one?
logs from zigbee2mqtt:
  zigbee2mqtt:info 3/13/2019, 3:51:02 PM Logging to directory: '/share/zigbee2mqtt/log/2019-03-13.15-51-02'
  zigbee2mqtt:info 3/13/2019, 3:51:03 PM Starting zigbee2mqtt version 1.2.1 (commit #unknown)
  zigbee2mqtt:info 3/13/2019, 3:51:03 PM Starting zigbee-shepherd
  zigbee2mqtt:info 3/13/2019, 3:51:03 PM Error while starting zigbee-shepherd, attempting to fix... (takes 60 seconds)
  zigbee2mqtt:info 3/13/2019, 3:52:03 PM Starting zigbee-shepherd
  zigbee2mqtt:error 3/13/2019, 3:52:03 PM Error while starting zigbee-shepherd!
  zigbee2mqtt:error 3/13/2019, 3:52:03 PM Press the reset button on the stick (the one closest to the USB) and start again
  zigbee2mqtt:error 3/13/2019, 3:52:03 PM Failed to start
	{"message":"Error: No such file or directory, cannot open /dev/ttyACM0123/hassio/addon/a0d7b954_ide","stack":"Error: Error: No such file or directory, cannot open /dev/ttyACM0123/hassio/addon/a0d7b954_ide"}
  zigbee2mqtt:error 3/13/2019, 3:52:03 PM Exiting...

nothing relevat from dmesg:
root@DietPi:~# dmesg -T | grep ACM
[Tue Mar 12 11:37:38 2019] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device
[Wed Mar 13 09:56:37 2019] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device

nor from journalctl:
oot@DietPi:~# journalctl -xe --no-pager | grep ACM
Mar 13 09:56:41 DietPi kernel: cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device

any ideas? thanks!

Please try reflashing the stick and provide the zigbee2mqtt debug log when it crashes again.

@Koenkk flashed with latest 20190223 (using cc-tool).
Debug logs might not be that helpful:
[Info] Configuration file found: /share/zigbee2mqtt/configuration.yaml
[Info] Configuration written to /share/zigbee2mqtt/configuration.yaml
2019-03-13T21:16:50: PM2 log: Launching in no daemon mode
2019-03-13T21:16:50: PM2 log: App [npm:0] starting in -fork mode-
2019-03-13T21:16:50: PM2 log: App [npm:0] online
><EMAIL_ADDRESS>start /zigbee2mqtt-1.2.1
> node index.js
  zigbee2mqtt:info 3/13/2019, 9:16:53 PM Logging to directory: '/share/zigbee2mqtt/log/2019-03-13.21-16-53'
  zigbee2mqtt:debug 3/13/2019, 9:16:53 PM Removing old log directory '/share/zigbee2mqtt/log/2019-03-13.21-05-48'
  zigbee2mqtt:debug 3/13/2019, 9:16:54 PM Using zigbee-shepherd with settings: '{"net":{"panId":6754,"extPanId":[221,221,221,221,221,221,221,221],"channelList":[11],"precfgkey":"HIDDEN"},"dbPath":"/share/zigbee2mqtt/database.db","sp":{"baudRate":115200,"rtscts":true}}'
  zigbee2mqtt:debug 3/13/2019, 9:16:54 PM Loaded state from file /share/zigbee2mqtt/state.json
  zigbee2mqtt:debug 3/13/2019, 9:16:54 PM Saving state to file /share/zigbee2mqtt/state.json
  zigbee2mqtt:info 3/13/2019, 9:16:54 PM Starting zigbee2mqtt version 1.2.1 (commit #unknown)
  zigbee2mqtt:info 3/13/2019, 9:16:54 PM Starting zigbee-shepherd
  zigbee2mqtt:info 3/13/2019, 9:16:55 PM Error while starting zigbee-shepherd, attempting to fix... (takes 60 seconds)
  zigbee2mqtt:info 3/13/2019, 9:17:55 PM Starting zigbee-shepherd
  zigbee2mqtt:error 3/13/2019, 9:17:55 PM Error while starting zigbee-shepherd!
  zigbee2mqtt:error 3/13/2019, 9:17:55 PM Press the reset button on the stick (the one closest to the USB) and start again
  zigbee2mqtt:error 3/13/2019, 9:17:55 PM Failed to start
	{"message":"Error: No such file or directory, cannot open /dev/ttyACM0123/hassio/addon/a0d7b954_ide","stack":"Error: Error: No such file or directory, cannot open /dev/ttyACM0123/hassio/addon/a0d7b954_ide"}
  zigbee2mqtt:error 3/13/2019, 9:17:55 PM Exiting...

Your serial port setting doesn't seem right..
Could it be you accidentally copy-pasted something extra into the config?
For the hassio addon it should look like:
  "serial_port": "/dev/ttyACM0",

@liads it's right at the config:
{
  "data_path": "/share/zigbee2mqtt",
  "homeassistant": true,
  "permit_join": true,
  "mqtt_base_topic": "zigbee2mqtt",
  "mqtt_server": "mqtt://homeassistant",
  "serial_port": "/dev/ttyACM0",
  "devices": [],
  "network_key": [],
  "mqtt_user": <redacted>,
  "mqtt_pass": <redacted>,
  "log_level": "debug"
}

that path might be the way the mapping is done through docker and overlay, but I could not be certain.
Inside the container, the path checks out, it's not a symlink or something else.

@Koenkk @liads just found out that you cannot take what's on the config json from hassio addon details: it might not be what's in the configuration.yaml at the data_path.
serial:
  port: /dev/ttyACM0 # there was garbage here

Just wondering, at least when I added the log_level entry through the frontend, wouldn't it also change the serial_port key as it was not as stated in the json?
Nevertheless, the LED turning off was totally unrelated. Power save or something?
Thank you a lot for your help 👍

When you start the addon the startup script loads the existing configuration.yaml, updates each setting defined in the addon json config, and rewrites the configuration.yaml. Not sure why it wouldn't update.
Regarding the LED turning off, I've seen it happen after a few minutes when I had the dongle plugged in without anything communicating with it.


Add hasColumn/hasColumns method

Add hasColumn/hasColumns method
Checklist

[x] Add tests and ensure they pass
[x] Add an entry to the CHANGELOG.md file
[ ] Update documentation for new features

I agree with @GromNaN here. This method is essentially useless, because you're looking for "does any document in this collection have a field with this name". This is not something you should be checking for, and is also an extremely inefficient query as it's usually run unindexed, and thus relies on a collection scan and BSON inspection of every document in the collection.
If there's a specific use case you'd like to change this method for, please share this use case with us, but I don't see any benefit in changing the current implementation.

@GromNaN  @alcaeus
Sorry for late answer.
I want to share example why I added such code.
So I have bitbucket pipelines configured to deploy project to virtual machine
There is three options for DB (keep existing, reset all, reset only mysql (keep mongo)).
We use single Laravel project which works with migrations (mysql + mongo)
So there an issue if went to keep  mongo DB and reset only mysql
    public function up(): void
    {
        Schema::connection('mongodb')->table('betradar_sports', function (Blueprint $collection) {
            $collection->unique('id');
        });
    }

Will cause an error about existing unique key
so  I added some manual 'hasColumn' method to avoid such situation
    public function up(): void
    {
        Schema::connection('mongodb')->table('betradar_sports', function (Blueprint $collection) {
            if (MongoDb::hasColumn('betradar_sports', 'id')) {
                $collection->unique('id');
            }
        });
    }

Thanks for taking the time to give a little more context.
It seems to me that this use-case does not correspond to the purpose of this method in Laravel.
Here are a few comments:

The fact that the index is created conditionally if there is data in the field or not, seems flaky.
The state of the database migrations is stored in the database (in a MySQL table and a MongoDB collection), you should be able to rely on the migrations to know the state of your database schema.
If you want to ignore the error, wrap the $collection->unique('id'); in a try...catch.

@GromNaN So what is the purpose of this method then? I beleive that returning always true is also not the right purpose here.
Should this method not check if the column exists in the table or not?
I know, MongoDB is not using columns and also not tables but this package should handle MongoDB in this way, right?
So when you don't like this approach, what do you think about to have a seperate method here?

Schema::connection('mongodb')->table('table_name', function (Blueprint` $`collection) {
    if (Schema::hasField('table_name', 'myField')) {
        // My code ...
    }
});

You already added the hasCollection method into the Schema class so it would be similar to this.
Here I understand why @Alex-Belyi created this PR. As I remember, not all laravel features are implemented in this package.
If I am not wrong, when you do a fresh migration, the indexes in MongoDB are still saved into MongoDB.
Also this "try/catch" solution is not a real solution.
When there are duplicate values in the collection, the unique index will not be created at all.
Here it's hard to distinguish if a index already exists or an index can not be created because of duplicate entities.
Another issue can be that the migration table only exists in MySQL and not in MongoDB.
It would be nice to have some option to use a migration table per instance (one for MySQL and one for MongoDB).
Only then developers can rely on the migrations but I beleive this solution is not so easy to implement here. @GromNaN Do you think this would be possible?

Thank you @Alex-Belyi


HDDS-6947. Bump gson version to 2.9.0.

What changes were proposed in this pull request?
Bump gson version to a more secure one.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6947
How was this patch tested?
Clean build and tests.

Thanks, @adoroszlai!

Acceptance tests were canceled, no failures related to this change. Proceeding with merge.


The symbol LEV_NUM has too large a value

Reported by Ansley B Manke on 20 May 2008 17:10 UTC
yes? use coads_climatology
yes? shade/LEV=(0,10,1) sst[show symbol LEV_NUM
LEV_NUM = "11"
There are 10 levels on the plot: 0-->1, 1-->2, ... 9-->10.  That's correct; 1
through 10 inclusive.
When there are (-inf) and (inf) given then Ferret is using the same computation,
with the additional colors on each end.
yes? shade/lev=(-inf)(0,10,1)(inf) sst[L=1](L=1]
yes?)
yes? sh sym lev_num
LEV_NUM = "13"
So the levels are correct but there's a bug in the code that's saving the value
of LEV_NUM; it should say 12.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1581

Comment by<EMAIL_ADDRESS>on 10 Jun 2008 16:52 UTC
Fixed in tmapadds/setlab_syms.F  (checked in May 20)


[WIP][0.13] Separate multiple inherited interfaces with &

This replaces:
type Foo implements Bar, Baz { field: Type }

With:
type Foo implements Bar & Baz { field: Type }

With no changes to the common case of implementing a single interface.
This is a breaking change for existing uses of multiple inheritence. To allow for an adaptive migration, this adds a parse option to continue to support the existing experimental SDL: parse(source, {allowLegacySDLImplementsInterfaces: true})

Ref: graphql/graphql-js#1169

Coverage decreased (-0.006%) to 92.834% when pulling b8429575760cdcce48cccb3994378a180319f62d on danez:013-interfaces into 94525c00252696b47673db1ca56fe0436c5949be on webonyx:master.

As far as I understand this PR doesn't make sense as a standalone PR anymore? Or am I missing something?

I already ported this as a part of the work on v0.13


Make any updates to patient model to reflect CDC test case attributes

Needed for #51

Added gender and closing for now


⚠ Slack has degraded performance

In 974f6cf, Slack (https://status.slack.com/api/v2.0.0/current) experienced degraded performance:

HTTP code: 200
Response time: 279 ms

Resolved: Slack performance has improved in 1ee302a after 9 hours, 18 minutes.


Hyperapp v2 docs and examples

Do we have some examples or docs for the hyperappv2? I've found https://github.com/hyperapp/hyperapp/issues/672 Is it ok for learning how to ha2 works?

@jorgebucaran Could you please improve this example? It would be great if you add a subscribe  property to the app props.
I am not familiar with elm and elm's effects(commands). This is the hardest part of hyperapp2.0 to understand for me😊

Oh, I think If we pass just function to subscribe it will call on every action. Interesting...  https://codepen.io/anon/pen/oMzmrV?editors=1011

I played with the codepens posted above, and I'm curious about the subscribe functionality.  I know nothing about elm, which as I understand is the inspiration for hyperapp, and have not used hyperapp v1.  Are lifecycle events not needed in v2?  Is the subscribe functionality supposed to be all that is needed, and lifecycle events are no longer relevant?

Pen with effect: https://codepen.io/anon/pen/BPpjJY based on @SkaterDad 's comment

@dmitrykurmanov  In elm, the effects (aka. commands) are typically things like http requests, sending a message over websockets, or other "side effect" type things.
Your code that enforces a maximum value would fit more easily inside of the up function, in my opinion.  However, if you did need to trigger a side effect when that maximum is hit, you could return that effect.
const up = state => {
  const newState = state + 1;
  if (newState > 10) {
    return [10, sendMaxValueReport] // could be sending an http request to a logging service
  }
  return newState;
}

@SkaterDad Now it's more clear, thanks!

What about init? Can it be the object? Please see the example https://codepen.io/anon/pen/mjRzvQ with 'onCreate' of undefined error.

Here's a very minimal HAV2 example showing a random number use case: https://codepen.io/okwolf/pen/LBRmXj?editors=0010

@okwolf Nice!
I forked your pen and made it closer to what we'd do in Elm. We want actions that return a tuple of the next state and the effect, instead of attaching effects directly to DOM handlers.
https://codepen.io/anon/pen/ejvOvN?editors=0010
const Roll = state => [state, Random({ min: 1, max: 10, action: NewFace })]
const NewFace = (state, newFace) => ({ ...state, dieFace: Math.floor(newFace) })

app({
  init: Roll({ dieFace: 1 }),
  view: state => (

{state.dieFace}

      <button onClick={Roll}>Roll</button>

  ),
  container: document.body
})

@jorgebucaran thanks!
I had a few questions though:

Are we planning on removing the ability to directly attach fx to events at some point or was this just a stylistic change to make comparing to Elm more straightforward?
In this case, the state value is not composite and its previous value is not used at all to compute the next, so why use an object and tuples for such a minimal example when they aren't needed? Is this a consistency/idomatic thing? Should we even advertise that we can use non-objects for state and non-tuples for updates?
I noticed you set the initial state to always be a dieFace of 1.  This won't cause FOOC in this example, but imagine if the Roll action/command were delayed and animated to simulate the die rolling. Or perhaps there should initially be no value and require the user to roll to get one? The point is to avoid creating the appearance of having fairly rolled a 1 initially.
Why a d9 though? 😉

@jorgebucaran also FYI this pen has both the HA 1.2.8 UMD build (Settings -> JavaScript -> Add External Scripts/Pens) and HA 2 module source included. Sometimes it won't load for me.

@okwolf

Possibly. A future development build of Hyperapp (or middleware-enabled logger/debugger) would be unable to tell what action is updating the state in your example.

You could do this then:

const Roll = state => [state, Random({ min: 1, max: 10, action: NewFace })]
const NewFace = (_, newFace) => Math.floor(newFace)

app({
  init: Roll(1),
  view: state => (

{state}

      <button onClick={Roll}>Roll</button>

  ),
  container: document.body
})

FOUC. Then we should start with 0, don't display a number, or not roll on init.

For the record, Roll(1) returns a tuple of [1, Random(..)] which causes the state to be set to 1 and run the effect immediately after.

😄

Here's an HTTP example pen to play around with: https://codepen.io/okwolf/pen/BPRmNM?editors=0010

One more example: this time using WebSockets to show live order prices for a crypto that shall remain nameless: https://codepen.io/okwolf/pen/ejRWZb?editors=0010

@okwolf Thanks for those examples.  I like how this is shaping up.
I asked this question in the V2 PR, but will repeat here since your examples use effects.  What is the reason they are coded like this?
const randomEffect = (props, dispatch) => {
  const randomValue = Math.random() * (props.max - props.min) + props.min;
  dispatch(props.action, randomValue)
};

export const Random = ({ action, min = 0, max = 1 }) => ({
  props: {
    action,
    min,
    max
  },
  effect: randomEffect
});

Instead of this?
export const Random = ({ action, min = 0, max = 1 }) => dispatch => {
  const randomValue = Math.random() * (max - min) + min;
  dispatch(action, randomValue)
};

With the current form, hyperapp's runtime has to do some gymnastics to pass the props to the effect handling function after checking that it is an effect.  It would be simpler to just say: "hey, that 2nd array member is a function.  i'll just give it the dispatch function and move on".

@SkaterDad I made it this way for easier testing. In your implementation, calling Random({ action: MyAction }) produces a new function every time, making it harder (if not impossible) to test.
Does that make sense? I'll prepare an example for you in a moment.

@SkaterDad it's even more important to define your effect separately for subscriptions since one of the things Hyperapp compares between subs is the effect function. If you defined that as an anonymous new function then you would be unsubscribing and resubscribing quite often, which is bad for performance.

@okwolf Ditto.
@SkaterDad If your example was a subscription (because the effect function is different every time we evaluate the subscription) we'd always resubscribe, making the whole deal about subscriptions pointless.
About testing effects, consider this app:
const Roll = state => [state, Random({ min: 1, max: 10, action: NewFace })]
const NewFace = (_, newFace) => Math.floor(newFace)

app({
  init: 0,
  view: state => (

{state}

      <button onClick={Roll}>Roll</button>

  ),
  container: document.body
})

How do we test our actions?
First import what we need:
import { Roll, NewFace } from "./actions"

Next, let's test NewFace, it's so simple it hurts.
NewFace(null, 7) === 7 // Ok!

What about Roll? Well, our developer is saying that Roll returns a random number between 1 and 10 and calls NewFace with the result. So, it looks we need to import the Random effect too.
import { Roll, NewFace } from "./actions"
import { Random } from "@hyperapp/random"

Roll(null)[1] === Random({ min: 1, max: 10, action: NewFace })

or let's say you have your own assertions:
import { Roll, NewFace } from "./actions"
import { Random } from "@hyperapp/random"
import { testEffect } from "./test/util/testEffect"

testEffect(Roll, Random({ min: 1, max: 10, action: NewFace }))

@jorgebucaran Thanks for the detailed explanation.  The design makes a lot more sense now. :+1:

@jorgebucaran any idea why using JSX with HAV2 in a codepen is still causing this error: Uncaught SyntaxError: Unexpected token <?
For example.

@okwolf It's definitely a bug in CodePen, because some of my old pens that were working are now suddenly broken. It only happens when using modules.

@okwolf https://twitter.com/JorgeBucaran/status/1023026291463737344  🙏

@jorgebucaran, @okwolf  I've posted the pen with the problem to the codepen support. May be it will help.

@okwolf Do you have an example of @hyperapp/html doesn't work? Do you mean type=module doesn't work?

Thank you, @dmitrykurmanov for creating this issue.
V2 will include documentation when it's officially released!
Cheers! 👋


Bug: match.py fails to run with pandas >= 2.0.0

SPHINX fails to run when the active Python installation includes pandas version >= 2.0.0. This happens because the timedelta64 unit conversions (from nanoseconds to hours) in is_time_before() and is_time_before_thresh() are no longer available. Working on a quick fix via manual conversion.

My current module dependencies:
numpy==1.26.1
matplotlib==3.8.0
pandas==2.1.1
tabulate==0.9.0
astropy==5.3.4
scikit-learn==1.3.1
scipy==1.11.3
zulu==2.0.0
cycler==0.12.1
seaborn==0.13.0
PyPDF2==3.0.1
markdown==3.5

Dependencies listed in requirements.txt:
numpy==1.23.3
matplotlib==3.5.3
pandas==1.4.4
tabulate==0.9.0
astropy==5.1
scikit-learn==1.1.2
scipy==1.9.1
zulu==2.0.0
cycler==0.10.0
seaborn==0.12.0

Reverted to Python 3.10.5 to fall in line with established required dependencies.


Dashboard kuttl tests

Added new assertions for dashboard related objects
Make default suite just check for metricStorage Ready
Detailed tests are handled in the metricstorage suite

Testing
:exclamation:  This will currently fail the automated CI because it depends on a version of OBO/COO is that is not yet available in a catalog for reliable installation in a test, but I was able to verify it locally, like so:

Deploy openstack operators with no dataplane (Modified Steps 1-3 from README) CPUS=12 MEMORY=64000 DISK=100 make crc && make crc_attach_default_interface && cd .. && make crc_storage && make input && make openstack
Install OBO 0.2.0 pre-release bundle operator-sdk run bundle quay.io/gbernal/observability-operator-bundle:0.2.0-dev-1
Replace default telemetry-operator with local one (Steps 7 & 8 in README - I probably could have skipped this since there are no code changes in this patch, but I wanted to be fully up to date)
oc project openstack-operators && oc delete csv telemetry-operator.v0.0.1 && cd ~/telemetry-operator && oc delete -f config/crd/bases/ && oc apply -f config/crd/bases/ && make manifests generate && OPERATOR_TEMPLATES=$PWD/templates make run-with-webhook
Set up testing namespace using install_yamls make kuttl_common_prep heat heat_deploy NAMESPACE=telemetry-kuttl-tests
Run all kuttl tests from telemetry-operator the same way prow does [1]

kubectl-kuttl test --config ./kuttl-test.yaml --namespace telemetry-kuttl-tests
=== RUN   kuttl
    harness.go:462: starting setup
    harness.go:252: running tests using configured kubeconfig.
    harness.go:275: Successful connection to cluster at: https://api.crc.testing:6443
    harness.go:360: running tests
    harness.go:73: going to run test suite with timeout of 300 seconds for each step
    harness.go:372: testsuite: tests/kuttl/suites/autoscaling/ has 3 tests
    harness.go:73: going to run test suite with timeout of 300 seconds for each step
    harness.go:372: testsuite: tests/kuttl/suites/ceilometer/ has 3 tests
    harness.go:73: going to run test suite with timeout of 300 seconds for each step
    harness.go:372: testsuite: tests/kuttl/suites/logging/ has 3 tests
    harness.go:73: going to run test suite with timeout of 300 seconds for each step
    harness.go:372: testsuite: tests/kuttl/suites/default/ has 3 tests
    harness.go:73: going to run test suite with timeout of 300 seconds for each step
    harness.go:372: testsuite: tests/kuttl/suites/metricstorage/ has 3 tests
    harness.go:73: going to run test suite with timeout of 300 seconds for each step
    harness.go:372: testsuite: tests/kuttl/suites/tls/ has 3 tests
[...]
--- PASS: kuttl (196.28s)
    --- PASS: kuttl/harness (0.00s)
        --- PASS: kuttl/harness/deps#04 (0.00s)
        --- PASS: kuttl/harness/deps (0.00s)
        --- PASS: kuttl/harness/tests#03 (11.31s)
        --- PASS: kuttl/harness/output#03 (0.00s)
        --- PASS: kuttl/harness/deps#03 (0.00s)
        --- PASS: kuttl/harness/tests#02 (45.59s)
        --- PASS: kuttl/harness/output#02 (0.00s)
        --- PASS: kuttl/harness/deps#02 (0.00s)
        --- PASS: kuttl/harness/tests#01 (45.99s)
        --- PASS: kuttl/harness/output#01 (0.00s)
        --- PASS: kuttl/harness/deps#01 (0.00s)
        --- PASS: kuttl/harness/tests (33.96s)
        --- PASS: kuttl/harness/output (0.00s)
        --- PASS: kuttl/harness/deps#05 (0.00s)
        --- PASS: kuttl/harness/tests#05 (58.30s)
        --- PASS: kuttl/harness/output#05 (0.00s)
        --- PASS: kuttl/harness/tests#04 (1.06s)
        --- PASS: kuttl/harness/output#04 (0.00s)
PASS

/hold

Tests failed with retrieving API resource for observability.openshift.io/v1alpha1, Kind=UIPlugin failed: the server could not find the requested resource which was expected with COO 0.1.3.
COO 0.2.0 has since been released, and I confirmed that the subscription we use bring me the 0.2.0 version in my cluster, so I think the tests might pass now.

/retest

/unhold

/hold

I think it is good and ready to go, but I dont think we should be merging the PR right now. Let's wait until beta is released.

/unhold


feat: added binance market watcher service container for having estimates about your coins

Description
That is a followup from #308, in which I asked if there is some sort of need of automation about best and worst coin in the market, suggesting automatically if there are coins in your configuration which are doing bad and giving automatic advice about better and more profitable coins.
I created a new Docker container, using Python, Flask, Selenium and Firefox, to parse the Market Binance official page and gather data about the best and worst coins right now.
You just need to HTTP GET http://binance-market-watcher:9090/get-best-worst, and it will automatically spin up Firefox headless and gather the data for you!
How Has This Been Tested?
It has been tested locally and on a production machine of mine.
It currently just exists as a separate entity without any integrations into the main bot interface due to waiting for suggestions about where and how to use these sort of data and what features we can add to the bot with these.
At this point in time it just spins up and is unutilized.

Nice, didn't know that!
I was planning on making suggestions about better coins to insert directly on the bot, or trigger warnings or notifications about new opportunities.
I was also trying to figure out if there is a way to automatically inserting more favourable coins into the bot automatically (and leave other less good coins which are currently not in a trade session) in order to try to get the best deals out of it, but the idea is still at its infancy and I'm still studying how to do that efficiently.

Ok, that is good.
I think we better approach as small changes as possible.
But I guess we will need to decide what to do with that information first.
Possible approach:

Subscribe all symbols using WebSocket and save them to Redis.

Can Redis save that big data? Should use MongoDB? Or don't need saving at all?

If gonna show data to the frontend, how will it display?

Like Binance table way? Show all symbols? Or only quote assets added to the monitoring list?

If gonna suggest coins, how to determine?

Based on what conditions to suggest? How to configure the condition?

I think the idea needs to be more concrete before adding this feature.

Yeah, fore sure...

Redis should be able to save that big chunk of data, we need data only for the last hour to make some sort of statistic history or so, so that should not be a problem, we will flush old data pretty frequently

I would suggest coins based on minimum market cap (fixed or by using a parameter) and delta percentages between ticks, and with that get the best and worst coins available based on realtime trend and current 24h delta.

With point 3, I'd show this sort of data, not like the Binance Market page, but with added current coins handled by the bot to give the end user a table with rankings of their coins and how they differ from best and worst coins available.

One thing for sure, we need to switch to using WebSockets and do as little and easy changes as possible, so I'll close up this pull request and open a tracking Issue for this idea, maybe directly into #308

Yeah @ilbuonmarcio
As you probably already know, the bot is already using WebSocket to receive the realtime candles.
https://github.com/chrisleekr/binance-trading-bot/blob/master/app/server-binance.js
It Is just a matter of adding an extra subscription for getting all market data.
Let's continue to think about what can do with it.

Okay, so I was discussing some days ago with @pedrohusky on Discord about this feature, and we were thinking about proceeding this way:

Try and save the data every 3 seconds as per your miniTicker suggestion, up to 30 minutes, and "logrotate" the data so we don't hog Redis and/or Mongo in the process
We group data and then show the best 10 coins in the front interface, and warn the users if their coins is at the worst end of the table (that should be easy)
We start making suggestions about swapping currently traded coins which are not currently in a trade with more profitable coins, with a manual trigger action in the frontend interface (that should be medium difficulty)
Given the previous foundations ready, we start developing on the idea of autoswapping the coins as of per 3) but without asking for human interaction, and with some criteria yet to decide precisely

Thanks for the patience and the time dedicated to this project, hope you have a nice day as always :)


runSQL API support comments not starting in position 0 of a line

Changes
address issue #599.  Fixes SQL Statement if comments start anywhere besides position 0 in a line.
Tested:

Checklist

[x] have tested my change
[ ] updated relevant documentation
[x] Remove any/all console.logs I added
[x] eslint is not complaining
[ ] have added myself to the contributors' list in CONTRIBUTING.md
[x] for feature PRs: PR only includes one feature enhancement.

@beckhamrryyaann Just one comment before @worksofliam will do a review:
SQL does not require blank before or after the -- - the following is valid SQL:

So I would advice to change your test from --  to simply --...
(Sorry @worksofliam, couldn't resist! 😆)

@chrjorgensen has been fixed.  Ready for review.


Fetch packages from requirements.txt

Is your feature request related to a problem? Please describe.
I would like to use the output of pip freeze directly with the unearth cli.
Describe the solution you'd like
Add a -r, --requirements flag that takes a requirements file, and then operates on all the package descriptors in the file.
Describe alternatives you've considered
Writing a script to invoke unearth many times.
Additional context
pip download "supports" this (despite all its flaws).

It sounds good to me. Just that unearth won't do any dependency resolution, unlike pip. So child dependencies won't be fetched(like pip download --no-deps).
However, I will not get to this shortly. Feel free to take this and open a PR.


As a user who likes to celebrates my friends' birthdays I want to view different groups of my friends by the month so that I can better plan their celebrations

#97


Add AutoDataLoaderCreator

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (de1d52c) 100.00% compared to head (f6084c9) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #29   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           14        15    +1
  Lines          169       190   +21
  Branches         5         6    +1
=========================================
+ Hits           169       190   +21

Impacted Files
Coverage Δ

src/gtvision/creators/dataloader/__init__.py
100.00% <100.00%> (ø)

src/gtvision/creators/dataloader/auto.py
100.00% <100.00%> (ø)

src/gtvision/creators/dataloader/base.py
100.00% <100.00%> (ø)

src/gtvision/creators/dataloader/distributed.py
100.00% <100.00%> (ø)

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


[alert_handler] FSM and Counter hardening

The FSMs and counters inside the alert handler need to be hardened with sparse encoding / duplication.
CC: @tjaychen @moidx @cdgori

sounds good to me.
can you remind me was this one of the original review recommendations?

In general one of the recommendations was to avoid single points of failure. Hardening FSMs and duplicating counters helps against glitches in general, and makes some FIB attacks more difficult (although, it is hard to completely avoid single points of failure, unless we duplicate the whole alert handler logic).

sounds good.
did we already do a survey of where else counters like this need to be hardened? i know aes also did something similar, but i'm betting kmac / key manager / flash all fall into the same category but have not done the same.

Yeah I have the feeling that all security IP needs something like this.
Is there maybe a case for making a hardened counter primitive, or are these things "too custom" to turn into a primitive?

i feel like a hardened primitive would make sense (although to be honest i haven't thought a ton about it in terms of timers).
Otherwise we might end up in a situation where everyone does it slightly differently and that could be problematic later.
@cdgori

Yeah it sounds doable, although we may have to prepare 2-3 different flavors, depending on whether it's a up/down counter etc

The main FSMs and counters inside the alert_handler have now been hardened (see https://github.com/lowRISC/opentitan/pull/6839 and https://github.com/lowRISC/opentitan/pull/6750).


Extracting broccoli modules

First one we have extracted is:

https://github.com/ember-cli/broccoli-brocfile-loader

We plan to extract

builder
middleware
maybe more

@joliss would you like these moved to the broccolijs org?

Related: https://github.com/ember-cli/ember-cli/pull/6208
As I said in my comment there, let's finish up 1.0 and then split things.
And yes to moving things to the broccolijs org.

@joliss https://github.com/ember-cli/ember-cli/pull/6208#issuecomment-245048638


border short-hand breaks when using rgba(…) color

This:
.viewport .download a {
    border: rgba(255, 255, 255, .6) solid 1px;
    border-radius: 9999px;
    color: #fff;
    display: inline-block;
    font-size: 18px;
    padding: 10px 20px;
    text-decoration: none;
}

Gets turned into this:
.viewport .download a{border:rgba(255,255,255,.6) solid;border-radius:9999px;color:#fff;display:inline-block;font-size:18px;padding:10px 20px;text-decoration:none}

Note how the 1px was dropped from the border short-hand. This causes the border to have the wrong width.

Apparently we miss fuzzy matching for border properties, which, according to spec, come in

I just noticed the same bug with outline shorthand:
* { outline: 1px dotted rgb(255,0,0); } → *{outline:red dotted 1px}
* { outline: 1px dotted rgba(255,0,0,.5); } → *{outline:dotted rgba(255,0,0,.5)}
…The 1px is dropped resulting in initial outline-width of ~3px :fire:
However: it's not a problem with rgba() alone because an opacity value of 1 works:
* { outline: 1px dotted rgba(255,0,0,1); } → *{outline:red dotted 1px}
:ok_hand: rgba(0,0,0, 1)
:-1: rgba(0,0,0, .9) (outline-width is dropped)
My guess is that it's the same with the border shorthand.

PPS: It get's weirder
I just discovered the universal star * selector plays a part, as does :before and :after
Using these together with rgba() (with opacity < 1) causes the bug that drops the outline-width.
:-1: * { outline: 1px dotted rgba(0,0,0, .5); }
:-1: :before { outline: 1px dotted rgba(0,0,0, .5); }
:-1: :after { outline: 1px dotted rgba(0,0,0, .5); }
…combine these with another selector and they work:
:+1: body * { outline: 1px dotted rgba(0,0,0, .5); }
:+1: .foo:before { outline: 1px dotted rgba(0,0,0, .5); }
:+1: bar:after { outline: 1px dotted rgba(0,0,0, .5); }
The order of rgba() does not seem to matter with outline, by the way.
Should I create a different bug for outline?

@davidhund hmmm, that's odd as I can neither replicate it with 3.3.3 or 3.4.1, e.g.:
$> echo "* { outline: 1px dotted rgba(0,0,0, .5); }" | cleancss
*{outline:rgba(0,0,0,.5) dotted 1px}

Am I doing it correctly?
It looks like a separate issue, so please open a new one.

Weird. I get that too using either cleancss directly or using the gulp-minify-css version. Will look into it some more and open a separate bug.

Cool, thanks!

Sorry for the delay.
This bug has been fixed on 3.4 for quite a while. It works OK on master too.
Tests are already in place since d72356a5.


Bugfix for PE1 (Issue #157)

Resolves #157

Coverage decreased (-0.02%) to 77.84% when pulling f7b12fe14c430daf8d511bcba276eae4911434eb on elstonayx:elstonayx/bugfix_for_pe1 into 7fcdf599d2f340ca307da3358e9d0e76c20c0b2f on CS2113-AY1819S1-W12-1:master.

Do you mind helping me add the "matchSchedule" alias "ms" command and "clearSchedule" alias "cs" command into the prediction?

Do you mind helping me add the "matchSchedule" alias "ms" command and "clearSchedule" alias "cs" command into the prediction?

Its done in PR #202

Bug fixed


dmg_bios.bin download fails if you don't already have the GB core installed

It appears that it doesn't try to create the directory first if the core hasn't been installed previously. Once I installed the GB core manually the updater script was able to install this and the remaining cores without issue (though I already had the GBC core so not sure if the same issue affects that installation as well).
Here is the program output from before I installed the Spiritualized1997 GB core manually:
Analogue Pocket Core Updater v1.3.0
Checking for updates...
Download master cores list file from github? (This will overwrite your current file) [y/n]:
yDownloading...
Download complete:
D:\/auto_update.json
Starting update process...
Starting Repo: openFPGA-GBA
v1.2.0 is the most recent release, checking local core...
local core found: v1.2.0
Looking for BIOS
BIOS file already installed: gba_bios.bin
Up to date. Skipping core
------------
Starting Repo: openFPGA-GB-GBC
v1.3.0 is the most recent release, checking local core...
local core found: v1.3.0
Looking for BIOS
BIOS file already installed: gbc_bios.bin
Downloading dmg_bios.bin
Unhandled exception. System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\assets\gb\common\dmg_bios.bin'.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
   at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
   at pannella.analoguepocket.HttpHelper.DownloadFileAsync(String uri, String outputPath)
   at pannella.analoguepocket.PocketCoreUpdater.SetupBios(Bios bios)
   at pannella.analoguepocket.PocketCoreUpdater.RunUpdates()
   at Program.Main(String[] args)
   at Program.<Main>(String[] args)

hey thanks for this, it's a side effect of the gb core not being properly installed after they split gb and gbc into separate releases. I'll fix it soon

Just hit this on 1.4.
I just created the directories and it worked after that.

yeah that will fix it. sorry I haven't gotten around to this yet. but it's relatively quick to clean up. thanks!

2.0.1 seems to have resolved this issue


App download is not working

@goldi0002 what is not working? can u clarify?

You have mentioned a link to download from GitHub but that is not working

you can download the apk from dl.textbee.dev . If it doesn't work please tryhttps://github.com/vernu/textbee/releases/download/v2.3.1/TextBee.v2.3.1.apk

Thanks

One more things i want to know is this able to send MMS also textBee ?

One more things i want to know is this able to send MMS also textBee ?

At the moment MMS is not supported, But it will be implemented in the future if there's a demand.


Exporting Collections of Nodes?

Hi @BrendanParmer ,
Thanks for this wonderful tool. I've recently been playing with @BradyAJohnston 's fantastic  MolecularNodes, which is implemented as a set of domain-specific GeometryNodes for making beautiful scientific illustrations. I have been interested in building some visualizations on top of MN but have found the devcycle to be a bit tricky and have therefore been exploring using NodeToPython to export his Nodes as python classes with the idea that I would be able to build up higher-level nodes in the GUI but then save and manipulate them via the python API.
I've got a working example of looping through all of the Nodes in his package and exporting them individually as files. The repo is here: molnodes-utils. Theres  a few questions I would love to ask your opinion on:

Would it be straightforward to export collections of Nodes instead of one-at-a time? I am currently hacking my way around your export system.
Would it be possible to extend the export system to add imports for custom nodes? For example the MN_units class creates and uses an MN_world_scale Node which is defined in a seperate class/file. It would be nice to add that to the __init__.py that is exported
I wrote a conversion script that loops across Nodes  files and outputs each Class as a python file. Its a bit hacky and I would love suggestions/feedback you might have.
I am interested in your opinion on the best workflow for how to develop on top of your code - e.g. do you have a recommended cycle of building and deploying? MN build and deposits a .blend file but it would be wonderful to have a full CI/CD system for iterating new features.

In short, you have developed a wonderful tool that I would like to use  and would appreciate you input on and of the above problems. Note that to get nodetopython to work I did fork it so I could use pip to install/use your v3.2 branch as a library (git coords here)
Thanks again,
zach cp

Hi @zachcp,
Thanks for your feedback!
1-2.) I like the idea of being able to export multiple node groups into one add-on. The hacky way to do this right now would be to include them all into one meta node group and export that, but having built-in support so they all go in their own files could be really nice.
3.) Skimming through your script it looks alright to me. At some point I'll probably add a feature that allows you to export the addon unzipped. Only thing I'd recommend is to make sure that you're following the terms of the licensing, specifically in regards to converting the node group assets to Python. I'm not a lawyer and this shouldn't be considered legal advice, but from what I can tell it seems like it could be a bit of a legal gray area. To remove any ambiguity, it's probably best to reach out to Brady and make sure what you're doing with his assets is okay.
4.) Right now I unfortunately don't have a lot of suggestions in terms of the development process. Script mode exports are nice for playing around with the Python side without leaving Blender, and if you use VSCode, Jacque Lucke's Blender Development extension is really helpful for developing add-ons. I'm very interested in feedback on what pain points people encounter and what features or improvements they'd like to see.

Thank you @BrendanParmer . I will make sure to stay in contact with Brady RE the use of his assets. Thanks again for your great package and your feedback.

Tracking https://github.com/BrendanParmer/NodeToPython/issues/122


[2.0] Restrict conflict with php-http/client-common

In #658 I did found an issue with php-http/client-common 1.8.0, precisely https://github.com/php-http/client-common/issues/109. The problematic code is now reverted, so we can reduce the conflict constraint to the only bugged version.

Damn, build is now failing due to https://github.com/php-http/message/pull/100


New privacyProEligible filter for experiments

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

#4967  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @nalcalag and the rest of your teammates on  Graphite


SAK-50526 conversations Improve upvoting and reactions

https://sakaiproject.atlassian.net/browse/SAK-50526


chore: set up coverage

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


hubble: switch to google.golang.org/protobuf

Use the google.golang.org/protobuf/* packages instead of their deprecated counterparts in github.com/golang/protobuf. Note that api/v1/hubble still uses the deprecated packages due to the fact that is uses an older version of protoc-gen-go. An attempt to update it is in progress in #13405. Still, we can already use the types from the new packages and assign them to the API fields because the deprecated package type aliases them to the new package's type, e.g. https://github.com/cilium/cilium/blob/9a4c693580ba7e931faf8c9f27832470a05660f1/vendor/github.com/golang/protobuf/ptypes/timestamp/timestamp.pb.go#L15
See individual commit messages for more details.
As previously suggested in https://github.com/cilium/cilium/pull/14168#discussion_r530375980. Following cilium/hubble#452 which did the same for the Hubble CLI.

test-me-please

test-me-please

retest-4.19

retest-4.19

retest-runtime

retest-runtime

Hit #14640 (https://jenkins.cilium.io/job/Cilium-PR-Runtime-4.9/3337/)

Hit #14640 (https://jenkins.cilium.io/job/Cilium-PR-Runtime-4.9/3337/)

retest-net-next

retest-net-next


main file change dist/ng-alertify.js

main file change dist/ng-alertify.js because of I'm getting this error when i run grunt serve dependency injection loads ng-alertify.js in root of ng-alertify directory in bower_component. ng-alertify.js in root gives some errore Error: Missing alertify object(…)

thank you very much!


ausarbeitung.synctex(busy) file is not on .gitignore

At least this file gets generated on my windows machine instead o the normal         ausarbeitung.synctex.gz(busy).
I had a look at https://github.com/github/gitignore/blob/master/TeX.gitignore and saw that it is also listed in there.
Think it should be ok to add it .gitignore
Any reasons not to add it?

Follow up: I included all updates from https://www.gitignore.io/api/latex,jabref,microsoftoffice,libreoffice,emacs in 843c5904fe616b256cfce1cec0dbfc68d60e6cbe. Thank you for the reminder.


user.load() raises IndexError with certain profile(s)

When I try to load the profile of the user "Centzilius" with
session.user('Centzilius').load()

(where session is a valid Session())
python3-mal raises an IndexError:
  File "C:\Users\USER\PycharmProjects\nextbot\plugins\mal.py", line 194, in get_user
    user = self.session.user(query).load()
  File "C:\Users\USER\AppData\Local\Programs\Python\Python36\lib\site-packages\myanimelist\user.py", line 639, in load
    self.set(self.parse(utilities.get_clean_dom(user_profile)))
  File "C:\Users\USER\AppData\Local\Programs\Python\Python36\lib\site-packages\myanimelist\user.py", line 390, in parse
    total_match = re.match(r'/(?P<total>[0-9]+)', temp.xpath("./following-sibling::text()")[0])
IndexError: list index out of range

The problem is the line
total_match = re.match(r'/(?P<total>[0-9]+)', temp.xpath("./following-sibling::text()")[0])

in user.py - temp.xpath("./following-sibling::text()") returns two lists (I don't know why though). One with the correct data and an empty list:
['/12\n                    ·             Scored\n      -']
[]

If you wrap the line in a try....except statement and set total_match to None like this:
try:
    total_match = re.match(r'/(?P<total>[0-9]+)', temp.xpath("./following-sibling::text()")[0])
except IndexError:
    total_match = None

it seems to work, although this looks more like a workaround (I don't know which side effects it has).

Fixed it. The project will need better unit tests with mock http responses some time.


Only root route seems to work for me.

router.setRoutes([
{path: '/', component: 'test-pageone'},
{path: '/pageone', component: 'test-pageone'},
{path: '/pagetwo', component: 'test-pagetwo'},
{path: '(.*)', component: 'test-pagethree'}
]);
http://localhost:5000/  <= loads pageone component
http://localhost:5000/pageone <=404
http://localhost:5000/pagetwo <=404
http://localhost:5000/somethingforwildcar <=404
Is my notation wrong?  I have switched up the routes, basically any component set to load for root works. So the problem is not the components.

The notation seems to be correct. Unfortunately, I cannot reproduce this issue in a test.
Vaadin Router should throw a "Page not found" error in console instead of showing any 404 pages when a route is not found.
If you see a 404 page, I guess this is because of your development server. Please make sure it responds your application’s index.html on every request to be handled with client-side router, including /, /pageone, /pagetwo, /somethingforwildcard and so on. Often that is done with a wildcard route on the server, for example, with Express: https://gist.github.com/ryanoglesby08/1e1f49d87ae8ab2cabf45623fc36a7fe

well ya...that makes a lot of sense...I was wondering what magic was being deployed that it was routing without hashes....  :)   I will check that example but one would think that the ever popular npm "serve" would handle this

Yup that did it.  I used this one https://github.com/lukejacksonn/servor#readme
....but...now if I want to route without hashes I have to be able to configure S3 static hosting the same way...ugh

What does one call this... hashless routing?

https://medium.com/@P_Lessing/single-page-apps-on-aws-part-1-hosting-a-website-on-s3-3c9871f126
This article seems to address this, just completing this thread for others.

Thanks for the links. Let me close the issue, as configuring web servers is not in scope of this project.


Support user-managed paint calls

Motivation
Right now yakui really wants to manage its own meshes, textures, and paint calls. It would be useful to be able to hook an external renderer into yakui for custom widgets.
Use cases

Custom text rendering (people get really into having their cool text effects, that don't necessarily belong inside yakui)
Rendering game elements inside UI widgets, particularly 3D models
Widgets with custom shader effects (without having to render to an intermediate texture)

API Proposal (rough)
Seeing yakui as primarily a layout engine and API for building UI, I think the right API for this is an extension API. Rather than packing more types of rendering and widget features into yakui itself.
In PaintDom addition to
    /// Add a mesh to be painted.
    pub fn add_mesh<V, I>(&mut self, mesh: PaintMesh<V, I>)

also support
    /// Adds a user-managed paint call to be painted
    /// This expects the user to handle the paint call in their own renderer
    pub fn add_user_call(&mut self, call_id: UserPaintCallId) {

PaintCall will then be restructured to include user calls:
#[derive(Debug)]
#[non_exhaustive]
#[allow(missing_docs)]
pub struct PaintCall {
    pub call: PaintCallType,
    pub clip: Option<Rect>,
}

/// A user-managed ID for an externally managed paint call
pub type UserPaintCallId = u64;

#[derive(Debug)]
#[allow(missing_docs)]
pub enum PaintCallType {
    Internal {
        vertices: Vec<Vertex>,
        indices: Vec<u16>,
        texture: Option<TextureId>,
        pipeline: Pipeline,
    },
    User(UserPaintCallId),
}

The existing render backends (yakui-vulkan, yakui-wgpu) ignore any User calls for their standard paint methods and just draw internal ones, making the API change non-breaking and opt-in.
An example of how yakui-vulkan would be extended to support user calls can look like:
    /// Paint the specified paint calls using the provided [`VulkanContext`]
    /// The provided closure will be called with the [`VulkanContext`] and the `vk::CommandBuffer`
    /// to allow the user to record additional draw calls.
    /// [...]
    pub unsafe fn paint_with_user_calls(
        &mut self, // [...]
        mut user_call_cb: impl FnMut(&VulkanContext, vk::CommandBuffer, UserPaintCallId),
    );

    /// Render the draw calls we've built up
    ///
    /// The provided closure will be called on any user-managed draw calls. The callback should
    /// return `true` if the pipeline should be re-bound after the user call.
    fn render(
        &self, // [...]
        mut user_call_cb: impl FnMut(&VulkanContext, vk::CommandBuffer, UserPaintCallId) -> bool,
    )

I will happily provide a PR for this if it's a desired change!

This addresses #17 as well but in a more general way that allows other rendering hooks. But the API is a bit more complex than the one proposed in that issue.

@HexyWitch We've been experimenting on this issue (perhaps not the approach described here, though) for wgpu over at https://github.com/automancy/yakui
Still not in a stage able to be extracted into a PR (we've been ironing out issues...) but worth looking at?


Add unique identifiers to  elements so that the lambda function knows how to generate the screenshot and PDF

The user must be able to download a PDF version of the  component: https://github.com/FrontEnd-ro/frontend.ro/issues/432
In order to do this, we need to

identify the  element so that in the lambda function we hide everything else.
identify children of the  element we want to hide (eg: Share button)

Done!


Review each item of documentation in develop branch

Task to review - read through and make comments about - each separate documentation file in the /docs/ folder.
This will help give an idea of what each piece of documentation gives information about, and we'd like comments on if the document is clear, understandable or missing any information, and ideas for what we should add.
This should be done by 12th June, commenting on each file so we know each one has been reviewed.

Suggest @XUEXUEXUE0 creates an issue branch doc-review-185 for any edits to the documentation as a result of the feedback.

We need to review this, recommend for 1st July dev meeting.

@XUEXUEXUE0 will finish the review and make comments, by 6th July.
We request:

make suggested edits to documentation on doc-review-185 branch.
list which files have been reviewed on this issue thread, even if they have not been changed.
ask any questions about missing documentation on this issue thread.

Actually this comment is from my research proposal marker. I cited the workflow image from docs/image in my research proposal.
The markers said the image was difficult to read at this font size, and also difficult to understand. And I agree. Maybe we should use a larger font and make the image easier to understand?

Could we move the testing.md in docs/developer to docs/user folder so that users understands what is happening about the riboviz tests in install.md?
Also, I find there is no troubleshooting about the regression tests. What if the regression tests fail? I mean the first time I ran the regression tests, it did not pass. But I cannot fix the error. Finally Mike helped me fix the error.

When I click the enviroment.txt , it says 404. Maybe we should upload the  enviroment.txt file?

Do we need to have another file like run-example-dataset.md to teach users who cannot use Eddie to run full size example dataset?

@FlicAnderson, @XUEXUEXUE0 and @ewallace discussed in dev meeting 15/07.

Regression tests are how users check that riboviz is installed correctly. So we do need some user-facing documentation on how to use regression test fails to troubleshoot an installation problem.

Discussed on 05 Aug 2020.


Add icon buttons and styling of form inputs

In this PR:

Add uniform styling for icon buttons in colors blue (e.g. refreshing) and red (e.g. deleting)
extract styling of form input types form-input and form-select to an own form-input.css in assets

Reason for Changes:

styling for icon buttons and form input now is bundled -> reusable
bundling guarantees a uniform style thoughout the whole website
simplifying changes of one certain class for the whole website

Notes:
I was not able to use my own css styling combined with the default styling (e.g. "form-input"). Definitions like 'class="form-input myAdditionalFormInputStyling" did not work for some reason. Hence I had to define the css styling for the whole component (extracted from the original e.g. "form-input" definition).

I updated the border saturation to border-blue-400 (analoguous to the red one).


Doesn't work with stencil web component

Stencil does as many things asynchronous as it can; This requires use of setTimeout instead of requestAnimationFrame at https://github.com/chromaui/storybook-addon-pseudo-states/blob/main/src/withPseudoState.js#L118 ; that gives stencil time to initialise
Still unclear to me, but it never reaches if (shadowRoot) shadowHosts.add(shadowRoot.host); for my web component
It seems to throw an exception on the sheet.insertRule(newRule, index); line; newRule = ":host(:active), :host(.pseudo-active) :host(), :host(:focus), :host(.pseudo-focus) :host() { outline: currentcolor none medium; }", index = 4, "An invalid or illegal string was specified"; the original cssText = ":host(:active), :host(:focus) { outline: currentcolor none medium; }"

Could you add a story for this stencil component so I can debug?

Could you add a story for this stencil component so I can debug?

@jpzwarte Is this still an issue? I'm happy to accept a PR for Stencil support, but can't devote any time to it myself. Closing this issue because it's been stale for a long time.


Add DataColumns to IndexDescription

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

IndexDescription does not contain DataColumns attribute, although it is available in protobuf message
Issue Number: N/A
What is the new behavior?

DataColumns are set to IndexDescription from protobuf messate

Other information

Codecov Report
Base: 60.07% // Head: 36.39% // Decreases project coverage by -23.68% :warning:

Coverage data is based on head (ff1e019) compared to base (63b13ee).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #485       +/-   ##
===========================================
- Coverage   60.07%   36.39%   -23.69%
===========================================
  Files         241      147       -94
  Lines       26109    19082     -7027
===========================================
- Hits        15684     6944     -8740
- Misses       9450    11739     +2289
+ Partials      975      399      -576

Flag
Coverage Δ

1.16.x
36.06% <0.00%> (-23.24%)
:arrow_down:

1.18.x
36.41% <0.00%> (-23.55%)
:arrow_down:

1.19.x
36.36% <0.00%> (-23.42%)
:arrow_down:

connection
?

database_sql
?

discovery
?

e2e
?

integration
?

macOS-latest
36.35% <0.00%> (-0.02%)
:arrow_down:

ratelimiter
?

scripting
?

table
?

topic
?

ubuntu-latest
36.39% <0.00%> (-23.65%)
:arrow_down:

unit
36.39% <0.00%> (-0.08%)
:arrow_down:

windows-latest
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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

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


enable quoted option in send message to reply a message

This feature allows users to mention a message sending the original message as a parameter in options object.

Hello!

According to the opinion of the project, it is also necessary to create the validations, in the file validate.schema.ts to quote the message.

The citation of the message can be in 3 ways:

You may receive the entire message;
It may receive the key.id, if the store for the messages.upsert event is active;
You can receive the _id of the message if the database is activated.

Adjust the code for this idea and the pull will be parsed and accepted.


Place link to Cookie Policy page in Footer

To allow ease of access for users who wish to change their settings.
Priority = 21: economic 0, urgency 10, strategic importance 3, cost 8

The lack of an easy option to find/change the cookie policy options is a bit of a concern - not sure if this conflicts with GDPR or not (a user must be able to change their settings) although I am sure there is a route to the page somewhere. It is, however, rather infuriating and an easy change i'm sure. This should be included in the footer for FreeBMD2.

Seems to have been implemented in Great Merge.
Reference to .freereg2_session - does the refinery page need updating to .freecen_session ???

It's there so closing.


Output Options

#1693 : User can turn off individual results
#1530 : User can now automatically compress individual results
Turning off individual results does not prevent .mzID files from being written. These files can still be compressed.

looks good to me
I'd prefer if these 2 options were in the advanced settings, though if others think that they are OK where they are, it's fine w/ me. i just think the basic settings should be as minimal and obvious as humanly possible - the bread and butter stuff. i think someone starting with metamorpheus won't necessarily know what an individual file result is or if it should be enabled or disabled


Coovachilli support

Hello Mr. Muffy/Team
i have his scenario at hand and i need help from your development team.
I have an internet IP from my ISP as : <IP_ADDRESS>  <IP_ADDRESS>.  I want to use coovachilli as my captive portal instead of a Mikrotik router.  I have successfully installed radiusdesk on my server ( ubuntu server 14.04 64bits),  and i have also installed coovachilli 1.3.0 on the same server.  The truth is am confused on the steps to take. Please if you can help me outline all the steps to take inorder to run coovachilli on the server.
Thanks for all the Support. God Bless!
I used to chat you on whatsapp before, but i lost your contact. my number is: +2348162661972 if you can chat me too. Thanks again.

Hello Terry, I think you should details this for me in an email: muffycompoqm[at]gmail[dot]com

Hello Mr. Muffy/Team
i have his scenario at hand and i need help from your development team.
I have an internet IP from my ISP as : <IP_ADDRESS>,
Gateway:<IP_ADDRESS>, Subnet:  <IP_ADDRESS>.
I want to use Coovachilli as my captive portal( where users will
authenticate with a username and password ) instead of a Mikrotik router.
I have successfully installed radiusdesk using your installer on github on
my server ( ubuntu server 14.04 64bits).
I have also installed Coovachilli 1.3.0 on the same server.

The truth is am confused on the steps to continue in configuring the
Coovachilli to work with the radiusdesk. Please if you can help me outline
all the steps or tutorials to take inorder to run coovachilli successfully
with radiusdesk on the server. I have gone through a video tutorial you did
sometime but it didn't help me.
I really appreciate your time and thanks for all the Support. God Bless!
Secondly i have also gone through  a project you did on ais_portal in 2013
on github: ( https://github.com/muffycompo/ais_portal).
I downloaded the zip file and put on my wamp server. But when i run the url
on the browser, it simple just list out the application file on my browser.
It means there is no index.php. What do you say??.
Thanks
On Tue, Mar 29, 2016 at 1:32 AM, Mfawa Alfred Onen<EMAIL_ADDRESS>
wrote:

Closed #21 https://github.com/muffycompo/radiusdesk-installer/issues/21.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/muffycompo/radiusdesk-installer/issues/21#event-605961500

Hello Mr. muffy,
Hope your day is fine? I hope what i explained above is explicit for you.
I am patiently waiting on your response.
Thanks
On Tue, Mar 29, 2016 at 9:05 AM, Tohlah Akuchu<EMAIL_ADDRESS>wrote:

Hello Mr. Muffy/Team
i have his scenario at hand and i need help from your development team.
I have an internet IP from my ISP as : <IP_ADDRESS>,
Gateway:<IP_ADDRESS>, Subnet:  <IP_ADDRESS>.
I want to use Coovachilli as my captive portal( where users will
authenticate with a username and password ) instead of a Mikrotik router.
I have successfully installed radiusdesk using your installer on github on
my server ( ubuntu server 14.04 64bits).
I have also installed Coovachilli 1.3.0 on the same server.

The truth is am confused on the steps to continue in configuring the
Coovachilli to work with the radiusdesk. Please if you can help me outline
all the steps or tutorials to take inorder to run coovachilli successfully
with radiusdesk on the server. I have gone through a video tutorial you did
sometime but it didn't help me.
I really appreciate your time and thanks for all the Support. God Bless!
Secondly i have also gone through  a project you did on ais_portal in 2013
on github: ( https://github.com/muffycompo/ais_portal).
I downloaded the zip file and put on my wamp server. But when i run the
url on the browser, it simple just list out the application file on my
browser. It means there is no index.php. What do you say??.
Thanks
On Tue, Mar 29, 2016 at 1:32 AM, Mfawa Alfred Onen <
<EMAIL_ADDRESS>wrote:

Closed #21 https://github.com/muffycompo/radiusdesk-installer/issues/21
.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/muffycompo/radiusdesk-installer/issues/21#event-605961500

Hello Terry, the installer also allows you t setup CoovaChilli. Watch the Walk through Video I made and towards the end, I pointed out how to enable CoovaChilli support in the roles variable file. Let me know when you've checked it out so that we can proceed from there.

Hello Mr. Muffy, I have enabled the coovachilli support. Here is a
screenshot.
Thanks
[image: Inline image 1]
On Tue, Apr 5, 2016 at 5:50 PM, Mfawa Alfred Onen<EMAIL_ADDRESS>wrote:

Reopened #21
https://github.com/muffycompo/radiusdesk-installer/issues/21.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/muffycompo/radiusdesk-installer/issues/21#event-615483037

Muffy i installed the radiusdesk from ur installer guide line. Unable to get dynamic dns working with mikrotik. It doesnt detect the mikrotik nas in dynamic dns. Thanks

My email is<EMAIL_ADDRESS>and<EMAIL_ADDRESS>I can give u the access if u want. thanks


DevSite Import: Batch

Notice: This DevSite page will soon be deleted per b/133171590. Please add this sample to GitHub if it is relevant still:
https://developers.google.com/api-client-library/python/guide/batch

Batch

    Each HTTP connection that your application makes results in a certain amount of overhead.
    This library supports batching,
    to allow your application to put several API calls into a single HTTP request.
    Examples of situations when you might want to use batching:

      You have many small requests to make and would like to minimize HTTP request overhead.

      A user made changes to data while your application was offline,
      so your application needs to synchronize its local data with the server
      by sending a lot of updates and deletes.

Note: You're limited to 1000 calls in a single batch request.
    If you need to make more calls than that, use multiple batch requests.

Note: You cannot use a
    media upload
    object in a batch request.

Details

    You create batch requests by calling new_batch_http_request() on your service
    object, which returns a
    BatchHttpRequest
    object, and then calling add() for each request you want to execute.
    You may pass in a callback with each request that is called with the response to that request.
    The callback function arguments are:
    a unique request identifier for each API call,
    a response object which contains the API call response,
    and an exception object which may be set to an exception raised by the API call.
    After you've added the requests, you call execute() to make the requests.
    The execute() function blocks until all callbacks have been called.

    In the following code snippet,
    two API requests are batched to a single HTTP request,
    and each API request is supplied a callback:

See below

    You can also supply a single callback that gets called for each response:

See below

    The
    add()
    method also allows you to supply a request_id parameter for each request.
    These IDs are provided to the callbacks.
    If you don't supply one, the library creates one for you.
    The IDs must be unique for each API request,
    otherwise add() raises an exception.

    If you supply a callback to both new_batch_http_request() and add(), they both get called.

def list_animals(request_id, response, exception):
  if exception is not None:
    # Do something with the exception
    pass
  else:
    # Do something with the response
    pass

def list_farmers(request_id, response):
  """Do something with the farmers list response."""
  pass

service = build('farm', 'v2')

batch = service.new_batch_http_request()

batch.add(service.animals().list(), callback=list_animals)
batch.add(service.farmers().list(), callback=list_farmers)
batch.execute(http=http)

def insert_animal(request_id, response, exception):
  if exception is not None:
    # Do something with the exception
    pass
  else:
    # Do something with the response
    pass

service = build('farm', 'v2')

batch = service.new_batch_http_request(callback=insert_animal)

batch.add(service.animals().insert(name="sheep"))
batch.add(service.animals().insert(name="pig"))
batch.add(service.animals().insert(name="llama"))
batch.execute(http=http)

Before closing this issue, if adding this sample, see
https://b/65590380

The docs are now added to the docs/ folder.
Fixed with #706.

When I go to https://github.com/googleapis/google-api-python-client/tree/master/docs, I don't see a batch.md file. The hyperlink in https://github.com/googleapis/google-api-python-client/blob/master/docs/performance.md under the Batch header (https://github.com/googleapis/google-api-python-client/blob/master/docs/batch.md) results in a 404


Slow tmux startup time (almost 1s) when plugin is enabled

Is there an existing issue outlining your problem?

[X] I have searched the existing issues and they do not solve my problem.

Describe your problem.
Starting a new tmux sessions takes almost 1 second! When the plugin is disabled it only takes about 100ms.
I also tried to use sh which on my system is just a symlink to bash but without customizations from ~/.bashrc, and zsh which I just installed and configured with new-user function.
The problem still presents itself in any shell, and doesn't present when all catpuccin related lines are commented out in tmux.conf, and thus I isolated it to catpuccin.

# Use vim keys to move between panes
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R

set-option -g status-position top

# TPM
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'catppuccin/tmux'

set -g @catppuccin_flavour 'mocha'
source-file ~/.config/tmux/catppuccin/config3.conf

# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'github_username/plugin_name#branch'
# set -g @plugin 'git@github.com:user/plugin'
# set -g @plugin 'git@bitbucket.com:user/plugin'

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

Attach screenshots.
Catpuccin commented out:

Catpuccin enabled with defaults:

The time varies between >500ms and <1000ms
What tmux version are you seeing the issue on?
tmux 3.4
Any additional comments?
config3.conf (in the tmux.conf) is one of the example configs you offer, the problem happens even removing that line, thus using the hard-coded defaults in the plugin's scripts
Terminal: Alacritty
OS: Fedora Linux 40
WM: Hyprland
Directory Tree:
.dotfiles/.config/tmux (symlinked to .config/tmux)
├── catppuccin
│   ├── config1.conf
│   ├── config2.conf
│   └── config3.conf
├── plugins
│   ├── .keep
│   ├── tmux
│   └── tpm
├── tmux.conf
└── tmux.conf.old

The sleep time is so tmux doesn't spit random string of characters because it's closed too fast, even without that the timing sometimes went up to >900ms.
Just subtract it for an "accurate" timing.

I am currently working at speeding this up in #240 any feedback is welcome.
The main problem is tmux is currently called once per option PR 240 tries to batch this.

I've seen another similiar PR #29 which was already merged, what happened with that?

Was it fixed? It now seems to start blazingly fast

I noticed it only happens when you start the first session and thus tmux-server, if I start a session when the server is already running it's fast

That is because it only runs during server start. If the serve/socket already exists it just attaches to it.

batching of tmux show-options (#240) has been merged so first startup should be a lot faster now.


Export to R2RML blank nodes

When exporting to R2RML could the export preserve the mappingIds as at least the label of the rr:TriplesMap

Fixed by #162


chore: release 1.2.329

:robot: I have created a release *beep* *boop*
1.2.329 (2024-10-01)
Bug Fixes

build: allow usage of non-final images for specific commands (9a7cb0a)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/werf/werf/releases/tag/v1.2.329 :sunflower:


automatically detect iface in docker multi-node

automatically selecting network interface by choosing default route - at least better than eth0

Outputs eth0 for me, which is my default iface, so LGTM.
Seems resonable... @cheld Have you tested it with another default iface?

enp0s3 on Ubuntu & CentOS - which is just another name for eth0. Not tested with wifi yet

LGTM


logstash-2.3.1 and kafka-0.9  error

Please post all product and debugging questions on our forum. Your questions will reach our wider community members there, and if we confirm that there is a bug, then we can open a new issue here.
For all general issues, please provide the following details for fast resolution:

Version: current
Operating System: win7

i follow guide code. but logstash start error,and standard stdout is ok.
error msg:
cmd-> logstash.bat -f logstash.conf io/console not supported; tty will not be manipulated fetched an invalid config {:config=>"input {\n  file {\n    path => \"D:\\l ogs\\app\\action.log\"\n  }\n}\n\noutput { \n\tstdout { \n\t\t\tcodec => dots \n \t\t} \n\tkafka { \n\t\tbroker_list => \"localhost:9092\" \n\t\ttopic_id => \"te st\" \n\t\tcompression_codec => \"snappy\" \n\t\t} \n}\n\n#output {\n#    stdout  {}\n#}\n", :reason=>"Could not find jar files under D:/Program Files/logstash-2 .3.1/vendor/local_gems/9ef8ef4f/logstash-output-kafka-3.0.0.beta2/vendor/jar-dep endencies/runtime-jars/*.jar", :level=>:error} The signal HUP is in use by the JVM and will not work correctly on this platform

i can`t find jar in logstash and logstash-kafka plugin path.
related to version?

@zhao141. I believe this problem was fixed in the latest commit and was released recently: 3.0.0.beta3
do you mind updating your plugin from beta2 to beta3 by running the following in your logstash directory
$ bin/logstash-plugin install --version 3.0.0.beta3 logstash-output-kafka

hope that helps!

im try. but same mistake. D:\logstash-output-kafka-master>gem build logstash-output-kafka.gemspec
WARNING:  open-ended dependency on logstash-codec-plain (>= 0) is not recommende
d
if logstash-codec-plain is semantically versioned, use:
add_runtime_dependency 'logstash-codec-plain', '~> 0'
WARNING:  open-ended dependency on logstash-codec-json (>= 0) is not recommended
if logstash-codec-json is semantically versioned, use:
add_runtime_dependency 'logstash-codec-json', '~> 0'
WARNING:  open-ended dependency on logstash-devutils (>= 0, development) is not
recommended
if logstash-devutils is semantically versioned, use:
add_development_dependency 'logstash-devutils', '~> 0'
WARNING:  open-ended dependency on poseidon (>= 0, development) is not recommend
ed
if poseidon is semantically versioned, use:
add_development_dependency 'poseidon', '~> 0'
WARNING:  open-ended dependency on snappy (>= 0, development) is not recommended
if snappy is semantically versioned, use:
add_development_dependency 'snappy', '~> 0'
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
Successfully built RubyGem
Name: logstash-output-kafka
Version: 3.0.0.beta4
File: logstash-output-kafka-3.0.0.beta4.gem`
D:\>"Program Files\logstash-2.3.1\bin\logstash-plugin.bat" install logstash-outp ut-kafka-master\logstash-output-kafka-3.0.0.beta4.gem io/console not supported; tty will not be manipulated Validating logstash-output-kafka-master\logstash-output-kafka-3.0.0.beta4.gem Installing logstash-output-kafka Installation successful
D:\Program Files\logstash-2.3.1\bin>logstash.bat -f logstash.conf io/console not supported; tty will not be manipulated fetched an invalid config {:config=>"input {\n  file {\n    path => \"D:\\l ogs\\app\\action.log\"\n  }\n}\n\noutput { \n\tstdout { \n\t\t\tcodec => dots \n \t\t} \n\tkafka {\n\t\tbroker_list => \"localhost:9092\" \n\t\ttopic_id => \"tes t\" \n\t\tcodec => plain {\n      \t\tformat => \"%{message}\"\n    \t\t}\n\t\t} \n}\n\n#output {\n#    stdout {}\n#}\n", :reason=>"Could not find jar files unde r D:/Program Files/logstash-2.3.1/vendor/local_gems/c9ad1ca2/logstash-output-kaf ka-3.0.0.beta4/vendor/jar-dependencies/runtime-jars/*.jar", :level=>:error} The signal HUP is in use by the JVM and will not work correctly on this platform

i can`t find jar-dependencies path and any jar. why?

Hi @zhao141, this was a known error in one of the beta releases for this plugin.
@suyograo, didn't we clean this up for beta4?

no, beta4 works

will check on windows

sorry,may be my problem! i change command to D:\>"Program Files\logstash-2.3.1\bin\logstash-plugin.bat" install logstash-output-kafka-master\logstash-output-kafka is ok!
i dont konw cant appoint to full name,
but, program eventually find him

awesome @zhao141 thanks for letting us know!


not allowed to load local resource

Issue tracking all files that give this problem

init.ts with vuejs

Thank you, I'll fix it soon as possible

init.ts is fixed in v1.1.1


without english language on new image page from image-list

In GitLab by @Robin-Mao on Dec 4, 2017, 17:45
If you are reporting a problem, please make sure the following information are provided:

Version of board (last git commit number) , docker engine and docker-compose.
Config files of board, you can get them by packaging "board.cfg" and files in the same directory, including subdirectory.
Log files, you can get them by package the /var/log/board/.
Other necessery information.

In GitLab by @liyanq528 on Nov 8, 2019, 07:42
fixed by pull request #713

In GitLab by @sokril on Nov 8, 2019, 08:15
closed

In GitLab by @sokril on Nov 8, 2019, 08:15
assigned to @liyanq528


BLE warning after connection try -> disconnected (IDFGH-8137)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
Hi,
ENVIRONMENT:
<EMAIL_ADDRESS>-> framework-espidf @ 3.40300.0 (4.3.0)
BLE driver: Bluedroid (loaded dynamically)
DESCRIPTION
Sometimes I get a warning when trying to connect adn smartphoe to ESP32.
I have never got this problem until I have started to run BLE in a parallel task.
See below how after 2,3 sec. connection is up the device get disconnected.
[8/25 13:15:23.6]-DEBUG-: [Thu Aug 25 11:15:20 2022] BLE stat: BLUDRD(0) BT (0)
[8/25 13:15:23.6]-DEBUG-: [Thu Aug 25 11:15:20 2022] SESSION (2): RFID
[8/25 13:15:23.6] ID usuario []
[8/25 13:15:23.6]-DEBUG-: [Thu Aug 25 11:15:20 2022] Getting picture...
[8/25 13:15:23.6]-DEBUG-: [Thu Aug 25 11:15:20 2022] Expecting ini...
[8/25 13:15:24.0]-DEBUG-: [Thu Aug 25 11:15:20 2022]
[8/25 13:15:24.0]Token_encrypt(Reg) = 0x E6 F6 5A D0 48 8F 9A D7 D1 F8 8B 4A 5E 63 A7 C3 CD 86 87 A8 48 4F 51 A3
[8/25 13:15:24.0]-DEBUG-: [Thu Aug 25 11:15:20 2022]
[8/25 13:15:24.0]-DEBUG-: [Thu Aug 25 11:15:20 2022] BLE stat: BLUDRD(2) BT (2)
[8/25 13:15:24.0]-DEBUG-: [Thu Aug 25 11:15:20 2022] BLE connecting...
[8/25 13:15:24.0]-DEBUG-: [Thu Aug 25 11:15:20 2022] BLE conn ......... (0)
[8/25 13:15:24.1]-DEBUG-: [Thu Aug 25 11:15:20 2022] Expecting ini. buff (len=51): VC0703 1.00
[8/25 13:15:24.1]Ctrl infr exist
[8/25 13:15:24.1]OV7720
[8/25 13:15:24.1]525
[8/25 13:15:24.1]Init end
[8/25 13:15:24.1]-DEBUG-: [Thu Aug 25 11:15:20 2022] Camera Found
[8/25 13:15:24.2]-DEBUG-: [Thu Aug 25 11:15:20 2022] BLE conn ......... (0)
[8/25 13:15:24.3]-DEBUG-: [Thu Aug 25 11:15:20 2022] set 3 for gatts_if_for_indicate
[8/25 13:15:24.4]-DEBUG-: [Thu Aug 25 11:15:20 2022] BLE conn ......... (0)
[8/25 13:15:24.6]-DEBUG-: [Thu Aug 25 11:15:21 2022] BLE conn ......... (0)
[8/25 13:15:24.8]-DEBUG-: [Thu Aug 25 11:15:21 2022] BLE conn ......... (0)
[8/25 13:15:24.9]-DEBUG-: [Thu Aug 25 11:15:21 2022] RFID init...
[8/25 13:15:24.9]-DEBUG-: [Thu Aug 25 11:15:21 2022] RFID_READER init...
[8/25 13:15:24.9]-DEBUG-: [Thu Aug 25 11:15:21 2022] OK -> Cfg: burst (0xFF) | recal (20)
[8/25 13:15:24.9]-DEBUG-: [Thu Aug 25 11:15:21 2022] RFID detecting...CalVal: 0x70
[8/25 13:15:25.0]-DEBUG-: [Thu Aug 25 11:15:21 2022] TIMEOUT: SPI device timeout
[8/25 13:15:25.0]-DEBUG-: [Thu Aug 25 11:15:21 2022] RFID stop...
[8/25 13:15:25.0]-DEBUG-: [Thu Aug 25 11:15:21 2022] BLE conn ......... (0)
[8/25 13:15:25.2]-DEBUG-: [Thu Aug 25 11:15:21 2022] BLE conn ......... (0)
[8/25 13:15:25.4]-DEBUG-: [Thu Aug 25 11:15:21 2022] INT_L1 pin: 1. INT_RFID: 0 Cause (13)
[8/25 13:15:25.4]-DEBUG-: [Thu Aug 25 11:15:21 2022] LED dc: 50 %
[8/25 13:15:25.4]-DEBUG-: [Thu Aug 25 11:15:21 2022] pin_mask: 0xFF , current_mask: 0xEF
[8/25 13:15:25.4]-DEBUG-: [Thu Aug 25 11:15:21 2022] Getting BarCode...
[8/25 13:15:25.4]-DEBUG-: [Thu Aug 25 11:15:21 2022] BLE conn ......... (0)
[8/25 13:15:25.6]-DEBUG-: [Thu Aug 25 11:15:22 2022] BLE conn ......... (0)
[8/25 13:15:25.8]-DEBUG-: [Thu Aug 25 11:15:22 2022] BLE conn ......... (0)
[8/25 13:15:26.0]-DEBUG-: [Thu Aug 25 11:15:22 2022] BLE conn ......... (0)
[8/25 13:15:26.2]-DEBUG-: [Thu Aug 25 11:15:22 2022] BLE conn ......... (0)
[8/25 13:15:26.4]-DEBUG-: [Thu Aug 25 11:15:22 2022] BLE conn ......... (0)
[8/25 13:15:26.6]W (11666) BT_HCI: DiscCmpl evt: hdl=0, rsn=0x1f
[8/25 13:15:26.6]-DEBUG-: [Thu Aug 25 11:15:23 2022] BLE conn ......... (0)
[8/25 13:15:26.8]-DEBUG-: [Thu Aug 25 11:15:23 2022] BLE conn ......... (0)
[8/25 13:15:27.0]-DEBUG-: [Thu Aug 25 11:15:23 2022] BLE conn ......... (0)
[8/25 13:15:27.2]-DEBUG-: [Thu Aug 25 11:15:23 2022] BLE conn ......... (0)
[8/25 13:15:27.4]-DEBUG-: [Thu Aug 25 11:15:23 2022] BLE conn ......... (0)
Can someone tell me what rsn =0x1f means? I could not find it in the enum.
Regards, Ramon.

With info log enabled:

Hi,
I have also tried with 4.4.1 idf version and no success.
Can someone please tell the meaning of rsn = 0x1f ?
Any clue will be appreciated.
Regards, Ramon.

https://github.com/chegewara/esp32-ble-wiki/issues/5

Thanks for the link.
Unfortuantely, 0x1F Unspecified Error does not tell me a lot ;).
The problem only happens sometimes (1/15) and not sure how to reproduce it.
I will try some changes in my end.
Regards, Ramon.

Hi,
I found the root cause: after connection my FW moved into ligth sleep for a while and that was causing the lose BT connectivity without a reason.
Regards, Ramon.


fix(Interaction): allow touch highlight to affect all object materials resolves #310

Previously, the touch highlighting would only change the first material
on the Interactable Object. This fix ensures that all the materials on
an object get updated by the hightlight colour.

resolves #310

Tested on an object with more than 1 material. Results in all material being highlighted. Works as expected now.


IgnoreStringLeadingTrailingWhitespace Missing From ComparisonConfig

I'm currently using version <IP_ADDRESS>. Despite being mentioned in search results https://github.com/GregFinzer/Compare-Net-Objects/search?q=IgnoreStringLeadingTrailingWhitespace&unscoped_q=IgnoreStringLeadingTrailingWhitespace

It has been a while since the last release.  4.57 was released on October 11, 2018.  The IgnoreStringLeadingTrailingWhitespace was put in December 2018

Released 4.5.8
https://www.nuget.org/packages/CompareNETObjects/4.58.0

Fast work. I'll check it out tomorrow. Cheers.


merge from template-node-app

package.json

chore(deps): add ^11.5.18 remove ^11.5.17 (devDependencies.npm-pkgbuild)

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

npm package (@latest dist-tag)
v6.4.0
GitHub release

Your semantic-release bot :package::rocket:


[BUG] org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=nodes.stats/30_discovery/Discovery stats}

Describe the bug
Discovery stats structure got updated in https://github.com/opensearch-project/OpenSearch/pull/10670
This is causing org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=nodes.stats/30_discovery/Discovery stats} tests to fail
https://build.ci.opensearch.org/job/gradle-check/28987/

@amkhar can you please take a look and update the test asap.

Also check if other node stats test failures are related
org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=nodes.stats/20_response_filtering/Nodes Stats with response filtering}
org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=nodes.stats/20_response_filtering/Nodes Stats with response filtering}
org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=nodes.stats/20_response_filtering/Nodes Stats with response filtering}
org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT.test {p0=nodes.stats/20_response_filtering/Nodes Stats with response filtering}

I'll take a look shortly. Thanks for reporting this.

These mixed cluster test were failing even before https://build.ci.opensearch.org/job/gradle-check/28795/testReport/junit/org.opensearch.b[…]iteIT/test__p0_nodes_stats_30_discovery_Discovery_stats_/
GC link : https://build.ci.opensearch.org/job/gradle-check/28795/
Also I checked the code specifically for discovery one
- do:
      nodes.stats:
        filter_path: "nodes.*.discovery"

  - is_false: cluster_name
  - is_true:  nodes
  - is_false: nodes.$master.name
  - is_false: nodes.$master.jvm
  - is_true:  nodes.$master.discovery

I did this from code base.
curl localhost:9200/_nodes/stats?filter_path=nodes.*.discovery
{"nodes":{"Ubn8Zxo9R06G299on2XfCw":{"discovery":{"cluster_state_queue":{"total":0,"pending":0,"committed":0},"published_cluster_states":{"full_states":2,"incompatible_diffs":0,"compatible_diffs":0},"cluster_state_stats":{"overall":{"update_count":2,"total_time_in_millis":101,"failed_count":0}}}}}}

We’ll always get discovery section as nothing is changed in that.
After rebasing from main these failures will be gone as new version which is merged in main is 2.12.0
Please close this issue once you verify that other PRs are not facing this after merging from main.

Closing this issue.


Resources used in UserControl Code-Behind Won't Apply ThemeVariant

Describe the bug
There is a control that, for generics/inheritance reasons, is constructed in code behind. However, when resolving resources it won't pick up the correct ones.

I'm using FluentAvalonia and know the control themes are loaded. However, it won't apply them.
Light theme variant works OK (I expect because it is default) however dark theme variant resources do NOT apply properly leaving a semi-corrupted light theme variant.

To Reproduce
I'm hoping someone else will run across this too and have a more direct repro. The situation occurs in a base UserControl that initializes its own content in code-behind. During that initialization it is looking up resources. The base UserControl is then inherited by several other UserControl views.
Expected behavior
Application.Resources.TryGetResource() should correctly resolve light/dark theme variant resources in all stages of the application lifecycle.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10
Version 11.0-preview5 @11.0.999-cibuild0030643-beta

Additional context
Add any other context about the problem here.

Application.Resources.TryGetResource() should correctly resolve light/dark theme variant resources in all stages of the application lifecycle.

It's static. Also, you need to pass a theme variant as a parameter there.
We could fall back to the application global theme, but it won't be a good practice, if theme variant is overridden in between the tree.
Where can I find code where this control is constructed?

I wish it was something I could easily pull out and share with you but it isn't. This is also an unfortunate time of the year and I've had little free time the last few months. So I don't think I can spend the time to create a minimal repro for this.
However, there is a chance it is directly related to https://github.com/AvaloniaUI/Avalonia/issues/10292#issuecomment-1447545321. It is quite similar in some ways. That one is reproducible and FluentAvalonia is very easy to get building.
The application resource lookup is done with a helper extension method to make it more similar to WPF/UWP:
        public static T GetResource<T>(
            this Application app,
            object key)
        {
            if (app.Resources.TryGetResource(key, app.ActualThemeVariant, out object resource))
            {
                if (resource is T)
                {
                    return (T)resource;
                }
            }
#if DEBUG
            //throw new Exception("Missing resource: " + key?.ToString());
#endif
            return default(T);
        }

FWIW I'm also getting random failures to resolve resources I know are there in other parts of the application. Not sure how to file an issue for that one yet though.

@robloo @amwx is this problem still reproducible in the preview7?

@maxkatz6 Yes, it's still an issue with preview 7. I think the resource lookup issue is actually more complex than discussed here and there are more cases.
The other publicly reproducible problem is in Fluent Avalonia: https://github.com/amwx/FluentAvalonia/issues/314. This is similar where it just isn't finding/applying resources (and entire theme variants) in some cases. The ColorPicker's popup Components tab is the worst offender (but it also might have a little to do with the visibility issue https://github.com/AvaloniaUI/Avalonia/pull/11127).

@robloo At least for the ColorPicker, it's the StaticResources that are inside the DropDownButton for the ColorPicker:
https://github.com/amwx/FluentAvalonia/blob/ead724348817b2d61613a3eba1485d3c563795da/src/FluentAvalonia/Styling/ControlThemes/BasicControls/ColorPicker/ColorPicker.axaml#L60-L67
It looks like they were removed from Avalonia fluent theme, but haven't been removed in FA yet. Removed them and it displays correctly:

@amwx Thanks as always for taking a look at this. Concerning these resources in ColorPicker. My understanding is that when one is aliasing an existing ResourceKey you must use StaticResource -- it will work correctly with theme changes. At least that is what I have seen done several other places. However, it seems these resources are NOT being found/applied.
<Grid.Resources>
  <StaticResource x:Key="ColorViewContentBackgroundBrush" ResourceKey="LayerFillColorAltBrush" />
  <StaticResource x:Key="ColorViewContentBorderBrush" ResourceKey="DividerStrokeColorDefaultBrush" />
  <SolidColorBrush x:Key="ColorViewTabBackgroundBrush" Color="Transparent" />
  <SolidColorBrush x:Key="ColorViewTabBorderBrush" Color="Transparent" />
  <!-- This radius must follow OverlayCornerRadius -->
  <CornerRadius x:Key="ColorViewTabBackgroundCornerRadius">8,8,0,0</CornerRadius>
</Grid.Resources>

Concerning the existence of the resources themselves, I double checked and it is correct that these are re-defined for Fluent v2. Fluent V2 content areas use those two brushes. Any top/bottom area is left transparent. This is different than Fluent v1 and also what is done in the ColorView.

@maxkatz6 So maybe this is the one problem with the ColorPicker:
<StaticResource x:Key="ColorViewContentBackgroundBrush" ResourceKey="LayerFillColorAltBrush" />
<StaticResource x:Key="ColorViewContentBorderBrush" ResourceKey="DividerStrokeColorDefaultBrush" />

Is pulling in the default white theme variant resources and it's why it is setting a white background first. Because these are not dynamic, they are never re-evaluated for dark theme variant changes so always stay white.
However, changing the XAML to:
<DynamicResource x:Key="ColorViewContentBackgroundBrush" ResourceKey="LayerFillColorAltBrush" />
<DynamicResource x:Key="ColorViewContentBorderBrush" ResourceKey="DividerStrokeColorDefaultBrush" />

Then doesn't find the light or dark resources and just returns null. No resources are found. I seem to recall an old discussion about perhaps this case not being supported? Resource aliasing with DynamicResource instead of StaticResource?

StaticResource aliases don't do a lookup with the theme context (or they do it with the current one), so it only really works if the resource its aliasing is in the same theme dictionary. If you want to redefine it elsewhere, you have to do it with theme dictionaries again so the context is correct during the lookup. See the NumberBox template in WinUI where they redefine the RepeatButton resources.

That's right.
When you put StaticResource into resource dictionary, it will lookup the referenced resource once and won't update it, will use default theme.
If it's defined in the ThemeDictionary, it will lookup once with the same theme as current resource dictionary (new behavior in preview7, same behavior as in UWP). Meaning, if you want theme-aware resources, it must be defined inside of the ThemeDictionary (duplicated or reused with ResourceInclude, but I didn't test the last one, should work in theory).
DynamicResource is simply not supported as resource value. Not before, not now, not even in WPF, not even in UWP with their ThemeResource (as far as I remember). DynamicResource returns a binding, and resource dictionaries do not support bindings as values in all XAML frameworks (though, I kinda wish they could).
It doesn't produce an error, as technically you can save detached binding in the resources, but that's it.

@amwx thanks, it would have taken me a while to figure that out and the example is perfect. It does make sense this is needed.
Part of me also thinks DynamicResource on an aliased resource that itself is within theme variants should be able to support this itself though.

@maxkatz6 Thanks for the details as well. Using a theme dictionary will work fine. I'm glad that option is supported now for cased like this.

The ColorPicker Fluent v2 issue is fixed by inserting a new theme dictionary in the grid resources as discussed above. Thanks for this fix.
With this in mind I'll take another more careful look at the original issue and see if it is somehow related.

I'm closing this as fixed now.

Some of the older Avalonia styling system bugs have been fixed
The colorpicker case required thinking about it a different way as discussed above but it works
FluentAvalonia resources have to be retrieved specially at the moment

Bottom line: I think I have figured out all issues now and things work as intended for Avalonia as best as I can tell.


Support deps.dev for version expansion in Maven.

The existing API used has strict rate limits.

tbr


An option to easily import a function from one file to another!

I got a big project, probably 100s of files. Lot of files have same name, and lot of them have deprecated. Autocomplete for import can't tell that.
I wish I could simply right click function and click select for import and then go to file I'm working on and right click and click import selected symbol and/or import selected file.
It's really annoying to find right path to another file when both files are nested 10 directories deep in completely different folders.

What language is this for? Have you tried using find all references/go to implementation?

File a.js has a function I want. I want to use that function in File b.js, but it is very far location wise.
So I've to figure out a relative path to that file.
import { func } from '../../../../views/src/utilities/ads/stuff

See #5240
@ElecTreeFrying has made an extension that pretty close to your proposed steps. (See #5240 (comment))

Duplicate of #94729
@techsin Don't open duplicate issues. You really seem to care about this so I suggest that you try writing an extension that does this