failed to mounting ext4 file system using ext3 subsystem

Hi
I have prepare the tegraflash file using "bitbake demo-image-weston".
Build is successfully.
Now I have flash the SD card using "./dosdcard.sh", it is also success.
Now when I connect the SD Card to NVIDIA Tegra Jetson Xavier NX board, it is giving error
failed to mounting ext4 file system using ext3 subsystem
failed to mounting ext4 file system using ext2 subsystem
Can you please suggest what could be the problem?
Regards,

Those messages can be safely ignored.  The kernel includes support for all three current versions of the ext filesystem (2, 3, and 4), and will try the earlier versions before ext4.

thanks @madisongh for the feedback.
I am getting mounting error. please find attached error details.
Can you please help me to resolve this issue?

Regards,
Gaurav

It looks like the APP partition on the SDcard didn't get written properly.  Can you check it on your host machine?  Use sgdisk /dev/sdX --print and sgdisk /dev/sdX --verify to check on the overall format and partition table, then use fsck /dev/sdX1 to verify the APP partition's filesystem looks OK (using the actual device name for your SDcard reader in place of /dev/sdX).

thanks @madisongh
I have executed suggested commands, it seems like sgdisk  /dev/sdX --print and sgdisk /dev/sdX --verify command works as expected but fsck /dev/sdX1 command has problem.
I did multiple attempts of writing of Mass-Storage using "sudo ./dosdcard.sh /dev/sdb" but all the time it is giving same problem for fsck /dev/sdX1

I am using Ubuntu 20.04 for build the OS and prepare the USB.
Please suggest how I can solve the problem
Regards,
Gaurav

Try an fsck on the EXT4 filesystem image (should be fsck demo-image-weston.ext4).  If that fails, then something probably went wrong with unpacking the tegraflash package.... that can happen if you use a GUI-based tool to unpack the tarball, rather than using the tar command from a terminal window.
Once the filesystem image checks out OK, then try re-running the dosdcard.sh script, and before you remove the SDcard from the reader, do the fsck /dev/sdb1.  If that fails, then something went wrong with writing to the card, or possibly the card itself is bad.  If the fsck passes, use eject /dev/sdb to make sure that the card isn't in use, remove it from your host, and try it again in your Jetson.

thanks @madisongh for the feedback.
I have extract using default GUI tools and tar command. I show few MBs difference in demo-image-weston-jetson-xavier-nx-devkit.dataimg and GBs of size difference into demo-image-weston.ext3
It seems like there is some issue while using GUI tools for extract.
I will re-perform activity by extracting using tar command and let you know the status.
thank you so much.
Regards,
Gaurav

thank you @madisongh.
Problem is resolved. I am able to run image on EVK Kit.
to prepare SD card it took around 9 hours. Can you please suggest if we can prepare SD card quickly ?
Will close the ticket after your feedback

There are tips on the wiki page.

thanks for the information. @madisongh
after installing bmap-tools it is much much faster (flashing SDK card in 10 min)


Kanban-space-travelers

https://github.com/yetemegn-telaye/Space-travelers-hub/projects/1
note: There are 2 members in our team

Project Approved 👍
Hi @yetemegn-telaye & @blase147, This is @sja-thedude your code reviewer.
Your project is complete!  There is nothing else to say other than... it's time to start working on it :shipit:
Congratulations! 🎉
Highlights:

All linters passing
All requirements completed
Professional readme

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me [@sja-thedude] in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Service Schedule to Service Session relationship changed to lookup

Critical Changes
Changes
Updated the Master-Detail relationship from Service Schedule to Service Session to be a lookup.
Issues Closed
New Metadata
Deleted Metadata
Definition of Done
Refer to Asteroids DoD document to see any additional details for the items below
- [ ] Place holder data is incorporated (Refer to Case Management Sample Data document)
- [ ] Base axe-core JEST test included for any new LWC (No critical violations)
- [ ] CRUD/FLS is enforced in Apex
- [ ] Update & Test permission sets to account for new features and CRUD/FLS
- [ ] All modified classes are unit tested (Apex) at 100% coverage
- [ ] UX approval or UX not necessary

[x] PR contains draft release notes
[ ] Attach work item to the pull request with Lurch **Lurch:attach W-000000 or **Lurch:add
[ ] All acceptance criteria have been met

[ ] Developer
[ ] Code Reviewer
[ ] QA

[ ] QE story level testing completed

W-8072891


adding cred mgr

Description
[Describe what this change achieves]
Issues Resolved
[List any existing issues this PR resolves]
Contribution Check List

[ ] All tests pass.
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] New functionality has been documented in CHANGELOG.MD

          1 Error

:no_entry_sign:
cost/azure/reserved_instances/recommendations/README.md:5: MD012 Multiple consecutive blank lines
cost/azure/reserved_instances/recommendations/README.md:6: MD022 Headers should be surrounded by blank lines
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

  Generated by :no_entry_sign: Danger


Adding getCss for elements

Released in 0.0.4

Wow, indeed I forgot to add inside unit tests. Keep that in mind next time, thanks for correcting and releasing Sir :grinning: :sunglasses:


Include small world in plot_network_measures

At the moment plot_network_measures only includes assortativity, clustering, shortest path length, efficiency and modularity.
It really should also include the small world coefficient.
On thing that's important to note is that the small world coefficient is calculated for the real graph compared to each of the random graphs.
This means that - in comparison to the other measures - the variability will be on the "blue" bars - the bars representing the real graphs - rather than the grey ones (the random graphs).
That bar should be set to exactly 1.
The command: bundleGraphs.report_small_world("real_graph") returns a dictionary with keys real_graph_R0, real_graph_R1, real_graph_R2 etc. These correspond to the comparison of the graph labelled "real_graph" with R0 (itself), R1, R2 etc.

