No way to delete persistent volumes for an application instance

I have a task for which I only want one persistent volume (I realized the high-availability issues with this statement). Marathon created two volumes on the same host, causing it so that each time this instance is restarted, the persistent volume attached is alternated, which is very undesirable.
http://screencast.com/t/ZP1kepqZ6k9k
Running Marathon v1.1.0RC1, Mesos 0.28.0

Hey @timcharper thanks for the report.
It looks like there are 2 tasks known to Marathon, but the current instance count is 1.
This is normal if you ever had an instance count of 2.
I guess you scaled your application to 2 instances in the past?
If you downscale your application, the task data and the volume will remain.
If the running task dies, Marathon picks one of the unlaunched tasks and launches that.
I guess this leads to the alternate behavior you describe.
We will try to fix this, by giving the unlaunched tasks an order.
You can kill a task and also wipe the reservation with the volume by using
POST /v2/tasks/delete?wipe=true

{
    "ids": [
        "task.a21cb64a-b5eb-11e4-a4f4-685b35c8a22e"
    ]
}

Does this solve the problem?

Related https://github.com/mesosphere/marathon/issues/3658

Also related https://github.com/mesosphere/marathon/issues/3657

@aquamatthias in this case, I always intended to have one, and never scaled it up to two. The app allocated an additional persistent volume when I restarted the container after adding a health check to the container. (I was about to report this issue, too, but I'm not able to reproduce it with the latest RC!)
I tried hitting that endpoint; this was the output:
$ curl -v -X POST http://leader.mesos:8080/v2/tasks/delete?wipe=true -d '{"ids":["docker-registry.551ece24-f68a-11e5-a061-ced3864efcb8"]}'; echo
* About to connect() to leader.mesos port 8080 (#0)
*   Trying <IP_ADDRESS>...
* Connected to leader.mesos (<IP_ADDRESS>) port 8080 (#0)
> POST /v2/tasks/delete?wipe=true HTTP/1.1
> User-Agent: curl/7.29.0
> Host: leader.mesos:8080
> Accept: */*
> Content-Length: 64
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 64 out of 64 bytes
< HTTP/1.1 415 Unsupported Media Type
< Date: Tue, 12 Apr 2016 21:27:19 GMT
< Server: Jetty(9.3.z-SNAPSHOT)
< Cache-Control: no-cache, no-store, must-revalidate
< X-Marathon-Leader: http://<IP_ADDRESS>:8080
< Expires: 0
< Pragma: no-cache
< Date: Tue, 12 Apr 2016 21:27:19 GMT
< Content-Type: application/json
< X-Marathon-Via: 1.1 <IP_ADDRESS>:8080
< Transfer-Encoding: chunked
<
* Connection #0 to host leader.mesos left intact
{"message":"Unsupported Media Type"}

@aquamatthias in this case, I always intended to have one, and never scaled it up to two. The app allocated an additional persistent volume when I restarted the container after adding a health check to the container. (I was about to report this issue, too, but I'm not able to reproduce it with the latest RC!)
The api call you suggested worked!
$ curl -v -X POST http://leader.mesos:8080/v2/tasks/delete?wipe=true -d '{"ids":["docker-registry.551ece24-f68a-11e5-a061-ced3864efcb8"]}' -H "Content-Type: application/json"; echo
* About to connect() to leader.mesos port 8080 (#0)
*   Trying <IP_ADDRESS>...
* Connected to leader.mesos (<IP_ADDRESS>) port 8080 (#0)
> POST /v2/tasks/delete?wipe=true HTTP/1.1
> User-Agent: curl/7.29.0
> Host: leader.mesos:8080
> Accept: */*
> Content-Type: application/json
> Content-Length: 64
>
* upload completely sent off: 64 out of 64 bytes
< HTTP/1.1 200 OK
< Date: Tue, 12 Apr 2016 21:28:47 GMT
< Server: Jetty(9.3.z-SNAPSHOT)
< Cache-Control: no-cache, no-store, must-revalidate
< X-Marathon-Leader: http://<IP_ADDRESS>:8080
< Expires: 0
< Pragma: no-cache
< Date: Tue, 12 Apr 2016 21:28:47 GMT
< Content-Type: application/json; qs=2
< X-Marathon-Via: 1.1 <IP_ADDRESS>:8080
< Transfer-Encoding: chunked
<
* Connection #0 to host leader.mesos left intact
{"tasks":[{"id":"docker-registry.551ece24-f68a-11e5-a061-ced3864efcb8","slaveId":"ec3fca08-b678-421a-80fb-665881f2a4d9-S1","host":"sw-analytics45.vivintsky.com","localVolumes":[{"containerPath":"storage","persistenceId":"docker-registry#storage#551ece23-f68a-11e5-a061-ced3864efcb8"}],"appId":"/docker-registry"}]}

I'll close this out and open up a feature request instead.

It seems it'd make sense to add the wipe parameter to the /v2/apps/{app_id}/tasks DELETE api call, and it would be nice to have a way to do this same thing via the Marathon UI.

@timcharper

cool that it worked
the launch of another task during an upgrade deployment was a bug, that was fixed with 1.1
we will add documentation for this flag

I just used this feature today from Marathon UI 1.1.0-RC2 and it worked!

Great.


Which is the correct YUV version？

Hello, i notice that the png2yuv code in yours is
    code = getattr(cv2, 'COLOR_BGR2YCrCb')     ycrcb_img = cv2.cvtColor(bgr_img, code).astype(np.uint8)     ycrcb_img[:h, :w, 0].tofile(fp)  # y     ycrcb_img[:h, :w, 2].tofile(fp)  # cb (u)     ycrcb_img[:h, :w, 1].tofile(fp)  # cr (v)
However,the common use YUV in deblock like ARCNN is Matlab version. it is a little differetent with that in opencv
see https://github.com/hkchengrex/PyTorch-ARCNN/blob/master/loader.py

Hi! Thanks for your comment!
I recently use this code for rgb2ycbcr conversion, which may address your concern:
https://github.com/RyanXingQL/PythonUtils/blob/2362aefe72e8f09b875c931bfda32ab43c0b63ae/conversion.py#L57-L78
This function will be used for my future programs. Thanks for your suggestion!


grass crop using world grass color?

maybe if possible?

yes very possible. done. i couldnt sleep.


Glimpse on Mono

Not exactly an Issue, but I didn't know where I should post this.
So, apparently, Glimpse works finde on Mono:

... with one little caveat: on MVC5, you have to add the following line into your RouteConfig.cs:
routes.IgnoreRoute("glimpse.axd");
That, dear friends, is totally freakin awesome. Maybe we should run all the Unit tests on a recent mono too.
Glimpse Version: <IP_ADDRESS>
Project Type: ASP.net MVC5
Host:
$ uname -a
Linux gasch 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64 GNU/Linux
$ mono --version
Mono JIT compiler version 4.2.2 (Stable <IP_ADDRESS>/996df3c Sun Jan 31 11:58:08 UTC 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug
	LLVM:          supported, not enabled.
	GC:            sgen
$ xsp4 --version
xsp4.exe <IP_ADDRESS>
Copyright (C) 2002-2011 Novell, Inc.
Minimalistic web server for testing System.Web

That is awesome! Last we looked into Mono the real deal breaker was Castle Dynamic Proxy (one of our dependencies) not running there.
This is great to know - thanks for passing it on!


Docs: Fix mobile second header text not updating

Tasks

[x] Make sure the text updates

Writing the Issue

[x] Write each task for this issue using checkboxes
[x] Write all verbal instructions as tasks

Before Working on the Issue

[x] Assign yourself
[x] Share your screen on Discord
[x] Write which issue you are starting on Slack
[x] Git: Fetch the latest main
[x] Git: Create a branch with the name of the issue

Pre-PR Checks

[x] Insure that changes include only what is necessary for this PR
[x] Implement necessary Unit tests
[x] Implement necessary E2E tests
[x] Perform functionality checks

Fixed by #730


how to unit test controller annotated with RequiersAuthentication

hi,
i'm using play-pac4j with play framework 2.3 and i want to write unit test for my controller using the fakeRequest of play. but in the fake request he cant connect to my cas server.
Is there a way around this?

The core behaviour of pac4j is to send the user to a CAS server (or whatever identity provider you use) and authenticates him with the returned credentials. If you want to simulate this part, the best way is to create your own implementation of https://github.com/pac4j/pac4j/blob/master/pac4j-core/src/main/java/org/pac4j/core/client/Client.java with the expected behaviour.


Vulnerability roundup 96: vault-1.3.6: 1 advisory [9.8]

search, files

[ ] CVE-2020-25816 CVSSv3=9.8 (nixos-20.03)

Scanned versions: nixos-20.03: fbd345dd005.
Cc @ehmry
Cc @lethalman
Cc @lnl7
Cc @offlinehacker
Cc @pradeepchhetri
Cc @rushmorem

See also: #99864, #92070

No fix available for vault-1.3 AFAICS. Confirm anyone?

Fixed in master, backported to 20.09 https://github.com/NixOS/nixpkgs/commit/0e3683c0749


check for multifx props too

aab0fe466cac110e410c1e638368ab5dc86d2800 is for bug 4081902 (multifx layer's not working)
b317668b4dd0b606aaa0190a9f880223a7d4c46a is for bug 4080775 (layer fx on a object within document bounds when exporting that document)
40c1f8f205f0a7d5cf6e21b0395f133eb6fcd883 is for bug 3997873 and 4081414 (both smart object with smart filters applied)

Be sure to check this carefully with device preview, too.

reviewing

I took a second look at this code. LGTM.


add basic parsing and presentation (in Channel Info bar) of Accessibility Attribites signalled in the service list

for issue #93
When reading in a service list (parseServiceList in dvbi-common.js) look for any  and add them into the chan object. Add this to the channel_info div in updateChannelInfo of channel.js.
A new source file is added which can map classification scheme terms into 'short values' - see CSmap.js

To see an implementation of this, use the DVB-DASH Reference Streams service list at http://paulhiggs.ddns.net:8877/pauls/frontend/android/player.html and select channels 41 or 43

FINISHED


Notification to HA users

In the integration, only the notification persister now works, which does not allow you to make iOS notifications in the Home Assistant. I propose to make an option to configure a list of users who need to send notifications about the status of the vacuum cleaner or errors.

Can you provide sample code for all notifications from the integration? because I'm creating an automation and I'm not getting notification forwards.

You can use built-in events to trigger an automation to send notification to the mobile app.
https://github.com/Tasshack/dreame-vacuum/blob/master/docs/events.md https://www.home-assistant.io/docs/automation/trigger/#event-trigger


go mod tidy

What this PR does / why we need it:
go mod tidy & go mod vendor
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/lgtm

/approve


Helper for cmdline

Helper for cmdline for corelens

Please make sure that your git configuration is properly setup:
git config --global user.name "your name"
git config --global user.email "your oracle email"

And also please publicize your membership to the oracle-samples Github organization.
Once those are done, let me know in a comment and we can re-run the contributor bot checks. Also, you'll need to resolve those conflicts, please rebase your branch on the latest main.

Issue a new with git configs


Sease partner information

**NOTE: This is an issue template for new partner pages we are building. Existing partners can use them to submit information needed as we build out enhanced pages. New partners, please continue to use the process outlined here for the time being: https://opensearch.org/new-partner.html
Organization name
Sease Ltd.
Brief description of your business and what it does (50 words or less)
Sease mission is to make research in Information Retrieval more accessible to an industry audience, transforming the best research ideas into real-world products.
Our focus is to provide R&D projects guidance and implementation, consulting services and training, using open source software such as Apache Lucene/Solr, Elasticsearch, OpenSearch, and Vespa.
Name of your relevant product(s) or service for the OpenSearch audience
We offer training, consulting, design and development of search solutions using OpenSearch.
We have dedicated pieces of training to explore and learn how to improve the relevance of your search results and integrate neural search techniques using OpenSearch.
We are Apache Lucene committers and have a solid understanding of OpenSearch internals.
What OpenSearch technologies do you specialize in
We focus on the search capabilities of OpenSearch with a particular attention to the machine learning integrations and neural search (vector-based search).
Type of business
Sease is a services organization.
We also offer a set of products to enhance your search (such as search quality evaluation tools).
Home/main office location or address
International House, 776-778 Barking Road
BARKING
London
E13 9PJ
How can people contact you (email and phone)
<EMAIL_ADDRESS>Regions you serve
We are based in Europe but we generally serve North America, South America, Europe, Middle East, Africa, Asia Pacific and Australia.
Industry specialization
software and technology
Logo

Additional image

Links
https://sease.io/2022/12/opensearch-neural-search-plugin-tutorial.html

@alessandrobenedetti - Thank you for the additional information.


Remove ProcessV2 Version property requirement

Removes the SchemaVersion property requirement from the ProcessV2 schema
and gathers the version number from the ContainerID itself that was used
at create time.
Signed-off-by: Justin Terry (VM<EMAIL_ADDRESS>

CI failure looks legit...

@jhowardmsft - PTAL. Was a valid unit test failure but also not important. Fixed now


Launch Error

Getting this error while launching:
$ python pokecli.py
Traceback (most recent call last):
  File "pokecli.py", line 197, in <module>
    main()
  File "pokecli.py", line 174, in main
    config = init_config()
  File "pokecli.py", line 56, in init_config
    load.update(json.load(data))
  File "C:\Python27\lib\json\__init__.py", line 291, in load
    **kw)
  File "C:\Python27\lib\json\__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "C:\Python27\lib\json\decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Python27\lib\json\decoder.py", line 380, in raw_decode
    obj, end = self.scan_once(s, idx)
ValueError: Expecting , delimiter: line 17 column 5 (char 436)

OS: Windows 10

Same error here on MacOS

Check your config file(s), i had this problem when my release_config.json was incorrect.

Thanks, @surfaace . This issue if fixed for now. :)


CustomMap

A Map that can serialise complicated Value and Key types, without the need for a custom implementation of map. Otherwise errors occur during serialisation with a regular map.

Merged into develop


LICENSE.txt?

I would assume Angular-Patternfly to be under the Apache 2.0 License because Patternfly itself is but Angular-Patternfly does not have a license.txt.
What license is Angular-Patternfly intended to be used under?

Hi, yes I believe that is correct.  We will add a license.txt file to the angular-patternfly repo.
Thank you for bringing this to our attention.

Hi,
We added an "Apache 2.0" LICENSE.txt file to the angular-patternfly repo. 45a43b74dfc563c97951d37cc991126c2cf9fb0e
Thanks,
Dave


Integrate pickling of xarray datasets into roocs_utils and or separate package

If written carefully, this code can be provided in a standalone class/function that would work with any old netcdf data, but within roocs it can be wrapped to understand our Dataset IDs and the DatasetMapper class.

Actually, xarray-pickler is likely to be superseded by https://grantjenks.com/docs/diskcache/ - as demonstrated in Carsten's notebook here:
https://github.com/roocs/rook/blob/dev-op-concat/notebooks/concat_with_cache.ipynb


how would you make this work on linux?

Hello this is exactly what I want but I want to run it on linux and I'm kind of an electron noob.
Has anyone already done that or know what changes I need to do in order to get it working.
Thanks

Nothing in the example should be OS specific, it should just work on Linux. What issues are you experiencing?

At any rate I will test today on Linux to see if there are any issues

Just upgraded all dependencies and ran on Windows, everything is fine. Will test Linux when I get back home this afternoon.

Need to make sure you download the node executable and it's shared library for Linux and put them in the root of the cloned repository like the screenshot above. It uses it's own Node to spawn the Express app. Of course you can change this if you want it to use the system installed Node but the general idea is that it'd be nice to bring our own Node in case the machine doesn't already have it.

Okay currently testing in Linux and yes I can see how my instructions will need to be modified for running in Linux. I'm hoping to have this updated today.

Okay it's working with just a very minimal change which I'll document shortly

Just to clarify there is really no need to download a stand alone copy of Node unless you really want to. You can just use a regular install of node to spawn Express. Line 65 in index.html would need to be changed slightly to:
node = spawn("node", ["./express-app/bin/www"], { cwd: process.cwd() })

Otherwise if you prefer to do it like I do continue reading...
Downloading a standalone Linux build is slightly more annoying than the nicely statically linked Windows executables but just as easy to deal with.
So basically download Node (whatever build you want, I always use latest):
https://nodejs.org/dist/latest-v7.x/node-v7.10.0-linux-x64.tar.gz
Unpack it into the root of the cloned repository. Then create a symbolic link called 'node' at the same location.
ln -sf node-v7.10.0-linux-x64/bin/node node

Change line 65 in index.html to the following:
node = spawn("./node", ["./express-app/bin/www"], { cwd: process.cwd() })

Here is a screenshot of what it should look like:

Then you can run it:
./node start-electron.js &

README has been updated to reflect what was done here to run on Linux.
Thank you for asking this!
Closing via 87c5e7aa945ef1cd9d1c3eed1f1bd43dc11d5149

@mateo-io you good with these instructions?


Firefox displaying October 15th two times

I was just testing this using the github pages and realized that when the calendar is opened using Firefox (48.0.2), it is displaying two times the "October 15th" day. Here is a screenshot:

I don't know if it has something to do with my timezone but I'm running this at BRT Timezone (GMT-03:00).
I'm running this using a windows machine, but I tested that in Firefox developer edition (in a Mint VM) and I can reproduce the problem.
If you need more info, just tell me! :)

This is likely because in Brazil, daylight savings time hits at midnight instead of 2AM - the fix is likely to use a time on our moment objects of 2:01 AM rather than midnight?

Yep, daylight saving time will start at October 16th (http://www.timeanddate.com/time/change/brazil/brasilia). I've done some tests, I don't know if you can use moment.utc in function getCalendarMonthWeeks, because I think that solves this issue:

In the screenshot, you can see that Array[8] is the "wrong" output. You can see that when using moment.utc, the result is correct (Array[7]). What do you think about it?

Nooooooooo. Okay. We will fix this asap.

@majapw, sure! I tested that on Chrome and everything is ok, I will try to install Safari here to see if it is a problem, but I think it is FF specific.

@majapw, it also happens on Safari (Version 9.1.2 (11601.7.7)) and IE 11 (Version 11.0.9600.18376).

Sweet I can repro by changing my time zone. I will dig into it. :)
Also:
https://github.com/moment/moment/issues/2353
https://github.com/moment/moment/issues/1440

Courtesy of my coworker, @mstorus:
Mark: How many datepicker issues would you say you've been dealing with today?
Me: I don't know, a lot?
Mark: Would you say it's been... a B(r)azillion?

@majapw hahahahahahaha

I still have this issues :) I'm using react-dates 12.6.0 and moment 2.18.1, I have a working demo in this branch https://github.com/pagarme/pilot/tree/refactor-filters/webapp/src/components/DateSelector, my computer timezone is America/Sao_Paulo.

What browser are you using? I set my timezone and looked at airbnb.com (which is running v12.6.0) and didn't see an issue. Can you (a) double-check airbnb.com on your setup and (b) send a screencap?
I am going to say I would be very surprised if this were still an issue...

(Also, could you file a new issue?)


more attributes to TrainingData entity

Important Note:
It is recommended NOT to merge pull requests on weekends.

Can one of the admins verify this patch?


Build fails with pyrate_limiter >=3

> ImportError: cannot import name 'RequestRate' from 'pyrate_limiter' (/nix/store/ihs3g4hh44yl0fqhxm2f8rzvyjfmcwgk-python3.11-pyrate-limiter-3.1.0/lib/python3.11/site-packages/pyrate_limiter/__init__.py)

Just renaming doesn't work
python3.11-moddb>     if isawaitable(clock.now()) or isawaitable(bucket.leak(0)):
python3.11-moddb>                    ^^^^^^^^^
python3.11-moddb> AttributeError: 'Rate' object has no attribute 'now'

https://github.com/vutran1710/PyrateLimiter/releases/tag/v3.0.0

Will be fixed once https://github.com/ClementJ18/moddb/pull/38 has been merged into master. will probably release v0.9.1 for it

Version has been pinned
Fixed in v0.10.0


Expose add temporary segment function in vm_core.rs

Expose the method add_temporary_segment

Codecov Report

Merging #556 (f2088bb) into main (32c88e9) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #556   +/-   ##
=======================================
  Coverage   93.21%   93.21%
=======================================
  Files          59       59
  Lines        3847     3849    +2
=======================================
+ Hits         3586     3588    +2
  Misses        261      261

Impacted Files
Coverage Δ

src/vm/vm_core.rs
92.87% <100.00%> (+0.04%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Pre-populate docker volume with default config files

When using docker you currently have to manually populate the config files in the folder you attach to the container.
It would be helpful for new users if this could be automatically done when running the container for the first time. The following appears to be the correct way to achieve this:
https://docs.docker.com/storage/volumes/#populate-a-volume-using-a-container

I explored this a bit but didn't settle on a solution I'm happy with.
I found that it's true that you can create and populate the content of a Docker volume like such:
docker run -v foo:/usr/local/var/mobius/config  jhalter/mobius-hotline-server:latest

But the problem at least on MacOS Docker Desktop is that I can't get at the volume (or haven't figured out how).
Which is why I prefer using a bind mount to a host directory:
docker run -v /some/host/path:/usr/local/var/mobius/config  jhalter/mobius-hotline-server:latest

Except this doesn't populate the files. 😢

Just came across this which seems to indicate a solution when using a bind mount.
https://stackoverflow.com/a/62458366

Thanks, that solution is clever but requires the presence of tar in both the container and host OS, which may complicate Windows support.
I've pushed a new v0.5.5 release with a different solution where I've added an -init argument that will populate the config dir with a default configuration.  This also has the benefit of working for the non-Docker builds.
Example usage:
> docker run --rm --pull always -v ~/tmp/newdir:/usr/local/var/mobius/config -p 5500:5500 -p 5501:5501 jhalter/mobius-hotline-server:latest -init

latest: Pulling from jhalter/mobius-hotline-server
Digest: sha256:4a4962bc36a98feb2f1ee05d28cb94a69799f3899f210d9131c4e9ab7aca17f5
Status: Image is up to date for jhalter/mobius-hotline-server:latest
2022-06-11T01:20:10.892Z	info	Hotline server started	{"version": "0.5.5", "API port": ":5500", "Transfer port": ":5501"}

I need to improve the ergonomics a bit and update the README, but the hard part is done.

Looks good, what would happen it you were to run the -init command a second time? I’m assuming it would do a check to see if the host directory was empty and not overwrite an exciting config by accident?

Yep, exactly.

Happy to report that the above works great in Docker on a Synology.  If users are using the Synology  GUI (DSM) to install then they have to add the -init argument to Command under Execute Command in the Environment tab.

b

I made one last change to the -init behavior:  previously if an existing config was found, it would bail with an error and refuse to start.  Now it prints a message and continues.
This simplifies the documentation, which I've also updated.
Closing this one, but let me know if you run into any issues.


First iteration of the build cache support

I'm shooting a bit in the dark without the build scan support but this could be a first step, at least for local caching.
As for remote caching, we will need to set up an access key on CI but it can be done as a second step.
Note that I'm not entirely sure if you want to actually enable caching on CI, and especially local caching as it seems the workspaces can be reused.
Remote caching will in any case require additional work as there are probably some system properties that we will need to ignore for the cache to be portable across environments. But we can't really detect that without having build scans being published.
I also created https://github.com/hibernate/hibernate-release-scripts/pull/3 to make sure this is disabled when releasing.
Let's discuss this when you have time.

Closing in favor of a PR coming from an upstream branch.

Closing for real :)


squid:S2293 - The diamond operator should be used

This pull request is focused on resolving occurrences of Sonar rule squid:S2293 - The diamond operator ("<>") should be used
You can find more information about the issue here: https://dev.eclipse.org/sonar/coding_rules#q=squid:S2293
Please let me know if you have any questions.
M-Ezzat

not compatible with Java 1.6


#22 - Tutorials

Sorry for #69 issue commits but i forgot that i must create next branch from master, not from branch used by previous pull request.


The org cannot have two or more people as supreme leader

Describe the bug
when there are two or more people as a leader the library doesn't work

Yes. we don't support two parents. For the workaround, it's possible to use connections, to connect any node to any node
https://stackblitz.com/edit/js-tpbt7r?file=index.html

Or you could set a "fake-root" as the supreme leader and then just set its properties so it doesnt appears to be on screen:
`.childrenMargin((d) => {
return d.depth === 0 ? -100 : 120;
})
.linkUpdate(function (d) {
d3.select(this){
if (d.depth === 1) {
d3.select(this).attr('display', 'none');
}
}
})
.nodeUpdate(function (d) {
if (d.depth === 0) {
d3.select(this).attr('display', 'none');
        d.height = 0;
        d.width = 0;
     }

})
`

check #59, #138

is there any way to expand the 3 first levels? @bumbeishvili

I don't think that currently there is another way.
In the future, you will be able to set expandLevelinitially, it does not work currently
https://github.com/bumbeishvili/org-chart/blob/c8ebb0490ecfcf1424c16a8528a4a835d3efde53/src/d3-org-chart.js#L37

I don't think that currently there is another way.
In the future, you will be able to set expandLevelinitially, it does not work currently
https://github.com/bumbeishvili/org-chart/blob/c8ebb0490ecfcf1424c16a8528a4a835d3efde53/src/d3-org-chart.js#L37

Great!

I made this to solve this problem
    let secondLevel = rawData.filter((d) => d.parentId == 1);         rawData.forEach((d) =>{             if (d.parentId !== 1 && secondLevel.some((e) => e.id == d.parentId)) {                 d._expanded = true;             }         });
My first level is a node with 1 as ID.


Antd form validation doesn't work in production with<EMAIL_ADDRESS>

Antd form validation doesn't work when using next 3.0.6.
I have to stay on 2.4.9.
This is the error that I get everytime I type on the input or I try to submit the form :

import React, { Component } from 'react'
import { Form, Input, Button } from 'antd';

const FormItem = Form.Item;

class MyForm extends Component {

    handleEmailSubmit = (e) => {
        e.preventDefault();
       // The error happen when this.props.form.validateFields is called and on every change in the input
        this.props.form.validateFields().then((err, values) => {
            console.log(err, values)
        });
    }

    render() {

        const { getFieldDecorator } = this.props.form;

        return (
            <Form onSubmit={this.handleEmailSubmit}>
                <FormItem>
                    {getFieldDecorator('email', {
                        rules: [{
                            required: true, message: 'Email required',
                        }],
                    })(
                        <Input size="large" type="email" />
                    )}
                </FormItem>
                <Button
                    type="primary"
                    htmlType="submit"
                    size="large"
                >
                    Valider
                </Button>
            </Form>
        )
    }
}

export default Form.create()(MyForm);

Your Environment

Tech
Version

next
3.0.6

node
8.1.3

OS
OSX

browser
Chrome

@XavierLeTohic

What react version?
What antd version?
Are you able to reproduce this error in a clean/new project?

@eezing

What react version?
=> React 15.6.1

What antd version?
=> Antd 2.12.8

Are you able to reproduce this error in a clean/new project?
=> I will try on a blank project tomorrow, I tried on a new page without anything else with the code provided above.

Your code is incorrect:
        this.props.form.validateFields().then((err, values) => {
            console.log(err, values)
        });

Should be:
this.props.form.validateFields((err, values) => {
   console.log(err, values);
});

@pruhstal my apologies I copied the wrong code, but it doesn't work with the good version too.
I will make a little example soon.


AMRNAV-4891 Retry to Poll if fails

Fixes
Description of the changes:

Required before submitting a Pull Request:

[ ] I reviewed CONTRIBUTING.md
[ ] I built my changes locally
[ ] I tested my changes with a device
[ ] I changed both the ROS1 and ROS2 branches

I tested changes on:

[ ] Windows
[ ] Linux
[ ] ROS1
[ ] ROS2

To be tested on AMR

I simulated the fail to poll by making waitTime smaller, here is the result
[component_container-3] [ERROR] [1687265251.834053637] [k4a_ros_device_node]: Failed to poll cameras: trying again for the 0 time
[component_container-3] [ERROR] [1687265251.850320820] [k4a_ros_device_node]: Failed to poll cameras: trying again for the 1 time
[component_container-3] [ERROR] [1687265251.868152966] [k4a_ros_device_node]: Failed to poll cameras: trying again for the 2 time
[component_container-3] [ERROR] [1687265251.920148926] [k4a_ros_device_node]: Failed to poll cameras: trying again for the 0 time
[component_container-3] [ERROR] [1687265251.937041570] [k4a_ros_device_node]: Failed to poll cameras: trying again for the 1 time
[component_container-3] [ERROR] [1687265251.954078353] [k4a_ros_device_node]: Failed to poll cameras: trying again for the 2 time
[component_container-3] [ERROR] [1687265251.970333024] [k4a_ros_device_node]: Failed to poll cameras: trying again for the 3 time
[component_container-3] [ERROR] [1687265251.986619184] [k4a_ros_device_node]: Failed to poll cameras: trying again for the 4 time
[component_container-3] [ERROR] [1687265252.002989416] [k4a_ros_device_node]: Failed to poll cameras: trying again for the 5 time
[component_container-3] [ERROR] [1687265252.019290361] [k4a_ros_device_node]: Failed to poll cameras: trying again for the 6 time

This shows that after some retries, if was able to recover


AddMapEntry with an empty ModTranslation crashes

The following code in a ModTile crashes/stalls the game:
ModTranslation name = CreateMapEntryName();
AddMapEntry(new Color(200, 200, 200), name);

The crash happens in LanguageManager.ProcessCopyCommandsInTexts when it comes across a null value for the value in localizedtext.
We need to either ensure that AddMapEntry throws a load error when it has a null value in the ModTranslation's dictionary, have CreateMapEntryName initialize to "" rather than null, or other solutions.

When the ModTranslation has a null value passed in AddMapEntry, change it to an empty string.


Expose API to modify native report before sending

Since the refine API has been brought up, I have a suggestion. Can the API be changed to allow the native report to be changed without the calls to SubmitNativeReport? I would like to change the controller state as much as needed and then have the final report sent when finished. As it is, having SubmitNativeReport called multiple times per gamepad poll is pretty slow.

@Ryochan7

@Ryochan7 is this methodology sufficient for your needs?

That should work.


Fix for Error: Cannot find module 'uuid/v4'

uuid npm module introduced breaking changes into a recent version. At the time of this writing, this project's package.json's don't have pinned versions, which is a problem in of itself.
This PR resolves this error:
Error: Cannot find module 'uuid/v4'
Require stack:
- /Users/solsglasses/Projects/aws-limit-monitor/source/services/customhelper/lib/index.js

Fix is documented here:
https://stackoverflow.com/a/60614655/10802328

Thanks @solsglasses. We will add this to our backlog and review in an upcoming release

Fixed in V5.3.3


AT+CIPMODE=1 ..stop sending data with +++ proposal response_ok

hi
proposal:
if we stop sending data with '+++' in transparent mode ( AT+CIPMODE=1 )
there comes just in time no "OK\r\n"
if we can check for an "OK\r\n"
we do not need wait "1 second" and try for next AT Command
we can check after sending stop signal ( +++ ) for an "OK\r\n" and
then we can use next AT Command without a "wait"

cause AT is in a LIB
can't link and pull request the code for it
hope the proposal is understandly written.
best wishes
rudi ;-)

