Troubleshooting Re-pairing Errors with Devices

(base) hemiao@hemiaodeMBP matter.js % npm run shell -- --ble

> shell
> matter-run packages/matter-node-shell.js/src/app.ts --ble

2024-07-17 18:15:48.607 INFO   Node                 Storage location: .matter-shell-0 (Directory)
Started Node #0 (Type: controller) with BLE
matter-node> commission pair --ble --pairingCode 1032-742-2419 --node-id 333
2024-07-17 18:16:27.453 INFO   Node                 matter.js shell controller started for node 0
2024-07-17 18:16:27.479 INFO   SessionManager       restoring resumption record for node 333
{"discovery":{"knownAddress":"undefined","identifierData":{"shortDiscriminator":4},"discoveryCapabilities":{"ble":true,"onIpNetwork":true}},"passcode":36719818,"commissioning":{"nodeId":"333","regulatoryLocation":1,"regulatoryCountryCode":"XX"}}
2024-07-17 18:16:27.491 INFO   MatterController     Commissioning device with identifier {"shortDiscriminator":4} and 2 scanners and knownAddress "undefined"
2024-07-17 18:16:27.491 INFO   ControllerDiscovery  Start Discovering devices using identifier {"shortDiscriminator":4} ...
2024-07-17 18:16:27.597 INFO   ControllerDiscovery  Found 1 devices using identifier {"shortDiscriminator":4}
2024-07-17 18:16:27.598 INFO   MatterController     Commissioning device SII: undefined SAI: undefined SAT: undefined T: undefined DT: undefined PH: undefined ICD: undefined VP: 5120+1004 DN: undefined RI: undefined PI: undefined
2024-07-17 18:16:27.965 INFO   NobleBleClient       Peripheral  is not connectable ... ignoring
2024-07-17 18:16:28.799 INFO   BleChannel           Received Matter handshake response: 656c04f40005.
2024-07-17 18:16:30.478 INFO   PaseClient           Pase client: Paired successfully with ble://.
2024-07-17 18:16:30.478 INFO   SessionManager       End insecure session insecure/3160189658975615273
2024-07-17 18:16:30.479 INFO   Controller~missioner Executing commissioning step 0.1: GetInitialData
2024-07-17 18:16:31.048 INFO   Controller~missioner Executing commissioning step 3.1: GeneralCommissioning.ArmFailsafe
2024-07-17 18:16:31.166 INFO   Controller~missioner Executing commissioning step 5.1: GeneralCommissioning.ConfigureRegulatoryInformation
2024-07-17 18:16:31.347 INFO   Controller~missioner Executing commissioning step 5.2: TimeSynchronization.SynchronizeTime
2024-07-17 18:16:31.348 INFO   Controller~missioner Executing commissioning step 6.1: OperationalCredentials.DeviceAttestation
2024-07-17 18:16:32.219 INFO   Controller~missioner Executing commissioning step 7.1: OperationalCredentials.Certificates
2024-07-17 18:16:34.769 INFO   Controller~missioner Executing commissioning step 10.1: AccessControl
2024-07-17 18:16:34.770 INFO   Controller~missioner Executing commissioning step 11.1: NetworkCommissioning.Validate
2024-07-17 18:16:34.770 INFO   Controller~missioner Executing commissioning step 11.2: NetworkCommissioning.Wifi
2024-07-17 18:16:45.030 INFO   Controller~missioner Executing commissioning step 12.1: Reconnect
2024-07-17 18:16:47.365 INFO   CaseClient           Case client: Paired successfully with udp://fe80::3a73:eaff:fee3:b3df%en0:5540 and parameters idleIntervalMs: 500 activeIntervalMs: 300 activeThresholdMs: 4000 dataModelRevision: 17 interactionModelRevision: 11 specificationVersion: 0 maxPathsPerInvoke: 1
2024-07-17 18:16:47.378 INFO   SessionManager       End insecure session insecure/16313807091872631793
2024-07-17 18:16:47.385 INFO   Controller~missioner Executing commissioning step 15.1: GeneralCommissioning.Complete
2024-07-17 18:16:48.171 INFO   InteractionClient    Subscription successfully initialized with ID<PHONE_NUMBER> and maxInterval 60s.
2024-07-17 18:16:48.172 INFO   ClusterHelper        Unknown cluster 0x5 requested: UnknownCluster instance added.
2024-07-17 18:16:48.179 INFO   ClusterClient        Added unknown attribute 0x0 to cluster 0x5
2024-07-17 18:16:48.180 INFO   ClusterClient        Added unknown attribute 0x1 to cluster 0x5
2024-07-17 18:16:48.180 INFO   ClusterClient        Added unknown attribute 0x2 to cluster 0x5
2024-07-17 18:16:48.180 INFO   ClusterClient        Added unknown attribute 0x3 to cluster 0x5
2024-07-17 18:16:48.180 INFO   ClusterClient        Added unknown attribute 0x4 to cluster 0x5
2024-07-17 18:16:48.180 INFO   ClusterClient        Ignoring unknown command 0 at cluster 0x5
2024-07-17 18:16:48.180 INFO   ClusterClient        Ignoring unknown command 1 at cluster 0x5
2024-07-17 18:16:48.180 INFO   ClusterClient        Ignoring unknown command 2 at cluster 0x5
2024-07-17 18:16:48.180 INFO   ClusterClient        Ignoring unknown command 3 at cluster 0x5
2024-07-17 18:16:48.180 INFO   ClusterClient        Ignoring unknown command 4 at cluster 0x5
2024-07-17 18:16:48.180 INFO   ClusterClient        Ignoring unknown command 5 at cluster 0x5
2024-07-17 18:16:48.180 INFO   ClusterClient        Ignoring unknown command 6 at cluster 0x5
stateInformationCallback Node 333 connected
Commissioned Node: 333n
[ { deviceType: 22, revision: 1 } ]
attributeChangedCallback 333: Attribute undefined/1/768/colorTemperatureMireds changed to 500
[
   4, 29, 31, 40, 42,
  48, 49, 51, 54, 60,
  62, 63
]
Smart Bulb
Done.
matter-node> 2024-07-17 18:16:50.387 INFO   ControllerDiscovery  Found 1 devices using identifier {"shortDiscriminator":4}

matter-node> commands onoff toggle 333 1
Command Toggle 333/1/6/2 invoked
Done.
matter-node> attributeChangedCallback 333: Attribute undefined/1/5/Unknown (0x3) changed to false
attributeChangedCallback 333: Attribute undefined/1/6/globalSceneControl changed to true
attributeChangedCallback 333: Attribute undefined/1/6/onTime changed to 0
attributeChangedCallback 333: Attribute undefined/1/5/Unknown (0x3) changed to false
attributeChangedCallback 333: Attribute undefined/1/6/onOff changed to false
attributeChangedCallback 333: Attribute undefined/1/6/onTime changed to 0
attributeChangedCallback 333: Attribute undefined/1/8/currentLevel changed to 254
attributeChangedCallback 333: Attribute undefined/1/8/remainingTime changed to 0

matter-node> commission unpair 333
stateInformationCallback Node 333 disconnected
stateInformationCallback Node 333 decommissioned
2024-07-17 18:17:19.841 INFO   MatterController     Removing commissioned node 333 from controller.
2024-07-17 18:17:19.842 INFO   SessionManager       End CASE session secure/39627
2024-07-17 18:17:19.842 INFO   Commission~ontroller Session for peer node 333 disconnected ...
2024-07-17 18:17:19.842 INFO   PairedNode           Node 333: Session disconnected
Done.
matter-node> 2024-07-17 18:17:23.747 ERROR  ExchangeManager      RetransmissionLimitReachedError
    at MessageExchange.retransmitMessage (/Users/hemiao/matter/matter.js/packages/matter.js/src/protocol/MessageExchange.ts:434:45)
    at TimerNode.callback (/Users/hemiao/matter/matter.js/packages/matter.js/src/protocol/MessageExchange.ts:459:26)
    at Timeout._onTimeout (/Users/hemiao/matter/matter.js/packages/matter-node.js/src/time/TimeNode.ts:59:18)
    at listOnTimeout (node:internal/timers:573:17)
    at process.processTimers (node:internal/timers:514:7)

matter-node> commission pair --ble --pairingCode 1032-742-2419 --node-id 333
{"discovery":{"knownAddress":"undefined","identifierData":{"shortDiscriminator":4},"discoveryCapabilities":{"ble":true,"onIpNetwork":true}},"passcode":36719818,"commissioning":{"nodeId":"333","regulatoryLocation":1,"regulatoryCountryCode":"XX"}}
2024-07-17 18:17:50.229 INFO   MatterController     Commissioning device with identifier {"shortDiscriminator":4} and 1 scanners and knownAddress "undefined"
2024-07-17 18:17:50.229 INFO   ControllerDiscovery  Start Discovering devices using identifier {"shortDiscriminator":4} ...
2024-07-17 18:17:50.229 INFO   ControllerDiscovery  Found 1 devices using identifier {"shortDiscriminator":4}
2024-07-17 18:17:50.230 INFO   MatterController     Commissioning device SII: undefined SAI: undefined SAT: undefined T: 0 DT: undefined PH: 36 ICD: 0 VP: 5120+1004 DN: undefined RI: 010059C4188CB9C4F27DF63ECB634784F9BA PI:
2024-07-17 18:17:56.508 INFO   MatterController     Commissioning device SII: undefined SAI: undefined SAT: undefined T: 0 DT: undefined PH: 36 ICD: 0 VP: 5120+1004 DN: undefined RI: 010059C4188CB9C4F27DF63ECB634784F9BA PI:
Error happened during command: Error: Failed to connect on any discovered server
Error: Failed to connect on any discovered server
    at Function.iterateServerAddresses (/Users/hemiao/matter/matter.js/packages/matter.js/src/protocol/ControllerDiscovery.ts:228:23)
    at MatterController.commission (/Users/hemiao/matter/matter.js/packages/matter.js/src/MatterController.ts:482:32)
    at CommissioningController.commissionNode (/Users/hemiao/matter/matter.js/packages/matter.js/src/CommissioningController.ts:264:24)
    at Object.handler (/Users/hemiao/matter/matter.js/packages/matter-node-shell.js/src/shell/cmd_commission.ts:127:41)