Another thing to note is that I don't think the small world measures are saved as part of the graph bundle after they've been calculated. It might be interesting to see if we can make it so you only have to run it once (similar to making random graphs etc).
(This might be better as its own issue, just shout if that's the case.)

@KirstieJane I would like to add this measure while I am creating a function to restructure DataFrame obtained from GraphBundle.report_global_measures() to an acceptable DataFrame for seaborn.barplot.
I've run the GraphBundle.report_small_world.
Did I understand the results correctly?

I am calculating the small coefficient of "Real_Graph" in GraphBundle relative to each other Graph in GraphBundle.
So, the small coefficient between "Real_Graph" and "Real_Graph_R0" is 1.6565.
On the figure, I need to display eror bar for "Real_Graph" and for random networks - constant value 1.

@KirstieJane, I've added small_world to network measures
Do you like it?

Ohhhh, plotting is slow, because inside the function I calculate the small coefficient of "real_graph" relative to each other graph in GraphBundle.
small_world = bundleGraphs.report_small_world(real_network)
It is needed to find a way how to store the calculated small world values and then inside the function simply access this data.


[cppcheck] Improvements in SaveStorageValue() in core.c

in file core.c cppcheck shows errors only in function SaveStorageValue():

Common realloc mistake: 'fileData' nulled but not freed upon failure
Memory pointed to by 'fileData' is freed twice.

Validation:

Tested examples/core/core_storage_values.c
Launched Unit Test for this function:
Rerun CPPCHECK afer fix

Important: The unit test and the cppcheck results can be fond in a new repository:
https://github.com/danimartin82/raylib_test
Important: Still pending to decide what to do with negative positions in functions SaveStorageValue(int position, int value) and LoadStorageValue(int position). My proposal will be to change the header so position is unsigned int.

hi @danimartin82! Many thanks for the update!
I agree with your proposal, let's go for the unsigned int position.

Then I did the next changes to accept only positive position in files:
* Functions SaveStorageValue(), LoadStorageValue() (core.c)
* Functions LoadFileData(), SaveFileData() (utils.c)
* Headers in raylib.h
Validation:
* Tested examples/core/core_storage_values.c
* Launched Unit Test for these functions
* Rerun CPPCHECK afer fix

@danimartin82 Merged! Thanks! :D


Text from "Report an issue" pop-up is moved to message box (unexpectedly focus is changed)

Verified on staging server successfully. Fixed because of changes in #515


just some changes

📝Changed routes:

/

(view full size)

Commit de906738004636384a44affea25f4b29c40c0506 (https://latlng-site-git-upd-just-some-changes.unit.now.sh).


multiple windows does not work

when working in multiple windows, the tree can only be shown on the main window and any files changed in a secondary window will not be uploaded to the server.

Hello @SlimeQ .
It works.
You need to open a new project or create a new project.

ah, duh. thanks


[Verification] Add module verification support

Description
This PR is an initial attempt to add verification support to Slapo. For the first step, we only verify the numerical correctness by passing in random inputs and comparing the results of the original module and the scheduled one. Users can leverage the following API for verification.
with slapo.verify(sch, [torch.randn(10, 20)], device=f"cuda:{local_rank}"):
    sch["linear1"].shard("weight", axis=0)
    sch["linear1"].shard("bias", axis=0)
    sch["linear1"].sync(mode="bwd_post", sync_op_or_fn="all_reduce")
    sch["linear2"].shard("weight", axis=1)
    sch["linear2"].sync(mode="fwd_post", sync_op_or_fn="all_reduce")

We can support verifying .fuse(), .sync(), and .shard() for now. If users miss synchronization at some points, the verifier will complain about the incorrect results.
Checklist

[ ] Add meta device support

Any comments and suggestions are welcome. @comaniac @zarzen

We have to pass in sch to the verifier context in this API, since we need to store the (parent) module when entering the context. However, if we try to figure out the common parent module from the primitive sequence, then we need facilities to postpone the application of those primitives. Otherwise, the obtained parent module has been scheduled after going through all the primitives in the context. @comaniac

Per offline discussion, I made the following changes: @comaniac

Deep copy the scheduled model and rebuild the schedule. In the previous implementation, directly copying the model cannot work, which is because of the discarded attributes in the model. Thus, after I reattach the attributes (e.g., orig_shape) to the model and rebuild it, everything works fine.
Automatically broadcast the model parameters and input data.
Add is_verifiable method to the base primitive class.


Hotfix for #448: Subscribe to the topics collection from the minutesedit view

When creating new minutes the topics collection is necessary on the client since
the client prepares the topics for the new minutes.
So if the client cannot access the topics collection the new minutes comes with
an empty topics array.
See https://github.com/4minitz/4minitz/issues/448#issuecomment-597498201
Maybe the better solution would be to migrate the topics preparation for new
minutes to the server side.

The pipeline has failed due to the following security check:
 1) Topics Publish & Subscribe Security
       Non-logged in users have no unexpected Topics from MeetingSeries published:
      Moderator should have no Topics published when not within a Meeting Series
      + expected - actual
      -1
      +0

This issue is caused by adding the subscription of the topics collection within the minutesedit page.
So we have to decide if we want to do the topics preparation for new minutes on the client side (then this subscription is necessary) or if we move the topics preparation within a meteor method (see #546)

We use #546 instead.


Czech language support fixed and improved

Continued on work from https://github.com/kslazarev/numbers_and_words/pull/123.

Coverage increased (+0.5%) to 99.73% when pulling 8e4fa66f63f8423a7fbe402151b4e77092eaf7f5 on foton:master into<PHONE_NUMBER>5b902d28b4a14c014a4b5c46e9dac7 on kslazarev:master.

Coverage increased (+0.5%) to 99.73% when pulling 8e4fa66f63f8423a7fbe402151b4e77092eaf7f5 on foton:master into<PHONE_NUMBER>5b902d28b4a14c014a4b5c46e9dac7 on kslazarev:master.

Coverage increased (+0.5%) to 99.73% when pulling 8e4fa66f63f8423a7fbe402151b4e77092eaf7f5 on foton:master into<PHONE_NUMBER>5b902d28b4a14c014a4b5c46e9dac7 on kslazarev:master.

Coverage decreased (-0.2%) to 99.016% when pulling 8e4fa66f63f8423a7fbe402151b4e77092eaf7f5 on foton:master into<PHONE_NUMBER>5b902d28b4a14c014a4b5c46e9dac7 on kslazarev:master.

@foton want to finish this?

@dblock it's OK to merge as is. I can address the suggestions on the weekend.

There're a lot of problems in this code, build doesn't pass, etc!

I see now, ignore me. I think the change requests should be addressed before merging.

I will fix it today

Coverage increased (+0.8%) to 100.0% when pulling b51284e3ba60f4e74064755cc8c1c85ba2dd3d22 on foton:master into<PHONE_NUMBER>5b902d28b4a14c014a4b5c46e9dac7 on kslazarev:master.

Coverage increased (+0.8%) to 100.0% when pulling b51284e3ba60f4e74064755cc8c1c85ba2dd3d22 on foton:master into<PHONE_NUMBER>5b902d28b4a14c014a4b5c46e9dac7 on kslazarev:master.

Coverage increased (+0.8%) to 100.0% when pulling b51284e3ba60f4e74064755cc8c1c85ba2dd3d22 on foton:master into<PHONE_NUMBER>5b902d28b4a14c014a4b5c46e9dac7 on kslazarev:master.

Fixed and coverage is back to 100%.

Thank you @foton!

Closes #123


Tooltip on Checkboxes

When adding a tooltip to a checkbox, I noticed some weird behavior. I wasn't really able to reproduce it in a Stackblitz but here is it anyways: https://stackblitz.com/edit/ngx-materialize-yeieku
I made a screenshot as well to demonstrate the behavior. The Tooltip hovers around the checkbox even if the checkbox has a label. It should surround checkbox AND label if both are present. Make for better readability, so hence why I figured this must either be a bug or not implemented.
Here pic: https://imgur.com/6rpTptP

Did you try it on mz-checkbox-container instead of input?

Hi scote, Yes I did. You can see my code in the stackblitz I posted in app/app.component.html. Although the Stackblitz isn't able to produce the tooltip at all. Thanks for your time.

I found this bug on Materialize. We have to put the tooltip on checbox label.

The fix will be part of the next release.


[FLINK-18508][table] support source parallelism

What is the purpose of the change
Introduce SOURCE_PARALLELISM like SINK_PARALLELISM to give ScanTableSource the ability to define its parallelism
Brief change log

let SourceFunctionProvider implement ParallelismProvider to pass user-defined parallelism to the planner
modify CommonPhysicalTableSourceScan and StreamExecCalc
modify KafkaDynamicSource to support user-defined parallelism

Verifying this change
Documentation

Does this pull request introduce a new feature? (yes )
If yes, how is the feature documented? (not documented)

@flinkbot run azure

Is there a particular reason why this is limited to the ScanTableSource, and not also covering the LookupTableSource?

This also doesn't seem to be really related to FLINK-18508, and such a feature should be added to master first, not 1.12.


Add kyverno sample policy

Thanks @jianh619 ! This is really great. Just some minor comments. @dockerymick can you review the text?

@ycao56 @dockerymick Thanks for your time , just back from holiday , I modified the code following your suggestions and  rebased it to resolve conflict , that's why you saw more comments in this PR .

@jianh619 your branch seems out of date. There are a lot of file changes unrelated to your pr. Can you rebase?

@ycao56  modified as request , could you help to review please , thanks


SB 1286: Store users in OrientDB

Pull Request Description
This fixes issue SB-1286.
Acceptance Test

[x] Building the code with mvn clean install -Dintegration.tests still works.
[x] Running mvn spring-boot:run in the strongbox-web-core still starts up the application correctly.
[x] Building the code and running the strongbox-distribution from a zip or tar.gz still works.
[x] The tests in the strongbox-web-integration-tests still run properly.

Questions

Does this pull request break backward compatibility?

[x] Yes
[ ] No

Does this pull request require other pull requests to be merged first?

[x] Yes, please see strongbox-db/pull/15
[ ] No

Does this require an update of the documentation?

[ ] Yes, please see strongbox/strongbox-docs#{PR_NUMBER}
[x] No

This looks good to me, but I have some minor change requests, as well as requests for clarifications. :)
Would you mind rebasing this again? Thanks! :)

@carlspring I've rebased it once again :)

@steve-todorov : We've approved this. Should we wait for the UI changes, before merging?

Just a remark from @steve-todorov : This will break the UI for the users, but the fix will be handled in a separate follow-up task.


Add Installation-Snippets for Ubuntu

Summary
When installing Aer from source, it's necessary to install a c++ compiler and the openblas-headers. This PR adds the necessary package-names for Ubuntu, as they're currently only shown for Fedoras dnf.
Details and comments
As Ubuntu is supported and the snippets are already mentioned in https://github.com/Qiskit/qiskit-aer/blob/master/CONTRIBUTING.md, they should also be shown in the official docs.

 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.

 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.


Add new TopLevel Resource PublicIPPrefix to CLI

Is your feature request related to a problem? Please describe.
No not related
Describe the solution you'd like
Please add a new TopLevel Resource (PublicIPPrefix) to the CLI. It is optionally referenced from PublicIPAddress.
Describe alternatives you've considered
NA/
Additional context
NA

@christiankuhtz please add info for outbound rules as well so it happens all together

Outbound rules are a new child resource in Standard Load Balancer which provides control over outbound network translations.  Load Balancer uses port masquerading SNAT to facilitate outbound connections.  https://aka.ms/lboutbound provides background on how these functions haved worked up til now.  Outbound rules provides explicit controls over which IP addresses are used for outbound, how SNAT ports are allocated, exposes control over the outbound idle timeout, and allows TCP RST's to be enabled on idle timeout (TCP RSTs can also now enabled on LB rules and inbound NAT rules with the same parameter as well).  This feature also has interaction with the DisableOutboundSNAT property of LB rules in Standard Load Balancer, which can enable or prevent the LB rule from programming SNAT.
The frontend of the rule is an array of frontend child resources containing public IP addresses or public IP prefixes or both.
The backend pool definition of the outbound rule is reusing the backend address pool child resource in load balancer.  Customers can choose to reuse an existing pool definition or create a new pool just for use with outbound rules.
idleTimeoutInMinutes provides a configurable idle timeout for outbound SNAT connections from 4 to 66 Minutes (4000 seconds).
enableTcpReset is an on/off switch for sending bidirectional TCP RST on idle timeout.  It's available on outbound rules as well as load balancing rules, and inbound NAT rules.
Please let me know how we can get this rolling.

@khannarhea fyi

Swagger spec for LB: https://github.com/Azure/azure-rest-api-specs/blob/Network-August-Release/specification/network/resource-manager/Microsoft.Network/stable/2018-07-01/loadBalancer.json

@christiankuhtz or @anavinahar, can one of you talk a bit about when the public ip prefixes would be used? A bit naive, but is that just for easier to author rules?

public ip prefix is a means to reserve a CIDR prefix of a specific length. the reservation of this range guarantees a sequential set of addresses.  This in turn makes a number of things easier.  Rather than having a random set of public IP's, customers can describe the destination or source of their traffic with a single prefix.  So, if your deployment has a need for 64 IP's, you can whitelist the entire range of 64 IP's with one statement. If you didn't have the prefix as the source for public IP's, and instead have 64 individual addresses, they are very unlikely to be aggregate-able/summarized as a single prefix because they are random and not in a contiguous range.    In turn, the tradeoff is a single statement or 64 statements; the latter has scaling issues for customers.  It's a very clean way to create a surface area of contiguous IP address space.
customers can then take the prefix resource and use it in two ways:

create individual public IP resource from it by referencing the prefix resource.  then use those public ip's like any other public ip's
assign the prefix directly to an outbound rule, and the outbound rule will use all ip's in the reserved range.

If (1) was started, (2) is not allowed.  It's an either or choice.
From an outbound rules perspective, one or more public ip resources, one or more prefix, or a combination of both can be assigned to outbound rules.


Lots of fixes

Closes:  https://github.com/open-cluster-management/backlog/issues/11730
Closes:  https://github.com/open-cluster-management/backlog/issues/11777
Issue: https://github.com/open-cluster-management/backlog/issues/12509
Issue: https://github.com/open-cluster-management/backlog/issues/12360
Issue:  https://github.com/open-cluster-management/backlog/issues/11890

Adds toast notification when creating a cluster pool
Matches favicon to other parts of UI
Adds cluster set and cluster pool reference to cluster details page
Removes search bar from table in update release image modal
Fixes issue with create cluster set modal not resetting state correctly when exited
Fixes issue when adding a label when no labels previously existed on object
Hides import command if the auto import secret is detected
Changes edit labels from drawer to modal

