[NuGet.org Bug]: New package version stuck at validating

Impact
Other
Describe the bug
A new version of the package was published yesterday and has been stuck in the validating state since then. This process usually takes minutes.
Repro Steps

Upload a new package version

Expected Behavior
Package validation should complete in a timely manner
Screenshots

Additional Context and logs
Package is here:
https://www.nuget.org/packages/SharpHoundCommon

Good afternoon,
Any updates on this?
Thanks,
Rohan

We've identified the support request associated with this GitHub issue and will pursue the conversation over email.


HBASE-26944 Possible resource leak while creating new region scanner

Scanner should be closed to avoid leak in case any exception thrown from RegionObserver#postScannerOpen

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 34s
Docker mode activated.

I'm neutral on this change. CP is designed for advanced user, so the users should know the risk of throwing exception out.

Better add a comment here to mention that ‘although CP is for advanced users and they should take care of the implementation to not damage the HBase system, closing the scanner on exception here does not have any bad side effect so let's do it‘. Something like this.

Make sense, thanks Duo for the suggestion. Will push the changes.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 50s
Docker mode activated.

 Any idea Duo?

Thanks Duo...!!

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 37s
Docker mode activated.

UT failures are not relevant.


Definition needed for IaaS

Needs to be written and finalized for V2. Please request to be assigned to it and refer to the style guide before getting started.

@CathPag - i can take up, if available

Sure!
I saw you also requested to work on vertical scaling. You can only claim one term at a time, so please work on this one first. When it's approved, you can claim the next.

Hey @CathPag , i want to work on this issue .

@ashish-patwal, Kumar has already claimed this term. Please pick a different one.


Add support for Workload Identity authentication in GCP

Hello ArgoCD team, I have been recently using ArgoCD and I think it's awesome, now I am deploying the operator in PoC clusters and soon I hope in prod ones.
I wanted to raise the idea of adding support for GCP's Workload Identity to the ArgoCDExporter component, since I believe it simplifies the authentication process of applications running in GKE. I noticed that ArgoCDExporter already supports authentication through a service account key provided as a secret, which is awesome, and I think, a great fit to also enable Workload Identity.
TL;DR; for Workload Identity: It allows to access GCP APIs by linking a K8s Service Account (SA) with a GCP one, in that way, K8s now knows how o authenticate with GCP APIs, keys are automatically rotated and no more secrets need to be provided to the workloads with SA Keys.
I am willing to add the support myself, but I am quite new to Operators. I can give it a try though.
On a side note, I also noticed that the contributing guidelines linked in the issue are pointing to the wrong URL, it should be:

https://github.com/argoproj-labs/argocd-operator/blob/master/docs/contribute/development.md

And it points to:

https://github.com/argoproj-labs/argocd-operator/blob/master/CONTRIBUTING.md

As for my use case, I can use the current secret implementation, but it'd be awesome to be able to use a serviceAccount in addition to the secretName available (since there may be use cases where Workload Identity does not satisfy the requirements due to limitations).
As for the GCP IAM configuration section, I already have a working Terraform template that sets up a bucket, as well as a service account and permissions. Not sure if that could be useful on defining that section of the docs.
Please let me know if you need further information, and how we could move forward with this.
Thank you!

Thank you for the quick reply, @jmckind . It'd be awesome if we can collaborate on it, I will begin by setting up my dev environment following the development guide and start looking into the code, I can make some time in the upcoming days to submit a PR. I will also check the docs to see if I can add the GCP IAM configuration section.
Later I can have a look into the exporter and discuss the ideas you've got for it.
Greetings!


Error running the script

Hello Cedric!
I hope you are doing good. I was trying to test the script but couldn't run. I'm pasting a screenshot.
https://gyazo.com/dd46fe516c5ded9f94dabadd61954648
It's something i did wrong maybe?

This should be fixed now. Thank you for testing!

No worries. It's a pleasure.
Well the script seems to run now.
My problem is that i cannot get this to start working. I mean, to link the blender scene. I'm just starting with web development so i may find hard some stuff.
Anyways thanks for the fix.


accessibility: tabindex is always 1 now

Environment

Version of smooth-scrollbar: 8.2.7

Issue Summary

Current tabindex is always 1.
https://github.com/idiotWu/smooth-scrollbar/blob/768f80e647140bb5a0ec90e3cbfed4222061814b/src/scrollbar.ts#L150
It would be great to give user ability to change tabindex number

Hi @idiotWu I am not sure actually. I am quite new to accessibility.
But I never met a accessibility problem when using bootstrap. I think they must have done a good job on it https://github.com/twbs/bootstrap/search?utf8=✓&q=tabindex&type=

Hi @idiotWu I am not sure actually. I am quite new to accessibility.
But I never met a tabIndex conflict when using bootstrap. I think they must have done a good job on it https://github.com/twbs/bootstrap/search?utf8=✓&q=tabindex&type=
I also checked react-select, they set to 0 by default and also provide option. https://github.com/JedWatson/react-select/blob/82910d9225f7aff73ac5052da9dc1e7f52f13de7/lib/Select.js#L1046

Hi @idiotWu I am not sure actually. I am quite new to accessibility.
I saw for react-select, they set to 0 by default and provide an option. So maybe you are right! https://github.com/JedWatson/react-select/blob/82910d9225f7aff73ac5052da9dc1e7f52f13de7/lib/Select.js#L1046

I'm not sure too. But now I think tabindex="-1" maybe a good idea, because:

we need to set tabindex to make scrollbar focusable (for keyboard events)
but a scrollable area is not supposed to be focusable, since it's not an input element

So set tabindex to -1 will make it focusable with mouse clicking, but will remove it from natural tab order so it will never be focused by pressing tab key.
What do you think?

I feel providing a number (0, or -1 all make sense) by default, and then provide user an option is best solution.
I checked Google search results page's tabIndex. When the focus is on the results component, you can press Up and Down keys to go up and down. So this is similar to the situation when the focus is on smooth-scrollbar. You can also press Up and Down keys to control.

-1 makes the scrollbar container unfocusable, but the elements inside it are still focusable! IMO it's the most native-like behavior so far.
You can try it on the demo page (change tabindex to "-1" in devtool).

So this is similar to the situation when the focus is on smooth-scrollbar. You can also press Up and Down keys to control.

This is a little hard to implement. The logic may be:

document.activeElement == container or inside container -> scroll
document.activeElement is an input or textarea or element that is content-editable -> do not scroll

Got it, then I think maybe go with -1 is best solution now!

@Hongbo-Miao I've made some updates on the accessibility branch, would you mind giving it some tests? 😁

Yeah, sure, I will test this weekend!

Sure, I will test this weekend!

@idiotWu @Hongbo-Miao Hello, I was auditing my site with Lighthouse and this came up:

#160 seems to fix this. Is there anything else to do to get it merged into master?

@alejost848 it looks good to me, but I think we may need some more tests. Can you guys help me test the PR #160 ?

@idiotWu  Can you merge it into the master branch ? It's really important for google lighthouse audit.

@alejost848 @antoninlanglade fixed in v8.4.0.


Add information about package caching

Per https://github.com/rust-lang/cargo/issues/1609 "clarify how the cache works"
Added in a single line that states that the cached packages are only
removed by running the clean command.
Please let me know if this is the wrong spot, incorrect information or just silly.
Thanks
becker

r? @huonw
(rust_highfive has picked a reviewer for you, use r? to override)

Oh in the case of ~/.cargo, the clean command doesn't actually remove anything (only in the target directory), so perhaps it could clarify that Cargo never cleans out this cache?

Updated the text.
Is there a way to build via cargo with just the local cache crates or does the cache just prevent a duplicate download per project?
If I have no internet connect and remove a crate from my dependency list I can run cargo build fine.
If I add the same removed dependency <cached, same version and all> back to the list I can no longer build because it tries to update the registry.

@bors: r+ 76958696db6caf053d23240157dda79e67333fad
Thanks!
Yeah right now there's no way to say "use local cache, and only if that fails update the registry". That's covered by https://github.com/rust-lang/cargo/issues/1882

:hourglass: Testing commit 7695869 with merge a2ca0ab...

:sunny: Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64

Sorry it looks like I wrote the commit message incorrectly for bors to closed the related issue.  Please close https://github.com/rust-lang/cargo/issues/1609


22

closes #22

Codecov Report
Patch coverage: 100.00% and project coverage change: +17.26 :tada:

Comparison is base (b544baf) 58.24% compared to head (d248e28) 75.51%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@              Coverage Diff              @@
##             master      #23       +/-   ##
=============================================
+ Coverage     58.24%   75.51%   +17.26%
- Complexity       23       34       +11
=============================================
  Files             9        9
  Lines            91       98        +7
  Branches          4        3        -1
=============================================
+ Hits             53       74       +21
+ Misses           35       23       -12
+ Partials          3        1        -2

Impacted Files
Coverage Δ

src/main/java/ru/l3r8y/parser/ClassMethods.java
88.46% <100.00%> (+9.51%)
:arrow_up:

... and 4 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@rultor merge

@rultor merge

@l3r8yj OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@l3r8yj Done! FYI, the full log is here (took me 2min)


cargo build --release!

cargo build --release running for Mudskipper installation get me the error, Your help to fix it is so appreciated!
error[E0308]: mismatched types
--> src/annotation.rs:198:25
|
198 |                 strand: exon_strand,
|                         ^^^^^^^^^^^ expected enum Strand, found enum bio_types::strand::Strand
|
= note: perhaps two different versions of crate bio_types are being used?
For more information about this error, try rustc --explain E0308.
error: could not compile mudskipper due to previous error

Hi @Samaneh14,
Can you please say how you obtained Mudskipper and what version of rust you are using?  I just verified that a clean checkout from the main branch builds with several different recent versions of rust (e.g. 1.61.0).  This looks like it's an out-of-date dependency.  So definitely make sure your local dependencies are cleared out first with a cargo clean.
--Rob

Hi Rob,
Thanks for your comment. I tried to install mudskipper through
git clone https://github.com/OceanGenomics/mudskipper
cd mudskipper
git show
cargo build --release
the rust version which I installed is rustc 1.63.0 (4b91a6ea7 2022-08-08) by
curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh
Also I loaded cmake CMake/3.16.1 in the cluster where I am trying to run mudskipper.
I tried cargo clean and then cargo build --release to complete mudskipper installation, but it still doesn't work with that error. Should I install a special version of cmake?
Thanks in advance!
Best regards,
Samaneh

Hi Samaneh,
Thanks!  Ok, so I can confirm that I'm able to reproduce this now.  Previously the cargo.lock file was preventing this from showing up.  This makes sense since it's related to a dependency.  Let me see if I can track down the problem.
--Rob