matter-node>
matter-node>

Development environment:

Apple M1 Max
macOS Sonoma 14.5
Node.js 20.15.1
npm 10.8.2
code version: 0.10.0-alpha.0-20240716-446c872f

Operation steps:

Pair the device.
Unpair the device.
Re-pair the device.

My question is why is there an error when re-pairing in step 3? Thank you for your help!

can you please enable debug log or enable logfile for debug log and provide the debug log?
In fact he discovered the device correctly but was then not able to connect to the device. That also might bean issue of the devcie. What device is it?

@Apollon77
This device is a color-adjustable light bulb.
device.md
For the debug log, please see the attached document.
console.md
debug.md

Ok ... interesting. It seems on one hand that the device did not properly expired it's MDNS announcements and so was still somehow discoverable on ip ... but also the controller did not started a BLE search. Ok I check

fix is in merged PR .. should come into next nightly .. so in 10h+ or such please try again :-)

PS: nightly did not went out because of a testcase change ... Will trigger one later

nightly released


PowerToys Run not opening

Microsoft PowerToys version
0.74.1
Installation method
PowerToys auto-update
Running as admin
No
Area(s) with issue?
PowerToys Run
Steps to reproduce
PowerToysReport_2023-10-18-00-14-45.zip
✔ Expected Behavior
Opening the PowerToys Run bar with CTRL + space (yes, I have changed to that).
❌ Actual Behavior
There isn't anything.
Other Software
No response

@jaimecbernardo i'm not seeing anything in the logs that seems wrong

In the logs there seems to be a plugin called "Winget" that's taking >30 seconds to initialize.
@Aapeli1304  Are you using third-party plugins with PowerToys Run? Does disabling the third party plugins you are using solve the issue? /needinfo

Yes, I am using it. I don't know it works now.


Timestamp feature on snapshot

Hello,
First of all thank you for maintaining such a great project.
Yesterday I was checking on the webcamJS and I liked it very much.
I though about a scenario where one needs to check time of snapshot taking.
Will it be hard to add a timestamp to an image without much of image processing? With only using javascript?