No interest - ok
have done in my repo
Close it

Thank you very much for your advice.We'll consider it,but it needs take some time to do with it.

you dont want this help and support
be happy with your AT example
we take other manufacturer in future
for this.


ArcMap HotSpotsByArea ignores output workspace parameter

Incident Analysis HotSpotsByArea ignores the output workspace parameter in ArcMap
Expected Behavior

Output data to be created in workspace set in output workspace parameter
Current Behavior

Output data is created in default environment workspace
Steps to Reproduce (for bugs)

In ArcMap, run Incident Analysis HotSpotsByArea
Set the output workspace parameter
Observe that the output is not created in this workspace

Context

Your Environment

ArcMap 10.4.1 Win 10

Executed tool twice it results wrote to user specified workspace. Issue could not be reproduced.

@kgonzago I am able to reproduce this issue with the latest from dev.

Also, I am finding that the tool will only write out one result, which I am not sure if this is because of this. I have experienced this in ArcMap.

I am seeing some crazy behavior with what it is writing. It will take me some time to capture it. This is a placeholder until I can get capture what is happening.

I was able to fix the issue with multiple layers not adding to the map. That was done in pull request #602 . It was an issue with how long the names were possibly. I fixed it by just taking away the words "selectvalue" in the output name.

@topowright - the "only one output" issue is also noted here:
https://github.com/ArcGIS/solutions-defense/issues/423
It is something that cropped up before and was supposed to have been fixed:
https://github.com/Esri/solutions-geoprocessing-toolbox/issues/497
At the time, the problem was that it was iterating the areas correctly, but then writing all of the outputs to the same path string, overwriting each one in turn.

