Sort parameters in the docstring of Parameter by relevance or alphabetically.

If I run
import panel as pn
print(pn.widgets.DateRangeSlider.__doc__)

I get
$ python 'test_param_stubgen.py'
params(end=Date, start=Date, step=Number, value_throttled=Tuple, value=Tuple, value_end=Parameter, value_start=Parameter, bar_color=Color, direction=ObjectSelector, orientation=ObjectSelector, show_value=Boolean, tooltips=Boolean, disabled=Boolean, loading=Boolean, align=ClassSelector, aspect_ratio=Parameter, background=Parameter, css_classes=List, height=Integer, height_policy=ObjectSelector, margin=Parameter, max_height=Integer, max_width=Integer, min_height=Integer, min_width=Integer, sizing_mode=ObjectSelector, visible=Boolean, width=Integer, width_policy=ObjectSelector, name=String)
Parameters of 'DateRangeSlider'
===============================

Parameters changed from their default values are marked in red.
Soft bound values are marked in cyan.
 If set as a tuple it will declare
                 (vertical, horizontal) alignment.
aspect_ratio:    Describes the proportional relationship between component's
                 width and height.  This works if any of component's dimensions
                 are flexible in size. If set to a number, ``width / height =
                 aspect_ratio`` relationship will be maintained.  Otherwise, if
                 set to ``"auto"``, component's preferred width and height will
                 be used to determine the aspect (if not set, no aspect will be
                 preserved).
background:      Background color of the component.
css_classes:     CSS classes to apply to the layout.
width:           The width of the component (in pixels). This can be either
                 fixed or preferred width, depending on width sizing policy.
height:          The height of the component (in pixels).  This can be either
                 fixed or preferred height, depending on height sizing policy.
min_width:       Minimal width of the component (in pixels) if width is adjustable.
min_height:      Minimal height of the component (in pixels) if height is adjustable.
max_width:       Minimal width of the component (in pixels) if width is adjustable.
max_height:      Minimal height of the component (in pixels) if height is adjustable.
margin:          Allows to create additional space around the component. May
                 be specified as a two-tuple of the form (vertical, horizontal)
                 or a four-tuple (top, right, bottom, left).
width_policy:    Describes how the component should maintain its width.

                 ``"auto"``
                     Use component's preferred sizing policy.

                 ``"fixed"``
                     Use exactly ``width`` pixels. Component will overflow if
                     it can't fit in the available horizontal space.

                 ``"fit"``
                     Use component's preferred width (if set) and allow it to
                     fit into the available horizontal space within the minimum
                     and maximum width bounds (if set). Component's width
                     neither will be aggressively minimized nor maximized.

                 ``"min"``
                     Use as little horizontal space as possible, not less than
                     the minimum width (if set).  The starting point is the
                     preferred width (if set). The width of the component may
                     shrink or grow depending on the parent layout, aspect
                     management and other factors.

                 ``"max"``
                     Use as much horizontal space as possible, not more than
                     the maximum width (if set).  The starting point is the
                     preferred width (if set). The width of the component may
                     shrink or grow depending on the parent layout, aspect
                     management and other factors.
height_policy:   Describes how the component should maintain its height.

                 ``"auto"``
                     Use component's preferred sizing policy.

                 ``"fixed"``
                     Use exactly ``height`` pixels. Component will overflow if
                     it can't fit in the available vertical space.

                 ``"fit"``
                     Use component's preferred height (if set) and allow to fit
                     into the available vertical space within the minimum and
                     maximum height bounds (if set). Component's height neither
                     will be aggressively minimized nor maximized.

                 ``"min"``
                     Use as little vertical space as possible, not less than
                     the minimum height (if set).  The starting point is the
                     preferred height (if set). The height of the component may
                     shrink or grow depending on the parent layout, aspect
                     management and other factors.

                 ``"max"``
                     Use as much vertical space as possible, not more than the
                     maximum height (if set).  The starting point is the
                     preferred height (if set). The height of the component may
                     shrink or grow depending on the parent layout, aspect
                     management and other factors.
sizing_mode:     How the component should size itself.

                 This is a high-level setting for maintaining width and height
                 of the component. To gain more fine grained control over
                 sizing, use ``width_policy``, ``height_policy`` and
                 ``aspect_ratio`` instead (those take precedence over
                 ``sizing_mode``).

                 ``"fixed"``
                     Component is not responsive. It will retain its original
                     width and height regardless of any subsequent browser
                     window resize events.

                 ``"stretch_width"``
                     Component will responsively resize to stretch to the
                     available width, without maintaining any aspect ratio. The
                     height of the component depends on the type of the
                     component and may be fixed or fit to component's contents.

                 ``"stretch_height"``
                     Component will responsively resize to stretch to the
                     available height, without maintaining any aspect
                     ratio. The width of the component depends on the type of
                     the component and may be fixed or fit to component's
                     contents.

                 ``"stretch_both"``
                     Component is completely responsive, independently in width
                     and height, and will occupy all the available horizontal
                     and vertical space, even if this changes the aspect ratio
                     of the component.

                 ``"scale_width"``
                     Component will responsively resize to stretch to the
                     available width, while maintaining the original or
                     provided aspect ratio.

                 ``"scale_height"``
                     Component will responsively resize to stretch to the
                     available height, while maintaining the original or
                     provided aspect ratio.

                 ``"scale_both"``
                     Component will responsively resize to both the available
                     width and height, while maintaining the original or
                     provided aspect ratio.
visible:         Whether the component is visible. Setting visible to false will
                 hide the component entirely.
loading:         Whether or not the Viewable is loading. If True a loading spinner
                 is shown on top of the Viewable.
disabled:        Whether the widget is disabled.
bar_color:       Color of the slider bar as a hexidecimal RGB value.
direction:       Whether the slider should go from left-to-right ('ltr') or
                 right-to-left ('rtl')
orientation:     Whether the slider should be oriented horizontally or
                 vertically.
show_value:      Whether to show the widget value.
tooltips:        Whether the slider handle should display tooltips.
value:           < No docstring available >
value_start:     < No docstring available >
value_end:       < No docstring available >
value_throttled: < No docstring available >
start:           < No docstring available >
end:             < No docstring available >
step:            < No docstring available >

This mean I have to scroll to the end of the table and parameter list to find the most relevant parameters like value, start, end, step.
This makes using Parameterized classes in the HoloViz ecosystem more overwhelming than it has to be.
Solution 1: Sort by Relevance
Reverse the sort. This would make sure what I need most of the time pops up first.
For example something like
def _sorted_parameter_names(parameterized: Type[param.Parameterized]) -> str:
    "Returns a list of parameter names sorted by 'relevance'. Most relevant parameters first."
    parameters = []
    for class_ in reversed(parameterized.mro()):
        if issubclass(class_, param.Parameterized):
            for parameter in reversed(list(class_.param)):
                if not parameter in parameters:
                    parameters.append(parameter)
    return list(reversed(parameters))

could used as a starting point.
Solution 2: Sort alphabetically
This way its easier to search for something specific.

I'd support this change, but I don't know which to prefer. That's because I don't recall what order they come in now; is it determined by the order in the inheritance hierarchy? If so then reversing it may well be a good idea so that the focus is on this specific subclass, not things shared with all subclasses.

Right now what is added to the top most parent class first is the one shown first in the list. Maybe a precedence will override this. But precendence is seldom used in Panel.

In that case I do support reversing the list, plus (if you like) offer a global option to sort them alphabetically.


Bump api-meta-store to v0.4.0

What?
Bump api-meta-store to v0.4.0
Why?
To reflect the updates

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: d-hayashi
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [d-hayashi]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Cleanup unit test console output

Exceptions are being thrown in unit tests but the unit tests arent failing. Either suppress the output if not a real issue or set the test to fail.

They are not real issues but I will get rid of the remaining reasons why they happen as I want to have zero exceptions that are called during runtime in nars_core.


Figure out a way to do automated tests of the Qml GUI

https://doc.qt.io/qt-5/qml-qttest-testcase.html


minor code formatting: align braces

@jzabroski : Thanks for your contribution! The author(s) have been notified to review your proposed change.


WISHLISTS-114 - Openshift Deployment (CI/CD)

Looks like tests are passing and found some issues when interacting but those will be made as issues / other stories.
Amazing job Jay, I was only around for near the end of this but it's incredible how much was made.


Fix syntax highlighting in comments

Problem
Syntax highlighting does not work:

for new comments syntax <%!-- ... --%>
for comments syntax <% # ... %>, which is highlighted as embedded elixir instead of heex comment

comments_syntax_issue.webm
See https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.HTMLFormatter.html#module-inline-comments-comment.
Solution
comments_syntax_issue_solved.webm

You're very welcome, thank you for your hard work!

I just published 0.1.2 with your features! Thanks!


Add placeholder and hint for URL input box on Website Plugin Configuaration Page

Add placeholder and hint for URL input box on Website Plugin Configuaration Page
ISSUE 29
Changes Made
1-) Added placeholder to URL input box
2-) Included a Hint below the input box
3-)**removed uvloop from requirements.txt **

Please Review !

@uchiha-vivek no need to push config.yaml file,  also place the hint message along with url input otherwise it always shows in every connector

@uchiha-vivek no need to push config.yaml file, also place the hint message along with url input otherwise it always shows in every connector

@sethumadhavan-k
1-) Ok i will remove the config.yaml file
2-)also place the hint message along with url input otherwise it always shows in every connector - i have doubt in this :
Like do i need to include hint message also  inside the placeholder  .
something like :    https://www.raggenie.com  include http or https in the URL

