Timestamp 0 in result file

Hello,
when running a test with SSHMon collecting resource utilization data, the resulting CSV is fine when running in GUI mode. However, in non-GUI mode the timestamp column's value is 0 for all the entries.
Can you please support?
Thanks
Octavian.

There is also this output in the console, but nothing else in the jmeter.log
The JVM should have exited but did not.
The following non-daemon threads are still running (DestroyJavaVM is OK):
Thread[DestroyJavaVM,5,main], stackTrace:
Thread[Thread-4,5,main], stackTrace:java.lang.Thread#sleep
nz.co.breakpoint.jmeter.vizualizers.sshmon.SSHMonSampler#generateSamples at line:83
kg.apc.jmeter.vizualizers.MonitoringResultsCollector#processConnectors at line:215
kg.apc.jmeter.vizualizers.MonitoringResultsCollector#run at line:122
java.lang.Thread#run at line:844

Hi @octaviand2
Can you please provide

your output CSV files,
your script,
the full jmeter log file,
the command line you start it with

so I can analyse what is going on, as I can't reproduce that behaviour.

Hi Till,
thanks a lot for getting in touch.
After further investigation, I came to the conclusion that if I run jmeter
with -p properties file, the timestamp is zero. No clue why is that.
I am sending attached the sample script, outputs, properties file.
It works fine if I start without -p:
./jmeter -n -t
/Users/octaviandobrin/nokia_git/vz-hss/src/main/jmx/ssh_monitor.jmx
And not ok if I start with -p:
./jmeter -n -t
/Users/octaviandobrin/nokia_git/vz-hss/src/main/jmx/ssh_monitor.jmx -p
/Users/octaviandobrin/nokia_git/vz-hss/src/main/configuration/test_ssh_mon.properties
Thanks for your support.
With Regards
Octavian.
On Fri, Aug 28, 2020 at 1:35 AM Till Neunast<EMAIL_ADDRESS>wrote:

Hi @octaviand2 https://github.com/octaviand2
Can you please provide

your output CSV files,
your script,
the full jmeter log file,
the command line you start it with

so I can analyse what is going on, as I can't reproduce that behaviour.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tilln/jmeter-sshmon/issues/5#issuecomment-682224823,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHXCOSVIKFS5PG7HKMKR75TSC3NS5ANCNFSM4QMT3ALQ
.

I don't think you can send attachments to that Github issue email. I suggest adding them in the Github web UI.
Great that you have narrowed it down.
What's the content of your properties file? That may be key to a solution.

Hi,
can you please share a link? Alternatively you can download them from here:
https://1drv.ms/u/s!Ai05zSJI5V1BifoJfWLrIj78ZEBa-A?e=sw6HZz
Also, the property file is very basic (I just left prop1=10 in it)
Thanks and Regards
Octavian
On Fri, Aug 28, 2020 at 8:43 AM Till Neunast<EMAIL_ADDRESS>wrote:

I don't think you can send attachments to that Github issue email. I
suggest adding them in the Github web UI.
Great that you have narrowed it down.
What's the content of your properties file? That may be key to a solution.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tilln/jmeter-sshmon/issues/5#issuecomment-682337232,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHXCOSX47KKFEMZFAGGLB3LSC47Y3ANCNFSM4QMT3ALQ
.

Thanks, I can access those.
I can also reproduce the zero timestamps with my own script.
I'll have to do some investigation where the root cause is: could be JMeter, the JMeter plugins base class or this plugin.
Meanwhile I suggest as a work-around to start with command line option -q rather than -p. This resolved it for me.

When the properties file is passed in via command line option -p (rathen than -q), in GUI or non-GUI mode, the default value of the JMeter property sampleresult.timestamp.start=true is not set, but it is treated as false, which means that the result file will not contain the sample start times but the end times.
The end times however, are not assigned properly but default to the 0 value reported here.
When the collector creates a MonitoringSampleResult, the end time is not assigned.
The same issue is present for other, similar Listeners, such as JXMMon and DBMon, but not Perfmon.
So, this issue should be raised for the owning repo (via Google Groups).
Therefore closing this.

Thanks a lot, running with -q works; as well as by
adding sampleresult.timestamp.start=true in the properties file.
On Fri, Aug 28, 2020 at 9:54 AM Till Neunast<EMAIL_ADDRESS>wrote:

Closed #5 https://github.com/tilln/jmeter-sshmon/issues/5.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tilln/jmeter-sshmon/issues/5#event-3702623704, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHXCOSXCGPSX6ES3D62TGBLSC5IAVANCNFSM4QMT3ALQ
.

Fix available in 1.3-SNAPSHOT

Hi Till,
a quick question -if that is ok with you.
Can I setup sshmon in such a way that it collects resource utilization only
if certain criteria is met? For example, I want to collect only when
running on server/non-gui and not local and tried the setup below, but it
is not working (e.g it still tries to connect and collect data as far as I
can see).
Thanks and Regards
Octavian.
[image: image.png]
On Sat, Aug 29, 2020 at 6:25 AM Till Neunast<EMAIL_ADDRESS>wrote:

Fix available in 1.3-SNAPSHOT
https://github.com/tilln/jmeter-sshmon/releases/tag/1.3-SNAPSHOT
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tilln/jmeter-sshmon/issues/5#issuecomment-683229186,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHXCOSVL6GKTEBY2ND5J4P3SDBYLFANCNFSM4QMT3ALQ
.

Hi @octaviand2
Please provide more details of your setup that is not working.

Hi Till,
I want to be able to collect resource utilization differently based on some
system properties. To be more specific, I want to connect to localhost and
port 9500 when running from GUI and <IP_ADDRESS> and port 22 when running
server mode.
I cannot use a property for port - for example ${__P(port,10)} (it seems
the field only accepts numeric values); therefore I tried to put the SSHMon
inside an if controller hoping it will only establish ssh sessions and
collect under certain conditions. But that doesn't work as well.
Can you please advise?
Thanks and Regards
Octavian.
On Wed, Sep 30, 2020 at 3:28 AM Till Neunast<EMAIL_ADDRESS>wrote:

Hi @octaviand2 https://github.com/octaviand2
Please provide more details of your setup that is not working.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tilln/jmeter-sshmon/issues/5#issuecomment-701066351,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHXCOSWLJKPNACKB6USC7FTSIJ3RFANCNFSM4QMT3ALQ
.

@octaviand2  you're quite right, that's not working.
I've created #7.
Fix available in 1.3-SNAPSHOT