Hi @Samaneh14,
Ok, so I tried updating the version of bio-types in the dependencies and clearing out everything, and that seemed to help locally.  Can you please try the following:
cargo clean
rm cargo.lock
rm -fr target
git pull
cargo build --release

and let me know if that fixes the issue for you?
Thanks,
Rob

Hi Rob,
Thank you so much for your time and the solution. It is fixed now and works well.
Best regards
Samaneh


public-apis.io is diffrent project

Hey @sw-yx
First of all thanks for share https://public-apis.io here.
This project is different. So, pushing to a new line.

I think this would be okay without the  (A Directory of Free Public & Open Rest APIs) after the URL, because nothing else really has that. It's up to @sw-yx. This list is mostly just links. Just some thoughts.

haha no worries :) thank you both for the corrections!


Constrain the nodes that pods run on by applying topology constraints

https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/

Is there any way to overcome this?

/**
 * Set preferred scheduling across zones.
 * @param deployment
 */
function addDeploymentTopologySpread(deployment: kplus.Deployment) {
    const kubeDeployment = kube.ApiObject.of(deployment);
    kubeDeployment.addJsonPatch(
        kube.JsonPatch.add('/spec/template/spec/topologySpreadConstraints', [
            {
                maxSkew: 1,
                topologyKey: 'topology.kubernetes.io/zone',
                whenUnsatisfiable: 'ScheduleAnyway',
                labelSelector: {
                    matchLabels: deployment.matchLabels,
                },
            },
        ])
    );
}


Can't Install arch using it on vbox

I need help I cant install arch using this script on vbox.
as shown in this video
https://drive.google.com/file/d/1AfPKQwGtV3jOt6elgWQaxG-3nggX1n0s/view?usp=drivesdk

Edit your link so people could see it without asking for permission.

Edit your link so people could see it without asking for permission.

Sorry i forgot to do that i have updated it

So basically you have to select the number of partition e.g. 1 (not /dev/sdb). I'll make PR to script so it will be more obvious. And also one more thing for you. This script is intended for UEFI installation so you have to change the virtualbox settings. Open the VM settings, select System, and on the Motherboard tab, select Enable EFI (special OSes only). Or edit that line if you want BIOS installation https://github.com/classy-giraffe/easy-arch/blob/1e11929db1764281e8b418a52fe2691bba446cfb/easy-arch.sh#L361 but I haven't used GRUB for a long time so I could forgot other steps necessary for legacy (BIOS) install.

So basically you have to select the number of partition e.g. 1 (not /dev/sdb). I'll make PR to script so it will be more obvious. And also one more thing for you. This script is intended for UEFI installation so you have to change the virtualbox settings. Open the VM settings, select System, and on the Motherboard tab, select Enable EFI (special OSes only). Or edit that line if you want BIOS installation
https://github.com/classy-giraffe/easy-arch/blob/1e11929db1764281e8b418a52fe2691bba446cfb/easy-arch.sh#L361
but I haven't used GRUB for a long time so I could forgot other steps necessary for legacy (BIOS) install.

didnt worked

What exactly didn't work?

What exactly didn't work?

After installation system didn't boot no bootable divice found


[BUG] Kafka consumer not working - Failed to get offset

Describe the bug
Following #765 , went on to upgrade pulsar & kop from 2.7.0 to 2.8.1, according to the official upgrade guide.
Had a few strange observations after the upgrade.

KafkaRequestHandler failed to get offset
In pulsar broker.log:

11:17:51.144 [pulsar-web-40-4] INFO  org.eclipse.jetty.server.RequestLog - <IP_ADDRESS> - - [06/Oct/2021:11:17:51 +0000] "GET /admin/v2/persistent/public/kafka/test/partitions HTTP/1.1" 200 16 "-" "Pulsar-Java-v2.8.1" 1
11:17:51.245 [BookKeeperClientWorker-OrderedExecutor-0-0] ERROR io.streamnative.pulsar.handlers.kop.KafkaRequestHandler - [PersistentTopic{topic=persistent://public/kafka/test-partition-0}] Failed to get offset for position 7306:0
java.lang.NullPointerException: null

Not sure where did the position 7306 come from, could have been persisted from before the upgrade. If so, do I need to clear the __kafka/__consumer_offsets table after the upgrade so that kafka starts afresh?

Kafka client consumer console failed to get offset
Client version: 2.12-2.8.0
First, get the available offsets:
apache-kafka/bin/kafka-run-class.sh kafka.tools.GetOffsetShell --broker-list <IP_ADDRESS>:9092 --topic test
got
test:0:1088
Then, consume at that offset:
apache-kafka/bin/kafka-console-consumer.sh --topic test --offset 1088 --partition 0 --bootstrap-server <IP_ADDRESS>:9092
got error

[2021-10-06 17:27:58,594] WARN [Consumer clientId=consumer-console-consumer-44214-1, groupId=console-consumer-44214] Unknown server error while fetching offset 1088 for topic-partition test-0 (org.apache.kafka.clients.consumer.internals.Fetcher)

Since KoP server lives in pulsar broker, I tried to search in broker.log but did not find anything related.

__kafka namespace topics content abnormal?
Using pulsar sql,
.
select * from pulsar."public/kafka"."test";
returns correct data exist in the table.
.
select * from pulsar."public/__kafka"."__consumer_offsets";
returns some rows whose __value__ is NULL. Before pulsar upgrade, it used to be proper byte strings.

.
select * from pulsar."public/__kafka"."__transaction_state";
returns 0 rows. Is this table supposed to be empty?
.
Genuinely have no idea what happened during the upgrade.

Any help please?

Regarding to the first and second issues, from 2.8.0, KoP relies on the BrokerEntryMetadata feature, which adds an extra metadata part before each message. But for old messages, this part is lost. So after upgrading Pulsar/KoP to 2.8.0 or higher version, the old messages are not accessible.

If so, do I need to clear the __kafka/__consumer_offsets table after the upgrade so that kafka starts afresh?

Maybe it works. But even it works after clearing the offset topic, when KoP handles the FETCH request, the NPE will still happen.
Regarding to the third issue, could you try consuming the __consumer_offsets topic with a Pulsar consumer directly?

Thanks @BewareMyPower

Maybe it works. But even it works after clearing the offset topic, when KoP handles the FETCH request, the NPE will still happen.
What is your suggestion on KoP upgrade step on a production server? I could forgo the old messages prior to the upgrade, if necessary, but would like to prevent NPE or FETCH error for new data after the upgrade. Thanks.

Greetings @BewareMyPower
Got it. I can confirmed that after removing topics in kafka and __kafka namespaces, newer 2.8.1 KoP and Kafka client work perfectly. Cheers! Closing this issue.


Add Flooded Soil and Leaky Cauldron

As per Divine's specs

Mumble mumble I'm a mediocre gitwrangler


Add/remove item Operations

Add operations to add/remove items from the player's inventory (once).  These should include a unique identifier so that the operation can be tracked.
Example:
{
   __comment: "You can also add items to a player's inventory",
   __result: "Adds a diamond sword",
   type: "addItemToPlayerInventory",
   id: "starterItems",
   what: ["minecraft:diamond_sword"]
},
{
   __comment: "And remove them",
   __result: "Removes all dirt",
   type: "removeItemFromPlayerInventory",
   id: "starterItems",
   what: ["minecraft:dirt:0:0"] // A qty of zero or less will remove all of the item
}

This would be an operation that couldn't be 'undone' (similar to oredict entries), as that would require extensive additional tracking (and the player could simply drop the item between the command being applied, and the command being removed).

Just doing an operation for adding starter items.


Error When Enabling (Ran App as Administrator)

I ran VS Code as an administrator and attempted to enable the Fluent UI. I have installed and reinstalled both VS Code and VS Code Insiders.

If VSCode version is 1.70 it won't work #29

Hi, version 2.1.0 is out now with a fix for this issue.


vue-template-compiler 2.1.8 not compiling correctly

Vue.js version
2.1.4
specifically vue-template-compiler 2.1.8
Reproduction Link

Steps to reproduce
im using VueJS with framework7 and it works fine with vue-template-compiler 2.1.4. As soon as I moved my project and the compiler updated to 2.1.8, I get errors in my compiled webpack script.
What is Expected?
No errors
What is actually happening?
Property or method "_v" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option.
Is there something I need to do to my script for my .vue files to work again?

Ive realized all my VueJs version was wrong and I didnt have the latest framework7-vue script..Once I updated, everything worked fine.


Update lowrisc_ip to lowRISC/opentitan@ad629e3e6

(This pulls in a fix for the annoying "unknown item: Formal" messages: see https://github.com/lowRISC/ibex/issues/1445)
Update code from upstream repository
https://github.com/lowRISC/opentitan to revision
ad629e3e6e70c5eaa3c2dd68457b0a020448b35f

[dvsim] Introduce {self_dir} as variable (Philipp Wagner)
[dvsim] Small cleanups (Philipp Wagner)
[prim_lfsr] Minor lint fix (Michael Schaffner)
[dv] Update sec_cm testplan (Weicai Yang)
[prim/lint] Move waiver to correct waiver file (Michael Schaffner)
[prim_assert] Relocate waivers to dedicated prim_assert.waiver file
(Michael Schaffner)
[alert_handler] Lint fixes and waiver updates (Michael Schaffner)
[prim_lc_receiver] Add parameter to select reset value (Michael
Schaffner)
[lint] Add lint waiver for IP regfiles with shadow resets (Michael
Schaffner)
[fpv] Fix Verible lint errors (Philipp Wagner)
[prim_lfsr] Minor lint fixes (Timothy Chen)
[clkmgr] Fix measurement control CDC (Timothy Chen)
[fpv/prim_counter] Pad one bit to include overflow case (Cindy Chen)
[fpv] Fix issue lowRISC#8371 (Zeeshan Rafique)
[flash_ctrl] Flash ctrl security hardening (Timothy Chen)
[dv] Fix CI error (Cindy Chen)
[prim_alert_*] Extend SVAs for FPV (Michael Schaffner)
[prim_alert_*] Update DV TB to respect initialization timing
(Michael Schaffner)
[prim_alert_rxtx_fpv] Update FPV environment and fix SVAs (Michael
Schaffner)
[prim_alert_sender] Update sender to support in-band reset mechanism
(Michael Schaffner)
[prim_alert_sender] Simplify sender and clear ping req upon sigint
(Michael Schaffner)
[prim_lc_sender] Add option to select reset value (Michael
Schaffner)
[prim] Correct assertion valid term (Timothy Chen)
[prim_lc_combine] Align behavior of lc combine with mubi functions
(Michael Schaffner)
[fpv/tool] Support GUI mode on dvsim (Cindy Chen)
[prim_lfsr] Further permutation refinements for SBox layer (Michael
Schaffner)
[dv/shadow_reg] Shadow register write by field (Cindy Chen)
[prim] Fix the edge type (Eunchan Kim)
[checklist] Updates to checklist for D2 status (Tom Roberts)
[prim_mubi_pkg] Add a generic multibit type and associated functions
(Michael Schaffner)
[prim] Minor fix and clarification to prim_count (Timothy Chen)
[keymgr/dv] Update testplan and covergroup plan (Weicai Yang)
[prim_lc_combine] Fix parameterization error (Michael Schaffner)
[fpv/prim_count] Small update on prim_count assertions (Cindy Chen)
[dv] Add ip_name in reg_block (Weicai Yang)
[keymgr] Finalize keymgr hardening (Timothy Chen)
[prim_lc_combine] Add a prim to compute logical AND/OR for LC
signals (Michael Schaffner)
[dv] Remove common_cov_excl.el from unr.cfg (Weicai Yang)
[dv/top_level] Loop through the SW test multiple times (Cindy Chen)
[flash_ctrl] Various clean-up and updates (Timothy Chen)
[prim] Change prim_reg_cdc assertions (Timothy Chen)
[prim, keymgr] Migrate keymgr_cnt to prim_count (Timothy Chen)
[sw dv] Multi-site support for Verilator (Martin Lueker-Boden)
[dv/csr] Update write exclusion wdata value (Cindy Chen)
[dv/dv_base_reg] remove debug display (Cindy Chen)
[dv/shadow_reg] Fix alert shadow_reg regression error (Cindy Chen)
[top] Integrate ast into fpga (Timothy Chen)
[prim_lfsr] Improve statistics of non-linear output (Michael
Schaffner)
[prim_esc_receiver] Fix response toggling corner case (Michael
Schaffner)
option to use partner ast_pkg (Sharon Topaz)
[dv/prim_esc] Double the ping timeout cycles (Cindy Chen)
[dv] Use sed to add -elfile for each excl file (Weicai Yang)
[dv] Fix coverage report error (Weicai Yang)
[dv] Update common exclusion file (Weicai Yang)
[dv/prim_esc] Improve FSM coverage (Cindy Chen)
[reggen] Add a check to limit the swaccess type for shadow regs
(Michael Schaffner)
[prim_subreg_shadow] Fix for W1S/W0C corner case (Michael Schaffner)
[prim_subreg_shadow] Disallow phase updates when storage err is
present (Michael Schaffner)
[dvsim] Add passing count by milestone in reports (Srikrishna Iyer)
[dv/tool] Include toggle coverage for prim_alert_sender in
cover_reg_top (Cindy Chen)
[clkmgr] Harden clock manager through frequency measurements
(Timothy Chen)
[dv] Only enable VCS -kdb when dumping waves (Weicai Yang)
[dv] Fix shadow reg (Weicai Yang)
[dvsim] Allow non-integral values of --reseed-multiplier (Rupert
Swarbrick)
[ast] Fixes for various ast issues (Timothy Chen)
[prim_esc_receiver] Assert escalation in case of sigint error
(Michael Schaffner)
[prim_esc_receiver] Minor signal renaming for consistency (Michael
Schaffner)
[dv/alert_handler] Support shadow register sequence (Cindy Chen)
[verilator] Use FileSz rather than MemSz when flattening ELF files
(Michael Munday)
[prim_subreg_shadow] Only assert QE when committed_reg is written
(Michael Schaffner)
[dv,verilator] Round up SV_MEM_WIDTH_BYTES to a multiple of 4
(Rupert Swarbrick)
[prim] Add missing include (Pirmin Vogel)
[dv/cover_cfg] Exclude prim_alert/esc from xcelium (Cindy Chen)
[dv/cover_cfg] Exclude prim_alert/esc pairs (Cindy Chen)
[clkmgr] Use local BUFHCE clock gates on FPGA (Pirmin Vogel)
[prim_prince] Mark "leaf" functions in prince_ref.h as static inline
(Rupert Swarbrick)
[dv/shadow_reg] Check status after shadow_reg write (Cindy Chen)
[dv/shadwo_reg] Shadow reg common sequence update (Cindy Chen)
[otp_ctrl/lc_ctrl] Add 32bit OTP vendor test ctrl/status regs to LC
TAP (Michael Schaffner)
[otp_ctrl] Add VENDOR_TEST partition (Michael Schaffner)
[prim] Edge Detector (Eunchan Kim)
[prim_diff_decode] Fix asynchronous assertions (Michael Schaffner)
[spi_device] Instantiate Upload module (Eunchan Kim)
[dv] Add sv_flist_gen_flags HJson var for FuseSoc (Srikrishna Iyer)
[dv, xcelium] Properly pass excl files to IMC (Srikrishna Iyer)
[reg] Fix shadow reg update during storage error (Timothy Chen)
[regfile] Refactor cdc handling to the reg level (Timothy Chen)
[dv/prim_esc] Add a testplan and increase coverage (Cindy Chen)
[dv] Update TLUL and EDN frequency (Weicai Yang)
[rstmgr, top] Add support for shadow resets (Timothy Chen)
[dv] Update Xcelium cover ccf (Srikrishna Iyer)
[dv] reduce seeds for CSR tests (Weicai Yang)
[usb/top] Remove AND gates on non-AON domain and rename 3.3V signal
(Michael Schaffner)
[dv/prim_alert] Improvement on prim_alert tb (Cindy Chen)
[prim] FIFO SRAM Adapter fix (Eunchan Kim)
[prim] Add Write Mask port (Eunchan Kim)
[dv] Fix timescale issue with Xcelium (Weicai Yang)
[dv/prim_esc] Fix prim_esc regression error (Cindy Chen)
[dv/dv_base_reg] change from uvm_low to uvm_high (Cindy Chen)
[sram_ctrl] Harden initialization counter (Michael Schaffner)
[tools/uvmdvgen] Fix path in testplan inclusion (Guillermo Maturana)
[dv] Change stress_all_with_rand_reset to V3 (Weicai Yang)
[dv] fix tl error coverage (Weicai Yang)
[dv] Add macro DV_GET_ENUM_PLUSARG (Weicai Yang)
[prim] SRAM Async FIFO (Eunchan Kim)
[dv, xcelium] Fix statement coverage extraction (Srikrishna Iyer)
[dvsim] Minor fixes to coverage extraction (Srikrishna Iyer)
[prim_lfsr] Do not shadow |state| variable (Philipp Wagner)
[prim] Add non-linear out option to prim_lfsr (Timothy Chen)
[dv] Constrain TLUL to 24Mhz or higher (Weicai Yang)
[primgen] Instantiate tech libs in stable order (Philipp Wagner)
[primgen] Actually find the Verible Python wrapper (Philipp Wagner)
[dv/prim_esc] fix regression error (Cindy Chen)
[dv] Fix shadow reg predict (Weicai Yang)
[dv/common] Exclude assertion coverage from IP level testbench
(Cindy Chen)
[dv/prince] hit additional toggle coverpoints (Udi Jonnalagadda)
[sram_ctrl] Update docs (Michael Schaffner)
[sram_ctrl] Absorb prim_ram_1p_scr (Michael Schaffner)
[dv/prim_alert/esc] Improvements for prim_alert/esc_tb (Cindy Chen)
[dv/dvsim] Add "testfile" grading option (Guillermo Maturana)
[dv/prim_esc] Direct test for prim_rx/tx (Cindy Chen)
[dv/utils] added 6MHz to clk_freq_mhz_e (Dror Kabely)
[prim_xor2/lint] Add waiver for .* use in generated prim (Michael
Schaffner)
[dv, doc] Replace all 'dv.plan' with testplan (Srikrishna Iyer)
Fix the testplan link in dvsim code (Srikrishna Iyer)
[dv/dsim] Add dsim workaround for issue 242 (Guillermo Maturana)
[util, reggen] Support standardized cdc handling for regfile
(Timothy Chen)
[dv/shadow_reg] Align shadow_reg field update behavior (Cindy Chen)
[dvsim] Fix publish report summary typo (Cindy Chen)
[rtl/prim_alert_sender] Allow ping_req to stay high without error
(Cindy Chen)
[dvsim] Separate publish report from dvsim flow [PART3] (Cindy Chen)
[dv/prim_alert] Add a testbench for prim_alert (Cindy Chen)
[otp_ctrl] Connect test-related GPIO signal (Michael Schaffner)
[prim_subreg_shadow] Make local parameter a localparam (Philipp
Wagner)
[prim_subreg] Make software access type an enum (Philipp Wagner)
[rtl/prim_diff_decode] Add prim_flop_2sync dependency (Cindy Chen)
[otp_ctrl] Update AscentLint waiver file (Michael Schaffner)
[edn] Add MaxLatency assertion (Eunchan Kim)
[prim_subreg_shadow] Correct write data signal usage (Michael
Schaffner)
[script/dvsim] Separate publish report from dvsim flow [PART2]
(Cindy Chen)
[prim_lfsr] Fix assertion issue occuring right after reset (Michael
Schaffner)
[dv/shadow_reg] Handle CSR automated sequence write abort (Cindy
Chen)
[dv/dv_lib] Add post_apply_reset for extra delay (Guillermo
Maturana)
[dv] Add function coverage plan for tl_errors, tl_intg_err (Weicai
Yang)
[dv] Remove tl_intg_err in top-level and increase seeds for
tl_intg_err (Weicai Yang)
[dv/shadow_reg] Fix alert shadow reg regression error (Cindy Chen)

Signed-off-by: Rupert Swarbrick<EMAIL_ADDRESS>

I know this is kind of ancient, but maybe we should merge it (since it works and unblocks something for @ctopal). There were a couple of fixes needed to get things working, so it's probably nicer to merge this and then do a followup update (rather than jump immediately to "now").
@GregAC: Sound reasonable to you?


which cpu to configure for a Revolution PI?

Hi,
I'm failing to figure out how to configure arm-runner-action to compile for a Revolution Pi.
The output of lscpu tells me I have a Cortex-72 on an armv7l platform:
Architecture:        armv7l
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
Vendor ID:           ARM
Model:               3
Model name:          Cortex-A72
Stepping:            r0p3
CPU max MHz:         1500.0000
CPU min MHz:         600.0000
BogoMIPS:            270.00
Flags:               half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32

And I'm currently using Raspbian buster:  uname -a  :
Linux RevPi 5.10.120-rt70-v7l #1 SMP PREEMPT_RT Thu, 28 Jul 2022 10:36:48 +0200 armv7l GNU/Linux

I've therefore tried to use raspbian_lite:2020-02-13 with cortex-a72:
      - name: building
        uses: pguyot/arm-runner-action@v2
        with:
          bind_mount_repository: true
          base_image: 'raspbian_lite:2020-02-13'
          cpu: cortex-a72
          commands: |
            apt update
            ...

But the process fails to resolve the CPU:
qemu-arm-static0: unable to find CPU model 'cortex-a72'

Would you have any suggestion what configuration might work?
Thanks!

What are you trying to achieve?
cortex-a72 is a 64 bits CPU and raspbian_lite:2020-02-13 is a 32 bits image, and quite old.
If you want to compile code for 64 bits, you should use a 64 bits image, for example raspios_lite_arm64:latest.
If default CPU doesn't work for you, I would suggest something like cortex-a7:cortex-a72.

Hi,
Thanks for the feed-back!

What are you trying to achieve?

I'm trying to build some python wheel packages that come with some C extension for python 3.9 and Raspbian Buster. Buster is indeed an old version of Debian/Raspbian, although we're stuck with it atm for various reasons.

cortex-a72 is a 64 bits CPU

This information surprises me. At least from my current OS perspective it seems to be detected as a 32bits
sudo lshw
revpi84638
    description: ARMv7 Processor rev 3 (v7l)
    product: Raspberry Pi Compute Module 4S Rev 1.0
    serial: 1234
    width: 32 bits
    capabilities: smp

If default CPU doesn't work for you, I would suggest something like cortex-a7:cortex-a72.

I finally got it working with base_image: raspios_lite:2021-05-07 (the most recent still based on buster, and thus the GLIB_C 2.28 that I have at runtime) and cpu: cortex-a7:cortex-a72 , the CPU you recommended me
Thanks again for the help, your comment put me in the right direction.

This information surprises me. At least from my current OS perspective it seems to be detected as a 32bits

Sorry, my explanation was unclear.
Your board can run 64bits and 32bits code. You are running a 32bits OS which reports the CPU is 32bits, even if it reports your CPU is a cortex-a72, which is a 64bits core.
The cpu option is passed to qemu-arm (32bits) and qemu-aarch64 (64bits). Using binfmt, the action invokes qemu-arm on 32bits ARM elf binaries and qemu-aarch64 on 64bits ARM elf binaries.
qemu-arm doesn't recognize cortex-a72 and doesn't translate it to the 32bits subset your board can run, hence the failure.
The option you adopted:
cpu: cortex-a7:cortex-a72

is safe because it configures qemu-arm with cortex-a7 and qemu-aarch64 with cortex-a72.
I believe cortex-a7 is close enough to the 32bits subset your board runs, so any binary created by compilers using the action will run well on your board.


✨(backend) add client to signature provider

Purpose
In order to sign contracts, we need to implement the client side for a signature provider.
For now, we will use the signature provider called: Lex Persona (https://www.lex-persona.com/)
Proposal
We will create an abstract class in order that other users can decide to choose another signature provider than Lex Persona according to their local regulations around electronical signature and database location.
We will also implement a concrete client class that prepares every API calls that is required to handle the process with this service provider.

[x] create abstract class (in base.py)
[x] create dummy class for testing (in dummy.py)
[x] create client class to interact with Signature Provider (lex_persona.py)
[x] add endpoint for handling incoming webhook events (webhook-signature)
[x] add custom exceptions to handle errors from the Signature Provider.
[x] add routes to preview the contract definition (attached to the product's order), and a route to "submit for signature" an order ( in OrderViewSet ).
[x] add test suite on Lex Persona with mocked responses.
[x] add test suite on Order for the new method 'submit_for_signature'.
[x] add test suite on Contract for new methods : 'tag for submission' and 'reset_tag_submission'.
[x] add test on configuration signature backends : DummySignatureBackend, BaseSignatureBackend, LexPersonaClient.
[x] add documentation on using the signature provider with joanie in docs/explanation.

On this PR, we've added new routes :

submit for signature an order :
/api/v1.0/orders/<pk>/submit_for_signature/	joanie.core.api.client.OrderViewSet	orders-submit-for-signature

preview template of a contract definition :
/api/v1.0/contract_definitions/<pk>/preview_template/	joanie.core.api.client.ContractDefinitionViewset	contract_definitions-preview-template

download a fully signed contract :
/api/v1.0/contracts/<pk>/download/	joanie.core.api.client.ContractViewSet	contracts-download

incoming webhooks :
/api/v1.0/signature/notifications/	joanie.signature.api.webhook_signature	webhook_signature

:tada: Congrats. Tough one! :beers:


Fixed multi-threading issue with sqlite

There is serious problem with this module when you try to use it with code working in multi-threaded model. By using semaphore I tricked sqlite engine so it thinks that one thread a time accesses db hook.
Also tested with multiprocessing - works.

Ah, okay. Apparently I misunderstood the sqlite3 documentation -- I thought it was okay to use it in multiple threads if I was just reading.
The change looks good, I'll just want to clean up the documentation a bit.

Okay, I'm looking at this again. If you're still available to answer this, darkman66: what is the problem that's being solved by threading.Condition()? I want to understand what's going on and know what the extra thread-related code is doing.
The impression I had before was that it was safe to read a database from multiple threads, as long as nothing was writing. And that's going to be the case for langcodes, because the langcodes database doesn't change.
There's a lot of stuff that wraps the code that writes to the database. This is something that happens once, in a build process, and I can't imagine why it would need to be threaded. Is this where the threading problem occurred?

Here is simple example. Try to run twisted app in multithreaded system where you're playing with sqlite by using the same connection hook. By nature of sqlite YOU CAN NOT access it from many threads in the same time (reading same as writing). My binary semaphore is just locking access o db cursor on python level so many threads coming from the same process do not compete with each other the exclusive access to DB connection hook.
https://www.sqlite.org/threadsafe.html
"Multi-thread. In this mode, SQLite can be safely used by multiple threads provided that no single database connection is used simultaneously in two or more threads." :+1:

Hmm, I see. I recognize there's a problem here. http://stackoverflow.com/questions/13912489/read-only-access-only-for-sqlite3-from-multiple-threads explains the issue.
I still have some questions, though, because I'd like to know what the code is doing.
Are the calls to Condition.notify_all actually necessary if nothing ever calls Condition.wait? What is being notified?
Also, if this is supposed to work in Twisted, how are you planning to disable the same-thread check in Python 2?

Actually notifyAll is not that much needed here, true.
As for "how it works" please read semaphores

I've neglected this PR for a while, but the upshot is that I don't believe it works.
My understanding is that semaphores are not the same as locks. You've used semaphores here, but those are not described as "stopping many threads from accessing sensitive code blocks" in the documentation at https://docs.python.org/3/library/threading.html. That would be a job for locks.
Semaphores are about sending notifications between threads, to coordinate timing, but nothing is ever listening to the notifications here.
This also does not seem to fix the "same-thread check" that is required on Python 2 and default on Python 3, which stops you from accessing a SQLite DB from multiple threads at all.
I think I would rather have langcodes simply not be thread-safe than to claim to be thread safe based on code that doesn't seem to actually implement thread safety.

As a follow-up, the underlying problem has been fixed in Python 3.5: https://docs.python.org/3.5/library/sqlite3.html

By default, check_same_thread is True and only the creating thread may use the connection. If set False, the returned connection may be shared across multiple threads. When using multiple threads with the same connection writing operations should be serialized by the user to avoid data corruption.

Now only write operations need to be serialized.


Release news for 2022-12-08 OSG 3.6 release

Ignoring broken links out of 3.5 release documentation.


Scroll the page smoothly

For https://github.com/medology/stdcheck.com/issues/8839
For the scrollWindowToBody method:

Add parameter to use smooth scrolling when the browser supports it.
Refactor the default value for $x, $y variables.
Rename and document parameters.

Approved! Pending tests passing.


Bug when using flag orthogonal_reg_active_codes_only

Hello, thank you for the great work of VQ-VAE.
While reading your implementation when turning on the flag orthogonal_reg_active_codes_only.  https://github.com/lucidrains/vector-quantize-pytorch/blob/b449efc35c0414d0338752d6a81b44142a8779af/vector_quantize_pytorch/vector_quantize_pytorch.py#L592-L603
I think it does not work properly. The codebook shape after the line codebook = self._codebook.embed is [num_codebook, codebook_size, codebook_dim]. Therefore this line codebook = codebook[unique_code_ids] should be codebook = codebook[:, unique_code_ids] and num_codes = codebook.shape[0] should be num_codes = codebook.shape[1]. Am I correct?
Overall this above code should be
                if self.orthogonal_reg_active_codes_only:
                    # only calculate orthogonal loss for the activated codes for this batch
                    unique_code_ids = torch.unique(embed_ind)
                    codebook = codebook[:, unique_code_ids]

                num_codes = codebook.shape[1]
                if exists(self.orthogonal_reg_max_codes) and num_codes > self.orthogonal_reg_max_codes:
                    rand_ids = torch.randperm(num_codes, device = device)[:self.orthogonal_reg_max_codes]
                    codebook = codebook[:, rand_ids]

And even with the above code, orthogonal_reg_active_codes_only only work properly when num_codebook = 1
Looking forward to hearing your opinion.

Thank you for fixing the issue. While experimenting with orthogonal reg loss, I do not see it affecting reconstructing loss much besides the effect that makes codebook vectors far from each other.


feat: print a path of function

Fixes #46
tasm:
...
call lower32_____s (stdlib/u32/lower32.tasm)
swap 2
pop 1
dup 2
dup 2
call xor_____s_s (stdlib/u32/xor.tasm)
push 7
call shlc_____s_s (stdlib/u32/shlc.tasm)
swap 3
pop 1
dup 3
push 0
...

r1cs:
cargo run --release -- r1cs_readme --target r1cs --include ./test-vectors --include stdlib --print '--scalar field to execute in' foi
   Compiling ashlang v0.1.0 (/Users/daehyun/workspace/ashlang/ashlang)
    Finished `release` profile [optimized] target(s) in 7.49s
     Running `target/release/ashlang r1cs_readme --target r1cs --include ./test-vectors --include stdlib --print '--scalar field to execute in' foi`
x1 = (1*one) * (99*one)                 # scalar literal (99) to signal index 0 (member of vector)
x2 = (1*one) * (43*one)                 # scalar literal (43) to signal index 0 (member of vector)
x3 = (1*x1) * (1*x2)                    # let v
x4 = (1*one) / (1*x2)                   # let v
x5 = (1*x1) * (1*x4)                    # let v
x6 = (1*x3 + 1*x5) * (1*one)            # let v
x7 = (1*x6 +<PHONE_NUMBER>9414584311*one) * (1*one) # let v
x8 =<PHONE_NUMBER>644336127*one) + (0*one) # assert_eq() (stdlib/assert_eq.ar1cs)
x9 = (1*x7) * (1*x7)                    # let v2
x10 = (1*x9) * (1*x9)                   # let v4
x11 = (1*x10) * (1*x7)                  # return call in pow5() (stdlib/pow5.ash)
x12 = (1*x7) * (1*x7)                   # return call in pow5() (stdlib/pow5.ash)
x13 = (1*x12) * (1*x7)                  # return call in pow5() (stdlib/pow5.ash)
x14 = (1*x13) * (1*x7)                  # return call in pow5() (stdlib/pow5.ash)
x15 = (1*x14) * (1*x7)                  # return call in pow5() (stdlib/pow5.ash)
x16 = (1*one) * (21941893*one)          # scalar literal<PHONE_NUMBER>0021941893) to signal index 0 (member of vector)
x17 = (2*one) radix (1*x16)             # b is the square root of a
x18 =<PHONE_NUMBER>82497048*one) + (0*one) # assert_eq() (stdlib/assert_eq.ar1cs)
x19 = (1*x17) * (1*x17)                 # assert_eq() (stdlib/assert_eq.ar1cs)
x20 = (0*one +<PHONE_NUMBER>9414584320*x17) * (1*one) # let high_root
x21 =<PHONE_NUMBER>9732087273*one) + (0*one) # assert_eq() (stdlib/assert_eq.ar1cs)
x22 = (1*x20) * (1*x20)                 # assert_eq() (stdlib/assert_eq.ar1cs)
x23 = (0*one +<PHONE_NUMBER>9414584320*x16) * (1*one) # assert_eq() (stdlib/assert_eq.ar1cs)
x24 = (1*x17) * (1*x20)                 # assert_eq() (stdlib/assert_eq.ar1cs)
0 =<PHONE_NUMBER>9414584320*one) *<PHONE_NUMBER>9414584320*one) - (1*one) # field safety constraint
0 = (1*x1) * (1*one) - (99*one)         # scalar literal (99) to signal index (0) (member of vector)
0 = (1*x2) * (1*one) - (43*one)         # scalar literal (43) to signal index (0) (member of vector)
0 = (1*x1) * (1*x2) - (1*x3)            # multiplication between 1 and 2 into 3
0 = (1*x2) * (1*x4) - (1*one)           # inversion of 2 into 4 (1/2)
0 = (1*x1) * (1*x4) - (1*x5)            # multiplication of 1 and 4 into 5 (2/2)
0 = (1*x3 + 1*x5) * (1*one) - (1*x6)    # addition between 3 and 5 into 6
0 = (10*one + 1*x7) * (1*one) - (1*x6)  # subtraction between 6 and (10) into 7
0 = (1*x8) * (1*one) -<PHONE_NUMBER>644336127*one) # assigning literal<PHONE_NUMBER>0644336127) to signal 8
0 = (1*x7 + 0*one) * (1*one) - (1*x8)   # assert equality
0 = (1*x7) * (1*x7) - (1*x9)            # multiplication between 7 and 7 into 9
0 = (1*x9) * (1*x9) - (1*x10)           # multiplication between 9 and 9 into 10
0 = (1*x10) * (1*x7) - (1*x11)          # multiplication between 10 and 7 into 11
0 = (1*x7) * (1*x7) - (1*x12)           # multiplication between 7 and 7 into 12
0 = (1*x12) * (1*x7) - (1*x13)          # multiplication between 12 and 7 into 13
0 = (1*x13) * (1*x7) - (1*x14)          # multiplication between 13 and 7 into 14
0 = (1*x14) * (1*x7) - (1*x15)          # multiplication between 14 and 7 into 15
0 = (1*x11 + 0*one) * (1*one) - (1*x15) # assert equality
0 = (1*x16) * (1*one) - (21941893*one)  # scalar literal<PHONE_NUMBER>0021941893) to signal index (0) (member of vector)
0 = (1*x17) * (1*x17) - (1*x16)         # assert that a = b*b
0 = (1*x18) * (1*one) -<PHONE_NUMBER>82497048*one) # assigning literal<PHONE_NUMBER>9682497048) to signal 18
0 = (1*x17 + 0*one) * (1*one) - (1*x18) # assert equality
0 = (1*x17) * (1*x17) - (1*x19)         # multiplication between 17 and 17 into 19
0 = (1*x16 + 0*one) * (1*one) - (1*x19) # assert equality
0 = (1*x17 + 1*x20) * (1*one) - (0*one) # subtraction between (0) and 17 into 20
0 = (1*x21) * (1*one) -<PHONE_NUMBER>9732087273*one) # assigning literal<PHONE_NUMBER>9732087273) to signal 21
0 = (1*x20 + 0*one) * (1*one) - (1*x21) # assert equality
0 = (1*x20) * (1*x20) - (1*x22)         # multiplication between 20 and 20 into 22
0 = (1*x16 + 0*one) * (1*one) - (1*x22) # assert equality
0 = (1*x16 + 1*x23) * (1*one) - (0*one) # subtraction between (0) and 16 into 23
0 = (1*x17) * (1*x20) - (1*x24)         # multiplication between 17 and 20 into 24
0 = (1*x23 + 0*one) * (1*one) - (1*x24) # assert equality

