2525C Symbols not drawing correctly in Runtime as of 10.2.2

This issue will capture a list of all the 2525C symbols not drawing in Runtime as of 10.2.2 (just to get these all in one place), links to other/duplicate/linked issues recorded in Notes:

ID
Name
Issue/Notes

SFGPEVCF-------
Small/light flatbed trailer tractor trailer truck
Unknown Symbol (for all affiliations/frame)

WA-DIPFF---L---
OPERATOR-DEFINED FREEFORM(METOC.AMPHC.ISP.ODFF)
See #17 - to be addressed at 2525Delta

WAS-WP----P----
Wind Plot (METOC.AMPHC.WND.PLT)
See #17

WOS-HHDR---L---
REEF (METOC.OCA.HYDGRY.DANHAZ.REEF)
See #17  - to be addressed at 2525Delta

WO-DMCA----L---
SUBMARINE CABLE (METOC.OCA.MMD.SUBCBL)
See #17  - to be addressed at 2525Delta

WO-DHCF---***--
Foreshore
See #17  - to be addressed at 2525Delta

WOS-HALH--P----
Lighthouse
Missing Ray lines around circle

G*MPOADC------X
Antitank Ditch
Teeth wrong direction (compare to GFMPOAW-------X)

G*MPOAW-------X
Antitank Wall
Teeth wrong direction (compare to GFMPOAW-------X)

2525C Issue - changing milestone to deferred

Tested with Runtime symbol test app from @csmoore.
Three of these (Reef and Submarine cable line symbols and Flatbed Trailer point symbol) seem to be drawing correctly (green in graphic, below).
Lighthouse point marker symbol needs to have rays added to PNG and symbol reloaded - this is an easy fix.
The Wind Plot symbols are a duplicate SIC error with the standard; multiple symbols are related to the same SIC (WAS-WP----P----). I don't think we can do anything about this for a runtime app. We should check in Pro to make sure that all of these symbols are available for manual drawing.
The AntiTank Wall and Antitank ditch line symbols are both drawing the correct shape toothed lines. Unfortunately, the standard has the drawing order for these two flipped.
We may be able to adjust the direction of the teeth to draw as the OP suggests.

@BobBooth Please break out the 3 remaining symbols that are drawing incorrectly. Log these as individual issues in the https://github.com/Esri/military-symbology repo. Use https://github.com/Esri/military-symbology/issues/261 as a template.

@lfunkhouser - I created a new issue for the foreshore symbol: https://github.com/Esri/military-symbology/issues/266
The Antitank Ditch/Wall conflict: https://github.com/Esri/military-symbology/issues/273
and Wind Plot symbol: https://github.com/Esri/military-symbology/issues/274

@BobBooth Can you write up the final issue for Small/light flatbed trailer tractor trailer truck. This is SIDC SFGPEVCFL------ not SFGPEVCF-------.

@lfunkhouser - both these symbols SFGPEVCFL------ and SFGPEVCF------- and their U,H,N affiliation variants, are currently drawing correctly.

cd ..\RuntimeSymbolExport\bin\Debug
RuntimeSymbolExport.exe mil2525c SUGPEVCF------- //U - Unknown
RuntimeSymbolExport.exe mil2525c SFGPEVCF------- //F - Friendly
RuntimeSymbolExport.exe mil2525c SNGPEVCF------- //N - Neutral
RuntimeSymbolExport.exe mil2525c SHGPEVCF------- //H - Hostile
// try the ..FL combo
RuntimeSymbolExport.exe mil2525c SUGPEVCFL------ //U - Unknown
RuntimeSymbolExport.exe mil2525c SFGPEVCFL------ //F - Friendly
RuntimeSymbolExport.exe mil2525c SNGPEVCFL------ //N - Neutral
RuntimeSymbolExport.exe mil2525c SHGPEVCFL------ //H - Hostile

@BobBooth When I search for "flatbed" using the MSE, I only get 4 results - the version with affiliation = *. This is not the same experience when searching for a unit, such as infantry. You get all affiliations. Was this intentional? @csmoore @topowright @dfoll

@lfunkhouser - I'm seeing that behavior too in MSE with 2525B. Possibly a tagging issue?
The symbols with the correct frame/background are available, if you select the one that is returned by the search and then modify its Identifty/Affiliation on the Symbol tab.
@csmoore - do you think this was an oversight, or by design?

@lfunkhouser - it seems to be equipment-specific behavior.  "Tank" and "Launcher" do the same thing.

I'm not sure I understand what the question is, but if the issue is that some symbols searches return 1 symbol and some return 4 symbols (1 for each affiliation) - that is because some symbols have 1 entry in the style (these don't touch the frame) and some have 4 entries (these have 4 different icons that touch the frame).
For example - one entry:

And 4 entries ( compared side-by-side with the style manager search of the style):

If this is this question, then this simple seach behavior was intented (but can be changed).

Thanks @csmoore for clarifying the design decision made. Closing.

Full-frame icons have 4 entries in the stylx because the icon sizes will be different based on the shape of the frame
Icons that do not extend beyond the octagon have 1 entry in the stylx based on the octagon fits within each frame shape


chore: expose scalar index

expose scalar index APIs module.

Though this is already a part of #1592

Oh I did not see that PR. Disregard this one then


As a developer, I would like to have a class library for Productivity skills that I can reference so I don't have to dupicate the logic for accessing mail, contacts, appointments, etc.

Describe the solution you'd like
When the user says, "What can I do in the car while driving" I would like to create an adaptive card that shows the user's meetings, todos and also some other custom things the user can do (based on some other services, like do an oil change for example).
The Calenar and To Do skills provide this infromation in isloation.
In order to build this aggregate, I will need to duplicate the services code used to access the configured email, calendar and to do providers.
Describe alternatives you've considered
Copying and pasting skills code in my agregated skill.
Write my own version of the services code.
I could avoid this if f the ServicesClients namespace in each skill was provided as a separate dll that I can reference to create custom agregations.

This is a feature we do not support now.
The right approach should be VA sends a message (an event) to all skills asking for response for particular scenarios, in this case something the customer can do in the car while driving. It should be up to the skill to decide what the skill wants to support, depending on different scenario (events).

tracked


Does hitnet require a lot of GPU memory?

I try to use HITNET.
GPU : Nvidia GeForce RTX 2060 SUPER
Memory Size : 7981MiB
root@2c4b59e82551:/workspace/hitnet# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS"

I attempted stereo matching for MiddleBury as follows:
bash predict_middlebury.sh

Then It will omit an error like the following:
(ellipsis)

2021-10-19 05:19:40.789846: I tensorflow/core/common_runtime/bfc_allocator.cc:917] 2 Chunks of size 482344960 totalling 920.00MiB
2021-10-19 05:19:40.789866: I tensorflow/core/common_runtime/bfc_allocator.cc:917] 2 Chunks of size<PHONE_NUMBER> totalling 2.88GiB
2021-10-19 05:19:40.789886: I tensorflow/core/common_runtime/bfc_allocator.cc:921] Sum Total of in-use chunks: 4.37GiB
2021-10-19 05:19:40.789905: I tensorflow/core/common_runtime/bfc_allocator.cc:923] total_region_allocated_bytes_:<PHONE_NUMBER> memory_limit_:<PHONE_NUMBER> available bytes: 204 curr_region_allocation_bytes_:<PHONE_NUMBER>
2021-10-19 05:19:40.789937: I tensorflow/core/common_runtime/bfc_allocator.cc:929] Stats:
Limit:<PHONE_NUMBER>
InUse:<PHONE_NUMBER>
MaxInUse:<PHONE_NUMBER>
NumAllocs:                    1400
MaxAllocSize:<PHONE_NUMBER>

2021-10-19 05:19:40.790006: W tensorflow/core/common_runtime/bfc_allocator.cc:424] *************************_*****************__*****_________************************____________*****
2021-10-19 05:19:40.790060: W tensorflow/core/framework/op_kernel.cc:1651] OP_REQUIRES failed at conv_grad_input_ops.cc:1063 : Resource exhausted: OOM when allocating tensor with shape[2,32,2048,2944] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1365, in _do_call
    return fn(*args)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1350, in _run_fn
    target_list, run_metadata)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1443, in _call_tf_sessionrun
    run_metadata)