/retest


python37Packages.shodan: 1.10.4 -> 1.11.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-shodan/versions.
meta.description for python37Packages.shodan is: '"Python library and command-line utility for Shodan"'.

Checks done (click to expand)

built on NixOS
/nix/store/9gy7291w5jv8cd8vsbcnqs01zc06cdpr-python3.7-shodan-1.11.1/bin/.shodan-wrapped passed the binary check.
/nix/store/9gy7291w5jv8cd8vsbcnqs01zc06cdpr-python3.7-shodan-1.11.1/bin/shodan passed the binary check.
2 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 1.11.1 with grep in /nix/store/9gy7291w5jv8cd8vsbcnqs01zc06cdpr-python3.7-shodan-1.11.1
directory tree listing: https://gist.github.com/fcde023f6687e196b837c22dd8074be6
du listing: https://gist.github.com/20d0eae7dcf4baf51689a1ca5aa14df8

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

8 total rebuild path(s)
2 package rebuild(s)
2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
python27Packages.shodan
python37Packages.shodan

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/9gy7291w5jv8cd8vsbcnqs01zc06cdpr-python3.7-shodan-1.11.1 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python37Packages.shodan https://github.com/r-ryantm/nixpkgs/archive/358a27106c969250003c829301851e1f87a9b76f.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/9gy7291w5jv8cd8vsbcnqs01zc06cdpr-python3.7-shodan-1.11.1
ls -la /nix/store/9gy7291w5jv8cd8vsbcnqs01zc06cdpr-python3.7-shodan-1.11.1/bin

cc @lihop for testing.

@GrahamcOfBorg eval

@GrahamcOfBorg build python2.pkgs.shodan


⚠ Cioos National CKAN has degraded performance