R1CS: built and validated witness ✅
No outputs were generated

Oh one other thing, try not to force push the branch too much. It's good to be able to review the change history in a pr. I'll force push a branch to correct an error, or if the linter is failing or something like that, but otherwise I try to leave the history as is. We'll squash the commits together during merge anyway.


Add "initial graph" parameter to dependency resolver, to support incremental resolution

Resolves #45. Resolves #46.
cc @mdiep

I think you also need the full set of constraints (i.e., I don't think you have that here?). carthage update A may also update B if B is a dependency of A, so the resolver needs to know what versions are valid for B.

There are a few different scenarios supported here, and I didn't do a good enough job explaining them, so let me try now.
In all of them, assume that the user of Arbiter (e.g., Carthage) already has an ArbiterResolvedDependencyGraph from a previous run. The details of serializing and deserializing the graph are left up to the user (e.g., Cartfile.resolved format). The "full set of constraints" you mention are obtainable from ArbiterResolvedDependencyGraphProjectRequirement(), though maybe that API should be made easier.
Adding a new project to a resolved graph
Roughly equivalent, I think, to carthage add Project followed by carthage update Project.
This is the most straightforward scenario: simply pass the existing ArbiterResolvedDependencyGraph to ArbiterCreateResolver(), then list only the new project(s) you want to add in the ArbiterDependencyList. The dependency list captures the project identifiers and requirements of each.
When resolution has completed, projects' versions in the provided graph should be unchanged (but their constraints may have been tightened), and the new project and its transitive dependencies will have been added.
Adding new requirements to a project in a resolved graph
No Carthage equivalent?
I'm not sure there's a concrete use case here—it just arose naturally from the design. Maybe this could be used as a way to union two resolved graphs?
Anyways, if you did want to do this, you'd pass the existing ArbiterResolvedDependencyGraph to ArbiterCreateResolver(), then list existing projects in the graph in the ArbiterDependencyList. The requirements in the dependency list will be intersected with whatever the graph has, or resolution will fail if that's impossible.
Upgrading one project in a resolved graph
Equivalent to carthage update Project.
This one is the hardest to infer just from the API, but I've tried to capture it in the header documentation.
Basically, the usage will look something like this:

Deserialize the existing ArbiterResolvedDependencyGraph.
Collect the ArbiterProjectIdentifiers that should not be upgraded. In the Carthage example, this would be the projects listed in the Cartfile which were not passed to carthage update.
Invoke ArbiterResolvedDependencyGraphCopyWithNewRoots() with the projects that should not be upgraded. This will create a new sub-graph that includes only those projects and their transitive dependencies (i.e., reachable nodes from those roots, like Git revwalking).
Pass the resulting sub-graph to ArbiterCreateResolver(), with the projects which should be upgraded as the ArbiterDependencyList. The dependency list contains the requirements for those projects when considering them for upgrades.

At the end of this process:

The projects explicitly specified by the end user will have been upgraded if possible.
The transitive dependencies of the projects explicitly specified will be upgraded iff they are not used elsewhere in the graph.
Other existing projects, and the transitive dependencies thereof, will be locked in place and not upgraded.

(some Travis lulz here—those build failures are spurious)

Ah, okay. That makes a lot of sense. 👍🏻
That explanation would be a great addition to the documentation.


ENH: Update CLI definition

Remove use .bat and .sh wrapper script, and instead define the CLI entry point as a python script.
This makes use of the new Slicer functionality described in Slicer#894 and implemented in r27143-r27145.
This fixes #43.
Additionally, check if a --label <label> argument is present, and if so, update it to the new-style: --setting=label:<label>. Parameter --label is deprecated by PR PyRadiomics#347.
New functionality has been verified to work on Windows.
@fedorov, can you test if this works on mac?
cc @Radiomics/developers
TODO:

[ ] Test if updates to SlicerRadiomicsAddCLI.cmake work.

I am testing on mac


 I told Monika to call me something other than my desktop name (which isn't even what it should have been in the first place - the desktop name, that is!) and she did...until I moved the MonikAI.master folder to a more appropriate place. Then of course I had to start over as if it was freshly installed but I forgot to tell her what to call me this time, so she's using the desktop name. I forgot how to open the menu though. Hyelp!

CTRL-SHIFT-F10 -> Settings
CTRL-SHIFT-F11 -> Hide/Show
CTRL-SHIFT-F12 -> Exit


/dev/accel/accelXXX not found

When trying to use the Neural engine of an Apple M2 Ultra, the provided examples fail because /dev/accel/accelXXX devices do not exist. I believe I have the correct kernel version, with support for the accelerators:
cat /boot/config-6.8.0-1008-apple-arm  | grep CONFIG_DRM_ACCEL
CONFIG_DRM_ACCEL=y
CONFIG_DRM_ACCEL_QAIC=m

This is the output
ane/test/matmul$ ./main.out
LIBANE: ERR: failed to find device with dev_id 0
LIBANE: ERR: failed to open device with dev_id 0
failed to init

Is there anything that needs to be done in order to create the /dev/accel/accelXXX files?
I noticed that in ane/Makefile, the existence of /dev/accel/accel0 is assumed.
sudo chmod 666 /dev/accel/accel0
The kernel module is also successfully loaded
ane/ane$ sudo ./run.sh status
Module                  Size  Used by
ane                    49152  0
module is installed

Might be ANE isn't registered in your Device Tree yet.


Cube.js definitions attributes are case sensitive

When generating Cube definitions, the supported attributes are case sensitive and will generate errors if they're all lowercase.

Resolved in #20


respect "\r"

i like showing progress like this:
for i in 1:100
    print("\r", i, "/100")
end

which currently starts a new line for ever call to print, in a terminal all calls to print will go into the same line.

It's not easy for us to provide console compatibility for ANSI codes etc, but we can provide better ways of doing things like progress meters. Have you tried the @progress macro?

This particular console feature is pretty unlikely to be implemented I think, so closing this as wontfix.
If you really want this, please open either an issue or a PR over at https://github.com/JunoLab/atom-ink.


Convert Support ticket drawer to a dialog and make inputs bigger

Description
Customers had mentioned that they don't always have enough room to fill out ticket text. Expanded everything to improve the situation.

I'm locked out of JIRA again but once I get back in I'll open a ticket for adding the resizable textarea. I looked into it and it'll take a bit of work to match the styles etc.

I'm locked out of JIRA again but once I get back in I'll open a ticket for adding the resizable textarea. I looked into it and it'll take a bit of work to match the styles etc.


[skeleton] Close aside when Esc is pressed

WHY are these changes introduced?
The aside doesn't follow ARIA APG about dismissing with Esc key

WHAT is this pull request doing?
Adds an event handler to dismiss the aside with the Esc key

HOW to test your changes?

Click the search link on the header navigation
Press Esc key to dismiss

Post-merge steps

Checklist

[x] I've read the Contributing Guidelines
[x] I've considered possible cross-platform impacts (Mac, Linux, Windows)
[ ] I've added a changeset if this PR contains user-facing or noteworthy changes
[ ] I've added tests to cover my changes
[ ] I've added or updated the documentation

Thanks again @frontsideair. We're in the middle of a release but can merge this shortly after!

CI failing on CSP tests which have been fixed. Confirmed tests pass with a rebase. Merging!


Essay Scoring Scripts

hello ~ Whether --checkpoint_path was omitted in the following script ?
python main.py --inference --arch <ARCH> --gpus <GPUS> --batch_size <BATCH_SIZE> --corpus <CORPUS> --sub_corpus <SUB_CORPUS> --model_name <MODEL_NAME> --freeze_emb_layer --online_mode <ONLINE_MODE> --task <TASK>
Could you release the script of running essay_scoring ~ Thanks very much ~

Thanks @Rexbalaeniceps
This is an experimental code and I didn't intend to release it with this repository. But you still can train and evaluate it on AES datasets. It uses coherence vectors associated with different essays and is obtained from different models fine-tuned on WSJ task. You can find the coherence vector here. Unzip the coherece_vectors.zip and execute the following command:
python main.py  --prompt_id <PROMPT_ID> --coherence_vector <VECTOR_FILE> --freeze_emb_layer --margin 0.1 --score_clip_norm 1.0 --score_weight_decay 0.1
where
<PROMPT_ID> can be from 1 to 8
<VECTOR_FILE> can be path to any of the file present in the extracted folder of coherence_vector


Doesn't work on macOS 12.3

Describe the bug
Running Blurred on macOS 12.3 does not blur other windows.
Steps to reproduce

upgrade to macOS 12.3
reinstall blurred via brew ( brew reinstall blurred)

Expected behaviour
Expected to blur other windows. Note that this was working in 12.2.1.
Environment

MacBook Air M1 (2020)

+1


ontology_prefix is sometimes missing from the select result

Describe the bug
ontology_prefix is sometimes missing from the select result. Sometimes is there and sometimes not.
To Reproduce
missing: /api/select?q=assa&rows=20&ontology=&type=class,property
not missing example: /api/select?q=assay&rows=20&ontology=&type=class,property

The reason is ncit config file doesn't include preferredPrefix


Conditional templates if cordova or client

Hi there , I'm trying to build a system with mobile client and web client,both have completely different look and feel and requirements,and different views , it will be nice to have a away to attach cordova views alone ,if Meteor.isCordova and not include the web , and the other way around
thank you

@AhmadEl-Banna Don't you want to solve this inside packages? There you can add specific files based on your architecture:
http://docs.meteor.com/#/full/pack_addFiles

@dohomi  I don't want to solve it with packages I just want the handler https://github.com/Urigo/angular-meteor/blob/master/plugin/handler.js
to add the views conditionally if it Cordova add it to $templateCache of ionic and if it browser add it to $templateCache of angular-meteor
or may be allow the developer to configure how  the handler locate the views and what module to add the views into it's templateCache , for cordova and for browser

I'm new to meteor so I just can download the repo and modify the handler to locate the ng.html and add it to  angular-meteor  and locate the ion.html and add it to ionic
and I add ionic as cordova only package
http://stackoverflow.com/questions/28172446/can-i-add-a-meteor-package-for-a-single-platform

Did you find a solution to this yet?
I'm not sure I understand your issue exactly but maybe you could attach the Meteor property isCordova to the $rootScope. If you put all of your html inside of directives you could conditionally include the appropriate directive.
An issue with this approach might be that you get all of the client code for each scenario when you don't need half of it.

We added a full tutorial step to show how to do it:
http://angular-meteor.com/tutorials/angular1/mobile-support-and-packages-isolation


Referencing .NET Standard Class Libraries (new project system) from a Classic .NET Class Library (old project system)

One of the value props of a .NET Standard Class Library is that it can be referenced from any other project with a compatible target framework. Seems like that isn't the case with the new project system. Something is blocking it.
ClassLibrary1 = .NET Framework 4.6 Class Library
ClassLibrary3 = .NET Standard Class Library

However, if you reference a .NET Standard Class Library using the older project system, it works fine:
ClassLibrary2 = .NET Portable Class Library converted to .NET Standard:

This is also tracked by dotnet/sdk#266.  In reality the bug is neither in the SDK or in the Roslyn Project system, but in some native code inside Visual Studio.  There's code there that tries to validate whether you can reference a project and generally they need to have the same target framework identifier.
The reason it works when you reference a "PCL-style" .NET Standard project is that the TargetFrameworkIdentifier in that case is still set to .NETPortable, and that's one of the exceptions in the code that checks whether you can reference something.  We need to add ".NETStandard" as an exception too.

Yea, but it needs to work when they are compatible regardless of old/new project system. We might have to either put more stuff in the project file or in the targets file to make this work (I assume). Or change the native code in VS.

Yes, it needs to be fixed, we are planning to change the native code in the old project system.

Dupe of https://github.com/dotnet/sdk/issues/266

@srivatsn why is the bug in the SDK? Isn't it a project system bug?

It's actually a native project system bug. So the fix is in internal devdiv repo and is going in today.


Enable javadoc and source builds in azure-pipelines.yml for Azure Pipelines

Codecov Report

Merging #10 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #10   +/-   ##
=========================================
  Coverage     59.57%   59.57%
  Complexity      298      298
=========================================
  Files            48       48
  Lines          1264     1264
  Branches         66       66
=========================================
  Hits            753      753
  Misses          461      461
  Partials         50       50

Continue to review full report at Codecov.

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


AoT error

The module causes an error during AoT compiling:
[23:13:55]  typescript error
            Error encountered resolving symbol values statically. Could not resolve @angular/cdk/portal relative to
            /Users/enrico/Development/app/node_modules/angular-walkthrough/angular-walkthrough.d.ts.,
            resolving symbol WalkthroughModule in
            /Users/enrico/Development/app/node_modules/angular-walkthrough/angular-walkthrough.d.ts,
            resolving symbol WalkthroughModule in
            /Users/enrico/Development/app/node_modules/angular-walkthrough/angular-walkthrough.d.ts

Error: The Angular AoT build failed. See the issues above
    at /Users/enrico/Development/app/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:237:55
    at step (/Users/enrico/Development/app/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:32:23)
    at Object.next (/Users/enrico/Development/app/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:13:53)
    at fulfilled (/Users/enrico/Development/app/node_modules/@ionic/app-scripts/dist/aot/aot-compiler.js:4:58)
    at <anonymous>

What is your version of Angular?

Angular 5 (Ionic 3.9.2)

Did you try this?
npm install --save @angular/cdk

I overlooked that :) It seems to work now. Thanks!

Cool.
Note : angular/cdk is on required points. ;)