@BobBooth I have addressed the naming issues in PR #602. I am going to verify this issue. now.

Verified we are now able to save the output to location specified when running the GP tool.

Verified a second time with @topowright present to confirm results.


Document germline model

Although it's currently sufficient just to state that we ported the XHMM model, we will need docs as we make changes.

Closed by PR #404.


K8SPXC-818: fix custom config hash annotations

https://jira.percona.com/browse/K8SPXC-818

Test name
Status

storage
passed

upgrade-haproxy
passed

scaling
passed

big-data
passed

haproxy
passed

scheduled-backup
passed

recreate
passed

self-healing
passed

scaling-proxysql
passed

init-deploy
failed

security-context
passed

restore-to-encrypted-cluster
passed

upgrade-proxysql
passed

self-healing-chaos
passed

demand-backup
passed

smart-update
passed

limits
passed

self-healing-advanced
passed

monitoring-2-0
passed

affinity
passed

one-pod
passed

self-healing-advanced-chaos
passed

pitr
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

operator-self-healing
passed

upgrade-consistency
passed

users
failed

operator-self-healing-chaos
passed

demand-backup-encrypted-with-tls
passed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/948/commits/ee9c0dc606ace9eed699642b94e828740a15a3ff
image: perconalab/percona-xtradb-cluster-operator:PR-948-ee9c0dc6