Thank you.
Yes, you can accomplish this with JavaScript and the Canvas object.  Check out the docs for how to get access to the raw canvas object used to capture the camera frames (it's passed to your callback when calling snap()), then you can render text onto it using Canvas fillText():
https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Drawing_text
Good luck!


"laps" attribute was removed from Activity

When trying to access an activity I got an error like:
Could not find attribute laps on entity  (Original: AttributeError("can't set attribute",))
Simply commenting out the laps attribute (https://gist.github.com/ollyajoke/13d8656a380d70d846fc8fffff9a40fc) fixed the issue for me for now.

I dealt with this last night. The base activity api call now returns the lap information as a list. When deserializing and setting the Activity attributes, the exception is thrown as "Activity.laps" already exists (what you commented out). The existing property is written to use the laps api.
In summary:

Strava is adding (undocumented!) data to their api call
Stravalib does not ignore this extra data and throws an exception adding it to the Activity model

Possible fixes:

Ignore the extra data

This can be a one-line fix (add and k != laps here), but that is ugly and has side effects. Realistically, deserialization should not be done blindly.

Add the new data to the model

The existing laps property would need to be renamed
Coexistence of both laps properties would need to be thought through.

I encountered the same problem and was assuming something on my end was goofed.  Is it correct to say the problem is the Strava REST web app just started returning laps for Activities or did the client bindings change?  Reason I ask is I was upgrading my libraries when I encountered the issue.

This happens with Client.get_activity() but not with Client.get_activities().

@woodmicha Correct, I don't believe this is because of anything updated with stravalib. The last commit for stravalib was on 10/26 from pr #95.

@ebrensi that's a good data point. The data being returned in the /athlete/activities api call is different than the /activities/{id} call (/athlete/activities has 13 less properties), and does not have the 'laps' data.
For completeness:
The additional properties /activities/{id} returns are:

partner_brand_tag
best_efforts
splits_standard
segment_efforts
calories
partner_logo_url
laps
splits_metric
similar_activities
embed_token
photos
description
device_name

This is described in the api docs, but not completely. gear_id is returned in the summary view and the undocumented properties below are returned in the detailed /activities/{id} view:

partner_brand_tag
partner_logo_url
laps
similar_activities

Interesting ... I guess we need to support the new laps data and rename the current laps api call.  There is some precedent for this happening with photos API too.  It is an API breaking change, so I will bump at least the minor version (should probably adopt semantic versioning here) and make it explicit in changelog.

So, after a bit more investigation, it would appear that the laps data returned with the activity detail is the same as the array.  So I'm just going to make the laps property settable; that seems to do the trick.

FYI -- pushed this out in 0.6.4.  Let me know if any issues discovered.

Thanks!


Resume training, load the model and report an error

The configuration is the same environment
Loading Backbone Checkpoint './model/EfficientNet-b0/model/Epoch_36_Time_2021-01-07-00-31_checkpoint.pth'
Traceback (most recent call last):
File "train.py", line 370, in
main()
File "train.py", line 44, in main
mp.spawn(main_worker, nprocs=ngpus_per_node, args=(ngpus_per_node, cfg, val_dataset))
File "/root/miniconda3/envs/myconda/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 171, in spawn
while not spawn_context.join():
File "/root/miniconda3/envs/myconda/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 118, in join
raise Exception(msg)
Exception:
-- Process 0 terminated with the following error:
Traceback (most recent call last):
File "/root/miniconda3/envs/myconda/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 19, in _wrap
fn(i, *args)
File "/mnt/cavaface.pytorch/train.py", line 222, in main_worker
backbone.load_state_dict(torch.load(BACKBONE_RESUME_ROOT, map_location=loc))
File "/root/miniconda3/envs/myconda/lib/python3.7/site-packages/torch/serialization.py", line 528, in load
return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
File "/root/miniconda3/envs/myconda/lib/python3.7/site-packages/torch/serialization.py", line 782, in _load
result = unpickler.load()
ModuleNotFoundError: No module named 'torch'

the error is ModuleNotFoundError: No module named 'torch', make sure you have installed pytorch and import it.

the error is ModuleNotFoundError: No module named 'torch', make sure you have installed pytorch and import it.

the error is ModuleNotFoundError: No module named 'torch', make sure you have installed pytorch and import it.

Of course, I configured the pytorch environment and imported pytorch, but this error still occurred！

the error is ModuleNotFoundError: No module named 'torch', make sure you have installed pytorch and import it.

Of course, I configured the pytorch environment and imported pytorch, but this error still occurred！

the error is ModuleNotFoundError: No module named 'torch', make sure you have installed pytorch and import it.

sorry ,The correct error is ModuleNotFoundError: No module named 'torch'

the error is ModuleNotFoundError: No module named 'torch', make sure you have installed pytorch and import it.

sorry ,The correct error is ModuleNotFoundError: No module named 'torch'

the error is ModuleNotFoundError: No module named 'torch', make sure you have installed pytorch and import it.

The correct error is ModuleNotFoundError: No module named 'torch'

the error is ModuleNotFoundError: No module named 'torch', make sure you have installed pytorch and import it.

The correct error is ModuleNotFoundError: No module named 'torch'

the error is ModuleNotFoundError: No module named 'torch', make sure you have installed pytorch and import it.

sorry the correct error is ModuleNotFoundError: No module named `'torch'```

the error is ModuleNotFoundError: No module named 'torch', make sure you have installed pytorch and import it.

sorry the correct error is ModuleNotFoundError: No module named `'torch'```

the error is ModuleNotFoundError: No module named 'torch', make sure you have installed pytorch and import it.

the correct error is ModuleNotFoundError: No module named '—torch—'

the error is ModuleNotFoundError: No module named 'torch', make sure you have installed pytorch and import it.

the correct error is ModuleNotFoundError: No module named '—torch—'


User Story 3: Testgraph Generation

Closes #18
Adds new function generate_graph to create testing graphs

Code Review:

[X] Do pipelines pass?

[X] No uncalled functions?

[X] No development leftovers?

[X] Can any functions be replaced with library functions?

[X] Can (duplicated) code be factored out to new functions?

[X] Efficient storage?

[X] Constants for magic numbers?

[X] Are no functions overly complex?

[X] Is code commented?

[X] Are the comments consistent?

Are variables

[X] Well named?
[X] Properly typed, including constness?
[X] Non-redundant?

[X] Are bounds checked?

[X] Are inputs/arguments validated?

[X] Are all outputs written?

[X] Are all allocated things de-allocated again?


Broken by Create 0.5.1b

Using CreateTweaker's standard documentation procedure for crafting, doesn't work.

I need:
The Script
MC version
CreateTweaker version
Please

I deleted the script, unfortunately, but it was mixing eight blackstone and a gold ingot into a gilded blackstone.
MC version is 1.19.2
CreateTweaker version is latest as of this morning

Apologies I couldn't be more helpful

I just updated my dev environment to 0.5.1b and all the scripts are working fine.
Without your script I can't help you unfortunately, but I can confirm that nothing is broken with the mod.

Update: retried this with a new script
import mods.createtweaker.MixingRecipe;
import mods.create.MixingManager;
import mods.create.IProcessingRecipeManager;
MixingManager.addJsonRecipe("mixed_gilded_blackstone", item:minecraft:gilded_blackstone, [item:minecraft:blackstone, item:minecraft:gold_nugget]);

Updated update: tried with another type, and it just straight up didn't work even though it didn't throw an error
import mods.createtweaker.ItemApplicationRecipe;
import mods.create.ItemApplicationManager;
import mods.create.IProcessingRecipeManager;
<recipetype:create:item_application>.addRecipe("applied_gilded_blackstone", [<item:minecraft:gilded_blackstone> % 100], <item:minecraft:blackstone>, <item:minecraft:gold_nugget>, false);

Using your script verbatim I can confirm that it works.

H u h. Okay, thank you, it's something weird with my setup then. Thank you for your help!


[broker] Optimize TopicPolicies#maxUnackedMessagesOnConsumer with HierarchyTopicPolicies

Motivation
This is one of the serial topic policy optimization with HierarchyTopicPolicies.
Update topic policy with HierarchyTopicPolicies comes with these benefits:

All topic policy related settings will goes into AbstractTopic#topicPolicies, easier to understand, check, review, and modify.
Unify policy update to AbstractTopic. And easier to find which policy is not applied to non-persistent topic yet. And we can easily add support for it.
Unify policy value with 3 level settings (topic/namespace/broker), and priority with topic > namespace > broker.  And it's easier to find which level settings is missing.
All values are updated at creation or by trigger. We can save some resource to update it or recalculate each time we use it.
etc.

Modifications

Add new field maxUnackedMessagesOnConsumer in org.apache.pulsar.broker.service.AbstractTopic#topicPolicies.
change maxUnackedMessages to maxUnackedMessagesEnabled in Consumer. maxUnackedMessages check is enabled only for durable cursor.

Verifying this change

[ ] Make sure that the change passes the CI checks.

This change is already covered by existing tests, such as

org.apache.pulsar.broker.admin.AdminApiMaxUnackedMessages

Some checklist for updating topic policy with HierarchyTopicPolicies.

[x] Broker level value set. And if it's dynamic (no).
[x] Namespace level value updated.
[x] Topic level value updated.
[x] Pre-existing unit test covers this change and updated to verify this change.

Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation
Check the box below and label this PR (if you have committer privilege).
Need to update docs?


Checking in new roots.

Fixing part 1 of #7348.

Not sure why some tests are failing. Don't think that this has anything to do with the roots change.

I may have jumped the gun merging this one: https://grpc-testing.appspot.com/job/gRPC_pull_requests/10986/config=msan,language=c,platform=linux/testReport/junit/(root)/tests/bins_msan_h2_ssl_cert_test_compressed_payload/

I'm really not sure it's related...
On Fri, Jul 15, 2016 at 10:18 AM, Nicolas Noble<EMAIL_ADDRESS>wrote:

I may have jumped the gun merging this one:
https://grpc-testing.appspot.com/job/gRPC_pull_requests/10986/config=msan,language=c,platform=linux/testReport/junit/(root)/tests/bins_msan_h2_ssl_cert_test_compressed_payload/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/pull/7381#issuecomment-233012669, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AF-P7faOYWCxdIm1WgjfaPgDziuURMmvks5qV8EBgaJpZM4JL8vg
.


[superlu] Update to 7.0.0

Fixes #41610. Update superlu to 7.0.0.
No feature needs to be tested, the usage test passed on x64-windows (header files found).

[x] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download.
[ ] ~The "supports" clause reflects platforms that may be fixed by this new version.~
[ ] ~Any fixed CI baseline entries are removed from that file.~
[ ] ~Any patches that are no longer applied are deleted from the port's directory.~
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Thanks for the update!


Add structured dataset type checker

Signed-off-by: Kevin Su<EMAIL_ADDRESS>TL;DR
Add structured dataset type checker
Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[ ] Code completed
[x] Smoke tested
[x] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
How did you fix the bug, make the feature etc. Link to any design docs etc
Tracking Issue
https://github.com/flyteorg/flytekit/pull/785
Follow-up issue
NA

I see a lot of changes in the PR that are not related... you may have to start a new branch if this is borked

sorry, will remove them


Change reactive.Effect to output and render.text

As promised.
Fixes #102

 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.

CI failure is https://github.com/rstudio/py-shinywidgets/issues/104, so I'll merge.


Add ApacheCon logo button to landing page

As requested by Rich Bowen:
On Mon, 9 Apr 2018 at 14:07 Rich Bowen<EMAIL_ADDRESS>wrote:
Dear PMCs,
ApacheCon is our official community event, and is coming up in
September, in Montreal. We need your help getting the word out to your
user communities. (Details at http://apachecon.com/ )
We've made this as easy as possible - it's just a cut-and-paste
snippet that we ask you to add to your site to display the logo of the
nearest future event. That process is documented here:
http://apache.org/events/README.txt  You can see it in action on, for
example, http://httpd.apache.org/
If you follow these steps, it will automatically update for the next
event, and the one after that. We have two other events planned for
this year, and are already working on 5 events for 2019.
Note: If you don't like the available image sizes, please pitch in and
help us define better sizes/dimensions. Patches welcome. We also have
these banners - http://apachecon.com/acna18/banners/ - which can be
used instead, and can also be used for other, non-ASF sites.
This is also a good time to remind you that we have general site
requirements. These are outlined at
https://www.apache.org/foundation/marks/pmcs#navigation and you can
check your project's compliance at https://whimsy.apache.org/site/
Thanks, and don't hesitate to get in touch if you have any questions,
comments, or concerns.
Rich Bowen, VP, Events
This looks like:

@geomacy LGTM.
While this is very nice, I took the liberty to play a bit with it and ended up with this:

That way, a user can close the "notification" if they don't want to see it. Tell me if you like that and I can commit on top of yours. Otherwise, happy to merge as it is.

That looks super, by all means go ahead.

Cool, I'll merge yours


Replace Float64 with T

https://github.com/RainerHeintzmann/FindShift.jl/blob/343f7375699b64f12daeabdd564fcc56f1d36dfb/src/exp_shifts.jl#L65

Thanks. The function was entirely removed now.


Overrightarrow rendering problem

Issue Summary
There is already a closed issue that describes the problem in detail, but the bug still exists in the latest version (3.2.2)
Steps to Reproduce:

Open this codepen
In Chrome arrow extender is slightly offset (this is CHTML rendering):

In SVG rendering there is no such problem:

The visibility of the shift depends on the font size or page zoom. By increasing the font size or zoom, you can get rid of the error.

Technical details:

MathJax Version: 3.2.2
Client OS: (e.g., Windows 10)
Browser: (Chrome 126.0.6478.127; Firefox 128.0)

I am loading MathJax via
<script<EMAIL_ADDRESS>

Sorry, I was checking soemthing and accidentally submitted the comment.  Please ignore.

These are browser rendering problems.  As you have shown, a zoomed version renders properly, meaning the browser is not rendering the original size correctly.  That is due to pixel rounding that is being done differently for the stretchy piece from the arrow head at the end.  Both are positioned the same by MathJax, but rendered differently by the browser.  The fact that you can get different results by zooming shows that this is not a MathJax positioning error, as the same exact positioning acts differently at different magnifications.  Indeed, the extender is sometimes too low and sometimes too high depending on the magnification, so MathJax won't be able to compensate for this effect.


Fix location picker not retaining filter

Current coverage is 7.39% (diff: 100%)

Merging #18 into dev will increase coverage by 2.10%

@@               dev       #18   diff @@
========================================
  Files           86        86
  Lines         3326      3327     +1
  Methods          0         0
  Messages         0         0
  Branches       333       333
========================================
+ Hits           176       246    +70
+ Misses        3140      3067    -73
- Partials        10        14     +4

Powered by Codecov. Last update 49ac962...a063b96


Check if DNS seeder are working correctly and fix if required

Motivation
I think there's an issue with our DNS seeder, but I couldn't manage to confirm it 100% (could be a DNS or network issue on my side).
To reproduce it:

Start Zebra with only mainnet.seeder.zfnd.org:8233 in initial_mainnet_peers
All connection attempts will fail, or maybe a single one will work

That would indicate that the DNS seeder is reporting offline peers for some reason.
Specifications

Designs

[ ] Try to reproduce the issue
[ ] If it's reproducible, investigate it and try to fix it
[ ] Create a new ticket if the issue is too complex

Related Work

Has the seeder's advertised protocol version been updated to 170100?

Has the seeder's advertised protocol version been updated to 170100?

Yep, but I also tested this before NU5 activation, and the peers that are being returned by our seeder do not seem to respond to the TCP connection attempt by Zebra at all, so it doesn't seem to be a protocol version issue

I also reproduced this yesterday, but with a few nodes on the correct protocol version.
I think we should deploy a new seeder instance, swap over the fixed IP, and see if it has better peers.

I think it's likely to be this known seeder issue:
Enforce the minimum protocol version

I think it's likely to be this known seeder issue: Enforce the minimum protocol version

I wonder about this, though. I see that Zebra attempts to connect to the IPs returned by the seeder but the TCP connection fails to open. If it were just outdated peers, it would fail after the Zcash handshake, right?
In any case I'll try to investigate this more thoroughly.

I think I found the issue.
Our seeder adds any connectable peer to the address book, even if it uses a non-default port.
However, when Zebra connects to an IP from the DNS seeder, it always use the default port since there's no way to know the port of the peer through DNS.
I'll push a PR soon to fix this, but I'd like to check if my reasoning is correct.


Hackers, assemble!

Hello,
I'm searching for like minded hackers to make a group.
If you have telegram, you can message me
my username: @gstar36901
Thanks!
Warning: If you're a newbie, please learn some basics, and then message me. We are a more advanced group and might not be suitable for you

Hi my friend can you help me and say if you can hack someone's account on smule site???

ok bye


draggable-vue-directive doesn't support touch ?

Why the library doesn't support touch? Just tried the demo using a touch screen and I can't drag and drop using touch.

Can I create a pull request to update this library to support touch events ?

You are right, will be done hopefully in the next version

Any plans to include this?

Yes


Lookup on parent site

Hello,
I didn't manage to make DIFS work when uploading items to a SharePoint list having a lookup field associated to a list which is not located in the same web but in a parent web.
From my understanding, DestinationListName and LookupListTitle must be in the same web which is not always the case...
Did I miss something in the configuration ?
Thanks!

Thanks.  This limitation will be addressed in a future release
From: Titef<EMAIL_ADDRESS>Sent: 01 December 2017 15:53
To: MadAboutImport/DIFS<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [MadAboutImport/DIFS] Lookup on parent site (#6)
Hello,
I didn't manage to make DIFS work when uploading items to a SharePoint list having a lookup field associated to a list which is not located in the same web but in a parent web.
From my understanding, DestinationListName and LookupListTitle must be in the same web which is not always the case...
Did I miss something in the configuration ?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/MadAboutImport/DIFS/issues/6 , or mute the thread https://github.com/notifications/unsubscribe-auth/AViqCd8bO2tpgXejC3EZr3Qmwh7N5gsCks5s8CDKgaJpZM4QyiLJ .  https://github.com/notifications/beacon/AViqCXXBtsUQMKXq_tw-fOo_jnrBQx6tks5s8CDKgaJpZM4QyiLJ.gif


[Android] App logo is not shown after launching it when app is closed by tapping on device back button.

App version: App store v1.4.2, Celo staging v1.4.2, Play store v1.5.0
Repro on:  Samsung Galaxy Note9 (8.1.0), Google Pixel 2 XL (9.0)
Priority: Low
Test Account:<PHONE_NUMBER>/BackupKey
Repro Steps:

Launch the app.
Make sure user is on ‘Choose Language’ page.
Tap device back button to close the app.
Relaunch the app.
Observe

Investigation:

Every time the restart App option is shown when the user closing the app by device back button.
Issue does not repro when user relaunched the app after killing it
Issue is not reproed if the app is opened after it is backgrounded using the device home button.

Impact: Bad user experience
Current Behavior: Current Behavior: Celo Logo is not shown and app is not launched after some time it shows the “Restart App” button.
Expected Behavior:  Celo logo should shown and Restart App button should instantly
Attachment: Android_AppLogoIsnotShown.mp4 (Bug Observed at 05 secs)

Closing as this is the intended behavior, as the Celo logo page is the loading screen and loading is not required in the behavior described above

Okay, thanks @annakaz for the update


[plugin] allow cross compiling to Amazon Linux without docker

The plugin should add an option allowing developers to cross compile to Amazon Linux, removing the dependency on docker.
This can be done in two ways
1/ check and/or install the Static Linux SDK (musl-based) and create a standalone binary statically linked to musl.
Pro : no SDK bundle to generate
Cons : binary size might impact cold start time
2/ Create our own bundle of the SDK for Amazon Linux. Check or install the SDK at first invocation of the plugin and cross compile for that SDK
Pro : Same binary size as with the existing docker-based solution
Cons : we have to create (and maintain) and Amazon Linux 2 SDK bundle
References:
SDK Bundles : https://github.com/swiftlang/swift-evolution/blob/main/proposals/0387-cross-compilation-destinations.md
Static Linux SDK : https://www.swift.org/documentation/articles/static-linux-getting-started.html
Swift SDK Generator : https://github.com/swiftlang/swift-sdk-generator
What version of this project (swift-aws-lambda-runtime) are you using?
main
Swift version
6.x

We can build an SDK for AmazonLinux2 with
https://github.com/swiftlang/swift-sdk-generator
swift run swift-sdk-generator make-linux-sdk --from-container-image swift/amazonlinux2 --with-docker --swift-version 6.0.1-RELEASE

duplicate of https://github.com/swift-server/swift-aws-lambda-runtime/issues/332


ServiceExtensionContext should be able to provide multiple instances of the same type

Hello everyone,
at the time of writing the ServiceExtensionContext interface cannot provide multiple interfaces of the same type. A current workaround is to register some kind of interface registry at the ServiceExtensionContext, which then can be used to retrieve multiple interfaces of the same type.
I would prefer it, if the ServiceExtensionContext would be able to return a List of implemented interfaces. So that creating these intermediate registry classes becomes obsolete.
Dominik Pinsel<EMAIL_ADDRESS>Daimler TSS GmbH, legal info/Impressum

This would be simple to implement but I'm not sure it will make the registry concept obsolete. If the registry is removed, then each service implementation will need to guarantee that it is registered in the extension context prior to clients that depend on it.
This situation is handled by DI graphs, but introducing such a framework will then require us to write bind implementations into the DI configuration (e.g. Guice's module concept), which doesn't really simplify the problem, or perform some form of classpath scanning which brings its own set of issues given that the EDC should be constrained embeddable in other runtimes (i.e. EDC should not assume control over the host classpath).
Registries are one of the tradeoffs of going with the limited dependencies approach in EDC. FWIW, some OSGi-based systems adopt a similar concept of a registry.

This would be simple to implement but I'm not sure it will make the registry concept obsolete. If the registry is removed, then each service implementation will need to guarantee that it is registered in the extension context prior to clients that depend on it.
This situation is handled by DI graphs, but introducing such a framework will then require us to bind implementations into the DI configuration (e.g. Guice's module concept), which doesn't really simplify the problem, or perform some form of classpath scanning which brings its own set of issues given that the EDC should be embeddable in other runtimes (i.e. EDC should not assume control over the host classpath).
Registries are one of the tradeoffs of going with the limited dependencies approach in EDC. FWIW, some OSGi-based systems adopt a similar concept of a registry.

Yea, I also though about this. This becomes a problem if we get cyclic dependency between "service-extension-interface-packages". I don't know how to name it better 😄
While this is a problem and makes it impossible for the ServiceExtensionContext to provide multiple interfaces at once, I think it would be really interesting to know whether this is the case in the code base. Just from a design perspective it would indicate, the service extension points that might not be well designed.
Maybe we should do a prototype? It could show us the interfaces, where the problems occur. In case we have these type of cyclic dependencies.

I'm not sure I follow the cyclic dependency issue. The runtime already checks for cyclic dependencies between requires/provides at boot.
I'm not against adding support for multiple service implementations but I don't think it will allow us to replace the registry pattern.

Hi @jimmarino, I've created a draft pull requests extending the DefaultServiceExtensionContext making it able to provide a list of service instances instead of just one. As you already mentioned the code change will not introduce any new issues while computation of the dependency graph happens, since that's done prior during boot phase.


How to use touchpad with LVGL?

Hello,
I am using LVGL to display a GUI for an embedded linux application that writes directly to the framebuffer. It is not clear to me what steps are necessary in order to use LVGL with a capacitive touch LCD screen. When I run my application, the GUI shows up fine on the display, but the touch input isn't working.
I have read the porting documentation and I am adding the touchpad as an input device in main() as follows:
lv_indev_drv_t indev_drv;
lv_indev_drv_init(&indev_drv);
indev_drv.type = LV_INDEV_TYPE_POINTER;
indev_drv.read = ts_input_read;
lv_indev_drv_register(&indev_drv)

And the ts_input_read function is defined as follows:
static lv_coord_t touchpad_x;
static lv_coord_t touchpad_y;

static bool ts_input_read(lv_indev_data_t* data)
{
    data->point.x = touchpad_x;
    data->point.y  touchpad_y;
    data->state = LV_INDEV_STATE_PR;
    return false;
}

It's not clear to me where I need to go from here.

Do I need to create a custom driver for the touchpad I am using?
Do I need to add more logic to ts_input_read to read from the touchpad?
How do I know if data->state should get set to LV_INDEV_STATE_PR or LV_INDEV_STATE_REL?

Any suggestions would be much appreciated.

@GnUfTw If you're on Linux then your touchscreen might be a standard /dev/input/eventX device. In that case there is a driver in the lv_drivers repository.

@embeddedt Do you know if there is a way I can determine if the touchscreen is a standard /dev/input/eventX device?
If I run the command ls /dev/input I get the following output: by-path event0 event1 event2 event3 mice mouse0 mouse1 touchscreen0.

I have made the following changes to my lv_drv_conf.h file:

#define USE_EVDEV 1
#define EVDEV_NAME "/dev/input/event2

Although, it is still not clear to me how to use the evdev touchpad driver from within my application. I am left with the following questions:

Do I need to call evdev_init() function from main?
How am I supposed to use the evdev_set_file() function?
How am I supposed to use the evdev_read() function?

@GnUfTw

Call evdev_init before you register the touchscreen driver.
Don't worry about evdev_set_file.
Instead of registering ts_input_read, register evdev_read.

@embeddedt Thanks for the information. Unfortunately, the touchscreen is still not working. My main function now looks like this:
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <stdbool.h>
#include "lvgl/lvgl.h"
#include "lv_drivers/display/fbdev.h"
#include "lv_drivers/indev/evdev.h"
#include "app/app.h"

int main(void) {
	/*LittlevGL init*/
	lv_init();

	/*Linux frame buffer device init*/
	fbdev_init();

	/*Add a display the LittlevGL using the frame buffer driver*/
	lv_disp_drv_t disp_drv;
	lv_disp_drv_init(&disp_drv);
	disp_drv.disp_flush = fbdev_flush;      /*It flushes the internal graphical buffer to the frame buffer*/
	lv_disp_drv_register(&disp_drv);

	/* Linux input device init */
	evdev_init();

	/* Set up touchpad input device interface */
	lv_indev_drv_t indev_drv;
	lv_indev_drv_init(&indev_drv);
	indev_drv.type = LV_INDEV_TYPE_POINTER;
	indev_drv.read = evdev_read;
	lv_indev_drv_register(&indev_drv);

	App();

	/*Handle LittlevGL tasks (tickless mode)*/
	while(1) {
		lv_tick_inc(5);
		lv_task_handler();
		usleep(5000);
		App_Tick();
	}

	return 0;
}

A large portion of the application I am working on has been developed and works with the simulator. I am currently working on porting it to the target system and getting it to work with the actual hardware.
Do you have any suggestions regarding where I should go from here?

You can't have lv_tick_inc(5); in the same while loop. It needs to go in a separate thread.

@GnUfTw I suggest adding printfs to the evdev driver to see what's going on.

Hi:
The following code you can refer to,  It works in my touch LCD screen.
`bool evdev_read(lv_indev_data_t * data)
{
struct input_event in;
while(read(evdev_fd, &in, sizeof(struct input_event)) > 0) {
    if(in.code == ABS_MT_POSITION_X) {
    	evdev_root_x = in.value;
    } else if(in.code == ABS_MT_POSITION_Y) {
    	evdev_root_y = in.value;
    } else if(in.code == ABS_MT_TOUCH_MAJOR) {
    	evdev_button = in.value == 0 ? LV_INDEV_STATE_REL : LV_INDEV_STATE_PR;
    }
}

data->point.x = evdev_root_x;
data->point.y = evdev_root_y;
data->state = evdev_button;
if(data->point.x < 0)
     data->point.x = 0;
   if(data->point.y < 0)
     data->point.y = 0;
   if(data->point.x >= LV_HOR_RES)
     data->point.x = LV_HOR_RES - 1;
   if(data->point.y >= LV_VER_RES)
     data->point.y = LV_VER_RES - 1;

   return false;

}`

@fallstool Please use
```c
code
```
around the code block to add syntax highlighting.

I have added logic to run lv_tick_inc() on a background thread, this is shown below.
void *tick_thread(void *data)
{
	(void) data;	// Suppress warnings.

	// Call lv_tick_inc() periodically to inform LVGL about how much time has elapsed.
	while (1)
	{
		usleep(5000);
		lv_tick_inc(5);
	}
}

int main(void)
{
	pthread_t lvTickThread;
	int rc;

	/*LittlevGL init*/
	lv_init();

	/*Linux frame buffer device init*/
	fbdev_init();

	/*Add a display the LittlevGL using the frame buffer driver*/
	lv_disp_drv_t disp_drv;
	lv_disp_drv_init(&disp_drv);
	disp_drv.disp_flush = fbdev_flush;      /*It flushes the internal graphical buffer to the frame buffer*/
	lv_disp_drv_register(&disp_drv);

	/* Linux input device init */
	evdev_init();

	/* Set up touchpad input device interface */
	lv_indev_drv_t indev_drv;
	lv_indev_drv_init(&indev_drv);
	indev_drv.type = LV_INDEV_TYPE_POINTER;
	indev_drv.read = evdev_read;
	lv_indev_drv_register(&indev_drv);

	App();

	rc = pthread_create(&lvTickThread, NULL, tick_thread, NULL);

	/*Handle LittlevGL tasks (tickless mode)*/
	while (1)
	{
		lv_task_handler();
		usleep(5000);
		App_Tick();
	}

	return 0;
}

This did not fix the issue, touches are still not working. I then  added logging to the evdev_read() function.  "BTN_MOUSE" : "BTN_TOUCH");
                if(in.value == 0)
                    evdev_button = LV_INDEV_STATE_REL;
                else if(in.value == 1)
                    evdev_button = LV_INDEV_STATE_PR;
            }
        }
        printf("[DEBUG] in.value == %d\n", in.value);
    }

    /*Store the collected data*/

#if EVDEV_SCALE
    data->point.x = map(evdev_root_x, 0, EVDEV_SCALE_HOR_RES, 0, LV_HOR_RES);
    data->point.y = map(evdev_root_y, 0, EVDEV_SCALE_VER_RES, 0, LV_VER_RES);
#else
#if EVDEV_CALIBRATE
    data->point.x = map(evdev_root_x, EVDEV_HOR_MIN, EVDEV_HOR_MAX, 0, LV_HOR_RES);
    data->point.y = map(evdev_root_y, EVDEV_VER_MIN, EVDEV_VER_MAX, 0, LV_VER_RES);
#else
    printf("[DEBUG] evdev_root_x: %d\n", evdev_root_x);
    printf("[DEBUG] evdev_root_y: %d\n", evdev_root_y);
    data->point.x = evdev_root_x;
    data->point.y = evdev_root_y;
#endif
#endif

    printf("[DEBUG] evdev_button: %d\n", evdev_button);
    data->state = evdev_button;

    if(data->point.x < 0)
      data->point.x = 0;
    if(data->point.y < 0)
      data->point.y = 0;
    if(data->point.x >= LV_HOR_RES)
      data->point.x = LV_HOR_RES - 1;
    if(data->point.y >= LV_VER_RES)
      data->point.y = LV_VER_RES - 1;

    printf("[DEBUG] Leaving evdev_read() function...\n");
    return false;
}

When I run my application with the debug print outs (shown above) included in the code, on the target I get the following debug information printed out of the console repeatedly and it never changes, even though I am pressing buttons in my app on the touchscreen throughout this process.
[DEBUG] Entered evdev_read() function...
[DEBUG] evdev_root_x: 0
[DEBUG] evdev_root_y: 0
[DEBUG] evdev_button: 0
[DEBUG] Leaving evdev_read() function...

So, it seems to me that I am not receiving the input touch events at all. Advice on where to go from here?

@GnUfTw Can you add debug printfs to evdev_init to make sure it open()s /dev/input/event2 without errors?

UPDATE: I have figured out what the issue was. I needed to set EVDEV_NAME to "/dev/input/touchscreen0" instead of "/dev/input/event2".
To elaborate on why I thought /dev/input/event2 was the right device. On the target machine I ran the command evtest which gave me the following output:
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: 20cc000.snvs:snvs-powerkey
/dev/input/event1: EP0790M09
/dev/input/event2: iMX6UL Touchscreen Controller
/dev/input/event3: keys

The platform we are targeting with this application is an  iMX6UL so I just assumed that event2 was the right input device. After I realized the while loop in evdev_read wasn't getting entered, I went back to my target machine and ran cat /dev/input/event2 and began pressing the touchscreen to find that nothing was being streamed via that input device. I then ran cat /dev/input/touchscreen0 and began pressing the touchscreen, tons of random characters were printed out to the console. At this point, I changed EVDEV_NAME and the application is now working with touch input.
Thanks for the suggestions & help! It's much appreciated.

@GnUfTw I suspected the problem was going to be something along those lines. I'm glad it's working for you now!

3. Instead of registering `ts_input_read`, register `evdev_read`.

Hello,
What is the difference between evdev_read and touchpad_read?
@embeddedt  is is not better to use touchpad_read for a touchpad?
evdev_read is locate in lv_drivers/indev/evdev.h and touchpad_read is locate in lvgl/lv_porting/lv_port_indev_templ.c

@Adri1G evdev_read is a prebuilt, already working driver for Linux touchscreens.
touchpad_read is a template driver designed to assist you in writing your own.


SAK-48595 Gradebook: Restyle sort order buttons to not overlap

I have posted to the SAK-48595 jira two "expected" screenshots for what my proposed restyling looks like.
I attempted to use a bootstrap class like "fs-6" to shrink down these icons, but I needed to go smaller with explicit CSS statements. Also, the fill versions of caret-up and caret-down improved the contrast needed for the background color of the buttons when the icons are at a font-size of 10px.

To not only get the accesslint checks to pass, I've added logic in the wicket classes to make the title attribute for the sort buttons to be more intelligible. In other words, the title of the gb item needs to be in the title attribute of the button. This also necessitated adding two more labels which eventually need internationalization.

@hornersa I've added another commit as there was a small typo in one of the property keys. Also, I used the property keys in the markup. accesslint is just not aware that we are injecting these attributes from wicket, which is a shame. You don't have to use the commit - but I would fix that typo before it gets lots of translations.

@adrianfish  Good catch re the typo. I'll force push an update.


Filter the list of lambda functions which should be the subject of metadata collection

Description
This PR adds three parameters which can be used to choose (filter) which lambda functions should be the subject of metadata collection:

LambdaFunctionIncludeRegexFilter
LambdaFunctionExcludeRegexFilter
LambdaFunctionTagFilters

How Has This Been Tested?
Deployed in research account and tried it out with different settings, verifying which functions have been collected each time.
Checklist:

[x] I have updated the versions in the changed module in the template index.js and package.json files.
[x] I have updated the relevant component changelog(s)
[ ] This change does not affect module (e.g. it's readme file change)

.


python310Packages.yalexs-ble: 1.12.12 -> 2.0.1

Diff: https://github.com/bdraco/yalexs-ble/compare/refs/tags/v1.12.12...v2.0.1
Changelog: https://github.com/bdraco/yalexs-ble/blob/v2.0.1/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 217035 run on x86_64-linux 1

4 packages built:

home-assistant-component-tests.august
home-assistant-component-tests.yalexs_ble
python310Packages.yalexs-ble
python311Packages.yalexs-ble


update iterate calls in doc

number_of_iterations -> iter_count

https://github.com/pyansys/pyfluent/pull/907


Flatpak app

Hey i noticed you're developing a GUI for this installer (great job btw), it would be amazing if you could ship that installer as a Flatpak app (maybe post it on Flathub) that way you could target every linux distro and create a separate wine installation, instead of using the wine version provided by the distro.

Hello,
Thanks for the suggestion.
I'm sorry but I have literally 0 knowledge about publishing a flatpak app or even build one
Also I doubt that flathub will accept it as it isn't provided from adobe and ships paid software (that's why I insist that you need an active CC subscription.)
I guess that Flatpak won't even enter in consideration.
Thanks for you idea, it still helps.


Switch language to zh-CN error

Faker.language("zh-CN")
ERROR: KeyError: key "university" not found
Stacktrace:
 [1] getindex(::Dict{Any,Any}, ::String) at .\dict.jl:478
 [2] language(::String) at C:\Users\hxk\.julia\packages\Faker\eecXX\src\Faker.jl:16
 [3] top-level scope at none:0
university key already in zh-CN.yml file, why?

Hi, thank you very much for notifying this error.
It is already resolved in the last commit, in the next days the version 0.2.2 will be released with this bug resolved, meanwhile you can use :
Pkg> add Faker#master
to work with this last commit

Thanks for your quick response!


Added Features | Issue #68

fix #68
I have added the Features Page,

@CogitoKunal sir, labels

@CogitoKunal sir, please add labels


How to print once rather not decided by number of used gpus

Bug description
when I set
def train():
  print("check")

  trainer = pl.Trainer(
    ...
    devices=[0, 1, 2, 3],
    ...

if __name__ == '__main__':
    train()

and I found "check" will be printed 4 times.
What version are you seeing the problem on?
v2.0
How to reproduce the bug
No response
Error messages and logs
# Error messages and logs here please

Environment

Current environment
#- Lightning Component (e.g. Trainer, LightningModule, LightningApp, LightningWork, LightningFlow):
#- PyTorch Lightning Version (e.g., 1.5.0):
#- Lightning App Version (e.g., 0.5.2):
#- PyTorch Version (e.g., 2.0):
#- Python version (e.g., 3.9):
#- OS (e.g., Linux):
#- CUDA/cuDNN version:
#- GPU models and configuration:
#- How you installed Lightning(`conda`, `pip`, source):
#- Running environment of LightningApp (e.g. local, cloud):

More info
No response

Hey @LogWell
It can be done like this:
trainer = pl.Trainer(devices=4)
if trainer.global_rank == 0:
    print("Only on main process")

Furthermore, in the LightningModule there is a handy method for printing too:
# in a LightningModule
self.print("Only on main process")

In Lightning 2.1, there will be this convenient method as well.
trainer.print("Only on main process")

We also have a forum if you have more questions like these 😃
https://lightning.ai/forums/

How do I modify it if I want to print before defining trainer?

@LogWell That wouldn't be possible, since the information of which process the print is carried out from is not available before the Trainer gets initialized.
If for some reason it is critical for you to do this print before the trainer, you can consider setting trainer = Trainer(strategy="ddp_spawn", devices=4) which doesn't re-invoke the script.


fix(antdv): fix UploadDragger import styles fail

bugs

fix UploadDragger import styles fail
Upload components has a UploadDragger exports, but styleDir is exists in the upload folder.

links

ant-design-vue
pr with ant-design-vue for exports UploadDragger

Thanks , I lost it.  antdv's components.ts has the same problem.


Add link to navbar

## Pull Request
Description
Added link to svg
Related Issues
Issue #16
Checklist

[x] I have tested these changes locally.
[x] My code follows the project's coding guidelines.
[x] I have updated the documentation, if necessary.
[x] I have added tests to cover my changes.

Hey @AkashSharma001 I tried all that you asked it is still not merging due to lint error for some reason.
I resolved the error on my pc. But it isn't solved on here for some reason.


Integrate updated Jokerace

Updating the module, following Jokerace's updated sorting mechanism. With this new mechanism, the proposals sorting is maintained through out the contest, adjusted after each operation (new proposals, voting...). With the previous implementation, the proposals sorting happened at the end of the contest, when asked via the pullElectionResults function.
Few points of consideration:

Jokerace's sorting mechanism is enabled only for contests without down-voting and with enabled sorting (two separate flags that are defined at the contest's creation). And so the current module implementation will work only for this kind of contests.
Proposals with a zero score are not "ranked", meaning that they cannot become part of the reward receivers.
The new module implementation checks that the contest is without down-voting and that sorting is enabled. It does so at module creation and reelection. If not, it reverts
If there's a tie, the module will update the termEnd to the current timestamp in order to enable reelection. This happens at the pullElectionResults function

Great review! Applied all suggested changes and added some tests

lgtm! approving with the one small style suggestion above


Cancellation support

Users should be able to cancel pending or in progress tasks
It would be extra nice to support cancellation of dependent / child tasks as well, but I don't think those concepts have been introduced yet

It would be difficult as the current queueing system has no way to fetch the current position in Queue for jobs that have been scheduled. We will first need to develop a lookup system for queue'd items

Fixed in https://github.com/densumesh/broccoli/commit/7858cbdc22788bb94c78a00a9c9dd8f299484d2e


Pipenv -> poetry

Poetry 1.2 (with package groups) was just released: https://python-poetry.org/blog/announcing-poetry-1.2.0/

Cool! might try to revive this.

@incognitojam can you finish this up? goal is to get rid of xx/blob/master/pipenv-merge.sh in a clean way. if we can't do that, then let's just close this

@adeebshihadeh we could export the dependencies from the pyproject.toml to generate the xx Pipfile.. or I think adding openpilot as a dependency of xx would achieve the same thing?

I've added semver version constraints to all of the * packages, using the version from the old Pipfile.lock, so they shouldn't have breaking changes.. Also pinned the Python version to ~3.8.

if CI passes this should be ready to review!


Updates outputevents table ref #138

This change removes the warning column from the outputevents table, fixes #138.

Thanks for updating this!


[acr] fix a typo in an error message of token create

Description
See title Fix #13619
Testing Guide
N/A

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

acr


End of interaction properties

Add a EditableProperty to set the end of a interaction when the mouse button is released.

Editable properties have been removed by 3ad32f0.


Weird behavior in date input component that only affect mobile size screen

Component
Form.DateInput
Describe the bug
desktop/laptop devices:
clicking on any of the day/month/year input shows the right click menu to the user
mobile devices:
clicking on any of the day/month/year input shows the copy paste clipboard to the user
To Reproduce

go to https://designsystem.life.gov.sg/react/index.html?path=/docs/form-dateinput--date-input
set browser responsiveness to mobile screen
add a date to the input

edit the date by clicking on any part of the date input (day, month, year)
you will see the right click menu upon clicking on any of the input field

Expected behavior
right click menu should not appear in desktop
clipboard action should not appear in mobile

The cause of this is input.select() which highlights the entire text in the day/month/year input when it is focused
On an Android device this opens the floating toolbar above the input (with the Cut, Copy, Select all options), which looks fine. But seems like the equivalent in Chrome's responsive mode is the right-click context menu


[SPARK-28976][CORE]Use KeyLock to simplify MapOutputTracker.getStatuses

What changes were proposed in this pull request?
Use KeyLock added in #25612 to simplify MapOutputTracker.getStatuses. It also has some improvement after the refactoring:

InterruptedException is no longer sallowed.
When a shuffle block is fetched, we don't need to wake up unrelated sleeping threads.

Why are the changes needed?
MapOutputTracker.getStatuses is pretty hard to maintain right now because it has a special lock mechanism which we needs to pay attention to whenever updating this method. As we can use KeyLock to hide the complexity of locking behind a dedicated lock class, it's better to refactor it to make it easy to understand and maintain.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existing tests.

Test build #110136 has started for PR 25680 at commit 0c6c12d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15146/
Test PASSed.

Test build #110136 has finished for PR 25680 at commit 0c6c12d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110136/
Test PASSed.

Thanks! Merging to master.


MAINT: Refactor SCSS code and HTML template

These are a few minor refactors in preparation for posting a new job in a few days. This PR:

Modularizes our SCSS into folders and a more standard style
Uses an HTML shortcode for our job cards so that we can re-use those styles/structure.

merging this one in because it touches a bunch of under-the-hood stuff and will make conflicts


Remove IDE specific files

In repo there is current a lot of files which may help sometimes to import project more easy in IDE, but sometimes they may cause errors in import. In my opinion pure pom.xml  is enough - it allows to import project in any IDE without problems.
Also changing this files make git diffs have garbage

Which file are you referring to? The .intelij folder contains interesting information on how to build the project, I'm not sure if you can just open the pom file as is in IntelliJ, but I will try it out. If that works well, I'm all for removing the InteliJ files. The Eclipse files can go in any event.

Intellij is definitely able to create a project based on a pom.xml file.
I normally add the .idea directory to the .gitignore so it's never commited.

I am referring to whole .idea folder. I will check now if Idea can open project without this folder
.classpath and .project - I am not sure (have not run eclipse for programming on Java for more than 2 years)

yes, intellij idea is able to open and import project with droped .idea folder

Hmm, I tried this myself and it would open, but it wouldn't build. Can't quite remember what the error message was. Can you open and build right of the bat? What version if IntelliJ are you running?

I am using Linux - so sorry - no CMD/BAT. But I have executed in pure bash (which is actually similar to windows CMD) next commands
mkdir temp
cd temp
git clone https://github.com/SKART1/jadb.git
cd jadb/
git checkout develop
rm -rf .idea   # removing ".idea" folder with intellij-idea specific files
mvn clean package

Which resulted in BUILD SUCCESS
P.S. I used my fork of repo becuase of #23 in upstream/master

I'm on mac and can also use bash. The expression "right of the bat" means to be able to do something without extra work. I can also build from command line straight from checkout, however, when opening the jadb directory in IntelliJ it's not possible to build.

Sorry, English is not my native language and I have understand "bat" as "BAT" files from windows. Nevertheless, will try similar scenario in Idea =)