CLI: TensorBoard no longer working in 0.10.+

From Ben in the W&B Forum:
I recently upgraded from a somewhat outdated 0.9.* wandb version and noticed that sync_tensorboard doesn't work for me anymore from version 0.10.0 on. I see that the release notes mention some Tensorboard-related fixes here and there, but the issue also exists in the newest 0.10.12 version, so those fixes were perhaps for different issues.
Both Tensorflow and Tensorboard are version 2.3.0 . Perhaps W&B misses the Summary events somehow? It used to work in 0.9.1 at least, even with TF 2. Perhaps I have to explicitly point it to the directory the tfevent file is written to now somehow (not sure if there's an option for that)?
We use TF2, but still have some legacy Estimator models. These log via tensorflow.python.summary.writer.writer, the integration with which was apparently removed in W&B 0.10.0  (the module was called TENSORBOARD_LEGACY_MODULE there).
I can get some plots to show up by setting wandb.integration.tensorboard.monkeypatch.ENSORBOARD_WRITER_MODULE="tensorflow.python.summary.writer.writer"  and setting tensorflowX=True to avoid the TF2-codepath that patches create_summary_file_writer instead.
Unfortunately not all plots show up yet and they also end up in different sections in W&B, perhaps because pre-0.10.0 W&B patched EventFileWriter.add_event and now the EventFileWriter is instead subclassed as TBXEventFileWriter with some custom callbacks.
As a workaround, copying the old add_event related code from the 0.9.7 release that still included it seems to be a workaround. I'd use it to patch tensorflow.python.summary.writer.writer manually, since otherwise it doesn't seem supported anymore in 0.10.0 or greater.

I'm also missing some metrics in WANDB that I see in my tensorboard. These metrics used to show up in wandb with an earlier version, I believe.
wandb==0.10.12
tensorflow==2.3.1
tensorboard==2.4.0

Thanks @iantheconway, could you please share a repro script and a link to the page where you're seeing metrics missing? We'd like to track this one down and get in a fix.

In the past year we've majorly reworked the CLI and UI for Weights & Biases. We're closing issues older than 6 months. Please comment to reopen.


Link to current LTS points to 10.x

As of 2018-10-30 the latest LTS for NodeJS is 10.x, but as stated 10.x is not supported for SharePoint Framework development, link needs to be updated to point to 8.x until SharePoint framework supports 10.x

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

ID: 5bee09a8-022e-1b5a-4aab-d6e7c6216808
Version Independent ID: 49edce1e-f2be-e989-917f-c6b389363e2f
Content: Set up your SharePoint Framework development environment
Content Source: docs/spfx/set-up-your-development-environment.md
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

Thanks for your post. We can just change the text order but not the actual link. And you can submit pull request for the article too.

Any news on nodejs 10.x support? 10.13 is current LTS version:

@thlbrg Link have been updated. Thanks.
@s-KaiNet No any official news for that.


Feature: Always display two digit hour

Via @carrier_lost on twitter:
have an option for zero-padding for hours when using the 24 hour display, e.g. "02:00" instead of "2:00".

Yes please

Oh, this is a duplicate of #63.


mysamplelib stub as an example

Aiming to make a sample lib to explain libfuzzerication in a simple context with minimal moving parts.

👍 LGTM


OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.

from chatterbot.trainers import ChatterBotCorpusTrainer

chatbot = ChatBot('Ron Obvious')

# Create a new trainer for the chatbot
trainer = ChatterBotCorpusTrainer(chatbot)

# Train the chatbot based on the english corpus
trainer.train("chatterbot.corpus.english")

# Get a response to an input statement
chatbot.get_response("Hello, how are you today?")```

output as

---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
<ipython-input-1-f8d70b5b4e6a> in <module>
      2 from chatterbot.trainers import ChatterBotCorpusTrainer
      3
----> 4 chatbot = ChatBot('Ron Obvious')
      5
      6 # Create a new trainer for the chatbot

~\Anaconda3\lib\site-packages\chatterbot\chatterbot.py in __init__(self, name, **kwargs)
     26         self.logic_adapters = []
     27
---> 28         self.storage = utils.initialize_class(storage_adapter, **kwargs)
     29
     30         primary_search_algorithm = IndexedTextSearch(self, **kwargs)

~\Anaconda3\lib\site-packages\chatterbot\utils.py in initialize_class(data, *args, **kwargs)
     31         Class = import_module(data)
     32
---> 33         return Class(*args, **kwargs)
     34
     35

~\Anaconda3\lib\site-packages\chatterbot\storage\sql_storage.py in __init__(self, **kwargs)
     18
     19     def __init__(self, **kwargs):
---> 20         super().__init__(**kwargs)
     21
     22         from sqlalchemy import create_engine

~\Anaconda3\lib\site-packages\chatterbot\storage\storage_adapter.py in __init__(self, *args, **kwargs)
     19
     20         self.tagger = PosLemmaTagger(language=kwargs.get(
---> 21             'tagger_language', languages.ENG
     22         ))
     23

~\Anaconda3\lib\site-packages\chatterbot\tagging.py in __init__(self, language)
     11         self.punctuation_table = str.maketrans(dict.fromkeys(string.punctuation))
     12
---> 13         self.nlp = spacy.load(self.language.ISO_639_1.lower())
     14
     15     def get_bigram_pair_string(self, text):

~\Anaconda3\lib\site-packages\spacy\__init__.py in load(name, **overrides)
     28     if depr_path not in (True, False, None):
     29         deprecation_warning(Warnings.W001.format(path=depr_path))
---> 30     return util.load_model(name, **overrides)
     31
     32

~\Anaconda3\lib\site-packages\spacy\util.py in load_model(name, **overrides)
    167     elif hasattr(name, "exists"):  # Path or Path-like to model data
    168         return load_model_from_path(name, **overrides)
--> 169     raise IOError(Errors.E050.format(name=name))
    170
    171

OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.

Same problem
Traceback (most recent call last):
  File "d:\Python\TheBot\chatbot.py", line 4, in <module>
    chatbot = ChatBot('TheBot')
  File "C:\Users\alber\AppData\Roaming\Python\Python37\site-packages\chatterbot\chatterbot.py", line 28, in __init__
    self.storage = utils.initialize_class(storage_adapter, **kwargs)
  File "C:\Users\alber\AppData\Roaming\Python\Python37\site-packages\chatterbot\utils.py", line 33, in initialize_class
    return Class(*args, **kwargs)
  File "C:\Users\alber\AppData\Roaming\Python\Python37\site-packages\chatterbot\storage\sql_storage.py", line 20, in __init__
    super().__init__(**kwargs)
  File "C:\Users\alber\AppData\Roaming\Python\Python37\site-packages\chatterbot\storage\storage_adapter.py", line 21, in __init__
    'tagger_language', languages.ENG
  File "C:\Users\alber\AppData\Roaming\Python\Python37\site-packages\chatterbot\tagging.py", line 13, in __init__
    self.nlp = spacy.load(self.language.ISO_639_1.lower())
  File "C:\Users\alber\AppData\Roaming\Python\Python37\site-packages\spacy\__init__.py", line 30, in load
    return util.load_model(name, **overrides)
  File "C:\Users\alber\AppData\Roaming\Python\Python37\site-packages\spacy\util.py", line 175, in load_model
    raise IOError(Errors.E050.format(name=name))
OSError: [E050] Can't find model 'en'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.

With Python 3.7.6

Oh never mind #2039 solved it

using the command "python -m spacy download en" still facing the same error

when the same code is run in colab it is working fine ..
but when it runs in pc we are facing this issue..
i think there is a bug in the module

No, no bug in the module. When you read the above mentioned ticket, you will find you have to either create a symlink to the "en" library or you have to copy it to the right directory. It's just not finding the file where it expects it to be.
Btw, this has nothing to do with ChatterBox at all, as the model belongs to spacy.

thanks for the clarification @AnAnalogGuy

Added a comment on issue #2066 related to this.

use anaconda navigator create new virtual environment name it tensorflow_development
install nltk, tensorflow, sklearn, numpy==1.19.3, chatterbot , chatterbot_corpus
for certain libraries use pip install to install chatterbot==0.8.7, chatterbot_corpus==1.1.4
launch the newly created env and use it for all machine learning development it will definitely work bec conda takes care of all the dependency issuses

Solved this problem.
Open PowerShell with Admin Access and run
python -m spacy link en_core_web_sm en
This should work.

Solved this problem.
Open PowerShell with Admin Access and run
python -m spacy link en_core_web_sm en
This should work.

@adityaasthana1 Confirm this works but gives me this SQL Error
Can you help me with that.
OS:Windows 10 Version	10.0.19042 Build 19042
Python Version: 3.6
Traceback (most recent call last):
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\engine\base.py", line 2336, in _wrap_pool_connect
    return fn()
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 364, in connect
    return _ConnectionFairy._checkout(self)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 778, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 495, in checkout
    rec = pool._do_get()
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\impl.py", line 241, in _do_get
    return self._create_connection()
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 309, in _create_connection
    return _ConnectionRecord(self)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 440, in __init__
    self.__connect(first_connect_check=True)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 668, in __connect
    pool.dispatch.connect(self.connection, self)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\event\attr.py", line 261, in __call__
    fn(*args, **kw)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\chatterbot\storage\sql_storage.py", line 43, in set_sqlite_pragma
    dbapi_connection.execute('PRAGMA journal_mode=WAL')
sqlite3.OperationalError: cannot change into wal mode from within a transaction

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:/Users/Namaz/PycharmProjects/RAT/CHAT-BOT.py", line 7, in <module>
    database_uri='sqlite:///database.sqlite3'
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\chatterbot\chatterbot.py", line 28, in __init__
    self.storage = utils.initialize_class(storage_adapter, **kwargs)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\chatterbot\utils.py", line 33, in initialize_class
    return Class(*args, **kwargs)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\chatterbot\storage\sql_storage.py", line 46, in __init__
    if not self.engine.dialect.has_table(self.engine, 'Statement'):
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\dialects\sqlite\base.py", line 1666, in has_table
    connection, "table_info", table_name, schema=schema
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\dialects\sqlite\base.py", line 2180, in _get_table_pragma
    cursor = connection.execute(statement)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\engine\base.py", line 2234, in execute
    connection = self._contextual_connect(close_with_result=True)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\engine\base.py", line 2302, in _contextual_connect
    self._wrap_pool_connect(self.pool.connect, None),
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\engine\base.py", line 2340, in _wrap_pool_connect
    e, dialect, self
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\engine\base.py", line 1584, in _handle_dbapi_exception_noconnection
    sqlalchemy_exception, with_traceback=exc_info[2], from_=e
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\util\compat.py", line 182, in raise_
    raise exception
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\engine\base.py", line 2336, in _wrap_pool_connect
    return fn()
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 364, in connect
    return _ConnectionFairy._checkout(self)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 778, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 495, in checkout
    rec = pool._do_get()
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\impl.py", line 241, in _do_get
    return self._create_connection()
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 309, in _create_connection
    return _ConnectionRecord(self)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 440, in __init__
    self.__connect(first_connect_check=True)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 668, in __connect
    pool.dispatch.connect(self.connection, self)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\event\attr.py", line 261, in __call__
    fn(*args, **kw)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\chatterbot\storage\sql_storage.py", line 43, in set_sqlite_pragma
    dbapi_connection.execute('PRAGMA journal_mode=WAL')
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) cannot change into wal mode from within a transaction
(Background on this error at: http://sqlalche.me/e/13/e3q8)

Process finished with exit code 1

@adityaasthana1 Confirm this works but gives me this SQL Error
Can you help me with that.
OS:Windows 10 Version	10.0.19042 Build 19042
Python Version: 3.6
Traceback (most recent call last):
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\engine\base.py", line 2336, in _wrap_pool_connect
    return fn()
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 364, in connect
    return _ConnectionFairy._checkout(self)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 778, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 495, in checkout
    rec = pool._do_get()
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\impl.py", line 241, in _do_get
    return self._create_connection()
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 309, in _create_connection
    return _ConnectionRecord(self)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 440, in __init__
    self.__connect(first_connect_check=True)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 668, in __connect
    pool.dispatch.connect(self.connection, self)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\event\attr.py", line 261, in __call__
    fn(*args, **kw)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\chatterbot\storage\sql_storage.py", line 43, in set_sqlite_pragma
    dbapi_connection.execute('PRAGMA journal_mode=WAL')
sqlite3.OperationalError: cannot change into wal mode from within a transaction

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:/Users/Namaz/PycharmProjects/RAT/CHAT-BOT.py", line 7, in <module>
    database_uri='sqlite:///database.sqlite3'
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\chatterbot\chatterbot.py", line 28, in __init__
    self.storage = utils.initialize_class(storage_adapter, **kwargs)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\chatterbot\utils.py", line 33, in initialize_class
    return Class(*args, **kwargs)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\chatterbot\storage\sql_storage.py", line 46, in __init__
    if not self.engine.dialect.has_table(self.engine, 'Statement'):
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\dialects\sqlite\base.py", line 1666, in has_table
    connection, "table_info", table_name, schema=schema
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\dialects\sqlite\base.py", line 2180, in _get_table_pragma
    cursor = connection.execute(statement)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\engine\base.py", line 2234, in execute
    connection = self._contextual_connect(close_with_result=True)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\engine\base.py", line 2302, in _contextual_connect
    self._wrap_pool_connect(self.pool.connect, None),
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\engine\base.py", line 2340, in _wrap_pool_connect
    e, dialect, self
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\engine\base.py", line 1584, in _handle_dbapi_exception_noconnection
    sqlalchemy_exception, with_traceback=exc_info[2], from_=e
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\util\compat.py", line 182, in raise_
    raise exception
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\engine\base.py", line 2336, in _wrap_pool_connect
    return fn()
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 364, in connect
    return _ConnectionFairy._checkout(self)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 778, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 495, in checkout
    rec = pool._do_get()
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\impl.py", line 241, in _do_get
    return self._create_connection()
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 309, in _create_connection
    return _ConnectionRecord(self)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 440, in __init__
    self.__connect(first_connect_check=True)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\pool\base.py", line 668, in __connect
    pool.dispatch.connect(self.connection, self)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\sqlalchemy\event\attr.py", line 261, in __call__
    fn(*args, **kw)
  File "C:\Users\Namaz\AppData\Local\Programs\Python\Python36\lib\site-packages\chatterbot\storage\sql_storage.py", line 43, in set_sqlite_pragma
    dbapi_connection.execute('PRAGMA journal_mode=WAL')
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) cannot change into wal mode from within a transaction
(Background on this error at: http://sqlalche.me/e/13/e3q8)

Process finished with exit code 1

@UBISOFT-1  Could help to see the code snipplet to see what you're actually doing.

@UBISOFT-1  Could help to see the code snipplet to see what you're actually doing.

From: https://docs.sqlalchemy.org/en/13/errors.html#error-e3q8
OperationalError

Exception raised for errors that are related to the database’s operation and not necessarily under the control of the programmer, e.g. an unexpected disconnect occurs, the data source name is not found, a transaction could not be processed, a memory allocation error occurred during processing, etc.
This error is a DBAPI Error and originates from the database driver (DBAPI), not SQLAlchemy itself.
The OperationalError is the most common (but not the only) error class used by drivers in the context of the database connection being dropped, or not being able to connect to the database. For tips on how to deal with this, see the section Dealing with Disconnects.

From: https://docs.sqlalchemy.org/en/13/errors.html#error-e3q8
OperationalError

Exception raised for errors that are related to the database’s operation and not necessarily under the control of the programmer, e.g. an unexpected disconnect occurs, the data source name is not found, a transaction could not be processed, a memory allocation error occurred during processing, etc.
This error is a DBAPI Error and originates from the database driver (DBAPI), not SQLAlchemy itself.
The OperationalError is the most common (but not the only) error class used by drivers in the context of the database connection being dropped, or not being able to connect to the database. For tips on how to deal with this, see the section Dealing with Disconnects.

First
$ python -m spacy info
to verify that indeed the model 'en' was missing
Then this is what fixed it for me
$ python -m spacy download en
Python version 3.6.9
More elaborate answer posted at https://github.com/codeperfectplus/Python-ChatBot/issues/2


Add Korean language to HOWTO!

What does this PR do?
Add Korean language to HOWTO and an individual HOWTO document other language links update.
For resources
Why is this valuable (or not)?
This Korean HOWTO is spoken for a korean contributors.
Checklist:

[x] Read our contributing guidelines
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction)

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

There are currently a previous work like this #5837. @filoscoder maybe coordinate one each other with

Thanks, and welcome to free-programming-books! Would be great to see cross editing from other Korean readers.


Update deps and folder structure

We've been seeing people having a hard time deciding where to place components.
This PR simplifies the folder structure to include only
src/components
src/UI
if the project requires a module-based approach a new modules folder can be created in src

:tada: This PR is included in version 0.12.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feat(android): add auto linking for libraries in brownfield environment

Summary:

During one of our brownfield project we discovered that the auto linking is not supported by default if we opt for a multi-module approach. Which means besides app we have another module say abc-module which exposes the react-native related APIs required to load it in the native app. This abc-module also embeds the required react-native libraries and ships those as a fat AAR.
We can assume the following structure:

RNApp

android

app
abc-module

Now, to get the auto linking configured for abc-module we apply the com.facebook.react inside abc-module and use the following block to configure auto linking:
react {
    autolinkLibrariesWithApp("embed")
}

Doing so, configures the auto linking for abc-module and also allows for using the configuration method as per the developer's choice.
Note, this doesn't change anything for app module and It works with these changes as well:
react {
    /* Autolinking */
    autolinkLibrariesWithApp()
}

By default autolinkLibrariesWithApp will use implementation method if none provided.
Changelog:

[ANDROID][CHANGED] -add auto linking for libraries in brownfield environment
[ANDROID][CHANGED] - allow passing the configuration method while auto linking
Test Plan:

Ran ./gradlew -p packages/gradle-plugin test to verify existing tests work.

Also tested these changes on a bare RN app after applying the diff manually.

Taking a look at failing android build 👀

@cortinico I looked through the react-native.config.js options where we can provide dependencyConfiguration like:
module.exports = {
  project: {
    android: {
      dependencyConfiguration: 'embed',
    },
  },
};

This would work if we are converting the react-native App to a fat AAR. However, as I described in the PR description that we have took a different approach and that is to create an android module alongside app and that module will be converted to a fat AAR. Below is the structure I am referring to:

RNApp

android

app
abc-module

With this structure, the react-native.config.js won't work for abc-module unless there is an option in react-native.config.js which I am not aware of.

Also, the change for moving configureAutoLinking to  project.pluginManager.withPlugin("com.android.library") {} is required to enable the auto linking for library, in this case abc-module.

However, as I described in the PR description that we have took a different approach and that is to create an android module alongside app and that module will be converted to a fat AAR

This is not supported.
React Native assumes your app module is where bundling and autolinking happens.
The problem of this PR is that is adding partial support for having React Native moved to a separate library, but is addressing only some of the concerns (not all of them). So can't be merged as it is.
The method autolinkLibrariesWithApp is part of the public API and now we're extending it with a parameter to make it work only for a really specific use case (brownfield + fat AAR).
Also you're doing 2 changes in this PR which should be discussed/handled separately.
I don't want to sound too strict, but the problem with merging those kind of changes as they are is that it pushes a lot of maintainance cost on our (mostly mine) shoulders, which I'd like to be mindful about.

With this structure, the react-native.config.js won't work for abc-module unless there is an option in react-native.config.js which I am not aware of.

The react-native.config.js won't work for abc-module exactly for the same reason you're facing problems with RNGP. The CLI was built with the same assumption (one app module and multiple libraries). You would have to also extend the CLI to support this different setup.

@cortinico  Thank you for the explanation.
From my understanding, following are the points that we can discuss further:

See if there is a way to extend CLI to support multi-module setup

This will allow us to skip the changes related to passing dependencyConfiguration and prevent changing the function signature of  autolinkLibrariesWithApp . So all in all, if CLI can be extended these changes will be dropped from this PR.

I think, even after extending the CLI we will need to call configureAutoLinking inside project.pluginManager.withPlugin("com.android.library") {} closure, otherwise the CLI won't take affect in terms of auto linking for abc-module. So I think changes related to this, will be kept in this PR.

So all in all, if CLI can be extended these changes will be dropped from this PR.

Yup I'd prefer if RNGP would just consumes whatever the config command produces, and the Gradle Configurations (i.e. the implemenation thing) are provided from there.

I think, even after extending the CLI we will need to call configureAutoLinking inside project.pluginManager.withPlugin("com.android.library") {} closure, otherwise the CLI won't take affect in terms of auto linking for abc-module. So I think changes related to this, can be kept in this PR.

Yes we can talk about that but it would have to be a completely different method then (like a autolinkLibrariesWithModule or so to make it clear the behavior is different)

@cortinico  closing this PR for now. We will come back with a strategy on how we can better handle this behaviour. Thanks for all the discussion, appreciate it.


Custom server request registration

This allows registering custom LSP request handlers in the server via builtin_initialize or initialize in plugins. We maintain a global IO.Ref table of handlers.
For now registering request handlers as-you-go in standard Lean files (via the environment) is unsupported as the semantics of that are quite unclear. In particular, the watchdog needs to know which worker to route requests to, but the Environment object is only accessible within one given worker. We could require all custom requests to contain a uri : DocumentUri field. In any case I'm leaving this feature for later if it's desired.
Other possible features which might be useful in the future:

custom notification handlers which run after the standard ones so that plugins can e.g. directly observe changes to the document state
custom no-response handlers for requests with responding handlers already registered, for the same reason (observing the system state)

Good work!


crop image saved on server but not shown on editor

I am getting display image issue in email only when i crop the image,
Let me explain what i did till now.
I have used uploadFile() function in assetManager in grapejs editor config to store files at the server in jpg format because data:images base64 images are not shown in the mail it works good, Then i used grapesjs-tui-image-editor plugin for crop image,  in the plugin options  i had set the value of upload option to true because i want to store the cropped image on the server in jpg format, file is saved successfully but after save , it stop working , does not render cropped file on the email editor ,  below is the example of
'grapesjs-tui-image-editor': {
config: {
includeUI: {
initMenu: 'crop',
},
      },

 upload :true,

}
Please let me know how i can fixed it.
Thanks

Is there any updates on this?


Fix CI

Background
Link to issue
https://this-is-biomage.slack.com/archives/C0250TDU1PF/p1627037594010100
Link to staging deployment URL
N.A.
Links to any Pull Requests related to this
N.A.
Anything else the reviewers should know about the changes here
Fix CI to create correct refs in IAC release staging-candidate
Changes
Code changes
Definition of DONE
Your changes will be ready for merging after each of the steps below have been completed:
Testing

[ ] Unit tests written
[ ] Tested locally with Inframock (with latest production data downloaded with biomage experiment pull)
[ ] Deployed to staging

To set up easy local testing with inframock, follow the instructions here: https://github.com/biomage-ltd/inframock
To deploy to the staging environment, follow the instructions here: https://github.com/biomage-ltd/biomage-utils
Documentation updates
Is all relevant documentation updated to reflect the proposed changes in this PR?

[ ] Relevant Github READMEs updated
[ ] Relevant wiki pages created/updated

Approvers

[ ] Approved by a member of the core engineering team
[ ] (UX changes) Approved by vickymorrison (this is her username, tag her if you need approval)

Just before merging:

[ ] After the PR is approved, the unstage script in here: https://github.com/biomage-ltd/biomage-utils is executed. This script cleans up your deployment to staging

Optional

[ ] Photo of a cute animal attached to this PR

Codecov Report

Merging #409 (f3c6973) into master (3d3aabf) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #409   +/-   ##
=======================================
  Coverage   53.52%   53.52%
=======================================
  Files         132      132
  Lines        4103     4103
  Branches      794      794
=======================================
  Hits         2196     2196
  Misses       1891     1891
  Partials       16       16

Continue to review full report at Codecov.

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


Fixes collection id missing on examples without a request

Fixes issue #24

Current coverage is 89.74% (diff: 88.88%)

Merging #26 into master will increase coverage by 0.58%

@@             master        #26   diff @@
==========================================
  Files             1          1
  Lines           203        195     -8
  Methods          10         10
  Messages          0          0
  Branches          0          0
==========================================
- Hits            181        175     -6
+ Misses           22         20     -2
  Partials          0          0

Powered by Codecov. Last update ad50330...8c24895


coroutine?

https://devblogs.microsoft.com/oldnewthing/20210421-00/?p=105135
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0981r0.html

https://ibob.bg/blog/2024/10/06/coro-throw/

https://pigweed.dev/docs/blog/05-coroutines.html