tensorflow.python.framework.errors_impl.ResourceExhaustedError: 2 root error(s) found.
  (0) Resource exhausted: OOM when allocating tensor with shape[2,32,2048,2944] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
	 [[{{node graph/fe_shared/conv_upsample_0/conv2d_transpose}}]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.

	 [[graph/reference_output_disparity/_155]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.

  (1) Resource exhausted: OOM when allocating tensor with shape[2,32,2048,2944] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
	 [[{{node graph/fe_shared/conv_upsample_0/conv2d_transpose}}]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.

0 successful operations.
0 derived errors ignored.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "predict_test.py", line 301, in <module>
    app.run(main)
  File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 300, in run
    _run_main(main, args)
  File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 251, in _run_main
    sys.exit(main(argv))
  File "predict_test.py", line 255, in main
    reference_disparity = sess.run(reference, feed_dict=feed_dict)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 956, in run
    run_metadata_ptr)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1180, in _run
    feed_dict_tensor, options, run_metadata)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1359, in _do_run
    run_metadata)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/client/session.py", line 1384, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.ResourceExhaustedError: 2 root error(s) found.
  (0) Resource exhausted: OOM when allocating tensor with shape[2,32,2048,2944] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
	 [[node graph/fe_shared/conv_upsample_0/conv2d_transpose (defined at /usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py:1748) ]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.

	 [[graph/reference_output_disparity/_155]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.

  (1) Resource exhausted: OOM when allocating tensor with shape[2,32,2048,2944] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
	 [[node graph/fe_shared/conv_upsample_0/conv2d_transpose (defined at /usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py:1748) ]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.

0 successful operations.
0 derived errors ignored.

Original stack trace for 'graph/fe_shared/conv_upsample_0/conv2d_transpose':
  File "predict_test.py", line 301, in <module>
    app.run(main)
  File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 300, in run
    _run_main(main, args)
  File "/usr/local/lib/python3.6/dist-packages/absl/app.py", line 251, in _run_main
    sys.exit(main(argv))
  File "predict_test.py", line 238, in main
    tf.import_graph_def(graph_def, name='graph')
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/util/deprecation.py", line 513, in new_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/importer.py", line 405, in import_graph_def
    producer_op_list=producer_op_list)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/importer.py", line 517, in _import_graph_def_internal
    _ProcessNewOps(graph)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/importer.py", line 243, in _ProcessNewOps
    for new_op in graph._add_new_tf_operations(compute_devices=False):  # pylint: disable=protected-access
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 3561, in _add_new_tf_operations
    for c_op in c_api_util.new_tf_operations(self)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 3561, in <listcomp>
    for c_op in c_api_util.new_tf_operations(self)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 3451, in _create_op_from_tf_operation
    ret = Operation(c_op, self)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 1748, in __init__
    self._traceback = tf_stack.extract_stack()

So I changed the code as follows and tried again, but I still get the same error.
# on predict_middlebury.sh
- MODEL_NAME="middlebury_d400.pb"
+ MODEL_NAME="middlebury_d160.pb"

and
# on predict.py
config = tf.ConfigProto(
          gpu_options=tf.GPUOptions(
              per_process_gpu_memory_fraction=0.8,
              allow_growth=True
              )
          )

I think it is generally known that the Resource exhausted problem can be solved by lowering the batch size, but I assume that Hitnet does not have a batch size. Is this assumption correct?
I think the reason Hitnet can't run is because it's not avoiding Resource exhausted, does anyone know how to work around this problem?

Okay, so I tried to check resolution below :
In [1]: import cv2

In [2]: img_l = cv2.imread('/home/ubuntu/Flowers-perfect/im0.png')

In [3]: img_l.shape[0]
Out[3]: 1980

In [4]: img_l.shape[1]
Out[4]: 2880

and I have created the following shell script that crops and then inputs image-pair into HITNET like this.

I tried HITNET with GPU: Nvidia GeForce RTX 3060, Memory Size : 6GB.
And I get the same error. Have you solved it now?

@FUJI-W It is not an essential solution, but it could be deduced by downsampling the input image.
The resolution criteria at that time were not clear, and 1080/720 could be inferred, but not 720/480, so experimental downsampling was necessary.

Thanks a lot! It works!


Add async/await support and improved JSContext

The main goal of this PR is to introduce support for C# async/await.
To implement it we are adding a new class JSSynchronizationContext.
It can be created in the beginning of C# async function to be captured by await to continue execution on it after returning from a background thread. See the async_method.js and AsyncMethod.cs test as an example.
The JSSynchronizationContext is based on the new JSThreadSafeFunction wrapper for napi_threadsafe_function.
The napi_threadsafe_function has a ref count for threads that use it. It is controlled by the Acquire/Release calls.
If we have any thread that still uses the napi_threadsafe_function, then the environment cannot be shutdown.
Thus, I could not find a way to have a pseudo-global JSSynchronizationContext which is kept in JSContext for a lifetime of a module. So far, the only solution that works is to explicitly create the JSSynchronizationContext along with JSThreadSafeFunction when needed. I hope it should be possible to do in the generated code around async methods in future.
Since I was playing with the JSContext where I planned to store the JSSynchronizationContext, this PR also contains JSContext improvements:

JSContext is not global. It is created per module.
JSContext wraps up napi_env.
napi_env encapsulates JSContext as its instance data. Thus, we can easily go between JSContext and napi_env.
Since JSContext is storing itself as an instance data, it must be created after we establish JSValueScope.
JSContext.Current implementation is based on the JSValueScope.Current. We use it to get napi_env and then retrieve its instance data.
napi_env in JSReference is replaced by JSContext. We can check JSContext.IsDisposed to see if we are allowed to do any napi_ref operations. In some sense the JSContext to JSReference as the JSValueContext to JSValue.
JSContext holds the Module and responsible for its disposing.
A number of other changes to code gen and hosting classes to enable this JSContext design improvements.

I could not find a way to have a pseudo-global JSSynchronizationContext which is kept in JSContext for a lifetime of a module.

I might have some ideas, but I'll wait to experiment after this is checked in.

I hope it should be possible to do in the generated code around async methods in future.

Certainly that can be done. I was waiting on handling async methods in the code generator until we got this issue worked out. The simple thing to do will be to only set up a sync context for exported async methods. However technically it should be done for sync methods also, in case those sync methods somewhere call an async void method that needs to return to the JS thread after an await. However with the current design I think creating a sync context for every sync method would be too expensive. But we'll try to optimize that.

I might have some ideas, but I'll wait to experiment after this is checked in.

I am curious to see how it can be done. I feel that the Acquire/Release pattern is a correct one, I just cannot find the right place to call the Release method when we have a TSFN owned by JSContext. TSFN keeps a strong reference to napi_env in terms of classical ref count Ref/Unref. TSFN destructor calls Unref. Thus, napi_env cannot be deleted until we have a single TSFN. If JSContext references TSFN, then we effectively have a reference count loop. We must find a way to break this loop.
My only hope is that we can subscribe to the process shutdown event to initiate breaking the ref count loop by calling TSFN Release. But to keep it working correctly, we still need to Acquire/Release for each async call. It is needed for BG not to crash when we call Post. Though, we may consider an alternative mechanism to protect the Post calls.


Unable to click on element which is visible!

I am using appium studio to test and verify all the actions on the controls using winappdriver.
Now when i try to click onto an element which is visible it shows following error.
Call to 'tap' failed
[element.click()] Error response status: 105 Selenium error: An element command could not be completed because the element is not pointer- or keyboard interactable.
Following is the server log:
POST /session/629AEB9F-F93E-46F0-AD48-77BC74E27F35/element/42.7604374.4.-166/click HTTP/1.1
Accept: application/json
Connection: keep-alive
Content-Length: 2
Content-Type: application/json; charset=UTF-8
Host: <IP_ADDRESS>:4723
User-Agent: admc/wd/1.11.1
{}
HTTP/1.1 400 Bad Request
Content-Length: 175
Content-Type: application/json
{"status":105,"value":{"error":"element not interactable","message":"An element command could not be completed because the element is not pointer- or keyboard interactable."}}

1)Did you try this in debug mode by putting break points? Try by adding wait condition before.
2) Identify your element with more than one property. Ex FindelementByName(" " ).findElelementByClassName(" "). I faced an issue where an element is having same identification property at different child level of same control. So adding classname (ex:TextBox) helped to locate it.

Do what @VijayHugar said.
But i'd also like to add.
Make sure it's within the same session. I've had some older apps throw alerts that are not part of the session, so I've had to attach to the desktop session not just the app.

This is probably because the IsKeyboardFocusable is set to false for that property. Check your spy tool, is this attribute set to False? I have seen times where there was a few options I could use to locate and click the element, make sure there is not a nested element or a better one you should be using. Attempt this first before moving on to second suggestion.
Another workaround is to still locate the element, but instead of using the .Click() approach, grab the location and use the Actions class to do a generic click given the X & Y coordinates (which can be adjusted if its not clicking the right spot). Something like...
Actions actions = new Actions(session);
WindowsElement element = session.FindElementByName("...");

offsetX = 10;
offsetY = 10;

actions.MoveToElement(element, offsetX, offsetY).Click().Perform();

The offsetX & offsetY can be used to adjust the location that is being clicked. This approach will by default click the top left corner of the element which in some cases may not be desirable.

The elements are not available for interaction if their .Displayed property is set to false. Is this the only element that's got the properties which meets your search criteria. Maybe there's another hidden element also with which WinAppDriver is trying to interact instead of the one you think it should.

1)Did you try this in debug mode by putting break points? Try by adding wait condition before.
2) Identify your element with more than one property. Ex FindelementByName(" " ).findElelementByClassName(" "). I faced an issue where an element is having same identification property at different child level of same control. So adding classname (ex:TextBox) helped to locate it.

I have tried all the mentioned suggestion but none is working in my case!
isKeyboardFocusable = True
ifOffscreen  = True
Whenever try to print rect coords it is showing nothing just  0,0,0,0
To perform any action we need its coords but its not working as well. I guess winappdriver not updating the source with the current state of an application

This is probably because the IsKeyboardFocusable is set to false for that element. Check your spy tool, is this attribute set to False? I have seen times where there was a few options I could use to locate and click the element, make sure there is not a nested element or a better one you should be using. Attempt this first before moving on to second suggestion.
Another workaround is to still locate the element, but instead of using the WinAppDriver .Click() approach, grab the location and use the Actions class to do a generic click given the X & Y coordinates (which can be adjusted if its not clicking the right spot). Something like...
Actions actions = new Actions(session);
WindowsElement element = session.FindElementByName("...");

int offsetX = 10;
int offsetY = 10;

actions.MoveToElement(element, offsetX, offsetY).Click().Perform();

The offsetX & offsetY can be used to adjust the location that is being clicked. This approach will by default click the top left corner of the element which in some cases may not be desirable.
Is keyboardfocusable is showing True but isOffScreen is showing True as well even that element is in View. Its displyed property returning false which is not correct.

How we can click on an element which coordinates are showing 0,0,0,0,0??

@akashdiware are you able to share the code of how you are trying to access that element and a screenshot of what the spy tool shows?

Hey there any one found any solution for this issue!

@akashdiware are you able to share the code of how you are trying to access that element and a screenshot of what the spy tool shows?

I can not share actual code, but i will explain how i am accessing an element.
element = driver.find_element_by_name('name')
element.click()
With the above code it is scrolling to the specific element but not performing the click event then it will generate an above mentioned exception!
When an element is get scrolled then again i try to send click event to it but still same exception.

Have you tried any debugging? Possibly throwing that element.click() in a try/catch block and printing out the exception? From this you can also catch the error and try again to determine if its a stability issue with your code.

Have you tried any debugging? Possibly throwing that element.click() in a try/catch block and printing out the exception? From this you can also catch the error and try again to determine if its a stability issue with your code.

Yes I have tried that to. Wrap that in try catch block but it is not working! Same Exception is there as stated in the first comment of this thread! I have also explored the that other issues with similar problem is still open.
I think Microsoft have stopped working on it.

I dont think the problem is with WinAppDriver, this is a common error can imply the following..

You are not identifying the element in the best way, make sure you are checking that no other elements can be used to identify the same thing. Use the Highlight option on the spy tool
You are not including any sort of stable waits in your code, there are examples of doing this on other posts such as https://github.com/microsoft/WinAppDriver/issues/1151. Key here is to catch errors that would otherwise fail the tests and just wait for the element to be accessible.
The element is not in view and you need to scroll to it. I have implemented ways to do this just sending page.down keys.