Alright, so we can conclude for now that the .idea folder is needed then.

Sorry, forgot to do actual test

np, I was just closing some stale issues. Feel free to reopen if you find it's not needed for smooth IntelliJ operation.


fix: do not ignore annotated fields when type is Union[Type[...], ...]

Change Summary
Considering a model
class Model(BaseModel):
    ok_field: Type[FooBar] = FooBar
    ignored_field: Union[Type[FooBar], Sequence[Type[FooBar]]] = FooBar

The ignored_field was not taken into account because in the metaclass we were only handling Type[...].
When the type is Union[...] the origin is Union and we need to check the valid types inside the Union
Related issue number
closes #2213
Checklist

[x] Unit tests for the changes exist
[x] Tests pass on CI and coverage remains at 100%
[x] Documentation reflects the changes where applicable
[x] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)

nice.

nice.


Add support for date cells to XLSX writer

See:

https://github.com/box/spout/issues/662
https://github.com/box/spout/pull/781
https://github.com/box/spout/pull/816

Format of the cell is still up to the user

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

21 of 24 (87.5%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.08%) to 95.87%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Spout/Writer/XLSX/Helper/DateHelper.php
16
19
84.21%

Totals

Change from base Build<PHONE_NUMBER>:
-0.08%

Covered Lines:
2530