@uchiha-vivek better to place below the input component

@sethumadhavan-k
1-)Removed config.yaml
2-) Did conditional rendering for url input Hint  so that after generateConfig() is called it dont show up always with all connector.
I hope it solves the above problem .

@uchiha-vivek
please conside this isse also on same PR , since it's related
https://github.com/sirocco-ventures/raggenie/issues/33
check sample code there mentioned by @agberoz

@uchiha-vivek
please conside this isse also on same PR , since it's related
#33
check sample code there mentioned by @agberoz

@ashmilhussain  Sure

@ashmilhussain  uvloop issue fixed in the same pull request !
code changed : uvloop==0.20.0; sys_platform != 'win32'

@uchiha-vivek spelling mistake, not "int the url" , it is "in the url"

@uchiha-vivek great , once reviewed i will merge this

@sethumadhavan-k  fixed the spelling error.


Updated depthwise_conv kernel to use function specializations and bug fixes for ARC.

This PR brings depthwise convolution kernel update for ARC target.
BUG=#719

Updated.

Updated branch. Waiting for merge.

Updated.

Updated.

Updated.

Updated.


Adding is-valid Bootstrap class when input is valid

I notice that the is-invalid class is used by the HxInput components. I don't see is-valid used, where a green tick is shown if the validation succeeds, e.g.: https://getbootstrap.com/docs/5.0/forms/validation/ :

I have manually added it in some cases, but it's hard to get right - is this something that we couldshould do in the HxInput components too? Is there some reason why we can't? Would it be a tricky PR?

Hello @pollardpj,
The challenge lies in the fact that Blazor's validation architecture lacks a built-in mechanism for indicating successful validation. We attempted to implement this feature for a client project, achieving visual cues like green checkmarks for valid inputs. However, the solution required numerous workarounds, compromising the overall design and implementation quality. As a result, we opted not to include this feature in our library.
If you are interested I can try to find and share the source code of our implementation for such feature.

Thanks @hakenr , that would be useful to see if it is not too much trouble :)

I gave you read access to one of our repositories.
In the end, we agreed with the client we won't implement full indication of positive validity, but only a "soft validation message + indicator" which is currently controlled manually by setting the SoftValidationWarning parameter.
You will find the important source code here: https://github.com/havit/Bt.Blazor/tree/master/Havit.Bt.Blazor/Components/Forms/Internal
You will also find several examples of custom HxInputBase-component implementation there, e.g. the BtSingleSelect:
https://github.com/havit/Bt.Blazor/tree/master/Havit.Bt.Blazor/Components/Forms/Selects


[Production Queue] first unit disappears in production menu fix.

When the production queue is empty, first queued unit will disappear from the unit list. A simple fix will resolve this ( as of the current master branch):
in ProductionPanel.lua:2175
--if row.Hash ~= currentProductionHash and buildQueue:CanProduce( row.Hash, true ) then
if buildQueue:CanProduce( row.Hash, true ) then
Do not check row.Hash ~= currentProductionHash will resolve this problem.

你干嘛不直接上传代码呢？

@s-leaf83 Don't assume ppl always have the env setup to upload code, and learn not to spam comments in multiple issues please.


[nativescript-stripe] Feature Request: Google Pay Support

Is there any plan to support Google Pay, at least in standard integration?

Yes


NoOp mode

As discussed with @AlexDBlack, let's add NoOp mode for executioner and allocation managers.
This will give us full knowledge about memory requirements (even conditional) between start/end of NoOp mode,  and sequence of operations invoked within.

Closing in favour of https://github.com/deeplearning4j/nd4j/issues/1941


[PE-D][Tester D] Did not mention that square brackets "[]" indicates that it is an optional parameter

Description:
In the User Guide and Developer Guide, whenever there is a square bracket, they did not mention that it means "Optional Parameter".

Steps to Reproduce:

Go to the "User Guide" and Search for commands that have square brackets.

Expected Result:
The User Guide and Developer Guide should state explicitly that square brackets indicate "Optional Parameter"

Actual Result:
The User Guide and Developer Guide did not mention this.

Suggestion:
Add the relevant explanation indicating that the square brackets mean "Optional Parameter".

Labels: type.DocumentationBug severity.Low
original: thony-ui/ped#2

Stated in the beginning of UG, can add to notes in relevant sections.


I cant get ligatures working

I installed the latest icons:
curl -L https://github.com/kvndrsslr/sketchybar-app-font/releases/download/v2.0.5/sketchybar-app-font.ttf -o $HOME/Library/Fonts/sketchybar-app-font.ttf
I use kitty as a terminal.
Now to the problem: I can't add any new icons from the font book. I tried writing for example :slack: but it does not render the icon or show up in the bar. I also tried copying from the font book without a result.
I don't understand why this is not working since the icons are in the font book and the terminal supports ligatures. Any ideas would be appreciated.

The font has been tested in the context of sketchybar. While it should indeed work anywhere with ligature support it arguably abuses the concept of ligatures. A quick search in kitty surfaced this issue which explains it:
https://github.com/kovidgoyal/kitty/issues/7142
So without looking into the code, one of the following happens:

kitty renders the symbol but only at (100/ligature.length)% - barely visible
due to the implications of kittys behavior the developer implemented a max viable ligature length and any ligatures over that length just won't be considered for rendering


Push notification not working when using uraban airship and layer