This is likely something you will just have to get creative about and implement. Without screenshots of the spy tool or examples of your code, theres not much to go off of

The identifier which is i am using is very unique to identify it and by going through the page source i can confirm that there is only one element with that identifier.

Even for other elements which are in a clear view throwing the same errors.
Although those elements are also unique.

I don't need to add waiting because I am debugging that application with the idle but still it is not working.

And it is strange that even that element is in view but its off screen property is true.

Maybe something is wrong in application's UI. Maybe its some sort of bug,.

Maybe something is wrong in application's UI. Maybe its some sort of bug,.

Yes it might be an issue! But when i use other library like pywinauto to identify same element and perform an event it is working super fine.

What is shown in inspect.exe

i am also having the same issue, on the same page i am able to click on few elements without any issue but for some of the elements it says not interactable, though in Inspect.exe it clearly shows keyboardfocusable property True also i can confirm that this is the only unique element so not sure what is wrong
anybody has any luck  ? what else i can try, when i find element with assessibilityID i do find element , only thing is i cant perform any action on it

i just checked and when i get property and element control through findelementwithassessibilityID , in the properties it shows Displayed False, that could be the reason but on screen it is clearly visible, i will try clicking on the location and will update

Any luck or solution here? I am also facing similar issue.

Any luck or solution here? I am also facing similar issue.

Let me check and get back to you
On Thu, Jan 21, 2021 at 9:24 AM ankursha1<EMAIL_ADDRESS>wrote:

Any luck or solution here? I am also facing similar issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/WinAppDriver/issues/1176#issuecomment-764809235,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARGUDZHSJGQTACFJ5FDX4UTS3BPLFANCNFSM4NNBB2EQ
.

--
bhupinder...

Let me check and get back to you
On Thu, Jan 21, 2021 at 9:24 AM ankursha1<EMAIL_ADDRESS>wrote:

Any luck or solution here? I am also facing similar issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/WinAppDriver/issues/1176#issuecomment-764809235,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARGUDZHSJGQTACFJ5FDX4UTS3BPLFANCNFSM4NNBB2EQ
.

--
bhupinder...

Note: only if desktop application is developed using electronjs
Well I have one suggestion if your desktop application is written in JavaScript with electronjs then you can use selenium for it.
You can use chrome driver's remote debugging to automate app using selenium.

Note: only if desktop application is developed using electronjs
Well I have one suggestion if your desktop application is written in JavaScript with electronjs then you can use selenium for it.
You can use chrome driver's remote debugging to automate app using selenium.

Let me double check as i think we were able to solve that not clicking
problem
On Thu, Jan 21, 2021 at 9:35 AM Akash Diware<EMAIL_ADDRESS>wrote:

Note: only if desktop application is developed using electronjs
Well I have one suggestion if your desktop application is written in
JavaScript with electronjs then you can use selenium for it.
You can use chrome driver's remote debugging to automate app using
selenium.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/WinAppDriver/issues/1176#issuecomment-764816571,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARGUDZEC6CAMZQREZVWAKE3S3BQXJANCNFSM4NNBB2EQ
.

--
bhupinder...

Let me double check as i think we were able to solve that not clicking
problem
On Thu, Jan 21, 2021 at 9:35 AM Akash Diware<EMAIL_ADDRESS>wrote:

Note: only if desktop application is developed using electronjs
Well I have one suggestion if your desktop application is written in
JavaScript with electronjs then you can use selenium for it.
You can use chrome driver's remote debugging to automate app using
selenium.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/WinAppDriver/issues/1176#issuecomment-764816571,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARGUDZEC6CAMZQREZVWAKE3S3BQXJANCNFSM4NNBB2EQ
.

--
bhupinder...

@akashdiware  you can try click by javascript, it works for me.
WebElement e = driver.findElement(By.name("button"));
JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript(
"windows: click", Map.of(
"elementId", e.getAttribute("RuntimeId")
)
);


Update Velox build script

What changes were proposed in this pull request?
Removed -mno-avx512f flag from build process.
Update Ubuntu build script human-readable.
Remove sed from wherever it is possible.
Make the build process more configurable.
Enable all options to be read from environment variables.
Move all commands to after the functions definitions.
Make setting nproc configurable - else it will often fail in cloud builds.
Some other improvements.
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)

I think "-mno-avx512f" is necessary for velox build. In our machine, we will get error.
../../velox/common/base/tests/SimdUtilTest.cpp:65:70:   required from here
../.././velox/common/base/SimdUtil-inl.h:222:39: error: static assertion failed
  222 |             static_assert(Batch::size == 4);
      |                                  ~~~~~^~~~

@zhejiangxiaomai  Done.

--But we should have a way to enable avx512 gcc flag. The worst way is to add --target_arch=SKL/ICX/CLX/SPR, etc. to build commandline.
Ok, I see.

@zhejiangxiaomai Done.

The CI still have some error. I think you can use ./dev/buildbundle-veloxbe.sh to debug error. Because this script will install gluten+velox.


signal-desktop: 5.27.0 -> 5.29.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/signal-desktop/versions.
meta.description for signal-desktop is: "Private, simple, and secure messenger"
meta.homepage for signal-desktop is: "https://signal.org/"
meta.changelog for signal-desktop is: "https://github.com/signalapp/Signal-Desktop/releases/tag/v5.29.0"
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/hkairwnrnvjf8nyr7lg7kz9jzwbwi4hb-signal-desktop-5.29.0/bin/.signal-desktop-wrapped had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/hkairwnrnvjf8nyr7lg7kz9jzwbwi4hb-signal-desktop-5.29.0/bin/signal-desktop had a zero exit code or showed the expected version
0 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 5.29.0 with grep in /nix/store/hkairwnrnvjf8nyr7lg7kz9jzwbwi4hb-signal-desktop-5.29.0
found 5.29.0 in filename of file in /nix/store/hkairwnrnvjf8nyr7lg7kz9jzwbwi4hb-signal-desktop-5.29.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
signal-desktop

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/hkairwnrnvjf8nyr7lg7kz9jzwbwi4hb-signal-desktop-5.29.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A signal-desktop https://github.com/r-ryantm/nixpkgs/archive/f2f86f3c9ec6b9ec79dca798b76e752918e3a93a.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/hkairwnrnvjf8nyr7lg7kz9jzwbwi4hb-signal-desktop-5.29.0
ls -la /nix/store/hkairwnrnvjf8nyr7lg7kz9jzwbwi4hb-signal-desktop-5.29.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

signal-desktop

Maintainer pings
cc @ixmatus @primeos @equirosa for testing.

Currently blocked but I'll probably update it soon as there's no real alternative: https://github.com/NixOS/nixpkgs/pull/154003


need cannabis subdomains to resolve on DCC hardware

All the subdomains we setup so far under cannabis.ca.gov are not resolving on DCC hardware. They work on personal devices and for CDT and ODI personel.
Domains being tested:

headless.cannabis.ca.gov
api.cannabis.ca.gov

These were setup different ways, CDT requested the api subdomain to point to the Flywheel WordPress instance. The headless subdomain was created via CDT DNS request ticket and points to our cloudfront distribution in the ODI AWS environment.
Similar AWS cloudfront domains like drought.ca.gov are accessible by DCC personnel on agency hardware.
New tests setup:

I setup https://static.covid19.ca.gov/index.html to point to a new cloudfront distribution that was using the headless.cannabis.ca.gov S3 bucket as its origin - this was successfully retrieved by DCC personnel on agency hardware
Also going directly to the cloudfront distribution url behind headless.cannabis.ca.gov https://d3jn9lsy9jazox.cloudfront.net/ works fine for DCC personnel on agency hardware

Handing this one off to @chachasikes

Done once we got DCA's attention they fixed their internal DNS.
Anytime we need to setup any cannabis.ca.gov subdomain we will need to include DCA


Clean up in-app notification showing logic

Description
Cleaned up the logic to decide when the NotificationBox should show up or not. The logic was already implemented in the NotificationBox itself but was repeated with a bug on the WalletHome. I just removed the check from WalletHome.
Other changes
Removed some old code around section headers (none of them have headers)
Tested
Manually locally.
How others should test
Dismiss all non-remote notifications and check that remote notifications still show up.
You should also go through the CELO education screens since that was also required before for remote notifications not to show up 🍝
Related issues

Fixes #1230

Backwards compatibility
N/A

Hey @gnardini Can you please let us know list of Remote & Non-remote notification. So we can cover maximum test coverage for this issue.
CC: @MuckT
Thanks..!!


[faucet] return expected DD next sequence number

Summary
Fix a sequence number issue introduced in #5232, where the faucet does not wait before returning the DD's sequence number, which could be stale.  With this commit, the faucet will return to the client the expected next sequence number.
Test
Tested on own cluster.

in theory there could be some race condition here, between querying AS and submit transaction, the seq number could have changed.  But I think we can pretty safely ignore it here.

@bors-libra r=davidiw

:pushpin: Commit 7fc3ff4 has been approved by davidiw

:hourglass: Testing commit 7fc3ff40c0b602a163599b59d8508121f7c1e4ab with merge 4eb1f4c8acf54b5c071524b1007e71ae20079484...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: davidiw
Pushing 4eb1f4c8acf54b5c071524b1007e71ae20079484 to master...


[Suggestion] Accept node metadata in tween editor

Maybe this is possible currently, but wasn't able to see anything the docs.
Seems like it would be incredibly powerful if supported. Tried poking around under the hood but couldn't quite make heads or tails of how these text fields are parsed.

Value fields use Expression, so you can't call methods.
I could add a special syntax though.

Implemented in 27c1a607b037d03d671850dfa6cd6ddc34defd67
See https://github.com/KoBeWi/Godot-Tween-Suite?tab=readme-ov-file#value-fields for info.


Fix language check

Description
This seemed to be breaking on docusaurus v3.2.0
Motivation and Context
How Has This Been Tested?

Screenshots (if appropriate)

Types of changes

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes if appropriate.
[ ] All new and existing tests passed.