Hi Till,
I downloaded 1.3 and replaced the JAR, still the port does not accept
non-numeric data (e.g. ${__P(port,22)}. Can you please advise?
Thanks and Regards
Octavian.
On Wed, Sep 30, 2020 at 10:15 AM Till Neunast<EMAIL_ADDRESS>wrote:

@octaviand2 https://github.com/octaviand2 you're quite right, that's
not working.
I've created #7 https://github.com/tilln/jmeter-sshmon/issues/7.
Fix available in 1.3-SNAPSHOT
https://github.com/tilln/jmeter-sshmon/releases/tag/1.3-SNAPSHOT
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tilln/jmeter-sshmon/issues/5#issuecomment-701206843,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHXCOSRREZCDWCZUXXL4DELSILLIVANCNFSM4QMT3ALQ
.

Hi @octaviand2
Please start JMeter in with -LDEBUG and upload the jmeter.log file here.

Hi Till,
it works fine - e.g. I can enter alphanumeric there (e.g. ${__P function)
and the value is retrieved.
Do you have an estimate when you will make it in a formal release to be
installed with plugins manager?
Thanks and Regards
Octavian.
On Thu, Oct 1, 2020 at 12:02 AM Till Neunast<EMAIL_ADDRESS>wrote:

Hi @octaviand2 https://github.com/octaviand2
Please start JMeter in with -LDEBUG and upload the jmeter.log file here.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tilln/jmeter-sshmon/issues/5#issuecomment-701644071,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHXCOSTZLIPN7OF427F6BF3SIOMH5ANCNFSM4QMT3ALQ
.

Hi @octaviand2
Thanks for reporting back and confirming.
No estimate yet, as I would like to include a fix for another issue that's been discussed here, and that needs some more investigation.

Hi Till,
any updates on the new formal release date?
With Regards
Octavian.
On Wed, Oct 7, 2020 at 1:11 AM Till Neunast<EMAIL_ADDRESS>wrote:

Hi @octaviand2 https://github.com/octaviand2
Thanks for reporting back and confirming.
No estimate yet, as I would like to include a fix for another issue that's
been discussed here
https://groups.google.com/g/jmeter-plugins/c/5g2JqivexXE, and that
needs some more investigation.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tilln/jmeter-sshmon/issues/5#issuecomment-704580353,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHXCOSVV34LBCNZKRXA5JR3SJOIZDANCNFSM4QMT3ALQ
.

Hi @octaviand2,
For the next release, a new feature has been implemented (jump host support) which depends on features in the Apache Mina SSHD library, so as soon as they release v2.6.0 the new version of this plugin gets released.

Hi Till,
any chance you could consider adding an "enable" flag to the SSH Mon
sampler?
The scenario I have is to be able to specify, using an JMeter properties,
if during a test the SSHMon sampler should or should not collect data (e.g.
SSHMon sampler to "accept" a configuration from
${__P(collect_resource_util_data,true)}
The only solution I see is to modify the jmx with enabled=false, but I want
to avoid that.
Thanks and Regards
Octavian.
On Wed, Nov 25, 2020 at 12:03 AM Till Neunast<EMAIL_ADDRESS>wrote:

Hi @octaviand2 https://github.com/octaviand2,
For the next release, a new feature has been implemented (jump host
support)
https://github.com/tilln/jmeter-sshmon/blob/e44989f24496ef997d284a6df8a663b33e253ea9/README.md#jump-hosts-since-v13
which depends on features in the Apache Mina SSHD library, so as soon as
they release v2.6.0 the new version of this plugin gets released.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tilln/jmeter-sshmon/issues/5#issuecomment-733258992,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHXCOSRBIOIKIRCIRVFTT4LSRQUTZANCNFSM4QMT3ALQ
.

Hi @octaviand2
Unfortunately that wouldn't be easy, as this plugin is based on JMeter-Plugins Common components, namely AbstractMonitoringVisualizer.
You could consider submitting a pull request there.


Notebook Cell Output keeps resizing when updating the output (Jupyter doesn't do this)

VS Code Version: Latest 1.60
OS: Mac
Jupyter Extesnion: Latest version
Original reported by user here https://github.com/microsoft/vscode-jupyter/issues/1674#issuecomment-771173428
Run the following cell
from fastprogress.fastprogress import master_bar, progress_bar
from time import sleep
mb = master_bar(range(10))
for i in mb:
    for j in progress_bar(range(100), parent=mb):
        sleep(0.01)
        mb.child.comment = f'second bar stat'
    mb.main_bar.comment = f'first bar stat'
    mb.write(f'Finished loop {i}.')
    #mb.update_graph(graphs, x_bounds, y_bounds)

Watch how the output flashes as it gets updated.

Duplicate of https://github.com/microsoft/vscode/issues/132143


System tests: resolve hang in rawhide rootless

Fedora CI tests are failing on rawhide under kernel
5.3.0-0.rc1.git3.1.fc31 (rhbz#1736758). But there's
another insidious failure, a 4-hour hang in the
rootless tests on the same CI system. The culprit
line is in the podman build test, but it's actually
BATS itself that hangs, not the build command -- which
suggests that it's the usual FD 3 problem (see BATS README).
It would seem that podman is forking a process that
inherits fd 3 but that process is not getting cleaned
up when podman crashes upon encountering the kernel bug.
Today it's podman build, tomorrow it might be something
else. Let's just run all podman invocations in run_podman
with a non-bats FD 3.
Signed-off-by: Ed Santiago<EMAIL_ADDRESS>

Note that the BATS README recommends 3>&-. I'm using 3>/dev/null because that's what I tested with in my virt setup, because I was going off memory instead of reading the README. By the time I read it for my checkin comment I had deleted my virt, and I now can't get another one (openstack has been down for the last few hours). So I'm just going with something that I know prevents the hang.

/retest

/retest

LGTM

/retest

/approve
/lgtm


permessage-deflate: implement context takeover

This is an an implementation of context takeover.
For every WebSocket connection on which compression using permessage-deflate is negotiated, we configure a compressor and a decompressor on the channel pipeline. Context takeover is then implemented as:

If the client requests for "no client context takeover", we agree. The decompressor reuses context otherwise.
If the client requests for "no server context takeover", we agree. The compressor reuses the context otherwise.
A context reuse implies reusing the wrapped zlib stream without initialising it.
A context reuse also implies the wrapped zlib stream is never deinitialized.

Seeing some autobahn failures. Investigating.

For future reference: every compression test in autobahn sends this header permessage-deflate; client_no_context_takeover; client_max_window_bits

This regression was introduced in release 2.0.1. We've stopped running compression test in the CI because some tests take a really long time and Travis fails.

Submitted #28

#28 seems to be fixing all the issues we saw. I ran the compression tests from autobahn on Linux and all of them pass.

@bridger I think this solves the problem you reported in #22 Can you please test your app with this branch, whenever possible? Could you also do a quick code review? Thanks!

Thanks @bridger for confirming! And thanks for raising all those issues, its helped us fix some fundamental bugs :)


Add support for injection grammars

#5 is tracking support for the top-level injections property inside of a grammar, but VSCode and TextMate actually sort standalone injection grammars.
These are grammars that have a single injection selector and then a regular grammar, so behave in a similar fashion to injections but can be checked against any grammar instead of needing to be specified inside of a dedicated regular grammar.
A good example would be an injection grammar that highlights TODO comments inside of any language: https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide#injection-grammars

I'm not even sure Shiki supports this after doing some testing... going to close for now and might revisit in the future.


error: cannot find derive macro Copy in this scope

I am building rust with the latest libc, it was working very well, but today I get this error:
error: cannot find derive macro Copy in this scope
--> /folk/prj-rust-dev/bpang/V7LIBC-997/dev/.cargo/git/checkouts/libc-d1297d136f47e864/3a9e5d0/src/unix/linux_like/linux/gnu/b64/x8
6_64/align.rs:1:10
|
1 | #[derive(Copy, Clone, Debug, PartialEq)]
|          ^^^^

The issue can be reproduced with follow steps in builing rust:

get rust
$ git clone https://github.com/rust-lang/rust.git
add libc = { git = 'https://github.com/rust-lang/libc.git' } to Cargo.toml under section [patch.crates-io]:
[patch.crates-io]
libc = { git = 'https://github.com/rust-lang/libc.git' }
update Cargo.lock
$ cargo update -p libc
build
$ ./x.py build -i --stage 0 src/libstd

Then the errors reported above show.

cc @petrochenkov maybe ?

Otherwise report the bug in rust-lang/rust, maybe something changed upstream.

Otherwise report the bug in rust-lang/rust, maybe something changed upstream.

The align.rs is newly added in that directory. The issue would disappeare if I roll back to the point without this change.

I think the issue is that during bootstrapping the derive macros are not available, https://github.com/rust-lang/libc/pull/1531 this might fix that, but maybe you could try that branch and check that it works for you?

Thanks. The issue has been fixed by #1513.


Synching super slow if prune = 0

Any suggestions on how to go about finding the reason for the slowdown?

This should be better now, blocks are pushed in batches to store.


Assign the specific layer2 announcer

There are three ways to assign the specific layer2 announcer by configuring EIP resources.

Assign the Node Name by labels.layer2AnnouncerNode

labels:
    layer2AnnouncerNode: pc2

Assign the Node MAC address by annotations.layer2AnnouncerMAC

annotations:
      layer2AnnouncerMAC: "00:00:00:00:00:00"

Assign the Node IP by labels.layer2AnnouncerIP

labels:
     layer2AnnouncerIP: <IP_ADDRESS>

把使用說明 寫到README裡。寫在這裡會找不到


[Bug] wrong version update tips

I'm the latest version, but still has a new version available tips. While I run space version upgrade command, it shows no upgrade required

@brkp would be cool to look into this

Went through the code, nothing sticks out that might cause this. You most likely had a corrupted ~/.detaspace folder. Please re-open the issue if it still persists.


Add Sonar

A while back I had tried to add sonar but it has some issues that I cannot recall with code generation.

I have added Sonar... but the bang for your buck is pretty bad.
I think going full checker / error prone will be more helpful. I have used Checker in the past but not sure what will happen with annotation processing.


Bug statistics month

Hi, on graphics of statistics the bug on altitude is:

Relevant entries from the logs
nothing error on logs  only
[0m 2021-04-26 21:52:05.158 [error] Vehicle Error: Vehicle is offline
Environment

TeslaMate version: 1.22
Type of installation: Docker
OS TeslaMate is installed on: QNAP
User OS & Browser: Safari MAC
Others:

PostgreSQL Database directory appears to contain a database; Skipping initialization
2021-09-12 11:55:08.754 CEST [1] LOG:  starting PostgreSQL 13.4 (Debian 13.4-1.pgdg100+1) on arm-unknown-linux-gnueabihf, compiled by gcc (Debian 8.3.0-6) 8.3.0, 32-bit
2021-09-12 11:55:08.754 CEST [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
2021-09-12 11:55:08.754 CEST [1] LOG:  listening on IPv6 address "::", port 5432
2021-09-12 11:55:08.964 CEST [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2021-09-12 11:55:09.332 CEST [28] LOG:  database system was shut down at 2021-09-12 11:54:37 CEST
2021-09-12 11:55:09.474 CEST [1] LOG:  database system is ready to accept connections
2021-09-12 11:58:15.971 CEST [57] ERROR:  could not load library "/usr/lib/postgresql/13/lib/llvmjit.so": libLLVM-7.so.1: ELF load command alignment not page-aligned
2021-09-12 11:58:15.971 CEST [57] STATEMENT:  SELECT
to_timestamp(floor((extract('epoch' FROM date) / 60)) * 60) AT TIME ZONE 'UTC' AS time,
avg(latitude) AS lat,
avg(longitude) AS lng
FROM
positions
WHERE
car_id = '1' AND
date BETWEEN '2016-09-12T09:58:15.634Z' AND '2021-09-12T09:58:15.634Z'
GROUP BY
1
ORDER BY
1 ASC

other bug on km driven:
Inspect: km driven
1 queries with total query time of 0 ms
Data
Stats
JSON
Error
pq: could not load library "/usr/lib/postgresql/13/lib/llvmjit.so": libLLVM-7.so.1: ELF load command alignment not page-aligned
Object
status:400
statusText:"Bad Request"
data:Object
results:Object
message:"pq: could not load library "/usr/lib/postgresql/13/lib/llvmjit.so": libLLVM-7.so.1: ELF load command alignment not page-aligned"
config:Object
url:"api/tsdb/query"
method:"POST"
data:Object
retry:0
headers:Object
hideFromInspector:false
message:"pq: could not load library "/usr/lib/postgresql/13/lib/llvmjit.so": libLLVM-7.so.1: ELF load command alignment not page-aligned"


Add AELF API

ALEF provides the official translations for the lectionaries in France, North-Africa (Algeria, Morocco, Tunisia, Libya), Belgium, Canada, Luxemburg, Monaco and Switzerland

Yes please merge. Thanks for making the list.

Thanks, merging.


Update and Delete Operation for CDC Handler

Hi,
I've noticed that Debezium MongoDB has updated to version 0.6.0, and they have differentiated the _id field type in the key's payload, is it now possible for you to implement the "update" and "delete" operation for Debezium MongoDB CDC handler?
Thanks.

Thx for your comment. In fact, I did this small but IMHO vital contribution for debezium 0.6 in order to be able to support all mongodb CDC events at the sink side :) so yes, as of now it is of course possible to integrate this into the sink connector code base. It's definitely on my todo list but I just didn't find the time yet to get it done. Maybe you can help with the implementation and contribute a PR?

@azizimansyah FYI the implementation of update/delete CDC ops is almost finished. Afterwards, I'll have to write some tests as well. Will let you know when it's been merged into master...

Thanks for the fast response :)
I plan to use it for real-time mongodb replication from one cluster to another cluster. I think it is possible to implement it by using debezium as the source connector and your kafka connect mongodb as the sink connector. I'm looking forward to it!

Hi,While you're right that this is one possible scenario you have to be aware that what you would replicate are all CRUD based change events 'only' happening in a db collection. This is not the same as a fully fledged MongoDb replication.If this is fine for you go ahead and give it a try. Feedback always welcome.On 5 Oct 2017 10:53, azizimansyah<EMAIL_ADDRESS>wrote:Thanks for the fast response :)
I plan to use it for real-time mongodb replication from one cluster to another cluster. I think it is possible to implement it by using debezium as the source connector and your kafka connect mongodb as the sink connector. I'm looking forward to it!
—You are receiving this because you were assigned.Reply to this email directly, view it on GitHub, or mute the thread.

@azizimansyah Done see this PR https://github.com/hpgrahsl/kafka-connect-mongodb/pull/9
Let me know how it works out for you...

Thanks a lot, it works well for me. Awesome!
I have some questions to ask:

Does the connector support consuming multiple topic from kafka and produce to multiple collection to mongodb? so that instead of creating multiple connector for multiple topic, I could use only one connector for multiple topic.
What is the difference between kafka-connect-mongodb-1.0-SNAPSHOT.jar and kafka-connect-mongodb-1.0-SNAPSHOT-jar-with-dependencies.jar and which one should I use? I've tried both of them and they both work well.

I noticed there's a typo in your readme, I think at.grahsl.kafka.connect.mongodb.cdc.debezium.mongodb.MongoDbHandlerHandler should be replaced with at.grahsl.kafka.connect.mongodb.cdc.debezium.mongodb.MongoDbHandler.

@azizimansyah I'm glad to hear that it's useful for you and works well so far :)
w.r.t. your questions:
ad 1)
at the moment it is supporting only 1 topic per running connector. this restriction is to some degree by design. when you think about the normal scenario, you would consume from different topics which most of the time contain data exhibiting a totally different record structure. this would mean that one connector configuration would need to support all the available options for each and every topic since, for instance, the postprocessor chain itself and all contained postprocessors with its corresponding settings would vary most likely. while this would certainly be feasible to achieve, I decided against one big complex configuration across multiple topics. also mixing normal connector behaviour with the CDC operation mode is currently beyond the scope of my implementation.
a part from that, there is the configuration option to have AVRO or JSON message serialization. to my knowledge, this settings can only be configured once per connector - not on a topic level. this would be a case where you would have to run more than one connector anyway.
but for scenarios like yours, where one would want to run CDC operation mode for multiple topics I understand that it would be much more comfortable and also not that resource intensive to have several connectors running. that being said, I'll probably find some time to take a look how to get this integrated without too much effort at least for the CDC scenario.
ad 2)
they contain the same connector implementation code. the difference being that the *-with-dependencies.jar, as the name suggests, is a self-contained jar file with all the mongodb-specific libraries that are needed. so in case you have all the needed jars separately available on your classpath also the other jar will work fine. if not, you would end up with e.g. ClassNotFoundExecptions.


Cannot compile to wasm32

Description
Unable to compile Bevy to wasm32 with EntiTilesPlugin.
Reproduction
main.rs
add_plugins(EntiTilesPlugin)
.cargo/config.toml
[target.wasm32-unknown-unknown]
runner = "wasm-server-runner"
Follow https://bevy-cheatbook.github.io/platforms/wasm.html on how to compile Bevy to wasm32.
rustup target install wasm32-unknown-unknown
cargo install wasm-server-runner
cargo run --target wasm32-unknown-unknown
Screenshots

Versions
AdapterInfo { name: "ANGLE (Apple, ANGLE Metal Renderer: Apple M1 Pro, Unspecified Version)", vendor: 4203, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Gl }
Cargo.toml:
[package]
name = "shalloville_v1"
version = "0.1.0"
edition = "2021"
[dependencies]
bevy = "0.13.2"
bevy_egui = "0.27.0"
bevy_entitiles = {version = "0.10.0"}
Error Message
ERROR app:  Handling wgpu errors as fatal by default log.target = "wgpu::backend::wgpu_core";
log.module_path = "wgpu::backend::wgpu_core";
log.file = "/Users/wulongting/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.19.4/src/backend/wgpu_core.rs";
log.line = 3005;
ERROR app: panicked at /Users/wulongting/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.19.4/src/backend/wgpu_core.rs:3006:5:
wgpu error: Validation Error
Caused by:
In Device::create_bind_group_layout
note: label = animation_buffer_layout
Binding 0 entry is invalid
Downlevel flags DownlevelFlags(VERTEX_STORAGE) are required but not supported on the device.
This is not an invalid use of WebGPU: the underlying API or device does not support enough features to be a fully compliant implementation. A subset of the features can still be used. If you are running this program on native and not in a browser and wish to work around this issue, call Adapter::downlevel_properties or Device::downlevel_properties to get a listing of the features the current platform supports.
Stack:
Error
at imports.wbg.__wbg_new_abda76e883ba8a5f (http://<IP_ADDRESS>:1334/api/wasm.js:490:13)
at shalloville_v1-b59f032360f9fff9.wasm.__wbg_new_abda76e883ba8a5f externref shim (http://<IP_ADDRESS>:1334/api/wasm.wasm:wasm-function[305111]:0x521abfc)
at shalloville_v1-b59f032360f9fff9.wasm.console_error_panic_hook::Error::new::hd1cb24dd5a6a50e1 (http://<IP_ADDRESS>:1334/api/wasm.wasm:wasm-function[192276]:0x4bb8471)
at shalloville_v1-b59f032360f9fff9.wasm.console_error_panic_hook::hook_impl::h614771427b88bd38 (http://<IP_ADDRESS>:1334/api/wasm.wasm:wasm-function[40623]:0x314f8bd)
at shalloville_v1-b59f032360f9fff9.wasm.console_error_panic_hook::hook::h2da257c2ef9678ce (http://<IP_ADDRESS>:1334/api/wasm.wasm:wasm-function[266253]:0x509474c)
at shalloville_v1-b59f032360f9fff9.wasm.core::ops::function::Fn::call::h1169a08c4b650fee (http://<IP_ADDRESS>:1334/api/wasm.wasm:wasm-function[235479]:0x4ee602f)
at shalloville_v1-b59f032360f9fff9.wasm.std::panicking::rust_panic_with_hook::h6731baa78621a747 (http://<IP_ADDRESS>:1334/api/wasm.wasm:wasm-function[82626]:0x3cda742)
at shalloville_v1-b59f032360f9fff9.wasm.std::panicking::begin_panic_handler::{{closure}}::hb6cd8464ed39ae71 (http://<IP_ADDRESS>:1334/api/wasm.wasm:wasm-function[114375]:0x42af742)
at shalloville_v1-b59f032360f9fff9.wasm.std::sys_common::backtrace::__rust_end_short_backtrace::hbdf3ddeb21a1e747 (http://<IP_ADDRESS>:1334/api/wasm.wasm:wasm-function[307576]:0x5222d3a)
at shalloville_v1-b59f032360f9fff9.wasm.rust_begin_unwind (http://<IP_ADDRESS>:1334/api/wasm.wasm:wasm-function[242418]:0x4f52bd4)

I can provide my project if it's needed.

Fixed in 0.12.0


Fix raylib_namespace.h

previously, raylib_namespace.h didn't seem to compile
(at least, for me, using gcc on Linux)
things I changed:
raymath is now in its own namespace, rm
added my name to the copyright
removed the part about "prevent compile collisions", because a namespace can't do that, it was misleading

The one last thing to discuss is whether rlgl should have a separate prefix to raylib, and if so, what should that prefix be
I'm undecided on whether it should be namespace rlgl; or namespace rg;
leaning more towards the former

actually, I'm leaning more towards splitting this whole file into 3 headers
raylib_namespace.h
raymath_namespace.h
rlgl_namespace.h

is this a good idea?

nevermind - this is not feasible for various reasons
having multiple definitions of the same struct in different namespaces is incompatible
namespace tester{

typedef struct Color {
    unsigned char r;        // Color red value
    unsigned char g;        // Color green value
    unsigned char b;        // Color blue value
    unsigned char a;        // Color alpha value
} Color;

}

namespace testing {

typedef struct Color {
    unsigned char r;        // Color red value
    unsigned char g;        // Color green value
    unsigned char b;        // Color blue value
    unsigned char a;        // Color alpha value
} Color;

}

void test(tester::Color a){ }

int main(void)
{
        testing::Color x { 10, 10, 10, 10};
        test(x);
}

g++ test.cpp
test.cpp: In function ‘int main()’:
test.cpp:31:14: error: could not convert ‘x’ from ‘testing::Color’ to ‘tester::Color’
   31 |         test(x);
      |              ^
      |              |
      |              testing::Color

I did figure one workaround, which is to have a declaration of the type in the relevant namespace, while defining RL_XXX_TYPE
seems feasible, and none of the types in question are ever going to change
I'll give it a go

Doing my last review of the colors, I noticed this still exists:
https://github.com/raylib-extras/extras-cpp/blob/main/rlColors.h
is it actually necessary? I think raylib_namespace.h can cover everything it does, and putting a using namespace rl; is not hard, if the user doesn't desire the namespace part
or, the user can just copy the relevant part into a header manually
I think it should be removed, but if you think it still has value, I believe #undef on all the color constants would be a good change to make.


Add parent_ fields in TraceContext

Description
The trace_parent field currently passed into language worker has an mutated span-id. In order to support application insight to build an precise application map, the parent_trace_id also needs to be passed to the worker.
Issue Repro

Use Postman to send a request to function host with the traceparent header 00-4bf92f3577b34da6a3ce929d0e0e4736-5fd358d59f88ce45-01. The original span id (third section in trace parent) is 5fd358d59f88ce45
The SDK creates a new span updates the span id to 9ea20015365c0e40
Now the Activity.Current?.Id field no longer have the parent span information.
Worker receives the trace_parent, but it no longer contains the parent span id
Application insight fails to generate the application map

/cc: @AnatoliB @brettsam @lzchen @mhoeger @vrdmr

Sorry, this is actually a false alert. Leighton and I had synced up offline and seems like the application map can be built with the current TraceContext. Closing this PR


Update README.md

I had tried to paste the image, but couldn't((

That works above no? (I just edited it slightly)

(I can update the README after merging this PR though as well with that image if it's easier)

Now you have the screenshot. Could you add it yourself, please


Enable TLS for authentication services

This enables TLS for authentication services and enables it in the router authentication service plugin for the TLS-enabled listener.

@grs @rgodfrey Propose that we merge this now that things are in a working state.

+1 on merging

See https://github.com/EnMasseProject/enmasse/pull/152 for a suggested fix to keep the tests working (and add coverage for tls).

Thanks for adding the test @grs !


RuntimeError: DataLoader worker (pid(s) ****) exited unexpectedly

Hello,
First, thank you so much for sharing this amazing open-source project!
All I have are coord, color, and normal data. I converted my data to the S3DIS dataset format and saved them as .npy files to run the 's3dis/semseg-pt-v3m1-1-ppt-extreme' test. However, I keep encountering the following error:
RuntimeError: DataLoader worker (pid(s) ****) exited unexpectedly
The same issue occurs even when I use the original S3DIS data. I've set batch size to 1 and num_workers to 0, but the problem persists. I've seen previous issues reporting the same problem, but there doesn't seem to be a solution yet, so I'm raising this issue again. Could anyone help with this?

Sorry, it hard to figure out the reason for "DataLoader worker (pid(s) ****) exited unexpectedly"
Maybe you can write some logger and process data one by one to figure out which data cause this reason.


ADD social links In the left side SOCIAL media icons

Describe the feature
I want to add social media links in the left side social media icons present in the site.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Hello! I’m excited to work on this issue as a GSSOC'24 contributor. Could you please assign it to me?


bash: /home/myuser/.rbenv/bin/rbenv: No such file or directory when production deploying

 bundler:config
      01 $HOME/.rbenv/bin/rbenv exec bundle config --local deployment true
      01 bash: /home/ers/.rbenv/bin/rbenv: No such file or directory

Terminal logs /home/MYUSER/.rbenv/bin/rbenv: No such file or directory which is true:
ls /home/ers/.rbenv
plugins  shims  version  versions

I don't have a bin/rbenv folder. I believe it should be somewhere else, but running rbenv doctor shows:
~/.rbenv# curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | bash
Checking for `rbenv' in PATH: /usr/bin/rbenv
Checking for rbenv shims in PATH: OK
Checking `rbenv install' support: /home/ers/.rbenv/plugins/ruby-build/bin/rbenv-install (ruby-build 20210423)
Counting installed Ruby versions: 1 versions
Checking RubyGems settings: OK
Auditing installed plugins: OK

but cd /usr/bin/rbenv is unreachable. I can go to /usr/bin and when I ls -al, I'm able to see rbenv folder in a specific way:
lrwxrwxrwx  1 root   root          26 May  1  2017  rbenv -> ../lib/rbenv/libexec/rbenv
and I can't find that ../lib/ folder

I'd suggest reopening this at https://github.com/capistrano/rbenv
Or, really just installing Ruby directly on the host. rbenv, rvm, and chruby are fine, but if you can just install a system Ruby you will have an easier time. Just check what versions of Ruby you can get from the Ubuntu package repositories, and maybe you strike lucky.


Unnable to reach the fragment onActivityResult() method (using kotlin)

Hello,
I think that I'm using the equivalent code solution of what of an issue that has previously been closed (#155 ), however, after the image is selected, the flow of the program goes to the activity onActivityResult() and doesn't return to the fragment onActivityResult() and nothing happens.
(I'm using kotlin)
This is what I have in the fragment:

activity?.run {
startActivityForResult(CropImage.getPickImageChooserIntent(this, getString(R.string.select_app), false, false), CHOOSE_IMAGE_REQUEST)
}

(super is present on onActivityResult method)
is there something missing on the code above that is preventing the flow to reach the fragment method onActivityResult()?
thank you in advance

I was able to make a workaround on this issue by forcing the program flow to return to the fragment when it is at the activity.onActivityResult().
in the fragment I used (what was previously shared):
activity?.run {
                startActivityForResult(CropImage.getPickImageChooserIntent(this, getString(R.string.select_app), false, false), CHOOSE_IMAGE_REQUEST)
            }

When this line is read, the next hit is at the main activity onActivityResult().
Since the super.onActivityResult(requestCode, resultCode, data) won't send the flow back to the fragment, one can force the flow to return there by providing the needed instance before the supper is called:

At the fragment apply additionally:

init {
        instance = this
    }

companion object {
        private const val CHOOSE_IMAGE_REQUEST = 200
        lateinit var instance: FeedbackFragment
    }

At the main activity use:

public override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
        if (requestCode == CHOOSE_IMAGE_REQUEST){
            val fragment =FeedbackFragment.instance
            **fragment.onActivityResult(requestCode, resultCode, data)**

        } else {
            super.onActivityResult(requestCode, resultCode, data)
        }
    }

But if there is any other solution for this, please share.


Update Readme

We should update the readme to reflect the fact that Test is the most common usage and document its uses

Mention stdMath, Script as well.


“Dependent” is misspelled “dependant”

In case you want to fix the spelling.
(Similarly, “dependency” has no “a”.)
Relatedly, there’s a codespell precommit hook that may have caught this (and maybe other spelling errors in this codebase).

(I think you meant I'm in favor of "dependent(s)" and "dependencies", which I am.)
Every software tool I've ever used spells it with an e rather than an a, e.g.

pip
cargo
bazel
Nix
Homebrew

I had no idea "dependant" was ever correct. Granted, I'm American, but I've worked with lots of software engineers from the UK, Canada, Australia, etc. who are native English speakers who always spell this "dependent", which is consistent with all the software tools I've ever used.


No timestamp for evaluation triggered after auto-remediation

After a problem-open event Keptn has successfully executed a remediation action. However, the evaluation that has been performed after the remediation action was unsuccessful since the timestamps are missing.

In the detail section we can see the empty time stamps:

Also, some data was not parsed successfully:

Keptn version 0.7
Bridge version 0.7

I tried with a new image of the remediation service that was addressing #2080

Start time is now fixed but it still breaks since the endtime is missing:


Validation error - These fields are not present in the data: image

Describe the bug
I’m stuck on another validation error, which I believe to be some kind of bug. I have had previous issues with validation errors (e.g., re: issue #1620 where @triklozoid was able to resolve the issue, although I think somewhat manually), which effectively block my ability to use the Labeling Interface any further. But this time the error refers to a missing “image” field, yet I’m not seeing any tasks in this project without an image. Even if I export all of the data and look for tasks missing the "image" data field, I find none; all appear to be present and contain valid URLs. And this hasn’t been an issue in this project previously. It seems to have cropped up somewhat spontaneously and I have no way of tracking down its source. Deleting tasks that were created prior to the appearance of this bug did not appear to resolve it. However, copying the config and all of the data into a new project seems to resolve it (although this approach is not a viable or sustainable solution for our use case). Sarah Moir (who has kindly helped me troubleshoot in Slack) was able to use this same labeling config and data with a new project and noted that it "worked perfectly with no errors, so I’m wondering if maybe label studio is just confused somehow?"
To Reproduce
Steps to reproduce the behavior:

Go to Enterprise project (9619)
Click on "Settings" > "Labeling Interface"
See error

Expected behavior
It would be helpful to troubleshoot these validation errors if some offending task id(s) were listed somewhere in the error message. Otherwise it’s quite difficult / impossible to find the source of the error and the labelling interface remains locked to any changes / updates.
Our live app (we have data coming in live from a mobile app [and we're using Label Studio for a human-in-the-loop strategy]) is attached to this project, so having to create a whole new project every time we encounter a validation error is not really sustainable. We would have to continuously update our backend code that responds to the Label Studio webhook and lose the "created at" timestamps - which are quite helpful to us - if we were to reimport everything to a new project each time we hit a validation error like this. So it seems like the simplest or at least most robust solution would be to update the validation logic to be a bit more tolerant of dynamic data and/or clarify the source of the error so that it can be rectified.
Screenshots

Environment (please complete the following information):

Enterprise version
Label Studio Version 1.4.1post1:

{"release": "2.1", "label-studio-os-package": {"version": "1.4.1post1", "short_version": "1.4", "latest_version_from_pypi": null, "latest_version_upload_time": null, "current_version_is_outdated": false}, "label-studio-os-backend": {"message": "feat: DEV-1238: Add video object detection template", "commit": "d170a762cb8b4d42a8040753348c934840fdf3bf", "date": "2022-03-03 14:38:17 +0300", "branch": "develop", "version": "20220303.113901-release-d170a762"}, "label-studio-frontend": {"message": "fix: DEV-1784: Fix drawing hanging when region is tiny (#516) CHANGELO ...", "commit": "9f7d62", "branch": "HEAD", "date": "2022/03/02 11:56:56"}, "dm2": {"message": "feat: DEV-1621: Add usage of new method to create annotation (#34) COD ...", "commit": "48ac59", "branch": "HEAD", "date": "2022/02/16 19:59:52"}, "label-studio-converter": {"version": "0.0.39"}, "label-studio-enterprise-backend": {"message": "feat: DEV-1238: Add video object detection template", "commit": "d170a762cb8b4d42a8040753348c934840fdf3bf", "date": "2022-03-03 14:38:17 +0300", "branch": "develop", "version": "20220303.113901-release-d170a762"}, "label-studio-enterprise-package": {"version": "20220303.113901-release-d170a762"}, "label-studio-react-app": {"message": "Migrate api (#97) Co-authored-by: Max Tkachenko<EMAIL_ADDRESS>"commit": "a0b44e12d28dcb4d1f2a781ea6cd8c6786983e55", "branch": "HEAD", "date": "2022/02/18 04:27:52"}, "lsf": {"message": "fix: DEV-1784: Fix drawing hanging when region is tiny (#516) CHANGELO ...", "commit": "9f7d62", "branch": "HEAD", "date": "2022/03/02 11:56:56"}, "backend": {"commit": "d170a7"}}

Additional context
I have corresponded with Sarah Moir in Slack, both in the "general" channel here and in DM.

FYI, just trying to read through some similar issues for any overlap. I think this error might be related to #1683. However, even if I clear all instances of required="true" from the config, I still get this error.

@ijmiller2 Hi, we had some bug fixes regarding required=true, if you could check the develop branch of github LS, it would be perfect!

Hey @makseq, thanks for the heads up! We're using the enterprise version and the error message went away when we started a new project with the same template and exported dataset (not an ideal solution but a temporary workaround). So not sure if I'd have any good way to test it even if I used the develop branch locally.
Looks like the error still shows up in the old project. Here's the version info:
{"release": "2.2.7", "label-studio-os-package": {"version": "1.4.1post1", "short_version": "1.4", "latest_version_from_pypi": null, "latest_version_upload_time": null, "current_version_is_outdated": false}, "label-studio-os-backend": {"message": "fix: DEV-2354: Fix skip queue (#2439)", "commit": "18e40e161eb886917fb40908ecd78ecf4399f944", "date": "2022-05-11 17:55:21 +0400", "branch": "HEAD", "version": "2.2.7-hotfix.2"}, "label-studio-frontend": {"message": "fix: DEV-2300: Wrong readonly resolution in Result (#606)", "commit": "22750c52268ce7220d01692657f3b7e21c167766", "branch": "fix/dev-1642/region-textarea-copy", "date": "2022/05/04 17:53:41"}, "dm2": {"message": "fix: DEV-2266: no comments with toggle off (#53)", "commit": "0129979a0f6bb9010c472d3da90ee22b8154aa62", "branch": "release/2.2.7", "date": "2022/04/29 16:26:17"}, "label-studio-converter": {"version": "0.0.40"}, "label-studio-enterprise-backend": {"message": "fix: DEV-2354: Fix skip queue (#2439)", "commit": "18e40e161eb886917fb40908ecd78ecf4399f944", "date": "2022-05-11 17:55:21 +0400", "branch": "HEAD", "version": "2.2.7-hotfix.2"}, "label-studio-enterprise-package": {"version": "2.2.7-hotfix.2"}, "label-studio-react-app": {"message": "fix: DEV-1711: Add requeue toggle for annotators (#141)", "commit": "b4644a5f8fcb276c0d4f7180883ecc6dead04a89", "branch": "DEV-1823", "date": "2022/05/02 16:13:47"}}

Oh, sorry, I missed "release": "2.2.7" :-)

@ijmiller2 please let me know a project number where I can reproduce this issue (if you are on app.heartex.com).

https://app.heartex.com/projects/9619/

@ijmiller2 Sorry for the delay. I fixed this issue.

Oh great, thank you! Looks like that validation error is gone from the project.


Note about stories with one step and McCabe complexity check.

[ ] Place it in the FAQ.

Superseded by #627


Change offers options

Instead of only altering offers to change expiry dates, also add other options:

remove/add games from either side
change ratio
change expiry time (already exists)

It would be cool if this script could update sent exchanges, that is remove from them the games that I already received during the previous exchange

It would be cool if this script could update sent exchanges, that is remove from them the games that I already received during the previous exchange

Yup, I know. I've campaigning for barter to add this feature natively. I hesitant to add stuff to this script, while it can much better be added to the site instead.


How to Install

Pls dear, thanks for your product you are doing a great job, but please how do one install your codes or script on a site so it works perfectly? thanks

This is an Ethereum smart contract library requiring knowledge of Solidity and DAPP development.  It is not a script for a website.

Thanks a lot for your response I so much appreciate, I know about the solidity stuff and I can see the etc codes In it but what motivated me is the in built trade engine it has, now I can create a token on solidity with that code but the problem is where or how to apply the code for the trading , and relate it to a site where users can make purchase or trade the token. I would so Much appreciate your guild line especially on the trade engine implementation. Thanks once again for your kind heartedness

Okay, noted, hear is my email<EMAIL_ADDRESS>u can help me learn ur code Better


Incorrect migration being executed (v2.3.0)

I have added v2.3.0 of umzug to a project to handle database migrations. Previously my project's migrations using umzug have been ran and executed successfully until I added a new pair of migration files.
Files that have been added:
/migrations/v3-tables.js
/migrations/v3-tables-constraints.js

I have defined the order that the migrations have to be ran in by using a separate JSON file to store / manage that called "migrations-list.json"
{
  "up": [
    ...
    "v3-tables",
    "v3-tables-constraints"
  ],
  "down": [
    ...
  ]
}

And I execute them using the following async method to ensure they get executed sequentially.
const migrationsList = require('./migrations-list.json');

const invokeUpMigrations = async function(){
    //query umzug for any migrations that are pending (aka. that haven't ran)
    const pendingMigrations = await umzug.pending();
    //filter out the migration names array based on if there is a pending migration with that file name
    const filteredMigrationIds = migrationsList.up.filter((migrationId) => {
        return pendingMigrations.some((pendingMigration) => {
            return (pendingMigration.file === (migrationId+'.js'));
        });
    });
    //execute each migration name that is pending in the order from the "migrationsList"
    for(const migrationId of filteredMigrationIds){
        await umzug.up(migrationId);
    }
};

I found that within the function _findMigration() in /lib/index.js when it is testing the file name of the migration using migration.testFileName(needle) it gets returned the incorrect boolean value when comparing the needle parameter of "v3-tables" against the value of this.file with the value of "v3-tables-constraints" since it is using .indexOf()
_findMigration() snippet:
_findMigration(needle) {
    return this._findMigrations().then(migrations => migrations.filter(migration => migration.testFileName(needle))[0]).then(migration => {
      if (migration) {
        return migration;
      } else {
        return _bluebird.default.reject(new Error('Unable to find migration: ' + needle));
      }
    });
  }

_testFileName() snippet from "/lib/migration.js"
  testFileName(needle) {
    return this.file.indexOf(needle) === 0;
  }

Is .indexOf() the intended way of comparing the migration names and can this be addressed in a future release of v2 (or in the v3 beta if it's present there)?
Is there a known work around this edge case without having to change the names of my migration files?

This is fixed in https://github.com/sequelize/umzug/pull/325 so if that lands soon the issue will be addressed in v3. I'll add an explicit test case to that PR. For now, there's no workaround and introducing one would be a breaking change so likely there will not be a fix for v2. The simplest solution would be to rename your migrations, but failing that you may need to require the Migration class and patch Migration.prototype.testFileName.

@mmkal Thank you, I did end up renaming my migration files to avoid this issue. Thank you for including it in that PR.


Refactor store to remove readonly

After changing Store to be readonly, @high1 pointed out on discord that non-readonly types might be more desirable e.g. in this scenario:
function getFirst(list: string[]): string {
  return list[0];
}

const [store, setStore] = createStore({ list: ["hello"] });

getFirst(store.list) // <-- readonly string[] not assignable to string[]
setStore("list", (list) => [getFirst(list)]) // <-- readonly string[] not assignable to string[]

It's fairly common to encounter immutable functions that do not type their parameters as readonly outside of native functions/classes like Object.fromEntries or Map. This PR makes it so none of these are readonly. However, I'm not sure if setStore should be kept as readonly.
In my opinion:

In setStore, there are fewer cases where a user might pass list in setStore to a function typed with string[] if it is immutable, and more cases where users to try to directly modify list within setStore if it is mutable.
In store, a user might attempt to call methods that do not exist on readonly arrays such as store.list.push("uh oh") if it is mutable.

Hence a discussion might be needed on whether it should be:

readonly store and setStore: technically "correct" types, but might require casting
mutable store and readonly setStore: less likely to get in most users' way, but allows store to be misused e.g. store.list = [], store.list.push("uh oh"). Inconsistent.
mutable store and setStore: definitely will not get in users' way, but additionally allows setStore to be misused e.g. setStore(store => (store.list = [], store)).

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.396%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1190

Relevant Lines:
1273

💛  - Coveralls

I have a feeling that keeping it correct (all readonly) is the way to go.
It is similar in practice to writing let foo for a variable that never changes, when we should be using const instead.
In a similar vein, if a function is only reading, it should be defined with readonly for it to be correct (how many of us forget to do that :), let's add lint rules).
playground example that shows the "right" and "wrong" ways to write code.

It's fairly common to encounter immutable functions that do not type their parameters as readonly outside of native functions/classes like Object.fromEntries or Map.

I think it is an artifact from a time before readonly was in place.

I think it is better to keep people accidentally trying to modify state and things not working, or passing state to some APIs and expecting it to perform state management and it not working, etc.

The issue here is the usage of the store - this forces the user to unbox every value that he reads from the store, and that's visible from the example, right? Although the value is only read and not mutated, you are forced to unbox it from readonly.

If you can post playground examples, that'd be helpful.

I guess it's better to use _.cloneDeep, spread or override some library types globally in the project.
Sad times...

https://tsplay.dev/WvVkBW this is actually great and will prevent shooting ourselves in the foot in case we try to do pure functions without immer.
I've seen .sort() and deep object spreads with nested properties mutation in "pure" functions.
DeepReadonly would shout on them.

I feel this is more breaking than making the types. Can we instead provide an Unwrap<Store> helper type for those rare cases when you really need to abuse stores in such a way?

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
13 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.02%) to 89.381%

Files with Coverage Reduction
New Missed Lines
%

packages/solid/src/render/Suspense.ts
1
80.49%

packages/solid/web/src/index.ts
2
81.69%

packages/solid/src/render/component.ts
10
64.96%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
1193

Relevant Lines:
1275

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
13 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.02%) to 89.381%

Files with Coverage Reduction
New Missed Lines
%

packages/solid/src/render/Suspense.ts
1
80.49%

packages/solid/web/src/index.ts
2
81.69%

packages/solid/src/render/component.ts
10
64.96%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
1193

Relevant Lines:
1275

💛  - Coveralls


Implement VLEK support

The VLEK key type was added in the API revision of November 2022 (primarily an AWS-requested feature), but we don't have proper support for the key type in our KDS cert validation or in the change to the 32-bits that include AUTHOR_KEY_EN. This issue should be closed when we have fake SEV device VLEK support, unit tests, cert chain proto representation of the cert type, and ensure that VLEK/VCEK keys are only acceptable for report types that embed that key type in the report.
While we could pun the VCEK field with the VLEK, it's not the cleanest solution. I think I'd prefer separate fields in the certificate chain representation.

I am working on it, but it hasn't been my main focus. I do have something nearly done, which I'll be posting soon.

Please take a look at PR#67


Cannot create field 'Continuations' in element {Parameters: […]}'

I get this error on BackgroundJob.ContinueJobWith with this version:

Hangfire.Mongo v0.6.7

If I downgrade the same lib it works:

Hangfire.Mongo --> v0.5.12

Described in more detail here:
https://stackoverflow.com/questions/61192195/hangfire-mongodb-exception-cannot-create-field-continuations-in-element-para

@adrianrosca,
Thanks,
I will try to reproduce. What version of MongoDB are you using?

I'm using the following libs:
mongocsharpdriver - v2.10.3
MongoDB.Bson - v2.10.3
MongoDB.Driver - v2.10.3
MongoDB.Driver.Core - v2.10.3
MongoDB.Libmongocrypt - v1.0.0
I'm also using these Hangfire libs:
Hangfire - v1.7.10
Hangfire.Core - v1.7.10
Hangfire.SqlServer - v1.7.10
I tested different versions of both MongoDB and Hangfire, but that didn't make a difference. The only thing that made a difference was downgrading Hangfire.Mongo to v0.5.12.

@adrianrosca,
Im not able to reproduce.
The Hangfire.Mongo lib does use MongoDB.Driver v2.10.2 and Hangfire.Core v1.7.9
Did you try these versions?
Thanks

closing due to inactivity


Support mock image content

Describe your changes
Adds simple support for mock image content on mocked Posts.
Issue ticket number and link
#39
Checklist before requesting a review

[x] All code is linted and conforms to style guide
[x] All necessary context is described in the PR or Issue
[x] This branch is code and feature complete. If it is not complete, this PR is a draft.

It should be noted that the first commit on this stack is part of a separate PR that has yet to be reviewed.


pg.doubleClick(x, y) does not work on win10

(x,y) is the right point, which has been specifically confirmed; and all relevant code can run smoothly on windows 7, where pywinauto-0.6.5 and python 3.7.4 have been installed.
However, pg.doubleClick(x, y) cannot work on win 10 and there seems no any effect of double click, even though I can see the mouse has been moved to the right place. There is no any error message outputed.
What's the matter with the problem and how to fix it? Any help or tips would be greatly appreciated!
Environment information:
windows 10 home edition, 19042.1165
python 3.7.4
pyautogui 0.9.53
The computer has only one graphics card: Intel HD 630

I tested it pass on another PC which has a display card 'Radeon RX 460', so is this problem related to what graphics card the computer uses? How to solve it if so?

This workaround worked for me:
pag.moveTo(x_loc, y_loc)
pag.mouseDown()
time.sleep(0.5)
pag.mouseUp()

I'll try to get time to look into this, but on a cursory look it seems to work on my Windows 10 machine. I don't think the graphics card should matter because PyAutoGUI works by making Win32 API calls. If you find a way to reliably reproduce this, please post additional comments.


feat: lazily provision unknown topics returned by EventRouter

lazily provision unknown topics.
Keep the old Topics option and abstract topic provisioning into a separate method for consistency
Close https://github.com/elastic/apm-queue/issues/15

Hmm no, based on the lack of testing capabilities from the Google APIs, I'm afraid there isn't much we can do here :(


user variable for region

Hi again @wata727
I'm trying to run the post-processor with a user variable, as such:

"post-processors":[{
"type": "amazon-ami-management",
"region": "{{user destination_regions}}",
"identifier": "buildX",
"keep_releases": "1"
}
]

destination_regions is defined as:

{
"variables": {
"aws_access_key": "{{env AWS_ACCESS_KEY_ID}}",
"aws_secret_key": "{{env AWS_SECRET_ACCESS_KEY}}",
"destination_regions": "eu-west-1,eu-west-2,eu-west-3,eu-central-1,us-east-1,us-west-1,ap-northeast-1,sa-east-1",
"hostname": "buildXX"
},

I'm under the impression, however, that the post-processor cannot recognize this syntax and silently fails. Can that be the case?
Any tips on how I can make use of a variable in your post-processor part?
Thank you!

The title of my issue summarizes it. The proper definition is regions. I'm giving it a try now with regions and with the user variables.

Hi @0xtf, I confirmed this problem.
I think this post-processor should validate configurations more. For example, if regions is empty, it outputs the error message as follows:
$ packer build template.json
amazon-ebs output will be in this color.

Empty `regions` is not allowed. Please make sure that it is set correctly.

It has been confirmed that this behavior can be implemented as the packer plugin system. What do you think?

Hi @wata727,
Thank you for your excellent support and assistance, as always!
The problem was in fact with the region/regions. Truth be told, the documentation makes it very clear that it should be regions. The only reason I had a problem was because I was coming from an older version of the plugin.
That being said, if you can add that confirmation/verification without too much work, I think it is a good thing.


How to customize PDF output?

Hi,
how does one customize the direct PDF output (headings, font-style, font-sizes, ...)
AsciidocFX only seem to directly provide Preview/HTML/Docbook settings...
Thanks in advance!
Greetings
...
Mike

Hello Dear,
You should edit Docbook files located in /config directory of AsciidocFX

Hi,
oh no! :-)
There are too many to choose from:
At least two initial directories: docbook and docbook-config.
And which ones are the right config files for docbook -> PDF-output.
Greetings
...
Mike

docbook is core, docbook-config is AsciidocFX's extension.

Check out http://www.sagehill.net/docbookxsl/ for details. I typically make a single XSL file that contains all of the changes / overrides I want and then add that file to the ones getting processed.


Add dilated convolution and update related code format

This PR contains:

Add dilated convolution operations, neurons, and unit test;
Add mutable operations for existing convolution operations;
Move owl_utils_conv functions and par of owl_utils_ndarray functions to owl_utils_infer_shape; shape inference functions of dilated convolutions are also added;
Adjust the order of convolution functions in mli files;
Add unit test for previously added conv_mec and conv_naive implementation.

One thing that is not done yet is the name of functions from owl_utils_conv. Current I keep them unchanged as e.g. calc_conv2d_output_shape. Maybe later we should find some proper renaming rules for them.

Awesome PR!


iPad version is locked in landscape mode

It does not rotate to portrait mode.

@chrismorast works fine here, did you forget to unlock screen-rotation from the settings panel (swipe up from bottom)? did you try restarting the app?

I rechecked this and it occasionally rotated but stopped. Attaching screenshot. As you can see, the device status bar is rotated but the app is not.

@chrismorast can you reliably reproduce this?  I haven't been able to get it to occur on an iPad mini running iOS 8.4.1.  Are you running the iOS 9 beta or maybe an older version of iOS8?

Yes, I can reproduce every time. I'm running 8.1.1

Can you update to 8.4 and see if it occurs there? I'm not 100% sure but I believe every iPad that runs 8.1 should also handle 8.4.
On 9 September 2015 17:42:42 BST, chrismorast<EMAIL_ADDRESS>wrote:Yes, I can reproduce every time. I'm running 8.1.1  —Reply to this email directly or view it on GitHub.

Do we have an idea of what our installed iOS base looks like? Is requiring 8.4 a mistake?

You can get some info about installs for each version of iOS in the new iTunes app analytics, but I don't have access to that.
However, I wouldn't recommend requiring iOS 8.4.  I just suspect that this may be an iOS bug that was fixed between 8.1 and 8.4.

Agreed! I was more speaking to the upgrade to 8.4 being the solution. Maybe I'm confused.

But the issue is that anyone running 8.1 will see what I'm seeing. That's what I'd like to avoid.

@chrismorast Yes, but if the bug is in iOS 8.1 then it's possible that there's nothing we can do about it.  However, I've just pushed a change (build 612) which might fix it, but I don't have an 8.1 device to test on.  Could you give it a whirl and let me know if it's any better?

Nice work @sreilly ! It is corrected in build 612


Optional manifest element in workflow repository entries is ignored

The optional manifest element in workflow repository entries is currently ignored when installing templates. This raises an error forl the PIE workflow templates, for example:
Traceback (most recent call last):
  File "/home/heiko/bin/anaconda3/envs/flowapp/bin/flowapp", line 33, in <module>
    sys.exit(load_entry_point('flowserv-core', 'console_scripts', 'flowapp')())
  File "/home/heiko/bin/anaconda3/envs/flowapp/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/heiko/bin/anaconda3/envs/flowapp/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/heiko/bin/anaconda3/envs/flowapp/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/heiko/bin/anaconda3/envs/flowapp/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/heiko/bin/anaconda3/envs/flowapp/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/heiko/projects/scailfin/flowserv-core/flowserv/cli/app.py", line 76, in install_workflow
    app_key = install_app(
  File "/home/heiko/projects/scailfin/flowserv-core/flowserv/app.py", line 226, in install_app
    workflow = repo.create_workflow(
  File "/home/heiko/projects/scailfin/flowserv-core/flowserv/model/workflow/manager.py", line 134, in create_workflow
    manifest = WorkflowManifest.load(
  File "/home/heiko/projects/scailfin/flowserv-core/flowserv/model/workflow/manifest.py", line 191, in load
    raise err.InvalidManifestError('missing name')
flowserv.error.InvalidManifestError: missing name

Closed by commit 070cbe0a230f3702e404a591db13c36d23278312


Generate new resources from schema

When creating a new resource there should be an option to generate its content from the corresponding json schema - so I have something to start with..

attempted to do this in olelensmar/fix/generate-resource-from-schema branch - works but will need a lot of customization as default resources come out rather un-usable, for example a generated ConfigMap:
apiVersion: v1
kind: ConfigMap
metadata:
  resourceVersion: aliquip ut dolore
  ownerReferences:
    - apiVersion: incididunt anim aliquip magna tempor
      kind: consectetur elit nostrud
      name: magna et Ut commodo ullamco
      uid: aute Duis ex eiusmod commodo
      controller: false
      blockOwnerDeletion: false
    - apiVersion: non
      kind: velit qui proident ut
      name: nisi
      uid: occaecat nisi cupidatat enim incididunt
      blockOwnerDeletion: false
      controller: false
  selfLink: minim do in cillum eu
  finalizers:
    - labore commodo aute exercitation ea
    - occaecat reprehenderit enim
    - ullamco adipisicing officia amet
    - et enim ipsum amet
  clusterName: minim Duis id
  deletionTimestamp: 1971-12-04T23:00:00.0Z
  annotations:
    Excepteur_6: veniam enim
  uid: dolore occaecat est
  generateName: consequat id
  creationTimestamp: 1981-03-02T23:00:00.0Z
  name: xcvxfxc
immutable: true
data:
  dolore0_: proident consectetur labore nostrud
binaryData:
  essee18: mollit exercitation

Perhaps better to provide meaningful manually created template(s) instead generating!?

this was actually added a while back - see #2795


Add iOS build -destination flag

Pass a given device ID into the xcodebuild command so it can just build for the targeted architecture (in debug). Default to the "generic" iOS or simulator placeholder devices instead of the first listed.
Fixes https://github.com/flutter/flutter/issues/87136
flutter run and flutter build ios -d part of https://github.com/flutter/flutter/issues/90382.

Google testing failing because the roll does not yet contain #90304, ignoring.


filterNil does not prevent null types

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior
filterNil is not removing null or undefined from the generic type:

Expected behavior
In the example before, a and b should not be nullable and typescript should not throw error when they are accessed.

Solution
Change filterNil to the following code:
import { Observable } from 'rxjs'
import { filter } from 'rxjs/operators'

/**
 * @example
 *
 * query.selectEntity(2).pipe(filterNil)
 */
export const filterNil = <T>(source: Observable<T | undefined | null>) =>
  source.pipe(
    filter(
      <P>(value?: P | null): value is P =>
        value !== null && typeof value !== 'undefined'
    )
  )

Result:
Bug solved:

I'm creating this issue just to be sure if I'm not doing anything wrong. If it's really a bug, I can create the PR.

I'm not sure why your approach is different from https://github.com/datorama/akita/blob/master/libs/akita/src/lib/filterNil.ts#L10

It never worked for me in all my different projects. Than I searched on Google how to filter and make ts know that your data is not nullable anymore, so I found that code. I replaced the filterNil function and it worked and I wanted to share here

Can you reproduce it on stackblitz, please?

I tried to reproduce it on a new project and it worked just fine... there must be some inconsistency in the projects I have, I apologize.
I tried this example and it worked:
export interface MyData {
  id: string;
  name: string;
}

export class AppComponent {
  readonly nullableData$ = new BehaviorSubject<MyData | null>(null);

  readonly filtered$ = this.nullableData$.pipe(
    filterNil,
    map(data => data.id)
  );
}


Document expected rad CLI commands

We should come up with the CLI commands that would make it easier for our UI to pull all the relevant data and pass this onto the clients team, as input for their CLI design.

Patch Listing
Eventually, we need to show the following information:

state (open, closed, etc.),
author (peer identifier, profile name (or some human readable) ),
peer branch name,
commit hash,
title,
description,
reviewers,
creation date,
last updated date,
"unread" status (we need to track the "last opened" date)

Patch Overview
everything returned in patch listing, PLUS:

comments,
reviews,
assigned labels,
CI check results,

Patch Update

add/edit/delete comment,
add/edit/delete review,
add/edit/remove reviewers,
close PP,
merge PP,
assign/remove label,

We need a command in order to get a list of the identities
We need a command in order to remove identities (I think this command exists in the 0.7 rad version)

we have already provided some input informally on zulip and we now have a much more direct connection with the code collab team, so closing this.


Download error

Hi, thanks for your great tool !
I created a conda environment with python=3.10.12, and excuted pip install cellphonedv==4, but the scikit-learn can't be downloaded, just like the following:
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for scikit-learn
Failed to build scikit-learn
ERROR: Could not build wheels for scikit-learn, which is required to install pyproject.toml-based projects
I have tried to download scikit-learn alone use pip, but the lateste version 1.3.0 can be downloaded while the version 0.24 can't.
Could  you give me some advice, thanks!

Hi.
To install the latest version of the tool please refer to what's described on the main page of the repository.

Install it in a new conda environment.
Use pip install cellphonedb

Try this should work. Moreover, can you provide the operative system in which you are trying this?
Kind regards

Hi, ktroule
I use centos, and your advice worked! Thank you very much!
Best,
Ithinky


Revert "Merge pull request #35 from optimizely/mng/rename-user-profile"

@optimizely/fullstack-devs

Tests pass locally and Travis is taking forever, so I'm merging


When starting the app in airplane mode, the listener is not notified

[x] I've read, understood, and done my best to follow the *CONTRIBUTING guidelines.

What did you do?
let reachability = ReachabilityNetworkManager(host: "www.apple.com")!
reachability.listener = { state in
    print("isReachable: \(state)")
}
reachability.startListening()

What did you expect to happen?
The print statement should have printed "isReachable: false"
What happened instead?
Nothing is printed when starting with no connectivity. But if you start the app with connectivity, it will print. The initial notification is not called in airplane mode.
The issue is that flags and previousFlags both have a rawValue of 0, so the guard in notifyListener returns. The previous flags should probably default unknown, rather than 0, which means not-reachable.
Alamofire Environment
Alamofire version: 4.8.0
Xcode version: 10.1
Swift version: 4.2
Platform(s) running Alamofire: iOS
macOS version running Xcode: 10.13.6

Hello! Problem is still here. I run my app from Xcode via wire on the device with turned on airplane mode and NetworkReachabilityManager()?.isReachable returns "reachable" merely once.

Alamofire 5.6.1
Xcode 13.2.1
Swift 5
iPhone 12
iOS 15.5


Several fixes for rust 1.7

Most importantly, update the stage0 snapshot so that it actually accomplishes something.  Additionally, improve support for running on tiny Linux systems with support for musl libc and static linking.

looks good to me, thanks!


SecurityToken exceptions should include details as properties

E.g. SecurityTokenInvalidAudienceException should have an InvalidAudiance property containing the invalid value. Similarly for SecurityTokenInvalidIssuerException, SecurityTokenInvalidLifetimeException, SecurityTokenNotYetValidException, SecurityTokenExpiredException, and maybe SecurityTokenInvalidSignatureException and SecurityTokenSignatureKeyNotFoundException.
RE: https://github.com/aspnet/Security/pull/845

@Tratcher We've moved this to the backlog because we don't think we can get this done for RTM.

@Tratcher This info is in the exception message for logging and debugging. We don't think this needs to be specific properties in the exception types.

@polita @brentschmaltz please reconsider, the current messages are not suitable for our scenario (sending to a remote client). We want to generate our own messages with the relevant details.

@Tratcher can you give us an example for say: InvalidAudienceException. What is bad about the current message, what your new message would look like and what would the new InvalidAudienceException properties return.

The issue is not the current messages per say, the issue is that we are crossing a trust boundary and cannot pass through unknown data. Your messages are "for logging and debugging", where ours are for remote users. Even if we validated all of your messages now, we can't vet them every time you make changes.  We just want the raw data and we'll make sure what we send to the client is appropriate.
Prior discussion for reference: https://github.com/aspnet/Security/pull/845#issuecomment-221709584

Done with #479.

Milestone Backlog? What release was this in?

@Tratcher 5.1.0


small fixes from my old PR 505

https://github.com/plone/training/pull/505

Links need fixing:

https://github.com/plone/training/runs/4499227483?check_suite_focus=true#step:5:2584
https://github.com/plone/training/runs/4499227483?check_suite_focus=true#step:5:2110
https://github.com/plone/training/runs/4499227483?check_suite_focus=true#step:5:2122
https://github.com/plone/training/runs/4499227483?check_suite_focus=true#step:5:2361
https://github.com/plone/training/runs/4499227483?check_suite_focus=true#step:5:2363
https://github.com/plone/training/runs/4499227483?check_suite_focus=true#step:5:2749

@tkimnguyen although you did not break those links, would you please fix them? We have not yet stated who is responsible for fixing link rot: Author, Maintainer, Maintainer chasing down Author, Contributor of PR, or no one.

I also do not know what 👀  means in a reaction.

Yup will do. Was out of commission this weekend. 👀 meant I was looking...

Links need fixing:
* https://github.com/plone/training/runs/4499227483?check_suite_focus=true#step:5:2584

This one works... their SSL cert has been updated

* https://github.com/plone/training/runs/4499227483?check_suite_focus=true#step:5:2110

Fixed

* https://github.com/plone/training/runs/4499227483?check_suite_focus=true#step:5:2122

The offending http://plone.org is no longer there.

* https://github.com/plone/training/runs/4499227483?check_suite_focus=true#step:5:2361

Fixed

* https://github.com/plone/training/runs/4499227483?check_suite_focus=true#step:5:2363

Fixed

* https://github.com/plone/training/runs/4499227483?check_suite_focus=true#step:5:2749

Fixed!

OMG OMG y'all passed


Draw a spine !

Hello guys,
I would like draw a spine thanks of some point in my DB and the scale must be the same!
The problem is, the x Axes take all place in width and i don't have the same scale.

me, i would like this=>

And if it's possible how can i put a line between the point?!
Thanks evryone

@etu29414 I would use CSS to limit the width of the chart container

Yes but with ChartJs,if i modify width it modify the height to

@etu29414 you can set maintainAspectRatio: false in the config and set the height manually

Oh,thx !


Remove some usage of unsafe code

Objective
Removes a few calls of unsafe. Safe code ftw!
Solution
Remove unsafe
Draft because it is not finished!

I've found a few calls that are basically unsafe code because there aren't any if statements validating safety. I think that is probably the thing I'm going to target.

I'm inclined to think we should close this PR since it currently doesn't suggest any changes.
If and when you find some other unsafe code which can be reworked, you can always open another PR (I think #general-dev would be most suitable channel for this)

I've tried to find more, and I've failed. Sorry :(


Allow DID parameters for verifiable credentials and presentations

Fixes #1201
{
  credential: {
    issuer: { id: `${identifier.did}?versionTime=${versionTime}` },
    credentialSubject: {
      id: 'did:web:example.com',
      you: 'Rock',
    },
  },
  proofFormat: 'jwt',
}

Remove DID parameters in the issuer and holder properties when looking up the identifier using the DID manager. The DID manager doesn't handle DID parameters like versionTime. When the DID manager is used we should be able to safely ignore them. They're only used when resolving the DID.
What is being changed
Added options property to extractIssuer, with option removeParameters. Added a removeDIDParameters function to credential-utils.
The credentials-w3c, credentials-ld, and credentials-jwt plugins all remove the DID parameters before looking up the identifier via the DID manager. If the DID is resolved, the parameters are not removed.
Modified shortDid to always remove parameters.
Quality
Check all that apply:

[X] I want these changes to be integrated
[X] I successfully ran pnpm i, pnpm build, pnpm test, pnpm test:browser locally.
[X] I allow my PR to be updated by the reviewers (to speed up the review process).
[X] I added unit tests.
[ ] I added integration tests.
[ ] I did not add automated tests because _________, and I am aware that a PR without tests will likely get rejected.

No tests for:

credentials-jwt, because there are no existing tests
credentials-ld doesn't mock services, making it hard to test this feature

We'll merge this as-is since the main use of the url-stripping is for matching against lists of other DIDs.
Thank you for the contribution @jasny


Move FlexBoxLayout package to androidx.recyclerview.widget.FlexboxLayoutManager

[x] I have searched existing issues and confirmed this is not a duplicate

Issues and steps to reproduce
I am trying to use the default configs for the FlexBoxLayout by only declaring it via the layout file. This is the line I am trying to add to my RecyclerView: app:layoutManager="FlexboxLayoutManager"
Expected behavior
android.view.InflateException caused by java.lang.IllegalStateException: Binary XML file line #68: Unable to find LayoutManager androidx.recyclerview.widget.FlexboxLayoutManager
Version of the flexbox library
1.1.0
Possible solution
Move the FlexboxLayoutManager to the package androidx.recyclerview.widget so that the declaration works without problems.

I found a solution for my problem. Closing this issue.


"qs" dependency

I found I had to add a "qs" dependency to have it work in my Electron App, not sure if you are missing a dependency or if I might have done something wrong.
Looks like you use it in your helper.ts
import { stringify } from 'qs';
Adding the below "qs" dendancy to my Electron app fixed the issue.
"main": "main.js",
"dependencies": {
	"electron-ga": "1.0.5",
	"qs": "6.5.1"
}

Looks like this issue can be closed since qs was added to the project in b06d06bc615bad677bbcc669405c9a9f812dc445.
Nevertheless, I recommend dropping this dependency in favor of the native URLSearchParams

closed since qs was added to the project


Change dark mode implementation to use cookies (#5)

Keeps the theme consistent across multiple sessions

Great work man!


Still showing shares instead of tokens

Describe the bug
A clear and concise description of what the bug is.
Page validator (and maybe LiValidator) is showing shares
To Reproduce
Steps to reproduce the behavior:

Submit delegation with X stake
Go to Validator page

REST Request:
{"type":"auth/StdTx","value":{"msg":[{"type":"cosmos-sdk/MsgDelegate","value":{"delegator_addr":"cosmos160a2xkrnhk9tqfzklgrwv8nvlplxaa3eegmuz6","validator_addr":"cosmosvaloper160a2xkrnhk9tqfzklgrwv8nvlplxaa3euu0fwf","value":{"denom":"stake","amount":"200001"}}}],"fee":{"amount":null,"gas":"500000"},"signatures":null,"memo":""}
Expected behavior
A clear and concise description of what you expected to happen.
Show tokens instead of shares
Screenshots
If applicable, add screenshots to help explain your problem.
My Delegation is showing shares:

I don't think this is true. We use the computed yourVotes which calculates shares to tokens. Maybe you thought this because of the uatoms?

100200001 uatoms are not 200001 atoms

100200001 includes the string 200001. this may have been an optimistic update error at the same. I can't reproduce the issue on fabo/2044-big-numbers

@fedekunze changes are on develop now, this should be fixed. can you approve?

fixed on develop


File association for .BAT and .CMD

Hello,
Please add below feature:

File association for .BAT and .CMD

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\cmdfile\shell\open\command]
@="\"C:\\Users\\Muhammad\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe\" new-tab -p \"Command Prompt\" \"%1\" %*"

[HKEY_CLASSES_ROOT\batfile\shell\open\command]
@="\"C:\\Users\\Muhammad\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe\" new-tab -p \"Command Prompt\" \"%1\" %*"

Thanks

Thanks for the suggestion! I think the way we plan on solving this is by letting the user broadly set another application as the default terminal app, instead of the vintage console host. That way, double-clicking on a .bat or .cmd file would automatically open cmd inside whatever the default terminal application is.
That work is being tracked over in /dup #492


Local development via docker-compose

If I try to start local development via docker-compose up, it fails with:
Starting go-web-app_react_1 ... done
Attaching to go-web-app_react_1
react_1  | yarn install v1.22.19
react_1  | [1/4] Resolving packages...
react_1  | success Already up-to-date.
react_1  | Done in 0.34s.
react_1  | yarn run v1.22.19
react_1  | error Command "dev" not found.
react_1  | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
go-web-app_react_1 exited with code 1

Recommended fix in docker-compose.yml:
-    command: sh -c 'yarn install && yarn dev --host'
+    command: sh -c 'yarn install && yarn start --host'
+    env_file:
+      - .env

This issue has been fixed and merged in the develop branch.


Capsule for 3D images

I ran your capsule code for 3D medical images. I am getting 50% accuracy at every epoch.  I made necessary changes there are 1349 patients with 64x64x20 images

@Usmabhatt can you give more detail? What dataset are you using?

Sir Thank you so much for reply. I was eagerly waiting.
I m using Kaggle Data Science bowl 2017 but I m badly stuck .
It will be great help if you upload your code on github
Sent from BlueMailhttp://www.bluemail.me/r?b=12687
On Apr 14, 2018, at 7:06 PM, Richard Decal <notifications<EMAIL_ADDRESS>wrote:
@Usmabhatthttps://github.com/Usmabhatt can you give more detail? What dataset are you using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/ageron/handson-ml/issues/211#issuecomment-381329756, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Aalot-9_taIAfppVjz0JZnHpyn6dLIWQks5toftXgaJpZM4TKDIb.

Oops, missed this issue, sorry.  If this is still an ongoing project, could you please give more details. For example, please post the code in a github project or a gist so I can run it and investigate what's wrong.

I apologize for the late reply.  Well, there is no deadline for passion and It will be a great help if you investigate my project. Sir, i am new to this field and your help will be a big favour. I have uploaded the code on GitHub. The link is given below
https://github.com/Usmabhatt/project_capsule_3D

From: Aurélien Geron<EMAIL_ADDRESS>Sent: Friday, August 3, 2018 3:31 AM
To: ageron/handson-ml
Cc: Usmabhatt; Mention
Subject: Re: [ageron/handson-ml] Capsule for 3D images (#211)
Oops, missed this issue, sorry. If this is still an ongoing project, could you please give more details. For example, please post the code in a github project or a gist so I can run it and investigate what's wrong.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/ageron/handson-ml/issues/211#issuecomment-410081614, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Aalot_M1WJt8RdrEwzP_MfZKZWXI6Y0Yks5uM3bGgaJpZM4TKDIb.

Closing stale issues. Please reopen if you are still experiencing a problem.


Documentation: Why does react-router exist?

I stumbled upon react-router when searching for a specific solution I had with Redux.
React Router documentation and videos show good cases on 'How' to use React-router.
There's some information on 'What' it does.
I couldn't see any info on 'Why' I would use react-router and why I would benefit in using them.
Having to watch a 5 minute video and ponder a few at the code to realise what purpose react-router has is pretty bad. For someone who hasn't done web development the purpose or 'Why' of react-router might never become clear.

Sorry if the video doesn't do it for you. Feel free to submit a PR with a suggestion for change.


update dependency

Hi, would like to know if you could update the dependency of your project and make a new release. I got a small project and i want to create fedora package and it would be simpler for me to have recent build for fedora 34. thanks for your time.

That would be fine I guess. One thing, I would need to check, if we don't use any symbols from libc v0.2.65+ because your change is more relaxed there. Also for bindgen, shouldn't ^0.55 also allow for ^0.57 to be used?

You're right on bindgen, i could change it back to ^0.55 if you want and for libc i don't know, i could change it to ^0.2.65.

thanks for your time. i will proposed a new pull request for the update.


Updated cucumber reporting version to 3.1.0

Cucumber Reporting version update

@balajilinks Just a heads up. The linked build in Travis CI shows this PR as failing tests. The PR wont be considered unless tests are passing.

@JayStGelais I will fix this issue and I will create new pull request.


ls: On Windows use metadata owned by DirEntry instead of retrieved one additionaly

This PR will make is_hidden to use the Metadata that DirEntry has instead of retrieved with std::fs::metadata and std::fs::symlink_metadata.
With this change, the Application Data folder, that is symlink to hidden folder, will be hidden, that will same as dir behavior in cmd.
Also, coreutils ls C:\ will not panic. (it is probably issue in std::fs, but I came up with this PR when I was reproducing it.)
The test from #1662 and #2441 should pass.

Could you please add a unit test to cover this ? thanks
(ls c:\ and the other)
thanks

Done, I added test for C:\ and hidden link.

thanks!


[New Feature] Add favorites feature to camouflages

Adds favorites to the camouflages view, making it easer to track specific camouflages.

Adds a new "Favorites" category always at the top
Adds a star icon on each favorited camouflage
Saved between sessions, as all other data

Test it by opening the deployment from Vercel.
Thoughts, @sol3uk? 😄

Yeah looks really good! Little bit finicky in mobile since you can't see the star until you interact with the camo, but otherwise great!
One thing I noticed whilst testing on my phone, sort of unrelated, not sure if it's just this browser (brave) but the camo nav link doesn't seem to work, I had to type the url in to navigate.

Yeah looks really good! Little bit finicky in mobile since you can't see the star until you interact with the camo, but otherwise great!

Completely forgot to style it for mobile 🙈  I'll make the star always visible on mobile!

One thing I noticed whilst testing on my phone, sort of unrelated, not sure if it's just this browser (brave) but the camo nav link doesn't seem to work, I had to type the url in to navigate.

Oh right, we forgot to add the link to the mobile nav component. I'll fix that real quick!


URDF gazebo material tags incorrectly translated

Environment

OS Version: Ubuntu 20.04
Source or binary build? Binary, apt, 9.4.0-1

Description

Expected behavior:
Gazebo material tags in the URDF that are already valid SDF material tags should be translated unchanged.
Actual behavior:
The translation process breaks the material tag by attempting to convert it to a reference to a Gazebo material script.

Steps to reproduce

Create a URDF including a gazebo material tag. Example:<?xml version="1.0"?>
<robot name="example">
<link name="link1">
    <collision>
        <geometry>
            <box size="1 1 1"/>
        </geometry>
    </collision>
    <visual>
        <geometry>
            <box size="1 1 1"/>
        </geometry>
    </visual>
    <inertial>
        <mass value="1"/>
        <inertia ixx="1.0" ixy="0.0" ixz="0.0" iyy="1.0" iyz="0.0" izz="1.0"/>
    </inertial>
</link>
<gazebo reference="link1">
    <material>
        <ambient>0 0 1 1</ambient>
        <diffuse>0 0 1 1</diffuse>
        <specular>0 0 1 1</specular>
    </material>
</gazebo>
</robot>

Convert the URDF file to SDFign sdf -p example.urdf

Output
The generated SDF with the now broken material tag.
<sdf version='1.7'>
  <model name='example'>
    <link name='link1'>
      <inertial>
        <pose>0 0 0 0 -0 0</pose>
        <mass>1</mass>
        <inertia>
          <ixx>1</ixx>
          <ixy>0</ixy>
          <ixz>0</ixz>
          <iyy>1</iyy>
          <iyz>0</iyz>
          <izz>1</izz>
        </inertia>
      </inertial>
      <collision name='link1_collision'>
        <pose>0 0 0 0 -0 0</pose>
        <geometry>
          <box>
            <size>1 1 1</size>
          </box>
        </geometry>
        <surface>
          <contact>
            <ode/>
          </contact>
          <friction>
            <ode/>
          </friction>
        </surface>
      </collision>
      <visual name='link1_visual'>
        <pose>0 0 0 0 -0 0</pose>
        <geometry>
          <box>
            <size>1 1 1</size>
          </box>
        </geometry>
        <material>
          <script>
            <name>ambient</name>
            <uri>file://media/materials/scripts/gazebo.material</uri>
          </script>
        </material>
      </visual>
      <gravity>1</gravity>
      <velocity_decay/>
    </link>
  </model>
</sdf>

There's much more ign sdf -p messes with materials when generating files for Ignition Gazebo. I'm really curious if someone will do something about it, because this way, materials are just unusable. They can't even be passed as blobs to the final SDF because <material> is one of the unfortunate tags which get touched by ign sdf which mangle them like you posted. This is a real blocker for keeping your robot description written in Xacro while using it in Ignition Gazebo - yet this approach has so many benefits that I still choose it over all the other approaches. It seems that so far you have to make friends with sed to polish the result of ign sdf -p.


⚠ BCR Bot has degraded performance

In e80ad98, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 1047 ms

Resolved: BCR Bot performance has improved in 9ab0233.


[ISSUE] I got the UI up and running in pinokio

I want to run ollama for open source llms. Ive got devika running in the local webui but he modelbox is unselectable and when iclick settings a web page opens just searching for ‘settings’ with cant find server message. The settings and log buttons in the webui are greyed out. Is that normal?

i have the same issue, i have no idea what is it, there is the config.toml error but i dont know how to fix

first your backend should up and running then go for UI

It is running.

I also got the same issue and figured it was due to the CORS issue


Use TFI format

http://vgmrips.net/wiki/TFI_File_Format

also consider the WOPN format.
https://github.com/Wohlstand/libOPNMIDI
https://github.com/Wohlstand/libOPNMIDI/blob/master/fm_banks/wopn specification.txt
Mostly because it has a relatively comprehensive sound bank available:
https://github.com/Wohlstand/libOPNMIDI/tree/master/fm_banks

TFI is useful because it's the same format as FMDrive and it's pretty damn easy.

Aly James has a ton of TFI resources and utilities here: http://www.alyjameslab.com/download.html


chore: rename elementalStarAlgebra and parallelize API

#18615 adds non-unital versions of the elemental (star) algebras: i.e., the topological closure of the algebra generated by a single element.
That PR develops a series of standard lemmas and uniform naming practices. This PR adapts the existing unital elemental algebras to the naming convention and adjusts the existing lemmas to match API.

Note: this is independent of #18615

bors merge


TestingAdapter deliver function doesn't return the same type as ExternalSmtpAdapter

The TestingAdapter.deliver function returns a Task, however the ExternalSmtpAdapter.deliver returns a tuple: {:ok, message}.
I think that both function should return the same type, it would make tests behave more like production code.

+1 for this.  Will be pointing to your branch until the PR goes through.

@kamilc Is there a reason to have different results? Writing code with tests and matching against result isn't possible because of this

👍 Experiencing the same issue here. Both adapters should return a Task.


Add all usage options to the readme

Update the README will all usage options and an explanation of each. This should be in a table.

Improve documentation generally. Add comments to code. Explain the settings.toml file.


sample image

This software is wonderful!

Thank you so much! Great image. I'll add it to the gallery ❤

Finally added to the sample image gallery! Thanks again.


Update uuid crate to v1

I wonder whether a release can be made so that I can use sqlx with uuid 1.0?

IIUC the plan is to release 0.6 soon.