Test name
Status

recreate
passed

upgrade-haproxy
passed

scheduled-backup
passed

big-data
passed

scaling
passed

restore-to-encrypted-cluster
passed

haproxy
passed

scaling-proxysql
passed

demand-backup
passed

init-deploy
passed

security-context
passed

pitr
passed

storage
passed

demand-backup-encrypted-with-tls
passed

self-healing
passed

self-healing-chaos
passed

self-healing-advanced
passed

self-healing-advanced-chaos
passed

operator-self-healing
passed

operator-self-healing-chaos
passed

upgrade-proxysql
passed

smart-update
passed

upgrade-consistency
passed

limits
passed

monitoring-2-0
passed

affinity
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

users
failed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/948/commits/ee9c0dc606ace9eed699642b94e828740a15a3ff
image: perconalab/percona-xtradb-cluster-operator:PR-948-ee9c0dc6

Test name
Status

scaling
passed

scaling-proxysql
passed

security-context
passed

scheduled-backup
passed

haproxy
passed

upgrade-haproxy
passed

big-data
passed

recreate
passed

init-deploy
passed

restore-to-encrypted-cluster
passed

limits
passed

demand-backup
passed

monitoring-2-0
passed

storage
passed

pitr
passed

affinity
passed

self-healing
passed

demand-backup-encrypted-with-tls
passed

one-pod
passed

auto-tuning
passed

self-healing-chaos
passed

proxysql-sidecar-res-limits
passed

self-healing-advanced
passed

self-healing-advanced-chaos
passed

users
passed

operator-self-healing
passed

operator-self-healing-chaos
passed

upgrade-proxysql
passed

smart-update
passed

upgrade-consistency
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

validation-hook
passed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/948/commits/ee9c0dc606ace9eed699642b94e828740a15a3ff
image: perconalab/percona-xtradb-cluster-operator:PR-948-ee9c0dc6


README Files - create consistent template for use cases