Hi @browniefed, I just tried upgrading to Docusaurus 3.2.0 using a test site and was not able to reproduce the error you described - it worked as expected the first time. Can you provide steps to reproduce the error along with additional context?

Hi @browniefed, I just tried upgrading to Docusaurus 3.2.0 using a test site and was not able to reproduce the error you described - it worked as expected the first time. Can you provide steps to reproduce the error along with additional context?

I'm not certain exactly what the setup is, but I would assume some of our code samples aren't getting annotated and thus a language isn't being chosen?
If you look here https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/794/files#diff-d540d718a2f059832b0aa4da83589d1c6ec8110b6758874abed3da6ab8747943R333
Literally after my language && check there is a check for if the language is null, so it clearly has a possibility of being null.
Same with other useEffects in the file.
https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/blob/575c6a7c11660427001591609135e266723bb132/packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/CodeSnippets/index.tsx#L208
So I am happy to take a moment to spin up a repro, it would be nice to have this just matching all of the other code in the file.
The other option is just move the null check on language above the thing I did and I think that would then solve the problem.

Adding a safety check is low risk but I would prefer to reproduce the error so I can validate the fix. Can you provide a copy of the OpenAPI spec or a snippet?

@sserrata here is the swagger.json file we use to generate https://gist.github.com/browniefed/4dd6cb7f6fbfe295ad6be59506f3cc5d
If you can't repro then I can attempt to set something up later.
When I was running v3.1.1 of docusaurus I got a useDoc hook issue for non-openapi created pages seemingly.
Then on v3.2.0 everything was working, minus this language.sampels thing.


Runtime error on Pi 3 A+

Running the examples or any other python scripts results in an error code -3 "hardware revision not supported" under python 3.5. Examples run under python 2.7 with no issues.
pi@rpi:~/ $ sudo python3 strandtest.py
Traceback (most recent call last):
File "strandtest.py", line 97, in <module>
strip.begin()
File "/usr/local/lib/python3.5/dist-packages/rpi_ws281x/rpi_ws281x.py", line 130, in begin
raise RuntimeError('ws2811_init failed with code {0} ({1})'.format(resp, str_resp))
RuntimeError: ws2811_init failed with code -3 (Hardware revision is not supported)

I've also come across this problem
The issue seems to be that the .so file bundled as a wheel for Python3.5 (haven't tested other python versions) from pypi is old and doesn't have support for Pi3A.
You can rectify it by uninstalling it, and cloning this project directly and installing it as below
Ideally we could do with uploading a new binary wheel to PyPi
git clone --recurse-submodules https://github.com/rpi-ws281x/rpi-ws281x-python.git
cd rpi-ws281x-python/library/
sudo python3 ./setup.py install

Just tried @furbrain solution but gives me this error:
/usr/bin/ld: cannot find -lws2811
Already googled it but can't find any solution.


Set-Location should use path with wildcard characters if it exists instead of globbing

PR Summary
When InitialSessionState initializes it tries to SetLocation to current working directory,
but if the directory name contains PowerShell wildcard characters, it fails and reverts
to $PSHOME.
The change affects Set-Location in that if the path exists (even if containing wildcard characters), just use it.
Fix https://github.com/PowerShell/PowerShell/issues/5752

PR Checklist
Note: Please mark anything not applicable to this PR NA.

[X] PR has a meaningful title

[X] Use the present tense and imperative mood when describing your changes

[X] Summarized changes
[na] User facing Documentation needed

[ ] Issue filed - Issue link:

[X] Change is not breaking
[X] Make sure you've added a new test if existing tests do not effectively test the code changed

[ ] Add [feature] if the change is significant or affects feature tests

[X] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

I'm a bit late to the party, but I hope it's OK now, while 6.1.0 still in preview.
Something with implemented fix still bothers me.
When started playing with v6.1.0-preview.2, I realized that Get-ChildItem is also affected by this change.
And everything else using wildcard expansion now has added conditional branch with try-catch (what kind of performance overhead it might have, btw?)
PS C:\ps_test> Get-ChildItem

    Directory: C:\ps_test

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       24.05.2018      2:03                [ab]a
d-----       24.05.2018      2:03                aa
d-----       24.05.2018      2:03                ba

PS C:\ps_test> Get-ChildItem [ab]a

    Directory: C:\ps_test

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       24.05.2018      2:03                [ab]a

PS C:\ps_test> Get-ChildItem [abc]a

    Directory: C:\ps_test

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----       24.05.2018      2:03                aa
d-----       24.05.2018      2:03                ba

While this might even make it work as expected more times than before, it has an increased level of surprise. It might make issues caused by the use of -Path instead of -LiteralPath to show up less frequently but will make them harder to trace when they finally show up.
Using wildcards by default and literal path as an option was a major design mistake, imo. This patch makes a step back, but in a way that makes it less predictable. Is it OK to have more "magic"?
I also wonder why it was made in this way instead of just calling Set-Location with -LiteralPath when initializing a session? Working folder is by definition a literal path. It would've kept behavior changes to minimum.

@KillyMXI you bring up some good points, can you open a new issue to discuss this?

Done #6927


png images problem. Feedback for “Next.js Image”

nextra ruining png images. it's adding blurry background to them.
That's how images looks like on page:

but should be:

module.exports = {
  images: {
    unoptimized: true,
  },
}

as it says here https://nextjs.org/docs/api-reference/next/image#unoptimized not working
how to disable adding
style="color:transparent;background-size:cover;background-position:50% 50%;background-repeat:no-repeat;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 8 6'%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='1'/%3E%3C/filter%3E%3Cimage preserveAspectRatio='none' filter='url(%23b)' x='0' y='0' height='100%25' width='100%25' href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAKlBMVEUAAAAAAAAAAABMaXEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADZ5hg9AAAADnRSTlO8oHUAqiJDitMEKxQMVSTOjQAAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAvSURBVAiZJcG3AcAwEAOxI/VByfuv60IA6jwrvyICdWAcPTGgCZZFVebZdzOe9QMWpgDVIhmPSgAAAABJRU5ErkJggg=='/%3E%3C/svg%3E")" to them?

@washirving I am using transparent images on my site and they come out okay with the default setting. Can you share the component where the images are displayed? (JSX/TSx/MDX) code?
You can take a look at my website - Website for learning Agile

@washirving I am using transparent images on my site and they come out okay with the default setting. Can you share the component where the images are displayed? (JSX/TSx/MDX) code?
You can take a look at my website - Website for learning Agile

every single mdx page with any png image gives same result even if content is just