Relevant Lines:
2639

💛  - Coveralls


Keyboard focus is not visible on header section.

Describe the bug
On navigating using Bluetooth Keyboard focus is not visible on header section controls.
To Reproduce

Launch the Authenticator app.
Press the Hamburger button.
Select option "Settings".
Verify the issue.

Actual behavior
While navigating using a Bluetooth keyboard, the keyboard focus is not visible on the header section controls like "Back button and settings text" on the settings screen.
Expected behavior
While navigating using a Bluetooth keyboard, the keyboard focus should be visible on the header section like the "Back button and settings text" on the settings screen.
Screenshots
https://user-images.githubusercontent.com/93735775/191812996-205fc930-994f-4895-bb17-639d4476ff51.mp4
Desktop (please complete the following information):
Not used
Smartphone (please complete the following information):
Device: [Samsung S22]
OS: [Android 12]
Application: Authenticator version 6.2204.2416

Hi Team,Any update on this issue?

please don't close this issue as it is still repro'ing.Thanks


Patch: Fix broken url references

http://flogo.io is unavailable.
So at least, I replaced ~http://flogo.io~ ---> www.flogo.io

Someone with access to the project's cloudflare should fix the subdomain.


Buttons

implementation of Buttons in Queue

wait what buttons can you explain please

