test: cmd/cli/mesh_upgrade.go newMeshUpgradeCmd func

In cmd/cli/mesh_upgrade.go, the unit test coverage is low for the newMeshUpgradeCmd() func due to cobra flags not being tested. See highlighted lines below.

It would be great to write a test for this function that ensures that this works as expected.

ref #1489

ref possible parent issue: #3417

Closing in favor of #3417


Question: Can TileView be used for dynamically rendered documents?

The scenario here is that there are no fixed DetailLevels when rendering a document - it can render at any resolution.
The goal is that during panning and zooming, TileView should interpolate as best as it can using current tiles and avoid requesting tiles as far as possible. When zooming and panning are complete, TileView should ask the BitmapProvider for tiles rendered at the current resolution, so there is no interpolation in the steady state.
Is this currently possible?

I'm nor clear on what exactly you want to accomplish.  You need at least one DetailLevel, but all you need is one.  The single DetailLevel a fairly common use case, and additional DetailLevels are entirely optional (although you'll get much better performance by optimizing the number of tiles required to fill a screen by judicious use of DetailLevels). TileView will only ever request bitmaps for areas that are in the current viewport.  You can make it more aggressive by using setViewportPadding, which makes calculations assume you want to test as if the viewport were actually x dots larger than it is.  You can override some (most? all?) of the methods that initiate tile requests by subclassing.
Does that answer you question?

Let me rewrite the question.
Setting aside TiledView for a minute, think of  a document application such as a text editor or web browser, that simply redraws itself directly when needed. As the user pans and zooms, redrawing occurs at the current viewport scale. In this situation the display always looks crisp; it never looks like it took a bitmap and tried to scale it up.
The only problem with direct drawing is that it is slow. This is where my question comes in. Can TiledView be used to optimize zooming and panning, without sacrificing display quality otherwise?
Here is how Google Chrome does it: https://docs.google.com/document/d/1tkwOlSlXiR320dFufuA_M-RF9L5LxFWmZFg5oW35rZk/edit?pref=2&pli=1
An abstract from this document: "The system always strives to have the ideal tiling on the screen: A tiling at such a scale that one pixel in the tile resource would map to one pixel on the device screen. This tiling is referred to as the high resolution tiling or ideal tiling."