png image is clean and located in /public folder.
I cant figure what exactly adding that strange unclosed parameter to style tag « background-image:url("data:image/svg+xml; »

You can take a look at my website - Website for learning Agile

what a wonderfull «About Abhay Talreja» block with social links! how did you do this?

Yes! it happtning again. I made brand new project on vercel from template and added just single png image with tranparency and same result. tested on win10, mac and phone. no any other changes on pero.
https://newdocks.vercel.app/

Okay, i figured out the problem. The about section for me is the next/Image so it didn't cause an issue. However, for all the .mdx image files, there is a style that is getting applied to all the images.
color: transparent; background-size: cover; background-position: 50% 50%; background-repeat: no-repeat; background-image: url("/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fabhay-talreja-agile-coach.b551c86c.png&w=8&q=70");
The problem is the quality of 70 getting applied to the images. I am not sure where this code sits. If it is coming from Nextra or not. If you remove this style, it will work.
A Simple fix you can do in the markdown is below. Just make the quality parameter as 100 and it will just work fine.
![](/img.png?q=100)
I hope it helps.
Thank you for showing love to my attempt to teaching Agile principles

Please report in Next.js repo


Update vulnerable depenencies

<EMAIL_ADDRESS>(also used in one of<EMAIL_ADDRESS>nested dependencies) is
vulnerable because of handling non-boolean comparisons during minification
incorrectly. See: https://nodesecurity.io/advisories/module/uglify-js

closed in favor of https://github.com/caolan/nodeunit/commit/0b7d9c810953677274938111096355d691434f35
this commit updates all module dependencies.


gwt-twemoji added to community section

gwt-twemoji is a wrapper for twemoji, so it can be used in GWT projects.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Option for stable module Ids?

Do you want to request a feature or report a bug?
Feature
i’m working on OTA updates for RN at airbnb, and one of the things that i’m looking to do is to ensure that we can push just the code that’s changed and not the whole bundle to the clients. since the RN packager uses unstable module ids after bundling code (ie, require(123) might need to turn into require(124) after a relatively trivial change in module loading order).
I was thinking about submitting a PR to metro-bundler that would add in an option to use "stable ids" for the require algorithm. This would probably end up using the localPath of the module, as opposed to the auto-incrementing module id.
I'm still considering strategies, but I'm thinking that in the situation where the user is using unbundle, a map of localPath => moduleId could be added to a global variable or something, which the require.js polyfill could utilize.
If I made such a PR, would FB be willing to accept it? It would be done in such a way that it would be completely opt-in.
cc @jeanlauliac @cpojer

Also need this feature. There is also an issue #6 I opened earlier to discuss about it.

Hey @lelandrichardson! this was added in f347e4ff470ca858cdb8af5a80d409cc5061e9ee and is available on 0.24.1


Fix missing lock around _controllers access.

The rules for the locking are that we must lock when on the Matter queue, which is the case in createControllerOnExistingFabric.

Fast-tracking platform-specific fix with platform owner review.


On Xamarin.Forms after update to pre version:<IP_ADDRESS>-pre2  Android project fail to build

After updating Xamarin.Forms to the latest prerelease version IOS project builds but Android doesn't an all error are related to FFImageLoading  library. Maybe the cause is because in Xamarin.Forms they update the dependencies to Xamarin.Android.Support.(v4, v7, Design) to <IP_ADDRESS> and there they changed things  ?
These are 39 errors if Xamarin.FFImageLoading and Xamarin.FFImageLoading.Forms,
version 2.1.0-alpha1 are included in project for Android:
'Resource.Attribute' does not contain a definition for 'mediaRouteSettingsDrawable'		257
'Resource.Dimension' does not contain a definition for 'design_tab_min_width'		538
'Resource.Dimension' does not contain a definition for 'dialog_fixed_height_major'		539
'Resource.Dimension' does not contain a definition for 'dialog_fixed_height_minor'		540
'Resource.Dimension' does not contain a definition for 'dialog_fixed_width_major'		541
'Resource.Dimension' does not contain a definition for 'dialog_fixed_width_minor'		542
'Resource.Dimension' does not contain a definition for 'mr_media_route_controller_art_max_height'
'Resource.Drawable' does not contain a definition for 'ic_setting_dark'		636
'Resource.Drawable' does not contain a definition for 'ic_setting_light'		637
'Resource.Drawable' does not contain a definition for 'mr_ic_settings_dark'		648
'Resource.Drawable' does not contain a definition for 'mr_ic_settings_light'		649
'Resource.Id' does not contain a definition for 'art'		669
'Resource.Id' does not contain a definition for 'buttons'		673
'Resource.Id' does not contain a definition for 'default_control_frame'			688
'Resource.Id' does not contain a definition for 'disconnect'			690
'Resource.Id' does not contain a definition for 'media_route_control_frame'			715
'Resource.Id' does not contain a definition for 'media_route_list'			716
'Resource.Id' does not contain a definition for 'media_route_volume_layout'			717
'Resource.Id' does not contain a definition for 'media_route_volume_slider'			718
'Resource.Id' does not contain a definition for 'play_pause'			728
'Resource.Id' does not contain a definition for 'route_name'			733
'Resource.Id' does not contain a definition for 'settings'			749
'Resource.Id' does not contain a definition for 'stop'			762
'Resource.Id' does not contain a definition for 'subtitle'			764
'Resource.Id' does not contain a definition for 'title_bar'			771
'Resource.Layout' does not contain a definition for 'mr_media_route_chooser_dialog'			819
'Resource.Layout' does not contain a definition for 'mr_media_route_controller_material_dialog_b'
'Resource.Layout' does not contain a definition for 'mr_media_route_list_item'			821
'Resource.String' does not contain a definition for 'mr_media_route_button_content_description'
'Resource.String' does not contain a definition for 'mr_media_route_chooser_searching'
'Resource.String' does not contain a definition for 'mr_media_route_chooser_title'			857
'Resource.String' does not contain a definition for 'mr_media_route_controller_disconnect'
'Resource.String' does not contain a definition for 'mr_media_route_controller_no_info_available'
'Resource.String' does not contain a definition for 'mr_media_route_controller_pause'			860
'Resource.String' does not contain a definition for 'mr_media_route_controller_play'			861
'Resource.String' does not contain a definition for 'mr_media_route_controller_settings_description'
'Resource.String' does not contain a definition for 'mr_media_route_controller_stop'			863
'Resource.Style' does not contain a definition for 'RtlOverlay_Widget_AppCompat_ActionButton_Overflow'
'Resource.Styleable' does not contain a definition for 'FloatingActionButton_android_background'

@lecnierfreeman Hi, it's not FFImageLoading issue. Read more here: https://forums.xamarin.com/discussion/63983/xamarin-forms-2-2-0-pre2-released

Important notes
When upgrading Xamarin.Forms take care not to simply "update all" as that will update the Xamarin.Android.Support packages to an incompatible version. More info here: https://developer.xamarin.com/guides/xamarin-forms/troubleshooting/

You must use <IP_ADDRESS> support packages.

so we wait that FFImageLoading library support <IP_ADDRESS> version?

@vsarnataro It's not FFImageLoading issue. It applies to prerelease version of Forms nuget package. Just be sure your support packages are correct version.

@daniel-luberda Hi,
Sorry to say that in indeed it's a FFImageLoading issue, but I think is an easy one, since in this new pre-release version of Xamarin.Forms they moved to Xamarin.Android.Support.v4(and Friends) to version <IP_ADDRESS> all you need to do is just re-build the nugget packages with that version.
For confirming that it's a FFImageLoading I tried removing all packages from my project, install lates pre-release of Xamarin.Forms <IP_ADDRESS>-pre2, install again all packages that I was using except FFImageLoading and try to build, and It succeeded, then Add  FFImageLoading and try to build, it failed with the errors I posted before.
After that I created a new project, installed Xamarin.Forms <IP_ADDRESS>-pre2, build succeeded, install FFImageLoading and Failed again.
I was reading in the same post you point it out and people says they are having this issues with 3rd party libs that need to update their Xamarin.Android.Support.v4(and Friends) to version <IP_ADDRESS>
Thank You

@daniel-luberda Should we do anything?

@molinch  It should be fixed in 2.1.0-alpha2

FFImageLoading 2.1.0-alpha2 nuget released which brings this fix.
If you have any problems, please write details here. Many thanks.


Add Strip TCP Header operation

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[Model] Add BNB quantization support for Idefics3

Add BnB quantization support for Idefics3.

LGTM, @DarkLight1337  could you plz look at this PR?
BTW, @B-201    this model is not tested in the current CI, I suggest you provide your local test results

LGTM, @DarkLight1337 could you plz look at this PR? BTW, @B-201 this model is not tested in the current CI, I suggest you provide your local test results

I tested the BNB quantization locally. The model  can be loaded, and the generated results look reasonable. Here are the results I generated using both vLLM and HF:
vLLM:
WARNING 11-14 12:55:32 config.py:440] bitsandbytes quantization is not fully optimized yet. The speed can be slower than non-quantized models.
INFO 11-14 12:55:32 llm_engine.py:249] Initializing an LLM engine (v0.1.dev3385+g3a28f18.d20241112) with config: model='/mnt/Models/llm_models/BaseModel/idefics/Idefics3-8B-Llama3', speculative_config=None, tokenizer='/mnt/Models/llm_models/BaseModel/idefics/Idefics3-8B-Llama3', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, override_neuron_config=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.bfloat16, max_seq_len=8192, download_dir=None, load_format=LoadFormat.BITSANDBYTES, tensor_parallel_size=1, pipeline_parallel_size=1, disable_custom_all_reduce=False, quantization=bitsandbytes, enforce_eager=False, kv_cache_dtype=auto, quantization_param_path=None, device_config=cuda, decoding_config=DecodingConfig(guided_decoding_backend='outlines'), observability_config=ObservabilityConfig(otlp_traces_endpoint=None, collect_model_forward_time=False, collect_model_execute_time=False), seed=0, served_model_name=/mnt/Models/llm_models/BaseModel/idefics/Idefics3-8B-Llama3, num_scheduler_steps=1, chunked_prefill_enabled=False multi_step_stream_outputs=True, enable_prefix_caching=False, use_async_output_proc=True, use_cached_outputs=False, chat_template_text_format=string, mm_processor_kwargs=None, pooler_config=None)
INFO 11-14 12:55:32 selector.py:135] Using Flash Attention backend.
INFO 11-14 12:55:33 model_runner.py:1072] Starting to load model /mnt/Models/llm_models/BaseModel/idefics/Idefics3-8B-Llama3...
INFO 11-14 12:55:34 loader.py:957] Loading weights with BitsAndBytes quantization.  May take a while ...
Loading safetensors checkpoint shards:   0% Completed | 0/4 [00:00<?, ?it/s]
Loading safetensors checkpoint shards:  25% Completed | 1/4 [00:00<00:01,  2.59it/s]
Loading safetensors checkpoint shards:  50% Completed | 2/4 [00:01<00:01,  1.43it/s]
Loading safetensors checkpoint shards:  75% Completed | 3/4 [00:02<00:00,  1.20it/s]
Loading safetensors checkpoint shards: 100% Completed | 4/4 [00:03<00:00,  1.02it/s]
Loading safetensors checkpoint shards: 100% Completed | 4/4 [00:03<00:00,  1.14it/s]

INFO 11-14 12:55:37 model_runner.py:1077] Loading model weights took 5.5544 GB
INFO 11-14 12:55:40 worker.py:232] Memory profiling results: total_gpu_memory=79.32GiB initial_memory_usage=6.07GiB peak_torch_memory=6.71GiB memory_usage_post_profile=6.09Gib non_torch_memory=0.53GiB kv_cache_size=64.15GiB gpu_memory_utilization=0.90
INFO 11-14 12:55:40 gpu_executor.py:113] # GPU blocks: 32846, # CPU blocks: 2048
INFO 11-14 12:55:40 gpu_executor.py:117] Maximum concurrency for 8192 tokens per request: 64.15x
INFO 11-14 12:55:41 model_runner.py:1400] Capturing cudagraphs for decoding. This may lead to unexpected consequences if the model is not static. To run the model in eager mode, set 'enforce_eager=True' or use '--enforce-eager' in the CLI.
INFO 11-14 12:55:41 model_runner.py:1404] If out-of-memory error occurs during cudagraph capture, consider decreasing `gpu_memory_utilization` or switching to eager mode. You can also reduce the `max_num_seqs` as needed to decrease memory usage.
INFO 11-14 12:55:42 model_runner.py:1518] Graph capturing finished in 0 secs, took 0.05 GiB
INFO 11-14 12:55:42 preprocess.py:215] Your model uses the legacy input pipeline instead of the new multi-modal processor. Please note that the legacy pipeline will be removed in a future release. For more details, see: https://github.com/vllm-project/vllm/issues/10114
Processed prompts: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00,  1.48it/s, est. speed input: 3459.30 toks/s, output: 17.81 toks/s]
 In this image we can see the dried grass.

HF:
Loading checkpoint shards: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:01<00:00,  2.15it/s]
 In this image we can see the dry grass.

Looks good, let's merge this!

It seems there are some network issues in the CI. Could you help take a look? @DarkLight1337


performance optimizations

My system is slow for this mod, therefore I did some runtime optimizations.
Next changes in addition: Skip nodes/items without description. It's like not_in_creative_inventory. No tnt groups mask necessary anymore because "tnt:boom", "tnt:tnt_burning" are skipped, just "tnt:tnt" is in generation. Same for beds, that is items only now.
gen renamed to random_block_gen to match mod-name. Moved all settings to be able to change them from other mods. Some cleanup, replaced all spaces to tabs.
Pls. look if you like the changes

It all looks good, but:

Some cleanup, replaced all spaces to tabs
Why?

You can just set up your editor to place 4 spaces when you press tab.

What mods are you using with this mod? I am thinking of setting up a server.