Add README files for each use case directory.
Suggest the following layout:
parm/use_cases/README contains a description of settings common to multiple use cases.
parm/use_cases/*/README contains a description of settings specific to that use case.
The README's will automatically be included into the METplus user's guide in Sphinx.  So we need a template for them to ensure consistency.  And perhaps they'll need to be in .rst format?
This change was requested by the UKMO to increase ease of use.

#238 also has references to README corrections that may be able to be resolved with this issue.

Discussed this during the METplus meeting on 7/15/2019.  We redefined this task by splitting out the "updating" portion into #262.  Moved this issue from METplus-2.2 to METplus-3.0 since we should coordinate it with development of the user's guide.

A template for documenting use cases can be found in the METplus repository here.


Bug: Cut from a table doesn't remove values

Lexical version: v0.16.1
Steps To Reproduce

Open playground
Insert a 5x5 table
Fill out a row with values
Select the row with aforementioned values
Right click and select cut or press cmd + x
Observe that the selected values are stil present

https://github.com/user-attachments/assets/deb58c76-ed2b-4189-9371-8645c7328d40
The current behavior
After cutting the row the values are not removed
The expected behavior
After cutting the cells should be blank
Impact of fix
This affects any end user using tables. It's frustrating unexpected behaviour.

+1 - from testing it seems like the content is added to the clipboard correctly (paste works fine) it's just the clearing of the cell contents that doesn't work.


Cannot type using mobile/touchscreen

On mobile Chrome on Android, when trying to focus the ngTagsInput directive to type in a tag, the keyboard appears and then immediately disappears. The field focuses and then immediately blurs.
You're able to focus the textbox only if you tap on the border on mobile.

I've had the same problem, it's only when ng-touch is used. The onTouchStart function of angular-touch is blurring the control. I've set up a plunker here to demonstrate (fails on android and on desktop chrome in device emulation):
http://embed.plnkr.co/dKijKYRpE4Xl4Hxsft1O/preview
This commit seems to fix the problem to some extent but sometimes you need to tap twice:
https://github.com/igorprado/ngTagsInput/commit/393bb7ecdcb6afed04d6f022f75a4955e5f0259f

Thanks for the pointer to the @igorprado fork, @eeun. I'll use that until it's fixed here.
Note to anyone else trying to use that fork: the CSS file is stored in a different place, so you might have to make this change:
- @import (inline) 'bower_components/ng-tags-input/ng-tags-input.css';
+ @import (inline) 'bower_components/ng-tags-input/ngTagsInput-bower/ng-tags-input.css';

This fork did not solve the problem for me. Unfortunately I was forced to remove the ng-touch module all together in order to get this working. I THINK this was fine for my project but obviously others may depend on that module. Would be nice to find a solution that works nicely with ng-touch.

Iv'd encountered the exact same problem
:+1:
Keyboard disappearing

@igorprado thanks for the potential workaround, but I've identified the exact issue and provided a fix for ngClick: https://github.com/angular/angular.js/pull/12867
Examples:
Using ngTouch: http://embed.plnkr.co/edBdpUbM4UWI6a5Pdr7d/preview
w/o ngTouch: http://embed.plnkr.co/RHm7H2/preview
New ngTouch: http://embed.plnkr.co/4e0owINFEsWFNOap1SSs/preview

@danswater I believe it was Angular v1.4.5

This issue was selected to be spring-cleaned by a script. More information can be found here.
If anyone thinks this was a mistake and this issue should be reopened, please leave a message below explaining why. Before doing so, please consider reading the CONTRIBUTING file.

@steven10172  I am still facing this issue in mobile even after applying the changes you did in angular-touch. I am using angular v 1.4.5


[WPF] Context menu incorrect position on system with multiple displays

Describe the bug
I have 2 displays and the secondary display is located on top of primary. If I move main taskbar (taskbar with tray icons) to the secondary display context menu opens on bottom of primary display.
Steps to reproduce the bug
No response
Expected behavior
No response
Screenshots
No response
NuGet package version
2.0.74
Platform
WPF
IDE
Visual Studio 2022
Windows Version
Windows 10
WindowsAppSDK Version
No response
WindowsAppSDK Type
None
Manifest
No response
Additional context
No response

Can replicate this behavior as well. Win10 22H2, Visual Studio 2022, WPF platform with package version 2.1.0.
Two screens side by side, the right screen is set as primary but the task bar is only shown on the left screen.
When opening the context menu of a systray program it should show above (or at least near) that icon, but instead appears on the bottom right corner of the right screen.


Internalize functionality into COPASI itself (obviating the need for this repository)

@shoops @fbergmann @pmendes I'm creating a separate thread for the discussion that @shoops initiated in #46.

Helllo Jonathan,
I think a better approach would be to let COPASI read the SED-ML directly. The problem I see is that if SED-ML asks for plot and you are running CopasiSE tor any language bindings he plot will not be generated. I think I have an idea on how to circumvent that. I will talk with @fbergmann about it.
Stefan

I would also greatly prefer to use COPASI directly -- this would be easier to maintain and lead to making COPASI's handling of SED-ML consistent with the SED-ML specs and other tools (in part through using our test suite to check COPASI). In fact, my preference is to internalize this command-line interface and Docker image into the COPASI repository so the COPASI team has control over this and can maintain it, release it, etc. At that point, this repository could be deleted. Ideally all tools would follow this path.
This purpose of this repository was to enable us to prototype handling of SED-ML consistent with the SED-ML specifications more quickly than we could by trying to help build/fix similar functionality in COPASI itself.
Capabilities of the current approach
This library does have capabilities for the other features of SED-ML such as below. This is imported from another library.

Model resolution (e.g., URLs, URI fragments, MIRIAM ids)
Model changes
Repeated tasks
Algorithm substitution utilizing relationships in KiSAO
Reports -- including saving metadata in HDF5, multidimensional reports
Plots

Rationale for current approach
We haven't used COPASI due to several points of divergence from the SED-ML specifications and various bugs. I didn't investigate every issue in detail. Some of this may only affect SED-ML export, and some of this may have been resolved since I first evaluated this.

COPASI supports SED-ML L2
COPASI ignores most KiSAO information
KiSAO terms didn't even exist yet for several COPASI methods
From what I could tell, COPASI has limited support for model changes
COPASI appears to ignore namespaces for model changes and variables; as a result COPASI appears to have limited support for XPaths
COPASI has bugs in exporting repeated tasks
Based on what I've seen from SED-ML exported from COPASI,

It seemed that COPASI has issues with ids of SED-ML objects (e.g., not unique)
COPASI seems to confuse the ids and names of model variables in XPaths
Sometimes duplicate SED-ML objects are exported
Sometimes required attributes such as labels of reports are missing

Exported time course sometimes differ from that in COPASI files
COPASI's validation appears to ignore many issues with SED-ML files

Similarities of the current approach to COPASI to our approaches to tellurium, VCell, and other tools
For similar reasons, we haven't fully used tellurium's SED-ML handling either. We've posted issues about a number of issues and missing features. VCell was also in a similar situation -- multiple points of divergence from SED-ML and other tools, and lack of support for some features which felt were key. We've also posted a variety of issues for VCell. We've had to approach all other tools the same because they either have no, minimal, or divergent support for SED-ML.

The problem is KISAO there is no support for software dealing with it. Something like libKISAO is needed for applications to handle SED-ML properly.

Exporting information about the algorithms and parameters used doesn't require the whole ontology or a library. This just requires information about the terms which correspond to each COPASI method and parameter, which has to be looked up manually.
Where the ontology is needed is to execute SED-ML documents involving similar algorithms (e.g., substitute LSODA for CVODE). There are various libraries for working with OWL files that can be used to query for similar algorithms. I think the standardization around the OWL format and querying OWL files minimizes the need for a specific library for KiSAO. The old Java libKiSAO is just a thin wrapper over an OWL library. We added a Python KiSAO package which is similarly a thin layer over an OWL library.

Exporting the KiSAO terms is no problem. Loading and finding similar/equivalent parameters or method will be. As long as the second is not provided by a dynamic link library we will probably not be able to support it. This means this repository/effort will have to do the mapping and provide COPASI with a feasible final mapping.

@shoops we wrote such code 3 month ago, easy if using OWL converted to OBO; @danv61 made it generic so it literally takes only a few lines to change to adapt for COPASI (or any other simulator); it is Java though

Ion points out another path through a substantially equivalent format which also does not yet require a specific library for KiSAO. Additional formats that OWL files can be converted to include ttl and JSON-LD.
Some potential libraries for working with ontologies files

cowl
owl-cpp
RDF libraries
JSON-ld libraries

Some of the points you mentioned could indeed be added to COPASI, but not all of it. Given that the user interface will only work with one model at  a time there will always be a need for handling multiple models, and as this is possible using the copasi API, this repository (or an implementation in one of the language bindings or corc/basico) will be needed going forward.
What we will do in the future will be to im/export the new KISAO terms created for the COPASI methods and their parameters. This did not make it into 4.31 but will be in the version afterwards.
As pointed out in #46, it does make sense to provide a utility function that given a plot specification and for that matter report specification, collects the output that would have been plotted / written to a report available to the caller.

Closing because COPASI does not intend to do this.


Bug fixes in block machine witness generation

This PR fixes two bugs:

We always inferred block machine witnesses always as if the block started at row block_size - 1. This works only if constant columns are the same for each block, which is not always the case.
The block machine uses a cache to store the computation steps (which identity is processed in which row) that actually lead to progress and uses this sequence for subsequent calls. This fails if the required sequence depends on the input (for example the operation ID) or any non-periodic constant columns. With this PR, this case is detected and the witgen procedure is repeated with the default strategy. This way, witgen will be slower in these cases, but it will succeed. I added a test that provokes this case.

According to the benchmark, performance has even improved:
keccak-executor-benchmark/keccak
                        time:   [31.557 s 31.975 s 32.427 s]
                        change: [-6.6441% -4.7007% -2.8193%] (p = 0.00 < 0.05)
                        Performance has improved.

Probably just noise.
I also inserted a panic!() in the if-block that handles the case where we do have a cache mix. It does not get triggered in the Keccak example.

looks good!


Keming

Code:
$L_2^(-1)[0 .. 1]$

Result:

Keming--too much space after the dot.

Another example:
$lambda, W, L$

Another example; here, the comma is too far separated W:
$lambda, W, L$

It looks the same in LaTeX. What you actually want is $\lambda$, $W$, $L$, because punctuation should ideally be in text mode and not math. This is what LuaLaTeX with unicode math gives me

for those two alternatives. The bottom one obviously looks much nicer.
However in typst $\lambda$, $W$, $L$ has the same spacing problem as $\lambda, W, L$.

So, I dug into this a bit.  Here's the test file:
\documentclass[12pt]{article}
\usepackage{unicode-math}
\begin{document}

\noindent $W, L$\\
$W$, $L$\\
$W$F

\end{document}

Using xelatex:

Omit the unicode math part and using pdflatex:

Back to unicode math, now with lualatex:

Oh, and Typst:

Observations:

Typst and xetex are the same.
pdflatex omits the italic correction for W before the punctuation, which looks good.  It's an outlier, and I need to look into why that happens.  Keep in mind, it's using a different font, though.
All of xelatex, pdflatex and Typst include the italic correction at the end of the math.
lualatex omits the italic correction at the end of a math block.  It gets better spacing for the comma, but allows collisions .

It's hard to say that Typst's current behavior with keeping the italic correction with the math block is a bug when it agrees with standard tex variants, and that lualatex gets the win at the cost of something else.  It's then a design choice, which needs to be made (should we keep the italic correction and call this not a bug, drop the italic correction as a feature and take on the (limited) risk of collisions as in lualatex, or try to do something even smarter than the TeX flavors (in which case I would label this a feature request, not a bug).
The failure to kern the comma in math mode for all three engines using the unicode math font is suspicious and makes me wonder if that's not a bug but a font limitation.  I'll look into why pdflatex is getting the win here.

Here's the scoop. New Computer Modern Math and its predecessor Latin Modern have no kerning information.  The GPOS table is empty.  The MATH table in an opentype math font can have a kerning table, but it's this funny cut-in table for the four corners of a glyph to optimize sub/super script placement.  Regardless, it's AWOL in both of these fonts.
By contrast, the original TeX Computer Modern Math Italic font has a few kerns listed in its TFM file. Most are punctuation (comma, period following a character) but also some design choices (d kerns tightly to f because of differential notation presumably). This information seems to be lost in the transition to  OTF.  I posted on tex stackexchange  to try to confirm this; the answers weren't definitive, but there seems to be an impression that OTF doesn't support kerning and math.  Instead, in contex, e.g., you can manually specify kerning pairs if you want.  I wrote to one of the original designers of Latin Modern to try to get a definitive answer.  Regardless of what I hear back, the font files have zero kerning information in them (not GSUB, not MATH).
Given that #1855 dealt with the original issue above, I think we have two options:

We observe that Typst give the same output as XeTeX (has italic correction at the end of math, leads to poorly spaced comma, but never collision with a following upright). It also gives the same output as  LaTeX , except that it doesn't kern within math because the kerns aren't in the font.  So, if we're happy with this behavior, we close this issue.
Decide that the LuaLaTeX policy of omitting the italic correction is better.  This is different from TeX and can sometimes leads to collisions.  But it has merits.  If we want this, we leave this issue open and close it once this new italic correction policy has been merged from a PR.

Either way, we should open a feature request issue that there should be some mechanism for a person to specify pairwise kerns for a math font if they really want them.

For the record, I noticed that overline(V)_alpha leads to bad kerning, as opposed to V_alpha.

It would also be nice if "a', b" can have better kerning. f_(b', b) wide f_(b'#h(-0.2em), b)

I wanted to try to use selector to select "',", but it does not work. Manually writing the negative space everywhere is just too tedious and hurts readability...

Another one: too much space before the last A in
$ A (X_i - overline(X))(X_i - overline(X))^T A^T $

LaTeX also puts too much space but it looks better, maybe by virtue of having the first T lower (which also looks better I think independently of the kerning issue):

This would only be a like for like comparison if you also used scaling delimiters in LaTeX

Ah right! The Latex version with scaling delimiters:

And typst wihtout scaling delimiters:

so Latex is no better actually, maybe even a bit worse

The issue in the original post, and the one posted by @Trebor-Huang have both been solved. The rest are a combination of several things (font issues, personal preferences), and aren't necessarily directly actionable. I think it would be better if new issues were opened for more specific things.


Insert into with select subquery (issue #142).

Coverage decreased (-0.02%) to 98.905% when pulling 6912bd9c03973dc88f2ada09a00ba56c64a6f069 on wwe_issue_142 into dbac7e0bffff43be20995cae82cbfcc3cd01ea56 on master.


Inspector does not reload variables upon kernel restart

When I press 00 to restart kernel, the variables listed in the inspector did not refresh. It got stuck in the previous kernel and did not respond to variable updates in the new kernel.

Thanks for your report @lmtsui. I will look into it in the next days.

I'm still getting this error, I'm not able to use the variable inspector except for the first time for any notebook

What jupyterlab and variableInspector version are you using?

@lckr
I have a same issue.
I'm using  @lckr/jupyterlab_variableinspector v0.3.0.

I have the same problem


printf in library?

I'm not sure which impact printf has in arduino-espressif32 framework. It is used in main.cpp:
void process_count(void) {
  printf("pax: %d; %d; %d;\n", count_from_libpax.pax, count_from_libpax.wifi_count, count_from_libpax.ble_count);
}

Should perhaps be changed by macros ESP_LOGI oder ESP_LOGD ?

Code does not belong to this library, but to the application, so to be solved in application.
Closed.


header coding

header coding

The documentation and the check are missing. The commit's text 'bug fixed' is not informative enough, and the description of the issue is not like it should be.


where(..)->first() makes error

$category= Category::where('id', '=', 1)->first();
$category->delete();
makes
"Call to a member function delete() on a non-object"
error
But,
$category= Category::find(1);
$category->delete();
is work.
Anybody knows any suspicious reason?
Thanks.

Sorry for the late reply.
I don't know if this is still happening to you. Did you happen to modify the primary key's name?


Error in jszip

I get this error trying to read file
Error: Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html
    at Object.readEndOfCentral (C:\Users\yakovlev\Desktop\TypescriptAPIServer\node_modules\exceljs\node_modules\jszip\lib\zipEntries.js:168:23)
    at Object.load (C:\Users\yakovlev\Desktop\TypescriptAPIServer\node_modules\exceljs\node_modules\jszip\lib\zipEntries.js:256:14)
    at C:\Users\yakovlev\Desktop\TypescriptAPIServer\node_modules\exceljs\node_modules\jszip\lib\load.js:49:20
    at process._tickCallback (internal/process/next_tick.js:103:7)

My code
import * as Excel from 'exceljs';
Excel.config.setValue('promise', global.Promise);
const wb = new Excel.Workbook();
        const filename = path.join(__dirname, '../../test/test.xls');
        wb.xlsx.readFile(filename)
            .then(
                () => console.log('test'),
                (err) => console.log(err));

code in typescript file with following compiler params
"compilerOptions": {
    "target": "es2015",
    "module": "CommonJS",
    "moduleResolution": "node"
  }

I have noticed this for xls file. I .xlsx doesn't have any similar issue.

This project supports .xlsx only - there is no support for .xls at all as that's a completely different format (despite the similar name).

It would be great if this returned a more user-friendly error ("XLS files are not supported!") since it's quite hard to expose this stream directly without hacking that in yourself. Will send a PR if the maintainers are interested.

Still does not support xls file ！！！


Remove internal stitching directives from gateway schema

Is your feature request related to a problem? Please describe.
Our FE team would like to avoid the noise in the schema.
Describe the solution you'd like
Michael mentioned he could do a PR to remove them as they are only internally needed.

FYI Michael, if/when you ever do this, it'd actually be nice to be able to toggle it. e.g. I'd like to still be able to hit /schema, passing a flag in the query, and get a fully-descriptive output of the schema with all the directives. Reason being, we have validator/snapshot tests of our schema and it's amazing to have this across authorize and these internal stitching directives too, as it's fully comprehensive.


How to implement a Siamese network architecture？

How to implement the Siamese architecture  in S. Chopra, R. Hadsell, and Y. LeCun. Learning a similarity metric discriminatively, with application to face verification. CVPR, 2005.
I means how to train two network with the same weights use keras.
Any help is appreciate! Thanks

@anxiaoxi45 Did you try to use Merge?
left = Sequential()
left.add(Dense(784, 50))
left.add(Activation('relu'))
model = Sequential()
model.add(Merge([left, left], mode='concat'))
I have not tested it, but I think it should work.

Since a Siamese architecture only has a single output, then a Merge should be sufficient to implement it.
However, Merge does not currently work with repeated instances of the same model ("same weights"). We're discussing this problem in https://github.com/fchollet/keras/issues/224#issuecomment-114632044 and @pdermyer may have a solution (waiting for a PR).

In the recent past, I tried something similar with keras, following up on this clever idea:
https://github.com/Lasagne/Lasagne/issues/168. Therefore, you can simply add a custom siamese objective to objectives.py, such as:
def siamese_euclidean(y_true, y_pred):
    a = y_pred[0::2]
    b = y_pred[1::2]
    diff = ((a - b) ** 2).sum(axis=1, keepdims=True)
    y_true = y_true[0::2]
    return ((diff - y_true)**2).mean()

This approach makes it easy to share the weights in a vector pair. Watch out with setting the batch_size though (even numbers!) to make sure that the indices are respected.

@mikekestemont I'm probably wrong, but this modified objective seems a little different to me than what people usually want from a Siamese network. Won't this network have more independent parameters to generate 2x as many outputs? I thought usually what's desired is a single model f_theta which is trained to optimize distance(f_theta(x), f_theta(y)) for training pairs (x,y). In your case, won't there be a separate theta_x and theta_y in the last layer of the network?

A ``share_weight'' parameter to choose whether share weights between layers would be a better solution. This is very helpful for other architectures.

@iskandr There is a single f_theta in this approach, which is uniformly applied to each instance during the forward pass. I applied this to authorship verification (i.e. check whether two documents were written by the same author). Suppose that we have documents A and B by author 1, and documents C and D by author two. This situation yields the following pairs as data:
(A, B) = 1 (same author)
(C, D) = 1
(A, C) = 0 (different author)
(A, D) = 0
(B, C) = 0
(B, D) = 0

My X_train would be a concatenation of these pairs, with the first item always at an uneven index; the y_train would have a doubled version of the class labels:
X_train = [A, B, C, D, A, C, A, D, B, C, B, D]
y_train = [1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0]

By applying a standard forward model (f_theta, parametrized by a single theta) to this data, you would get an output representation for each document. To calculate the loss, you exploit the positional regularity with the uneven and uneven indices with e.g.:
def siamese_euclidean(y_true, y_pred):
    a = y_pred[0::2]
    b = y_pred[1::2]
    diff = ((a - b) ** 2).sum(axis=1, keepdims=True)
    y_true = y_true[0::2]
    return ((diff - y_true)**2).mean()

I don't see how this is different from standard siamese networks?

@mikekestemont Thanks for spelling it out for me, I misunderstood how the indexing trick was working. This does seem to implement a Siamese network!

Sorry for reopening the issue, it wasn't clear to me if the solution is just adding the same model as left and right leg of the merge layer. Is the following going to implement a siamese network?
siamese_leg = Sequential()
left.add(...)
left.add(...)

model = Sequential()
model.add(Merge([leg, leg], mode='concat'))
model.add(Dense(50, 10, activation='softmax'))
model.compile(loss='categorical_crossentropy', optimizer='rmsprop')

Thanks.

@gbcalsaverini The trick with a Siamese network is that the "left" and "right" models share weights (in practice there is only one model that you're training on pairs of inputs).

Ah, don't mind the rest of the code, I just copied from the example from merge and didn't bother to change it.
I couldn't find though any layer that would implement something like an euclidean distance. Is there one?

@ghost,so you are not a ghost..

@iskandr If I want to achieve training based on the similarity of the two inputs, could you help me to check if the following is correct?
model.compile(optimizer='sgd', loss='cosine_proximity')

@iskandr ,You mentioned

The loss function you gave won't work to achieve training based on the similarity of the two inputs (since you're penalizing classification error across 10 categories, when what you want is to push similar inputs toward similar outputs).

Thus, the only change is to set the loss='categorical_crossentropy' to loss='cosine_proximity'?


Godot 4 FPS Support

When using the 3d smoothing node on the head of my character, it works really well to smooth the movement instead of jittering at physics speed. The problem is :
Camera rotation is not updated in physics ticks!
When using a smoothing node before the camera, then rotations are smoothed rather than keeping their updated values between physics frames.
When disabling 'basis' on the smoothing node, rotation will not update with the parents, removing rotation altogether.
This makes setting up an FPS controller that doesn't have jitter very complicated.

A simple fix to this issue would be adding a new parameter called something like "keep previous transform". This allows rotation and scale of the node to be edited, while still not affecting any things that are enabled.
Under process, it would be
`
func _process(_delta):
var f = Engine.get_physics_interpolation_fraction()
var tr: Transform3D
if SF_KEEPTRANSFORM:
	tr = transform
else:
	tr = Transform3D()

`
instead of:
func _process(_delta): 	var f = Engine.get_physics_interpolation_fraction() 	var tr: Transform3D = Transform3D()

I discuss this in this video for the core interpolation in 3.x:
https://www.youtube.com/watch?v=BJgDCISku_o&t=126s
For FPS camera and the addon, sometimes it can be better to keep the camera on a separate branch to the player, and manually interpolating in global space. Attaching the camera as a child of a (basis) smoothed player visual rep won't work well as you say, because the smoothed basis will likely be inherited from the parent, unless you turn off basis interpolation.
Typically in FPS you'd want to drive the rotation of the player (rather than the camera directly) using the mouse, so if you turn off basis interpolation in the player, and just alter the rotation of the player directly using the mouse (and thus inherited by a camera child) this may work for you. The exact setup depends on the nature of your game / camera.

That is correct, but it does allow for some more freedom. With this approach, my "Player" node can stay as a CharacterBody3D, which allows positional
smoothing without smoothing its rotation, allowing for exact control over the camera.

Ah sorry, I get what you mean. This may well be an oversight on my part, will look into it when I get a moment. :+1: :smiley:

I've managed to solve this problem by modifying the addon. Since my player is translated on the physics tick but rotated on the process tick, I needed a way to selectively apply interpolation on a per-property basis. To do so, I made this change:
func _process(_delta):

	var f = Engine.get_physics_interpolation_fraction()
	var tr: Transform3D = Transform3D()

	# translate
	if _TestFlags(SF_TRANSLATE):
		var ptDiff = _m_trCurr.origin - _m_trPrev.origin
		tr.origin = _m_trPrev.origin + (ptDiff * f)
+	else:
+		tr.origin = _m_Target.global_transform.origin

	# rotate
	if _TestFlags(SF_BASIS):
		if _TestFlags(SF_SLERP):
			tr.basis = _m_trPrev.basis.slerp(_m_trCurr.basis, f)
		else:
			tr.basis = _LerpBasis(_m_trPrev.basis, _m_trCurr.basis, f)
+	else:
+		tr.basis = _m_Target.global_transform.basis

	transform = tr

I'm not sure if this was the intention initially, but disabling the basis or translate flag OOTB causes the transform to never be applied at all. With the change, I can configure the smoothing node to only interpolate translate but leave basis as-is.


demo.py from quickstart in README.md not working with auto reload

I've tried running this on both Ubuntu and MacOS and I get the same results. Providing the output of using this on MacOS below.
Ran the following commands to install chain lit:
python3 -m venv .venv
source .venv/bin/activate
pip install chainlit

Ran chainlit hello and verified that it worked.
Created demo.py and copied code from Quickstart in the README.md.
Then I ran:
chainlit run demo.py -w

Checked the browser and everything looked good. Then I ran:
touch demo.py

These messages get printed in the terminal:
2024-02-14 10:06:54 - Your app is available at http://localhost:8000
2024-02-14 10:08:13 - 1 change detected
2024-02-14 10:08:13 - File modified: demo.py. Reloading app...
2024-02-14 10:08:14 - Error reloading module: 'opentelemetry.proto.collector'
2024-02-14 10:08:16 - You need to configure at least an on_chat_start or an on_message callback

Checking the page I see "Could not reach the server".
Given the error message, I tried setting enable_telemetry = false in the .chainlit/config.toml. Then I ran:
chainlit run demo.py -w

Followed by:
touch demo.py

Now I get the following in the terminal:
2024-02-14 10:10:32 - Your app is available at http://localhost:8000
2024-02-14 10:11:18 - 1 change detected
2024-02-14 10:11:18 - File modified: demo.py. Reloading app...
2024-02-14 10:11:21 - You need to configure at least an on_chat_start or an on_message callback

Checking the page I see "Could not reach the server". There is an "on_message" handler in the demo.py file, so I'm not sure what is wrong.
Output of pip freeze:
$ pip freeze
aiofiles==23.2.1
aiohttp==3.9.3
aiosignal==1.3.1
annotated-types==0.6.0
anyio==3.7.1
asyncer==0.0.2
attrs==23.2.0
backoff==2.2.1
bidict==0.22.1
certifi==2024.2.2
chainlit==1.0.200
charset-normalizer==3.3.2
click==8.1.7
dataclasses-json==0.5.14
Deprecated==1.2.14
fastapi==0.108.0
fastapi-socketio==0.0.10
filetype==1.2.0
frozenlist==1.4.1
googleapis-common-protos==1.62.0
grpcio==1.60.1
h11==0.14.0
httpcore==0.17.3
httpx==0.24.1
idna==3.6
importlib-metadata==6.11.0
Lazify==0.4.0
literalai==0.0.103
marshmallow==3.20.2
multidict==6.0.5
mypy-extensions==1.0.0
nest-asyncio==1.6.0
opentelemetry-api==1.22.0
opentelemetry-exporter-otlp==1.22.0
opentelemetry-exporter-otlp-proto-common==1.22.0
opentelemetry-exporter-otlp-proto-grpc==1.22.0
opentelemetry-exporter-otlp-proto-http==1.22.0
opentelemetry-instrumentation==0.43b0
opentelemetry-proto==1.22.0
opentelemetry-sdk==1.22.0
opentelemetry-semantic-conventions==0.43b0
packaging==23.2
protobuf==4.25.2
pydantic==2.6.1
pydantic_core==2.16.2
PyJWT==2.8.0
python-dotenv==1.0.1
python-engineio==4.9.0
python-graphql-client==0.4.3
python-multipart==0.0.6
python-socketio==5.11.1
requests==2.31.0
simple-websocket==1.0.0
sniffio==1.3.0
starlette==0.32.0.post1
syncer==2.0.3
tomli==2.0.1
typing-inspect==0.9.0
typing_extensions==4.9.0
uptrace==1.22.0
urllib3==2.2.0
uvicorn==0.25.0
watchfiles==0.20.0
websockets==12.0
wrapt==1.16.0
wsproto==1.2.0
yarl==1.9.4
zipp==3.17.0

Output of python --version:
Python 3.11.4

I have the same problem. The autoreload (the -w option) doesn't seem to work properly. One I change something in the code and press Ctrl-S to save, the changes are detected, but then the whole program breaks:
2024-03-20 21:30:35 - Your app is available at http://localhost:8003
2024-03-20 21:31:11 - 1 change detected
2024-03-20 21:31:11 - File modified: config.py. Reloading app...
2024-03-20 21:31:13 - You need to configure at least an on_chat_start or an on_message callback
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/home/roman/miniconda3/envs/chainlit/lib/python3.11/site-packages/uvicorn/protocols/websockets/websockets_impl.py", line 250, in run_asgi
result = await self.app(self.scope, self.asgi_receive, self.asgi_send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/roman/miniconda3/envs/chainlit/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/roman/miniconda3/envs/chainlit/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in call
await super().call(scope, receive, send)
File "/home/roman/miniconda3/envs/chainlit/lib/python3.11/site-packages/starlette/applications.py", line 116, in call
await self.middleware_stack(scope, receive, send)
File "/home/roman/miniconda3/envs/chainlit/lib/python3.11/site-packages/starlette/middleware/errors.py", line 151, in call
await self.app(scope, receive, send)
File "/home/roman/miniconda3/envs/chainlit/lib/python3.11/site-packages/starlette/middleware/cors.py", line 75, in call
await self.app(scope, receive, send)
File "/home/roman/miniconda3/envs/chainlit/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 62, in call
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/home/roman/miniconda3/envs/chainlit/lib/python3.11/site-packages/starlette/_exception_handler.py", line 55, in wrapped_app
raise exc
File "/home/roman/miniconda3/envs/chainlit/lib/python3.11/site-packages/starlette/_exception_handler.py", line 44, in wrapped_app
await app(scope, receive, sender)
File "/home/roman/miniconda3/envs/chainlit/lib/python3.11/site-packages/starlette/routing.py", line 746, in call
await route.handle(scope, receive, send)
File "/home/roman/miniconda3/envs/chainlit/lib/python3.11/site-packages/starlette/routing.py", line 459, in handle
await self.app(scope, receive, send)
File "/home/roman/miniconda3/envs/chainlit/lib/python3.11/site-packages/engineio/async_drivers/asgi.py", line 58, in call
await self.engineio_server.handle_request(scope, receive, send)
File "/home/roman/miniconda3/envs/chainlit/lib/python3.11/site-packages/socketio/async_server.py", line 448, in handle_request
return await self.eio.handle_request(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/roman/miniconda3/envs/chainlit/lib/python3.11/site-packages/engineio/async_server.py", line 286, in handle_request
socket = self._get_socket(sid)
^^^^^^^^^^^^^^^^^^^^^
File "/home/roman/miniconda3/envs/chainlit/lib/python3.11/site-packages/engineio/base_server.py", line 229, in _get_socket
raise KeyError('Session is disconnected')
KeyError: 'Session is disconnected'


Reinit firmware RPC

This PR adds the ability to reboot just the firmware part of a bot.

Coverage remained the same at 92.412% when pulling fc6df5fe73ebb60b3595a25e4c2cc27edf1385bd on RickCarlino:reinit_firmware into c3dc1d727923ed0633ab427179dda3d04e7cea26 on FarmBot:staging.

Coverage remained the same at 92.412% when pulling fc6df5fe73ebb60b3595a25e4c2cc27edf1385bd on RickCarlino:reinit_firmware into c3dc1d727923ed0633ab427179dda3d04e7cea26 on FarmBot:staging.


ios notifications

Seems that enabling push notifications on ios doesn't work as expected
ToDo:

We need to test this
Spot bugs
Know how to reproduce them
Write tickets & fix them afterwards

What’s needed is a manifest.json that allows pinning the app to the Home Screen. After that it’s possible to enable push notifications via the Home Screen link!

done


Remove support for RHEL 5 + fix amazon in Chef 13

Signed-off-by: Tim Smith<EMAIL_ADDRESS>

Known failure until we get a new foodcritic release in DK


bug MinZoom

if MinZoom = "3"
When Start
Zoom = 86.40%

Do I understand this correctly?
The expected behavior:
The MinZoom is set to 3 (300%), so the zoom will never be less than 300%.
The actual behavior:
The initial zoom goes below 300%.
The steps to reproduce:

The MinZoom to 3 (from code)
The Content of the ZoomControl is bigger than the ZoomControl (hence, to Fill it has to down scale)
The initial zoom is smaller than 300%, or after zooming you click 1:1/Fill and the zoom is smaller than 300%.


Erroring file processing

File gives this information
Game name: (please, specify the game name)
Engine version: (specify engine version, if known)
Platform: (specify platform, if known)
Error message: Some data left
Stack trace:    at uTinyRipper.Lz4.Lz4DecodeStream.ReadBuffer(Stream stream, Int64 count)
at uTinyRipper.BundleFileScheme.ReadFileStreamMetadata(Stream stream, Int64 basePosition)
at uTinyRipper.BundleFileScheme.ReadScheme(Stream stream)
at uTinyRipper.GameCollection.ReadScheme(SmartStream stream, String filePath, String fileName)
at uTinyRipper.GameCollection.LoadScheme(String filePath, String fileName)
at uTinyRipper.GameStructure.ProcessPlatformStructure(GameStructureProcessor processor, PlatformGameStructure structure)
at uTinyRipper.GameStructure.Load(List1 pathes, LayoutInfo layinfo)    at uTinyRipper.GameStructure.Load(IEnumerable1 pathes, LayoutInfo layinfo)
at uTinyRipperGUI.MainWindow.LoadFiles(Object data)
I may be doing somethign wrong here but all i did was drag and drop the vrca file into it.

uTinyRipper has been abandoned, but you can try my AssetRipper fork. In the event that AssetRipper encounters issues while ripping your files, feel free to post an issue on that repository.
AssetRipper is actively being developed with the intent to recover games as best as possible. Weekly releases are normally on Sunday or Monday. I encourage you to help out if you're able and willing. Code contributions can be submitted via pull requests.
If you like the work I've done and want to see it continue, please consider sponsoring me. It really does help with development. These are some of the notable things I've implemented since taking over development:

2020+ support
APK, XAPK, and IPA reading with SharpZipLib
Dummy shaders (so everything isn't pink when you open the project)
IL2Cpp support via an integration of Cpp2IL
Better game platform support
Full script decompilation with the ILSpy decompiler
Cross-platform support
Multiple configuration options
Numerous performance improvements
Support for all asset types

Sponsorship Links:

GitHub Sponsors
Patreon
Paypal

Spamming "use my program instead" in every thread isnt a solution for their problems. Especially when yours isnt even capable of extract all types of assets yet, no offense just sayin' m8

Spamming "use my program instead" in every thread isnt a solution for their problems.

Usually, it does solve their problems. The most common issues I see are the ones caused by uTiny not supporting newer Unity versions.

yours isnt even capable of extracting all types of assets yet

Yes, it does. Show me otherwise.


GH-3143: Don't try to parse empty solution file lines

Fixes #3143
Should I care about Rider changing unrelated lines of code in Resources.Designer.cs?

@nmbro your changes have been merged, thanks for your contribution :+1:


question about "gen_pose_cond = True"

Thanks for your outstanding work.However, as I read through the code, I find that the "gen_pose_cond = True" seems to use the ground truth camera pose as mapping network condition.Is that necessary for image generation?

Hi, we do not use the ground truth camera poses for training. Please check the implementation of mapping network at https://github.com/VivianSZF/pof3d/blob/main/training/networks_stylegan2.py#L280.

Hi, we do not use the ground truth camera poses for training. Please check the implementation of mapping network at https://github.com/VivianSZF/pof3d/blob/main/training/networks_stylegan2.py#L280.

Thanks for your explaination.


[Rendering] Suggestion and autocorrect text renders upside down

Copied bug from: https://github.com/microsoft/AdaptiveCards/issues/8305
Details from original post:
Target Platforms
iOS
SDK Version
N/A
Application Name
Teams
Problem Description
I am sending an adaptive card to Teams to get input from a user. The autocorrect/suggestion text is upside down. I have no idea why this would be occurring, but I was able to reproduce it on four different iPhones. I do not have access to an Android phone, so I'm not sure if it is Teams or iOS.
Screenshots

Card JSON
{
   "attachments":[
      {
         "contentType":"application/vnd.microsoft.card.adaptive",
         "content":{
            "$schema":"http://adaptivecards.io/schemas/adaptive-card.json",
            "type":"AdaptiveCard",
            "version":"1.4",
            "body":[
               {
                  "type":"TextBlock",
                  "size":"Medium",
                  "weight":"Bolder",
                  "text":"Weather Request",
                  "horizontalAlignment":"Center",
                  "wrap":true,
                  "style":"heading"
               },
               {
                  "type":"Input.Text",
                  "label":"Location",
                  "style":"text",
                  "id":"location",
                  "isRequired":true,
                  "errorMessage":"Location is required"
               },
               {
                  "type":"Input.Date",
                  "label":"Start",
                  "isRequired":true,
                  "id":"start",
                  "value":"2023-02-12"
               },
               {
                  "type":"Input.Date",
                  "label":"End",
                  "id":"end"
               },
               {
                  "type":"Input.ChoiceSet",
                  "choices":[
                     {
                        "title":"U.S.",
                        "value":"us"
                     },
                     {
                        "title":"Metric",
                        "value":"metric"
                     }
                  ],
                  "id":"units",
                  "label":"Units",
                  "isRequired":true,
                  "value":"us"
               },
               {
                  "type":"TextBlock",
                  "text":"Include:",
                  "wrap":true,
                  "spacing":"Large"
               }
            ],
            "actions":[
               {
                  "type":"Action.Submit",
                  "title":"Submit",
                  "data":{
                     "id":"weather"
                  }
               }
            ]
         }
      }
   ]
}

Sample Code Language
No response
Sample Code
No response---
Document Details
⚠ Do not edit this section.It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3fb4394d-25b1-8752-3996-fe3a2934732d
Version Independent ID: 6d391381-89d0-117c-27cc-00043bd26a36
Content: Cards reference - Teams
Content Source: msteams-platform/task-modules-and-cards/cards/cards-reference.md
Product: msteams
GitHub Login: @surbhigupta12
Microsoft Alias: surbhigupta12

@bandtank - Thanks for reporting the issue. We will check this from our end and revert back with updates.

@bandtank - We tried with the Json provided, however we are not getting any autocorrect/suggestions while typing anything in the input field.

@bandtank , @TFesmire - Could you please share the json which you used to send the card via postman having autocorrect/suggestion?

{
  "attachments": [
    {
      "contentType": "application/vnd.microsoft.card.adaptive",
      "content": {
        "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
        "type": "AdaptiveCard",
        "version": "1.5",
        "body": [
          {
            "type": "TextBlock",
            "size": "Medium",
            "weight": "Bolder",
            "text": "Weather Request",
            "horizontalAlignment": "Center",
            "wrap": true,
            "style": "heading"
          },
          {
            "type": "Input.Text",
            "label": "Location",
            "style": "text",
            "id": "location",
            "isRequired": true,
            "errorMessage": "Location is required"
          }
        ],
        "actions": [
          {
            "type": "Action.Submit",
            "title": "Submit",
            "data": {
              "id": "weather"
            }
          }
        ]
      }
    }
  ]
}

@bandtank , @TFesmire - Although we are still not able to repro this issue (auto-correction/suggestion is not showing), we have raised a bug for the same and engineering team is looking into it. We will inform you once we get any further update. Thanks!

@bandtank , @TFesmire - Engineering team is also not able to repro this issue? Could you please verify it on latest build and confirm if it is still reproable?

I have confirmed this issue on three iPhones and two iPads. All devices have the latest version of iOS and Teams.

@bandtank - Could you please share the recording of the issue along with deployed manifest if possible, so that we can pass this to engineering team to investigate further?


[BCIdea]: Add reference "FindBlobsByTags" from the "ABS Client Impl." codeunit  to the "ABS Blob Client" codeunit

BC Idea Link
https://experience.dynamics.com/ideas/idea/?ideaid=6c231259-217e-ee11-a81c-000d3ae53364
Description
I want to filter the blobs by their tags.
The function is allready created in the implementation codeunit but is not added to the client.

Can I create the pull request myself?
Kinds regards
Lorenz

Just a little more patience. We're currently setting the right automations up between GitHub <-> DevOps <-> BCIdeas. Shortly we'll be ready to triage and approve ideas!

Approved! Please create a PR.


How do I know which recognition area my target recognition box comes from？

Dear author,I added preprocessing to divide the recognition area into two parts, but I don't know how to distinguish which area the target recognition box comes from in the following process
This is my preprocessing configuration:
[group-0]
src-ids=0;1;2;3;4;5
custom-input-transformation-function=CustomAsyncTransformation
process-on-roi=1
roi-params-src-0=0;0;1280;720;272;0;736;720
roi-params-src-1=0;0;1280;720;272;0;736;720
roi-params-src-2=0;0;1280;720;272;0;736;720
roi-params-src-3=0;0;1280;720;272;0;736;720
roi-params-src-4=0;0;1280;720;272;0;736;720
roi-params-src-5=0;0;1280;720;272;0;736;720
This is the func:
def _tiler_sink_pad_buffer_probe(buffer, user_data):
# Retrieve batch metadata from the gst_buffer
try:
batch_meta = pyds.gst_buffer_get_nvds_batch_meta(buffer)
l_frame = batch_meta.frame_meta_list
except:
return DSL_PAD_PROBE_OK
while l_frame is not None:
    try:
        frame_meta = pyds.glist_get_nvds_frame_meta(l_frame.data)
    except StopIteration:
        break
    frame_number = frame_meta.frame_num
    source_id = frame_meta.source_id
    l_obj = frame_meta.obj_meta_list
    boxes = []
    while l_obj is not None:
        try:
            # Casting l_obj.data to pyds.NvDsObjectMeta
            obj_meta = pyds.glist_get_nvds_object_meta(l_obj.data)
        except StopIteration:
            break
        boxes.append([int(obj_meta.detector_bbox_info.org_bbox_coords.left), int(obj_meta.detector_bbox_info.org_bbox_coords.left)+int(obj_meta.detector_bbox_info.org_bbox_coords.width), int(obj_meta.detector_bbox_info.org_bbox_coords.top), int(obj_meta.detector_bbox_info.org_bbox_coords.top)+int(obj_meta.detector_bbox_info.org_bbox_coords.height)])
        try:
            l_obj = l_obj.next
        except StopIteration:
            break

Is there a way to distinguish which recognition area the box comes from?

@hadestyz unfortunately you can't... see https://forums.developer.nvidia.com/t/how-can-i-find-out-which-roi-inference-result-came-from-among-the-obj-information-of-obj-meta-list-from-the-preprocess-result/253314/14
We've been working around this limitation by using Duplicate Sources to create duplicate streams so that each source has only one ROI. It definitely adds overhead, but it allows you to distinguish which ROI the object was detected in.
Wish I had better news for you.

I hope it can be achieved one day.Thank you.

@rjhowell44 sorry，I would like to ask again, is the Duplicate Source you mentioned different streams on the same pipeline? Are there still two pipelines? Are there any similar examples here for reference?

@hadestyz the Duplicate Source creates a duplicate stream for the same Pipeline.  You can duplicate the same source (stream) as many times as you like.  Then you can define a different ROI for each stream.
For your example above, you have 6 sources with 2 ROIs each.  You could make them 12 sources/streams with 1 ROI each.  Just know that when you add both the original Sources and the duplicate Sources to the Pipeline, they will be assigned stream-ids in the order you add them.
Keep in mind that you are doubling the number of frames that need processing by the preprocessor, inference engines, and tracker. So a lot of extra overhead.
We typically use a Demuxer for this case and then we don't add branches or Sinks to the duplicate streams.  Just let the demuxer drop the buffers... add Branches/Sinks to just the original Streams for viewing, recording, streaming, etc.
Just FYI, as others may run into this problem, I will make time to add a diagram and description of this workaround to the Preproc docs in DSL.

@hadestyz Sorry, I misspoke.  There is no extra overhead for the Inference engines as the number of ROIs, which equals the batch-size, remains the same.  6 sources with 2 ROIs, or 12 sources with 1 ROI means, the batch-size is 12 for both.

@rjhowell44 Thank you .

@rjhowell44 Looking forward to your relevant documents, very much

@rjhowell44 Looking forward to your relevant documents, thank you very much

@rjhowell44 For example, after copying multiple streams, each stream corresponds to a different recognition area. How should I ensure that these streams are aligned and synchronized? How should I obtain data from multiple streams, unify their box data, process it centrally, and distribute it downstream? I don't seem see any interfaces in Deepstream that provide merging.

@hadestyz my apologies for the slow response... very busy.  I will try and put together a diagram with some comments tonight.

@hadestyz again, sorry, very busy.   I've gotten as far as creating a diagram for the docs.  See below.

Her are some important points.

The Duplicate Source simply Tees into the Original Source's stream
Both the Original Source and the Duplicate Source are linked as input to the streammuxer (pad-0, pad-1).
A gstreamer Tee does not copy/duplicate each buffer, but simply pushes duplicate pointers to the same buffer onto both of the streammuxer's input pads.
The streammuxer will batch the two streams as if they are two sources, but they are really the same buffers.
The preprocess inference engine and tracker will process both as separate streams.
Now, instead of defining two preproc ROIs for the original source, define one for the Original Source, and one for the Duplicate Source.
When you're processing the frame and object metadata you can tell which ROI the object is in by which source it is in.
When viewing the output, only connect a branch to the Demuxer for stream-0.  You can let the Demuxer drop the Duplicate stream.

I hope this. Please follow up with additional questions if you have them.

@rjhowell44  Thank you for your answer and for this clear chart.  It makes me understand the process clearly.
If I have a Original source-A and its Duplicate source-B, and in the process shown in the above figure, the data flow is still frame by frame, it seems that there are no related components or functions in the deepstream , so I can accumulate two frames and process them once?
But I can do some processing on the probe function, merging the data for processing every time I receive the same number of frames of source-A and source-B data. This requires the data processing speed of source-A and source-B to be similar, in order to avoid having too much backlog of data on my own stack.
So can the streammux plugin on Deepstream ensure that source-A and source-B are passed to the inference engine as evenly as possible?

@hadestyz the Pipeline's built-in streammuxer batches the frames from the original and duplicate sources and adds the metadata for each frame...  meaning the pointers to the buffers are batched together so they can be processed as a batch by the inference engine and tracker.  If you add your custom pph to the source-pad (output) of the tracker you will iterate through the batched metadata. It is the Demuxer that un-batches the buffers into separate streams.
This code (the custom pph) that you had above, is iterating on all frames in the batch. If all sources are the same frame-rate, then everything will be synchronized.
while l_frame is not None:
    try:
        frame_meta = pyds.glist_get_nvds_frame_meta(l_frame.data)
    except StopIteration:
        break
    frame_number = frame_meta.frame_num
    source_id = frame_meta.source_id
    l_obj = frame_meta.obj_meta_list
    boxes = []
    while l_obj is not None:
        try:
            # Casting l_obj.data to pyds.NvDsObjectMeta
            obj_meta = pyds.glist_get_nvds_object_meta(l_obj.data)
        except StopIteration:
            break
        boxes.append([int(obj_meta.detector_bbox_info.org_bbox_coords.left), int(obj_meta.detector_bbox_info.org_bbox_coords.left)+int(obj_meta.detector_bbox_info.org_bbox_coords.width), int(obj_meta.detector_bbox_info.org_bbox_coords.top), int(obj_meta.detector_bbox_info.org_bbox_coords.top)+int(obj_meta.detector_bbox_info.org_bbox_coords.height)])
        try:
            l_obj = l_obj.next
        except StopIteration:
            break

The only think you have to worry about is if you have overlapping ROIs.  Then everything gets a little trickier.


Great job! Will the training data be released?

Unfortunately no. However, we think that MimicBrush does not depend on specific data, it could be trained by videos from other sources as well theoretically.

@XavierCHEN34 will the training code be released?

Currently no plans :(


Execution failed for task ':@yfuks/react-native-action-sheet:compileDebugJavaWithJavac'

Receiving this error when building for Android:
Execution failed for task ':@yfuks/react-native-action-sheet:compileDebugJavaWithJavac'

Hello,
can you paste the error stack ?


Separate runner agent private address

Description
Allow separate control of the private addresses for the runners
and the Gitlab agent.
You might want to have separate auto assign ip address settings
for the Gitlab agent and runners.
As an example when you which to have the Gitlab agent with a
public ip address so it can register itself to the Gitlab
cloud. But if you want the runners to be in a private subnet
and have the external ip of the NAT gateway instead of their
own ip.
This is needed when you have a CICD account which will
run deployments in a separate account. The CICD account will
host the custom Gitlab runner.
In the separate account you which to deploy to you want to whitelist
the CICD ip addresses so it can perform updates to the infrastructure.
These ip addresses will be always the same, because the ip's are
used from the NAT gateway which have their own eip's.
Migrations required
YES, Users who are using public ip's addresses (runners_use_private_address is set to false) for their runners they have to set variable runner_agent_uses_private_address to false too.
Verification
Tested it in my AWS account.

I have added the documentation and updated the description.
Thank you for your quick reply!


Add CodeCov

⚠ This issue is generated, it means the examples and the namings do not necessarily correspond to the language of this repository.
Also, if you are a maintainer, please add any clarification and instructions about this issue.
Sorry if this is already wholly/partially implemented. Feel free to let me know about the state of this issue in the repo.
Related to https://github.com/meilisearch/integration-guides/issues/59

Codecov helps us to know if a PR add non-tested code. If it's the case, we don't accept the PR.
It's easy to install, easy to configure.
TODO:

[ ] Add CodeCov to this repository.
[ ] Add the CodeCov badge on this repository README.md
[ ] Ensure a minimum coverage is accepted (optional)

for dart we might be able to use https://pub.dev/packages/coverage


feat(frontend): imperative transaction network guard

Motivation
With Svelte v5 #3949 we are not able to access the /transactions page because the $page store is not initalized when the route is mounted. This happens because we guard the page for case where the network query param would not be set. To resolve the issue we can imperatively access the query parameter.
Changes

Use URLSearchParams instead of $page to read the network param on mount.

Require #3989 to pass - i.e. CI will fail until related PR is merged.


HTML as string and render it to GUI supporting CSS and javascript!

Flet should have a control or widget that can render html text with CSS and javascript support to the text, design and logic.

https://flet.dev/docs/controls/webview
Waiting for supports desktop and browser versions

Waiting for supports desktop and browser versions

also waiting custom headers functionality

Please use WebView control.


TypeScript type declaration file

If you want I can write a TypeScript type declaration file for this package so that TS developers can utilise the type-checking feature of the language as they use this package. Let me know if you are interested.

@geopic sounds great, PR for this are very welcome 🙂


Modify Chessboard exercise to comply with standard chess notation

The current exercise swaps the definition or file and rank of a chessboard. This could be confusing for people who know chess.
https://en.wikipedia.org/wiki/Chessboard
Also, the expected response of the first two examples do not match the diagram and the test data provided. This PR corrects both issues while respecting the spirit of the exercise

My husband is into chess and he looked over my shoulder and saw the old diagram in the test file. He was also immediately like "That's not right!". So thanks a lot for the catch and fix @cruzfarfan!