Lake segmentation fault

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Check that your issue is not already filed.
Reduce the issue to a minimal, self-contained, reproducible test case. Avoid dependencies to mathlib4 or std4.

Description
I get segmentation faults when running any lake commands, including lake build and lake clean. The problem only happens when all of the following three conditions are met:

The package depends on LeanInfer or is LeanInfer itself.
The package uses leanprover/lean4:v4.2.0-rc1 (No problem with leanprover/lean4:v4.0.0).
The package has been built or partially built (No problem with the first run of lake build).

Steps to Reproduce

Check out the LeanInfer-demo branch of lean4-example.
Edit lean4-example's lean-toolchain file to use leanprover/lean4:v4.2.0-rc1.
lake build
Either wait lake build to finish or just kill it in the middle. Then run lake build for a second time and you'll see Segmentation fault (core dumped). In this state, running any lake command will run into segmentation faults, unless you remove the lakefile.olean of LeanInfer.

Versions
Lean (version 4.2.0-rc1, commit a62d2fd49796, Release)
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal

@yangky11 Most segfaults with Lake generally come from an out-of-date lakefile.olean, Since the problem is fixed when you rm -rf lake-packages, the LeanInfer lakefile.olean is likely out-of-date. Try running rm lake-packages/LeanInfer/lakefile.olean and seeing if that fixes the segfault. The bug here is likely that something is amiss in Lake's out-of-date checking of the lakefile.olean.
When you say edit the lean-toolchain file, do you mean of the LeanInfer package itself or of the workspace (i.e., the package which depends on it)? The former could certainly produce such an error.

@tydeu

Try running rm lake-packages/LeanInfer/lakefile.olean

Yes, it has a similar effect to rm -rf lake-packages.  It fixes the segfault for one time, and the segfaul will appear again in future lake build.

When you say edit the lean-toolchain file, do you mean of the LeanInfer package itself or of the workspace (i.e., the package which depends on it)? The former could certainly produce such an error.

I was talking about lean4-example's lean-toolchain.

@yangky11

Yes, it has a similar effect to rm -rf lake-packages. It fixes the segfault for one time, but the segfault will appear again in future lake build.

Are you saying that deleting the LeanInfer's lakefile.olean fixes the segfault for the next lake build, but the subsequent lake builds, even without further modifying the lean-toolchain, still produce segfaults? If so, that is very unexpected and quite confusing. I will need to spend some time figuring out what might be going on there.

Are you saying that deleting the LeanInfer's lakefile.olean fixes the segfault for the next lake build, but that subsequent lake builds, even without further modifying the lean-toolchain, still produce segfaults?

@tydeu Yes, exactly. I'm not sure if this has anything to do with cloud release.

Just confirming that I can reproduce the segfault per the instructions.

The segfault in the Reservoir testbed for LeanInfer implies that this bug applies to LeanInfer directly. That means the likely source of this problem is likely the lakefile.olean for std4, aesop, or LeanInfer.
@yangky11 The testbed also flagged a separate problem which is that the aesop-llm branch and the manifest revision no longer exist in aesop (as the changes were ported to master). I don't think this could be causing the segfault, but as I am stumped as to what is who knows?

The segfault in the Reservoir testbed for LeanInfer implies that this bug applies to LeanInfer directly.

Yes, I just verified that the bug applies to both LeanInfer itself and its dependencies.

The testbed also flagged a separate problem which is that the aesop-llm branch and the manifest revision no longer exist in aesop
This is just outdated lake-manifest.json. I just fixed this problem, but it seems to have nothing to do with segfaults.

The problem seems to be LeanInfer's lakefile.olean. When working with LeanInfer directly (instead of its dependencies), removing lakefile.olean will fix the segfault (for one time).

Since lean4:v4.2.0-rc2 has been out, I tested using lean4:v4.2.0-rc2 and the problem still persists.

@yangky11 Yean. Unfortunately, debugging segfault issues in Lean is rather hard. There are a lot of moving pieces to this one and there is nothing very clearly amiss that is a likely root cause. I have been thinking about it a lot, but I do not have an answer yet. One thing that could help would be to see if we cannot reproduce a segfault like in a toy setup (i.e. a minimal working example for this bug would be great).

@tydeu Thanks! I'll try to simplify LeanInfer to create a minimal example.

@tydeu This is a minimal example: https://github.com/lean-dojo/LeanInfer/tree/segfault
It looks like the problem is related to how we check arm64 vs. x64 in lakefile.lean.

@yangky11 Ah, that is what I feared it might be. I imagine the problem stems from how we are gluing the lakefile environment to the imported environment. I think we may need to wait for @Kha's expertise to debug this (as he wrote that glue code). However, I may give investigating it myself a try (or work on a workaround).

@tydeu could you point to the code that does this gluing? I'm not sure I can help, but as I've been gluing environments together recently for the REPL and lean4checker I would at least be interested.

@semorrison The glue code is:
https://github.com/leanprover/lean4/blob/fb0d0245db9bcb9ff649794f57522c52cb80c993/src/lake/Lake/Load/Elab.lean#L97-L119

Ooh, okay that is a scarier part of the API than I have previously used. :-)

Hi @tydeu, I see a PR related to this issue has been merged. Has the problem been fixed? Will it be part of the next release?

@yangky11 run_io is part of the latest release candidate (e.g., v4.3.0-rc1) and can be used instead of the elab currently used by LeanInfer and thereby avoid this error. Thus, this bug should be fixed for LeanInfer! 😄 (elab itself stills segfaults, though.)


Remove IsBoolFlag entirely

We don't use it. We have sanity like "Type()" and "NoOptDefVal"

Closing this PR. While the code is uselss to us, without it a pflag Bool could not be used by the golang flags.


fix container of gridster

I'm using gridster in my angular 6 application. When ever I drag the grid it is going beyond the container. I need to restrict the gridster not to go out of my container.

Read this: https://github.com/ManifestWebDesign/angular-gridster/issues/516
Problem in constants in source code


[Feature Request] 二维码生成工具

Checklist

[X] I searched exising issues and no one else requests similar feature.
[X] I think that 25%+ users are positive towards this feature.

Describe the feature

Additional context
https://github.com/864381832/xJavaFxTool-plugin/tree/master/littleTools/x-QRCodeBuilder

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

Hello @unknowIfGuestInDream. This issue is marked as deprecated and closed.


Changes required for 2023

See attached ZIP-file
2023-phase.txt
2023-age.txt
2023-moon-phase.zip

i added your changes from the other issue. thanks!


VimuxOrientation Not Resepcted

When using
let g:VimuxOrientation = "h"

The pane spawns as horizontal, but after toggling it off and back on, it is then vertical until I close it completely and open a new Vimux pane

That sounds like a big in the toggle code somewhere. Are you able to take a closer look? Contributions are welcome.

Could you explain a bit more what you did and what is the expected behaviour?


Add an option to show checkboxes in multi mode

For multi selects, it could be good to show a checkbox near the option.

Checkboxes can easily visible via CSS in spite of using real checkbox


Morning Session Code Review

**Hi @NasKhalil :wave: **
Good and impressive use of ES6 filter method. :+1:
Clear and concise code :100:
Excellent implementation of mock functionality to simulate localStorage :1st_place_medal:
Keep it up :partying_face:

Hi @koomekevo 👋
Thanks for the feedbacks 👍


Remove kubelet flags that are no longer available.

Removed refs deprecated with dockershim
Tweaked header levels
Added info about the changes in v1.24

Fixes #33640

https://github.com/kubernetes/website/issues/33862#issuecomment-1133493742
@kris-nova I've done a bare minimum update at this stage, but I wonder if a section in this page would be the right place for a "migrating from x to y" content, or whether it should go in the wider "migrating from dockershim" pages. What do you think?

Direct link to Netlify version: https://deploy-preview-33870--kubernetes-io-main-staging.netlify.app/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins/

/assign @PI-Victor

LGTM from https://github.com/kubernetes/website/pull/33870#pullrequestreview-984837432
Preview LGTM
/lgtm
/approve


Apple devices without HA-app are not tracked correctly

I've the issue, that devises without HA-App (iPhone & iWatch of my wife) which were not correct tracked when leaving homezone.
I was with my wife on a trip, my devices (iPhone and coupled watch) were tracked correct, devices of my wife (phone&watch) without HA-app not. Also a manual pushed "locate all devices" doesn't change the location of these devises.
Only after "restart icloud3" over the menu button, the devices without HA-app were located correctly.

iCloud3 uses triggers from the iOS app for zone enter/exit notifications. When that is not available, the only way iCloud3 will know it has left a zone is when the next location update is done. It will ask Apple for the location and then process the results. Using a short inzone interval (15 minutes) can help. iCloud3 also keeps track of devices nearby. When a device with the iosapp gets an exit trigger, it looks at other devices that are nearby that do not have the iosapp and moves them out of the zone.
Review the Event Log activity for the devices and see if they are moved out of the zone.
some other people are using a network device tracker to issue an icloud3 action locate service call to relocate the device a few minutes after leaving the network. See the iCloud3 docs Other Features Service Call for more info.
My wife’s sometimes watch has the same issue.