I tested it with my whynot-game mod collection: https://github.com/bell07/minetest-game-whynot
I set up an singlenode world with my not published "reneveble" singlenode-mods collection I did not published yet. The collection contains
https://github.com/bell07/minetest-startanode
https://github.com/bell07/minetest-unternull
https://github.com/bell07/minetest-compost
https://github.com/bell07/minetest-frozenenergy
https://github.com/joe7575/Minetest-Gravelsieve
My current working setting (for my slow PC) is set up in "Settings"-mod
$ cat undernull_random_block/depends.txt
startanode

$ cat undernull_random_block/init.lua
water.node = "air"
startanode.min_pos.y = 0
startanode.max_pos.y = 10

random_block_gen.MIN_Y = 0
random_block_gen.MAX_Y = 10

random_block_gen.HSPACING = 3
random_block_gen.VSPACING = 4

It is a private lan server for me and my childs. For public server you need in addition any protection server.
They are still some nods not fully compatible to the random_block_gen in singlenode collestion (Seen some half doors). But in general it is an nice Sky-Trash world.

Cool. Do you have any screenshots of your server?

I spawned at the top of my 10-nodes narrow randomblock flat.
My Coblestone+Ores generator:

My provisionally home:


Refresh Continuous Integration scripts

apt CI: bump version of yarp and ycm-cmake-modules used
conda CI: bump version of used GitHub Actions

For some reason, the CI is not running, I am not sure why.

For some reason, the CI is not running, I am not sure why.

It was disabled due to inactivity, I re-activated it.

I re-activated the CI, and there is a test (ImuTest on macOS) consistently failing. So for now I just opened an issue to track the problem (https://github.com/robotology/gz-sim-yarp-plugins/issues/54) and skipped the test (https://github.com/robotology/gz-sim-yarp-plugins/pull/51/commits/f8bd5e3cb10d2d8745a4fb42a340f2b1acb2822c).

Ok, with some skip the CI is now green, the PR is ready for review and merge.


[RESOURCE] Climate Analytics

Resource title
Climate Analytics
URL
https://climateanalytics.org/
Relevant tags (1 per line)
Climate Journalism
Resource Summary
Climate Analytics is a global climate science and policy institute engaged around the world in driving and supporting climate action aligned to the 1.5°C warming limit. They produce policy-relevant science and analysis on climate impacts, the energy transition, adaptation and loss and damage.
Relevance
No response
Other comments
No response

Updated the tags to remove the 📚 Knowledge Hubs tag (which is reserved for resources which centralise links like we do here). I need to update the documentation with this nuance


[devicelab] Use git branch to pull current branch during test

Description
Switch from git rev-parse --abbrev-ref HEAD to git branch --show-current. Currently the test runner is reading in HEAD  from the existing command.
Related Issues
https://github.com/flutter/flutter/issues/71749
Tests
This gets run in the DeviceLab tests on LUCI. We currently have one flaky builder to validate the full end to end process.

More discussion in #71749 but this wouldn't fix the problem. Closing.


TypeError: 'type' object is not subscriptable

hi! good day! when i'm trying to run this command .  python3.8 main.py --download --start-date 20240901 --end-date 20240922
it got this error.
Traceback (most recent call last):
File "main.py", line 15, in
from genetic_algorithm.operators import crossover, mutate, select_tournament
File "/home/diamond/repo/GeneTrader/genetic_algorithm/operators.py", line 5, in
def crossover(parent1: Individual, parent2: Individual) -> tuple[Individual, Individual]:
TypeError: 'type' object is not subscriptable
pls help. thanks!

Could you show your config file? The default config file is ga.json.

I think the latest commit has already solved your errors.

Problem solved.


App does not start anymore: "Plexx AAOS does not work any more"

Since some weeks I cannot use Plex anymore because of the error shown in the image. The error first occured while using the app normally, ever since it always occurs after opening the app.
I am using the latest beta version from app store.
My car: Polestar 2 2022
I tried the follwoing:

delete app cache
delete app data and re-login
completey remove and re-install app

Nothing worked, obviously.
I am still not sure if there is something wrong with my car or the app.
Is there any way I can debug the problem?
Thank you!

I'll try and see if I can guess what's happening, but my only thought if it worked and then stopped and is also broken after a reinstall is that maybe something on the Plex server changed?
I'll have to test with the latest Plex version to verify if it still works

Hello,
Thank you very much for your reply!
I debugged this a bit on Server-side and it seems, that there is a problem indexing the music.
For now, it looks like the app crashes at startup because of this. I will try to fix this and give feedback then.
Nevertheless Plex AAOS could give an appropriate error 🤣 Nah, no front. ❤

Hello there!
I can finally say I'm an AAOS user so I found this amazing app for Plex
Well... unfortunatly I ended with this same error after less then a week of usage of this app 🥲
I've already tried uninstalling the app and reinstalling from 0, but now I'm unable at all to use Plex over my car 😐
Is there any update on this issue?
Reading this it's opened since almost a year, I feel a bit worried there's still no fix

I just reverified that the app works fine for me.
Some potential issues to check:

The time on my emulator was incorrect, causing SSL errors, so maybe check the date/time on your car
Verify that you're on the latest Plex version, I just tested with <IP_ADDRESS>57
Ensure that remote access is enabled and functional

You can also go into apps, clear data for the app to start fresh. To force the app itself to reload, just open any other media app (Bluetooth Audio, Spotify, ...) and switch back and it'll reload.
The last comment on the issue indicates that the actual issue was on the user's server, no changes to the app were needed to make it work.


Mooshimity.BrickHill version <IP_ADDRESS>

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

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

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree

In Brick Hill's website, clicking on the download button takes you to this url.

In Brick Hill's website, clicking on the download button takes you to this url.

Yes - on the Client page. Our robot had trouble finding this and needed a human to help.

@wingetbot waivers Add Validation-Domain

thx


[Bug] Inputs are not being saved to Evaluation Scenario on running Auto Evaluations

Describe the bug
Inputs are not being saved to the Evaluation Scenario on running Auto Evaluations
To Reproduce
Steps to reproduce the behavior:

Go to any auto Evaluation (similarity test, exact match etc.)
Click on "Run Evaluation"
Now change any of the inputs
Run Evaluation again
Reload the page, (old inputs will be loaded)

Expected behavior
Inputs should be saved to evaluation scenarios along with outputs and score

Closed since we are rewriting eval anyeays


vertical line point simulation

Addresses #635.  Allows points to be simulated on networks with vertical lines.

I don't see any problems in the coveralls output, but it's reporting an error here.  Does this have to do with two separate PRs on the same file?


feat: Add rarible implementation

Polygon DevX [Americas] Hackathon Submission
Problem Statement Visualization ($5000)
Support

Add visualization support for both 1inch fusion and rarible

Community

Create a registry smart contract that route to various EIP-6865 implementation of different protocols
Create a smart contract that is compliant with EIP-6865 for 1inch fusion
Innovation

Now as you are more familiar with wizard-sdk and the EIP-712 visualization concept, propose the best way to solve this widespread issue (it can be one of the 2 already existing ones, the SDK or on-chain visualization EIP, just make sure to defend your idea)

Solution
DoraHacks Submission here

Rarible wizard sdk implementation in this Pull request
RaribleEIP712Visualizer here

Innovation
The transaction signature is crucial in preventing undesired situations for Ethereum users. It is of utmost importance that the authorization message provides users with a complete understanding of the implications that such authorization may have on their assets. To achieve this, on-chain visualization ERC-6865 messages (as opposed to off-chain solutions) is a better way to solve the issue.
From a security perspective, carrying out this message generation on-chain adds a layer of security and trust for both users and decentralized applications (dapps) that integrate these DeFi protocols.
It is highly beneficial for each protocol's development team to take responsibility for this implementation. This ensures greater accuracy in the generated information and eliminates two significant risk vectors:
Possible errors arising from third parties when implementing the functionality.
The potential for malicious dapps to issue messages with false information.
This empowers users who research the protocols they wish to interact with, as they can have confidence that the generation of messages for transaction signing has undergone audits and testing.

Hey @a6-dou ,
Sorry for the inconvenience
I have fixed the bugs. Tests should be successful now.
Thank you.


Broken selection highlighting in preview

Preview selection highlighting uses black instead of the color set in the theme.

I have a local fix, that works with Obsidian's way of defining its --text-selection variable in its app.css (dark and light, respectively):
--selection-color: rgba(60, 36, 59, 0.99);
--selection-color: rgba(232, 221, 255, 0.99);

That's weird. I am pretty much using the same method of changing selection color already.
And for me, selections in preview mode look as they should:

Did you do anything else to get that wrong coloring? Or do you maybe use a CSS snippet, that is interfering?

I specifically said the problem is in preview, as you can see on the screenshot. Your reply is in edit mode.
Their method is only slightly different - using rgba() and 0.99, - but it works for some reason.
The screenshot if of the Obsidian Help vault with only your theme added. No interference as far as I can tell.

oh sorry, I attached the wrong screenshot. Nevertheless, it also looks fine in preview mode to me?

I assume adding that 1% transparency shouldn't do any visual difference, so I assume it ensures proper overlaying of colors under certain conditions that appear to exist not on my device but on your device. As the Wikipedia article on RGBA implies, adding even 1% of transparency could have some functional purpose when overlaying colors.

Alpha indicates how opaque each pixel is and allows an image to be combined over others using alpha compositing, with transparent areas and anti-aliasing of the edges of opaque regions.

Nayway, as adding such minor transparency does not make any visual difference but seems to fix things at least for some people, I have simply added that in the latest version.


WIP: test for pr 1014

Merge #1014 to master for testing
Temporary PR

First CircleCI failure was coincidental; all successful now. Deleting this PR; it was a workaround to avoid having to update bundler to v2 for dependabot.


[Ready to Review] Improve serialization API for relationship objects

For QA:
:exclamation: The only outward facing change is that if there is not a parent, or the node is not a fork, these fields will disappear from the relationships object.  These changes are mostly for the developers, making it easier to create a relationship object.
Purpose
Issue https://openscience.atlassian.net/browse/OSF-4808
We currently serialize relationship links using our custom JSONAPIHyperlinkedIdentityField which requires four parameters and only allows for either a self or related link, not both.  Also, it only allows URL's for which there is one kwarg.
Per @sloria's suggestion, we are replacing SONAPIHyperlinkedIdentityField with a RelationshipField which requires only two parameters and can return both self and related links.
Also changes the fields which were inheriting from JSONAPIHyperlinkedIdentityField: NodeFileHyperlink, and CheckoutField.
Changes
Before
children = JSONAPIHyperlinkedIdentityField(
    view_name='nodes:node-children',
    lookup_field='_id',
    lookup_url_kwarg='node_id',
    link_type='related'
)

After
children = RelationshipField(
    related_view='nodes:node-children',
    related_view_kwargs={'node_id': '<_id>'}
    self_view='nodes:node-children-relationship',
    self_view_kwargs={'node_id': '<_id>'}
)

Note below:
Since this node is not a fork, the forked_from field is absent from relationships.  This node has a parent, however, so it appears in the list, no change.

JIRA ticket number? : )