IG you should wait for Discord.JS 13

IG you should wait for Discord.JS 13

yep

@Allvaa how to load Spotify artists.

I do that with other packages

hey @Allvaa for queue make a component collector instead of emoji collector

hey @Allvaa for queue make a component collector instead of emoji collector

yeah, I would do that


bucket UI: Get size of block into details (on demand?)

I'll happily hack on this :+1:

Don't want to side-track, but it seems along a similar line: creation time of an object would also be super nice.


Adding initialState prop makes positionActionsColumn="last" not work

Describe the bug
positionActionsColumn="last" works correctly without the initialState prop
After adding
const initialState = {
  density: "compact"
} as const;

and reloading, the actions column is the first column again.
Your minimal, reproducible example
https://codesandbox.io/s/infallible-dubinsky-555h5q?file=/src/TS.tsx:469-524
Steps to reproduce

The actions column is in the first column when first loading the page

Expected behavior
As a user, I am expecting the positionActionsColumn="last" to put the actions column in the last column, but it is still in the first column.
How often does this bug happen?
Every time
Screenshots or Videos

material-react-table version
0.13.1
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

fixed as of V0.13.3 along with other column ordering fixes


Confidence meter

Hi! is it possible to somehow calculate whether the marker is good and give out stars from 0 to 5
https://github.com/Carnaux/NFT-Marker-Creator/wiki/Creating-good-markers