Hi Gary,
thank you very much for your quick response.
I use already a very short inzone interval (15 min).
I’ve tried a manual update of the tracking (“locate this device” or “locate all devices”), but nothing happened/changed.
So, at the moment it helps me, when I restart icloud3 via automation, when my iphone with HA-App changes it location,
or when the network device tracker of the non HA-app devices recognized disconnection with my local-/home-network.
Thank you again for iCloud3 => You are doing a very good job!
Harald
Von: Gary Cobb @.>
Antworten an: gcobb321/icloud3_v3 @.>
Datum: Montag, 5. Juni 2023 um 14:54
An: gcobb321/icloud3_v3 @.>
Cc: HaraldGithub @.>, Author @.***>
Betreff: Re: [gcobb321/icloud3_v3] Apple devices without HA-app are not tracked correctly (Issue #145)
iCloud3 uses triggers from the iOS app for zone enter/exit notifications. When that is not available, the only way iCloud3 will know it has left a zone is when the next location update is done. It will ask Apple for the location and then process the results. Using a short inzone interval (15 minutes) can help. iCloud3 also keeps track of devices nearby. When a device with the iosapp gets an exit trigger, it looks at other devices that are nearby that do not have the iosapp and moves them out of the zone.
Review the Event Log activity for the devices and see if they are moved out of the zone.
some other people are using a network device tracker to issue an icloud3 action locate service call to relocate the device a few minutes after leaving the network. See the iCloud3 docs Other Features Service Call for more info.
My wife’s sometimes watch has the same issue.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I have a similar problem without the HA-iOS App installed. I installed the integration yesterday. Today in left the first the the zone with the integration installed, but it was not triggered. This is the log at the time I left the home zone:
9:44:20a	   Located > FamShr-9:29:39a/±9m 9:44:25a	   Location Old #2 > 15 min ago, RetryAt-9:44:40a (15 sec) 9:44:40a	   Location Old #3 > 15 min ago, RetryAt-9:44:55a (15 sec) 9:44:55a	   Location Old #4 > 15 min ago, RetryAt-9:45:55a (1 min) 9:45:55a	   Location Old #5 > 16 min ago, RetryAt-9:46:55a (1 min) 9:46:55a	   Location Old #6 > 17 min ago, RetryAt-9:47:55a (1 min) 9:47:55a	   Location Old #7 > 18 min ago, RetryAt-9:48:55a (1 min) 9:48:55a	   Location Old #8 > 19 min ago, RetryAt-9:53:55a (5 min) 9:53:56a	   Updated > FamShr-9:29:39a/±9m → 9:49:09a/±5m (5 min ago), Moved-432 m 9:53:56a	   Location Old #9 > 5 min ago, RetryAt-9:58:55a (5 min) 9:58:56a	   Updated > FamShr-9:49:09a/±5m → 9:54:00a/±5m (5 min ago), Moved-485 m 9:58:56a	   Location Old #10 > 5 min ago, RetryAt-10:03:55a (5 min) 10:03:56a	   Updated > FamShr-9:54:00a/±5m → 9:58:59a/±5m (5 min ago), Moved-1.26 km 10:03:56a	   Location Old #11 > 5 min ago, RetryAt-10:08:55a (5 min) 10:08:56a	   Updated > FamShr-9:58:59a/±5m → 10:04:01a/±5m (5 min ago), Moved-4.98 km 10:08:56a	   Location Old #12 > 5 min ago, RetryAt-10:38:55a (30 min) 10:38:59a	   Updated > FamShr-10:04:01a/±5m → 10:09:00a/±5m (30 min ago), Moved-7.34 km 10:38:59a	   Location Old #13 > 30 min ago, RetryAt-11:08:55a (30 min) 11:09:00a	   Updated > FamShr-10:09:00a/±5m → 10:39:08a/±4m (30 min ago), Moved-25.0 km 11:09:00a	   Location Old #14 > 30 min ago, RetryAt-11:39:00a (30 min) 11:39:05a	   Updated > FamShr-10:39:08a/±4m → 11:09:04a/±7m (30 min ago), Moved-44.9 km 11:39:05a	   Location Old #15 > 30 min ago, RetryAt-12:09:00p (30 min) 12:09:07p	   Updated > FamShr-11:09:04a/±7m → 11:41:04a/±8m (28 min ago), Moved-2.44 km 12:09:07p	   Location Old #16 > 28 min ago, RetryAt-1:09:05p (1 hr) 1:09:10p	   Updated > FamShr-11:41:04a/±8m → 12:09:17p/±8m (60 min ago), Moved-118 m 1:09:10p	   Location Old #17 > 60 min ago, RetryAt-2:09:05p (1 hr)

Review the iCloud3 configuration for each device and make sure the iOS App entity has been selected for each device on the Update Devices screen. Look at iC3 Startup Stages 4 & 5 and verify the FamShr & iOS App devices are listed. Also make sure that the iOS App is selected as a data source on the Data Sources - iCloud and iOS App configuration screen. Location Old entries above usually indicates the phone is in a poor cell area.

Closed with beta 18. Reopen or post a new issue if you still the problem

Hi Gary,
how can I update my iCloud version to iCloud3_v3 Beta18c (6/17/2023)?
I couldn’t find any update link in the icloud-menu and HA also finds no update?
Harald
Von: Gary Cobb @.>
Antworten an: gcobb321/icloud3_v3 @.>
Datum: Montag, 19. Juni 2023 um 09:04
An: gcobb321/icloud3_v3 @.>
Cc: HaraldGithub @.>, Author @.***>
Betreff: Re: [gcobb321/icloud3_v3] Apple devices without HA-app are not tracked correctly (Issue #145)
Closed with beta 18. Reopen or post a new issue if you still the problem
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

@HaraldGithub,
I did that by clicking these buttons:
HACS
Integrations
iCloud3 Device Tracker, Version 3 (HA Integration)
3 dots
Redownload
Cheers,
-Ton,

Hi Gary, how can I update my iCloud version to iCloud3_v3 Beta18c (6/17/2023)? I couldn’t find any update link in the icloud-menu and HA also finds no update? Harald Von: Gary Cobb @.> Antworten an: gcobb321/icloud3_v3 @.> Datum: Montag, 19. Juni 2023 um 09:04 An: gcobb321/icloud3_v3 @.> Cc: HaraldGithub @.>, Author @.> Betreff: Re: [gcobb321/icloud3_v3] Apple devices without HA-app are not tracked correctly (Issue #145) Closed with beta 18. Reopen or post a new issue if you still the problem — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

Thx, work's for me too!
I would appreciate, if HACS and/or HA would announce such an update automatically.

So would I. I’m wondering if it’s because it’s a custom repository that is not In the HACS standard repository list. I tried to get v3 added and they would not do it. It is pretty solid now (300+ downloads of b17) and the HACS guys said to update the iCloud3 v2 as a prerelease. I hope to do that once the docs are done and the b18 install numbers get above 200.
I’m trying to also figure out why the iCloud3 README description does display when you go to HACS, select Integration, select +Explore and Download Repositories, type iCloud3 in the search bar and select iCloud3. Everything is set up properly on my system but it only displays the message “The Developer has not provided any information …”. Can anyone else confirm this?


Stop generating HTML coverage reports

...Azure Pipelines generates HTML directly from the coverage.xml, and
ignores what we generate.

Superseded by #1314


Can not redirect to IDP login page if login to SP

What version of UAA are you running?
UAA version: 4.12.1
How are you deploying the UAA?
I deploy 2 UAA, One is be the IDP, another is the SP as Below step:
1.Get IDP's metadata and SP's metadata.
2.Call /saml/service-providers via IDP add SP's metadata.
3.Call /identity-providers via SP add IDP's metadata.
4. Initiate IDP Login Flow.: Use  browser Access /saml/idp/initiate?sp=xxx, It can redirect to SP successful.
What did you do?
I access the SP's login page. The SP's login page can not redirect to IDP
What did you expect to see? What goal are you trying to achieve with the UAA?
I expect SP's login page can redirect to IDP's Login page. (SSO to IDP)
What did you see instead?
N/A

Hi @JiaHaoJerry
can you verify that when you went to the 'SP's login page' whether you saw a link to the 'IDP's Login page'.
or
can you provide a screenshot of when you visit the SP's login page.
and can you also please provide your /identity-providers configuration

Closing due to inactivity.


Update README.md

Updated guide link

Summary by CodeRabbit

Documentation

Updated a URL link in the documentation section for better guidance on using the Organized app.

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


⚠ GitLab Server has degraded performance

In 6f1c71e, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 9407 ms

Resolved: GitLab Server performance has improved in e7f0d40.


{author} functionality and author searches

Currently, a search result for "Winnie Wong" doesn't return any results despite the fact she's an author of a Podium article: http://plus.zakgroup.co.uk/en/search?q=Winnie Wong
I think this search term should return a result without the "author:" precursor?

Agreed, implemented in 9df678243c73bc8908c00a467724b4b25c755ecb. The above link should now yield the relevant articles.


Fix a broken link and use a general format for blog md file

What is the purpose of the change

修复官网博客中的一个错误连接
调整博客 md 文件的格式，使用一致的段落格式，即题目为 #，段落为 ##、###...

Brief changelog
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Test your code locally by running docsite start, and make sure it works as expected.
[x] Make sure no files under build directory is added.
[ ] If this contribution is large, please follow the Software Donation Guide.

Great job.


#sudo su btc.asc

#sudo su
Checklist

[x] App update process has been followed
[x] Target branch is develop
[x] Application version has been bumped

yarn install && npm install


sqlite3???

When I load the plugin, It says it requires a sqlite3. How do I get it and install it?
Thanks

https://forums.pmmp.io/search/8592546/?q=SQLite3+not+found&o=date


Release

The release is drafted. If no issues reported, I'll make it 2.3.0. https://github.com/pfnet/pfio/releases/tag/2.3.0rc1


Can Formation support design multi-form application?

Can Formation support design multi-form application? If Formation support that, are there some example codes? Thanks!

Hello @heiwushi. Multi-form applications can be built using Formation. Sadly, I do not think there are any examples. However, it should be easy. Formation can help you load sections of a UI from a design file. Formation simply reduces the amount of tkinter code you need to write. To load a section of a UI, use the Builder class.
from tkinter import Tk
from formation import Builder

app = Tk()

# load a form
builder = Bulider(app, path="mydesign1.xml")
# Assuming there is a widget with the ID 'frame1'
frame1 = builder.frame1

# use frame1 in your code

# load another form
builder = Bulider(app, path="mydesign2.xml")
# Assuming there is a widget with the ID 'frame2'
frame2 = builder.frame2

# use frame2 in your code

To load a form like these, the root widget should not be a toplevel (a window e.g Tk and Toplevel) but a frame or other container. When you create a new form, delete the window and add a frame instead.

You can load as many forms as you need in an application. I will try and add a full multi-form example for reference when I get time.


Set mainnet mediation fee defaults

We need to set mediation fee defaults for mainnet in the CLI.
Ref https://github.com/raiden-network/team/issues/881
Tasks

[x] Set default fixed fee: https://github.com/raiden-network/raiden/blob/develop/raiden/utils/mediation_fees.py#L34-L35
[x] Set default proportional fee: https://github.com/raiden-network/raiden/blob/develop/raiden/settings.py#L78
[x] Set default imbalance fee: https://github.com/raiden-network/raiden/blob/develop/raiden/settings.py#L79-L81
[x] Set default cap fees setting: https://github.com/raiden-network/raiden/blob/develop/raiden/settings.py#L113

cap_fees has a true default in the SDK, but it's not a problem to set it also in the CLI. The others should have its default set in CLI's config.json. If you set config.mediationFees[AddressZero] = { flat: ..., cap: ..., }, that config will be used as a fallback if no specific config is set for a given token address. Notice that his config is per whole config object, not per fee model, so e.g. setting config.mediationFees[tokenAddr] = { flat: 1 } will make it the flat fee for tokenAddr be 1 and all the others be 0, even if something higher is set for AddressZero.

Does this also apply that we want to enable the capability Mediate per default in the CLI?

Does this also imply that we want to enable the capability Mediate per default in the CLI?

I already did this in https://github.com/raiden-network/light-client/commit/a5bc94fcd18b78be86331704eac7e67eeb61e19e

Does this also imply that we want to enable the capability Mediate per default in the CLI?

I already did this in https://github.com/raiden-network/light-client/commit/a5bc94fcd18b78be86331704eac7e67eeb61e19e

Ah okay. I though our defaults in regard of configuration are exclusively in the config.json. Especially as the other capability is also there. So it is an awkward mix. But I assume you need a boolean default if you have this option for the user?


Updating polling booth data when there are pending stalls

Still seem a bit squiffy.
Had a few cases where it would complain about "Found 1 old polling places with attached noms. This shouldn't happen.", which I suspect were down to stalls being approved, or added, while a load was happening.
How can we best deal with this? We can block approvals and edits, but we can't stop additions.
Maybe just the approvals and edits is enough to cut down on issues?
AB#53

Closing and merging into https://github.com/keithamoss/demsausage/issues/1339


Menu is cut

If menu width is more than 150px (it could be done with css) and you open menu less then 150px from the right side of the screen, menu will be cut and you can't even scroll to see the whole menu content.
Need to change position calculation for this case.
Thanks

Hi @andrew-kamenev! Thank you for bringing this up and sorry for my late response. I have started to work on a new major version were I'll try to address this issue.


contract accounting removal

Fix https://github.com/paritytech/substrate/issues/1882

a contract can be in two state: tombstone or alive
a contract can be deleted on calls when paying rents
the contract is evicted if:

he can't withdraw its rent (rents are up to rent_allowance)
rent_allowance is reached
then if it got enough free_balance to make tombstone it makes it

introduce ext_set_rent_allowance, ext_rent_allowance

TODO:

make new tests
also test storage_size maybe
check arithmetic
maybe add a new unbalance associated type
rewrite contractInfo for being able to use Clone and else

TODO: also evict doesn't seems to remove the trie

This seems somewhat worrysome.  Contracts vanishing has cause massive problems in Ethereum, and I see no reason why those problems would not happen here.

Going to continue checking in a bit


Grab all possible definitions from input

E.g. we have 中国人, which could be split in the following way:
中国人 (chinese)
中国，人 (china, person)
中，国，人(middle, country, person)
Here's some pseudocode to try and catch all of these possible instances, in the example sentence "ABCD.":
For each character's index in clause/line/paragraph:
look in the dictionary for the word "ABCD", then "ABC", then "AB", then "A"
proceed to "BCD", "BC", "B",
proceed to "CD", "C",
proceed to "D".
If there is a match in the dictionary, save it.

This sounds like a good place for a recursive algorithm...
On 21 September 2017 at 11:17, IdiosApps<EMAIL_ADDRESS>wrote:

E.g. we have 中国人, which could be split in the following way:
中国人 (chinese)
中国，人 (china, person)
中，国，人(middle, country, person)
Here's some pseudocode to try and catch all of these possible instances,
in the example sentence "ABCD.":
For each character's index in clause/line/paragraph:
look in the dictionary for the word "ABCD", then "ABC", then "AB", then "A"
proceed to "BCD", "BC", "B",
proceed to "CD", "C",
proceed to "D".
If there is a match in the dictionary, save it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/danielt998/HanziToAnki/issues/57, or mute the thread
https://github.com/notifications/unsubscribe-auth/AOmv5J6Hjg90tabKuq7JuZzX-Kki7es6ks5skjfFgaJpZM4PfGny
.

Some pretty juicy recursion code PM'd by Daniel:
Set returnPossibleWords(String fullWord){
Set theSet=emptySet
if(fullWord is a word){
theSet.add(fullWord)
}
if(length>1){
Set.addAll(returnPossibleWords(string.substring(0,length-1)
Set.addAll(returnPossibleWords(string.substring(1,length)  }
}

*pseudocode ;)
On 21 September 2017 at 14:44, IdiosApps<EMAIL_ADDRESS>wrote:

Some pretty juicy recursion code PM'd by Daniel:
Set returnPossibleWords(String fullWord){
Set theSet=emptySet
if(fullWord is a word){
theSet.add(fullWord)
}
if(length>1){
Set.addAll(returnPossibleWords(string.substring(0,length-1)
Set.addAll(returnPossibleWords(string.substring(1,length) }
}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/danielt998/HanziToAnki/issues/57#issuecomment-331160714,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOmv5GZT91POH3psIX0YS8m6FXaWLTguks5skmhRgaJpZM4PfGny
.

Works. Will push commits shortly.

worth adding here that 国人 is also a valid word, so this is a perfect example


Genepelts patch 1

Commit

@genepelts First stage of verification passed, official domain is mycleschool.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://mycleschool.org/schools/invictus-high-school/

@genepelts Thank you for your patience while waiting for a review and processing your request. Pull request merged.


[cmake-tools] option to disable automatic rebuild

I am using [vs-code] cmake tools to build a CXX project. In order to save compile time every time I switch git branch or cmake variant, I set up my project to use a different build folder for git branches, compilers, and build types. This gives me something like this (settings.json) :
"cmake.buildDirectory": "${workspaceFolder}/build/${command:git-branch-name.getName}/${buildKit}/${buildType}"

This works perfectly.
note : git-branch-name.getName is a home made command.
My problem is that every time I switch branch, or I select a new variant (Debug / Release), although the build folder is changed accordingly, and a valid cmake cache is present in the target build folder, cmake tools will still decide to delete all cmake cache and start a rebuild process, which negates all my efforts to setup a smarter build folder hierarchy.
Hence I'd like to be able to disable this behavior (automatic rebuild on anything).
This would save me a lot of time at work.
Thanks in advance.

/extcpp


"Next" link in english welcome page links to chinese page

To reproduce:

Go to https://substrate.dev/substrate-collectables-workshop/#/README
Click next at the bottom of the page, directs to chinese welcome page
Click next again, redirects to japanese

Ideally, the "next" button would link to https://substrate.dev/substrate-collectables-workshop/#/0/introduction instread.

Nice catch


Could not resolve com.jetbrains.intellij.rider:riderRD:2022.2

I am try request https://www.jetbrains.com/intellij-repository/snapshots/com/jetbrains/intellij/rider/riderRD/2022.2/riderRD-2022.2.pom

i find a methods to solve

Could you clarify how you came up with this? It's not something that we know of.

maybe china network can't access this https://www.jetbrains.com/intellij-repository/snapshots/com/jetbrains/intellij/rider/riderRD/2022.2/riderRD-2022.2.pom,so I find a same pom file in mvnrepository.com  ,and download it, copy the file download url and add this url to build.gradle, final it work

@foxjojo, does www.jetbrains.com works for you?


Release/0.1.0

Release Note
0.1.0
Features

api(thread): store externally created thread (#3)
api(message): store externally created message (#4)

Bug Fixes

normalize unicode characters and escape sequences (#8, #9)
fix type (#5)

Documentation

readme: update README.md (#6) (cfb986d)
tools: add thread tools script (#7)

Thank you for review! @platfowner now merge and release to pypi.


Can we use GPU inference?

Thank you for such a great repo. I was wondering if we can use GPU inference for text generation?

Not at the moment, issue tracking it here https://github.com/ggerganov/ggml/issues/230


[Transfer] Update Turkish localization resources

Hi, @Taiizor. I'm a member of the FluentHub team. I appologize for telling that we controls localization resources in Crowdin which means that we no longer accept a PR that updates localization resources by editing resx files.
And we have a problem merge conflicts in https://github.com/FluentHub/FluentHub/pull/310, so, for now also Crowdin doesn't work well. let us tell you if we resolved that problem and Crowdin works fine.

/azp run

/azp run

Thank you!


Apply errors after running set multiple field values and validate

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 9 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3718

Relevant Lines:
3718

💛  - Coveralls


Component Refactor: Remove jQuery from forms/Checkbox.vue

Detailed Description
While proofing out #5108, I've encountered a jQuery dependency in components/form/Checkbox.vue that doesn't look like it's required.

Closing in favor of #5070


Linux build with python3 wrapper error: set_target_properties Can not find target to add properties to: _libsbol

Following these instructions: https://synbiodex.github.io/libSBOL/installation.html#build_from_source for Debian/Ubuntu. For linux, there's no pip install for pySBOL so I'm trying to build the python wrapper from source.
I am using Linux Mint 18.1 64-bit, and Python 3.5.2 (Anaconda 4.2.0)

In cmake-gui, with SBOL_BUILD_PYTHON3 set to false, I can Configure, Generate, and make install with no errors.

With SBOL_BUILD_PYTHON3 set to true, when click the "Configure" button, the output is:

JsonCpp_INCLUDE_DIR: /usr/include/jsoncpp
LIBXSLT_INCLUDE_DIR: /usr/include/libxslt

Configuring for x64
COMPILE_DEFINITIONS = SBOL_BUILD_PYTHON3;RAPTOR_STATIC
FOUND PYTHON = TRUE at /usr/lib/x86_64-linux-gnu/libpython3.5m.so
PYTHON INCLUDE DIRS = /home/ian/anaconda3/include/python3.5m
FOUND PYTHON VERSION 3.5.2
CMake Error at wrapper/CMakeLists.txt:227 (set_target_properties):
  set_target_properties Can not find target to add properties to: _libsbol

CMake Warning (dev) at wrapper/CMakeLists.txt:228 (add_custom_command):
  Policy CMP0040 is not set: The target in the TARGET signature of
  add_custom_command() must exist.  Run "cmake --help-policy CMP0040" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  No TARGET '_libsbol' has been created in this directory.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at wrapper/CMakeLists.txt:230 (add_custom_command):
  Policy CMP0040 is not set: The target in the TARGET signature of
  add_custom_command() must exist.  Run "cmake --help-policy CMP0040" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  No TARGET '_libsbol' has been created in this directory.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at wrapper/CMakeLists.txt:232 (add_custom_command):
  Policy CMP0040 is not set: The target in the TARGET signature of
  add_custom_command() must exist.  Run "cmake --help-policy CMP0040" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  No TARGET '_libsbol' has been created in this directory.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at wrapper/CMakeLists.txt:234 (add_custom_command):
  Policy CMP0040 is not set: The target in the TARGET signature of
  add_custom_command() must exist.  Run "cmake --help-policy CMP0040" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  No TARGET '_libsbol' has been created in this directory.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at wrapper/CMakeLists.txt:236 (add_custom_command):
  Policy CMP0040 is not set: The target in the TARGET signature of
  add_custom_command() must exist.  Run "cmake --help-policy CMP0040" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  No TARGET '_libsbol' has been created in this directory.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at wrapper/CMakeLists.txt:238 (add_custom_command):
  Policy CMP0040 is not set: The target in the TARGET signature of
  add_custom_command() must exist.  Run "cmake --help-policy CMP0040" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  No TARGET '_libsbol' has been created in this directory.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at wrapper/CMakeLists.txt:240 (add_custom_command):
  Policy CMP0040 is not set: The target in the TARGET signature of
  add_custom_command() must exist.  Run "cmake --help-policy CMP0040" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  No TARGET '_libsbol' has been created in this directory.
This warning is for project developers.  Use -Wno-dev to suppress it.

Building python wrappers requires SWIG.  Have you installed SWIG?

On Aug 11, 2017, at 11:33 installation.html#build_from_source for Debian/Ubuntu. For linux, there's no pip install for pySBOL so I'm trying to build the python wrapper from source.
I am using Linux Mint 18.1 64-bit, and Python 3.5.2 (Anaconda 4.2.0)
In cmake-gui, with SBOL_BUILD_PYTHON3 set to false, I can Configure, Generate, and make install with no errors.
With SBOL_BUILD_PYTHON3 set to true, when click the "Configure" button, the output is:
JsonCpp_INCLUDE_DIR: /usr/include/jsoncpp
LIBXSLT_INCLUDE_DIR: /usr/include/libxslt
Configuring for x64
COMPILE_DEFINITIONS = SBOL_BUILD_PYTHON3;RAPTOR_STATIC
FOUND PYTHON = TRUE at /usr/lib/x86_64-linux-gnu/libpython3.5m.so
PYTHON INCLUDE DIRS = /home/ian/anaconda3/include/python3.5m
FOUND PYTHON VERSION 3.5.2
CMake Error at wrapper/CMakeLists.txt:227 (set_target_properties):
set_target_properties Can not find target to add properties to: _libsbol
CMake Warning (dev) at wrapper/CMakeLists.txt:228 (add_custom_command):
Policy CMP0040 is not set: The target in the TARGET signature of
add_custom_command() must exist.  Run "cmake --help-policy CMP0040" for
policy details.  Use the cmake_policy command to set the policy and
suppress this warning.
No TARGET '_libsbol' has been created in this directory.
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at wrapper/CMakeLists.txt:230 (add_custom_command):
Policy CMP0040 is not set: The target in the TARGET signature of
add_custom_command() must exist.  Run "cmake --help-policy CMP0040" for
policy details.  Use the cmake_policy command to set the policy and
suppress this warning.
No TARGET '_libsbol' has been created in this directory.
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at wrapper/CMakeLists.txt:232 (add_custom_command):
Policy CMP0040 is not set: The target in the TARGET signature of
add_custom_command() must exist.  Run "cmake --help-policy CMP0040" for
policy details.  Use the cmake_policy command to set the policy and
suppress this warning.
No TARGET '_libsbol' has been created in this directory.
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at wrapper/CMakeLists.txt:234 (add_custom_command):
Policy CMP0040 is not set: The target in the TARGET signature of
add_custom_command() must exist.  Run "cmake --help-policy CMP0040" for
policy details.  Use the cmake_policy command to set the policy and
suppress this warning.
No TARGET '_libsbol' has been created in this directory.
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at wrapper/CMakeLists.txt:236 (add_custom_command):
Policy CMP0040 is not set: The target in the TARGET signature of
add_custom_command() must exist.  Run "cmake --help-policy CMP0040" for
policy details.  Use the cmake_policy command to set the policy and
suppress this warning.
No TARGET '_libsbol' has been created in this directory.
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at wrapper/CMakeLists.txt:238 (add_custom_command):
Policy CMP0040 is not set: The target in the TARGET signature of
add_custom_command() must exist.  Run "cmake --help-policy CMP0040" for
policy details.  Use the cmake_policy command to set the policy and
suppress this warning.
No TARGET '_libsbol' has been created in this directory.
This warning is for project developers.  Use -Wno-dev to suppress it.
CMake Warning (dev) at wrapper/CMakeLists.txt:240 (add_custom_command):
Policy CMP0040 is not set: The target in the TARGET signature of
add_custom_command() must exist.  Run "cmake --help-policy CMP0040" for
policy details.  Use the cmake_policy command to set the policy and
suppress this warning.
No TARGET '_libsbol' has been created in this directory.
This warning is for project developers.  Use -Wno-dev to suppress it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi @IanLondon,
Sorry for the problem you are having. One other culprit might be CMAKE_INSTALL_PREFIX. Have you changed this value to some other directory? The default directory might require elevated permission which CMake does not have. The solution would be to point said value to some other directory (e.g. /home/username/libSBOL) and build the libraries there.

I changed lines 227-241 of wrapper/CMakeLists.txt with _libsbol -> _libsbol64_3. EG:
set_target_properties(_libsbol64_3 PROPERTIES OUTPUT_NAME "_libsbol")
            add_custom_command(TARGET _libsbol64_3 PRE_BUILD
                               COMMAND cp -r ${CMAKE_CURRENT_SOURCE_DIR}/__init__.py ${CMAKE_INSTALL_PREFIX}/wrapper/${PYSBOL_TARGET_DIR})
            add_custom_command(TARGET _libsbol64_3 PRE_BUILD
                               COMMAND cp -r ${CMAKE_CURRENT_SOURCE_DIR}/CRISPR_example.py ${CMAKE_INSTALL_PREFIX}/wrapper/${PYSBOL_TARGET_DIR})
            add_custom_command(TARGET _libsbol64_3 PRE_BUILD
                               COMMAND cp -r ${CMAKE_CURRENT_SOURCE_DIR}/sbol.py ${CMAKE_INSTALL_PREFIX}/wrapper/${PYSBOL_TARGET_DIR})
            add_custom_command(TARGET _libsbol64_3 PRE_BUILD
                               COMMAND cp -r ${CMAKE_CURRENT_SOURCE_DIR}/unit_tests.py ${CMAKE_INSTALL_PREFIX}/wrapper/${PYSBOL_TARGET_DIR})
            add_custom_command(TARGET _libsbol64_3 PRE_BUILD
                               COMMAND cp -r ${CMAKE_CURRENT_SOURCE_DIR}/test/* ${CMAKE_INSTALL_PREFIX}/wrapper/${PYSBOL_TARGET_DIR}/test)
            add_custom_command(TARGET _libsbol64_3 POST_BUILD
                               COMMAND cp -r ${CMAKE_SWIG_OUTDIR}/libsbol.py ${CMAKE_INSTALL_PREFIX}/wrapper/${PYSBOL_TARGET_DIR})
            add_custom_command(TARGET _libsbol64_3 POST_BUILD
                               COMMAND cp -r ${CMAKE_SWIG_OUTDIR}/_libsbol.so ${CMAKE_INSTALL_PREFIX}/wrapper/${PYSBOL_TARGET_DIR})

Now I can "Generate" in cmake gui. But make install fails with
[ 91%] Linking CXX shared module ../../release/wrapper/_libsbol.so
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libraptor2.a(raptor_general.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libraptor2.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
wrapper/CMakeFiles/_libsbol64_3.dir/build.make:111: recipe for target '../release/wrapper/_libsbol.so' failed
make[2]: *** [../release/wrapper/_libsbol.so] Error 1
CMakeFiles/Makefile2:160: recipe for target 'wrapper/CMakeFiles/_libsbol64_3.dir/all' failed
make[1]: *** [wrapper/CMakeFiles/_libsbol64_3.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

This might be a shared libraries issue?? From my CMakeCache.txt:
//Dependencies for the target
_libsbol64_3_LIB_DEPENDS:STATIC=general;/usr/lib/x86_64-linux-gnu/libpython3.5m.so;general;/usr/lib/x86_64-linux-gnu/libraptor2.a;general;/usr/lib/x86_64-linux-gnu/libcurl.so;general;/home/ian/anaconda3/lib/libxslt.so;general;sbol64;

//Dependencies for the target
sbol64_LIB_DEPENDS:STATIC=general;/usr/lib/x86_64-linux-gnu/libraptor2.a;general;/usr/lib/x86_64-linux-gnu/libcurl.so;general;/home/ian/anaconda3/lib/libxslt.so;general;/usr/lib/x86_64-linux-gnu/libjsoncpp.a;

Ah, yes. The last issue you are having is due to some static libraries registered at linux package manager not complied with PIC support which is necessary when you are trying to compile a shared (Python) library out of them. For now, we suggest you to compile shared libraries (using SBOL_BUILD_SHARED) while we solve this issue.

Commit bdedf26148890946fc6f2d738496f50b4e4e2ea9 Fixes the issue with configuration error on Linux using Python 3.

Second issue merged with https://github.com/SynBioDex/libSBOL/issues/173

We also encountered some problems due to using Anaconda libraries instead of native Linux libraries, but we got it to compile in the end.
It would be awesome if we could package pysbol as Conda distributions, but that's probably difficult on linux
Sent from my iPhone

On Aug 11, 2017, at 10:11 PM, Kiri Choi<EMAIL_ADDRESS>wrote:
Ah, yes. The last issue you are having is due to some static libraries registered at linux package manager not complied with PIC support which is necessary when you are trying to compile a shared (Python) library out of them. For now, we suggest you to compile shared libraries (using SBOL_BUILD_SHARED) while we solve this issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


fi.json

Updated strings and some other cleaning.

Thanks, I commited it manually as there was some issues with commas.
Please check if everything is correct on v1.5.10


Clarifying some confusing explanations for limiting cpus resource.

Proposed changes
In the current version of the docs, there are two places in which the explanation given for limiting cpus resources in docker-compose format is confusing. It is possible to understand them as a ratio of total CPU power of the machine instead of a ratio of relative to one CPU core.
The detailed explanations in the docker-compose format documentation are not confusing, but someone reading just the tutorials may be confused and not understand why their service is underpowered relative to their specifications.
I've tried to make it less confusing while not adding too much text.

Deploy preview for docsdocker ready!
Built with commit 7753a6cd5aba60578d1eba1f5b24c8aea2f2c903
https://deploy-preview-7416--docsdocker.netlify.com

Good to go


Auto Swap overwrites slot specific app settings

We have a production slot with an ASPNETCORE_ENVIRONMENT = "Production" in the app service app settings. We have also set that setting to be a slot setting. We have a staging slot that has ASPNETCORE_ENVIRONMENT ="Staging" with auto swap turned on. We deploy from an Azure Devops release pipeline into the staging slot. We do this so the code can be warmed up and then it gets auto swapped into production. What we've found is when the auto swap occurs the ASPNETCORE_ENVIRONMENT gets changed from "Production" to "Staging". This should not happen because it is set as a slot setting in the production slot. This does not happen with a manual swap.

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

ID: f6e09089-1ae2-8943-5ce2-9d48f458c81f
Version Independent ID: ba780cba-f604-b0a4-a81a-23c7d2384762
Content: Set up staging environments - Azure App Service
Content Source: articles/app-service/deploy-staging-slots.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@TheSwilliam Thanks for the feedback! We are currently investigating and will update you shortly.

@TheSwilliam Thanks for reaching here! Could you please send an email to AzCommunity[at]Microsoft[dot]com referencing this issue, we would like to work closer with you on this matter.


TiCDC can do GC in the cloud object storage automatic by configuration

What did you do?
create a changefeed ,and set the destination of the sink to S3.
What did you expect to see?
The files on s3 can be removed when the data have been consumed after some days.
What did you see instead?
The files have to be removed by the consumer
Versions of the cluster
6.5.5 & 7.1.2

/assign @CharlesCheung96

/remove-label type/bug

/label enhancement

Closed by #10097


#29 Update for Senzing Python SDK package

Pull request questions
Which issue does this address
Issue number: #29

#28


Support for .bashrc (or custom file extensions)

First of all thanks for the great plugin :thumbsup:
Unfortunately, I don't found how to activate highlight in .bashrc :disappointed:
Maybe a good idea add support for activation for the current opened file or custom file extensions.
Thanks!

If anyone needs to take workaround:

Is there any reason why .bashrc, .bash_profile, .bash_aliases, etc. aren't default registered patterns for this plugin?


Add allow skip to ChoiceState

I like that idea! I'm going to merge for now and if we need it we can implement it that way


Return different geohash level

Dear sir, could I return different geohash level (precision) in one run? Beside it, could you tell me more details about your algorithm? How can you find the row bounding? Does it look like the image below? Another problem that I still don't understand is that how you build the row hash (the size, the offset)?
Thanks in advance!

ah I've test your streaming.js with massive dataset and it return an error: Each LinearRing of a Polygon must have 4 or more Positions. Any problem with it ???

The algorithm only generates a set based on a single precision level.
The algorithm essentially slices a row off of the poly and streams back the hashes that constitute that row based on the options provided (intersection, inside, etc).
Row bounding is found by taking a slice off the polygon for the current row and using the extent coordinates of that resulting poly.
It does not function like that image, no.
rowHash if i understand your question is just the first hash of the current row, because all hashes in the same row share the same latitudes. Simply found by taking the last one and getting the southerly neighbour which in this case is just a method of the geohash module being used.
If you throw your polygon that you tested with up on http://geojson.io i'll take a look for you.

I did end up doing something similar to that image once, using the results of this library.
I think i just streamed the resulting hashes into a leveldb using the hash as the key, and then iterated through to reduce the hashes when there were 32 hashes sharing a common parent hash, they're all sorted this way so it's easy. A little brute force, but at least it doesn't require rewriting the algorithm.

I think I've got your idea. So the basic concept is that you divide the polygon to several rows, and with each row you build its hash. But I think it works well with single polygon, so what's happen if we have more than 1 million polygon whose latitude is same with each other about 75%. You have to recalculate the row lots of times. Do I know right?
I think that with your idea, we can pre-process by dividing all polygon to several bins one time only and save it in any buffer, stack or queue. Any idea?
About the polygon that I tested, I took it from your source code : /examples/streaming.js (var massive)

It doesn't divide the polygon into several rows first, it only slices a row off the main polygon on each iteration and then generates the hashes for that row.
Not sure in what case you'd be dealing with a million polygons sharing the same latitude 75% of the time? This certainly doesn't sound like a common use case worth optimizing for in a module meant to be more general.
This was designed to be more efficient in that you can stream in polygons from a file and stream out hashes, as opposed to preprocessing an arbitrary amount (millions) of polygons and then having to keep them in memory.

Thanks for the bug on the massive poly, will take a look.

Okay, thanks for your explaination, now I understand. But as I ask you in the first post, could I return different geohash level in one run?

Unfortunately no, not with how this is implemented.
But you can just store your results of the run, sort them. Then iterate through and compare their parent hash. So if you ran it at precision 7, compare their 6th precision. If 32 of them match you can delete all 32 and replace them with a single precision 6.


Single idle queue

[x] Use a single document-wide queue
[x] Render on requestAnimationFrame to make sure the DOM is ready to take on more work
[x] Migrated from Uglify to Terser
[x] Fix resolving issues in tests
[x] Update README to reference requestAnimationFrame

Resolves #8 and #7

@emimuresan thank you for helping complete this!

CircleCi shows that tests are ok, not sure why it's failing to report that here


Ensure skyplot is linked

this was merged as part of @chbrandt branch and finally as part of https://github.com/Quansight/lsst_dashboard/pull/137


Automate Shield Augmentation

For this it might be worth choosing a specific shield to alter too? Two-shield wielding maniacs are very likely to make use of Shield Augmentations.

The problem with that is that you have to make choices on item creation, but you may want to move the augmentation to another shield later.

We don't generally have good automation for dual shield weirdos so I kind of just ignored them

I guess that part is a hurdle that could be crossed if attachments are expanded to support augmentations and have roll options to leverage.


elasticsearch chart optimizes the discovery.seed_hosts Settings

Chart version: 8.5.1
Kubernetes version:  v1.23.16
Kubernetes provider: local
Helm Version: v3.11.0
When the number of replicas reaches 1, the following will be printed frantically:
This node is a fully-formed single-node cluster with cluster UUID [p7UZF7CJQBOg3FZy5KSC5w], but it is configured as if to discover other nodes and form a multi-node cluster via the [discovery.  seed_hosts=[elasticsearch-headless]] setting.   Fully-formed clusters do not attempt to discover other nodes, and nodes with different cluster UUIDs cannot belong to the same cluster.

I need to remove the discovery.seed hosts environment variable，It is recommended to optimize chart. Here is a simple solution，modify the statefulset.yaml file.
          {{- if gt (int .Values.replicas) 1 }}
          - name: discovery.seed_hosts
            value: "{{ template "elasticsearch.masterService" . }}-headless"
          {{- end }}

Same issue on my side. As a workaround, we're using kustomize (through helmfile) with:
  # Suppress warning about node discovery in a single-node cluster.
  # The discovery.seed_hosts env var is set when ES version is < 7,
  # unfortunately it cannot be customized through chart values.
  strategicMergePatches:
  - apiVersion: apps/v1
    kind: StatefulSet
    metadata:
      name: elasticsearch-master
    spec:
      template:
        spec:
          containers:
          - name: elasticsearch
            env:
            - name: discovery.seed_hosts
              $patch: delete


DeepLIFT with a multiclass classifier

I'm trying to run DeepLIFT on a multiclass classifier.  The model is trained in keras and outputs binary classifications for two classes.  I've been able to get DeepLIFT to work with DeepExplain to work for a single class, but I can't figure out how to get a multiclass classifier to work in the DeepExplain framework.  Can you provide any examples or some guidance on what might be different between the two cases?
  I had the shape of the y's matrix wrong and didn't realize it.  I looked at the shape of the y matrix in the CNN MNIST tutorial and realized my mistake.


clean up templates, use go-chi, discord markdown

Needs to be merged with #23
main.go/getGuild, main.go/guild should go in guild.go (or at least a discord.go)
main.go/getForum, main.go/forum, main.go/ForumChannel should go in forum.go (or at least a discord.go)
main.go/messagePreview, main.go/mediaPreview, main.go/plainAttachment should go in message.go (or at least a discord.go)


Initialise git repo

What
When we create a kit for a user we don't currently initialise a git repository, that means that most of our users will need to do that for themselves. They're likely to do so after making some of their own changes which will make it harder for them to look back and see what changes they made vs the kit that was generated for them.
Why
It will save users from needing to remember to initialise it themselves, this is something I believe most users would benefit from and there is very little downside for users who don't use the functionality
Who needs to work on this

Developer

Who needs to review this

Developer

Done when

[ ] Git is initialised by default with an initial commit
[ ] Users can opt-out of git with a flag like --version-control=none

Questions

Does this need to be documented? If yes, where should it be documented?
If they don't have Git installed, should we warn them that they don't?

Final decision needed whether this is for v13 or later.
Not entirely sure whether this is a breaking change.

Would this be expected behaviour? Apparently some other products do this e.g. React. @nataliecarey please document some examples of where this happens


[SC] Set single state field on contract via reflection

In Contract.cs we set 9 state fields on an uninitialized contract object via reflection. Testing reveals this to be two orders of magnitude slower than setting a single field due to the additional calls to field.SetValue.
To fix this, we can set a single field on the contract object and change the fields to properties that proxy to the state object, eg. public IPersistentState PersistentState => this.smartContractState.PersistentState.

One issue with this approach is that the cost to access these objects (PersistentState, Serializer, etc) becomes more expensive as accessing a property requires a method call.


Support for ecs describe_task_definition

Changes:

Refactor of existing method fetch_task_definition
Response added for describe_task_definition
Test added for method describe_task_definition

Coverage decreased (-0.02%) to 94.263% when pulling b9c081cd69299919731d82572cf730897988c6a5 on paulci:describe_task_definition into 05c6fc673896c9a500bf5cb7f6fa34510db1d50b on spulec:master.

If you can update the branch so it can merge cleanly, I'll be happy to pull this in.

@spulec Should be good now.

Coverage decreased (-0.1%) to 94.185% when pulling 258a17cb8d64ff8912d9ec93289bab735637c3b4 on paulci:describe_task_definition into 05c6fc673896c9a500bf5cb7f6fa34510db1d50b on spulec:master.

Coverage decreased (-0.2%) to 94.103% when pulling 258a17cb8d64ff8912d9ec93289bab735637c3b4 on paulci:describe_task_definition into 05c6fc673896c9a500bf5cb7f6fa34510db1d50b on spulec:master.

Great, thanks!


Monitor randomly repeats characters

I'm having trouble with make monitor as randomly characters repeats.
Im runing make monitor on Win10, latest toolchain and latest IDF with CONFIG_MONITOR_BAUD=115200
BTW: I have tried other terminals like PuTTY and others .. and they all seems to work fine
What can be cause ?
Regards
Boris Makovecki
Hello world!
This is ESP32 chip with 2 CPU cores, WiFi/BT/BLE, silicon revision 1, 4MB external flash
Restarting in 10 seconds...
Restarting in 99 seconds...
Restarting in 8 secconds...
Restarting in 7 seconds...
Restarting in 6 seconds...
Restarting in 5 seconds...
Restarting in  4 seconds...
Restarting inn 3 seconds...
Restarting in 2 seconds...
Restarting in 1 seconds...
Restarting in 0 seconds...
Restarting now.

https://github.com/espressif/esp-idf/commit/3e83cfd77c63d36bf3d3776b1dcb30130190406b

Yes, as @negativekelvin indicates this was a regression when fixing the crashing bug #1136. Should be fixed in master now. Thanks for taking the time to report it.

I'm confirming that issue is solved now. Thanks.


fix(language-core): generate codes for :key prop on v-for and v-if node

I created a fake component to generate codes since IF_BRANCH nodes are not valid elements. Not sure if it is the best approach.
fixes #4539

I temporarily changed the issue to a draft because we should wait for https://github.com/vuejs/core/issues/11322 to be fixed by the upstream. Forcibly handling unrecognized props in language tools will make the code we need to maintain too complex.


renderExternal() not firing

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: >= 6.0.0

Platform/Target and Browser Versions: Chrome 84.0.4147.135 on Windows 10

What you did
Updated from Version 5.x to 6.x
Expected Behavior
Virtual scroll callback "renderExternal()" to fire.
Actual Behavior
renderExternal is not firing anymore after updating from 5.x to a version >= 6.0.0
My swiper inititilization looks like this (didn't change that, just updated from 5.x to 6):
this.swiper = new Swiper(
                    this.shadowRoot.querySelector('.swiper-container') as HTMLElement,
                    {
                        initialSlide: 0,
                        watchOverflow: true,
                        navigation:
                            {
                                nextEl: this.shadowRoot.querySelector('.swiper-button-next') as HTMLElement,
                                prevEl: this.shadowRoot.querySelector('.swiper-button-prev') as HTMLElement,
                                disabledClass: 'swiper-button-disabled',
                                hiddenClass: 'no-swiper-button'
                            },
                        slidesPerView: 1,
                        on: {
                            slideChange: () => {

                            }
                        },
                        virtual: {
                            slides: this.swiperSpots,
                            renderExternal: (data: VirtualData) => {
                                this.virtualData = data;
                            },
                            addSlidesBefore: 4,
                            addSlidesAfter: 4
                        }
                    }
                );

It was working as expected before Upgrade. When downgrading swiper back to 5.x, renderExternal is working again.
Thank you!

Make sure you are using bundle version of Swiper or you need to install Virtual component if you use core version (which v6 uses by default)

Thank you.
For anybody else not finding it in the manual:
Use the static "use" method on Swiper to provide the virtual component:
Swiper.use([Virtual]);


Provide custom grpc/http client for DaprClientBuilder as in #683

Signed-off-by: Subash Gamage<EMAIL_ADDRESS>Description
This is to Enhance DaprClientBuilder to override gRPC and Http Client. Complete description and reference JIRA can be found at https://github.com/dapr/java-sdk/issues/683
This includes changes in DaprClientBuilder class to accept a managed grpc client as well as ok http client.
Issue reference
https://github.com/dapr/java-sdk/issues/683
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

@artursouza  I updated the PR with new changes and reverted the old commit. New change is minimal as  I provided a easy way to extend the builder class. Because maintaining a two Builder classes is hard to maintain as code is duplicated.
Let me know your thoughts. And I did not touch http builder yet as you said okhttp will go away. Once we have that finalized, I will add capability to override http client as well.

Looks like it didn't like my reverse commit. I followed
git checkout
git commit --amend --no-edit --signoff
git push --force-with-lease
@mukundansundar  Is it looks good now ? (How to make sure DCO is all set on a given pull request ?)

@subash89 Can you rebase all your commits into a single commit ? Also could you fix the check style violations in the PR?

@mukundansundar
If you mean to say squash commits, I cannot squash them into one as I already pushed them to the branch. If not can you suggest how can I do that ? Or I can do a new PR with only this change.
This is my first PR, where to find checkstyle report inorder to fix those.

@artursouza  meantime I update the PR, can you pls suggest a way to build this on a mac or some easy way to find out what are the checkstyle violaitons are.

@artursouza Updated the PR. please let me know.

@artursouza  any help appreciated.

@artursouza any help appreciated.

@subash89 Can you merge with latest master resolve conflicts and see if you are able to build it with the changes in master?

@mukundansundar main problem I am having is to build this in a mac?
[ERROR] Failed to execute goal com.github.os72:protoc-jar-maven-plugin:3.11.4:run (default) on project dapr-sdk-autogen: Error extracting protoc for version 3.13.0: Unsupported platform: protoc-3.13.0-osx-x86_64.exe -> [Help 1]

@mukundansundar main problem I am having is to build this in a mac?
[ERROR] Failed to execute goal com.github.os72:protoc-jar-maven-plugin:3.11.4:run (default) on project dapr-sdk-autogen: Error extracting protoc for version 3.13.0: Unsupported platform: protoc-3.13.0-osx-x86_64.exe -> [Help 1]

Does this happen with the latest changes from master too?

Yes in master too

Can this be build on a linux box ?

Can this be build on a linux box ?

the build workflow is on a linux runner only

Please commit the changes for Managed channel to the release branch. With current version it going with default config.

@subash89 - mind resolving the conflicts?

gentle ping @subash89


Updated Vagrantfile to conform to new FIT system

Recent changes to FIT broke the Vagrant installer.
These changes fix Vagrantfile script.
NOTES:
lines 37-38: the echo at the end of the line makes sure that each line returns a zero exitcode. Vagrant stops when a non-zero exit code is detected.
line 33: added package required for Python modules
@hohene @jimturnquist @johren @larry-dean

Originally the "fit_tests" was removed in your first commit.  Is there a reason that it was put back in?

This PR needs another reviewer.

@johren Needs a separate directory for the test loader or else it will fail to clone the product repo, so fit_tests is back. This has been a very difficult PR because I haven't been able to test it in weeks due to the volume of disruptive changes and chicken-and-egg problems. I've submitted and removed it several times. There will be more revisions to this file coming. I have a story to make it consume RackHD Vagrant boxes. But its broken now and I'm just trying to get it working.

Okay, let me know when it is ready to review.

@johren Finally did get a successful test of this PR thanks to the merge of #605


Feat: Clean up transfer visibility by status - 491

This PR addresses the requirement to clean up the visibility of transfers based on their status, ensuring that transfers are only visible to the appropriate parties (transferor, transferee, government) at the correct times.

Closes #491

Great solution to the visibility issue. We can use this moving forward when we develop the other transaction types. Only minor comments needed. gj!

Thanks a lot for reviewing my code and providing feedback. I asked a question and would appreciate hearing your thoughts on it.


LICENSE incompatibility for cloudabi and sha1 deps

cloudabi has the "BSD-2-clause" license, and sha1 has the "BSD-3-clause" license.
Those licenses are quite close to MIT, except the "BSD"-type licenses don't allow sub-licensing which is arguably? a deal-breaker for licensing this repo as "MIT".
ref: https://opensource.stackexchange.com/questions/217/what-are-the-essential-differences-between-the-bsd-and-mit-licences
ref: https://dwheeler.com/essays/floss-license-slide.html @@ http://archive.today/4QHQ0
ref: https://github.com/dtolnay/rust-faq#why-a-dual-mitasl2-license
Thoughts about solutions?
Replace the dependencies with alternative, license-compatible versions?
Ask the authors to explicitly allow uutils to sub-license the crates as "MIT"?

$ cargo lichking check --all
 ERROR cargo_lichking::check > uutils cannot include package cloudabi, license BSD-2-Clause is incompatible with MIT
 ERROR cargo_lichking::check > uutils cannot include package sha1, license BSD-3-Clause is incompatible with MIT
 ERROR cargo_lichking::check > factor cannot include package cloudabi, license BSD-2-Clause is incompatible with MIT
 ERROR cargo_lichking::check > hashsum cannot include package sha1, license BSD-3-Clause is incompatible with MIT
 ERROR cargo_lichking::check > mktemp cannot include package cloudabi, license BSD-2-Clause is incompatible with MIT
 ERROR cargo_lichking::check > shred cannot include package cloudabi, license BSD-2-Clause is incompatible with MIT
 ERROR cargo_lichking::check > shuf cannot include package cloudabi, license BSD-2-Clause is incompatible with MIT
 ERROR cargo_lichking        > Incompatible license

$ cargo lichking list --all
CC0-1.0: dunce
MIT: advapi32-sys, ansi_term, arch, atty, base32, base64, basename, cat, chgrp, chmod, chown, chroot, cksum, clap, comm
, cp, cut, data-encoding, date, dircolors, dirname, du, echo, env, expand, expr, factor, false, fmt, fold, generic-arra
y, groups, hashsum, head, hostid, hostname, id, install, join, kernel32-sys, kill, libstdbuf, link, ln, logname, ls, mk
dir, mkfifo, mknod, mktemp, more, mv, nice, nix, nix, nl, nohup, nproc, number_prefix, numfmt, od, onig, onig_sys, past
e, pathchk, pinky, platform-info, printenv, printf, ptx, pwd, readlink, realpath, redox_syscall, redox_termios, relpath
, rm, rmdir, rust-ini, seq, shred, shuf, sleep, sort, split, stat, stdbuf, strsim, sum, sync, synstructure, tac, tail,
tee, term_grid, termion, termsize, test, textwrap, timeout, touch, tr, true, truncate, tsort, tty, uname, unexpand, uni
q, unlink, uptime, users, uucore, uutils, void, wc, who, whoami, wild, winapi, yes
BSD-2-Clause: cloudabi
BSD-3-Clause: sha1
ISC: rdrand
License specified in file (C:\Users\Roy\.cargo\registry\src\github.com-1ecc6299db9ec823\fuchsia-cprng-0.1.1\Cargo.toml\
LICENSE): fuchsia-cprng
Unlicense / MIT: aho-corasick, aho-corasick, byteorder, memchr, same-file, utf8-ranges, walkdir, winapi-util
MIT / Apache-2.0: backtrace, backtrace-sys, bit-set, bit-vec, bitflags, bitflags, block-buffer, byte-tools, cfg-if, chr
ono, cpp, cpp_common, cpp_macros, cpp_syn, cpp_synom, digest, either, failure, failure_derive, fake-simd, filetime, fnv
, getopts, glob, glob, half, hex, ioctl-sys, isatty, itertools, lazy_static, libc, md5, nodrop, num-integer, num-traits
, num_cpus, numtoa, quick-error, quote, rand, rand, rand, rand_core, rand_core, regex, regex-syntax, remove_dir_all, ru
stc-demangle, semver, semver-parser, sha2, sha3, syn, synom, tempdir, tempfile, thread_local, time, typenum, ucd-util,
unicode-width, unicode-xid, unix_socket, vec_map, walker, winapi, winapi-i686-pc-windows-gnu, winapi-x86_64-pc-windows-
gnu, xattr

For the sha1 crate, I'd replace it with the MIT/Apache2.0 licensed sha-1 by RustCrypto. The former was last updated two years ago--the latter only 3 months ago.

@rivy I'm not convinced BSD-2-clause and BSD-3-clause are actually incompatible with the MIT license. The references you provided don't seem to suggest incompatibility. The Stack Exchange answer even says "However, all these freedoms are implied by the BSD license, because all these activities can be considered 'use' and/or 'redistribution' of the software."
Although I am not a lawyer, I think we're fine.

Yeah, I agree with @0x326 Seems very unlikely that it will ever be an issue

I don’t think it will be an issue, but we should replace at least the sha1 crate.  I am tempted to drop the sha1 and sha2 crates and replace them with ring, but if we do we should probably drop the rand crate as well and switch to ring’s rand module.  ring also does not implement MD5, which, while understandable, is rather annoying for our purposes.  It also seems that SHA-3 isn’t available yet either.
I’m not sure how difficult it will be to drop cloudabi.  I’m still uncertain whether the license is truly incompatible, but If we can’t drop it (and determine that the license is indeed incompatible), asking them to sublicense the crate as MIT seems reasonable enough.

I am tempted to drop the sha1 and sha2 crates and replace them with ring

@Arcterus FYI, Brian Smith — the author of ring — has a tendency to yank unsupported versions from crates.io, which can be a giant pain for both project maintainers (who depend on ring), people wanting to use those projects, and people packaging them in Linux distros.

tendency to yank all but the latest version

Being vaguely involved in NSS (Brian used to be too), I think this is the right and recommended approach for crypto libraries...

That is good to know.  I suppose my main concern about that is that we may be forced to bump the minimum required version of Rust on our end.


Implement hidden class in ScriptServer to replace EditorX class being hidden.

Implements godotengine/godot-proposals#1047
This is the ScriptServer counterpart of #90765
This enables marking scripts as hidden for any ScriptServer. I have done the GdScript implementation (similar to @tool) but have yet to do the same for C# (never built or even used C# so might need some help with that).
For the GdScript syntax this is what I went for as a recommended syntax
@hide class_name CustomClass
extends RichTextLabel

but any place before class_name would work except for this
extends RichTextLabel
@hide class_name CustomClass

So I've added the C# implementation and separated the C# and Gdscript implementation into their own commits separate from the base one introducing the change in ScriptServer for easier reviewing (could be squashed later).
I'm not sure where to document the new C# attribute if someone could indicate the right place to put it ? (maybe it should be in the godot-docs repo?)

I'm not sure where to document the new C# attribute if someone could indicate the right place to put it ? (maybe it should be in the godot-docs repo?)

The XMLDoc in the C# files should be the equivalent to the documentation you added in @GDScript.xml. For additional documentation you could add it to godot-docs: GDScript reference: Registering named classes for GDScript and C# global classes for C#.

Hi there @ajreckof, my friend! I made a PR not knowing about yours.
I saw your code and it seems very complicated compared to my version. I don't know why we should bind the "hidden" property only to global classes, as it can simply be a boolean set the same way @tool sets is_tool to be true in scripts.

Why would you hide a script that is not a global class? Those are already not shown in the Add Node/Create Resource dialogs.


Cannot compile mono version on MacOS

Godot version: Master Branch Commit 56d44aaac96747d2311b11702598c2e65551f411
OS/device including version: MacOS Catalina 10.15.2. Mono JIT compiler version <IP_ADDRESS>.
Issue description: Cannot compile mono version because Dictionary<string, string> does not contain a definition for "Duplicate" method. File path on source code: modules/mono/editor/GodotTools/GodotTools/Export/ExportPlugin.cs, line 145.
Steps to reproduce: followed the usual scons commands from documentation to compile mono version.
Minimal reproduction project: compiling issue.
Here's a print of the error:

Try building with mono_glue=no and regenerating the glue.

@neikeq , I had compiled successfully with the mono_glue=no option. I don't know what the problem was exactly, but it is now compiling normally. I'm closing this issue.


Array trait is now public

This solves #3

Codecov Report

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

@@          Coverage Diff           @@
##           master      #4   +/-   ##
======================================
  Coverage    97.3%   97.3%
======================================
  Files           2       2
  Lines         853     853
======================================
  Hits          830     830
  Misses         23      23

Impacted Files
Coverage Δ

src/lib.rs
97.25% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


suggest to enable retry migrating the same slot and target shard

https://github.com/apache/kvrocks-controller/blob/2649b8f08c1bbc851509a4f182970d3294216def/store/cluster.go#L203C1-L205C3
in controller/cluster.go, method tryUpdateMigrationStatus, it may not get migrating_state or migrating_slot data when executing 'cluster info' cmd on a master node, then switch will select the default case, then the migrating_slot and target_shard_index in cluster info can not be updated any more. this will stop any slot migrate.
suggest to enable retry migrating the same slot and target shard,
	if cluster.Shards[sourceShardIdx].IsMigrating() || cluster.Shards[targetShardIdx].IsMigrating() { 		if !(cluster.Shards[sourceShardIdx].MigratingSlot == slot && cluster.Shards[sourceShardIdx].TargetShardIndex == targetShardIdx) { 			return consts.ErrShardSlotIsMigrating 		} 	}
let the cluster node can exec the 'clusterx migrate' cmd again.

@greatsharp Makes sense.


Problems in training customized datasets

Hi author, I read your paper and found the innovations in it to be great, while trying to train a customized dataset with the code you provided, the fake images generated during the testing phase were all pure black, my training set was structured as follows:
├── my_datasets
trainA (daytime RGB images)
trainB (nighttime IR images)
testA (testing daytime RGB images)
testB (testing nighttime IR images)
├── my_IR_edge_map
├── my_VIS_edge_map
I hope you can help point out where I went wrong in my training, I'd appreciate it!

Hi author, I read your paper and found the innovations in it to be great, while trying to train a customized dataset with the code you provided, the fake images generated during the testing phase were all pure black, my training set was structured as follows: ├── my_datasets trainA (daytime RGB images) trainB (nighttime IR images) testA (testing daytime RGB images) testB (testing nighttime IR images)
├── my_IR_edge_map ├── my_VIS_edge_map
I hope you can help point out where I went wrong in my training, I'd appreciate it!

Are the generated images from your training phase normal? If it is normal, the test phase needs to check that your test images are entered correctly, and then the test directory should contain only the following two folders:
├── test0 (empty folder)
├── test1 (testing nighttime IR images)

Hi author, I read your paper and found the innovations in it to be great, while trying to train a customized dataset with the code you provided, the fake images generated during the testing phase were all pure black, my training set was structured as follows: ├── my_datasets trainA (daytime RGB images) trainB (nighttime IR images) testA (testing daytime RGB images) testB (testing nighttime IR images)
├── my_IR_edge_map ├── my_VIS_edge_map
I hope you can help point out where I went wrong in my training, I'd appreciate it!

Are the generated images from your training phase normal? If it is normal, the test phase needs to check that your test images are entered correctly, and then the test directory should contain only the following two folders: ├── test0 (empty folder) ├── test1 (testing nighttime IR images)

Hi, my test set is fine, I just noticed that the gradient explodes at the 16th epoch, the loss is nan.My collective amount of data is very small, about 500 sheets, what parameters do I need to debug to prevent the gradient from exploding

Hi author, I read your paper and found the innovations in it to be great, while trying to train a customized dataset with the code you provided, the fake images generated during the testing phase were all pure black, my training set was structured as follows: ├── my_datasets trainA (daytime RGB images) trainB (nighttime IR images) testA (testing daytime RGB images) testB (testing nighttime IR images)
├── my_IR_edge_map ├── my_VIS_edge_map
I hope you can help point out where I went wrong in my training, I'd appreciate it!

Are the generated images from your training phase normal? If it is normal, the test phase needs to check that your test images are entered correctly, and then the test directory should contain only the following two folders: ├── test0 (empty folder) ├── test1 (testing nighttime IR images)

Hi, my test set is fine, I just noticed that the gradient explodes at the 16th epoch, the loss is nan.My collective amount of data is very small, about 500 sheets, what parameters do I need to debug to prevent the gradient from exploding

I suggest you train with the baseline model (i.e., ToDayGAN) once to see the performance, and then add the losses designed in the PearlGAN model one by one.


Building code with riscv32imc toolchain the execution is stucking

Building code with riscv32imc toolchain, the code is stucking in simulation cxxdemo and it is not stucking when built with the riscv32ic toolchain. Looks like there is some problem with the PCPI/Multiplication implementation.
Update: I noticed from objdump that mul, mulhu, div and divu instructions are introduced when compiled with riscv32imc tool-chain. So ENABLE_MUL is not only sufficient so you have to enable div too!
Questions is that what is the design principle of PicoRV32 CPU core that implements the RISC-V RV32IMC Instruction Set and best other way to debug this problem?

I found that some codes are not stucking when using mul, mulhu, div and divu. I analyzed and found that it could be some memory corruption in firmware that is introduced when using riscv32imc toolchain. I think ticket can be shelved or reference for someone who has faced same problem.


Support<EMAIL_ADDRESS>

🚀 Feature request
core-js 3.0.0 is released, but ng serve fails with error
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'core-js/es7/reflect' in 'C:\Work\frontend\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models'

With<EMAIL_ADDRESS>it's import 'core-js/proposals/reflect-metadata';
Workaround: Add this to your tsconfig.json:
{
  "compilerOptions": {
    "paths": {
      "core-js/es7/reflect": ["node_modules/core-js/proposals/reflect-metadata"],
      "core-js/es6/*": ["node_modules/core-js/es/*"]
    }
  }
}

Command (mark with an x)

- [ ] new
- [x] build
- [x] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

You can do that to resolve this issue: core-js Issue#412.
That configuration resolve this problem, but others appear, such as:
`ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es6/array'
ERROR in ./src/polyfills.ts
Module not found: Error: Can't resolve 'core-js/es6/date'` and so on...
In the version 3.0.0 of core-js, there are many changes, including in the path of some folders and files.

To fix this issue sooner, instead of upgrading to core-js@3 you just need to add core-js@2 to the dependencies of @angular-devkit/build-angular. Generally, it is a really bad practice to depend on a package which isn't neither in your dependendencies nor in your peerDependencies.
https://github.com/angular/angular-cli/blob/master/packages/angular_devkit/build_angular/package.json

Anyone working on Windows fix the issue mentioned here?
I applied the workaround but I still get the same error message

Nvm, I just had to add '../'

Copy paste version :)
"paths": {
      "core-js/es7/reflect": ["../node_modules/core-js/proposals/reflect-metadata"],
      "core-js/es6/*": ["../node_modules/core-js/es/*"]
    }

Copy paste version :)
"paths": {
      "core-js/es7/reflect": ["../node_modules/core-js/proposals/reflect-metadata"],
      "core-js/es6/*": ["../node_modules/core-js/es/*"]
    }

Does not work for me.

@alexfung888 Check paths. Maybe you need:
./node_modules/core-js/es/*
^ single dot

🚀 Feature request
core-js 3.0.0 is released, but ng serve fails with error
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'core-js/es7/reflect' in 'C:\Work\frontend\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models'

With<EMAIL_ADDRESS>it's import 'core-js/proposals/reflect-metadata';
Workaround: Add this to your tsconfig.json:
{
  "compilerOptions": {
    "paths": {
      "core-js/es7/reflect": ["node_modules/core-js/proposals/reflect-metadata"],
      "core-js/es6/*": ["node_modules/core-js/es/*"]
    }
  }
}

Command (mark with an x)
- [ ] new
- [x] build
- [x] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Work for me, today update Angular CLI lastest.
Thanks

Workaround doesn't works for me (nor with ./ in paths)

Update to lastest version doesn't work for me.

PS D:\Bitbucket\UserAdminUi> npm start

><EMAIL_ADDRESS>start D:\Bitbucket\UserAdminUi
> ng serve

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **

Date: 2019-04-10T02:42:51.009Z
Hash: 1f916d84e5e254e2dda6
Time: 7174ms
chunk {es2015-polyfills} es2015-polyfills.js, es2015-polyfills.js.map (es2015-polyfills) 5.03 kB [initial] [rendered]
chunk {main} main.js, main.js.map (main) 11.5 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 145 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.08 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 16.6 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 3.76 MB [initial] [rendered]

ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'core-js/es6/array' in 'D:\Bitbucket\UserAdminUi\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models'
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'core-js/es6/date' in 'D:\Bitbucket\UserAdminUi\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models'
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'core-js/es6/function' in 'D:\Bitbucket\UserAdminUi\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models'
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'core-js/es6/map' in 'D:\Bitbucket\UserAdminUi\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models'
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'core-js/es6/math' in 'D:\Bitbucket\UserAdminUi\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models'
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'core-js/es6/number' in 'D:\Bitbucket\UserAdminUi\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models'
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'core-js/es6/object' in 'D:\Bitbucket\UserAdminUi\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models'
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'core-js/es6/parse-float' in 'D:\Bitbucket\UserAdminUi\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models'
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'core-js/es6/parse-int' in 'D:\Bitbucket\UserAdminUi\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models'
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'core-js/es6/reflect' in 'D:\Bitbucket\UserAdminUi\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models'
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'core-js/es6/regexp' in 'D:\Bitbucket\UserAdminUi\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models'
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'core-js/es6/set' in 'D:\Bitbucket\UserAdminUi\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models'
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'core-js/es6/string' in 'D:\Bitbucket\UserAdminUi\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models'
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'core-js/es6/symbol' in 'D:\Bitbucket\UserAdminUi\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models'
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'core-js/es6/weak-map' in 'D:\Bitbucket\UserAdminUi\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models'
ERROR in<EMAIL_ADDRESS>Module not found: Error: Can't resolve 'core-js/es7/reflect' in 'D:\Bitbucket\UserAdminUi\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models'
i ｢wdm｣: Failed to compile.

@ericardezp version with the fix was not released yet

I can confirm that workaround didn't work for me and adding ./node_modules didn't work as well, but ../node_modules worked:
"baseUrl": ".",
"paths": {
      "core-js/es7/reflect": ["../node_modules/core-js/proposals/reflect-metadata"],
      "core-js/es6/*": ["../node_modules/core-js/es/*"]
}

Same!  It's for an old project from a tutorial though... I thought it was just dependencies.  I'm confused!

Only thing that worked for me was to delete node_modules and npm install again without any of the solutions added above.
Good luck 🤞

@Lirianna None of these solutions are working for me either. Did you update core-js to version 3 and also delete package-lock file then npm install? Or just update then delete node_modules then npm install?
I've even tried
"paths": {       "core-js/es7/reflect": ["core-js/proposals/reflect-metadata"],       "core-js/es6/*": ["core-js/es/*"] }
but I still get the error for import 'core-js/es7/reflect';

Confirming this solution is working with angular-cli at 7.3.8
"paths": {
"core-js/es7/reflect": ["node_modules/core-js/proposals/reflect-metadata"],
"core-js/es6/": ["node_modules/core-js/es/"]
}

@Lirianna None of these solutions are working for me either. Did you update core-js to version 3 and also delete package-lock file then npm install? Or just update then delete node_modules then npm install?
I've even tried
"paths": { "core-js/es7/reflect": ["core-js/proposals/reflect-metadata"], "core-js/es6/*": ["core-js/es/*"] }
but I still get the error for import 'core-js/es7/reflect';
EDIT:
I fixed it by moving the paths bit to the tsconfig.app.json file as I already had paths there for moment.js. So my paths within tsconfig.app.json file looks like so:
"paths": {
  "moment": ["..."],
  "core-js/es7/reflect": [
     "./node_modules/core-js/proposals/reflect-metadata"
   ]
}

WORKS!!
This is my tsconfig.app.json file:
    "paths": {
      "@app/*": [
        "app/*"
      ],
      "core-js/es7/reflect": [
        "./node_modules/core-js/proposals/reflect-metadata"
      ]
    },

I confirm @ericardezp solution worked for me. I did not need to add ../node_modules
Angular version: 7

This works for me (Angular CLI: 7.3.8)
"paths": {
      "core-js/es7/reflect": ["../node_modules/core-js/proposals/reflect-metadata"],
      "core-js/es6/": ["./node_modules/core-js/es/"]
 },

Any ideas when this work around will no longer be needed?

Angular CLI 7.x should be using<EMAIL_ADDRESS> The semver ranges provided in a new project are specifically chosen to ensure compatibility with Angular and the Angular CLI.
Angular CLI 8.0+ manages the required Angular polyfills directly and projects will not require a direct dependency on core-js (assuming an application does not manually include additional core-js polyfills).

I can build my project success if I configuration file tsconfig.json:
 {   "compileOnSave": false,   "compilerOptions": {     "baseUrl": "./",     "outDir": "./dist/out-tsc",     "sourceMap": true,     "declaration": false,     "module": "es2015",     "moduleResolution": "node",     "emitDecoratorMetadata": true,     "experimentalDecorators": true,     "importHelpers": true,     "target": "es5",     "typeRoots": [       "node_modules/@types"     ],     "lib": [       "es2018",       "dom"     ],     "paths": {       "core-js/es7/reflect": [         "./node_modules/core-js/proposals/reflect-metadata"       ],       "core-js/es6/*": [         "./node_modules/core-js/es/*"       ]     }   } }
File configuration package.json
{   "name": "Project name",   "version": "0.0.0",   "scripts": {     "ng": "ng",     "start": "ng serve",     "build": "ng build",     "test": "ng test",     "lint": "ng lint",     "e2e": "ng e2e"   },   "private": true,   "dependencies": {     "@angular/animations": "~7.2.14",     "@angular/common": "~7.2.14",     "@angular/compiler": "~7.2.14",     "@angular/core": "~7.2.14",     "@angular/forms": "~7.2.14",     "@angular/http": "^7.2.14",     "@angular/platform-browser": "~7.2.14",     "@angular/platform-browser-dynamic": "~7.2.14",     "@angular/router": "~7.2.14",     "@ngx-translate/core": "^11.0.1",     "@ngx-translate/http-loader": "^4.0.0",     "core-js": "^3.0.1",     "jquery": "^3.4.0",     "rxjs": "^6.5.1",     "rxjs-compat": "^6.5.1",     "tslib": "^1.9.3",     "zone.js": "~0.9.0"   },   "devDependencies": {     "@angular-devkit/build-angular": "~0.13.8",     "@angular/cli": "~7.3.8",     "@angular/compiler-cli": "~7.2.14",     "@angular/language-service": "~7.2.14",     "@types/jasmine": "~3.3.12",     "@types/jasminewd2": "~2.0.6",     "@types/jquery": "^3.3.29",     "@types/node": "~11.13.7",     "codelyzer": "~5.0.0",     "jasmine-core": "~3.4.0",     "jasmine-spec-reporter": "~4.2.1",     "karma": "~4.1.0",     "karma-chrome-launcher": "~2.2.0",     "karma-coverage-istanbul-reporter": "~2.0.5",     "karma-jasmine": "~2.0.1",     "karma-jasmine-html-reporter": "^1.4.0",     "protractor": "~5.4.2",     "ts-node": "~8.1.0",     "tslint": "~5.16.0",     "typescript": "~3.2.2"   } }

This worked for myself.  Remember that the tsconfig.json is being imported during compile to the tsconfig.app.json.

I'm assuming that's why you can't have "paths" twice or the merge doesn't go smoothly. If you already define "paths" in the tsconfig.app.json file then add to that, otherwise you can put it in either tsconfig.app.json or tsconfig.json. Then the dots before the / just determine where node_modules are in relation to where "paths" is read from.

Angular CLI 8.0+ manages the required Angular polyfills directly
Can you elaborate here? Do I have to build via the CLI in order to leverage this poly fills, or can I import them while using another bundler?