Thanks OSF-4808

I didn't see anything of importance other than the class name and the the prediction of JSON-API schema failure. That might end up being something Sam has to fix when his PR is merged.

This could use some information on how to test it in the PR or the Jira ticket. Basically, from the End User's standpoint, what should have changed (or, more likely in this case, what should not have changed)?

This could use some information on how to test it in the PR or the Jira ticket. Basically, from the End User's standpoint, what should have changed (or, more likely in this case, what should not have changed)?

There should be no outward-facing changes.  I will spell this out in the Jira ticket.

Right now, if the developer puts in an invalid view for related_view (users:user-nodes below) or the wrong key in related_view_kwargs (user_id below):
    nodes = RelationshipField(
        related_view='users:user-nodes',
        related_view_kwargs={'user_id': 'pk'},
    )

then they get essentially the same error message with a tiny amount of difference in context. For example, if I set related_view to users:user-bob, you see:

And if I set related_view_kwargs to 'user_bob': 'pk' you get:

If you set related_view_kwargs to 'user_id': 'bob' you get no error but you get null for the related field.
So my question is, first, can we catch the last case and return a useful error message to the developer (preferably more useful than the Django error message). My second is, can we catch the second situation before Django does and make it more obvious to the developer what the problem is?

Okay, one potentially big thing related to catching errors, and a couple of very minor questions/comments. Otherwise looks great. Pass complete. :penguin:

If you set related_view_kwargs to 'user_id': 'bob' you get no error but you get null for the related field.

Now if you can't find the lookup_field on the model:

Yay!

But I don't know a short way to catch the second situation before Django does.  There's a lot of code in /django/core/url_resolvers.py to try to resolve the URL.

No problem. It was worth a try.

Changes look good to me. Seems like everything still works properly. I'm hesitant to suggest merging this in because the last time Dawn's PR got merged in, I spent half a day updating my PR that hasn't been reviewed yet, but you know, ¯\(ツ)/¯ . I imagine Steve will give it a once-over before it gets merged, but it looks good to me. :tada: :penguin: :tada:

Two considerations:
(1) Is there a use case where related_view_kwargs or self_view_kwargsmight need to include a value that is not an attribute of the target object? If so, we might want to use < > to specify kwargs that should be pulled from the object.
    # assuming a route /addons/<provider>/<pk>/
    wiki_home = RelationshipField(
        related_view='addon:addon-detail',
        related_view_kwargs={'provider': 'wiki', 'pk': '<_id>'},
    )

(2) Should we allow for nested attribute access? I could see a use case like the following:
    # assuming a route /node/<node_id>/wiki/<wiki_id>/
    wiki_home = RelationshipField(
        related_view='wiki:wiki-detail',
        related_view_kwargs={'node_id': '<_id>', 'wiki_id': '<wiki_pages_current.home>'}
    )

I am in favor of both of those things. If we don't have a use case for one or both currently, though, please document how to use the functionality.

@brianjgeiger Are you suggesting we defer the above changes? Or implement them now and document them?

I'm suggesting that I like them but am not recommending for or against implementing them now. Just that if they are done now, examples are put into the docs for any unused cases (and maybe even the standard cases, but I expect those will be found easily by example).

@brianjgeiger OK, thanks for the clarification.
@pattisdr I recommend spending ~1hr on the above, making sure to document proper usage as Brian is suggesting. It would be great to nail down our dev APIs this sprint.

Pass finished. Once the above are addressed, this is good to merge.

@sloria, can you explain this more?

(1) Is there a use case where related_view_kwargs or self_view_kwargs might need to include a value that is not an attribute of the target object? If so, we might want to use < > to specify kwargs that should be pulled from the object.

assuming a route /node/<node_id>/addons//
wiki_home = RelationshipField(
    related_view='addon:addon-detail',
    related_view_kwargs={'node_id': '<_id>', 'provider': 'wiki'},
)

Why is `<_id>` not an attribute of the target object here?  And if it's not an attribute, what is it?