try this: https://www.mindar.org/how-to-choose-a-good-target-image-for-tracking-in-ar-part-4/


ES: Restore kibana dashboards and index

Kibana dashboards disappears after restroring database.
Ref: https://discuss.elastic.co/t/kibana-dashboard-disappeared/217746/4
.kibana index needs to be taken into account by backupTask stash addon. Currently all index starts with Dot (.) are ignored as system indices.


Transcoding with NVENC fails with "InitializeEncoder failed" error

Hey Don,
Having some trouble getting up and running on Windows 10 and NVENC. Any file I try fails with this error:
[hevc_nvenc @<PHONE_NUMBER>2dcf40] InitializeEncoder failed: invalid param (8): Preset P1 to P7 not supported with older 2 Pass RC Modes(CBR_HQ, VBR_HQ) and cbr lowdelayEnable NV_ENC_RC_PARAMS::multiPass flag for two pass encoding and set Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
I've tried just issuing the ffmpeg command that's generated by the script, but I'm still getting the error. I'm not quite sure where to start on this issue, but I have a feeling it might be ffmpeg, so here's the output of ffmpeg -version:
ffmpeg version 2020-10-07-git-a086b73e1f-full_build-www.gyan.dev Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 10.2.0 (Rev3, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil      56. 60.100 / 56. 60.100
libavcodec     58.109.100 / 58.109.100
libavformat    58. 61.100 / 58. 61.100
libavdevice    58. 11.102 / 58. 11.102
libavfilter     7. 87.100 /  7. 87.100
libswscale      5.  8.100 /  5.  8.100
libswresample   3.  8.100 /  3.  8.100
libpostproc    55.  8.100 / 55.  8.100

_ffmpeg_83836_19312.mkv.log
Please let me know what other info you need and I'll update this ASAP.

Use the Release version from gyan.dev: https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full.7z
Don's working on an update to other-transcode that supports newer versions of ffmpeg
Long version:
NVidia released an update to their media encoding SDK, and and ffmpeg has now integrated with it. These changes are incompatible with some of the options used by other-transcode. Don and the hivemind are working on the changes needed to support newer versions, and you can see the progress in the GitHub commit history. In fact, if you just download the ruby script directly from GitHub it will work with your ffmpeg nightly. It looks like we're gonna get even more speed out of NVENC with this update too :-D

Yup! That fixed it. Thanks, @samhutchins

@ekvq Indeed, thanks @samhutchins! And my apologies for not noticing this issue last night.
The new version of other-transcode will be released "soon." If you want to try it, you can download the script from GitHub since all the necessary changes are checked in now. You'll get a speed boost even with the release version of ffmpeg.


centernet neck

can i use other neck network inplace the ct_resnet without change anything ？sorry ,i am confuse about this network.

It's better to figure out that what is input and output shape of CTResNetNeck, then replace it with other neck (need modify the config)
https://github.com/open-mmlab/mmdetection/blob/ca11860f4f3c3ca2ce8340e2686eeaec05b29111/mmdet/models/necks/ct_resnet_neck.py#L93


update to fluentbit 2.0.11

Description
Changes proposed in this pull request:

update to fluentbit 2.0.11
...
...

Related issue(s)

https://github.com/kyma-project/third-party-images/pull/326

 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.


change backends from lvm to default

Could you add a why to the commit msg please?

The way my test scripts for cinder work, they require the environment to be initialized by running the script cinder-tests-all and passing it a cinder backend type which ultimately gets used to create a unique cinder backend type and then use it in cinder calls with --volume-type set to that type. At the time I wrote these, all our backends were running LVM and that's what I hardcoded the type too.
Since then we've been running a lot of ses backends and when called with 'lvm', initialization fails along with the test. As an enhancement I had modified the initialization script awhile ago to accept a backend type of 'default' which in turn suppresses the --volume-type switch entirely, resulting in cinder simply using its default backend. But I never remembered to make a similar change to these, hence this update.

Please add information to the  commit message. See https://wiki.openstack.org/wiki/GitCommitMessages#Information_in_commit_messages


Consider moving user supplied PipeWire config to a separate file.

Describe the bug
When trying to configure PipeWire to load a module (libpipewire-module-raop-discover),  the produced configuration file had the module declared at the start of the modules list. Since this module depends on other modules, pipewire will fail to start. Instead of combining the user supplied config with the default config values, maybe it should be stored as a separate file in /etc/pipewire/pipewire.conf.d/user.conf ?
Steps To Reproduce
Steps to reproduce the behavior:

Add the following config option to your NixOS configuration, version 22.11.

services.pipewire.config.pipewire = {
    "context.modules" = [ { name = "libpipewire-module-raop-discover" ;  } ];
};

Start or restart pipewire via systemctl --user restart pipewire and observe it failing to start.

Expected behavior
PipeWire should work as intended, not fail to start and load the RAOP module.
Additional context
I have worked around this issue by just creating the config file I wanted myself via environment.etc."pipewire/pipewire.conf.d/...
Notify maintainers
The metadata lists the freedesktop team as the maintainers, so I'm just going by git-blame.
@talyz @jansol
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"
 - host os: `Linux 6.0.11, NixOS, 22.11 (Raccoon), 22.11.726.04a75b2eecc`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.0`
 - channels(root): `"nixos-22.11"`
 - channels(emilsp): `"nixos-22.11, nixpkgs-22.11, stable-22.11"`
 - nixpkgs: `/home/emilsp/.nix-defexpr/channels/nixpkgs`

IIRC the problem isn't that the modules you specify are placed at the top of the list (while that would indeed also be a problem) but rather that the list you provide completely replaces the default list which includes among other things the pipewire core protocol module that everything else depends on. The workaround for this is to add all modules that are listed in the default config to your configuration.nix.
The reason why it works like this is a limitation in Nix: when merging attrsets, any lists will get replaced rather than joined. But even if that wasn't the case we'd want to have a way of removing things from the default config.
I guess one way around it would be to introduce something like an additionalDaemonModules config option that specifies a list of modules to be appended to services.pipewire.config.pipewire."context.modules". Personally I would not mind restructuring the pipewire module since the current state of it is very much a least effort conversion from the SPA- JSON config files.

cc @roberth

Lists of submodules are definitely something to avoid, because they allow no customization. (Also lists of anything in general, but the more complicated the list item is, the more likely it is you'll want to override it.)
In this case it seems that the list is part of a mapped format. Perhaps we could add an option outside services.pipewire.config to generate a module list. That's what I did for metricbeat modules. Maybe add an enable = mkOption { default = true } option if you need users to be able to disable system-provided default modules.

Indeed, being able to cleanly add a module to pipewire without overriding all the existing ones would be really helpful !

I think the originally reported problem doesn't exist anymore.
There's now a deprecation warning both when using services.pipewire.config or environment.etc."pipewire/pipewire.conf.d/roap.conf".
The way this should be configured now is:
extraConfig.pipewire."roap" = {
  "context.modules" = [this can be closed.
    { name = "libpipewire-module-raop-discover"; }
   ];
 };

… and with this, my pipewire doesn't fail to restart.
Sure, the ROAP module still is a bit buggy, but that's already reported in the upstream issue tracker and nothing NixOS-specific.

Closing this issue, feel free to reopen if you disagree.


Issue - 425 [Take User feedback after leave page]

Completed the UI component to take user feedback after leave page.
The component will update the state with the choices and comment added by the user and on submit it will log the state.

Hi @triptu I have added the screenshots with this issue https://github.com/100mslive/hms-video-react/pull/409. Shall I add it here as well ?


[BUG] Cannot format long integer as text

Package version, Laravel version
2.1; 5.3
Expected behaviour
123456789012345678 to be stored as<PHONE_NUMBER>12345678
Actual behaviour
123456789012345678 is stored as science notated number with digits lost
Further Info
Storing it as "@" or "#0" does not work. If I add "'" before it, the "'" cannot disappear like it does when I type directly in excel.

Hey, how did you solve the problem? Can you please share?

I solve the problem via using $sheet->rows($data, true) instead  of blade

this is still an issue

this is still an issue

On which version? Version 2.1 is unsupported since 15-5-2018.

Long time no see.
Add an &nbsp after a long integer (in blade) can make it display as text .

The most amazing answer on the internet. very thanks!


cargo dist manifest: Out of date contents

Testing the new v0.3.0-prelease.1, I'm no longer able to generate a manifest, using cargo dist manifest.
Instead, I get this error:
{
  "diagnostic": {
    "message": "/home/user/repos/project/.github/workflows/release.yml:1 has out of date contents and needs to be regenerated:\n-\n+# Copyright 2022-2023, axodotdev",
    "severity": "error",
    "causes": [],
    "help": "run 'cargo dist init' or 'cargo dist generate' to update the file",
    "labels": [],
    "related": []
  }
}

It seems like the CLI now is very strict about how the release workflow should look, which is a little impractical. I've written my own release workflow, with different caching, different triggers, and with everything I don't need, stripped away. This new requirement is therefore a little obstructive.
Is this intentional, or would you consider this a bug?
How to replicate

Upgrade to the newest release,
Generate a release workflow file with cargo dist generate,
Change more or less any attribute,
Run cargo dist manifest

We've added a new configuration value, allow-dirty, to accommodate that usecase. You can either add it to your Cargo.toml (allow-dirty = ["ci"]), or pass --allow-dirty at the commandline when calling cargo dist. Does that work for you?

Yes, that works :clap: Thanks @mistydemeo :bow:

Great! Let us know if you have any other problems.


Machine Learning breakout session at NBDMelb

Hi all, is anyone interested in getting involved in a machine learning / AI focused breakout session at NBD? Do people think this is something that would be appropriate for the day?
I'm keen to see a stronger focus on the software side of robotics. I'm thinking we can use ML to learn something from physical sensors and then have the bot react accordingly. Nothing too crazy. The core objective would be to get people thinking about connecting the software to the hardware.
I'm looking at libraries like:
Neural network learning: https://github.com/harthur/brain
Natural language detection: https://github.com/NaturalNode/natural
++ all the computer vision stuff that we could integrate...

Looks like we may finally make a start on this ... this year !


No pop from credential list

I can't figure out a proper and quick way to add a test on this :-/

Preventing pop will do the job..

We can ignore this pull request now....


BUG: with_inputs affects benchmark time

Description
with_inputs affects the benchmark time, the documentation specifies it does not.
Replicate
Example here

Your benchmarks are measuring dropping Vec inputs because they use bench_values. Switching to bench_refs fixes the timings by deferring drop until after the loop.
Not sure why sleeping affects timings though.

D'oh, forgot the drop. That fixes it for me - much appreciated!
Is the with_sleep worth pursuing, or should we close this issue?

I think sleeping affecting timing is a legit issue.

I have fixed the linked example, with a simpler mm_pause for busy sleeping. I need to sleep now.

I see the issue here. You're setting max_time = 0.1 which also takes into account input generation time.
Internally it's hitting max_time because the benchmark loop needs more iterations but then with_inputs spends more of the time budget. This causes with_sleep to only have enough time to record a single sample of 1, 8, or 64 iterations. To get accurate timings it needs to record multiple samples over more iterations.
Setting DIVAN_SAMPLE_SIZE=100 (instead of dynamic sample size) shows that sleeping in input generation doesn't affect timings.


release: update manifest and helm charts for v1.0.0

update manifest and helm charts for v1.0.0

Codecov Report

Merging #810 (31bd98a) into main (b0a9152) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #810   +/-   ##
=======================================
  Coverage   50.92%   50.92%
=======================================
  Files          36       36
  Lines        2370     2370
=======================================
  Hits         1207     1207
  Misses       1116     1116
  Partials       47       47

Impacted Files
Coverage Δ

pkg/cmd/podidentity/detect.go
52.95% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[RFC][config dir] enable init-shell scripts to run in shell started with --config flag

Summary
When I changed the rust examples in testdata/rust  to use rustup nix package instead of the nix overlay,
I noticed that I could no longer start a devbox shell as:
> cd testdata/rust
> devbox shell --config rust-stable

The error would point to the init-shell.sh script not being found in the current directory.
This PR takes an approach of introducing a DEVBOX_CONFIG env-var, which can be referenced
in devbox.json for the init script as:
➜ cat rust-stable/devbox.json
{
...
  "shell": {
    "init_hook": [
      "source $DEVBOX_CONFIG/init-shell.sh"
    ]
  }
}

I can also use this env-var inside the init-script to create the .rustup directory,
and other purposes.
RFC:
An alternative approach is to ensure we invoke the init-script as if the current
directory is the config-dir.
A third option is to do both (introduce DEVBOX_CONFIG env-var as well as invoke
the init-script as if the current directory is the config-dir).
How was it tested?
started a devbox shell in the following scenarios:

from within a child-directory
from the config dir directory
from the parent directory using the --config flag.

Did this with testdata/rust/rust-stable, and within the shell ran:

echo $DEVBOX_CONFIG
cargo run. To ensure the init-shell.sh script worked.

Current dependencies on/for this PR:

main

PR #240   👈

This comment was auto-generated by Graphite.

ping

Sorry, must have missed this one before.
Could we do option 2: init-hooks run as if the current directory is the config-dir?

moving to draft until I implement: init-hooks run as if the current directory is the config-dir

done in #302


Chip Select 0 (CE0) not active on SPI operation.

On Pi 3 B+, Raspbian bullseye
With the following commands
$ pigs spio 0 100000 1
12
$ pigs spiw 12 0x22 0x33 0xcc 0xff
However CE1 works fine with
$ pigs spio 1 100000 1

Do you have more information to provide?  What is the expected return value from the last two pigs commands?


Add git: add command

This command seems more intuitive to type than git: commit including unstaged files. The functionality is there, just a different alias.
I currently have a custom command set to this alias.

If this changed, would likely change to git : quick stage all files and commit to match existing git : quick stage current file and commit.  Will wait to see if anyone chimes in on this.

Haven't seen any other feedback, so I think I'm going to close this.  I don't really have a preference - one of the alternatives may be better, actually.  However, the project is old enough at this point that making changes may interrupt users' dev flow.


Improve change notifications

This shows an example on how to use change notifications, useful for logging and to react to changes in your database.

No changes have been made in Sync's source so this should be fine with Travis.


Trying to figure out why my plugin is not listed.

I published a Gulp plugin to npm about a week ago. It has the keyword gulpplugin yet does not show up at http://gulpjs.com/plugins/
Looking at the source code, it seems thats all I would need to do. It is not blacklisted either. Is there some reason it is now showing up or does it take a while?

@jisaacks If you searched the issues you would see about 100 other issues for the same problem. The registry we run for the plugin search crashes sometimes and needs to be restarted. I don't have time to debug it, if you would like to send a PR to fix it please do so. I'll restart it again.


Feature request: Interpret add_argument_group as different section

I'm working in a command line script with lots of arguments and arguments groups.
Now the arguments inside add_argument_group are displayed exactly the same as the others.
A nice to have feature would be to have them separated (displaying the 'title'). Maybe a similar approach as the currently used by subparsers could be helpful.

Working on it.


Add more space above and below images in blog posts

I need to adjust my styles to add more space around images in posts (and do it in a way that doesn't inadvertently break images on other pages). Here's an example of what it looks like now:

It just feels a bit crowded.

Merged in https://github.com/bryanbraun/bryanbraun.github.io/pull/9. Closing this now.


Tests upgrade 1

NOTE: citations are done via an sql trigger but there is still code in there to do this in the api due to it was needed for alembic upgrades. I have set those methods to not be covered in the coverage and put in error messages if they are ever run. That way we can check logs at some later point and make sure this is correct and then delete these methods as it gives the impression that is where they are generated which is incorrect. Very unlike we would do alembic upgrades to old databases from that far back.