I am using Urban airship for push notification and Layer for chat.(Both uses GCM key and sender id)
Currently I am facing one issue:
When I logout from my application and again login then I am not receiving push notification of urban air ship
As discussed with my server team, that might be due to Layer De - authentication on logout.( which is required)
Reply from urban airship team:
It does appear that the Layer logout is deregistering all GCM services.I'd recommend working with Layer to determine if there is a way to not have their SDK aggressively unregister all GCM services.
We have tried GCM as well FCM both in layer but same problem is happening.
compile ('com.layer.atlas:layer-atlas:0.3.0'

Thanks for reporting this. I've filed an internal ticket to track this work: APPS-2713. We will update this GitHub issue once work is done. We do in fact call FirebaseInstanceId.getInstance().deleteInstanceId() and 'GoogleCloudMessaging.unregister` in older versions. Both of these should delete all tokens.

hello @smpete
Thanks for you reply.
Can you please update on above issue: APPS-2713.
Currently I have upgraded to 'com.layer.atlas:layer-atlas:0.4.1'  and using FCM.
but again the issue is coming that on deauthentication, urban airship pushes are not being recieved as layer is de registering the all gcm servcies
And can you please tell me that is there any alternative function(fcm specific) in latest layer version for (setGcmRegistrationId()) which is deprecated now in latest layer version?

A fix for APPS-2713 is set to be released with the next version of the Layer SDK. I do not have a timeline for this but expect a release in a week or two.
You will have to use the LayerClient.Options.alternateFcmSenderId() to take advantage of the per sender ID token deletion. That will also be the function that replaced setGcmRegistrationId.
I'll close this ticket once the fix is released.

@smpete thanks a lot.
regarding  some hack on app side to avoid this till we get proper fix:
In layer-atlas:0.3.0', whe we did setGcmRegistrationId(null, null) before calling deauthentication method( Util.deauthenticate(getLayerClient(), new Util.DeauthenticationCallback()), its worked for us.
but since this function has been deprecated in latest layer, can we put some kind of similarhack in latest layer?

I don't see a workaround being possible on the current SDK as the older Gcm.unregister() method doesn't seem to revoke the registration token. See the docs here: https://developers.google.com/android/reference/com/google/android/gms/gcm/GoogleCloudMessaging#unregister(). That might be why the previous workaround worked.

@smpete thanks for the prompt response. Will wait for fixed release then.

@smpete can you please update on above issue. Any plan for the fix release?

@rekhaagarwal This was released in SDK 0.23.10. The corresponding Atlas version for this is 0.4.4. Make sure you supply the Layer SDK with an alternate sender ID rather than implicitly loading one from the google-services.json file (it can be the same sender ID). This is needed so we know what token to revoke.
Also remember that you can see the current release notes for the SDK here: https://github.com/layerhq/releases-android/releases

@smpete thanks a lot!. Will make the latest release and make necessary changes.
Regarding "Make sure you supply the Layer SDK with an alternate sender ID rather than implicitly loading one from the google-services.json file ", lets say my FCM sender id is A(defined in google-services.json), and UA sender is B.
Then I should set alternated sender id to A or B or both?


Bug Report: 3.1.0 Advanced Display Offsets misbehave after upgrade to Mac OS Monterey 12.5.1

Required information
Mac Studio 2022 running macOS Monterey 12.5.1
Primary display is an LG38L950G, 3840x1600
Secondary display is an Apple Studio Display, in 1440x2560 aspect using SwitchResX 4.12.0 since current Firmware Version 15.5 (Build 19F80) doesn't support vertical display rotation natively. This is a known Apple issue.
Description of issue / Feature request
Spanned video worked seamlessly with this setup prior to OS upgrade with
Play videos on = All displays
Viewing mode = Spanned
Aspect = Fill screen
and Advanced mode configured via negatives values for ztop and zleft for the secondary display.
After upgrade to Monterey,
Displays>Margins>Advanced Mode no longer respects "ztop" and "zleft" for the secondary display. Changing values makes no difference in the video offset.
I was able to almost recreate my previous offsets {"ztop" : -497, "zleft" : -1440} by setting {"offsettop" : 1,"offsetleft" : -1} and leaving my previous values in place. My current config under "Edit margins manually" is
{
"displays" : [
{
"ztop" : 0,
"zleft" : 0,
"offsettop" : 0,
"offsetleft" : 0
},
{
"ztop" : -497,
"zleft" : -1440,
"offsettop" : 1,
"offsetleft" : -1
}
]
}
where again, the "ztop" and "zleft" values don't seem to be processed by the app anymore.
The offsettop and offsetleft values are centimeters(?) versus pixels for ztop and zelft, so it is less precise and hence less useful.

Hey @ravedon
Can you check and make sure that it says fill screen and not fit to screen ? For some reason that setting seem to have been reset, and it might just be what you are experiencing

Done. The same issue exists with either aspect setting.

Ok, I'll try to have a look and get back to you.
However, just to clarify, he magins are cm but you can put a decimal in there (like 3.233) to get more precision. I have a hard time remembering what ztop/zleft does right now but I'll have a look ;)

@ravedon sorry I didn't get back yo you. I do believe this is fixed in 3.1.3. Could you confirm ?

Please reopen if it's not fixed


Add Hello World in Fetlang

Found a hilarious esoteric language called Fetlang: https://github.com/fetlang/fetlang

Merged #118


Moved bootstrap script. Updated readme, requirments and gitignore.

Closed previous PR to clean up commit history.

Understandable with the external links, rebased and amended the commit this was performed in. Opened new PR #13.


tests/ieee802154: Fix how is initialized the driver lock in l2 test

The test starts the last one: after the driver and the net stack.
However, the net stack (due to DAD and else) will already try to send
some packet, resulting in giving an uninitialized semaphore. But once
properly initialized, this semaphore will end up with a non-zero count
when the test will start: thus resetting it to 0 before running the
tests.
Jira: ZEP-2319
Reported-by Andrew Boie<EMAIL_ADDRESS>Signed-off-by: Tomasz Bursztyka<EMAIL_ADDRESS>

recheck


[SPARK-41233][SQL] Add array_prepend function

What changes were proposed in this pull request?
Adds a new array function array_prepend to catalyst.

Why are the changes needed?
This adds a function that exists in many SQL implementations, specifically Snowflake: https://docs.snowflake.com/en/developer-guide/snowpark/reference/python/api/snowflake.snowpark.functions.array_prepend.html

Does this PR introduce any user-facing change?
Yes.

How was this patch tested?
Added unit tests.

The jira number should be [SPARK-41233](https://issues.apache.org/jira/browse/SPARK-41233)

@HyukjinKwon ArrayAppend and ArrayPrepend are special cases of ArrayInsert. Is it better to implement each function independently or consider them as a whole?

The jira number should be SPARK-41233

Changed. Thanks!

Can one of the admins verify this patch?

also cc @beliefer

@navinvishy cloud you resolve the conflict?

Could we wait array_append merged then this PR could follow some convention and make a better abstract ?

Could we wait array_append merged then this PR could follow some convention and make a better abstract ? @zhengruifeng @LuciferYang @HyukjinKwon

If it is possible, I think we should wait

Could we wait array_append merged then this PR could follow some convention and make a better abstract ? @zhengruifeng @LuciferYang @HyukjinKwon

If it is possible, I think we should wait

Looks like array_append has already been merged? https://github.com/apache/spark/pull/38865

Could we wait array_append merged then this PR could follow some convention and make a better abstract ? @zhengruifeng @LuciferYang @HyukjinKwon

If it is possible, I think we should wait

Looks like array_append has already been merged? #38865

Also, I'm happy to try and unify ArrayPrepend and ArrayAppend (and maybe some others?) if that is useful.

I found ArrayAppend  already merged

@navinvishy mind fix the scala linter failure?

@navinvishy mind fix the scala linter failure?

Sorry for the delay @zhengruifeng . Fixing now.

cc @dongjoon-hyun @beliefer @LuciferYang @cloud-fan @HyukjinKwon would you mind taking another look?

@dongjoon-hyun @beliefer @LuciferYang @cloud-fan @HyukjinKwon gentle ping to please take a look. Thanks!

@navinvishy  sorry, it seems late for 3.4.0.
would you mind changing the version from 3.4.0 to 3.5.0?
I am going to merge this PR to master this week if no more comments.

@navinvishy sorry, it seems late for 3.4.0. would you mind changing the version from 3.4.0 to 3.5.0?
I am going to merge this PR to master this week if no more comments.

I've updated the version. Thanks @zhengruifeng !

@navinvishy would you mind addressing wenchen's comments? we can merge it then.

@navinvishy would you mind addressing wenchen's comments? we can merge it then.

I've addressed them. Thanks for checking, @zhengruifeng !

merged into master, thank you @navinvishy for working on this!

Seems like this broke the mima check for Spark connect. I am reverting this for now.

@navinvishy like ProblemFilters.exclude[Problem]("org.apache.spark.sql.functions.array_prepend"), and you can run dev/connect-jvm-client-mima-check to check the result

merged to master again 😄


Atom 1.4.0 is installed in the future on Windows 8.1

I installed Atom 1.4.0 some days ago and today, when I opened the "Uninstall programs" window, I noticed that Atom is has been installed on June 15th 2016.
This is quite akward to have a software installed in the future.
The installation dates of the other softwares are OK.
Screenshot:

Configuration: French version of Windows 8.1 Enterprise 64 bits

Thanks for the report! :smile: This looks like a duplicate of https://github.com/atom/atom/issues/6606 – feel free to subscribe there for updates.
Also, please take a look at the Contributing guide for a guide on reporting bugs, including searching for duplicates.


updating build->deploy to do both fedora and ubuntu

This is the first part of #7. We want automated builds for both OSs for users to take advantage of.
Signed-off-by: vsoch<EMAIL_ADDRESS>

I like this change, thank you.


global SLAM makes the map drift more, why??

Hi, I try to generate a map in a 170m x 50m area. I turned off the global SLAM first by POSE_GRAPH.optimize_every_n_nodes = 0, and the result is ok for a system without global optimization.

Zoom in the red area, I find that the drift is not really big for this map.

Then I try to close the loop by turning on the global SLAM  POSE_GRAPH.optimize_every_n_nodes = 80, however, it introduces more drift.

Zoom in the same red area, the drift is obviously worse.

The loop seldom gets closed, when it happens to be closed, the map looks like this.

Why is the global SLAM makes the map drift more? These are my lua file (I only changed optimize_every_n_nodes when I tested the system; I only use odometry and scan data, no IMU; TF data for the robot is 100% correct) and launch file (need to change directory; need to change 'Fixed Frame' to 'map_2D_test' in RVIZ). The bag file is pretty big since it was a long run. I will be really appreciated if anyone can help me solve this issue. Thanks!

Hi @bxc237
I tried your rosbag. There seems to be some kind of corruption at the end. If I filter out the last few seconds and use the config below , I get a good map with loop closure.
I used your config as a base and filtered out some parameters which I though would improve matching.
Granted I tested the rosbag using the offline mode, so you might have to tune for latency if you want online slam performance.
include "map_builder.lua"
include "trajectory_builder.lua"

options = {
  map_builder = MAP_BUILDER,
  trajectory_builder = TRAJECTORY_BUILDER,
  map_frame = "map_2D_test",
  tracking_frame = "base_footprint",
  published_frame = "odom_2D",
  odom_frame = "odom_2D",
  provide_odom_frame = false,
  publish_frame_projected_to_2d = false,
  use_odometry = true,
  use_nav_sat = false,
  use_landmarks = false,
  num_laser_scans = 1,
  num_multi_echo_laser_scans = 0,
  num_subdivisions_per_laser_scan = 1,
  num_point_clouds = 0,
  lookup_transform_timeout_sec = 0.2,
  submap_publish_period_sec = 0.5,
  pose_publish_period_sec = 0.5,
  trajectory_publish_period_sec = 0.5,
  rangefinder_sampling_ratio = 1.,
  odometry_sampling_ratio = 1.,
  fixed_frame_pose_sampling_ratio = 1.,
  imu_sampling_ratio = 1.,
  landmarks_sampling_ratio = 1.,
}

MAP_BUILDER.use_trajectory_builder_2d = true

TRAJECTORY_BUILDER_2D.min_range = 0.1
TRAJECTORY_BUILDER_2D.max_range = 12.
TRAJECTORY_BUILDER_2D.missing_data_ray_length = 12.
TRAJECTORY_BUILDER_2D.use_imu_data = false
TRAJECTORY_BUILDER_2D.use_online_correlative_scan_matching = true

POSE_GRAPH.optimize_every_n_nodes = 20 -- for offline mapping (might be different for online case)
TRAJECTORY_BUILDER_2D.submaps.num_range_data = 80

TRAJECTORY_BUILDER_2D.motion_filter.max_angle_radians = math.rad(1) -- 1 degree seems more apt
TRAJECTORY_BUILDER_2D.motion_filter.max_distance_meters = 0.1

POSE_GRAPH.constraint_builder.min_score = 0.6 -- increased threshold to throw away wrong matches
POSE_GRAPH.constraint_builder.global_localization_min_score = 0.4

POSE_GRAPH.constraint_builder.max_constraint_distance = 20.

-- odometry was good, so i used for atleast translation to weed out any incorrect constraints
POSE_GRAPH.optimization_problem.odometry_translation_weight = 1000
POSE_GRAPH.optimization_problem.odometry_rotation_weight = 10

-- increased search radius
POSE_GRAPH.constraint_builder.fast_correlative_scan_matcher.linear_search_window = 15

return options

Main changes

increased search radius
increased motion filter from 0.1 degrees to 1 degree for latency
increased min score to weed out incorrect matches

I am by no means an expert and there might be other things which can be improved. @MichaelGrupp  can advice on further modifications.
Cheers

Hi @soorajanilkumar ,
Thank you for your awesome advice! Soon after I posted this issue, we found the solution so that I forgot to close this issue. You are right, the key points are "increase min score to weed out incorrect matches" and "increase POSE_GRAPH.optimize_every_n_nodes to 20~30".


Updated info about Picture in Picture support in Firefox

As written in the title, in this commit I updated the info about Picture in Picture support in Firefox.
Sources:

Picture in Picture in Firefox Nightly 68 on Windows
Picture in Picture in Firefox pre-release channels on Windows
Picture in Picture in Firefox 71 on Windows
Picture in Picture in Firefox 72 on macOS and Linux
info that Firefox uses its own Picture in Picture implementation

Thanks!


How to read up to \n

Is there anyway to read a packet up to \n similar to conn.Reader().Next()?
For example, using net package, I use
bufio.NewReaderSize(conn, 1024).ReadLine()
for
{"id":2,"method":foobar","params":[]}\n {"id":3,"method":"foobar","params":["foobar.foo",""]}\n

No rich API yet, and we are already under development, and we expect to support it on v0.1.0


use default networks

every time I create a new stack portainer creates a new network, I wish I could specify one of the default network (bridge or host) without portainer creating a new network. I tried to specify in various ways and none worked, how should I do?
version: '2'
services:
percona:
image: percona/percona-server:5.7
container_name: perconaserver
environment:
MYSQL_ROOT_PASSWORD: root
ports:
- "3306:3306"
networks:
- "host"
volumes:
- mysql_data:/var/lib/mysql
command:
--character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci
wordpress:
image: luizeof/dockerpress:latest
depends_on:
- percona
working_dir: /var/www/html
volumes:
- arquivos:/var/www/html
ports:
- "8087:80"
restart: always
environment:
WORDPRESS_DB_HOST: percona:3306
WORDPRESS_DB_NAME: wordpress
WORDPRESS_DB_USER: root
WORDPRESS_DB_PASSWORD: root
WP_REDIS_HOST: <IP_ADDRESS>
VIRTUAL_HOST: mateus.mobidickhost.com.br
LETSENCRYPT_HOST: mateus.mobidickhost.com.br
LETSENCRYPT_EMAIL<EMAIL_ADDRESS>

From memory, You need external: true under network definition in stack file.
Rgds,
Neil Cresswell
On 15/08/2019, at 8:51 AM, mateusquevedo <notifications<EMAIL_ADDRESS>wrote:
every time I create a new stack portainer creates a new network, I wish I could specify one of the default network (bridge or host) without portainer creating a new network. I tried to specify in various ways and none worked, how should I do?
version: '2'
services:
percona:
image: percona/percona-server:5.7
container_name: perconaserver
environment:
MYSQL_ROOT_PASSWORD: root
ports:

"3306:3306"
networks:
"host"
volumes:
mysql_data:/var/lib/mysql
command:
--character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci

wordpress:
image: luizeof/dockerpress:latest
depends_on:

percona
working_dir: /var/www/html
volumes:
arquivos:/var/www/html
ports:
"8087:80"
restart: always
environment:
WORDPRESS_DB_HOST: percona:3306
WORDPRESS_DB_NAME: wordpress
WORDPRESS_DB_USER: root
WORDPRESS_DB_PASSWORD: root
WP_REDIS_HOST: <IP_ADDRESS>
VIRTUAL_HOST: mateus.mobidickhost.com.brhttp://mateus.mobidickhost.com.br
LETSENCRYPT_HOST: mateus.mobidickhost.com.brhttp://mateus.mobidickhost.com.br
LETSENCRYPT_EMAIL: suporte<EMAIL_ADDRESS>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_issues_3087-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAFQ2XFLFFI24U3IQ266XHCTQERV25A5CNFSM4ILY2M7KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HFJV6FQ&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=NChvlKwGxoswHXc2N39Zd7uqp19iubFFev3R0dIne4w&s=_JSaKP12AHobc0aMAh_7beh1LTkZqnb7jbmFFYCdkfg&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AFQ2XFJ65K33FD2OV62CQDTQERV25ANCNFSM4ILY2M7A&d=DwMCaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=NChvlKwGxoswHXc2N39Zd7uqp19iubFFev3R0dIne4w&s=cPDb-pndJOWzncplqWGkfhIfet5OT4bdw3lXq_-GlnE&e=.

More information can be found here: https://docs.docker.com/compose/compose-file/#external-1

hello, I can't use external as it only works on compose version 3, and the portainer doesn't support v3

@mateusquevedo Portainer supports v3 via swarm deployment, through this you can use the external definition in your stack file. Simply run docker swarm init on your host then you have access to v3 via the stacks view in Portainer.
RE: v3 compose - This is not supported because the library required for this has been depreciated by docker: https://github.com/portainer/portainer/issues/2054

I will close as the question has been answered


pass original unsolved path to get event

hi.
it would be nice to get an original "unsolved" path inside get-event callback – in my case I need to know what path is not found, -1 is not enough for a complex cursor path.

Hello @deepsweet, this problem is nearly fixed in the upcoming v2 version. But I admit you are right and there should be an explicit mention that a path failed to be solved when getting and I shall add it in the v2. Hence my current question: do you need me to fix v1 with your PR because you need it soon and cannot afford to go v2?

good news!
maybe https://github.com/Yomguithereal/baobab/issues/287 is already fixed too?.. :confused: if yes, then I don't need this PR in v1 and I'll try v2 instead.

v2 is not fully released yet but you can install it through npm install baobab@v2. However, the docs are not written yet so I recommend you read #278 before doing anything.

Yes, I think #287 is fixed in v2, but I should double check that.

thanks, trying npm install baobab@dev (btw it's not @v2 as you mentioned above)...

Oops. You're right. I typed v2 by mistake. I meant dev indeed. Sorry.

v2:
var Baobab = require('baobab');

var tree = new Baobab({});

tree.on('get', function(e) {
    console.log(e.data.path);
});

tree.select([ 'foo', 'bar', { test: true } ]).get()

test/node_modules/baobab/dist/cursor.js:388
      var fullPath = this.solvedPath.concat(path),
                                    ^
TypeError: Cannot read property 'concat' of undefined
    at Cursor._get (.../node_modules/baobab/dist/cursor.js:388:37)
    at Cursor.get (test/node_modules/baobab/dist/cursor.js:416:24)
    at Object.<anonymous> (test/tmp/b.js:9:47)
    at Module._compile (module.js:430:26)
    at Object.Module._extensions..js (module.js:448:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:471:10)
    at startup (node.js:117:18)
    at node.js:948:3

:(

Let me release an updated dev version right now with yesterday's fixes :-).

:fire:

<EMAIL_ADDRESS>is now online.

no error, but #287 is still relevant:
var Baobab = require('baobab');

var tree = new Baobab();

tree.on('get', function(e) {
    console.log(e.data.path);
});

tree.select([ 'foo', 'bar', { test: true } ]).get();

no logs.

Yes indeed. I am working on this right now.

Out of curiosity: why do you need to track failed dynamic get attempts?

I want to dynamically fill up my tree with data – "failed" attempts will fire specific data actions, so components can just render any data like this data is already exists. I now this may sounds strange, I just can't show you the complete example. at least right now :)

so there are no data actions directly from components, tree is "autofilling". from the components view it's just something like declarative GraphQL.

Cool! That's also what I tend to do to "fill" my tree with data from the server. I just never stumbled upon a dynamic path case before.

Just published 2.0.0-dev5. Can you tell me whether this is good for your use case now?

work like a charm, thank you!


Failed to start application.

Checklist

[X] I have verified this is the correct repository for opening this issue.
[X] I have verified no other issues exist related to my problem.
[X] I have verified this is not an issue for a specific package.
[X] I have verified this issue is not security related.
[X] I confirm I am using official, and not unofficial, or modified, Chocolatey products.

Application launch.
How Did You Get This To Happen?
Not sure what happened. It was working fine in W10 and now in W11 it isn't working anymore.
System Details

Operating System: 10.0.22631.0
Windows PowerShell version: 5.1
Chocolatey CLI Version: 2.2.2
Chocolatey Licensed Extension version: Chocolatey v2.2.2
Chocolatey License type: Free
Terminal/Emulator: Windows PowerShell

Installed Packages
No, thanks.

Output Log
2024-01-04 21:15:35.873 +01:00 [Fatal] Failed to start application.
Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = ShellView[] (DelegateActivator), Services = [System.Collections.Generic.IEnumerable`1[[ChocolateyGui.Common.Windows.Views.ShellView, ChocolateyGui.Common.Windows, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=]]], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = ExternallyOwned ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = ShellView (ReflectionActivator), Services = [ChocolateyGui.Common.Windows.Views.ShellView], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = ChocolateyConfigurationProvider (ReflectionActivator), Services = [ChocolateyGui.Common.Providers.IChocolateyConfigurationProvider], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(chocolatey.infrastructure.filesystem.IFileSystem)' on type 'ChocolateyConfigurationProvider'. ---> Sequence contains more than one matching element (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = ShellView (ReflectionActivator), Services = [ChocolateyGui.Common.Windows.Views.ShellView], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = ChocolateyConfigurationProvider (ReflectionActivator), Services = [ChocolateyGui.Common.Providers.IChocolateyConfigurationProvider], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(chocolatey.infrastructure.filesystem.IFileSystem)' on type 'ChocolateyConfigurationProvider'. ---> Sequence contains more than one matching element (See inner exception for details.) (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = ChocolateyConfigurationProvider (ReflectionActivator), Services = [ChocolateyGui.Common.Providers.IChocolateyConfigurationProvider], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(chocolatey.infrastructure.filesystem.IFileSystem)' on type 'ChocolateyConfigurationProvider'. ---> Sequence contains more than one matching element (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(chocolatey.infrastructure.filesystem.IFileSystem)' on type 'ChocolateyConfigurationProvider'. ---> Sequence contains more than one matching element (See inner exception for details.) ---> System.InvalidOperationException: Sequence contains more than one matching element
   at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at ChocolateyGui.Common.Providers.ChocolateyConfigurationProvider.GetChocolateyInstallLocation() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common\Providers\ChocolateyConfigurationProvider.cs:line 41
   at lambda_method(Closure , Object[] )
   at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
   --- End of inner exception stack trace ---
   at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
   at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   --- End of inner exception stack trace ---
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)
   at Autofac.Core.Resolving.InstanceLookup.Execute()
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
   at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   --- End of inner exception stack trace ---
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Execute()
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at Autofac.Features.Collections.CollectionRegistrationSource.<>c__DisplayClass0_0.<RegistrationsFor>b__0(IComponentContext c, IEnumerable`1 p)
   at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   --- End of inner exception stack trace ---
   at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Execute()
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
   at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
   at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
   at ChocolateyGui.Common.Windows.Bootstrapper.GetAllInstances(Type service) in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Bootstrapper.cs:line 179
   at Caliburn.Micro.ViewLocator.<>c.<.cctor>b__10_0(Type viewType)
   at Caliburn.Micro.ViewLocator.<>c.<.cctor>b__10_8(Object model, DependencyObject displayLocation, Object context)
   at Caliburn.Micro.WindowManager.CreateWindow(Object rootModel, Boolean isDialog, Object context, IDictionary`2 settings)
   at Caliburn.Micro.WindowManager.ShowWindow(Object rootModel, Object context, IDictionary`2 settings)
   at ChocolateyGui.Common.Windows.Bootstrapper.<OnStartup>d__43.MoveNext() in C:\buildAgent\work\774e9aed9020e028\Source\ChocolateyGui.Common.Windows\Bootstrapper.cs:line 138

Additional Context
I tried reinstalling chocolateygui, but it didn't work.

@ObnubiladO it has been some time since this issue was raised. I am unable to replicate the issue on the same version of Chocolatey GUI.
Is this still an issue?

I reinstalled ChocolateyGUI just now and it actually works now. Same PC, same OS, so I don't know what fixed it.

@mchin-rch Given what was said above by @ObnubiladO, this may well be a Windows Update causing it.


Provide an event for when the editor re-renders due to Live Preview

I have developed a plugin that appends a class name to links when the file opens. Unfortunately, the editor re-renders when using Live Preview and these classes are not reloaded on the links. Is there an event I can listen to rewrite these classes on re-render? Or is there a way to permanently write in class names in these link elements?
Thank you.

You are not allowed to arbitrarily modify DOM elements in the editor as it will automatically revert any changes. For that you should create a CodeMirror 6 extension to provide decorations.
Lastly, please head to the discord server under the #plugin-dev channel for help with using the API. Issues in this repo is meant for actual bugs with the API, not questions. It's also not watched by other plugin developers, and as such you won't receive as much help.


feat(aws): Add support AWS SAM CLI

Overview

Add support for the AWS SAM CLI to the existing AWS plugin
Type of change

[ ] Created a new plugin
[x] Improved an existing plugin
[ ] Fixed a bug in an existing plugin
[ ] Improved contributor utilities or experience

Related Issue(s)

Resolves: #
Relates: #

How To Test

sam list resources

Changelog

The AWS plugin can now be used with the AWS SAM CLI.

Hi Simon (great name btw 😜 ) @simonmcc, may I ask what prompted you to close this PR? I believe it would have made a great addition!

@SimonBarendse I was struggling to get the siging check to re-run, so took the lazy approach & recreated the PR: https://github.com/1Password/shell-plugins/pull/473


Update readme

hi @parrt
I added few more visualizations into readme page and other few modifications. Please take a look and adjust if you consider.

Looks great. thanks for fixing!


RFC: Clarifying UnwindSafe

Rendered

On the note of  poisoning and atomics implementing RefUnwindSafe in this section
Poisoning prevents people from seeing the contents of a Mutex in an erroneous state. Mutexes only poison if they witness a panic while locked. Viewed from this way, since there is no way to panic while an atomic is "locked" (doing an operation), they are trivially RefUnwindSafe.

@KrishnaSannasi That could be one way to interpret it, however by that logic Cell should also implement RefUnwindSafe, yet it explicitly opts out:
https://doc.rust-lang.org/std/cell/struct.Cell.html#impl-RefUnwindSafe

It's not explicitly opted out, it just inherited that from UnsafeCell, that may just be an oversight.

Viewed from this way, since there is no way to panic while an atomic is "locked" (doing an operation), they are trivially RefUnwindSafe.

Here is another way to look at it: in concurrent code, because threads may run in parallel or pre-empt each other at any time, it is necessary to explicitly mark those parts of the code where invariants may be temporarily violated before being restored ("critical sections"), to prevent other threads from observing the inconsistent state. (We also need it to avoid low-level data races, but if that were the only issue, then we could solve it by just using atomics for everything, and it isn't.) In single-threaded code, these temporary violations of invariants are still there, but since there is no danger of concurrency or preemption, they are just implicit -- we're just careful not to call any functions which could problematically witness the inconsistent state before we make it consistent again, and that's it.
This is similar to how if you're writing a single-threaded program with its own database, you can get away for a while without really thinking about transactions (the database's version of critical sections), because it's not possible for e.g. another thread to run a SELECT in between two of your INSERTs which really should've happened atomically (because only one of the tables having been updated and not the other is a temporary invariant violation). Once you add another thread, you need to start marking these regions of temporary invariant violations, which were there all along, explicitly.
But there's a way that the absence of explicit transactions can bite you even in single-threaded database code: if your program crashes or gets terminated, the computer freezes or the power goes out, etc., maybe your program will have finished doing the first INSERT but not the second. And now, the next time your program starts, its database will be in an inconsistent state, and the program will misbehave.
This is totally analogous to "unwind-unsafety" in single-threaded code: you have two Cells which need to get updated together, and you do just that, no other thread can touch them, it's fine. Until one day, the code in between the two updates panics (say, because of an integer overflow). You didn't want a panic to take down your whole program, so you have a catch_unwind at an outer scope to restart the task. But now it witnesses an inconsistent state, and the program misbehaves.
(This ties into the subject of mutex poisoning: the ideal thing to do, if a thread panics while holding a locked mutex, would be to restore the contents of the mutex to its original state, from the beginning of the critical section, before unlocking the mutex and continuing, so that it behaves transactionally. But making a copy at the beginning would be costly in the normal case where the code doesn't panic, and may also be impossible for move-only types. So poisoning the mutex is a good next-best compromise.)

A type should be RefUnwindSafe iff any of the following are true:

The type is not internally mutable.
The type is Sync.
The type implements poisoning.
The type is AssertUnwindSafe.

My vague recollection is that &mut can also be used to witness inconsistent state post-panic. (Which is mutation, but not 'internal'.) Am I mistaken?

Ah yes, &mut is a bit of an edge case - it's not internally mutable in the sense that you can't mutate it behind a & reference, but on the other hand, it does allow you to mutate things through an immutable let binding.

other hand, it does allow you to mutate things through an immutable let binding

Only if you go through some other form of interior mutability. Otherwise you can't mutate values stored in immutable let bindings.

I think they mean
let gen = &mut AnRNGType::new();
gen.next_u32(); // immutable binding to a mutable reference allows mutation of pointed-to data

An interesting assumption we use in reasoning about the unwind-safety of mutexes and atomics, which is worth calling out explicitly, is that types which can be used in a multi-threaded way, will be. Since unwind-safety-checking is only "lint-like" in the first place, this is probably fine. But there's no reason in principle why you couldn't use AtomicUsize in single-threaded code in the same way as a Cell<usize>, and in the case of Cell we said it's not unwind-safe. Similarly, you can also use a Mutex<T> in the same way as a Cell<T>, only ever performing a single read or write inside the critical section, while only accessing it from a single thread. We just expect (with some justification) that people won't actually do this in practice.

@glaebhoerl The way I would like people to think about it is this: the fact that a type implements Sync is the "warning sign" that it might be used concurrently, and so whenever you are dealing with Sync types you should be concerned about unwind safety. This is why I listed them as an "escape hatch" from the UnwindSafe mechanism.

My personal preference would be to get rid of UnwindSafe entirely.


Both FortniteBurger and Steam stopped working after crash.

I was trying around the setting, as initially the unlocker didn't even work. After pressing the "Start Pak Bypass" button and pressing yes on disabling local checks, after which launching the game through FortniteBurger, the game didn't even launch, which prompted a restart. After restarting steam, it said that I need to be connected to internet to update, even though my internet works fine, and FortniteBurger is stuck on "Checking for Updates" screen. How do I resolve this? Reinstalling Steam didn't help.

Fixed, the "disable local check" enabled some kind of proxy, which didn't allow steam nor the unlocker to connect.


[Question] is there sign-user-out url in OneDrive for Business ?

normal API has this method as following:
https://dev.onedrive.com/auth/msa_oauth.htm#sign-the-user-out
but it seems not exist in OneDrive for Business.
or just I missed it?
https://dev.onedrive.com/auth/aad_oauth.htm
thank you for help!

I'm looking into this.

hi,@rgregg
Is this url "https://login.windows.net/common/oauth2/logout " credible and reliable?
thanks

Yes, the valid URL to use is https://login.microsoftonline.com/common/oauth2/logout.


complete version compatible tests and config it as PR check workflow

--encrypt should be --encrypt-secret

Codecov Report

Merging #1738 (d4b5b29) into main (2026936) will increase coverage by 0.19%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1738      +/-   ##
==========================================
+ Coverage   61.67%   61.86%   +0.19%
==========================================
  Files         135      135
  Lines       22922    22922
==========================================
+ Hits        14136    14180      +44
+ Misses       7191     7151      -40
+ Partials     1595     1591       -4

Impacted Files
Coverage Δ

pkg/vfs/writer.go
78.64% <0.00%> (-1.02%)
:arrow_down:

pkg/chunk/disk_cache.go
79.85% <0.00%> (-0.49%)
:arrow_down:

pkg/meta/sql.go
67.33% <0.00%> (+0.10%)
:arrow_up:

pkg/meta/base.go
71.69% <0.00%> (+0.50%)
:arrow_up:

pkg/chunk/cached_store.go
80.40% <0.00%> (+2.95%)
:arrow_up:

pkg/vfs/reader.go
84.67% <0.00%> (+4.37%)
:arrow_up:

pkg/fuse/context.go
67.56% <0.00%> (+10.81%)
:arrow_up:

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 2026936...d4b5b29. Read the comment docs.

fixed.


Audio message not working

Describe the bug
I am trying to record an audio message but it never works on my device
It gives me an error of [VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(AudioWaveforms, Failed to prepare player, null, null)
[✓] Flutter (Channel stable, 3.7.1, on macOS 13.0.1 22A400 darwin-x64, locale en-GH)
Checking Android licenses is taking an unexpectedly long time...[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.75.1)
[✓] Connected device (2 available)

@samtuga1. Right now audio_waveforms has a few glitches in the latest version. For a temporary solution, you can add the below lines in your pubspec.yaml file that will help you to resolve your issue.
dependency_overrides:
  audio_waveforms: 1.0.1

Once glitches will be resolved I will ping you here. I am closing this issue right now, feel free to reopen it if you have any concerns. Thank you !!

not working nhandled Exception: type 'List<Object?>' is not a subtype of type 'FutureOr<String?>'
#0      AudioWaveformsInterface.stop (package:audio_waveforms/src/base/audio_waveforms_interface.dart:64:12)

#1      RecorderController.stop (package:audio_waveforms/src/controllers/recorder_controller.dart:227:20)

#2      _ChatUITextFieldState._recordOrStop (package:chatview/src/widgets/chatui_textfield.dart:232:20)

Hi @se-abdelkhaleq, Are you still facing this issue? if yes feel free to reopen issue and also can you please share code snippet so we can reproduce the issue to investigate it further.


Investigate making Formation usable for Node-based server-side validation

Since lots of websites nowadays use node and node-based server software, Formation could be quite useful on that end of the spectrum. Server-side validation is arguably more important than client-side.
This is to investigate what changes would be necessary in order to make it work.
My initial thought on implementing it is to create 3 new repositories:

formation-core : the core rule validation engine API
formation-client : the client-side process and event system API
formation-server : the server-side process and event system API

This repository would be a shorthand for using both formation-client and formation-server.

On a related note we should investigate creating a version of Formation that can integrate with React.


many node modules

Since the upgrade to RN 0.14.1 I have a ton of node modules in my project. Is this normal?

I think they changed the nested folders to be flat for compatibility reasons.

(I thought I posted on this already. Was the message deleted?)
If this isn't an issue, this post should be closed.

I'd not seen any post of yours @jaygarcia. But I agree, this should be closed.

Thanks @MossP. It could be a casualty of multitasking ;)

I just tested, I don't have many modules using nodejs v4.2.2

Did you upgrade or create a fresh project? React-native init AwesomeProject seems to flatten the paths for me.

Maybe it's a node version thing? I'm on 5.0.0

react-native init yes
If you use nvm you can do
nvm install v4.2.2
nvm use v4.2.2
nvm alias default 4.2.2

I'm also on node 5. I was upgrading an existing project.

Try using npm 2 instead of 3 and see if that changes things.

I get many packages under node_modules with npm3. It's just how npm behaves now.


TensorFlow logging configuration is

Ref https://github.com/tensorflow/tensorflow/issues/8023
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
TensorFlow installed from (source or binary): Docker image
TensorFlow version (use command below): 1.1.0
Bazel version (if compiling from source): N/A
CUDA/cuDNN version: Per Docker image
GPU model and memory: K80
Exact command to reproduce: N/A

Describe the problem
The logging configuration in tf_logging is odd and inconsistent with how things are generally done in Python.
In general, it's typical to attach handlers to the root logger in Python: https://docs.python.org/2/library/logging.html#logging.Logger.propagate
However, because tf_logging sets up its own stream handler, and does not disable the propagate flag, anybody who does follow the standard Python convention of attaching handlers to the root logger gets duplicated log output from TensorFlow.
Per https://github.com/tensorflow/tensorflow/issues/8023, while this isn't a bug per se, it's still wrong and undesirable.
The cleanest way forward is probably to just set propagate=False on the TF logger.

After browsing some of the code history, it looks like the current behavior was an explicit implementation choice made back in Nov 2015.
Here's the git commit that brought it in:
https://github.com/tensorflow/tensorflow/commit/d50565b35e886e7c3a201ea2f088790ed4b28de4
For reference, the internal tracking ID is cl/107710311 and the description is:
Scope tensorflow logging to prevent namespace pollution for
users who import tf and configure their own loggers.

@dave-andersen and @mrry were involved in the original change, and may have more details.  I'm re-assigning to @mrry since he knows Python much better than I do, and may have some opinions on the suggestion of setting propagate=False

To clarify, I think it's absolutely correct that TensorFlow logging is scoped under tensorflow. If anything, a more common pattern in Python libraries is for loggers to be scoped to each individual module, as this exposes more control over customizing log level on a more granular basis.
What's suboptimal here is that the logger both has a handler and propagates. This means that if I follow standard best practices, anything that TF tries to log hits both the handler on the tensorflow logger, and then my own handler on the root logger, so I end up getting two lines of log output.

I think we'd welcome contributions to fix this!


Merge Add link to Creating a Bing Maps Account article (#200) to live

Docs Build status updates of commit 29bae74:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: PullRequestMergeConflict] Cannot sync git repo to specified state. Please make sure the pull request is mergeable.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 4f49997:
:warning: Validation status: warnings

File
Status
Preview URL
Details

BingMaps/v8-web-control/developer-resources.md
:warning:Warning
View
Details

BingMaps/v8-web-control/developer-resources.md

Line 9, Column 13: [Warning: ms-service-subservice-invalid - See documentation] Invalid value for 'ms.service': 'bing-maps'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Deprecate PHP 5 (add)

[x] Bug fix
[ ] New feature
[ ] BC breaks
[ ] Deprecations
[x] Tests pass

Fixed tickets: [#96]
License: MIT
What I did:

[x] Add parameters type hinting
[x] array() to []
[x] Add classes to use
[x] Return type to methods
[x] Readme
[x] Fix tests
[x] Fix comments
[x] Fix typos
[x] Fix code style

@florianpreusner could you check this PR? I think it's done. I also added symfony 3.3.* in travis. All checks passes.


Include eagle schematic file

It would be amazing if you could share the eagle schematic file, too.
Either way, thank you for sharing your work!

Apologies, but I never made a schematic.

Understood, no worries. Thank you.


How to specify which shell to use?

I have a command which needs RVM's shell helpers to be sourced in the current shell. They're setup in ~/.bashrc AND ~/.profile.
I tried the following...
cmd_ Shell ["rvm", "use", "2.3.7", "&&", "bundle", "install"]

... which results in ...
* Raised the exception:
Development.Shake.cmd, system command failed
Command line: /bin/sh -c 'rvm use 2.3.7 && bundle install'
Original command line: rvm use 2.3.7 && bundle install

Is there any way to tell shake to use bash instead of sh?

Shake always uses sh, or rather the underlying Shell process execution of the Haskell process library, which itself uses sh. But you can use "/bin/bash -c 'rvm use 2.3.7 && bundle install'" as the command, not specify Shell at all, and it should work.

Yes. I got around to using /bin/bash manually but I was hoping to specify
that as a top-level config. A very easy runtime failure to avoid especially
when a number of commands are dealing with rvm and nvm.
On Mon, 8 Jun 2020, 20:09 Neil Mitchell<EMAIL_ADDRESS>wrote:

Shake always uses sh, or rather the underlying Shell process execution of
the Haskell process library, which itself uses sh. But you can use
"/bin/bash -c 'rvm use 2.3.7 && bundle install'" as the command, not
specify Shell at all, and it should work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ndmitchell/shake/issues/764#issuecomment-640671816,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAG5UO6NHUBM7ID7V3557DRVTZZPANCNFSM4NYNTY2A
.

Not unreasonable. A (ShellCommand String :: CmdOption) would be possible, so you could specify ShellCommand "/bin/bash"? My only reservation is that Shell works very differently on Windows and Linux, so if you specify ShellCommand then you're going to be losing that flexibility. In previous systems I've worked on I've defined:
bash x = cmd_ $ "/bin/bash -c '" ++ x ++ "'"

And that  has worked very well.


A Scan has a failure.. Please approve to proceed

Approval required for following Workflow to proceed.

WorkflowName
Workflow#
BranchName
TriggerEvent
LastCommitUser

build-test
80
refs/heads/main
push
Yog4Prog

Issue Details
Found an Issue while performing SCA Scan
:point_right: You are required to Approve (or) Reject the issue
Approve or Reject by commenting in the below section with any of the following keywords
:green_book:  Approved Keys: approved approve lgtm goahead proceed yes
:closed_book: Reject Keys: denied deny reject rejected no abort cancel exit
:point_right: Note: If left uncommented the issue will be closed after the timeout period and the workflow will be marked unsuccessful.

Approval waiting period elapsed. Approval request is automatically closed and workflow status is marked to Failed.


Important to note.

I was working with a scenario where we were not able to provision users to G suite from Azure ad. It is worth noting the solution we arrived at was ensuring there was a '/' at the start of the ou_id. We got the error 'Invalid Input: INVALID_OU_ID' which was resolved through the addition of the '/'. Just noting in case someone else comes across a similar scenario.

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

ID: 6eba9a3b-88e4-8156-a31e-58a74c604f28
Version Independent ID: 2e0e6273-3e21-1ea2-43f8-48e5effc9a83
Content: Tutorial: Configure G Suite for automatic user provisioning with Azure Active Directory
Content Source: articles/active-directory/saas-apps/google-apps-provisioning-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

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

@thomassimpson25 Thanks for letting us know. We will test this in our lab and then we will update the doc as you have mentioned here.

@chetansriv can you please get this step added in this article?

@thomassimpson25 We have added this attribute and added the "/" as suggested, please review.
#please-close


小程序真机调试报错'createView' of undefined

Cannot read property 'createView' of undefined
TypeError: Cannot read property 'createView' of undefined

canvas2d 不支持真机调试


rootkey init code cleanups

Carry @endophage's suggested cleanups from #801
Signed-off-by: Riyaz Faizullabhoy<EMAIL_ADDRESS>

LGTM!  Thanks for following up on this @riyazdf

LGTM but would like to wait to merge this until we get the import refactor stuff merged. Merging this will require that code to be rebased again because of import path changes and I don't want to have to do that.

@endophage no conflicts on this end, I'll merge this


fix ReactDOM.render no longer support React 18

#105
I have checked the example to make sure it runs correctly.
while fixing this issue I change the peer dependencies of the library, because as far as I know the package can support earlier version of react so why not let users with earlier version use it without any installation error.

thanks @ofirelarat
I had it done, but never pushed (just did) with some other changes/refactor in preparation for #110 & #113


handleActions: Return current state if no actions match?

Here's a vanilla reducer that returns the current state when no actions match the switch:
export const locationReducer = (state = locationInitialState, action) => {
  switch (action.type) {
    case SET_LOCATION_STATUS:
      return state.set(
        'status', action.payload
      );
    case SET_USER_LOCATION:
      return state.set(
        'location', action.payload
      );
    default: // this
      return state;
  }
};

From what I see in the docs, it is unclear if handleActions has this ability baked in or if it is missing (the ability to define this default case behavior). Thoughts?

https://github.com/acdlite/redux-actions/blob/master/src/handleAction.js#L27


Long help location

This adds a long description to the CLI application itself and moves it to the bottom to be more visible. This will help alleviate questions when running commands that have been removed in the newest version.

LGTM


Add multiplefolder and subfolder support

When using local: this module only loaded pictures in one folder. This update adds two features:

Recursive folder searching
Multiple folders support. To use this feature you just need to separate the folders with a comma or a semicolon. It still works with only a single folder.

Example:
local:/path/to/picture,/path/to/other/pictures;/another/folder

I'd like support for multiple sources, I was going to implement it myself. I'd like to point out, however, that recursive folder searching is already supported.


Auth and Data SDK's should support UWP/Windows apps as a first class citizen - only iOS and Android are supported today

Describe the solution you'd like
Auth and Data (Cosmos DB) SDK's should support UWP/Windows apps as a first class citizen - only iOS and Android are supported today.
Describe alternatives you've considered
There are no real alternatives right now, other than not using App Center for Auth and Data (Cosmos DB)
Additional context
UWP is an essential part of the dev cycle and is vital for many enterprise consumers of Xamarin apps.

Thanks @jimmccurdy for letting us know! UWP is the next platform we plan to support and on our roadmap. It's on our backlog right now, but there's no firm ETA. We'll keep this ticket open - and for folks who are interested, please feel free to comment/give it a thumbs up.
Thanks!

Hi all! Keeping everyone updated, there’s still no ETA on supporting UWP for Auth and Data. I’ll close this thread for now, please re-open or comment if you’ve any questions.


Missing (minor) instruction in 'Using SQL Server Management Studio'

[Enter feedback here]
On page:  https://docs.microsoft.com/en-us/sql/relational-databases/tables/create-unique-constraints?view=sql-server-ver15.
No instruction is given to close the Indexes/Keys dialog.  I suggest changing Point 4 from:
In the grid under General, click Type and choose Unique Key from the drop-down list box to the right of the property.
to;
In the grid under General, click Type and choose Unique Key from the drop-down list box to the right of the property and then click Close.

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

ID: 79da4db5-9188-132b-b6eb-4010171a34fd
Version Independent ID: 2ff26525-5bfd-00c8-942a-809b866a4bdb
Content: Create Unique Constraints - SQL Server
Content Source: docs/relational-databases/tables/create-unique-constraints.md
Product: sql
Technology: table-view-index
GitHub Login: @stevestein
Microsoft Alias: sstein

@mcalexster -- thank you for your feedback.  I am looking into this article.

Thank you for your feedback.  I have updated the documentation and it should be live by tomorrow.


{{auto}} IP address seems to be broken

Environment
How do you use Sentry?
Sentry SaaS
Which SDK and version?
PHP 3.1.0
Steps to Reproduce
According to the "Identify Users" docs:

Set to "{{auto}}" to let Sentry infer the IP address from the connection.

However, looking at Sentry\UserDataBag, there's no automatic translation going on. In fact, setIpAddress(?string $ipAddress), will throw an InvalidArgumentException if the argument isn't a valid IP address.
I haven't actually tested it, but this looks to be broken (or the docs are wrong).

Set to "{{auto}}" to let Sentry infer the IP address from the connection.

I think but I could be wrong here that this means it will infer it from the actual connection to sentry.io from the server the error is reported on so there won't be any client side translation.
So this is also not a very useful option for PHP applications since you probably want the IP of your users connection and not the IP of the server running the PHP code.
I'm sure this is a new option and we would have to allow that specific value I guess.

Since this is all about "identifying users", this should absolutely be the request's remote IP address, not the server's.
This is easily obtained with $_SERVER['REMOTE_ADDR'] in PHP.

Yes, but that is not achieved using {{auto}}, that what I meant.
So if you want to get the user IP this is already collected for you, and you do not have to set the IP to anything for it. Setting it to {{auto}} will instruct the Sentry server to fill it with the connection IP.
If you want to retrieve the connection IP we have a integration that is enabled by default that does this for your: https://github.com/getsentry/sentry-php/blob/1b4acb089c63246d1a6f074e4b5ebcfe80be2057/src/Integration/RequestIntegration.php#L134-L148.
Keep in mind the above integration only works if you set send_default_pii to true in the init call.

This seems more of a documentation bug to me, it doesn't make sense to me to implement this behaviour for this SDK...

This is server side. Not SDK side (except for allowing that exact value in the IP field).

This seems more of a documentation bug to me, it doesn't make sense to me to implement this behaviour for this SDK...

I'll confirm this on Monday. I also think it is a documentation bug, we use {{auto}} for JavaScript and some other platforms, might have gotten replicated to PHP accidentally.
And yes, the {{auto}} placeholder gets replaced by Relay when ingesting the event.


QR Image Not Loading

After setting up Web3Modal by following the documentation, no QR codes are loading for me to scan when testing in the editor.
Unity Version: 2022.3.11f1
Web3Modal Version: 0.3.1

There doesn't seem to be any errors and the logs seem to indicate I established a connection.
Connector.Connect UnityEngine.Debug:Log (object) WalletConnect.Web3Modal.Connector:Connect () (at ./Library/PackageCache/com.walletconnect.web3modal@0.3.1/Runtime/Connectors/Connector.cs:62)
Got connection UnityEngine.Debug:Log (object) WalletConnect.Web3Modal.Connector:Connect () (at ./Library/PackageCache/com.walletconnect.web3modal@0.3.1/Runtime/Connectors/Connector.cs:68)

Hello,
It appears the app did not receive a response from the WalletConnect relay. Could you please answer a few questions to help me better understand the situation?

What's your operating system?
Do you have VPN/Proxy enabled?
Can you access https://walletconnect.com/ in your browser without VPN/Proxy in your network?
Have you tried connecting on another network?
What target platform is selected in the build settings?

Windows 10
No VPN/Proxy
Yes I can access walletconnect.com
I tried 2 different Wifi networks that I have
Build settings are for Windows

I found more logs when I enabled logging in the config, this comes after the logs I sent above. (I removed the params in-case my app id is in there)
[Relayer] Checking for established connection
[Relayer] Sending request through provider
[JsonRpcProvider] Checking if connected
[JsonRpcProvider] Sending request irn_subscribe with data {"method":"irn_subscribe","params":{}
[Relayer] Checking for established connection
[Relayer] Sending request through provider
[JsonRpcProvider] Checking if connected
[JsonRpcProvider] Sending request irn_publish with data {"method":"irn_publish","params":{}
Sometimes if I try to reload a QR after this I get a couple expired topic logs, then an unsubscribe log:
Expired topic topic:1557bade5ac4527512223d3b6cfdfb09eae1a38ffad2196223153f7ba7dc4c68
Expired topic id:74258315530174
[JsonRpcProvider] Sending request irn_unsubscribe with data {"method":"irn_unsubscribe","params":{}

I just tried a build and it seems to be the same issue, so not just an editor problem.

@WoodsFiend thank you providing more information 🙏
It looks like the problem is with the ZXing library used for generating QR code images. I'm looking into it. Meanwhile, can you confirm if the "Copy link" button on the screen where the QR code should appear is working for you? Does it copy the WalletConnect connection URI?

@skibitsky Yes it does copy the WalletConnect connection URI

Hey @WoodsFiend,
Sorry for the delay. I have fixed the warning in the recent release. Could you please upgrade Web3Modal to v0.3.2 and check if the issue persists?

I also have this issue.
"com.walletconnect.web3modal": "0.4.1"

@mrsaleh do you use linear or gamma color space?

@skibitsky Linear color space

I just manually generated QRCode , and it worked , I also achieved to connect my trust wallet by scanning the QRCode. So I'm pretty sure QRCode generation is the issue.
`[SerializeField]
private Image _qrCode;
private static Color32[] Encode(string textForEncoding, int width, int height) {
    var writer = new BarcodeWriter {
        Format = BarcodeFormat.QR_CODE,
        Options = new QrCodeEncodingOptions {
        Height = height,
        Width = width
        }
    };
    return writer.Write(textForEncoding);
}

public Texture2D generateQR(string text) {
    var encoded = new Texture2D (256, 256);
    var color32 = Encode(text, encoded.width, encoded.height);
    encoded.SetPixels32(color32);
    encoded.Apply();
    return encoded;
}

public async UniTask Start(){
    // Initialize singleton

    await WalletConnectUnity.Core.WalletConnect.Instance.InitializeAsync();

    // Or handle instancing manually
    var walletConnectUnity = new WalletConnectUnity.Core.WalletConnect();
    await walletConnectUnity.InitializeAsync();

    var dappConnectOptions = new ConnectOptions()
    {
        RequiredNamespaces = new RequiredNamespaces().WithProposedNamespace("eip155", new ProposedNamespace(){
                    Methods = new[]
                    {
                        "eth_sendTransaction",
                        "eth_signTransaction",
                        "eth_sign",
                        "personal_sign",
                        "eth_signTypedData",
                    },
                    Chains = new[]
                    {
                        "eip155:1"
                    },
                    Events = new[]
                    {
                        "chainChanged",
                        "accountsChanged",
                    }
        })
    };
    // Try resume last session
    var sessionResumed = await WalletConnectUnity.Core.WalletConnect.Instance.TryResumeSessionAsync();
    if (!sessionResumed)
    {
        var connectedData = await WalletConnectUnity.Core.WalletConnect.Instance.ConnectAsync(dappConnectOptions);

        Debug.Log("Generating qr code!");
        // Create QR code texture
        // var texture = WalletConnectUnity.Core.Utils.QRCode.EncodeTexture(connectedData.Uri);
        Debug.Log(connectedData.Uri);
        Texture2D texture = generateQR(connectedData.Uri);

        Debug.Log("QR code generated!");
        Debug.Log(texture);
        _qrCode.sprite = Sprite.Create(texture,new Rect(0,0,texture.width,texture.height),new Vector2(0.5f,0.5f));
        // ... Display QR code texture

        // Wait for wallet approval
        var res = await connectedData.Approval;
        Debug.Log($"wallet address: {res.Self.PublicKey}");

    }else{
        var res = WalletConnectUnity.Core.WalletConnect.Instance.ActiveSession;
        Debug.Log($"wallet address: {res.Self.PublicKey}");

        Debug.Log($"wallet address: {res.CurrentAddress("eip155:1").Address}");
    }
}`

@skibitsky I opened a pull request for this https://github.com/WalletConnect/Web3ModalUnity/pull/16
Apparently it was the QRCode generator library issue. I will also report the issue to the library repository. Maybe in the future we can get back to higher resolution.

Hey @mrsaleh,
Thank you for this!
Could you please provide more details about your issue?

What operating system are you using?
On which platform does the issue occur (e.g., Editor, Windows 11 Mono, Android 14 IL2CPP, etc.)?
Are there any exceptions or error messages logged?

Hey @mrsaleh @WoodsFiend,
Could you please upgrade to v0.4.2 and check if that solves the issue?


Patch 1

Hey, added .gitignore to handle my emacs nastiness as well as Python ignores
Also fixed the Python 2.x vs 3.x oddities.

Needs more emoji. :mag: :cactus:


[MoveosVM]  Can not upgrade module when add init function

Publish a module without the init function.
Add the init function, and publish it --by-move-action.
The transaction will fail.

execute_user_action error tx(hash:0x2fc7…3b0a) vm_err:VMError { major_status: FUNCTION_RESOLUTION_FAILURE, sub_status: None, message: Some("Cannot find ModuleId { address: 5078ae74bac281e65fc446b467a843b186904a1b2d435f367030fc755eef1081, name: Identifier(\"entry_function\") }::IdentStr(\"init\") in cache"), exec_state: None, location: Undefined, indices: [], offsets: [] } need_respawn:true

In the PR #1125

Is this a reasonable situation that upgrade a module with new-added init fucntion?

yes


added instruction for future funding calls

This PR is the result of me readinf the cycle 3 project description. In some cases, I really did not know how to vote because it was unclear to me who benefits from this proposal. For example, for the AstropyLearn proposal a little more specific info (e.g. page views, use cases, audiences) would have helped me to understand if this will be money well spend.
The same is true for a few other proposals in cycle 3; so I tried to add a sentence so that people who write future funding requests can keep that in mind.
Since it's not appropriate to change the doc in the cycle3 directory at this stage, I've copied the file to the template directory where it will be found next year.

Alternately, you could also implemented this as a GitHub issue template. See examples in https://github.com/astropy/astropy-project/tree/main/.github/ISSUE_TEMPLATE

We have templates now, so I don't think we need this anymore.
https://github.com/astropy/astropy-project/tree/main/.github/ISSUE_TEMPLATE


Combine D415 with T265 question

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

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

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

Required Info

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

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

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

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

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

SDK Version
{ legacy / 2.. }

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

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

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

I have both T265 and D415 and I wonder how can I collect the pointcloud from D415 from one pose (I found documentation about pointscloud in this forum) and then append new one on this taking into account T265 translation and rotation from new position. I want to do this in python but haven't found something relative in the forum.

Intel have published a guide for using the T265 and 400 Series depth cameras together.
https://www.intelrealsense.com/depth-and-tracking-combined-get-started/
The document features a link to a ROS package that can be used to generate a 2D occupancy map based on depth images and poses from depth and tracking cameras respectively.  Here is the direct link to the package for your convenience.  I'm not sure it is exactly what you were looking for but may provide useful guidance.
https://github.com/IntelRealSense/realsense-ros/tree/occupancy-mapping/occupancy`1

thank you for your quick reply ... second link doesn't seem to work

I was looking more for some python examples about it to build my own script

I have edited the second link to work.  Sorry about that.
I searched very carefully for a long time for a Python example for combining depth and tracking but could not find one unfortunately.  The question has come up a couple of times before, such as in the case linked to below:
https://forums.intel.com/s/question/0D50P00004LVODx/how-do-i-transform-a-d435-point-cloud-using-the-pose-from-a-t265-tracking-camera-in-python?language=en_US
The link below describes using ROS with a program called Rviz to update a point cloud based on the orientation of the T265.
https://github.com/IntelRealSense/realsense-ros/issues/1011#issuecomment-562078935

I have the same issue when I combine D435i and T265 cameras together to get the point cloud...

@isirana  Is your dad issue that you are looking for a Python script for using D435i and T265 together please?

@isirana Is your same issue that you are looking for a Python script for using D435i and T265 together please?

yes, it is the same issue.... I have tried different ways, but I couldn't solve it.

I found a case with a Python script where the user was trying to use D435 and T265 together with Python.  They posted their script, and a member of the Intel RealSense team made a code-fix comment below it that the user said made the script work successfully.
https://github.com/IntelRealSense/librealsense/issues/3697#issuecomment-483089732

I found a case with a Python script where the user was trying to use D435 and T265 together with Python. They posted their script, and a member of the Intel RealSense team made a code-fix comment below it that the user said made the script work successfully.
#3697 (comment)

Thanks, I will try to do that

Hi @gerokatseros
I think this thread can be closed since a lot of good information has been provided by MartyG-RealSense.  Let us know if anything else is needed on this thread.