The document you linked describes a very different process than what TileVie does and intends to do.  TileView does not represent an arbitrary drawing surface, or attempt to manage display state other than the position of bitmap tiles.  Those bitmaps, once generated, are not recomposed each time scale changes (but obviously they are redrawn by the system's underlying View drawing framework).
That said, TileView will never scale any tiles up, unless you explicitly instruct it do so, so there is never loss of image data as it's displayed on screen.

Thanks, I take it from your response that TileView cannot be used for drawing canvases (i.e. dynamic documents), which is the scenario that I am concerned with.
BTW the document I linked also uses bitmap tiles; it is a general solution that I believe addresses all the scenarios that TileView does plus the one that I'm interested in. I may look into implementing something similar to that since TileView does not appear to do what I need.


perf: if defined, use rootDir

If rootDir is defined, we can simply use that value.
(Also it seems like after #107 was merged, line 51 is unreachable.)

Apologies this was messy PR. Found better solution.


MasterClient get_published_topics() from another crate

I ended up adding pub in a few places (https://github.com/lucasw/roslibrust/tree/pub_master_client) until I could get this rostopic list working:
https://github.com/lucasw/mcap_tools/blob/main/mcap_tools/src/bin/rostopic_list.rs
A step up from that could be to move the master client creation into roslibrust, and then less needs to be exposed, or something else with a master client hidden inside it and only support get_published_topics() (and others later, if other tools demand it)- or is there another route that already exists that I didn't see?
A duplicate rostopic list isn't the goal, but duplicating the record_all feature of rosbag record -a is- it polls the rosmaster once a second for all topics and then adds subscribers or removes them accordingly.

Yeah nice, this all tracks.
Was noticing as I was wandering through the crate earlier that we have a bunch of pub vs pub(crate) issues. I'm trying to make an effort now to really start finalizing the overall API of the crate, now that both the rosbridge and ros1 implementations are really working.
I previously went through this with rosbridge, and ended up adding a feature called rosapi that exposes these features via rosbridge's intended method (the calling services on the rosapi node). The "end game" I'd like to start moving things towards is having a RosApi trait and then implementing that trait on both ros1 and rosbridges's nodehandles.
I'm also starting in earnest to plan to break up the main roslibrust crate into a few crates that have more modular functionality. Someone I was talking to voiced some interest in having MasterClient in its own crate, and I mulling over whether that makes sense or not (it probably does).


fix (dialog and sheet footer): spacing on mobile and desktop

This pull request refactors the dialog and alert-dialog components to use the "gap-2" utility class instead of the "sm:space-x-2" class for spacing. This change improves consistency in spacing on mobile and desktop.
before:

after:

See comment above. Thank you.

Fixed. feel free to merge


Add BiasSoftmaxPattern

Codecov Report
Attention: Patch coverage is 29.41176% with 12 lines in your changes missing coverage. Please review.

Project coverage is 73.73%. Comparing base (a47554c) to head (987aefe).

Files with missing lines
Patch %
Lines

...ental_experiment/xoptim/patterns_ort/activation.py
29.41%
12 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #284      +/-   ##
==========================================
- Coverage   73.75%   73.73%   -0.03%
==========================================
  Files         164      164
  Lines       26120    26137      +17
==========================================
+ Hits        19266    19271       +5
- Misses       6854     6866      +12

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Search and map layers not displaying

Hi there
I downloaded the zip file and unzipped it onto my web server but am having some problems as I cannot seem to be able to retrieve results from the search box or add the map layers.
I tried saving all of the externally referenced css and js files to my local server but this didn't help, not sure if there are any settings I need to alter at all after downloading and unzipping the zip file?
Thanks

Are you getting any console errors? It sounds like it could potentially be a CORS same-origin issue.

No errors that I'm aware of - I am not familiar with CORS, does that relate to settings that I may need to alter on my web server?

It's hard to troubleshoot from here, but it sounds like the browser cannot access the geojson resources. What browser and web server are you using? If it's IIS, it may be blocking the geojson files... I think I've seen that before.

Yes I am using IIS and have tried Google Chrome and IE. So I should try to add the geojson extension as a new MIME type on the server?

Yeah, you might also try just changing the extension to .txt (be sure to update the references in the assets/js/app.js file as well).

I will try that, thanks


Logstash throws an exception upon terminating

{:exception=>#<LogStash::ShutdownSignal: LogStash::ShutdownSignal>, :backtrace=>["org/jruby/ext/thread/SizedQueue.java:133:in `push'", "/home/cisco/workspace/naas/naas-core/logging/third-party/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/logstash-input-kafka-0.1.14/lib/logstash/inputs/kafka.rb:172:in `queue_event'", "/home/cisco/workspace/naas/naas-core/logging/third-party/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/logstash-codec-binary/lib/logstash/codecs/binary.rb:26:in `decode'", "/home/cisco/workspace/naas/naas-core/logging/third-party/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/logstash-input-kafka-0.1.14/lib/logstash/inputs/kafka.rb:163:in `queue_event'", "/home/cisco/workspace/naas/naas-core/logging/third-party/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/logstash-input-kafka-0.1.14/lib/logstash/inputs/kafka.rb:133:in `run'", "/home/cisco/workspace/naas/naas-core/logging/third-party/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0-java/lib/logstash/pipeline.rb:177:in `inputworker'", "/home/cisco/workspace/naas/naas-core/logging/third-party/logstash-1.5.0/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0-java/lib/logstash/pipeline.rb:171:in `start_input'"], :level=>:error}

Can we get the config that was running on the troubled system?

logstash-1.5.0/bin/logstash  -e 'input{kafka {     topic_id =>”abc"     zk_connect =>"localhost:2181/kafka_main"     type=>”abc"     reset_beginning=>true     auto_offset_reset=>smallest     codec=>binary{}   }}output{ if [type]==“abc"{ file {       path =>"/home/var/dumps/abc.dump"       message_format=>"%{message}||" } }}'

And you just ctrl-c to close and it'll throw the previously mentioned error?

Yes,I do ctrl+c to stop it and it threw that error.
On Saturday, July 25, 2015, Joseph Lawson<EMAIL_ADDRESS>wrote:

And you just ctrl-c to close and it'll throw the previously mentioned
error?
—
Reply to this email directly or view it on GitHub
https://github.com/logstash-plugins/logstash-input-kafka/issues/38#issuecomment-124844850
.

The codec=>binary{} is unfamiliar.  Is that something you are using internally?

@bpatelcs please reopen this issue with more info. Also you can use https://discuss.elastic.co/c/logstash for questions and debugging help. GitHub is reserved for issues and enhancements.


added hover feature

Related Issue
Closes: #63
Description of Changes
Added  hover effect on login page and registration page , matching the background color of the website and also added shrink feature on the LogIn button and Added some hover feature on create account button
Screenshots
Original

Updated video
https://github.com/apoorvaron/Shorty/assets/99736036/91c4dcf2-d02f-45e0-b242-730060ea3153

@sagarb2003 it is fine , add login btn effect to registration page btn too

Added Hover feature on login and registration page And Please review it and assign this task under gssoc'23

@sagarb2003 Share the screen record

@sagarb2003 Don't change these files , revert back these files

@apoorvaron  I have already uploaded the video in the issue which i have updated

Hey @apoorvaron Thank you for merging PR
Please Add Level Label in the issue as it is Under GSSOC'23 Guidelines

@sagarb2003 Done

@sagarb2003 Clear this out ASAP
Wanted on login and registration page only , give custom class don't change  bootstrap class (because they are changing all the tags etc...)
https://github.com/apoorvaron/Shorty/assets/83576954/9bf98185-1839-4294-9fe0-7c4e267ec979

@apoorvaron will do it by tomorrow

@sagarb2003 Do it ASAP please

@sagarb2003 i revert back "bootstrap.min.css" now take pull and start working

@sagarb2003 I m removing labels from here and opening the previous issue and create another PR when you are done


Add Inline Comments

Anything on a line after # is a comment and ignored by the interpreter.

Commit: https://github.com/johneastman/boomerang/commit/5e784bf57fc86acaac62a8bc9ac04dc59b1ca755


Restic Browser does not use the RESTIC_REPOSITORY_FILE environment variable

In my testing, RESTIC_REPOSITORY works fine, but RESTIC_REPOSITORY_FILE is ignored.
RESTIC_PASSWORD_FILE seems to work fine too.

This indeed isn't supported right now, but will be supported soon via:  https://github.com/emuell/restic-browser/pull/55


Mongo

Merge Kim's branch with Sylvia's GUI code.
Sylvia will try to incorporate the client code to the GUI.

@kkl18 I am using my travis.yml file, and Travis is not working. I'll try your .yml file.


scaling for higher network speed

the tool is great and i like it, but i use at home 10Gbit-Adapters and transfer rates graphes are totally outside the borders of the diagram :-(
a kind of autoscaling or an option tho choose the max network speed would be good
thank you for your work already done

Hi @yoo-man , thank you for reporting the issue.
Could you attach an image of the application showing the graph problem? It would be easier for me to solve this issue referring to it.

Hi Ashfaaq,
�
thank you for the very quick response.
�
This is an example for a simple file copy from my Synology NAS at ca. 200 MB/s. At the moment there is running a database repair, the speed goes under normal conditions up to > 700MB/s, what makes the graph invisible.
�
Maybe that are not typical rates, I just wanted to comment and suggest.
�
�
Best regards
�
Jonas
�
From: Ashfaaq Riphque @.>
Sent: Thursday, November 24, 2022 1:10 PM
To: Ashfaaq18/OpenNetMeter @.>
Cc: yoo-man @.>; Mention @.>
Subject: Re: [Ashfaaq18/OpenNetMeter] scaling for higher network speed (Issue #68)
�
Hi @yoo-man https://github.com/yoo-man  , thank you for reporting the issue.
Could you attach an image of the application showing the graph problem? It would be easier for me to solve this issue referring to it.
—
Reply to this email directly, view it on GitHub https://github.com/Ashfaaq18/OpenNetMeter/issues/68#issuecomment-1326230574 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A4LWC4WB2IHYUUZXP6U45CTWJ45I3ANCNFSM6AAAAAASKEPNXE .
You are receiving this because you were mentioned.  https://github.com/notifications/beacon/A4LWC4U3RBLKVR4TW34YIODWJ45I3A5CNFSM6AAAAAASKEPNXGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSPBSWC4.gif Message ID: @.*** @.***> >

This is an example for a simple file copy from my Synology NAS at ca. 200 MB/s. At the moment there is running a database repair, the speed goes under normal conditions up to > 700MB/s, what makes the graph invisible.

@yoo-man , not sure if you've attached any images for your example here. I don't see any images. Although i see this weird symbol instead =>  �.
And yeah, there is a limitation for the graphs maximum y-value which is 1Gbps when the speed format is set to bps (Settings->Network speed format->bps), and 1GBps when set to Bps. I can try adding an extra option to extend this limit to 512 Gbps temporarily. Maybe come up with an elegant solution later.


⚠ Bofrost.at has degraded performance

In 7b638dc, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 983 ms

Resolved: Bofrost.at performance has improved in e45dd3f after 6 minutes.


can't place server in existing rack

When syncing, all found items (servers, vms, clusters) are stored in a site named vCenter. This doesn't allow me to place the servers found into existing racks located in my existing sites, unless I remove the servers/clusters from the vCenter site, but if I do, I imagine I'll get dupes on the next sync. Is the vCenter site necessary to pull all of this together?

Hi, @acaronmd! The site is necessary on the creation of objects as it is a required field. Other than that, there is no particular reason it would be needed after after the fact.
Let me take some time to review the object structures and be certain there would be no negative impact to ignoring the site field after creation. I very much like your idea of allowing the hardware to be placed in the right racks once they've been synced in.

I believe I've sorted out all needed components to allow for modifications to the site and rack details. If you don't mind would give the latest commit in 49-synced-object-locations a test? If all is well I plan to promote this to develop by the end of the week, run through full regression testing, and package up a new release. Thanks!

Merged into develop branch and will promote to master in the next release.

Hi @synackray, I was planning on testing this for you as you had requested. I believe it's good so far. I had to ensure the clusters and devices belonged to the site I wanted, but the sync hasn't altered anything, least I haven't noticed yet.

This is fantastic news. Thank you so much!


Unknown parsing error on Win10

Hi,
Regardless of whether I use the default config.yml, or some configured one, I am getting this error.
Error: [json.exception.parse_error.101] parse error at line 10, column 15: syntax error while parsing object - unexpected string literal; expected '}'
If I edit line 10 of the config.yml to enclose the {pid}, like so
    pid: {example_pid}
Then I receive this error.
Error: yaml-cpp: error at line 10, column 10: bad conversion

You have a missing comma causing a syntax error  in your trackers.json file. Check the review of your pull request to fix it.
The pid should not be enclosed in curly brackets. If you do that you will get a syntax error in your config.yml as well.

Fixed with proper formatting.


Eden's Gate all language

Added and remove missing translations all language, but it's not completed. It need add missing translations (ja and ko).

Here are the captures of the missing translations, in zip.
ja.zip
ko.zip

is goofs thing actually used?
I always ignored them.

goofs ? sorry, inot understand.

e1s.js has goofs variable. I don't know what's that for

Oh, I got it. I think it's just for fun.

I did not look at what was the untranslated line.
As this generates a missing translation, I did not delete the line (missing_true_ko). I think it can be deleted.

yes goofs is used but as @VanSlanzar already wrote its just for fun when the long cutscene plays mid fight

thank you for your clarification. @Akurosia

I think everything looks good. Only the translations indicated will be missing. They can be corrected in this request, otherwise it will be in another.

In the future, if you want to sort the order of all of the translations, can you submit that as a separate pull request where the only thing you change is the ordering? It's hard to tell what's changed vs what's been reordered when it is all in the same pull request.

Oh sorry, of course.

Here are the captures of the missing translations, in zip.
ja.zip @maiko-tan-coding
ko.zip @Jaehyuk-Lee

Thank you for mentioning me, but I am busy these days, so I couldn't contribute. Sorry.
@r4ha Do you have time to fill those Japanese translations?
r4haさんお邪魔してすみません、このエデン覚醒編のトリガーを翻訳してもいいですか？

did't check all files directly but made you sure to remove uneccassary translations in all files? otherwise translating them now would be a waste of resources to translate stuf which should get thrown out anyway?

I asked @quisquous  the question in MP, here is his answer.

I would say it's not really that important.  I'd say it'd be better to remove a line than translate one that isn't translated, but it's probably not worth removing lines that are unused from everywhere.
That just seems like something that could be done automatically with a tool.
And it's not just in the timeline, it's also about the triggers.

As I often say, to translate into French everything is fine. But I leave it to you with your script which generates the answers in all languages for the rest. I would like to avoid making mistakes that would generate additional work for others. Understanding between us is not always easy, but my English is very poor, so I use google translate to make sure I understand better.

the translations I requested are the missing lines that my reported python util / find missing .... so I think they are necessary.

I try to help you my best, but if that poses problems, I would be satisfied to translate French and to sort the alphabetical order. Sorry for the inconvenience.

@maiko-tan-coding すみません、よろしくお願いします！


Block and Attestation Simulation

Description
Simulate blocks being generated and NewBlockEvent being raised from the P2PService.
Acceptance Criteria

raise NewBlock event from P2P Service
handle the event in BeaconChain Service

resolved by #173


K8s deployment of PDX Web UI

Description
As a developer, I want to deploy PDX Web UI via Kubernetes.
Acceptance criteria

[ ] done

Done.


Optional argument is detected in linux/windows but not in macos

Bug Description
I have a rust function that has all positional arguments. It works fine in windows/linux but it is not detected in macos m1 platform.
Relevant codes : https://github.com/baseplate-admin/resvg-py/blob/e3aff47a1f351915a844ccab0bc09829f2993cd3/src/rust/lib.rs#L137-L139
Steps to Reproduce

git clone this branch : https://github.com/baseplate-admin/resvg-py/tree/add-somethings
poetry install
poetry shell
maturin develop
pytest .

Backtrace
Run set -e
Looking in links: dist
Collecting resvg_py
  Downloading resvg_py-0.1.2-cp310-cp310-macosx_11_0_arm64.whl.metadata (1.6 kB)
Downloading resvg_py-0.1.2-cp310-cp310-macosx_11_0_arm64.whl (1.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 25.6 MB/s eta 0:00:00
Installing collected packages: resvg_py
Successfully installed resvg_py-0.1.2

Notice:  A new release of pip is available: 23.0.1 -> 24.0
Notice:  To update, run: python -m pip install --upgrade pip
Collecting pytest
  Downloading pytest-8.2.0-py3-none-any.whl.metadata (7.5 kB)
Collecting iniconfig (from pytest)
  Downloading iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB)
Collecting packaging (from pytest)
  Downloading packaging-24.0-py3-none-any.whl.metadata (3.2 kB)
Collecting pluggy<2.0,>=1.5 (from pytest)
  Downloading pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
Collecting exceptiongroup>=1.0.0rc8 (from pytest)
  Downloading exceptiongroup-1.2.1-py3-none-any.whl.metadata (6.6 kB)
Collecting tomli>=1 (from pytest)
  Downloading tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB)
Downloading pytest-8.2.0-py3-none-any.whl (339 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 339.2/339.2 kB 11.9 MB/s eta 0:00:00
Downloading exceptiongroup-1.2.1-py3-none-any.whl (16 kB)
Downloading pluggy-1.5.0-py3-none-any.whl (20 kB)
Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Downloading packaging-24.0-py3-none-any.whl (53 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.5/53.5 kB 12.7 MB/s eta 0:00:00
Installing collected packages: tomli, pluggy, packaging, iniconfig, exceptiongroup, pytest
Successfully installed exceptiongroup-1.2.1 iniconfig-2.0.0 packaging-24.0 pluggy-1.5.0 pytest-8.2.0 tomli-2.0.1

Notice:  A new release of pip is available: 23.0.1 -> 24.0
Notice:  To update, run: python -m pip install --upgrade pip
============================= test session starts ==============================
platform darwin -- Python 3.10.11, pytest-8.2.0, pluggy-1.5.0
rootdir: /Users/runner/work/resvg-py/resvg-py
configfile: pyproject.toml
collected 5 items

tests/test_complex_camera.py .                                           [ 20%]
tests/test_multiple_layer_svg.py .                                       [ 40%]
tests/test_normal_shape.py .                                             [ 60%]
tests/test_path.py FF                                                    [100%]

=================================== FAILURES ===================================
__________________________________ test_path ___________________________________

    def test_path():
        path = os.path.join(BASE_DIR, "acid.svg")
        print(path)

>       base = resvg_py.svg_to_base64(svg_path=path)
E       TypeError: svg_to_base64() got an unexpected keyword argument 'svg_path'

tests/test_path.py:14: TypeError
----------------------------- Captured stdout call -----------------------------
/Users/runner/work/resvg-py/resvg-py/tests/acid.svg
________________________________ test_gzip_path ________________________________

    def test_gzip_path():
        path = os.path.join(BASE_DIR, "acid.svg.gz")
        print(path)

>       base = resvg_py.svg_to_base64(svg_path=path)
E       TypeError: svg_to_base64() got an unexpected keyword argument 'svg_path'

tests/test_path.py:22: TypeError
----------------------------- Captured stdout call -----------------------------
/Users/runner/work/resvg-py/resvg-py/tests/acid.svg.gz
==================================== PASSES ====================================
========================= 2 failed, 3 passed in 0.11s ==========================

Windows :
```python
Looking in links: dist
Processing d:\a\resvg-py\resvg-py\dist\resvg_py-0.1.3-cp310-none-win_amd64.whl
Installing collected packages: resvg_py
Successfully installed resvg_py-0.1.3
Collecting pytest
  Downloading pytest-8.2.0-py3-none-any.whl.metadata (7.5 kB)
Collecting iniconfig (from pytest)
  Downloading iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB)
Collecting packaging (from pytest)
  Downloading packaging-24.0-py3-none-any.whl.metadata (3.2 kB)
Collecting pluggy<2.0,>=1.5 (from pytest)
  Downloading pluggy-1.5.0-py3-none-any.whl.metadata (4.8 kB)
Collecting exceptiongroup>=1.0.0rc8 (from pytest)
  Downloading exceptiongroup-1.2.1-py3-none-any.whl.metadata (6.6 kB)
Collecting tomli>=1 (from pytest)
  Downloading tomli-2.0.1-py3-none-any.whl.metadata (8.9 kB)
Collecting colorama (from pytest)
  Downloading colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
Downloading pytest-8.2.0-py3-none-any.whl (339 kB)
   ---------------------------------------- 339.2/339.2 kB 7.0 MB/s eta 0:00:00
Downloading exceptiongroup-1.2.1-py3-none-any.whl (16 kB)
Downloading pluggy-1.5.0-py3-none-any.whl (20 kB)
Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Downloading packaging-24.0-py3-none-any.whl (53 kB)
   ---------------------------------------- 53.5/53.5 kB 2.7 MB/s eta 0:00:00
Installing collected packages: tomli, pluggy, packaging, iniconfig, exceptiongroup, colorama, pytest
Successfully installed colorama-0.4.6 exceptiongroup-1.2.1 iniconfig-2.0.0 packaging-24.0 pluggy-1.5.0 pytest-8.2.0 tomli-2.0.1
============================= test session starts =============================
platform win32 -- Python 3.10.11, pytest-8.2.0, pluggy-1.5.0
rootdir: D:\a\resvg-py\resvg-py
configfile: pyproject.toml
collected 5 items

tests\test_complex_camera.py .                                           [ 20%]
tests\test_multiple_layer_svg.py .                                       [ 40%]
tests\test_normal_shape.py .                                             [ 60%]
tests\test_path.py ..                                                    [100%]

=================================== PASSES ====================================
__________________________________ test_path __________________________________
---------------------------- Captured stdout call -----------------------------
D:\a\resvg-py\resvg-py\tests\acid.svg
_______________________________ test_gzip_path ________________________________
---------------------------- Captured stdout call -----------------------------
D:\a\resvg-py\resvg-py\tests\acid.svg.gz
============================== 5 passed in 0.22s ==============================

Linux:
Run<EMAIL_ADDRESS>Configuring Docker for multi-architecture support
/home/runner/work/_actions/uraimo/run-on-arch-action/v2.7.2/src/run-on-arch.sh /home/runner/work/_actions/uraimo/run-on-arch-action/v2.7.2/Dockerfiles/Dockerfile.armv7.ubuntu22.04 run-on-arch-baseplate-admin-resvg-py-ci-armv7-ubuntu22-04
Build container
  GitHub token provided, caching to ghcr.io/baseplate-admin/resvg-py/run-on-arch-baseplate-admin-resvg-py-ci-armv7-ubuntu22-04
  WARNING! Your password will be stored unencrypted in /home/runner/.docker/config.json.
  Configure a credential helper to remove this warning. See
  https://docs.docker.com/engine/reference/commandline/login/#credentials-store

  Login Succeeded
  Error response from daemon: manifest unknown
  #0 building with "default" instance using docker driver

  #1 [internal] load .dockerignore
  #1 transferring context: 2B done
  #1 DONE 0.0s

  #2 [internal] load build definition from Dockerfile.armv7.ubuntu22.04
  #2 transferring dockerfile: 217B done
  #2 DONE 0.0s

  #3 [auth] arm32v7/ubuntu:pull token for registry-1.docker.io
  #3 DONE 0.0s

  #4 [internal] load metadata for docker.io/arm32v7/ubuntu:22.04
  #4 DONE 0.3s

  #5 [internal] load build context
  #5 DONE 0.0s

  #6 [1/3] FROM docker.io/arm32v7/ubuntu:22.04@sha256:2f63021dc56651000aa1e250d42c3aa898a5cd61120aeb8daf9e7e0fd20b84e5
  #6 DONE 0.0s

  #7 [auth] baseplate-admin/resvg-py/run-on-arch-baseplate-admin-resvg-py-ci-armv7-ubuntu22-04:pull token for ghcr.io
  #7 DONE 0.0s

  #8 importing cache manifest from ghcr.io/baseplate-admin/resvg-py/run-on-arch-baseplate-admin-resvg-py-ci-armv7-ubuntu22-04
  #8 ERROR: failed to configure registry cache importer: ghcr.io/baseplate-admin/resvg-py/run-on-arch-baseplate-admin-resvg-py-ci-armv7-ubuntu22-04:latest: not found

  #5 [internal] load build context
  #5 transferring context: 215B done
  #5 DONE 0.0s

  #6 [1/3] FROM docker.io/arm32v7/ubuntu:22.04@sha256:2f63021dc56651000aa1e250d42c3aa898a5cd61120aeb8daf9e7e0fd20b84e5
  #6 resolve docker.io/arm32v7/ubuntu:22.04@sha256:2f63021dc56651000aa1e250d42c3aa898a5cd61120aeb8daf9e7e0fd20b84e5 done
  #6 sha256:a0514f6822f381d7a240dfe8c419582164af5ad9465c1a95b69d1b44daedabdb 2.31kB / 2.31kB done
  #6 sha256:f5b4213824fc3515b68e6844d3fc289ae00ef8cd07ddcd43856c3ad7faea16d4 5.24MB / 26.64MB 0.1s
  #6 sha256:2f63021dc56651000aa1e250d42c3aa898a5cd61120aeb8daf9e7e0fd20b84e5 424B / 424B done
  #6 sha256:f5b4213824fc3515b68e6844d3fc289ae00ef8cd07ddcd43856c3ad7faea16d4 16.78MB / 26.64MB 0.2s
  #6 sha256:f5b4213824fc3515b68e6844d3fc289ae00ef8cd07ddcd43856c3ad7faea16d4 26.64MB / 26.64MB 0.3s
  #6 extracting sha256:f5b4213824fc3515b68e6844d3fc289ae00ef8cd07ddcd43856c3ad7faea16d4
  #6 sha256:f5b4213824fc3515b68e6844d3fc289ae00ef8cd07ddcd43856c3ad7faea16d4 26.64MB / 26.64MB 0.3s done
  #6 extracting sha256:f5b4213824fc3515b68e6844d3fc289ae00ef8cd07ddcd43856c3ad7faea16d4 0.8s done
  #6 DONE 1.2s

  #9 [2/3] COPY ./run-on-arch-install.sh /root/run-on-arch-install.sh
  #9 DONE 0.1s

  #10 [3/3] RUN chmod +x /root/run-on-arch-install.sh && /root/run-on-arch-install.sh
  #10 0.731 Get:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease [270 kB]
  #10 1.168 Get:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease [119 kB]
  #10 1.276 Get:3 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease [109 kB]
  #10 1.380 Get:4 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease [110 kB]
  #10 2.687 Get:5 http://ports.ubuntu.com/ubuntu-ports jammy/restricted armhf Packages [13.3 kB]
  #10 2.842 Get:6 http://ports.ubuntu.com/ubuntu-ports jammy/main armhf Packages [1701 kB]
  #10 3.086 Get:7 http://ports.ubuntu.com/ubuntu-ports jammy/universe armhf Packages [16.8 MB]
  #10 3.586 Get:8 http://ports.ubuntu.com/ubuntu-ports jammy/multiverse armhf Packages [199 kB]
  #10 4.286 Get:9 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main armhf Packages [1057 kB]
  #10 4.407 Get:10 http://ports.ubuntu.com/ubuntu-ports jammy-updates/restricted armhf Packages [17.1 kB]
  #10 4.410 Get:11 http://ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse armhf Packages [4189 B]
  #10 4.667 Get:12 http://ports.ubuntu.com/ubuntu-ports jammy-updates/universe armhf Packages [1036 kB]
  #10 5.741 Get:13 http://ports.ubuntu.com/ubuntu-ports jammy-backports/main armhf Packages [80.5 kB]
  #10 5.832 Get:14 http://ports.ubuntu.com/ubuntu-ports jammy-backports/universe armhf Packages [29.9 kB]
  #10 7.099 Get:15 http://ports.ubuntu.com/ubuntu-ports jammy-security/main armhf Packages [792 kB]
  #10 7.230 Get:16 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse armhf Packages [1201 B]
  #10 7.232 Get:17 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted armhf Packages [15.8 kB]
  #10 7.233 Get:18 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe armhf Packages [750 kB]
  #10 7.452 Fetched 23.1 MB in 7s (3324 kB/s)
  #10 7.452 Reading package lists...
  #10 12.86 Reading package lists...
  #10 17.87 Building dependency tree...
  #10 18.33 Reading state information...
  #10 18.72 The following additional packages will be installed:
  #10 18.72   ca-certificates libexpat1 libmpdec3 libpython3-stdlib libpython3.10-minimal
  #10 18.72   libpython3.10-stdlib libreadline8 libsqlite3-0 media-types openssl
  #10 18.72   python3-distutils python3-lib2to3 python3-minimal python3-pkg-resources
  #10 18.72   python3-setuptools python3-wheel python3.10 python3.10-minimal
  #10 18.72   readline-common
  #10 18.72 Suggested packages:
  #10 18.72   python3-doc python3-tk python3-venv python-setuptools-doc python3.10-venv
  #10 18.72   python3.10-doc binutils binfmt-support readline-doc
  #10 18.72 Recommended packages:
  #10 18.72   build-essential python3-dev
  #10 19.04 The following NEW packages will be installed:
  #10 19.04   ca-certificates libexpat1 libmpdec3 libpython3-stdlib libpython3.10-minimal
  #10 19.04   libpython3.10-stdlib libreadline8 libsqlite3-0 media-types openssl python3
  #10 19.04   python3-distutils python3-lib2to3 python3-minimal python3-pip
  #10 19.04   python3-pkg-resources python3-setuptools python3-wheel python3.10
  #10 19.04   python3.10-minimal readline-common
  #10 19.33 0 upgraded, 21 newly installed, 0 to remove and 0 not upgraded.
  #10 19.33 Need to get 9294 kB of archives.
  #10 19.33 After this operation, 32.5 MB of additional disk space will be used.
  #10 19.33 Get:1 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main armhf libpython3.10-minimal armhf 3.10.12-1~22.04.3 [796 kB]
  #10 19.93 Get:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main armhf libexpat1 armhf 2.4.7-1ubuntu0.3 [67.1 kB]
  #10 19.94 Get:3 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main armhf python3.10-minimal armhf 3.10.12-1~22.04.3 [1935 kB]
  #10 20.10 Get:4 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main armhf python3-minimal armhf 3.10.6-1~22.04 [24.3 kB]
  #10 20.11 Get:5 http://ports.ubuntu.com/ubuntu-ports jammy/main armhf media-types all 7.0.0 [25.5 kB]
  #10 20.11 Get:6 http://ports.ubuntu.com/ubuntu-ports jammy/main armhf libmpdec3 armhf 2.5.1-2build2 [76.5 kB]
  #10 20.11 Get:7 http://ports.ubuntu.com/ubuntu-ports jammy/main armhf readline-common all 8.1.2-1 [53.5 kB]
  #10 20.12 Get:8 http://ports.ubuntu.com/ubuntu-ports jammy/main armhf libreadline8 armhf 8.1.2-1 [128 kB]
  #10 20.12 Get:9 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main armhf libsqlite3-0 armhf 3.37.2-2ubuntu0.3 [549 kB]
  #10 20.15 Get:10 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main armhf libpython3.10-stdlib armhf 3.10.12-1~22.04.3 [1766 kB]
  #10 20.24 Get:11 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main armhf python3.10 armhf 3.10.12-1~22.04.3 [508 kB]
  #10 20.52 Get:12 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main armhf libpython3-stdlib armhf 3.10.6-1~22.04 [6910 B]
  #10 20.60 Get:13 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main armhf python3 armhf 3.10.6-1~22.04 [22.8 kB]
  #10 20.68 Get:14 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main armhf openssl armhf 3.0.2-0ubuntu1.15 [1154 kB]
  #10 21.09 Get:15 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main armhf ca-certificates all 20230311ubuntu<IP_ADDRESS> [155 kB]
  #10 21.11 Get:16 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main armhf python3-pkg-resources all 59.6.0-1.2ubuntu<IP_ADDRESS> [132 kB]
  #10 21.12 Get:17 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main armhf python3-lib2to3 all 3.10.8-1~22.04 [77.6 kB]
  #10 21.12 Get:18 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main armhf python3-distutils all 3.10.8-1~22.04 [139 kB]
  #10 21.13 Get:19 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main armhf python3-setuptools all 59.6.0-1.2ubuntu<IP_ADDRESS> [339 kB]
  #10 21.15 Get:20 http://ports.ubuntu.com/ubuntu-ports jammy-updates/universe armhf python3-wheel all 0.37.1-2ubuntu<IP_ADDRESS> [32.0 kB]
  #10 21.16 Get:21 http://ports.ubuntu.com/ubuntu-ports jammy-updates/universe armhf python3-pip all 22.0.2+dfsg-1ubuntu0.4 [1305 kB]
  #10 21.89 debconf: delaying package configuration, since apt-utils is not installed
  #10 21.99 Fetched 9294 kB in 2s (4292 kB/s)
  #10 22.13 Selecting previously unselected package libpython3.10-minimal:armhf.
  #10 22.13 (Reading database ...

   No files were found to uninstall.
  #10 101.4 Successfully installed exceptiongroup-1.2.1 iniconfig-2.0.0 packaging-24.0 pip-24.0 pluggy-1.5.0 pytest-8.2.0 tomli-2.0.1
  #10 101.4 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
  #10 DONE 101.6s

  #11 preparing layers for inline cache
  #11 DONE 0.9s

  #12 exporting to image
  #12 exporting layers done
  #12 writing image sha256:2e81c45e37a10681aec541ed263e20aa35f5aeb8c2e663be1ac139d118cbd5bf done
  #12 naming to docker.io/library/run-on-arch-baseplate-admin-resvg-py-ci-armv7-ubuntu22-04:latest done
  #12 DONE 0.0s
  ------
   > importing cache manifest from ghcr.io/baseplate-admin/resvg-py/run-on-arch-baseplate-admin-resvg-py-ci-armv7-ubuntu22-04:
  ------
  Using default tag: latest
  The push refers to repository [ghcr.io/baseplate-admin/resvg-py/run-on-arch-baseplate-admin-resvg-py-ci-armv7-ubuntu22-04]
  6b88ffa658c6: Preparing
  54d67af433aa: Preparing
  d360e786b6d6: Preparing
  denied: installation not allowed to Create organization package
Run container
  WARNING: The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
  Looking in links: dist
  Processing ./dist/resvg_py-0.1.3-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
  Installing collected packages: resvg_py
  Successfully installed resvg_py-0.1.3
  WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
  ============================= test session starts ==============================
  platform linux -- Python 3.10.12, pytest-8.2.0, pluggy-1.5.0
  rootdir: /home/runner/work/resvg-py/resvg-py
  configfile: pyproject.toml
  collecting ...
  collected 5 items

  tests/test_complex_camera.py .                                           [ 20%]
  tests/test_multiple_layer_svg.py .                                       [ 40%]
  tests/test_normal_shape.py .                                             [ 60%]
  tests/test_path.py ..                                                    [100%]

  ==================================== PASSES ====================================
  __________________________________ test_path ___________________________________
  ----------------------------- Captured stdout call -----------------------------
  /home/runner/work/resvg-py/resvg-py/tests/acid.svg
  ________________________________ test_gzip_path ________________________________
  ----------------------------- Captured stdout call -----------------------------
  /home/runner/work/resvg-py/resvg-py/tests/acid.svg.gz
  ============================== 5 passed in 6.05s ===============================

Your operating system and version
Windows 11
Your Python version (python --version)
Python 3.12.3
Your Rust version (rustc --version)
rustc 1.80.0-nightly (a8a1d3a77 2024-04-29)
Your PyO3 version
0.21.2
How did you install python? Did you use a virtualenv?
poetry
Additional Info
Github actions log : https://github.com/baseplate-admin/resvg-py/actions/runs/8964212068

Hmm i am using the CI that maturin provides

Most likely an issue with maturin. Closing


Sending data from one tenant to another

It's not clear if you are limited to doing this within the same tenant. I'm trying to connect my Azure AD logs in one tenant, that just has the Azure AD needed to support Office 365, to another tenant that has the usual Azure components, like Log Analytics workspaces. Is this possible or not? If so, how? The GUI wants me to create a trial subscription.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b1eb6343-c4d6-6b06-f2eb-1c9435f997f3
Version Independent ID: 7413b72d-8305-eb0f-3876-2fcb013c5196
Content: Stream Azure Active Directory logs to Azure Monitor logs
Content Source: articles/active-directory/reports-monitoring/howto-integrate-activity-logs-with-log-analytics.md
Service: active-directory
Sub-service: report-monitor
GitHub Login: @MarkusVi
Microsoft Alias: markvi

@plangone22 As of today, this feature works only works for the same tenant for which the logs are collected. You can suggest your idea on the same in our Azure Feedback Portal.


Setting rate and baud when connecting

What values can I use for rate and baud when calling dronekit.connect?  If I set rate higher, does that mean I'll have less-stale values for things like Attitude?
https://github.com/dronekit/dronekit-python/blob/master/dronekit/__init__.py#L2739

Oh wow, setting rate=20 doubled the processing time on the drone for anything, I assume thats because DroneKit (or something) is doing a lot more processing to handle that many messages.

Useful to know.

I assume that's because DroneKit (or something) is doing a lot more processing to handle that many messages.

I don't know - we'd need profiling to work out what is causing the problem. I wonder if the relationship is linear or not - ie at rate=10 are things half as slow?
Also important to note that even if you can get the messages fast, there is no guarantee that the sensors are updating at that rate or that you can react at a sensible rate ... ie there quite possibly is no benefit at all in real terms in having a much greater message rate.

Presumably most sensors update at a frequency higher than 4Hz?
I tried launching an idle dronekit app, that does nothing except connect to a vehicle then sleep, to see what CPU usage of my python process is like:

At rate=4, cpu usage is 56%
At rate=10, cpu usage is 92%
At rate=20, cpu usage is also 92%

92% is the max CPU I seem to be able to get from the drone, the remaining 8% is uses by 3DR processes.
Ah, keep in mind, I've hacked a bit.. damn. I should try to repro this on a clean setup.  I don' let shot_manager on the solo run, so instead I run this code in my process:
  mav_vehicle = dronekit.connect("udpout:<IP_ADDRESS>:14560", wait_ready=False, source_system=255, use_native=True, heartbeat_timeout=-1)
  out = MAVConnection("udpout:<IP_ADDRESS>:14550", source_system=254)
  mav_vehicle._handler.pipe(out)
  out.start()

Can I just connect directly using:
vehicle = dronekit.connect("udpout:<IP_ADDRESS>:14560", wait_ready=False, source_system=255, use_native=True, heartbeat_timeout=-1)

Thereby avoiding using /usr/bin/main.py or running that code above (and connecting to it)?

@alexblack I don't know sorry. @peterbarker May be able to comment.

I tried this out, works great, got me about 1.4x speed improvement on my code.

When I take out that extra MAVConnection proxy (that enables shot manager), then, cpu usage is much better, but not great:

10% when rate=4
13% when rate=10
25% when rate=20

I am facing the very same issue. Setting rate=10 caused my script to slow down so much it was not real time anymore


ENH: New, expanded panorama demo w/MCP stitching!

Take a look, @stefanv - the minimum cost path method to stitch images together works very well.
No more need for Enblend!
I limited the long axis on these pictures (which I have listed as CC-BY 4.0 right now, but could be persuaded to move to CC0) to 720 pixels. They're under 2MB in total, and ORB features take about 6 seconds total to extract from either set on my machine.

@stefanv if this looks good to you, I think it's ready to merge on my end.
Allowing "sliding" borders for MCP was a capital idea!

This looks great, Josh!  I think it would be good to add a way to export the final image to jpeg.

Done!

Don't merge quite yet, I'm going to simplify the MCP path seeds because the sliding border work so well.

Ruh roh, I found another challenge - to fix it requires tweaking the MCP cost function. Think I've got a fix.

@stefanv I think my work is done here!
The new cost array building function is necessary. I couldn't find any way to simplify it further. The results are now excellent and robust.
Basically, because the area surrounding the diff intersection was penalized so strongly, if the intersection border wasn't parallel with the top/bottom borders, the minimum-cost paths wer going straight to the closest corner. The new function gives the longer paths appropriate "breaks" in cost to be equally attractive.

Remind me again why the area outside the diff is penalized?

If not, the MCP finds the trivial solution by skirting the entire diff region.

I guess the question should be whether the correct constant background cost
could save us all the effort.

No constant background will work this well; in that case you always have a contest between distance from the edge vs. quality of overlap. The path will choose essentially the midpoint between these, often resulting in visible exposure differences from vignetting. Trying to minimize this involves lowering the constant background toward the limit of zero... but you'll never get there; at some point it will snap to the trivial solution.
The only way to make it robustly choose the best path is to eliminate distance from the edge as a factor.

@JDWarner How about if we use a distance transform as computed by scipy.ndimage.distance_transform_edt?

@stefanv I tried the various distance transforms. The distance function
alone cannot be used, as it makes the incentive to go for the nearest
corner even stronger.
If you forge ahead, they all suffer from two big problems:

they find the lowest linear distance to the ROI instead of constraining
to lowest vertical distance. As a result, the correction is inaccurate
anywhere the ROI isn't parallel with the border.
Because of this, things blur together and it's much harder to identify
the regions that need to be excluded from the correction.

It ends up being harder and more complicated than doing it the right way.
@JDWarner https://github.com/JDWarner How about if we use a distance
transform as computed by scipy.ndimage.distance_transform_edt?
—
Reply to this email directly or view it on GitHub
https://github.com/scikit-image/skimage-demos/pull/4#issuecomment-104061650
.

I am worried that this part of the tutorial will go right over people's
heads.  Let's give it one more "thinking try", and if we cannot come up
with any ideas over the next day or to, merge it as-is.

Updated the notebook. I simplified and improved the readability (or split) several dense cells. One of the sections in the costs function was extraneous, and now it's removed.
There is no better way to do this I know of. It does look simpler now. This (95452f4) is the version included in skimage-tutorials/pulls/17.

Great work--since I can't come up with a simpler way, let's use this one.  And you get to explain it to the attendees :)


Date manually entered with keyboard in the input field isn't reflected on the calendar

Describe the bug
When you type in a date or range of dates in the input field, those dates aren't reflected in the calendar display.  You can't type spaces in the input field, so it isn't possible to format date/time or two dates as they show up when selecting dates via the calendar.
To Reproduce
Steps to reproduce the behavior:
This can be tested on the demo page https://vue-tailwind-datepicker/demo.html

Click into the input field
The placeholder shows the format it expects, but you can't type in the date/time format since spaces aren't allowed.
Type in just a date such as "2023-09-29" and hit enter.  Now click back on the input field to bring up the calendar and it doesn't show that date.  Same behavior if you attempt a range "2023-09-01~2023-09-29"

Note: If you select dates from the calendar, you are able to manually update the dates in the input field and those are reflected on the calendar.  You aren't able to just click anywhere, but can click at the end of the second date/time and use the arrow keys to move back through the input to change values.  Changes to the dates will be automatically updated on the calendar.
Expected behavior
The user should be able to manually enter a date or date range in the input field and that would be reflected on the calendar.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop & mobile (please complete the following information):

Browser: Chrome 117.0.5983.132
Library version: 1.4.6

@rwinsinger  on it !
Fix already in pipeline !


Release 0.2.0-alpha

mail analysis rules in appsettings.json
registering ExternalIT issues
fix not all emails being processed
subscription error handling
mass refactoring

Nice. 👍


Remove enableProposedApi when decorations API is stable

Now that the comments API has been finalized, we are almost at a point where we can stop using the proposed API switch.
The only other proposed API used by the extension is the DecorationsProvider.

Is this stable yet? I find myself having to add this manually every time I update my version of VS Code.

No, the DecorationsProvider is still in proposed state

This is done.


v0.9.0 release package looks wrong, can not run the base node

in the v0.9.0, the release package looks different with v0.8.3 and can not build image correctly, for example, the Dockfile should be placed in node directory, not in node/geth, and it lacks the mainnet directory ？ the image run needs mainnet/genesis-l2.json

Hi @wangjiangw, thanks for reaching out. As part of v0.9.0 we changed the layout of the repository to allow us to support additional execution nodes.
For the image, you can either use our prebuilt one here, or you should be able to build it locally via docker:
cd node
docker build -t base-geth-node -f geth/Dockerfile .
# note the context needs to be the root of the directory and the -f needs to specify the nested dockerfile

You should also be able to build it via docker compose build. Please let me know if you have any issues -- thanks!

@danyalprout yes, i have rebuilt image, i think you should update the website or readme, haha. and another question, the env still contains mainnet/rollup config, but the release package not, is that ok for running the containers ? i have copy the mainnet directory manuly.


Change edge label text color on edge hover

Hi! First of all, thanks for creating this fantastic library :)
When hovering over an edge I would love to be able to change the color of the corresponding label. As far as I can see, this is not possible at the moment?

@dash14 Thank you very much! This is exactly what I needed :) It might be worth to add this to the documentation? Also I needed to use the deep selector to apply the hovered styles, otherwise it didn't work in my case.
:deep(.v-ng-edge-label.hovered) {
    fill: red
}

@linkurzweg Thank you for the fast reply!
I have now added this example to the documentation ;)
https://dash14.github.io/v-network-graph/examples/labels.html#modify-the-style-of-edge-labels-when-hovering-selecting-edges
I don't know why the deep selector is needed in your environment, but I have included a supplement to the example code as well.
Thank you for your question and feedback!


Clean up wrapper variable names and associated config files

Work on ...

work on renaming variables to contain the wrapper specific name (prepend wrapper name to the variable names, ex. VERIF_GRID to MAKE_PLOTS_VERIF_GRID) and update associated documentation
work on following coding standards (Mallory needs to do this)

Associated with issue #217 cleanup?

Should probably change *_OUT_DIR to be *_OUTPUT_DIR to be consistent with *_INPUT_DIR.

I just did a replace for all instances of _OUT_DIR to be _OUTPUT_DIR for all wrappers.

Sweet, thanks @georgemccabe!

Moving this to the 2.1 bugfix milestone

@malloryprow  any update on the status of this work? Do you need help getting it done before the 3.0 release?

stat_analysis_wrapper.py and make_plots_wrapper.py will be renamed config variables and cleaned up when feature_226_stat_analysis_cleanup gets into develop.

DUPLICATE.
Closing, this is the predecessor to GitHub Issue #306 but #306 specifically identifies which changes need to be made


Update for RRM to pass region_code in JWT

What is the context of this PR?
To include region_code in the JWT and store the result in metadata["region_code"]. It has been agreed that it will be optional to begin with and then mandatory at a later date. If it is not passed in the JWT it will be stored as None. Surveys which are currently inflight, which don't have region_codes have been protected against and will still work.
This functionality will be used in the future so front end tests are not possible at this time.
How to review
We currently don't use this functionality so the best way is to add {{ meta.survey.region_code}} somewhere on the landing page(can be any page) and use /dev to make sure it changes when the dev page region code drop down changes.

In Wip till https://github.com/ONSdigital/ons-schema-definitions/pull/11 is merged

Ok from us Lewis. We will  be releasing our changes to introduce regions_code into our EQ JWT in release 5.5.3 currently planned for w/c 21 Nov


Update to the Events API

Looks like 343 is updating 2 id's on the events API according to their blog post today
The changes to the api are as follows

KillerAttachmentIds is now KillerWeaponAttachmentIds
KillerStockId is now KillerWeaponStockId

Fixed in #8


Support AWS China Beijing Region

On January 27, 2020, AppSync is available in Beijing region. Can you please include cn-north-1 in the supported regions?

Oh this is phenomenal news.  Missed the announcement earlier in the year.


[ui-text] zh-HK should be as same as zh-TW

[ ] This is a question about using the theme.
[ ] This is a feature request.
[x] I believe this to be a bug with the theme.

[ ] I have updated all gems with bundle update.
[ ] I have tested locally with bundle exec jekyll build.

Environment informations
Nil

Expected behavior
zh-HK should be as same as zh-TW

Steps to reproduce the behavior
Nil

Reason
Hong Kong is as same as Taiwan using Traditional Chinese instead of Simplified Chinese

I don't speak any of these languages so I'll just have to take your word for it. Care to submit a pull request with the fix?

I can confirm this because Chinese Wikipedia uses similar approach.


GEODE-8925: port singleHop tests to new framework

Captures the following flaky tests into the new PartitionedRegionOps test:

testThinClientPRSingleHop
testThinClientPutAllPRSingleHop

The two ported tests (testThinClientPRSingleHop and testThinClientPutAllPRSingleHop) have been removed.

@mmartell Looks like this one is good to go, but you'll need to rebase onto develop to resolve merge conflicts.


Fix: case insensitive module resolution breaks in compiled electron apps

OSX and Windows have case-insensitive file systems and when I run node from a terminal both require('lodash.isEmpty') and require('lodash.isempty') work. The official module names however are all lowercase and for whatever reason, when compiled using electron-builder, require('lodash.isEmpty') fails. I wish I could offer better reasons why it fails -- I haven't been able to find an answer yet as to why node's behavior changes when it's compiled in electron.

No trouble on the explanation, if it works in all environments now sounds good to me! Thanks for the fix!

Published v1.1.1.


Add ci workflow

Identical config to merk. Will add fmt and clippy once these repos are all settled.

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@ccb9a6f). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop      #35   +/-   ##
==========================================
  Coverage           ?   65.69%
==========================================
  Files              ?       20
  Lines              ?      889
  Branches           ?        0
==========================================
  Hits               ?      584
  Misses             ?      305
  Partials           ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ccb9a6f...c5ae9fe. Read the comment docs.


Build error on ros2 foxy untuntu 20.04 with .netcore

Finished <<< std_srvs [1.12s]
--- stderr: unique_identifier_msgs
/home/ros/ros2_dotnet_ws/build/unique_identifier_msgs/rosidl_generator_dotnet/unique_identifier_msgs/msg/uuid.c:11:10: fatal error: rosidl_generator_c/message_type_support_struct.h: No such file or directory
11 | #include "rosidl_generator_c/message_type_support_struct.h"
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/unique_identifier_msgs__dotnetext.dir/build.make:82: CMakeFiles/unique_identifier_msgs__dotnetext.dir/rosidl_generator_dotnet/unique_identifier_msgs/msg/uuid.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:191: CMakeFiles/unique_identifier_msgs__dotnetext.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:141: all] Error 2
Failed   <<< unique_identifier_msgs [2.56s, exited with code 2]
Aborted  <<< builtin_interfaces [2.65s]
Aborted  <<< lifecycle_msgs [2.87s]
Summary: 8 packages finished [5.83s]
1 package failed: unique_identifier_msgs
2 packages aborted: builtin_interfaces lifecycle_msgs
3 packages had stderr output: builtin_interfaces lifecycle_msgs unique_identifier_msgs
18 packages not processed

@michaelchi08 I just ran into the same issue a few minutes before your post. I believe it may be related to ROS2 Foxy no longer using the rosidl_generator_c namespace:
https://index.ros.org/doc/ros2/Releases/Release-Foxy-Fitzroy/#rosidl-generator-c-cpp-namespace-api-changes
Has anyone successfully built this repo with ROS2 Foxy?

Hi
Have a look to #68 . In this PR I have fixed this error.
Best

Close as fixed as branch from fmrico is merged.


Update GitHub Actions

Update Github Actions
:gear: Release Notes

update GitHub actions (remove watchOS, visionOS and iPadOS packages)

:pencil: Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[ ] I agree to follow the Code of Conduct and Contributing Guidelines.

Closed in favor of #1.


Can the pre training weights be cancelled？

Hello, thank you for providing such a great job.
I am trying to use this work for processing hyperspectral images, but I would like to cancel the use of pre trained weights as they are applicable to the 3-channel RGB images. May I ask if it's convenient for you to let me know how I should modify the code?
Thank you very much!

您好，感谢您提供如此出色的工作。
我正在尝试使用这项工作来处理高光谱图像，但我想取消使用预训练权重，因为它们适用于 3 通道 RGB 图像。请问您让我知道我应该如何修改代码是否方便？
谢谢！
给个none不就行了


Better track different training runs

make it easier to see which model was trained how, where it's stored etc:

[ ] store hyperparameters -> use tensorboard
[ ] model names/paths to checkpoints
[ ] names of training log files

are there existing tools for this?

also, better deal with checkpoints and naming. it seems when training is resumed, the progress of the model is not continued, and instead (1) a new csv file that tracks losses is created, and (2) the step counter restarts at 0 (which is visible the names of the checkpoint files.)
also see #49


Loading a saved model immediately starts retraining it

[x] I have confirmed this bug exists on the latest version of cell2location. See https://github.com/BayraktarLab/cell2location#installation
[x] I follow the instructions from the scvi-tools tutorial.

Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.
Minimal code sample (that we can run without your data, using public data)
I saved a Cell2location model using mod.save(mod_path, overwrite=True, save_anndata=True) and try to load it in another session using
cell2location.models.Cell2location.load(params["cell2location_model"])

After loading the model, it immediately starts retraining, which defies the purpose of saving it.
INFO     File
         /data/<redacted>/04_deconvolution/ce
         ll2location_model/model.pt already downloaded
/cfs/sturmgre/conda/envs/1368-0008_visium2/lib/python3.10/site-packages/lightning/fabric/plugins/environments/slurm.py:191: The `srun` command is available on your system but is not used. HINT: If your intention is to run Lightning on SLURM, prepend your python command with `srun` like so: srun python3.10 /cfs/sturmgre/conda/envs/1368-0008_visium2/lib/p ...
An NVIDIA GPU may be present on this machine, but a CUDA-enabled jaxlib is not installed. Falling back to cpu.
/cfs/sturmgre/conda/envs/1368-0008_visium2/lib/python3.10/site-packages/lightning/fabric/plugins/environments/slurm.py:191: The `srun` command is available on your system but is not used. HINT: If your intention is to run Lightning on SLURM, prepend your python command with `srun` like so: srun python3.10 /cfs/sturmgre/conda/envs/1368-0008_visium2/lib/p ...
GPU available: False, used: False
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
HPU available: False, using: 0 HPUs
/cfs/sturmgre/conda/envs/1368-0008_visium2/lib/python3.10/site-packages/lightning/fabric/plugins/environments/slurm.py:191: The `srun` command is available on your system but is not used. HINT: If your intention is to run Lightning on SLURM, prepend your python command with `srun` like so: srun python3.10 /cfs/sturmgre/conda/envs/1368-0008_visium2/lib/p ...
/cfs/sturmgre/conda/envs/1368-0008_visium2/lib/python3.10/site-packages/lightning/pytorch/trainer/configuration_validator.py:72: You passed in a `val_dataloader` but have no `validation_step`. Skipping val loop.
/cfs/sturmgre/conda/envs/1368-0008_visium2/lib/python3.10/site-packages/lightning/pytorch/trainer/connectors/data_connector.py:441: The 'train_dataloader' does not have many workers which may be a bottleneck. Consider increasing the value of the `num_workers` argument` to `num_workers=23` in the `DataLoader` to improve performance.
/cfs/sturmgre/conda/envs/1368-0008_visium2/lib/python3.10/site-packages/lightning/pytorch/loops/fit_loop.py:293: The number of training batches (1) is smaller than the logging interval Trainer(log_every_n_steps=10). Set a lower value for log_every_n_steps if you want to see logs for the training epoch.
Epoch 1/30000:   0%|          | 0/30000 [00:00<?, ?it/s]
/cfs/sturmgre/conda/envs/1368-0008_visium2/lib/python3.10/site-packages/lightning/pytorch/trainer/call.py:54: Detected KeyboardInterrupt, attempting graceful shutdown...

Versions
cell2location v0.1.4dev @ b2f38944dd13f3b3024e10f97abaf3240f6cccfe
pytorch-lightning==1.9.5
scvi-tools==1.1.2

It may be confusing but it is a normal behaviour of cell2location. To create all model parameters, it is necessary to run cell2location for one training step. Only once all parameters exist will it become possible to load the saved version.

I see, thanks for clarifying!


Download item does not work

What browser are you using?
What is the file type that you are trying to download?
Are you seeing any errors in the browser console (f12) when you try to download?

Chrome.  I tried Visio, Excel and Work docs.  No errors pop up.  Wait.  I saw a pop up blocker message for 1 second.  Got is and allow pop ups.  Works now.  But opening and saving does not save changes.  Normal I bet
From: Otto Streifel<EMAIL_ADDRESS>Sent: Saturday, April 14, 2018 2:43 PM
To: ostreifel/Attachments-Group<EMAIL_ADDRESS>Cc: Scott Weeklund<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [ostreifel/Attachments-Group] Download item does not work (#7)
What browser are you using?
What is the file type that you are trying to download?
Are you seeing any errors in the browser console (f12) when you try to download?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/ostreifel/Attachments-Group/issues/7#issuecomment-381355208, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ASopbLUUChJQbvzQU1Lqfbl54Pb6zzM0ks5tolFMgaJpZM4TVKYK.


Function as generic type constraint

The following code throws this error while compiling:

Error: 'validationMessage' isn't a function or method and can't be invoked.
return validationMessage(value);

Are TypeConstrains on Functions allowed?

If yes, is this a bug?
If no, should the analyzer catch this?

abstract class Validator<TypeOfValidatedValue, KeyType,
    ValidationMessageFuncType extends String Function(TypeOfValidatedValue)> {
  final ValidationMessageFuncType validationMessage;

  Validator(this.validationMessage);

  String createValidationMessage(TypeOfValidatedValue value) {
    return validationMessage(value);
  }
}

How can I solve this problem?

The bound of a type variable must be a type, but there are no restrictions on which kind of type; in particular, it can be a function type.
The example program causes an error in dartpad.dev, but not with dartanalyzer, dart, or dart2js (2.8.0-dev.17.0).
However, for a work-around right now you may be able to just use that function type. Do you actually need to choose a proper subtype of that function type?
abstract class Validator<TypeOfValidatedValue, KeyType> {
  final String Function(TypeOfValidatedValue) validationMessage;
  Validator(this.validationMessage);
  String createValidationMessage(TypeOfValidatedValue value) {
    return validationMessage(value);
  }
}

In any case, what you need is actually declaration site variance, because there is a particularly nasty clash between the dynamically checked covariance that Dart currently adopts and the usage of a type variable of a class at a contravariant position in a member signature:
abstract class Validator<in TypeOfValidatedValue, KeyType> {
  final String Function(TypeOfValidatedValue) validationMessage;
  Validator(this.validationMessage);
  String createValidationMessage(TypeOfValidatedValue value) {
    return validationMessage(value);
  }
}

We plan to add support for declaration site variance, but nothing is certain yet (for timing, or even 100% commitment to do it).

The tricky question remains: Should it be an error to invoke an expression of type T where T <: F where F is a function type?
We do in fact specify that it is a compile-time error to invoke an expression whose static type is not dynamic, not Function, and not a function type. So invoking an expression whose static type is a type parameter is an error, even in the case where the bound of that type parameter is a function type.

FYI: This is what I wanted to achive:
class ShouldBeSmallerOrEqualThenValidator<KeyType>
    extends Validator<double, KeyType, String Function(double, {double max})> {
  final double max;
  ShouldBeSmallerOrEqualThenValidator(this.max,
      {String Function(double, {double max}) validationMessage, KeyType key})
      : super(validationMessage, key);

  @override
  String createValidationMessage(double value) {
    return validationMessage(value, max: max);
  }
}

Now I am doing your proposed solution, but I need to cast:
class ShouldBeSmallerOrEqualThenValidator<KeyType>
    extends Validator<double, KeyType, String Function(double, {double max})> {
  final double max;
  ShouldBeSmallerOrEqualThenValidator(this.max,
      {String Function(double, {double max}) validationMessage, KeyType key})
      : super(validationMessage, key);

  @override
  bool isValid(double value) {
    return value <= max;
  }

  @override
  String createValidationMessage(double value) {
    return (validationMessage as String Function(double, {double max}))(value, max: max);
  }
}

If there is a more elegant way to this right, now let me know.

With a couple of small adjustments (adding a field final KeyType key and an initializing formal this.key in the constructor of Validator), the example without my workaround works. So I guess that's what you have been using, and it basically just works with most tools today.
However, if we make it an error to call an expression whose type is a type parameter (even when its bound is a function type), cf. dart-lang/language#896, then it won't work to do this. We may or may not decide that it is an error.
Otherwise you could choose to use implements, and then consider adding an extends or with clause to a class/mixin that provides whatever implemented methods that you need in order to avoid code duplication.
abstract class Validator<TypeOfValidatedValue, KeyType> {
  final String Function(TypeOfValidatedValue) validationMessage;
  final KeyType key;
  Validator(this.validationMessage, this.key);
  String createValidationMessage(TypeOfValidatedValue value) =>
      validationMessage(value);
}

class ShouldBeSmallerOrEqualThanValidator<KeyType>
    implements Validator<double, KeyType> {
  final String Function(double, {double max}) validationMessage;
  final KeyType key;
  final double max;
  ShouldBeSmallerOrEqualThanValidator(
      this.max, {this.validationMessage, this.key});
  @override
  String createValidationMessage(double value) =>
      validationMessage(value, max: max);
}

Cf. https://github.com/dart-lang/language/pull/900, which aims to allow the original form of the example program.

Said PR was landed as https://github.com/dart-lang/language/commit/1feae06ff82e55b380c3858a3b497faf8021f96b. So it is not an error to call an expression whose type is a type variable whose bound is a function type.
By the way, that's a nice and consistent outcome! — especially when we add the ability to make these kinds of designs statically safe by means of declaration-site variance.
Test in https://dart-review.googlesource.com/c/sdk/+/141249 shows that all the 'trybots' (that is, a selection of configurations of test runner platforms) run the new test that uses this feature without failure. So it's not obvious to me that there is any tool/configuration where the reported failure occurs.
However, the error does occur in a dartpad.dev which indicates that it's running version 2.7.2, and I can see it with dart2js version 2.7.0-dev.2.1.
So I'll close this issue, and note that any problems of this nature would be expected to disappear when tools are upgraded to version 2.8.anything.


ItemDetail fix when multiple datagrids at same page

fix for https://github.com/contributte/datagrid/issues/805

Any reaction pls? What to do for accept this PR?

Could you make release with this please? :-) Thank you!


Reject Contract API updates with an ID mismatch

Fixes #703
More work can be done to reject upfront for a better user experience, but this fixes the important bug that blocks event processing.

Codecov Report

Merging #705 (df5d069) into main (09a7cc6) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##              main     #705      +/-   ##
===========================================
- Coverage   100.00%   99.98%   -0.02%
===========================================
  Files          323      323
  Lines        19770    19783      +13
===========================================
+ Hits         19770    19780      +10
- Misses           0        2       +2
- Partials         0        1       +1

Impacted Files
Coverage Δ

internal/database/sqlcommon/contractapis_sql.go
100.00% <100.00%> (ø)

...ternal/definitions/definition_handler_contracts.go
100.00% <100.00%> (ø)

pkg/wsclient/wsclient.go
98.36% <0.00%> (-1.64%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 09a7cc6...df5d069. Read the comment docs.


fix(encode): Prefer literals over escaping double-quotes

Part of rust-lang/cargo#14002

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

3 of 3 (100.0%)  changed or added relevant lines in 2 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.006%) to 66.779%

Files with Coverage Reduction
New Missed Lines
%

crates/toml_edit/src/encode.rs
2
95.44%

Totals

Change from base Build<PHONE_NUMBER>:
-0.006%

Covered Lines:
3564

Relevant Lines:
5337

💛  - Coveralls


Not Working

Thanks for writing this plugin , I am unable to install this , I am getting following error
TypeError: Cannot read property 'startSpeech' of undefined(…)

Are you having problem installing or using it?

same issue here I get "uresolved function or method startSpeech()"

@JoaoCnh When I import the lib in my component and log it, it is undefined.
import SpeechAndroid from 'react-native-android-voice';
console.log(SpeechAndroid);
// SpeechAndroid is undefined
`

I've done the setup properly following the instructions provided in README. Any clue why this would be happening?

It really shouldn't be happening. What is your version of RN?
I might need to patch this for newer versions

My RN version is 0.40.0
I've patched the library for latest RN and created a PR, you can review and merge it. It is working well for me now.

I have the same problem.
import SpeechAndroid from 'react-native-android-voice';
console.log(SpeechAndroid);
// SpeechAndroid is undefined

any idea why?

@hszeto you can use my fork to setup for now.
https://github.com/niftytushar/react-native-android-voice
npm install --save niftytushar/react-native-android-voice
It has updated instructions to install, so you might need to check that too.

Thank you niftytushar !

SpeechAndroid is no longer undefined now. However, I follow this example https://github.com/JoaoCnh/react-native-android-voice/wiki/v0.1.1
Clicking on "Speak" , nothing happens.
Removing async and await. Console.log(spokenText) and I get this:
Promise {_45: 0, _81: 0, _65: null, _54: null}
Is there a better example showing how to use this library? I'm running react-native 0.39 with Android emulator.

@hszeto Don't remove async and await!
It won't work on emulator, it must be having a older version of Android API.
Try it on an android device, it works perfectly.
On Fri, Jan 27, 2017 at 2:41 PM, Henry Szeto<EMAIL_ADDRESS>wrote:

SpeechAndroid is no longer undefined now. However, I follow this example
https://github.com/JoaoCnh/react-native-android-voice/wiki/v0.1.1
Clicking on "Speak" , nothing happens.
Removing async and await. Console.log(spokenText) and I get this:
Promise {_45: 0, _81: 0, _65: null, _54: null}
Is there a better example showing how to use this library? I'm running
react-native 0.39 with Android emulator.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/JoaoCnh/react-native-android-voice/issues/20#issuecomment-275620156,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEir7jvoEimP7rtLGwm14HSqsWCmta0Fks5rWbTTgaJpZM4LFvYx
.

--
Regards
Tushar Agarwal


Not working tableview cell

Hai,
can u guide me textview is not clickable in tableview cell

tell me how  do it if you did it

You need to use self sizing cells and reload table view when size of the text changes.


Broken Links within Mkdocs Documentation

In the current state of the MkDocs documentation, numerous links are broken due to the targeting of README.md files that are copied before creating the documentation. E. g. click on  Edit on GitHub.
This issue is raised to initiate a discussion on aligning the documentation for better coherence and usability.
The primary objective of this discussion is to explore strategies and potential solutions to streamline the Mkdocs documentation and its folder structure, ensuring that links are functional and direct users to the intended resources effectively.
Let's collaborate to enhance the usability and accessibility of the documentation.
Please feel free to provide your thoughts and suggestions in the comments below.

Is there a way with reasonable effort to modify links in this stage?
https://github.com/fzi-forschungszentrum-informatik/Lanelet2/blob/4789fde6c3bafcd5a8d721d11c5d92870ca59a22/.github/workflows/cd.yaml#L141-L142


[Package Request]: Xanthus58.ValorantRandomizer 1.3.2

Package Requested

[X] I would like someone else to build the manifest.
[ ] I would like help so I can submit the manifest.
[X] I have performed a search and couldn't find this package.
[X] I have checked that the installer for this package is not a standalone or portable executable or a .zip file
[X] I think there is a new version available and I have provided the URL.

Please provide the following information
Publisher: Xanthus58
Publisher Url: https://github.com/Xanthus58/Valorant-Randomizer
Package Name: Xanthus58.ValorantRandomizer
Description: A randomized for Valorant; it has will automatically select an agent; weapons and shields.
Package Version: 1.3.2
Installer URL: https://github.com/Xanthus58/Valorant-Randomizer/releases/download/1.3.2/INSTALLER_ValorantRandomizer_1.3.2.exe
Current Package Identifier (for new versions): Xanthus58.ValorantRandomizer

Hi, I've done this for you - #62936

Hi, I've done this for you - #62936

Thanks a ton <3


BinaryNinja.Demo version idk

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Validation is failing because the locale file has version 1.0 but the other 2 have idk:

Manifest Error: The multi file manifest has inconsistent field values. [PackageVersion] Value: 1.0 File: BinaryNinja.Demo.locale.en-US.yaml

While using a semantic version is a best practice, just having them match will pass validation.

Close with reason: Stale pull request;


How to participate in Logging as provider?

 internal static class RelationalLoggerExtensions

do each provider roll their own, or can we take advantage of above?

Our general approach to logging is a bit in flux at the moment. My recommendation would be to try to stay close to the patterns we use in our providers and file bugs on any code you find we could be doing a better job of sharing, but don't invest a lot of time up front on it since many of the details are very likely going to change before RTM.

Thanks, Will leave a TODO for now


Simplify children handling.

I removed some unnecessary code.

Good catch!!

@iclanzan  I merged it, but was forced to revert it. As our contribution license says, we will not accept any PR against Master branch. Only dev.
Could you make a new PR against the dev-branch?

Sorry about that, I opened #58.

No problem. And thanks for your contribution !


Treat DEL as UNLINK if lazyfree-lazy-user-del is set

Treat the DEL command as UNLINK when the lazyfree-lazy-user-del server option is enabled.
See #5 for more context.
This required some refactoring so that the assessor could issue the Redis command CONFIG GET lazyfree-lazy-user-del; we now have a separate SaferRedis::Assessor class and pass the Redis client to its .assess! method.
We're now using Ruby 3.2 implicit hash values (redis:), so earlier Rubies won't work. If that breaks something for somebody, I'd be happy to switch to the old (redis: redis) non-implicit style.
Related:

Closes #5
https://redis.io/docs/management/config-file/
redis/redis#6243

Hah:
[1] pry(main)> Redis.new.del("foo")
SaferRedis::Danger: The CONFIG Redis command might be dangerous.

https://redis.io/commands/config/

ACL categories: @slow

Complexity: Depends on subcommand.

If you're sure this is okay, you can try again within `SaferRedis.really { ... }`

I've updated the PR to wrap the redis.config(:get, option) in SaferRedis.really { … } to avoid that issue.


TextInput with multiline={true} does not support accessibility on iOS

Description
A multiline <TextInput> does not support any sort of accessibility on iOS.
Reproduction Steps and Sample Code

Add the following text input:

<TextInput multiline={true} />

Turn on VoiceOver
Navigate to the element
Observe that no text is spoken for the element.

Solution
When multiline={false} is set, accessibility works as expected on iOS. multiline={true} should behave in the same way.
Additional Information

React Native version: latest
Platform: iOS
Development Operating System: MacOS
Dev tools: Xcode, VSCode

Here is a basic sample project that shows the issue.
TextInputTest.zip

I can also reproduce this. Any updates when this will be available :)

We fixed above by adding below lines:
node_modules/react-native/Libraries/Text/RCTTextView.m
Add the below property to initWithEventDispatcher
self.isAccessibilityElement = YES;


update cardano-ledger-specs

This bring two changes:

The Alonzo TxOut type is now a sum type (to save memory).
The MIR event now filters out the  extant reward accounts.

The MIR event fix was already included.

The MIR event fix was already included.

This also includes the TxOutCompactDH constructor which db-sync needs

bors merge


Confirm network connectivity part is wrong

The Confirm network connectivity part is wrong:
Incorrect:
Test-NetConnection -ComputerName https://ssprdedicatedsbprodncu.servicebus.windows.net -Port 443
Invoke-WebRequest -Uri https://ssprdedicatedbprodscu.windows.net -Verbose
Correct:
Test-NetConnection -ComputerName ssprdedicatedsbprodscu.servicebus.windows.net -Port 443
Test-NetConnection -ComputerName ssprdedicatedsbprodncu.servicebus.windows.net -Port 443
Invoke-webrequest -Uri https://ssprdedicatedsbprodscu.servicebus.windows.net
Invoke-webrequest -Uri https://ssprdedicatedsbprodncu.servicebus.windows.net

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a6c7b290-3f3e-70c9-7524-80d7364dd763
Version Independent ID: d12b324f-57b2-9fd8-a433-b25644424171
Content: Troubleshoot self-service password reset writeback- Azure Active Directory
Content Source: articles/active-directory/authentication/troubleshoot-sspr-writeback.md
Service: active-directory
Sub-service: authentication
GitHub Login: @Justinha
Microsoft Alias: justinha

@mbendana
Thanks for your feedback! We will investigate and update as appropriate.

@mbendana
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

@mbendana Thanks for providing feedback that helps improve our documentation. This issue has been resolved and we are closing the issue. #please-close


PyPi version still shows guidance 0.1.10

The PyPi version is still at guidance 0.1.10.
Is there an alternative PyPi package?

You can always install from Github or a local fork.

The instructions say to install from pypi. Perhaps the instructions need
updating?
On Wed, Mar 20, 2024 at 7:54 PM Alexandre Teles (afterSt0rm) <
@.***> wrote:

You can always install from Github or a local fork.
—
Reply to this email directly, view it on GitHub
https://github.com/guidance-ai/guidance/issues/707#issuecomment-2010928979,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABH4XNBLPGBZWJBUFCAKVVTYZIORVAVCNFSM6AAAAABFAHW4DCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJQHEZDQOJXHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
-Michael Conrad
Email: @.***
Telegram: https://t.me/mconrad202
Mastodon: @.***_conrad

Hey I think our pypi github action hit a bug. Will take a look. If you install from the git repo directly, you'll get the latest version as a temporary fix:

pip install git+https://github.com/guidance-ai/guidance.git

I should do it like this for reproducible builds?
pip install<EMAIL_ADDRESS>

This is fixed now. Thanks @michael-conrad for pointing that out!


How to correctly override templates from UiBundle?

I have created my own custom theme (eg CrimsonTheme) with a third party css-framework and I need to override the templates from the UiBundle (eg Grid); I could put my templates in this location themes/CrimsonTheme/templates/bundles/SyliusUiBundle as stated in the documentation, but this bundle is shared by the default theme for both the shop and the admin UI, so I need a different approach where my new shared templates will only be available for my custom themes, how can I organize this?

@zpi12lmm, this should be overridden in %kernel.project_dir%/templates/bundles/SyliusUiBundle/... not under the themes directory..

@zpi12lmm, this should be overridden in %kernel.project_dir%/templates/bundles/SyliusUiBundle/... not under the themes directory..

In this case, this will override the templates for both SyliusAdminBundle and SyliusShopBundle because they both use templates from SyliusUiBundle, meaning they are shared.
Here's a great example of how to fix this in case anyone else runs into this problem: https://github.com/royalphp/sylius-bootstrap-theme/blob/main/docs/installation_overrides.md


Ui scaffolding fails for next if you check yes for ui scaffolding fails for next if you check yes for Do you want to setup your project for deployment to Github Pages?

Describe the bug
The ui scaffolding fails for next if you check yes for Do you want to setup your project for deployment to Github Pages?
run zk project someproj --ui next and set yes for question.
Do you want to setup your project for deployment to Github Pages? · no / yes
Steps to Reproduce
✔ Do you want your NextJS project to use TypeScript? · yes
✔ Do you want to setup your project for deployment to Github Pages? · yes
✔ Would you like to use ESLint with this project? … No / Yes
✔ Would you like to use experimental `app/` directory with this project? … No / Yes
Creating a new Next.js app in /ui.

Error: ENOENT: no such file or directory, open 'ui/pages/_app.page.tsx'
    at Object.openSync (node:fs:591:3)
    at Object.readFileSync (node:fs:459:35)
    at scaffoldNext (/opt/homebrew/lib/node_modules/zkapp-cli/src/lib/project.js:597:21)
    at async project (/opt/homebrew/lib/node_modules/zkapp-cli/src/lib/project.js:74:9)
    at async Object.handler (/opt/homebrew/lib/node_modules/zkapp-cli/src/bin/index.js:56:21) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: 'ui/pages/_app.page.tsx'

System Info
System:
    OS: macOS 12.0.1
    CPU: (10) arm64 Apple M1 Pro
  Binaries:
    Node: 18.3.0 - /opt/homebrew/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 8.11.0 - /opt/homebrew/bin/npm
  npmPackages:
    snarkyjs: 0.9.3
  npmGlobalPackages:
    zkapp-cli: 0.7.4

Severity
serious, but I can work around it
Additional Information
No response

Fixed with #382


Mi Smart Power Plug 2 (chuangmi.plug.212a01) successfully initialised, but not working

Hi, I have an issue with Mi Smart Power Plug 2 (chuangmi.plug.212a01). It is successfully initialised, but it does not respond - neither in the Homebridge GUI, nor in Apple Homekit.
Homebridge logs:
[8/28/2021, 5:10:50 PM] [miot] Initializing devices
[8/28/2021, 5:10:50 PM] [miot] [Miot device] Got device configuration, initializing device with name: Miot device
[8/28/2021, 5:10:50 PM] [miot] [Miot device] Device model known: chuangmi.plug.212a01! Creating device!
[8/28/2021, 5:10:50 PM] [miot] [Miot device] Initializing device properties
[8/28/2021, 5:10:50 PM] [miot] [Miot device] Initializing device actions
[8/28/2021, 5:10:50 PM] [miot] [Miot device] Successfully created a Outlet device! It is a Mi Smart Power Plug 2.
[8/28/2021, 5:10:50 PM] [miot] [Miot device] Initializing accessory!
[8/28/2021, 5:10:50 PM] [miot] [Miot device] Accessory successfully initialized!

Homebridge config:
        {
            "devices": [
                {
                    "name": "Miot device",
                    "ip": "192.168.xx.xx",
                    "token": "32-SYMBOL-LONG-TOKEN",
                    "model": "chuangmi.plug.212a01",
                    "pollingInterval": 5,
                    "deepDebugLog": true,
                    "buzzerControl": true,
                    "ledControl": true
                }
            ],
            "platform": "miot"
        }

I know the IP address is correct, and I am quite confident the token is correct as well (acquired from Get Mi Home device token app; from the _mihome.sqlite; and from miio discover in the device intiation state - all three methods give me the same token).
Homebridge does not show any error (and deep debug log in the plugin is on).
Any ideas?
Thanks

Hi,
you would need to provide a homebridge debug log output so that I can have a look and see what the issue might be. You can check the README on how to start homebridge in debug log.

Hi, here it is:
[8/29/2021, 2:48:47 AM] [Homebridge UI] Homebridge restart request received
[8/29/2021, 2:48:47 AM] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[8/29/2021, 2:48:47 AM] [Homebridge UI] Sending SIGTERM to Homebridge
[8/29/2021, 2:48:47 AM] Got SIGTERM, shutting down Homebridge...
[8/29/2021, 2:48:52 AM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[8/29/2021, 2:48:57 AM] [HB Supervisor] Restarting Homebridge...
[8/29/2021, 2:48:57 AM] [HB Supervisor] Starting Homebridge with extra flags: -I -D
[8/29/2021, 2:48:57 AM] [HB Supervisor] Started Homebridge v1.3.4 with PID: XXXXX
Initializing HAP-NodeJS v0.9.4...
[8/29/2021, 2:48:58 AM] Loaded config.json with 0 accessories and 3 platforms.
[8/29/2021, 2:48:58 AM] Loaded 2 cached accessories from cachedAccessories.
[8/29/2021, 2:48:58 AM] ---
[8/29/2021, 2:48:59 AM] Loaded plugin<EMAIL_ADDRESS>[8/29/2021, 2:48:59 AM] Registering platform 'homebridge-config-ui-x.config'
[8/29/2021, 2:48:59 AM] ---
[8/29/2021, 2:49:00 AM] Loaded plugin<EMAIL_ADDRESS>[8/29/2021, 2:49:00 AM] Registering platform 'homebridge-miot.miot'
[8/29/2021, 2:49:00 AM] ---
[8/29/2021, 2:49:00 AM] Loaded plugin<EMAIL_ADDRESS>[8/29/2021, 2:49:00 AM] Registering platform 'homebridge-tapo.TapoP100'
[8/29/2021, 2:49:00 AM] ---
[8/29/2021, 2:49:00 AM] Loaded plugin<EMAIL_ADDRESS>[8/29/2021, 2:49:00 AM] Registering platform 'homebridge-tplink-smarthome.TplinkSmarthome'
[8/29/2021, 2:49:00 AM] ---
[8/29/2021, 2:49:00 AM] Loading 3 platforms...
[8/29/2021, 2:49:00 AM] [Config] Initializing config platform...
[8/29/2021, 2:49:00 AM] [Config] Running in Service Mode
[8/29/2021, 2:49:00 AM] [Tapo Smart Platform] Initializing TapoP100 platform...
[8/29/2021, 2:49:00 AM] [Tapo Smart Platform] config.json: {XXXXXXXXXXXSOMETHINGSOMETHING}
[8/29/2021, 2:49:00 AM] [Tapo Smart Platform] config: {XXXXXXXXXXXSOMETHINGSOMETHING}
[8/29/2021, 2:49:00 AM] [Tapo Smart Platform] Finished initializing platform: Tapo Smart Platform
[8/29/2021, 2:49:00 AM] [miot] Initializing miot platform...
[8/29/2021, 2:49:00 AM] [Tapo Smart Platform] Loading accessory from cache: 192.168.XXX.XXX
[8/29/2021, 2:49:00 AM] [miot] Found cached accessory Miot device
[8/29/2021, 2:49:00 AM] [Tapo Smart Platform] Executed didFinishLaunching callback
[8/29/2021, 2:49:00 AM] [Tapo Smart Platform] Restoring existing accessory from cache: 192.168.XXX.XXX
[8/29/2021, 2:49:00 AM] [Tapo Smart Platform] Start adding accessory: 192.168.XXX.XXX
[8/29/2021, 2:49:00 AM] [Tapo Smart Platform] Constructing P100 on host: 192.168.XXX.XXX
[8/29/2021, 2:49:00 AM] [Tapo Smart Platform] Handshake P100 on host: 192.168.XXX.XXX
[8/29/2021, 2:49:00 AM] [miot] Removing all cached accessories
[8/29/2021, 2:49:00 AM] [miot] Initializing devices
[8/29/2021, 2:49:00 AM] [miot] [Miot device] Got device configuration, initializing device with name: Miot device
[8/29/2021, 2:49:00 AM] [miot] [Miot device] Device info file does not exist yet!
[8/29/2021, 2:49:00 AM] [miot] [Miot device] Device model known: chuangmi.plug.212a01! Creating device!
[8/29/2021, 2:49:00 AM] [miot] [Miot device] Creating miot device!
[8/29/2021, 2:49:00 AM] [miot] [Miot device] Device Factory - Creating device instance by model: chuangmi.plug.212a01!
[8/29/2021, 2:49:00 AM] [miot] [Miot device] Initializing device properties
[8/29/2021, 2:49:00 AM] [miot] [Miot device] Device properties: [
  "power",
  "led",
  "power_off_time",
  "temperature",
  "working_time",
  "power_consumption",
  "electric_current",
  "voltage",
  "electric_power",
  "surge_power"
]
[8/29/2021, 2:49:00 AM] [miot] [Miot device] Initializing device actions
[8/29/2021, 2:49:00 AM] [miot] [Miot device] Successfully created a Outlet device! It is a Mi Smart Power Plug 2.
[8/29/2021, 2:49:00 AM] [miot] [Miot device] Initializing accessory!
[8/29/2021, 2:49:00 AM] [miot] [Miot device] Accessory Factory - Creating Outlet accessory for device Miot device!
[8/29/2021, 2:49:00 AM] [miot] [Miot device] Accessory successfully initialized!
Preparing Advertiser for 'Homebridge FD8B FE68' using bonjour-hap backend!
 Retrying in 30 seconds!
[8/29/2021, 2:49:55 AM] [miot] [Miot device] Error: Could not connect to device, token might be wrong
[8/29/2021, 2:49:55 AM] [miot] [Miot device] Could not connect to the device! Retrying in 30 seconds!

Why would the token be wrong - I took the token from three different methods and all of them showed the same one.

[8/29/2021, 2:49:13 AM] [miot] [Miot device] Error: Could not connect to device, token might be wrong
I am pretty certain that if you see this message, that your token is wrong. It might also be that the ip you specified cannot be reached.
I would recommend you to use this tool for the token, this usually work without any issues: https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor

[8/29/2021, 2:49:13 AM] [miot] [Miot device] Error: Could not connect to device, token might be wrong
I am pretty certain that if you see this message, that your token is wrong. It might also be that the ip you specified cannot be reached.
I would recommend you to use this tool for the token, this usually work without any issues: https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor

Thank you very much! Working now. I will close the issue (and PM).


docker image spec 1.1 does not include HEALTHCHECK location

Describe the results you received:
in this twitter post @shykes mentions that docker image format now includes HEALTHCHECK information, so i expected the docker image spec to contain a reference to it, but when i looked it did not.
Describe the results you expected:
i expected to see supported docker image attributes to be specified and documented.

Thanks for the report, you're absolutely right it should be reflected in the spec.

out of curiosity, do you anticipate that this will follow a semantic versioning  approach and therefore bump the docker image version to 1.2?

ping @aaronlehmann @stevvooe could one of you have a look?

HEALTHCHECK is actually a Dockerfile command. I assume you're referring to the container.Config.Healthcheck field.
@talex5 Please update the specification with the the healthcheck fields.

therefore bump the docker image version to 1.2?

@jbayer Yes, although this will only affect the document, as this is backwards compatible change.

@stevvooe yes, i was referencing the Healthcheck field that gets set from the HEALTHCHECK in the Dockerfile. thank you for the response.

Yep, I'll update this (back from holiday now).


call_contract still requires entry_point_selector

Describe the bug
When using call_contract endpoint and leaving entry_point_selector as None (as starknet.py requires now),
you get an assertion error from this line: https://github.com/Shard-Labs/starknet-devnet/blob/master/starknet_devnet/contract_wrapper.py#L42
because it requires the entry_point to not be None.
Not reproducible on alpha-goerli

[X] This issue is only present on Devnet and cannot be reproduced on alpha-goerli (check the box if true).

To Reproduce
Steps to reproduce the behavior:

... Start devnet
... Pass entry_point_selector null
...

Expected behavior
It could perhaps use the account one, hardcoded when it is not provided.
Screenshots
If applicable, add screenshots to help explain your problem. However, prefer providing copyable text.
Devnet version

I am using Devnet version: 0.3
[ ] This happens with a dockerized Devnet (check the box if true).
This does not appear on the following Devnet version:

System specifications

OS: macOS
CPU:
Memory:
Python version:

When I attempt to provide an entry point, I get an error from this assertion: https://github.com/starkware-libs/cairo-lang/blob/master/src/starkware/starknet/services/api/gateway/transaction.py#L202-L204

Shouldn't there be an entrypoint selector when doing calls? I'm aware that for invokes the default is now __execute__, but for making a call, you still have to know which function you are calling, right? Since it's not done through an account.

I believe the problem comes from trying to use call_contract endpoint with InvokeFunction object. As far as I understand, to have entry_point_selector != None you always have to use tx version=0 or the request will fail otherwise.
Though cairo-lang introduced this new dataclass CallFunction to use with calls to call_contract instead and it doesn't require version, nonce, etc. at all. We're kinda currently using it in starknet.py when using new account contracts (tx version 1) and it seems to be working correctly with devnet.


Fix Azure Pipelines

⏱ Before you start

[x] Have you checked if a similar PR has already been requested?
[x] Have you built and ran the app?

💭 Motivation and context

Fixed: #324

📄 Description

None
📸 Assets (if appropriate):

None

Hmmm... It seems that we should package FluentHub with packaging project.

/azp run

https://learn.microsoft.com/en-us/windows/apps/package-and-deploy/ci-for-winui3?pivots=winui3-packaged-csharp

/azp run

Current status:

Fixed Debug pipeline
Fixed Sideload pipeline
Yet have fixed StoreUpload pipeline


Zooming problem

Challenge Change the Font Size of an Element has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

CatPhotoApp

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

It's not a bug, if you face any issue please use chat rooms to ask the fellow practitioners.

 Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

Thank you. And sorry.

No problem @karthikveturi!
FYI: http://forum.freecodecamp.com/t/how-to-report-a-bug/19543
Closing as resolved. Happy coding!