In 28c2d24, Cioos National CKAN (https://catalogue.cioos.ca/) experienced degraded performance:

HTTP code: 200
Response time: 12980 ms

Resolved: Cioos National CKAN performance has improved in 2d5696c after 5 minutes.


test large file

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
25.05 Release Notes (or backporting 24.11 and 25.05 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.

Add a :+1: reaction to pull requests you find important.

@nixpkgs-merge-bot-test merge

@DominicWrege/nixpkgs-merge-bot-test

test

@nixpkgs-merge-bot-test merge

@NixOS/nixpkgs-merge-bot merge


Could you please update your npm package?

Could you please update your npm package?
It will save everyone's time 😄

What do you mean? You want a new release or you want us to stop using the next tag on releases?

I don't know but after "npm install materialize-css" some functions were not supported. I installed materialize.js by downloading from your documentation and everything worked fine I suppose that it was not the last version on npm?

This is currently the npm command that should be shown in the documentation on http://materializecss.com/getting-started.html. The next tag will be removed when 1.0 goes out of beta.
npm install materialize-css@next


Enable 64-bit bignum limbs and add optimized multiplication for Aarch64

This fixes #1636 and greatly speeds up bignum operations on ARMv8-A / Aarch64 platforms. It still passes all tests.
 On a Raspberry Pi3 (Cortex-A53) only enabling 64-bit limbs improved performance.

@Ko- Thank you for your contribution!
It seems that many can benefit from it.
In addition, unfortunately our policy is to not accept contributions, without a Contributor’s Licence Agreement (CLA) signed or authorised by yourself or your employer.
If this is a personal contribution, the easiest way to do this is if you create an mbed account and accept this click through agreement. Alternatively, you can find a slightly different agreement to sign here, which can be signed and returned to us, and is applicable if you don't want to create an mbed account or alternatively if this is a corporate contribution.
Thanks for your understanding and again, thanks for the contribution!

I signed the CLA yesterday.

@Ko- Thank you for signing the CLA!
Did you sign it with your Mbed account?
Unfortunately, the Mbed accounts and github accounts are not linked, and we need to manually search your user name. Could you please refer us to your Mbed user?

Yes. I created one yesterday with the same email address: k.stoffelen {@] cs [.} ru.nl.

@Ko- Thank you for your your information. As mentioned, we can't link between github account.
We also can't search Mbed account through Email. Can you please refer us to your Mbed account?

It's andrikos1

@yanesca Any idea when you have time to review this?

@Ko- I have a quite long review queue at the moment, so I can't tell when can I get to this PR, but I will review it as soon as I can!

retest

This is a totally cool feature, why is it pending still?

@lnksz Thank you for the reminder!
I have put this PR to our review backlog

Please resolve conflicts and ensure testing passes, then we can merge.

This PR should now be made to mbed-crypto instead. I'll create a new one there.


Corrected typo

correct spelling is 'activity' ;)

Sorry for the delay, forgot to watch my own repo 😓 but just merged this fix in the previous PR. Thanks for the PR though!! ✨


sqlite bench

https://github.com/delaneyj/go-sqlite-bench
hey @ganigeorgiev
I figured this is useful...
The numbers are really interesting and maybe its worth revisiting the base sqlite driver Pocketable uses.

Another user already posted it in https://github.com/pocketbase/pocketbase/discussions/3955.
I'm aware of it but for now there are no plans to switch from the standard database/sql to 3rd party db driver abstraction.
Performance can definitely be improved but it is not a priority at the moment and unless there is a critical/blocker performance issue these type of tasks are left for somewhere before the final v1 release.


Contributor handbook (developer guide)

We should review and update developer guide in terms of:

which repos to check out
how to build sbt from source
how to test freshly baked sbt locally
where to send pr

In my experience, contributors usually get OOM exceptions when running the test suite. Would be good to show them how to work around that too.

Duplicate of #3950


Example Doesn't Work in Safari (macOS/iOS)

I get a black screen when going to the demo URL: https://flyover.github.io/imgui-js/example/

Looks like it tries to use WebGL2RenderingContext, which is not available in Safari (macOS or iOS).

Yep, thanks for letting me know.; should be fixed now.

Wow, fast turn around! On my phone but will verify when I get back to my computer.

Confirmed on iOS. Will close if it’s the same on macOS

Works on macOS, closing.


Running on a directory fails with an error

Hi there, this package seems to be broken at the moment. When running on a directory, for example with halstead dir src, I get the following error:
[Error: EISDIR: illegal operation on a directory, read] {
  errno: -21,
  code: 'EISDIR',
  syscall: 'read'
}

I'm running on Node v17.9.0.

I tried and it still works with 17.9 and 18.1, however, I'm not sure what causes this error in your case.
On the other hand, I don't think these metrics provide much value, if any. This project was initially put together for a demo and I should have archived it then. So you're better off finding something more meaningful than this.


Distrubuted crawling example(s)

Hi guys,
Hope you are doing all well !
I was wondering if it could possible to push a small example of gocolly working in a distributed manner between several clients with sqlite3 databases and central database.
For instance, I found these repositories trying to make some distributions to gocolly crawling:

https://github.com/sfproductlabs/scrp
https://github.com/Veerse/reezocar_test

But I am looking for something simple to deploy...
@asciimoo do you have any idea of how to do that ?
That would bring gocolly to another level and that would be awesome. Isn't it ?
Thanks in advance for your inputs and insights about that.
Have a good week end all !
Cheers,
X

@x0rzkov there is no need for sqlite middleman database, you can use any persistend strage backend, like redis and connect to it with multiple scrapers distributed.


implement codegen for ESingleton

@Calvin-L BTW, is there a way to include examples/* to CI?

is there a way to include examples/* to CI?

Sadly, Cozy is a little too CPU intensive for Travis. I have not had success with that.

I tried compiled Java and C++ code. C++ worked fine, 10x speed up over a std::set baseline. But Java's constructor call is not terminating! I suspect there is some bug. I will check tomorrow. Don't merge yet.

Are there parts of the Cozy examples that would run in 50 minutes?  That is, can the Cozy examples be split into parts, each of which takes 50 minutes or less?
If so, it is possible to break a single Travis build into multiple jobs. The full Travis build can take as long as you want.
The full Checker Framework tests take too long, so we split them up into 6 jobs: https://travis-ci.org/typetools/checker-framework/builds/429677918
Even type-checking the Daikon project takes too long, so we run each type-checker separately: https://travis-ci.org/typetests/daikon-typecheck

TODO: the example is better named MaxSet

Java constructor might indeed be buggy
public class MaxBag implements java.io.Serializable {
  protected Integer _var643;
  protected java.util.HashMap<Integer , Boolean > _var751;
  protected Boolean _var1638;
  protected Integer [] _var2680;
  protected Integer _var2681;
  protected java.util.ArrayList<Integer > _var50352;
  public MaxBag() {
    clear();
  }

  public void clear() {
    Integer _max463327 = 0;
    Boolean _first463328 = true;
    _var643 = _max463327;
    _var751 = new java.util.HashMap<Integer , Boolean > ();
    Boolean _v463332 = true;
    _label463333: do {
    } while (false);
    _var1638 = (!(_v463332));
    Integer _alloc_len463335 = 0;
    _var2680 = new Integer [_alloc_len463335];
    Integer _heap_size463336 = 0;
    for (;;) {
      Boolean _v463340;
      if (((_heap_size463336 + 0) >= 0)) {
        _v463340 = ((_heap_size463336 + 0) < (_var2680.length));
      } else {
        _v463340 = false;
      }
      if (_v463340) {
        break;
      }
      Integer [] _new_array463339 = new Integer [(_var2680.length) << 1];
      System.arraycopy(_var2680, 0, _new_array463339, 0, (_var2680.length));
      _var2680 = _new_array463339;
    }
    Integer _sum463341 = 0;
    _var2681 = _sum463341;
    _var50352 = new java.util.ArrayList<Integer > ();
  }
}

just looking at the default constructor, which is basically clear, there is a for (;;) loop. It is easy to find that it is not terminating.

Are there parts of the Cozy examples that would run in 50 minutes? That is, can the Cozy examples be split into parts, each of which takes 50 minutes or less?
If so, it is possible to break a single Travis build into multiple jobs. The full Travis build can take as long as you want.
The full Checker Framework tests take too long, so we split them up into 6 jobs: https://travis-ci.org/typetools/checker-framework/builds/429677918
Even type-checking the Daikon project takes too long, so we run each type-checker separately: https://travis-ci.org/typetests/daikon-typecheck

or a simple solution is randomized CI (randomly run M examples in N total ones nightly and per build)? XD

Regarding the bug in clear: compile with --simple looks good.

OK, I think I found the issue. When constructing a zero-sized heap, there needs an empty array. This is done through first constructing an empty array then add_all zero elements into it. And our generated code requires that, for add_all n elements, there must be sufficient space reserved. The algorithm of reservation is to double the size until it meets requirements (max index < length). However, in our special case "max index" is zero, while length is zero, and doubling this zero-valued length is still zero-valued length...which caused non-termination.

@Calvin-L I've included bug fixes for h.add_all(idx, a) in this patch:

when idx = 0 and a = []: the while loop is non-terminating because zero is considered an index rather than size
when idx = ?? and a = [x]: the while loop is non-terminating because double zero size is still zero.

tested Java code with a driver like this https://gist.github.com/izgzhen/6dbbc837edf374990564a4bfcab34fd8
50x speedup on my machine

@mernst Breaking up the run that way could work. The next blocker is that we need to write tests in Java and/or C++ for Cozy's generated code. An easy way to do this would be to use random data and differentially test Cozy's synthesized implementation against Cozy with --simple.

This is a good set of fixes. Thanks for putting up with the back and forth to clean it up. 👻

thanks for the pointers! I am still catching up what is happening in Cozy and maybe latter we can discuss some more problems in person :)


Compatibility wtih 5 prime only adapter?

So for my clonal barcode dataset we generally only have a 5 prime sequence since are barcode is long and we do separate amplification the barcode library (and cycle only to the barcode length as a result). Is there a way to just set only a 5 prime adapter and take those inserts?
It looks like flexiplex allows that but I wondered if your interface/call will allow it.
Best,
Chang

yes you can do that. All you need to do is leave the adapter_3prime_clonmapper parameter in nextclone.config file as empty string like so: adapter_3prime_clonmapper = ""


Re-implement reactor

In short: the runtime's reactor has been redesigned so that a Wasi Pollable can be reused to await for more than one readiness event.
Prior to this PR, the only way to wait for a pollable is with Reactor's async fn wait_for(&self, pollable: Pollable). (This method still exists for compatibility, but will dissapear in future PRs after the rest of the repo is ported.) Because this method takes ownership of the Pollable, it can only be used to await for readiness once per Pollable. In Wasi, a Pollable can signal readiness for the entire lifetime of the parent resource. Wstd's failure to reuse results in lots of unnecessary churn calling subscribe and [drop]pollable import calls for each await.
The new Reactor method fn schedule(&self, pollable: Pollable) -> AsyncPollable gives a new AsyncPollable type, which implements Clone and has a (notional) async fn wait_for(&self) method. This means that each Pollable can now, upon being transferred to the Reactor via schedule, be reused in many futures given by AsyncPollable::wait_for. The legacy Reactor::wait_for is now implemented with a Reactor::schedule and immediate AsyncPollable::wait_for.
One knock-on effect is that a Pollable remains owned by the Reactor for as long as there is a live AsyncPollable pointing to it. However, its liveness doesn't necessarily respond to the user's program awaiting on its readiness. So, rather than calling wasi::io::poll::poll on the entire set of owned Polllables, we now have to track which Pollable has Future being polled, and only poll on that subset. This leads to a second layer of registration, private to the internals of this crate, called Waitee, wherein any of the WaitFor futures given by the AsyncPollable::wait_for method registers a Waiter with the Reactor during the first Future::poll call (if it does not immediately result in Ready). To handle cancellation properly, the Waitee is deregistered when the Future is dropped.
A further knock-on effect of this change is that it is no longer appropriate for a Future::poll call to call Reactor::schedule, including via the legacy Reactor::wait_for, because that will produce a registration of the Pollable which will only live as long as the poll call. This meant that the Timer had to be restructured to hold a long-lived AsyncPollable, and have a notional async fn wait(&self) that returns a Future, rather than having its own impl Future.

@yoshuawuyts and I went through the majority of these changes together and gave it a verbal review to merge.


Parse error Statement does not exist

Hi, I'm getting a parse error with this sentence:
        ri_entity_object = CAST #( LET collectors = get_collectors( )
                                        IN collectors[ type = iv_type ]-collector ).

thanks 👍

starting this

@jrodriguez-rc try again, 2.32.24 released
fixed with https://github.com/abaplint/abaplint/commit/afddc6a795ef916e56d012ae9626b9be0c100f1c#diff-638b20b877914b83f98e03a1f880d093R15

Worked fine, thanks!


[App]: error in copy/paste code on Download the best model file from a sweep

Current Behavior
From the https://wandb.ai/../../overview web page

val_acc = runs[0].summary.get("val_acc". 0)
Should that be a comma maybe?
Expected Behavior
No response
Steps To Reproduce
No response
Screenshots
No response
Environment
OS:
Browsers:
Version:
Additional Context
No response

Hi @blazespinnaker! That should be a comma :)

I dunno, did it?

Ohhh I am so sorry, I see what you are talking about now... Had to reread this multiple times. I'll let our documentation team know... Wow.


Add virtual directory, or equivalent, to main deployment

So old versions cannot be bookmarked.

Or have some means of detecting the latest version and redirecting/prompting if the user is on an old version

Redirect achieved via error.html redirect


require.js fails to load after booting dockci in docker according to the README.

I followed the README instructions to get dockci running via docker-compose and the when loading the main page I get an error including require.js:

Would you be able to send me the build log? On slack or something is fine

Oh wait no I know why that is :p

Quick fix if you just want to get dockci running is remove the /code/dockci volume mount in the compose file


memory leak of platone  BoatPlatoneTxInit   abi_setName   my_contract_cpp_abi_setName

Describe the bug
A clear and concise description of what the bug is.
Kindly include following information if applicable:

The commit id or tag on which you find the bug
The blockchain on which you find the bug
The smart contract on which you find the bug

To Reproduce
Steps to reproduce the behavior:

Configure ...
Call ...
Call ...
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots and log
If applicable, add screenshots and printed log to help explain your problem.
Device (please complete the following information):

Device brand and model: [e.g. Quectel EC20]
Chip model: [e.g. Qualcomm MDM9207]
OS: [e.g. linux]
Other information that may help [e.g. connect to Internet via 4G or 5G mobile network]

Additional context
Add any other context about the problem here.

Reference to issue #482 #485 #487,  A number of memory leaks were fixed in the new version released last Friday. You can download the new version and see if it fixes the problem.

Yes, it's fixed, thanks a lot for the prompt fix


Create osz.txt

Added a secondary school for information and medical technology.

@Brianquant Thank you for your patience while waiting for a review and processing your request.
Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

@Brianquant You might miss my previous comment. Please react.

@Brianquant You might miss my previous comment. Please react.

@philipto Sorry for responding that late. First of all thank you for answering and give us students this great opportunity to provide us with these series of IDEs , which are incredible. Here are the needed information:

The school official website URL: https://www.oszimt.de/
The school street address, including city and country: Haarlemer Str. 23-27, 12359 Berlin Germany
An URL of a page on the official website where the school offers an IT-related long-term (>1 year) course:
https://www.oszimt.de/bildungsangebot/duale-berufsausbildung/it-berufe/fachinformatiker/anwendungsentwicklung
A proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students
Currently our college provide us only with an email for using the Microsoft Office 365 set: My email would be<EMAIL_ADDRESS>
I hope this information is sufficient. If you need anything else, please let me know.

@Brianquant  Thank you for the clarifications. Your school is eligible for being added to this repository. Could you please clarify which email domain you wish to add to the trusted list - oszimt.onmicrosoft.com or osz.berlin as you in your request that you initially submitted?

@philipto This is great, thank you so much. The right email domain would be the first one oszimt.onmicrosoft.com.

@Brianquant I changed the file path to make it corresponding the domain oszimt.onmicrosoft.com. Your pull request is now merged. Thank you.

@philipto first of all thank you very much for accepting my college to the JetBrains Swot Repo and give us access to your IDEs.
I do have a problem here: My college set up us this onmicrosoft.com email to only access the MS Software except outlook, which is currently not accessible for us students. I try to communicate with the Systemadministrator, but nothing is for sure the college would give me an okay on that. Do you have any suggestions for a workaround for this case?


chore(react-tree-grid): adds playwright component tests

adds playwright component test configuration
adds playwright test for TreeGrid keyboard/click behaviours

once this lands to main https://github.com/microsoft/fluentui-contrib/pull/102

re-generate pw config

we need to discuss file name patterns, because with current setup if project would use jest and pw component test, the only distinction ATM is .test vs .spec but jest actually invokes also .spec which would explode.
with cypress we use *.cy.* suffix, maybe we can do similar for playwright, something like .pw.tsx etc

once this lands to main #102

re-generate pw config

@Hotell,
Trying to follow up on this, I'm getting some errors while trying to test locally

I went to main branch and regenerated the playwright configuration and  a spec test, and this happens whenever I try to run component-test

ups, while in rush I created invalid options generation dictionary
fix https://github.com/microsoft/fluentui-contrib/pull/116


Flask-SQLAlchemy integration

Trying to use this with Flask-SQLAlchemy:
    # configure options for create_engine
    engine_opts = app.config.get("SQLALCHEMY_ENGINE_OPTIONS", {})

    if app.config.get("AURORA_DATA_API_ENABLED"):
        # configure sqlalchemy-aurora-data-api
        rds_secret_arn = app.config.get("RDS_SECRET_ARN")
        aurora_cluster_arn = app.config.get("AURORA_CLUSTER_ARN")
        db_name = app.config.get("DATABASE_NAME")
        conn_url = f"postgresql+auroradataapi://:@/{db_name}"
        app.config["DATABASE_URL"] = conn_url

        # augment connect_args
        connect_args = engine_opts.get("connect_args", {})
        connect_args["aurora_cluster_arn"] = aurora_cluster_arn
        connect_args["secret_arn"] = rds_secret_arn
        engine_opts["connect_args"] = connect_args
    app.config["SQLALCHEMY_ENGINE_OPTIONS"] = engine_opts

Getting this error:
    "errorMessage": "(psycopg2.ProgrammingError) invalid dsn: invalid connection option \"aurora_cluster_arn\"\n\n(Background on this error at: http://sqlalche.me/e/f405)",
    "errorType": "ProgrammingError",
    "stackTrace": [
        "  File \"/var/task/TEMPLATE/commands.py\", line 55, in init_handler\n    from TEMPLATE.app import app\n",
        "  File \"/var/task/TEMPLATE/app.py\", line 4, in <module>\n    app = create_app()\n",
        "  File \"/var/task/TEMPLATE/create_app.py\", line 36, in create_app\n    configure_database(app)\n",
        "  File \"/var/task/TEMPLATE/create_app.py\", line 108, in configure_database\n    raise ex\n",
        "  File \"/var/task/TEMPLATE/create_app.py\", line 105, in configure_database\n    db.session.execute(\"SELECT 1\").scalar()\n",
        "  File \"/var/task/sqlalchemy/orm/scoping.py\", line 162, in do\n    return getattr(self.registry(), name)(*args, **kwargs)\n",
        "  File \"/var/task/aws_xray_sdk/ext/sqlalchemy/util/decorators.py\", line 61, in wrapper\n    res = func(*args, **kw)\n",
        "  File \"/var/task/sqlalchemy/orm/session.py\", line 1268, in execute\n    return self._connection_for_bind(bind, close_with_result=True).execute(\n",
        "  File \"/var/task/sqlalchemy/orm/session.py\", line 1130, in _connection_for_bind\n    engine, execution_options\n",
        "  File \"/var/task/sqlalchemy/orm/session.py\", line 431, in _connection_for_bind\n    conn = bind._contextual_connect()\n",
        "  File \"/var/task/sqlalchemy/engine/base.py\", line 2242, in _contextual_connect\n    self._wrap_pool_connect(self.pool.connect, None),\n",
        "  File \"/var/task/sqlalchemy/engine/base.py\", line 2280, in _wrap_pool_connect\n    e, dialect, self\n",
        "  File \"/var/task/sqlalchemy/engine/base.py\", line 1547, in _handle_dbapi_exception_noconnection\n    util.raise_from_cause(sqlalchemy_exception, exc_info)\n",
        "  File \"/var/task/sqlalchemy/util/compat.py\", line 398, in raise_from_cause\n    reraise(type(exception), exception, tb=exc_tb, cause=cause)\n",
        "  File \"/var/task/sqlalchemy/util/compat.py\", line 152, in reraise\n    raise value.with_traceback(tb)\n",
        "  File \"/var/task/sqlalchemy/engine/base.py\", line 2276, in _wrap_pool_connect\n    return fn()\n",
        "  File \"/var/task/sqlalchemy/pool/base.py\", line 363, in connect\n    return _ConnectionFairy._checkout(self)\n",
        "  File \"/var/task/sqlalchemy/pool/base.py\", line 760, in _checkout\n    fairy = _ConnectionRecord.checkout(pool)\n",
        "  File \"/var/task/sqlalchemy/pool/base.py\", line 492, in checkout\n    rec = pool._do_get()\n",
        "  File \"/var/task/sqlalchemy/pool/impl.py\", line 139, in _do_get\n    self._dec_overflow()\n",
        "  File \"/var/task/sqlalchemy/util/langhelpers.py\", line 68, in __exit__\n    compat.reraise(exc_type, exc_value, exc_tb)\n",
        "  File \"/var/task/sqlalchemy/util/compat.py\", line 153, in reraise\n    raise value\n",
        "  File \"/var/task/sqlalchemy/pool/impl.py\", line 136, in _do_get\n    return self._create_connection()\n",
        "  File \"/var/task/sqlalchemy/pool/base.py\", line 308, in _create_connection\n    return _ConnectionRecord(self)\n",
        "  File \"/var/task/sqlalchemy/pool/base.py\", line 437, in __init__\n    self.__connect(first_connect_check=True)\n",
        "  File \"/var/task/sqlalchemy/pool/base.py\", line 639, in __connect\n    connection = pool._invoke_creator(self)\n",
        "  File \"/var/task/sqlalchemy/engine/strategies.py\", line 114, in connect\n    return dialect.connect(*cargs, **cparams)\n",
        "  File \"/var/task/sqlalchemy/engine/default.py\", line 482, in connect\n    return self.dbapi.connect(*cargs, **cparams)\n",
        "  File \"/opt/python/psycopg2/__init__.py\", line 125, in connect\n    dsn = _ext.make_dsn(dsn, **kwargs)\n",
        "  File \"/opt/python/psycopg2/extensions.py\", line 174, in make_dsn\n    parse_dsn(dsn)\n"
    ]
}

If I try configuring it purely using environment variables:
{
    "errorMessage": "Can't load plugin: sqlalchemy.dialects:postgresql.auroradataapi",
    "errorType": "NoSuchModuleError",
    "stackTrace": [
        "  File \"/var/task/TEMPLATE/commands.py\", line 55, in init_handler\n    from TEMPLATE.app import app\n",
        "  File \"/var/task/TEMPLATE/app.py\", line 4, in <module>\n    app = create_app()\n",
        "  File \"/var/task/TEMPLATE/create_app.py\", line 37, in create_app\n    configure_database(app)\n",
        "  File \"/var/task/TEMPLATE/create_app.py\", line 109, in configure_database\n    raise ex\n",
        "  File \"/var/task/TEMPLATE/create_app.py\", line 106, in configure_database\n    db.session.execute(\"SELECT 1\").scalar()\n",
        "  File \"/var/task/sqlalchemy/orm/scoping.py\", line 162, in do\n    return getattr(self.registry(), name)(*args, **kwargs)\n",
        "  File \"/var/task/sqlalchemy/util/_collections.py\", line 1012, in __call__\n    return self.registry.setdefault(key, self.createfunc())\n",
        "  File \"/var/task/sqlalchemy/orm/session.py\", line 3225, in __call__\n    return self.class_(**local_kw)\n",
        "  File \"/var/task/aws_xray_sdk/ext/flask_sqlalchemy/query.py\", line 31, in __init__\n    bind = options.pop('bind', None) or db.engine\n",
        "  File \"/var/task/flask_sqlalchemy/__init__.py\", line 937, in engine\n    return self.get_engine()\n",
        "  File \"/var/task/flask_sqlalchemy/__init__.py\", line 956, in get_engine\n    return connector.get_engine()\n",
        "  File \"/var/task/flask_sqlalchemy/__init__.py\", line 561, in get_engine\n    self._engine = rv = self._sa.create_engine(sa_url, options)\n",
        "  File \"/var/task/flask_sqlalchemy/__init__.py\", line 966, in create_engine\n    return sqlalchemy.create_engine(sa_url, **engine_opts)\n",
        "  File \"/var/task/sqlalchemy/engine/__init__.py\", line 479, in create_engine\n    return strategy.create(*args, **kwargs)\n",
        "  File \"/var/task/sqlalchemy/engine/strategies.py\", line 61, in create\n    entrypoint = u._get_entrypoint()\n",
        "  File \"/var/task/sqlalchemy/engine/url.py\", line 172, in _get_entrypoint\n    cls = registry.load(name)\n",
        "  File \"/var/task/sqlalchemy/util/langhelpers.py\", line 240, in load\n    \"Can't load plugin: %s:%s\" % (self.group, name)\n"
    ]
}

on AWS lambda

Your option names seem to be really confused. For example, you specify an option called DATABASE_URL, but you should be specifying SQLALCHEMY_DATABASE_URI. Your error message is coming from a psycopg2 driver, not from this package. And in the last error you pasted, the cluster ARN is somehow getting mangled with SQL - I have no idea where the SQL is coming from, but there is no place in this package that mixes the two.
The following snippet works for me:
import os
from flask import Flask
from flask_sqlalchemy import SQLAlchemy

app = Flask(__name__)
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
app.config['SQLALCHEMY_DATABASE_URI'] = 'postgresql+auroradataapi://:@/' + os.environ["AURORA_DB_NAME"]
app.config['SQLALCHEMY_ENGINE_OPTIONS'] = {
    "connect_args": {
        "aurora_cluster_arn": "arn:aws:rds:us-east-1:NNNNNNNNNNNN:cluster:database-1",
        "secret_arn": "arn:aws:secretsmanager:us-east-1:NNNNNNNNNNNN:secret:database-1"
    }
}
db = SQLAlchemy(app)

class User(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    username = db.Column(db.String(80), unique=True, nullable=False)
    email = db.Column(db.String(120), unique=True, nullable=False)

    def __repr__(self):
        return '<User %r>' % self.username

db.create_all()

My app converts DATABASE_URL to SQLALCHEMY_DATABASE_URI (for compatibility with platforms like Heroku).  I don't know why psycopg2 is being used instead of this driver. The combining of SQL and cluster ARN definitely looks odd, I agree. I thought it may be a bug somewhere. I double-checked the connection string variable and it doesn't include the SQL.


Cannot send pdf document (send button not visible)

Hi, looks like this might be fixed with #52
I'll try on my phone. What phone/screen ratio do you have?

Hi, looks like this might be fixed with #52 I'll try on my phone. What phone/screen ratio do you have?

My phone name is Asus zenfone max pro m1 , 5.99 inch screen size with 18:9 full view , 2mm slim bezel.

#52 is not in any release yet, would be part of the next release. I'll build the version and do a full release, if that works for you then. eta: next few days

Yeap waiting 😄 , and thanks for replys.

#52 is in the latest release, but unfortunately it doesn't fix the cut out send button issue. Still investigating. why did you close the issue?

#52 is in the latest release, but unfortunately it doesn't fix the cut out send button issue. Still investigating. why did you close the issue?

Ohh i thought you fixed it in previous update.

@Premjit-Chowdhury please create other issues for other problems or feature requests.
regarding those two:

there is already a workaround used to get the download file, which unfortunately does not have the file name
Not easily possible as not provided by whatsapp web

A related comment, if keyboard is not blocked, the attachment menu doesn't work… It pops up and drops away immediately.


Validated JSON

Removed 'B' that breaked the JSON and made it unable to parse.

Thank you :) @ginnyTheCat


Create custom README

custom CI deployment and monitoring platform

hi, testing this amazing platform to build a custom ci dashboard.


KSP processor

Implement hilt-processor as KSP processor (either in the same library, or as a separate hilt-processor-ksp library).
The KSP processor should duplicate the functionality of the existing Kapt processor, but it should be managed by KSP instead.
Ticket for official KSP support for Hilt: https://issuetracker.google.com/issues/179057202

This is also an opportunity to properly refactor existing Kapt processor.

Any reason you didn't implement it already? What are the current blockers to write a hilt extension using KSP?

Thanks for your question, @Kshitij09-sc
The main reason is me working on other projects. KSP simply wasn't high enough priority, as kapt is still necessary for projects using Hilt anyway.
I'll try to spend some time on this issue as soon as I get a bit less busy elsewhere.

v1.4.0 has been released.


Unlock test_s3crypt

Part of #705, builds on https://github.com/capitalone/cloud-custodian/pull/1272. Lotta fixes for one measly test. 😛

Closing in favor of #1285.


Components: Icon - update component

Read this: Working on a PR | CONTRIBUTING | Galio's docs
As I've written in our wiki. We're working towards v0.6 and for this thing to happen we need the following components.
We're looking into removing the Expo dependency we have via the Icon component. After removing Expo and transforming the Icon component into a working component we'll only have to get rid of any expo-related Icon dependency we find in other Galio components.
Do you want to help? Just comment if you wish to work on:

[x] Icon (TAKEN BY @palingheorghe)

If anybody has questions please comment them below.
🤙🏽

This was done for the v0.5.2 as a hotfix. You can read more about it here.


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

Delete the code-workflow branch from github


Change DomA service start condition

Regarding the functional part - looks good and is a great idea overal.
But I would suggest rephrasing the header of the commit message and 'summary' of service.
Combining the words 'block' and 'up' looks really confusing because it means something is blocked.
So I would recommend using something like
domd: 'block device is up' systemd service
or
domd: Add notification when block device is up.
Or another variant that makes clear that we are talking about 'block device is up' and not something to block up.
I have checked with google translate (not the best option, but ...) and it was confused too.

Acked-by: Ruslan Shymkevych<EMAIL_ADDRESS>

Added ack


Adding a More Efficient Digital I/O interface

I saw that setting all 8 digital outputs requires 8 separate I2C transactions.
I also saw that reading all 9 digital inputs requires 8 separate I2C transactions.
I suggest adding two more registers to allow setting/reading all 8 I/O in one I2C transaction.
Register 0x18 can be used to directly translate the data byte into bits for the 8 outputs.
b0 = IO0, b1 = IO1, b2 = IO2 etc.
When using register 0x18, the bit for any pin not set to DIGITAL_OUTPUT_MODE would be ignored.
Register 0x28 can be used to encode the status of the inputs into one data byte.
b0 = IO0, b1 = IO1, b2 = IO2 etc.
When using register 0x28, the bit for any pin not set to DIGITAL_INPUT_MODE would always return 0.
Making this change can speed up I/O operations by as much as 8x or reduce I2C traffic to 1/8th.
I created a fork on both this code and on the internal firmware code that implements these new registers.
I have also created a pull request to merge this into the code.

👍
https://github.com/m5stack/M5Unit-EXTIO2/commit/e123f193767bfafb3345c069fb2f97740ce3c1d2


Website Loading

Hello,
I would love to use your website, but if I try to use the pen calculator the website seems to load infinite and doesnt let me select an amor. I hope you could may help.
Thank you in advanced

@Tanoswolf Hey, thanks for the message.
I stopped maintaining the project last year. The website is no longer working, and even if it was, it would be out of date due to changes in the game. Sorry about that.
If you wish to use a similar application, check out "Battlebuddy" on Android and iOS.

Thank you very much for the quick response and the clarification, aswell as the link to other services.


Vscode terminal showing nothing

My code is running in terminal showing nothing .
I don't know what to do now.
I deleted complete vs code setup completely and downloaded it again but problem not solved.

Can you share your settings.json file and also do a trace log while creating a terminal? https://github.com/microsoft/vscode/wiki/Terminal-Issues#enabling-trace-logging
/"needs-more-info"


P2P batteries should not charge with capacities > their defined capacity (in kW)

This battery charges faster than 200kW:

Can you link me to the LES please? It probably goes without saying, but that shouldn't be happening. :confused:

It's a LES that our client made... I was also looking for it. Perhaps it is private?

It is indeed private, and seems to have been changed since the screenshot was taken. I'll try to reproduce it myself.

Can you link me to the LES please?

http://beta.moses.et-model.com/testing_grounds/172

Okay, I know what the problem is. The conversion between kW loads and kWh stored is messing up the capacity limit on the technology. I'll aim to fix this tomorrow.


Thank you

So well made and the fuzzy search functionality is unexpectedly awesome! Add bookmarks finally works smooth (as it should be default, but doesn't).
Do you still use it on a daily basis?

I'm very glad that you like it.
Of course, I use it because I made it to adapt my need & just want to share it to anyone like me.
Feel free to contribute and customize it.
I also see your comment on the store.
Thank you, again!!!


Devise::Test::ControllerHelpers sign_in method only works on the first rspec test

Pre-check

There is also a similar error reported from other user on StackOverflow https://stackoverflow.com/questions/52149645/devise-rspec-the-user-is-signed-in-only-in-the-first-test

Environment

Ruby 2.5.1p57
Rails <IP_ADDRESS>
Devise 4.5.0
rspec-rails 3.8.1

Current behavior
describe TicketsController, type: :controller do
  describe '#index' do
    before do
      @organization = create(:organization)
      @user = create(:user, organization: @organization)
      sign_in(@user)
    end

    it "should load all tickets" do
      get :index
      byebug
    end

    it "should redirect to page_not_found on unauthorized" do
      get :index
      byebug
    end
  end
end

On first test byebug session returns:
{"warden.user.user.key"=>[[216], "$2a$04$orwOc5fpPYrAaFqb4D2dDu"]}
On second test byebug session returns:
{"flash"=>{"discard"=>[], "flashes"=>{"alert"=>"You need to log in to continue."}}}
Expected behavior
I am not sure if this is a devise error or rspec one, but I tested on a past proyect with devise 3.5.1 and rspec-rails 3.3.3 and in both the session method returns a warden.user.user.key.
Thanks,

Hello @wcpaez, thanks for your report.
Can you provide us a sample application that reproduces the issue in isolation?
Another option is to use our bug report template.
That would help us find the issue.
Thank you!


Add project bayes-warmup

@cpfpengfei @JurgisR

Looks good to me! I changed the topic to general, but this shouldn't make much of a difference. Looking forward to seeing how this goes!


ObjectMapper causes build error in Xcode 11.4 (11E146)

CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'ObjectMapper' from project 'ObjectMapper')
cd /Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/SourcePackages/checkouts/ObjectMapper
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name ObjectMapper -Onone -enable-batch-mode -enforce-exclusivity=checked @/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Intermediates.noindex/ObjectMapper.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/ObjectMapper.o.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk -target x86_64-apple-ios8.0-simulator -g -module-cache-path /Users/dj/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Index/DataStore -swift-version 4.2 -I /Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Products/Debug-iphonesimulator -I /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib -F /Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Products/Debug-iphonesimulator -F /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -c -j6 -output-file-map /Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Intermediates.noindex/ObjectMapper.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/ObjectMapper-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Intermediates.noindex/ObjectMapper.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/ObjectMapper.swiftmodule -Xcc -I/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Intermediates.noindex/ObjectMapper.build/Debug-iphonesimulator/ObjectMapper.build/swift-overrides.hmap -Xcc -I/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Products/Debug-iphonesimulator/include -Xcc -I/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Intermediates.noindex/ObjectMapper.build/Debug-iphonesimulator/ObjectMapper.build/DerivedSources-normal/x86_64 -Xcc -I/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Intermediates.noindex/ObjectMapper.build/Debug-iphonesimulator/ObjectMapper.build/DerivedSources/x86_64 -Xcc -I/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Intermediates.noindex/ObjectMapper.build/Debug-iphonesimulator/ObjectMapper.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG=1 -emit-objc-header -emit-objc-header-path /Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/Build/Intermediates.noindex/ObjectMapper.build/Debug-iphonesimulator/ObjectMapper.build/Objects-normal/x86_64/ObjectMapper-Swift.h -working-directory /Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/SourcePackages/checkouts/ObjectMapper
:0: error: filename "CodableTransform.swift" used twice: '/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/SourcePackages/checkouts/ObjectMapper/Sources/ObjectMapper/CodableTransform.swift' and '/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/SourcePackages/checkouts/ObjectMapper/Sources/ObjectMapper/ObjectMapper/CodableTransform.swift'
:0: note: filenames are used to distinguish private declarations with the same name
:0: error: filename "CustomDateFormatTransform.swift" used twice: '/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/SourcePackages/checkouts/ObjectMapper/Sources/ObjectMapper/CustomDateFormatTransform.swift' and '/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/SourcePackages/checkouts/ObjectMapper/Sources/ObjectMapper/ObjectMapper/CustomDateFormatTransform.swift'
:0: note: filenames are used to distinguish private declarations with the same name
:0: error: filename "DataTransform.swift" used twice: '/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/SourcePackages/checkouts/ObjectMapper/Sources/ObjectMapper/DataTransform.swift' and '/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/SourcePackages/checkouts/ObjectMapper/Sources/ObjectMapper/ObjectMapper/DataTransform.swift'
:0: note: filenames are used to distinguish private declarations with the same name
:0: error: filename "DateFormatterTransform.swift" used twice: '/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/SourcePackages/checkouts/ObjectMapper/Sources/ObjectMapper/DateFormatterTransform.swift' and '/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/SourcePackages/checkouts/ObjectMapper/Sources/ObjectMapper/ObjectMapper/DateFormatterTransform.swift'
:0: note: filenames are used to distinguish private declarations with the same name
:0: error: filename "DateTransform.swift" used twice: '/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/SourcePackages/checkouts/ObjectMapper/Sources/ObjectMapper/DateTransform.swift' and '/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/SourcePackages/checkouts/ObjectMapper/Sources/ObjectMapper/ObjectMapper/DateTransform.swift'
:0: note: filenames are used to distinguish private declarations with the same name
:0: error: filename "DictionaryTransform.swift" used twice: '/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/SourcePackages/checkouts/ObjectMapper/Sources/ObjectMapper/DictionaryTransform.swift' and '/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/SourcePackages/checkouts/ObjectMapper/Sources/ObjectMapper/ObjectMapper/DictionaryTransform.swift'
:0: note: filenames are used to distinguish private declarations with the same name
:0: error: filename "EnumOperators.swift" used twice: '/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/SourcePackages/checkouts/ObjectMapper/Sources/ObjectMapper/EnumOperators.swift' and '/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/SourcePackages/checkouts/ObjectMapper/Sources/ObjectMapper/ObjectMapper/EnumOperators.swift'
:0: note: filenames are used to distinguish private declarations with the same name
:0: error: filename "EnumTransform.swift" used twice: '/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/SourcePackages/checkouts/ObjectMapper/Sources/ObjectMapper/EnumTransform.swift' and '/Users/dj/Library/Developer/Xcode/DerivedData/ObjectMapperTest-adavhmasokixqrapefwoyigfpqqt/SourcePackages/checkouts/ObjectMapper/Sources/ObjectMapper/ObjectMapper/EnumTransform.swift'

Same here. I've tried deleting Derived Data, clean builds, etc. but nothing helps.

Duplicate of #1082

Try downgrading to XCode 11.3.1 - I had issues with another library as well, downgrading the XCode version fixed it perfectly.

There appears to be a shortcut to the "Sources" directory named "ObjectMapper", which causes recursion. In Xcode 11.4, this causes the source files to show up twice.

Why still not fixed?

Any update? :/

This seems to be an issue in Xcode 11.4.1 as I still get the same error.

Facing issue with Xcode 11.5
Mac - Catilina
Swift Language Version in Xcode: Swift 5
/Users/SS/Documents/Workspace/XXX/XX/XX/Models/SignIn/SamlAuthRequest.swift:10:8: Module compiled with Swift 5.1.3 cannot be imported by the Swift 5.2.4 compiler: /Users/SS/Documents/Workspace/XXX/XX/Carthage/Build/iOS/ObjectMapper.framework/Modules/ObjectMapper.swiftmodule/x86_64-apple-ios-simulator.swiftmodule

Facing issue with Xcode 11.5 Mac - Catilina Swift Language Version in Xcode: Swift 5
/Users/SS/Documents/Workspace/XXX/XX/XX/Models/SignIn/SamlAuthRequest.swift:10:8: Module compiled with Swift 5.1.3 cannot be imported by the Swift 5.2.4 compiler: /Users/SS/Documents/Workspace/XXX/XX/Carthage/Build/iOS/ObjectMapper.framework/Modules/ObjectMapper.swiftmodule/x86_64-apple-ios-simulator.swiftmodule

same here


FIX: Compatibility with sphinx 4.3 (visit_table)

Thank you ! Ran into this; reported it at https://github.com/executablebooks/sphinx-book-theme/issues/427. Thanks for fixing it.

Not even one day of down time, awesome @jorisvandenbossche !


Updated PDF Generator

This PR updates the PDF Generator plugin to a new library to generate PDF files. Weasyprint allows for the use of css stylesheets and inline css in the html attachment and be honored for the generation of the PDF file. While these changes where being made it was futher updated to process client King Phisher Jinja varibles prior to creating the PDF. This greatly increases the flexibility of this plugin for phishing purposes.
Testing:

[ ] plugin enables when weasyprint is installed
[ ] menu > Tools > Create PDF preview will generate a PDF to view based off the html in the email attachment path from mail configuration.
[ ] Sent emails will have a PDF attached
[ ] User documentation is readable, and provides usable information to end user.

Pinned PR as it will be a moment before I can take the time to address the issues ;)


Add JavaScript program

Description
Please include a summary of the program i.e what problem it solves.
This JavaScript program takes a string and returns the first unrepeated letter.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have added my code in its respective language folder.
[x] I have mentioned a short description about the code at the beginning of the program.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generate no new warnings.
[x] I have not deleted any files that already exist in the repository.

Completed checklist.


improvements and corrections

i changed some things and corrected other things

im glad i was useful, i thought i was a piece of 💩


Use tfp.math.associative_scan for associative binary ops

Is your feature request related to a problem? Please describe.
Computing evidence over samples is an associative binary op. And likely more than that buried in the computations.
Can simply replace cumulative_op_static with an all-prefix sum version. This will speed up:

sample_evidence
m_step of EvidenceMaximisation
compute_enclosed_prior_volume
compute_evidence_stats
count_crossed_edges
Computing evidence_calc_with_remaining in _inter_sync_shrinkage_process
get_sample_from_seed in UniDimSliceSampler and MultiDimSliceSampler

Note, compile times could grow though


About target_category

Would you mind explaining the function of this parameter in detail？

yeah, i also have the problem about how to specific a category?   Can you give us some guidance?

I think the default category index is in the range of 1-999, corresponding to the category labels in the ImageNet dataset. but how to set the category index if i want to use CAM in COCO dataset? I have the related document and the categories of Imagenet datasets do not completely include the categories of COCO datasets. Therefore, how to solve this problem?

This code assumes a classification setting, where the model has N output scores for N categories.
For imagenet indeed N=1000.
For other datasets it will be different.
If you're not sure how many outputs your model has - you can print it. I think COCO has 80 categories, so models trained on it should have 80 outputs.
The CAM visualization is computed for one of these categories - you control which one.
If you specify category 10 for example, it will compute the visualization for the 10th output, which might look different than the visualization of the other categories.
If you set category_index = None, it will use the highest scoring category (which of course won't always be correct) and compute the visualization for that.

First of all, I appreciate your response.  And I agree with what you talk about. Right now, i plan to design a classification network with the customized categories output channels and get the related weights.  I can get the matched CAM with the fine-tuned weights.
在2021-07-09 20:02:36，Jacob @.***写道：
This code assumes a classification setting, where the model has N output scores for N categories.
For imagenet indeed N=1000.
For other datasets it will be different.
If you're not sure how many outputs your model has - you can print it. I think COCO has 80 categories, so models trained on it should have 80 outputs.
The CAM visualization is computed for one of these categories - you control which one.
If you specify category 10 for example, it will compute the visualization for the 10th output, which might look different than the visualization of the other categories.
If you set category_index = None, it will use the highest scoring category (which of course won't always be correct) and compute the visualization for that.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.


Gradle - Added Config for Dev Mode Flag in Bundles

Motivation:
We ship beta releases that are almost identical to release.  We do not want warning windows to pop up.  That is only possible by setting the bundler --dev flag to false.  Unfortunately, the current react.gradle only does this when the build type (or flavor) is called "release".
This single-line PR allows you to customize the --dev value per build type or flavor.  Keeping with the "bundleIn{config}" config, there is a "devIn{config}".  If you define that, it will take your value from config.  For example, if you want to turn dev off in 'beta', add this to your app's build.gradle:
project.ext.react = [
    bundleInBeta: true,
    devInbeta: false
]

That will bundle the non-dev js with the app, which is perfect for distributions like a beta.
This addition is backwards compatible.

Could you do something like call it "beta-release"? I'm just concerned about adding more and more undocumented flags and config things here.

@lacker I appreciate your concern.  Yes, it is possible for us to change the build type as a workaround.  However this flag is a cleaner solution IMO.  It also offers the benefits of tweaking the dev mode in builds.  Like maybe you want to turn on dev mode for a release build temporarily for testing.  I don't think one more flag is getting out of control here.  Still not convinced?

Well, part of my concern is that AFAICT this part of things is neither tested nor documented. So how can we really keep it from breaking and being unstable if we accept every flag that someone has a use case for. Especially given that instability is one of the biggest complaints of React Native right now, and rejecting new tweaks is a simple way to improve stability. Another part of my concern is that, if we have n developers using it, React Native can't have O(n) config options, so we somehow need to prioritize features according to the amount of people who want it. Both of those point to, well maybe just punt on this since there's a workaround.

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with Canny! Check out its new home: https://react-native.canny.io/feature-requests/p/gradle---added-config-for-dev-mode-flag-in-bundles


Black bar on top of scanner

What

Device: Samsung Galaxy S21

SystemChrome.setSystemUIOverlayStyle(const SystemUiOverlayStyle(
    statusBarColor: Colors.transparent,
    systemNavigationBarColor: Colors.black,
  ),
);

Don't know if it Will helps if we include something like this in the main function in main.dart file,
(I am assuming the trouble is cuz of image cropper, as i knew from earlier on issues)


JetBrains: Cleanup

We kinda rushed on release week. Let's clean up a bit.

We did some cleanup. More to come after Agent integration


Check email page in mobile landscape is showing just 1/3 full page

Check your email inbox in landscape mode is showing just 1/3 full page, It is impossible to scroll...

It is ok when there is missing the picture? Because in portrait mode is present and there no. I didn't find design in zeplin for this case :/

@MagdalenaAlmanova yes, I have omitted the image for usability reasons, as on other landscape screens, in order to avoid scrolling to the main content/message.


Crash Issue when using New MAA Version

Crash Issue when using New MAA Version

Which MAA version did you used?
Try uninstalling(delete) MAA completely and reinstalling it.

Thanks to @WolfgangKurz, this issue has been fixed.


Fix double wait in ros_gz_bridge

Signed-off-by: ymd-stella<EMAIL_ADDRESS>
🦟 Bug fix
Fixes #345
Summary

Remove gz::transport::waitForShutdown() from ros_gz_bridge and ros_gz_image
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

We should backport this to humble and iron.

https://github.com/Mergifyio backport humble iron

We should backport this to humble and iron.

https://github.com/gazebosim/ros_gz/pull/449 and https://github.com/gazebosim/ros_gz/pull/450


Crash when calling refresh_devices(expand_vsys=False)

Describe the bug

After establishing an initial connection to Panorama, calling the refresh_devices() function with expand_vsys set to False throws an AttributeError exception.
Expected behavior

The devices should be returned from Panorama.
Current behavior

An Exception is thrown.
Possible solution

Unsure at this point.  Will update later if I'm able to find one.
Current workaround is to leave it as its default value of True: expand_vsys=True
Steps to reproduce

Run this code snippet, substituting in the correct hostname, username, and password:

from panos.panorama import Panorama
pano = Panorama(hostname="foo", api_username="admin", api_password="admin")
pano.refresh_devices(expand_vsys=False)

Screenshots

Hostname, credentials, and device group names changed to example values.
>>> from panos.panorama import Panorama
>>> pano = Panorama(hostname="foo", api_username="admin", api_password="admin")
>>> pano.refresh_devices(expand_vsys=False)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/matt/Library/Caches/pypoetry/virtualenvs/nautobot-plugin-chatops-panorama-B7XIf4lc-py3.9/lib/python3.9/site-packages/panos/panorama.py", line 640, in refresh_devices
    firewall_instances = tmp_fw.refreshall_from_xml(
  File "/Users/matt/Library/Caches/pypoetry/virtualenvs/nautobot-plugin-chatops-panorama-B7XIf4lc-py3.9/lib/python3.9/site-packages/panos/firewall.py", line 378, in refreshall_from_xml
    fw._set_version_and_version_info(entry.findtext("sw-version"))
  File "/Users/matt/Library/Caches/pypoetry/virtualenvs/nautobot-plugin-chatops-panorama-B7XIf4lc-py3.9/lib/python3.9/site-packages/panos/base.py", line 4027, in _set_version_and_version_info
    tokens = self.version.split(".")[:3]
AttributeError: 'NoneType' object has no attribute 'split'
>>> pano.refresh_devices()
[<DeviceGroup Foobar1 0x105cab230>, <DeviceGroup Foobar2 0x105cabee3>]
>>>

Context

I am trying to pull a list of Palo Alto firewall devices, but am unable to use this optional argument.
Your Environment

Version used: 1.4.0
Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3): Python 3.9.6, Panorama 10.1.0
Operating System and version (desktop or mobile): OSX 11.4
Link to your project: n/a (internal project)

I am having the same problem:
from panos import panorama
PANO = panorama.Panorama(IP, api_key=API_KEY)
DEVICELIST = PANO.refresh_devices(include_device_groups=False)
Traceback (most recent call last):
File "/Users/x/PycharmProjects/pythonProject/main.py", line 46, in
DEVICELIST = PANO.refresh_devices(include_device_groups=False)
File "/Users/x/PycharmProjects/pythonProject/venv/lib/python3.8/site-packages/panos/panorama.py", line 640, in refresh_devices
firewall_instances = tmp_fw.refreshall_from_xml(
File "/Users/x/PycharmProjects/pythonProject/venv/lib/python3.8/site-packages/panos/firewall.py", line 378, in refreshall_from_xml
fw._set_version_and_version_info(entry.findtext("sw-version"))
File "/Users/x/PycharmProjects/pythonProject/venv/lib/python3.8/site-packages/panos/base.py", line 4027, in _set_version_and_version_info
tokens = self.version.split(".")[:3]
AttributeError: 'NoneType' object has no attribute 'split'


bazel: Update rules_python -> release 0.4.0

Signed-off-by: Ryan Northey<EMAIL_ADDRESS>Commit Message: bazel: Update rules_python -> release 0.4.0
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue] Fix #18344
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/lgtm deps


[Bug]

There's a issue with category missing

The missing one name should be "defeat the fortress commander" or something like this


kaspersky antivirus check

at the time of building, the antivirus thinks it has found a virus
VHO:Trojan-Banker.Win32.ClipBanker.gen

It's a false positive, obviously.


log warning when error connecting to placement service

Description

Change the log level from debug to warn when error connecting to placement service.
Issue reference

Please reference the issue this PR will close:
https://github.com/dapr/dapr/issues/2896
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[ ] Created/updated tests
[x] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

@artursouza Please approve the pull request again. Sorry I checked in an other change before the pull request finished.
I will open a new issue for the other change.

@patrickxiong thanks for the PR. Before merging, I want to test that it doesn't spam the log output in case the connection breaks.


x/vuln: add flag to provide actionable govulncheck fixes

What version of Go are you using (go version)?

$ go version
go version go1.19.2 darwin/amd64

Does this issue reproduce at the latest version of golang.org/x/vuln?
Feature Request:
Provide a flag '--fixes/-f' that would parse the output of govulncheck and suggest actionable steps to fix them.
For example.,
  Found in<EMAIL_ADDRESS>  Fixed in<EMAIL_ADDRESS>  More info: https://pkg.go.dev/vuln/GO-2021-0052

Would output
Please run `go get -u<EMAIL_ADDRESS>
Also given the fact that this output would be shown for both direct and indirect dependencies and suggests a go get generic message to update the calling dependency (package-function).
<call-stack> --- <package-function> --- <affected-function>

What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/e.savio/Library/Caches/go-build"
GOENV="/Users/e.savio/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/e.savio/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/e.savio/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.19.2/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.19.2/libexec/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.19.2"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/44/79ttc6d962x84fw3_2g0wd2sdh29lk/T/go-build2982873195=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
N/A

What did you expect to see?
N/A
What did you see instead?
N/A

Would
Please run `go get -u<EMAIL_ADDRESS>
replace
Found in<EMAIL_ADDRESS>Fixed in<EMAIL_ADDRESS>More info: https://pkg.go.dev/vuln/GO-2021-0052

or just be an additional row in the latter message?
It seems that Fixed in effectively contains all the needed info. Would the benefit for the user be the ease of copy/paste?

Hi @zpavlinovic,
Yep, I was thinking that when setting the --fixes flag it would only print
go get -u<EMAIL_ADDRESS>
Which I was hoping one could use to pipe into bash to automatically fix vulnerability issues reported that could be fixed by just running go get -u for the appropriate vulnerabilities.
But, to be honest, you are right about the fact that
Found in<EMAIL_ADDRESS>Fixed in<EMAIL_ADDRESS>More info: https://pkg.go.dev/vuln/GO-2021-0052

Is enough in and of itself. I guess one could just pipe the output to grep "Fixed in" and use that to form the appropriate fixes.
I would be closing the issue since it looks like its not needed. Thanks a lot for checking out the feature request.

We will definitely investigate the option for providing a -fix flag, but we currently don't know what the outcome of that will be or when it will be determined.
Feel free to close the issue if the grep approach works for you.

Sure yep Thank you @zpavlinovic


Installing dev-lang/go or dev-util/google-perftools issue

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version devel +def5e36917 Tue Mar 7 03:26:47 2017 +0000 linux/amd64
What operating system and processor architecture are you using (go env)?
What did you do?
Try to install google-perftools when go installed, or try install go when google-perftools installed.
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
succesful installing
What did you see instead?
error, package collision /usr/bin/pprof
How fix?
Remove google-perftools from go, or /usr/bin/pprof, use dependecy instead.

Go doesn't install /usr/bin/pprof, so you must be talking about some other system.
You should file a bug report against your package manager or distro. Your bug report doesn't say which distro you're using.

Gentoo GNU/Linux nomultilib experimental

Are you sure it's not install pprof? I'm sure it does.
https://golang.org/pkg/runtime/pprof/

https://github.com/gentoo/gentoo/blob/master/dev-lang/go/go-9999.ebuild
ebuild doesn't do anything related to pprof, just installs from git repo.

Yes, this is a Gentoo problem. Looks like it's installing Go's private tool/pprof binary into /usr/bin (https://github.com/gentoo/gentoo/blob/master/dev-lang/go/go-9999.ebuild#L220), which isn't where Go puts it.
Please report a bug to Gentoo instead.

Isn't it a same binary?

Is pprof supposed to end up in $GOROOT/bin? That is where we are picking up binaries we want to make accessible to the user; it would be the same as adding $GOROOT/bin to your path. I could skip this specific binary, but if I do that and users need to access it at some point, there will be an issue. Also, there will be an issue for anyone who adds $GOROOT/bin to their path and has the other package installed on their distro because they will get a different pprof binary unexpectedly.

It looks like there are quite a number of new binaries in $GOROOT/bin if Go is built from git. Are all of these meant to be available to the user by adding $GOROOT/bin to their path?
benchcmp
bundle
callgraph
colcmp
digraph
eg
fiximports
go
godex
godoc
gofmt
goimports
gomvpkg
gorename
gotype
guru
html2article
oracle
pprof
present
ssadump
stress
stringer
tip
Some of those names seem pretty generic, so there could end up being more collisions later.

pprof should not end up in bin. It should be accessible via "go tool pprof" only.
And most of that other stuff is noise. You should not put the tip binary in /usr/bin. There is only one user of that: us, running https://tip.golang.org/. And I don't even know what colcmp is off the top of my head. etc.

If you do a normal source build, I just noticed that a large number of binaries end up in $GOROOT/bin even for go 1.8. The list for go 1.8 is:
benchcmp
bundle
callgraph
colcmp
digraph
eg
fiximports
go
godex
godoc
gofmt
goimports
gomvpkg
gorename
gotype
guru
html2article
oracle
present
ssadump
stress
stringer
tip
Those should end up in $GOROOT/bin if you do a normal build from source.

ok, nvm, a number of those got left behind from the git merge. I'll take a look at my live ebuild tomorrow and update you.

I just ran a couple of manual builds by following your build instructions  and found a quirk in the build system that I'm not sure how to debug.
The first time I ran the build, pprof was not installed in $GOROOT/bin, but I did a fresh clone and it was installed there after the second build.

@williamh, who are you talking to? And are you the Go package maintainer for Gentoo?
This bug is closed, so is unlikely to get much if any attention from the Go team.

@bradfitz yes, I am the Go package maintainer for Gentoo. I am talking to whoever can help me figure out why pprof is ending up in $GOROOT/bin. Since this is closed, do I need to open another issue?

There is a problem here, so reopening.  When I run $GOROOT/src/make.bash in a clean directory, it does indeed create $GOROOT/bin/pprof.

It's being installed from cmd/vendor/github.com/google/pprof.

CC @rauls5382

Yes, the vendored package builds its own version of pprof, which is not the same as the pprof used by go tool pprof (whose main is on sec/cmd/pprof). Skipping it is the right thing to do. Thanks,


Upgrade mbtiles to 0.10.0

PR Updates

node test versions to 6&8
moves aws credentials from travis yml to travis configuration
updated ci template w/ cloud friend
adds package-lock
updates all dev-dependancies


Check that y coordinate in scroll event is a number for UILargeTitleHeader

I'm still confused why was it working for 6.2.0


1password import fail

After several minutes import fails with the following error:

Failed importing: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined

Failed importing: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received null

Same me, I imported from bitwarden json :(

See also issue: https://github.com/buttercup/buttercup-desktop/issues/1017
I found out that the importer function defined in this module works perfectly.
Meaning that it returns a new Vault object, next step will be investigating what happens next.