@pattisdr In the above example, <_id> means that _id should be accessed as an attribute of the target object. 'provider' is not passed as an attribute.
Assuming a node with ID abc12, the serialized result would be /node/abc12/addons/wiki`

@sloria, what function is this?

Update: DRF has a function doing string attribute access like this.

I am trying to use rest_framework.Field.get_attribute because it loops through the attributes in source_attrs.  Before I call it, I assign source_attrs to lookup_field.split('.')  So it works okay for nested attribute access but I think I'm interfering with something because it's causing subsequent nodes to perform get_attribute incorrectly.

The exact name of the function escapes me, but I know it was called internally by Field.get_attribute  or Field.get_value. I can take a look later to find it, but I'd recommend taking a look at the source for those 2 methods.

Okay, I was already using something in Field.get_attribute, just making sure it wasn't something else.

New changes:

Field can accept attributes that aren't on target and
Resolve nested attributes

Pass finished. Implementation changes requested from @pattisdr . Feedback requested from @brianjgeiger


Create seliana

@chedlijenhani lib/domains/tn/r-iset/seliana: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.


Timestamp in frontmatter title field renders as new Date() in pager

Two .md files in the same directory with this frontmatter:
---
title: 2024-12-19
---

---
title: 2024-12-20
---

renders the pager on the appropriate page as:

🤔 couldn't see anywhere in the docs any mention of transform. Wondering if this is expected behaviour?

And sidebar as well:

I think you need to put quotes around it so that YAML interprets it as text rather than a date.

🤦 Thanks @mbostock


Subdomains with ozzo-routing

What is the best way to working with subdomains in ozzo-routing?

Hi! @qiangxue, how about this question?

How do you plan to use it?

api.mydomain.com, portal.mydomain.com etc.

Much like here:
https://medium.com/russian/a-cartoon-intro-to-redux-e2108896f7e6#.1iiab1ufc


Add allenai/OLMoE-1B-7B-0924.

Add allenai/OLMoE-1B-7B-0924
This is a new MoE model which I'd like to use with TL. Notes:

transformers hasn't released a version with OlMoE support yet. We can update pyproject.toml to point to it instead of github once it's released. Will leave as a draft until then.
There are three features which I haven't implemented yet. You can see traces where they're commented-out in the code. I don't plan on using them and am inclined to not include them for now.

router_aux_loss_coef / router_z_loss_coef: I don't plan on training OLMoE in TL so there's no need for these coefficients.
norm_topk_prob defaults to False in transformers and I don't plan to use it.

Commenting-out add_bos_token=True
This is a temporary fix. When running without either location commented out:
joel@simplex ~/c/g/TransformerLens (add-olmoe) [1]> python3 test.py
Loading checkpoint shards: 100%|███████████████████████████████████████████████████████████████████| 3/3 [00:47<00:00, 15.95s/it]
Traceback (most recent call last):
  File "/Users/joel/code/github/TransformerLens/test.py", line 4, in <module>
    model = transformer_lens.HookedTransformer.from_pretrained(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/joel/code/github/TransformerLens/transformer_lens/HookedTransformer.py", line 1300, in from_pretrained
    model = cls(
            ^^^^
  File "/Users/joel/code/github/TransformerLens/transformer_lens/HookedTransformer.py", line 146, in __init__
    AutoTokenizer.from_pretrained(
  File "/Users/joel/code/github/TransformerLens/.venv/lib/python3.11/site-packages/transformers/models/auto/tokenization_auto.py", line 901, in from_pretrained
    return tokenizer_class.from_pretrained(pretrained_model_name_or_path, *inputs, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/joel/code/github/TransformerLens/.venv/lib/python3.11/site-packages/transformers/tokenization_utils_base.py", line 2214, in from_pretrained
    return cls._from_pretrained(
           ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/joel/code/github/TransformerLens/.venv/lib/python3.11/site-packages/transformers/tokenization_utils_base.py", line 2448, in _from_pretrained
    tokenizer = cls(*init_inputs, **init_kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/joel/code/github/TransformerLens/.venv/lib/python3.11/site-packages/transformers/models/gpt_neox/tokenization_gpt_neox_fast.py", line 123, in __init__
    self.update_post_processor()
  File "/Users/joel/code/github/TransformerLens/.venv/lib/python3.11/site-packages/transformers/models/gpt_neox/tokenization_gpt_neox_fast.py", line 159, in update_post_processor
    raise ValueError("add_bos_token = True but bos_token = None")
ValueError: add_bos_token = True but bos_token = None

Commenting out the location mentioned in the stack trace (HookedTransformer.py:146):
joel@simplex ~/c/g/TransformerLens (add-olmoe) [1]> python3 test.py
Loading checkpoint shards: 100%|███████████████████████████████████████████████████████████████████| 3/3 [00:46<00:00, 15.33s/it]
Traceback (most recent call last):
  File "/Users/joel/code/github/TransformerLens/test.py", line 4, in <module>
    model = transformer_lens.HookedTransformer.from_pretrained(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/joel/code/github/TransformerLens/transformer_lens/HookedTransformer.py", line 1300, in from_pretrained
    model = cls(
            ^^^^
  File "/Users/joel/code/github/TransformerLens/transformer_lens/HookedTransformer.py", line 145, in __init__
    self.set_tokenizer(
  File "/Users/joel/code/github/TransformerLens/transformer_lens/HookedTransformer.py", line 677, in set_tokenizer
    tokenizer_with_bos = utils.get_tokenizer_with_bos(tokenizer)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/joel/code/github/TransformerLens/transformer_lens/utils.py", line 1172, in get_tokenizer_with_bos
    tokenizer_with_bos = AutoTokenizer.from_pretrained(
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/joel/code/github/TransformerLens/.venv/lib/python3.11/site-packages/transformers/models/auto/tokenization_auto.py", line 901, in from_pretrained
    return tokenizer_class.from_pretrained(pretrained_model_name_or_path, *inputs, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/joel/code/github/TransformerLens/.venv/lib/python3.11/site-packages/transformers/tokenization_utils_base.py", line 2214, in from_pretrained
    return cls._from_pretrained(
           ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/joel/code/github/TransformerLens/.venv/lib/python3.11/site-packages/transformers/tokenization_utils_base.py", line 2448, in _from_pretrained
    tokenizer = cls(*init_inputs, **init_kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/joel/code/github/TransformerLens/.venv/lib/python3.11/site-packages/transformers/models/gpt_neox/tokenization_gpt_neox_fast.py", line 123, in __init__
    self.update_post_processor()
  File "/Users/joel/code/github/TransformerLens/.venv/lib/python3.11/site-packages/transformers/models/gpt_neox/tokenization_gpt_neox_fast.py", line 159, in update_post_processor
    raise ValueError("add_bos_token = True but bos_token = None")
ValueError: add_bos_token = True but bos_token = None

I'd appreciate advice on what's going wrong here. I'm a bit confused because I didn't change anything related to bos tokens (and e.g. the call to AutoTokenizer.from_pretrained in HookedTransformer always specifies add_bos_token=True but never bos_token).
Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] I have not rewritten tests relating to key interfaces which would affect backward compatibility

It looks like Compatibility Checks (3.9) failed because of incompatible numpy versions.

There are a lot of issues in this pr due to dependency bumping. None of that has anything to do with what has been done here, but there are general issues at the moment with dependency versions. I started messing with it in this PR. In order to add these models officially, we probably need to get that resolved first. I will prioritize it a bit further up the line in order to allow you to finish what you are doing.

Hey @jonasrohw, thanks for looping me in. Your code looks much more complete than mine, so I want to make sure I understand the bit that you're suggesting we merge in (and how). The two things this implementation has that yours doesn't:

The change in transformer_lens/components/mlps/moe.py
Disabling add_bos_token in a few places.

Are you suggesting I merge my transformer_lens/components/mlps/moe.py into your branch?

Thanks @jonasrohw. I opened https://github.com/jonasrohw/TransformerLens/pull/1. I still need to finish the one TODO and do testing but I can hopefully finish this weekend.

Closing this because #816


Snowflake Driver Support

With the explosion of Snowflake as a data warehouse/lake platform, it would be great to have driver support for it inside of SQLTools. Thank you.

I have started working on it and I’d like to send a PR soon. Please let me know if anyone else working on it to avoid double effort.

The first version of the snowflake driver documented in https://github.com/mtxr/vscode-sqltools/pull/726 and it's now installable directly from the vscode extension menu.
Github source code: https://github.com/koszti/sqltools-snowflake-driver.
VS Marketplace: https://marketplace.visualstudio.com/items?itemName=koszti.snowflake-driver-for-sqltools
What's implemented:

Connection form, running SQL commands, schemas/table/view objects tree

What's not implemented:

externalbrowser authenticator for SSO: the snowflake nodejs connector doesn't implemnt the SSO authentication
Intellisense auto completion: Fast code completion has to use the SHOW objects commands to get search matches, that requires to run multiple sql queries for each search. SQLTools not supporting it at the moment.

Any updates on the authenticator for SSO?

Closing because standalone driver extension exists.


Video played normal

Hi,
my video is played normal.
https://vr.hummel-web.at/pannellumx/index.html
It works on youtube upload and with Valiant360.
html file looks like.
<!DOCTYPE html>

    <meta charset="utf-8">
    <title>Pannellum Video Demo</title>
    <link rel="stylesheet" href="/pannellumx/pannellum.css"/>

    <link href="https://vjs.zencdn.net/5.4.6/video-js.css" rel="stylesheet"
      type="text/css">

<video id="panorama" class="video-js vjs-default-skin vjs-big-play-centered"
  controls preload="none" style="width:100%;height:400px;"
  poster="/overpass-clip.jpg" data-setup="{}">
    <source src="/overpass-clip.mp4" type="video/mp4"/>

        To view this video please enable JavaScript, and consider upgrading to
        a web browser that supports HTML5 video

</video>

thanks
br

You're using the non-minified version (this isn't recommended); when doing so, libpannellum.js also needs to be included. Hence the ReferenceError: libpannellum is not defined error in the browser's developer console.

oh.. non minified.. i downloaded it from here. i haven't read about minified version :-O
where do i get this?
With libpannellum its working now :) thank you !!! :+1:

On the GitHub downloads page, you need to select the pannellum-x.y.z.zip file instead of the source code download. Here's the latest release: https://github.com/mpetroff/pannellum/releases/download/2.3.2/pannellum-2.3.2.zip


Click to show javascript error.

Click to show javascript error.

@Eatenn
Thanks for your feedback, can you provide some details?
operation steps, pygwalker version, browser version, error screenshot?

Hi xiaofei, I have the same problem with Click to show javascript error when I was running the code
"df = pd.read_csv('./bike_sharing_dc.csv')
walker = pyg.walk(df)"
and here is the detail:
Failed to load model class 'BoxModel' from module '@jupyter-widgets/controls'
Error: Module @jupyter-widgets/controls, version ^1.5.0 is not registered, however,         2.0.0 is
at f.loadClass<EMAIL_ADDRESS>seems that the @jupyter-widgets/controls, version is inconsistent.

Hi @oncodocjia
update version of jupyterlab or ipywidgets, try it:
pip install --upgrade jupyterlab
or
pip install --upgrade ipywidgets

Hi @oncodocjia
update version of jupyterlab or ipywidgets, try it:
pip install --upgrade jupyterlab
or
pip install --upgrade ipywidgets

Hi @longxiaofei , Thank u so much! I solved the problem.


Feature - Add missing data node schemas

There is a failing test!
This seems due to some refactoring in core on job cancelation that has not been propagated to rest.
I created a ticket and assigned it to @toan-quach.


refactor: updated the service ref list

Description
Update the ser-ref list in fscloud profile.
Release required?

[ ] No release
[x] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

Merge actions for mergers

When merging, use a relevant conventional commit message that is based on the PR contents and any release notes provided by the PR author. The commit message determines whether a new version of the module is needed, and if so, which semver increment to use (major, minor, or patch).
Merge by using "Squash and merge".

Looks like logdna and logdnaat are not supported as a target service hence updating wherever is necessary for fscloud module except target service references.

/run pipeline

:tada: This PR is included in version 1.11.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix typo in README.md

Hey @Zorbash. Thanks for the PR. But seems that you added a z between two lines. Can you remove it pls?

@nogates Removed.

thanks @Zorbash. merged!


[BUG] Clean up Databricks 9.3 spark312db shim support in the docs

Describe the bug
As we've removed Databricks runtime 9.3 support, so we should to update our docs not containing DB9.3/spark312db shims, like:
https://github.com/NVIDIA/spark-rapids/blob/branch-23.08/docs/dev/shimplify.md sql-plugin/src/main/312db/scala, sql-plugin/src/main/31xdb/scala
https://github.com/NVIDIA/spark-rapids/blob/branch-23.08/CONTRIBUTING.md Databricks Spark based on Spark 3.1.2
Currently we only have one folder per shim, and do not have the shared folder like sql-plugin/src/main/31x/scala, so for the doc shimplify.md, we may not need the [WARNING] line: WARNING  - Consider consolidating  ...?

@sameerz  Can you help to check this issue? Thx~


fix 2965

Coverage decreased (-34.6%) to 19.606% when pulling bbcec29cabf7539a95ba46d10e251db691815fa3 on wy65701436:issue-2965 into 957bd1722a46215ab68af7100acd1ee0dbcff4e1 on vmware:master.

Coverage decreased (-34.6%) to 19.606% when pulling 1f570eb5f5903eefec71ad3cdeaedb4b5738347f on wy65701436:issue-2965 into 957bd1722a46215ab68af7100acd1ee0dbcff4e1 on vmware:master.

Coverage decreased (-34.6%) to 19.606% when pulling bcc1a5c41d12d9e979f4973d88bfc7c4f889700d on wy65701436:issue-2965 into 957bd1722a46215ab68af7100acd1ee0dbcff4e1 on vmware:master.

Coverage decreased (-34.6%) to 19.606% when pulling bcc1a5c41d12d9e979f4973d88bfc7c4f889700d on wy65701436:issue-2965 into 957bd1722a46215ab68af7100acd1ee0dbcff4e1 on vmware:master.

Coverage increased (+0.2%) to 54.4% when pulling 5b54b554aba4714488d86f39e19ded3fe87bedb8 on wy65701436:issue-2965 into 957bd1722a46215ab68af7100acd1ee0dbcff4e1 on vmware:master.


Upgrade to the newest version from inside the app

Is your feature request related to a problem? Please describe.
There is no problem, upgrading to new versions works as expected. This feature request is for convenience enhancement. Whenever there is a new version, I need to download it, close the app, install it, reload the app.
Describe the solution you'd like
I'd like there to be a button within the app that says "Upgrade to latest version" which would download the latest version, install it and restart the app if needed.

Thank you for the suggestion. We already have such ticket https://github.com/dbeaver/dbeaver/issues/6558.
Closed as duplicate.


Allow mass-publish to process a list of site names from a json file or comma-delimited string

…r comma-delimited string
Pre-Flight checklist

[x] Testing

[x] Code is tested
[x] Changes have been manually tested

What are the relevant tickets?
Closes #1126
What's this PR do?
Modifies the management arg options so that a list of site names can be specified as a comma-delimited list or in a JSON file.  Also tweaks the overwrite_ocw_course_content command to formulate the name list the same way.
How should this be manually tested?
These should all work and queue up the expected number of sites for publishing:
From a JSON file:
manage.py mass_publish --filter-json courses.json draft

where courses.json looks like this:
[
  "8-591j-systems-biology-fall-2004",
  "15-057-systems-optimization-spring-2003",
  "6-776-high-speed-communication-circuits-spring-2005"
]

From a string:
manage.py mass_publish --filter 11-382-water-diplomacy-spring-2021,6-00-introduction-to-computer-science-and-programming-fall-2008 draft

No filter (all sites that match other criteria in the query):
manage.py mass_publish draft

Sure, I'll make a separate issue & PR for that.

https://github.com/mitodl/ocw-studio/issues/1135