[vie] Enhancements

I notice a few obvious problems with Vietnamese:

As far as I can tell, nearly all Vietnamese words have three phonetic pronunciations: "Hà Nội", "Huế, and "Hồ Chí Minh City". We should just add dialects to languages.json
As is well-known, the Vietnamese Roman orthography puts a space between every syllable. So our data set is really only monosyllabic Vietnamese words! We could solve this by adding a flag (--no-skip-space) here, or we could make a language specific-extractor, I suppose.

I like the idea of adding a --no-skip-space flag. Even if it is just useful for one language for the time being. Without reworking how we skip words a Vietnamese extraction function wouldn't do the trick.
Relatedly, we have this somewhat crude way of not skipping spaces in Chinese transcriptions. Perhaps we should we have a --no-skip-space-ortho flag and a --no-skip-space-pron flag?

I should mention it looks like the Vietnamese data has spaces in the IPA transcriptions between each syllable too. (Have to check whether segments can handle that sensibly---by default we should just pass through.)
Good idea re: two flags.

I believe segments handles it a bit awkwardly.

As is well-known, the Vietnamese Roman orthography puts a space between every syllable. So our data set is really only monosyllabic Vietnamese words! We could solve this by adding a flag (--no-skip-space)

Why were we skipping data consisting of multi words?
The code bit here.
def _skip_word(word: str) -> bool:     # Skips multiword examples.     if " " in word:         return True
We must have talked about this before, but I cannot recall. Removing this code will help this issue.
If we added this code in order to avoid too repetitive types of compound words (e.g., living room, bath room, small room ect.), at least in English Wiktionary, their pronunciations are not provided.  So these cases will not be scraped automatically without adding the skipping code. If it works the same for other languages, would it be ok to remove that code?

I guess some reasons to skip them include:

There's no general guidance for why multiword expressions might be entered in Wiktionary in the first place. Sometimes they're common compounds or idioms, but occasionally there are even entire phrases.
There's no reason to collect multiword expressions for pronunciation purposes, which is our goal here.

You're right that that function controls it, but I think we probably want it to be scriptable so users can control whether they skip, and we can set it on a per-language basis for the big scrape. So I think the obvious thing to do is to add a flag (in cli.py) and then make sure it's passed to _skip_word; then, disable that for Chinese and Vietnamese.
Potentially we could also make the rules about what gets skipped more expressive---maybe you could pass in a regular expression and if it's matched, the word is skipped---but that's probably premature.

Any thoughts on what we should do with transcriptions containing spaces between syllables? segments does the following:
import segments
tokenizer = segments.Tokenizer()

print(tokenizer("ʔaːm˧˦ hiəw˧˨ʔ", ipa=True)) # Will print: ʔ aː m ˧˦ # h i ə w ˧˨ ʔ

Additionally I've found that some of our Persian data and some of our Tibetan data already contain "#". These transcriptions utilize the non-breaking space character, which we don't check for and therefore don't skip.

We should remove the "#" as a general post-processing step after
tokenization)
We also should remove the non-breaking space (before tokenization,
presumably).
K
On Sat, Mar 28, 2020 at 12:31 PM Lucas Ashby<EMAIL_ADDRESS>wrote:

Any thoughts on what we should do with transcriptions containing spaces
between syllables? segments does the following:
import segments
tokenizer = segments.Tokenizer()
print(tokenizer("ʔaːm˧˦ hiəw˧˨ʔ", ipa=True)) # Will print: ʔ aː m ˧˦ # h i ə w ˧˨ ʔ
Additionally I've found that some of our Persian
https://github.com/kylebgorman/wikipron/blob/master/languages/wikipron/tsv/per_phonemic.tsv#L388
data and some of our Tibetan
https://github.com/kylebgorman/wikipron/blob/master/languages/wikipron/tsv/tib_phonemic.tsv#L304
data already contain "#". These transcriptions utilize the non-breaking
space https://en.wikipedia.org/wiki/Non-breaking_space character, which
we don't check for and therefore don't skip.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/kylebgorman/wikipron/issues/133#issuecomment-605485017,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABG4ONMEBK7GZJL55FZM33RJYQ5JANCNFSM4LTZSFKA
.

I have some issue. When a word has three dialects, nothing is scraped. When there are four dialects including Vinh, Thanh Chương, Hà Tĩnh dialect, only this dialect is scraped. I tried scraping with a dialect specified as 'hanoi', but it still does not work. Because of this issue, I cannot test whether my code for fixing the space is working. Does anyone have the same issue?

Could you give us example words with three vs. four dialects? Then I'll try
to replicate.
FWIW, I hadn't seen those other dialect specifications for Vietnamese.
On Sat, Mar 28, 2020 at 10:26 PM yeonju123<EMAIL_ADDRESS>wrote:

I have some issue. When a word has three dialects, nothing is scraped.
When there are four dialects including Vinh, Thanh Chương, Hà Tĩnh dialect,
only this dialect is scraped. I tried scraping with a dialect specified as
'hanoi', but it still does not work. Because of this issue, I cannot test
whether my code for fixing the space is working. Does anyone have the same
issue?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/kylebgorman/wikipron/issues/133#issuecomment-605548515,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABG4OP25WMMWDYELZCQLIDRJ2WXFANCNFSM4LTZSFKA
.

Ah, don't worry about that issue. I set the phonemic parameter wrong. But as for the 4th dialect,
Examples are like cầm. I just found that this word cháy has five dialects. Interestingly, the other dialects that are not noted before in our program are using /phonemic/ representation, unlike Hanoi, Ho chi minh, and Hue dialects that use [phonect] representation.

Thanks for those two examples; we should add those dialects to the list, I suppose, and see if they get over threshold.

Scraping for a Vietnamese dialect from the three that Kyle added in #135 returns results for all three current dialects (when phonetic=True). Scraping for one of the additional dialects that Yeonju has added returns the same results as scraping for one of the first three dialects added in #135 (when phonetic=True).
As far as I can tell this is due to how we define _DIALECT_XPATH_SELECTOR_TEMPLATE in config.py and the inconsistent HTML used on pages like cầm.
It looks like Vietnamese dialect information (for the three dialects covered in #135 ) is stored within <i> elments, while the dialect information for the dialects that Yeonju has added is stored as text in <span class="ib-content qualifier-content"> elements - but not as the <a> elements within those span elements that we target (which is why we get nothing when scraping for one of the dialects Yeonju found while phonetic=False).


Remove the non cross platform clear command

Hello,
There are some npm scripts that made use of the clear command. While this is convenient for clearing the screen and starting with a fresh terminal, this command is not available on all platforms. Windows for example does not have it.
Consider removing the command or ideally use a cross-platform version (maybe based on node).
Regards

do you have any ideas on a cross platform alternative?

Can't you do exec('clear') || exec('cls') to support both clearing commands on *NIX & Windows?

Do you have a way to test it @thibmaek?

Untested but I think this should be a first stepping stone towards the right direction:
const util = require('util');
const { exec } = require('child_process');

const cmd = process.platform.indexOf("win") ? 'cls' : 'clear'

exec(cmd, (err, stdin, stderr) => {
  util.puts(stdout);
});

Will try this in a Windows VM if I find the time

This code is tested and works on windows:
const {exec} = require(`child_process`);

const cmd = process.platform.indexOf(`win`) ? `cls` : `clear`;

exec(cmd, (err, stdin) => {
  console.log(stdin);
});

However there is a npm package for this: https://www.npmjs.com/package/clear
They code is just 24 lines, so maybe we better stick with our implementation. What do you think ?

Sounds good, can you open a PR, will merge.


Support Luigi 1.2.1

Luigi 1.2.1 was released on May 26 (https://pypi.python.org/pypi/luigi), which breaks the eggo Jenkins build.

Fixed by #97.


Select or create a Github organization

Proposals/discussion areas so far:

Incubate at Apache Software Foundation.

Join the Big Data Genomics Github organization.

Join the samtools Github organization.

Join the Open Bioinformatics Foundation as a member project.

Create a new Github organization.

https://github.com/HadoopGenomics

I would vote for 6. (at least as a fallback) since Squark is just a Spark-native Hadoop-BAM.

I would vote for 5, even though it doesn't have a name yet.  The new organization could acquire a domain name for web site hosting and a namespace for software artifacts, acquire social media account(s) for announcements, and manage roles, teams, and repositories.

I vote for 5 too - better start from scratch with best practices than modify the HadoopGenomics organization to fit the project.

My preference in rough order, 3, 6, 5 and then any of the others.  I think samtools makes sense since it would provide a lot of visibility between the project and the spec maintainers.  I think we can be fairly flexible here though.  A new organization would be fine by me, it just seems like more work.

I propose disq-bio as the new organization name (option #5 above), and we'll try to match it with either a dot org or a dot bio domain name.

+1

:+1 too

Should we change the name for the organization and repo and close this ticket?

Yes, I will make the changes now.

Done.  I will update links and docs in a separate pull request.


Change snapshot timestamp position to render before of the custom tag

closes https://github.com/changesets/changesets/issues/823

This PR has a big overlap with what is being implemented in: https://github.com/changesets/changesets/pull/858 and we plan to move forward with that other PR.
Thank you for your contribution though ❤


Fix broken unit test for --gtest_filter='*StorageDeltaMergeTest*:*RegionKVStoreTest*'

What problem does this PR solve?
Issue Number: close https://github.com/pingcap/tiflash/issues/4904
Problem Summary:
RegionKVStoreTest will try to decode data for table id == 1. But the schema of tests in RegionKVStoreTest does not match that we created in StorageDeltaMergeTest.ReadExtraPhysicalTableID.
./gtests_dbms --gtest_filter='*StorageDeltaMergeTest*:*RegionKVStoreTest*'
Note: Google Test filter = *StorageDeltaMergeTest*:*RegionKVStoreTest*
[==========] Running 6 tests from 2 test cases.
[----------] Global test environment set-up.
[----------] 5 tests from StorageDeltaMergeTest
[ RUN      ] StorageDeltaMergeTest.ReadWriteCase1
...
[       OK ] StorageDeltaMergeTest.RestoreAfterClearData (624 ms)
[----------] 5 tests from StorageDeltaMergeTest (835 ms total)

[----------] 1 test from RegionKVStoreTest
[ RUN      ] RegionKVStoreTest.run
...
[2022/05/16 17:35:35.065 +08:00] [INFO] [Region.cpp:189] ["Region:[region 1] split into [region 7, index 5, table 1, ver 7, conf_ver 0, state Normal, peer ] [region 1, index 20, table 1, ver 7, conf_ver 0, state Normal, peer id: 2]"] [thread_id=1]
[2022/05/16 17:35:35.065 +08:00] [INFO] [RegionTable.cpp:44] ["RegionTable:get new table 1"] [thread_id=1]
[2022/05/16 17:35:35.065 +08:00] [TRACE] [RegionTable.cpp:122] ["RegionTable:table 1, [region 7] original 79 bytes"] [thread_id=1]
[2022/05/16 17:35:35.065 +08:00] [TRACE] [PartitionStreams.cpp:121] ["RegionTable:writeRegionDataToStorage begin to decode table 1, region 7"] [thread_id=1]
unknown file: Failure
C++ exception with description "unordered_map::at: key not found" thrown in the test body.
[  FAILED  ] RegionKVStoreTest.run (39 ms)
[----------] 1 test from RegionKVStoreTest (39 ms total)

[----------] Global test environment tear-down
[==========] 6 tests from 2 test cases ran. (874 ms total)
[  PASSED  ] 5 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] RegionKVStoreTest.run

What is changed and how it works?

Remove some useless configs for running mock tests / fullstack tests
Calling storage->removeFromTMTContext() after being dropped as we do in InterpreterDropQuery  https://github.com/pingcap/tiflash/blob/335b124cab124828aadc318b7355f8390950f032/dbms/src/Interpreters/InterpreterDropQuery.cpp#L162-L180

Check List
Tests

[ ] Unit test
[ ] Integration test
[x] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-all-tests

/merge


Title bar of Change Caracteristic is not using localized version of caracteristic

All is in the title ^^

is fixed in dev


Listamendments

Current coverage is 47.05%

Merging #163 into master will not affect coverage as of 3dd1f53

@@            master    #163   diff @@
======================================
  Files           18      18
  Stmts          289     289
  Branches         0       0
  Methods          0       0
======================================
  Hit            136     136
  Partial          0       0
  Missed         153     153

Review entire Coverage Diff as of 3dd1f53

Powered by Codecov. Updated on successful CI builds.


Locus

In LocusOfMarkingPerLanguage.csv there are 12 unnamed items in LocusOfMarkingBinned5ForPOSSDefault.

I assume you are referring to the NAs in that column? That's because some languages don't have a POSS exemplar, e.g.
filter(GrammaticalMarkers, LID == 116) %>% count(MarkerExemplar)
# A tibble: 3 × 2
  MarkerExemplar     n
  <fct>          <int>
1 Case               1
2 Negation           1
3 NA                 1

filter(GrammaticalMarkers, LID == 114) %>% count(MarkerExemplar)
# A tibble: 5 × 2
  MarkerExemplar     n
  <fct>          <int>
1 Case               1
2 Negation           1
3 Noun Plural        1
4 Tense              1
5 NA                 9

Full list of languages lacking POSS exemplar (but having other data in GrammaMarkers):

LID
Glottocode
Language

114
ingu1240
Ingush

116
itel1242
Itelmen

169
mait1250
Maithili

192
movi1243
Movima

337
kich1262
Quiche

340
russ1263
Russian

519
brib1243
Bribri

629
chan1310
Chantyal

662
apat1240
Apatani

663
drun1238
Drung

722
nort2722
Qiang (Northern)

1706
kadi1248
Kadiwéu

This will need to be fixed at the database data entry level.


GET and POST methods?

How to use GET method with parameters and POST method?
Any example to implement http methods?

You can do that by accessing request method attribute.
async def only_get_method(request):
    if request.method != "GET":
        raise HttpError(request, 501, "Not Implemented")

Can you provide a demo using GET and POST? That will be helpful

Sorry for the late reply.
I will add more examples when I have time.


Open tooltips by Javascript

I need to open a tooltip by javascript when user has a new message. Is that possible?

Really? 2 Years? :/


⚠ Bofrost.be has degraded performance

In 96b46b7, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1743 ms

Resolved: Bofrost.be performance has improved in 331935c after 7 minutes.


AKPickerView.selectedItem is not public

Did you mean to make the selectedItem field public? The comments suggest as much, and I'm not seeing another way to know which item is selected aside from an AKPickerViewDelegate, and that's overkill for me.
// MARK: Readonly Properties
/// Readonly. Index of currently selected item.
- private(set) var selectedItem: Int = 0
+ private(set) public var selectedItem: Int = 0

I agree with @csimmons0. In fact, I think it would be interesting to make it public so you can set an option to be selected by default (I don't see a function to set the default option):
// MARK: Readonly Properties
/// Readonly. Index of currently selected item.
- private(set) var selectedItem: Int = 0
+public var selectedItem: Int = 0

Fixed. https://github.com/Akkyie/AKPickerView-Swift/pull/31
Setting selectedItem is still private because changing it without calling selectItem may cause a inconsistency.
You can call selectItem: in viewDidLoad or like to set the initially selected item.
Thank you for contributing, @csimmons0 and @rserentill !


name constraint cause crashes

When you create a team with a name already existing, it cause a 500. It should be a 4XX response.

Wanna have a shot at this or would you rather leave someone else to try and debug this? It's fairly simple to solve AFAIK so that could be good for others newcommers


Create tachometer.ino

@gr8rithic kindly read CONTIRBUTING.md file clearly for the instructions. Follow the convention mentioned there. Only then your pull request will be accepted.


Add DeepSpeed demo notebook

What does this PR do?

The notebook used for demonstrating DeepSpeed with GPT2-XL is added to the main branch.
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Add timer

Add timer showing for how long the pet is already sleeping/being awake.
Give the user an indication whether certain actions can be performed and if not when.

Timer will not be the main measure in new releases since we want to implement energy points and recovery using energy potions... Closing for now...


Add metadata for fdroid

I downloaded the description and screenshots from Google Play and put them into the format that F-Droid can use it.
After merging this, I will prepare a PR to remove the description from the fdroiddata repo.

Merged this before asking something:
Does the fastlane folder needs to be at root? Would it work if it was inside the tools folder?
PS. We don't use fastlane so this is just for f-droid.

I do not think it would work when it is in the tools folder.
You do not have to use fastlane.


Fix instructions to use with webpack

In webpack, we need to use resolve.alias, instead module.alias =)

Awesome, nice catch.


Data functions are non functional

It looks data functions have been broken in the latest v1.5.0 release
v1.4.0 (https://maputnik.github.io/releases/v1.4.0/)

v1.5.0 (https://maputnik.github.io/releases/v1.5.0/)

This is related to updating the mapbox-style-spec. For a related fix see #357
@chriswhong since you fixed the last bug related to this. Is there any chance you have the time to investigate?

Fixed by #406


About ABACUS

Sir, When I get the source code of ABACUS and run ABACUS_S1S2 script, the error information is like that:

but I can not find the 'dirLinux.txt', how can I solve this problem?

The dirLinux.txt file should be generated after running the setup.sh script provided by the ABACUS developers in the distribution package. To locate the file, first, verify if it is present in the ABACUS installation directory. Secondly, inspect the ~/.bashrc file (or its equivalent on your system) to ensure that the path/to/ABACUS/bin/ directory has been added to your system's path, and the environment variable ABACUSPATH=path/to/ABACUS/ has been set correctly.
As I am not a developer for the ABACUS project, I recommend that you contact the ABACUS developers directly for assistance with this issue. They would be better equipped to guide you through the troubleshooting process and provide a solution.


Refactor IOHandler code

The IOHandler code is refactored for the following:

Better readability
Better and more Robust error handling
CPU and Memory optimisations

The PR is ready for review.
I may open a separate PR for benchmarking or add benchmarking to this PR itself.


Improve backstop files

Lowers the threshold for reporting differences
Updates the html test on which the image changed slightly, I suspect for external reasons

Superseded by #1486


Unable to forward-type negative value

First of all: I really appreciate your efforts! This component is great!
When user starts to type a negative value, the typing starts with a - sign naturally.
I checked it on playground, and the negative sign does not appear.
If there are digits already, and user press -, the value becomes negative.
Btw the negative sign appears before the prefix, which seems to be incorrect.
What do you think about this?
(it would be great to have correct behavior in v2.x version, because I use the component in a legacy v2 environment. :(

@zssarkany Thanks for your suggestions. I will change the minus sign position.

Thanks for the feedback :)


Implement persistent settings saving

E.g. use a dedicated library or implement a simple text-based settings saver

Have a look at a very simple example here:
https://stackoverflow.com/questions/6892754/creating-a-simple-configuration-file-and-parser-in-c?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa


New BC table type for H diffusion

Implemented a new type of boundary condition named "table". Here's how to use it:
In the parameters dict:
"boundary_conditions": [
            {
                "surface": 1,
                "value":
                        [
                            [0, 0],
                            [5, 2],
                            [8, 6],
                            [9, 4],
                            [12, 18],
                            [11, 18]
                        ],
                "component": 0,
                "type": "dc"
            },
            {
                "surface": 2,
                "type": "table",
                "value":
                        [
                            [0, 1],
                            [1, 2],
                            [3, 0],
                            [5, 4],
                            [8, 6],
                            [10, 6]
                        ],
            }
    ]

The key "value"  can only be a 2D table and data is set as [{time}, {value}].
Minor changes:

Raise an error if type key is unknown

@phugoide with this you'll be able to set BCs from experimental data for instance


TrackerKCF seems to be crash with Mat

I'm trying calling TrackerKCF.Init or TrackerKCF.update with reference of Mat. Tobe in the safe side, I always clone Mat before passing into the method, but sometime I received segmentation faul:
  frame #0: 0x000000019153c744 libsystem_kernel.dylib__pthread_kill + 8
frame #1: 0x0000000191573c28 libsystem_pthread.dylibpthread_kill + 288     frame #2: 0x0000000191481ae8 libsystem_c.dylibabort + 180
frame #3: 0x00000001913a2e28 libsystem_malloc.dylibmalloc_vreport + 908     frame #4: 0x00000001913b95d4 libsystem_malloc.dylibmalloc_zone_error + 104
frame #5: 0x00000001913b9ca8 libsystem_malloc.dylibmedium_free_list_remove_ptr_no_clear.cold.2 + 68     frame #6: 0x000000019139e5d8 libsystem_malloc.dylibmedium_free_list_remove_ptr_no_clear + 828
frame #7: 0x000000019139d210 libsystem_malloc.dylibfree_medium + 1148     frame #8: 0x0000000103a92ccc libopencv_core.408.dylibcv::StdMatAllocator::deallocate(cv::UMatData*) const + 56
frame #9: 0x0000000103a8fc60 libopencv_core.408.dylibcv::Mat::release() + 52     frame #10: 0x0000000103a8f264 libopencv_core.408.dylibcv::Mat::create(int, int const*, int) + 332
frame #11: 0x0000000103ac1e70 libopencv_core.408.dylibcv::_OutputArray::create(int, int const*, int, int, bool, cv::_OutputArray::DepthMask) const + 388     frame #12: 0x0000000103acd7b4 libopencv_core.408.dylibcv::merge(cv::Mat const*, unsigned long, cv::_OutputArray const&) + 228
frame #13: 0x00000001023a5098 libopencv_tracking.408.dylibcv::tracking::impl::TrackerKCFImpl::init(cv::_InputArray const&, cv::Rect_<int> const&) + 492     frame #14: 0x00000001006f7394 hades-rscv_Tracker_init_const__InputArrayR_const_RectR(instance=0x0000000110ae3418, image=0x000000010f488ae0, boundingBox=0x0000000171894730, ocvrs_return=0x0000000171894560) at video.cpp:1137:14
frame #15: 0x000000010011923c hades-rsopencv::opencv::hub::video::TrackerTrait::init::hcb0fbccef88fed56(self=0x000000012fe152a8, image=0x0000000171894688, bounding_box=(x = 509, y = 21, width = 57, height = 77)) at video.rs:2925:13
Is it a bug ?
Thanks

It might be, will you be able share the minimum example that crashes?

it's hard to reproduce the case, sometime it happens, But I always call Mat::clone() before calling 2 above method to be in the safe side. It's really weird that it seems cv::Mat was double delete :( do we need any tracker that be tested in many case ?

Seems to be the bug of TrackerKCF,  tried other trackers and it worked


fix(charts): need to upgrade carbon charts to the latest

Closes #871
Summary

summary_here

Change List (commits, features, bugs, etc)

fix(package.json): also upgrade the react to 16.8.6 to fix dependency errors
fix(Card): allow overflow so that graph tooltips don't get cut off
fix(TimeSeriesCard): small changes to the payloads of functions and options in the new version

Acceptance Test (how to verify the PR)

test out the TimeSeriesCard stories in the storybook

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


command + Q 退出微信后，再次打开微信时，需要在手机上确认或者重新扫码才能登陆

微信版本：2.3.11
OS 版本：10.13.4
相关日志：
Apr 15 16:04:57 Albert WeChat[73792]: objc[73792]: Class AFHTTPSessionManager is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x10804a008) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x1077d97e8). One of the two will be used. Which one is undefined.
Apr 15 16:04:57 Albert WeChat[73792]: objc[73792]: Class AFNetworkReachabilityManager is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x108049f68) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x1077d9888). One of the two will be used. Which one is undefined.
Apr 15 16:04:57 Albert WeChat[73792]: objc[73792]: Class AFSecurityPolicy is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x108049fb8) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x1077d98d8). One of the two will be used. Which one is undefined.
Apr 15 16:04:57 Albert WeChat[73792]: objc[73792]: Class AFQueryStringPair is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x10804a148) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x1077d9928). One of the two will be used. Which one is undefined.
Apr 15 16:04:57 Albert WeChat[73792]: objc[73792]: Class AFHTTPRequestSerializer is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x10804a198) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x1077d9978). One of the two will be used. Which one is undefined.
Apr 15 16:04:57 Albert WeChat[73792]: objc[73792]: Class AFStreamingMultipartFormData is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x10804a1c0) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x1077d99a0). One of the two will be used. Which one is undefined.
Apr 15 16:04:57 Albert WeChat[73792]: objc[73792]: Class AFMultipartBodyStream is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x10804a210) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x1077d99f0). One of the two will be used. Which one is undefined.
Apr 15 16:04:57 Albert WeChat[73792]: objc[73792]: Class AFHTTPBodyPart is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x10804a238) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x1077d9a18). One of the two will be used. Which one is undefined.
Apr 15 16:04:57 Albert WeChat[73792]: objc[73792]: Class AFJSONRequestSerializer is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x10804a2d8) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x1077d9ab8). One of the two will be used. Which one is undefined.
Apr 15 16:04:57 Albert WeChat[73792]: objc[73792]: Class AFPropertyListRequestSerializer is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x10804a328) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x1077d9b08). One of the two will be used. Which one is undefined.
Apr 15 16:04:57 Albert WeChat[73792]: objc[73792]: Class AFHTTPResponseSerializer is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x10804a378) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x1077d9b58). One of the two will be used. Which one is undefined.
Apr 15 16:04:57 Albert WeChat[73792]: objc[73792]: Class AFJSONResponseSerializer is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x10804a3c8) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x1077d9ba8). One of the two will be used. Which one is undefined.
Apr 15 16:04:57 Albert WeChat[73792]: objc[73792]: Class AFXMLParserResponseSerializer is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x10804a418) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x1077d9bf8). One of the two will be used. Which one is undefined.
Apr 15 16:04:57 Albert WeChat[73792]: objc[73792]: Class AFXMLDocumentResponseSerializer is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x10804a468) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x1077d9c48). One of the two will be used. Which one is undefined.
Apr 15 16:04:57 Albert WeChat[73792]: objc[73792]: Class AFPropertyListResponseSerializer is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x10804a4b8) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x1077d9c98). One of the two will be used. Which one is undefined.
Apr 15 16:04:57 Albert WeChat[73792]: objc[73792]: Class AFImageResponseSerializer is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x10804a508) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x1077d9ce8). One of the two will be used. Which one is undefined.
Apr 15 16:04:57 Albert WeChat[73792]: objc[73792]: Class AFCompoundResponseSerializer is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x10804a558) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x1077d9d38). One of the two will be used. Which one is undefined.
Apr 15 16:04:57 Albert WeChat[73792]: objc[73792]: Class AFURLSessionManagerTaskDelegate is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x10804a058) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x1077d9d88). One of the two will be used. Which one is undefined.
Apr 15 16:04:57 Albert WeChat[73792]: objc[73792]: Class _AFURLSessionTaskSwizzling is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x10804a0d0) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x1077d9e00). One of the two will be used. Which one is undefined.
Apr 15 16:04:57 Albert WeChat[73792]: objc[73792]: Class AFURLSessionManager is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x10804a0f8) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x1077d9e28). One of the two will be used. Which one is undefined.
Apr 15 16:24:14 Albert WeChat[74846]: objc[74846]: Class AFHTTPSessionManager is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x11152b008) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x110cb47e8). One of the two will be used. Which one is undefined.
Apr 15 16:24:14 Albert WeChat[74846]: objc[74846]: Class AFNetworkReachabilityManager is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x11152af68) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x110cb4888). One of the two will be used. Which one is undefined.
Apr 15 16:24:14 Albert WeChat[74846]: objc[74846]: Class AFSecurityPolicy is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x11152afb8) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x110cb48d8). One of the two will be used. Which one is undefined.
Apr 15 16:24:14 Albert WeChat[74846]: objc[74846]: Class AFQueryStringPair is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x11152b148) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x110cb4928). One of the two will be used. Which one is undefined.
Apr 15 16:24:14 Albert WeChat[74846]: objc[74846]: Class AFHTTPRequestSerializer is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x11152b198) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x110cb4978). One of the two will be used. Which one is undefined.
Apr 15 16:24:14 Albert WeChat[74846]: objc[74846]: Class AFStreamingMultipartFormData is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x11152b1c0) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x110cb49a0). One of the two will be used. Which one is undefined.
Apr 15 16:24:14 Albert WeChat[74846]: objc[74846]: Class AFMultipartBodyStream is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x11152b210) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x110cb49f0). One of the two will be used. Which one is undefined.
Apr 15 16:24:14 Albert WeChat[74846]: objc[74846]: Class AFHTTPBodyPart is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x11152b238) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x110cb4a18). One of the two will be used. Which one is undefined.
Apr 15 16:24:14 Albert WeChat[74846]: objc[74846]: Class AFJSONRequestSerializer is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x11152b2d8) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x110cb4ab8). One of the two will be used. Which one is undefined.
Apr 15 16:24:14 Albert WeChat[74846]: objc[74846]: Class AFPropertyListRequestSerializer is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x11152b328) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x110cb4b08). One of the two will be used. Which one is undefined.
Apr 15 16:24:14 Albert WeChat[74846]: objc[74846]: Class AFHTTPResponseSerializer is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x11152b378) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x110cb4b58). One of the two will be used. Which one is undefined.
Apr 15 16:24:14 Albert WeChat[74846]: objc[74846]: Class AFJSONResponseSerializer is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x11152b3c8) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x110cb4ba8). One of the two will be used. Which one is undefined.
Apr 15 16:24:14 Albert WeChat[74846]: objc[74846]: Class AFXMLParserResponseSerializer is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x11152b418) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x110cb4bf8). One of the two will be used. Which one is undefined.
Apr 15 16:24:14 Albert WeChat[74846]: objc[74846]: Class AFXMLDocumentResponseSerializer is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x11152b468) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x110cb4c48). One of the two will be used. Which one is undefined.
Apr 15 16:24:14 Albert WeChat[74846]: objc[74846]: Class AFPropertyListResponseSerializer is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x11152b4b8) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x110cb4c98). One of the two will be used. Which one is undefined.
Apr 15 16:24:14 Albert WeChat[74846]: objc[74846]: Class AFImageResponseSerializer is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x11152b508) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x110cb4ce8). One of the two will be used. Which one is undefined.
Apr 15 16:24:14 Albert WeChat[74846]: objc[74846]: Class AFCompoundResponseSerializer is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x11152b558) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x110cb4d38). One of the two will be used. Which one is undefined.
Apr 15 16:24:14 Albert WeChat[74846]: objc[74846]: Class AFURLSessionManagerTaskDelegate is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x11152b058) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x110cb4d88). One of the two will be used. Which one is undefined.
Apr 15 16:24:14 Albert WeChat[74846]: objc[74846]: Class _AFURLSessionTaskSwizzling is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x11152b0d0) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x110cb4e00). One of the two will be used. Which one is undefined.
Apr 15 16:24:14 Albert WeChat[74846]: objc[74846]: Class AFURLSessionManager is implemented in both /Applications/WeChat.app/Contents/Frameworks/AFNetworking.framework/Versions/A/AFNetworking (0x11152b0f8) and /Applications/WeChat.app/Contents/MacOS/WeChat (0x110cb4e28). One of the two will be used. Which one is undefined.

是否有勾选免认证登录？

当然有勾选啊
我发现退出微信之后如果在短时间内重新打开，微信就会自动登录
如果隔得时间比较久（超过一个小时？？？）就需要重新再手机上确认了
不知道有没有其他人遇到过这个问题？

哦，这个我倒没有去试过，我一般都是长期都挂着微信

我也有次问题

我也有问题

重新安装最新的小助手试试，有些逻辑调整了


moloch-capture error: libssl.so.1.1: cannot open shared object file

Elasticsearch version:
6.5.0
Moloch version:
1.6.1
OS name and version:
Ubuntu 16.04.5 LTS (Amazon EC2 m5xlarge)
How was Moloch built/installed: (rpm, deb, easybutton, ...)
deb (Followed readme files step by step)
Provide logs, stack traces and steps to reproduce:
I have Moloch Viewer running, but not showing any activity, so I checked the log files:
root@ip-72-31-22-77:~/pcapfiles# cat /data/moloch/logs/capture.log                                                  /data/moloch/bin/moloch-capture: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
/data/moloch/bin/moloch-capture: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
/data/moloch/bin/moloch-capture: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
/data/moloch/bin/moloch-capture: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

I would guess you need to install libssl or openssl

Fix:
On Ubunto 16.x, openssl or libssl-dev versions 1.0.2 are available and Moloch needs version 1.1.0.

In that case it might be Amazon Ubuntu AMI problem! I had to purge the version available and clone OpenSLL git repository and build it locally.
Then I reinstalled everything and capture service started to work.

Are you sure you didn't install the 18 build on 16?
Here is the output of ldd on 16, as you can see libssl 1.0.0 is required.
ldd /data/moloch/bin/moloch-capture
	linux-vdso.so.1 =>  (0x00007ffdd89d7000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f0f69d8e000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f0f69b89000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f0f69985000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f0f69768000)
	libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f0f694ff000)
	libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f0f690bb000)
	libyaml-0.so.2 => /usr/lib/x86_64-linux-gnu/libyaml-0.so.2 (0x00007f0f68e9c000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0f68b93000)
	libmagic.so.1 => /usr/lib/x86_64-linux-gnu/libmagic.so.1 (0x00007f0f68973000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f0f68759000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0f6838f000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f0f69f96000)```

Oh oh!  Yup that's the case!


Add specialized T: Copy implementation of Clone

Once trait specialization (https://github.com/rust-lang/rust/issues/31844) is stabilized, create a T: Copy specialization of Clone, which simply copies the slice without relying on the optimizer to notice that it can be done that way. This will allow us to replace a number of "manual copies" with calls to self.clone().
Example of manual copy: https://github.com/slightlyoutofphase/staticvec/blob/da979055ed7d21d4aff76ff5734a03b368ce119e/src/lib.rs#L508-L519

Good idea. I've been messing around with specialization a bunch already actually, though I've not committed anything that uses it yet. Vec uses it internally for some things already though, for example, and has for quite a while.
Not sure we need to necessarily wait for anything in particular though as adding another unstable feature flag to the long list of them this crate already uses is fine with me. I'll think about what the best way to go about this might be.

It's worth noting that a lot of the discussion in the thread is about soundness holes and potential behavior changes, so even by this library's standards of using unstable features, it may not be ready for an implementation yet.

I added this today BTW. Seems to work totally fine.


Add ansible test module

Hi everyone,
feature. I would like to have the Ansible test module in order to execute the following tests on roles and playbook.

syntax
lint
run/converge
idempotent

Mauro

This does make sense, although I wonder if it fits into this repo (after all, this is called terratest)? I know we recently added similar support for helm, but in hindsight, that may not have been the best idea because we now have lots of issues related to dependency management arising from the fact that helm and kubernetes/client-go doesn't support dep.
At the moment, I am ok with adding in an ansible module but we might want to consider splitting up the repo to reduce the build footprint.

Probably, as you was saying in the comment above is better create a new repo for ansibletest


Fix  .env.example to reflect real env variable in static-tweets-tailwind example

Fix name of env variable
Description
App env.example contains invalid ENV name, just renaming env.example
Demo URL
https://github.com/vercel/examples/blob/main/solutions/static-tweets-tailwind/lib/twitter.js#L20
https://github.com/vercel/examples/blob/main/solutions/static-tweets-tailwind/lib/twitter-media.js#L7

Hi there and sorry for the late review 👋
I'm going to close the PR as the change was merged in https://github.com/vercel/examples/pull/411. Thank you!


Hyperlinks in PDF

Hi,
I'am using this library which is really nice by the way.
I found an issue when the source pdf contains hyperlinks.
factur-x library seems to broke the hyperlinks in the PDF document.
The blue color and the underline style are still on the links but hitbox is removed to, so it is not possible to click on it anyome.
For information i use the following code :
`
// 1. generate the pdf with dompdf
$html = "my pdf with a <a href="https://github.com/atgp/factur-x/issues/new\">here link";
$options = new \Dompdf\Options();
$options->set('enable_php', true);
$options->set('enable_html5_parser', true);
$options->set('isRemoteEnabled', true);
$options->set('dpi', 192);
$dompdf = new \Dompdf\Dompdf($options);
$dompdf->setHttpContext(stream_context_create([
'ssl' => [
'verify_peer' => FALSE,
'verify_peer_name' => FALSE,
'allow_self_signed'=> TRUE
],
]));
$dompdf->loadHtml($html);
$dompdf->setPaper('A4', 'portrait');
$dompdf->render();
pdfoutput = $dompdf->output(); // links in this pdf works
//2. factur x
$facturex_xml =  "...custom code here to generate the right xml as string, using \horstoeko\zugferd\ZugferdDocumentBuilder library...";
$facturx = new \Atgp\FacturX\Facturx();
$facturxPdf = $facturx->generateFacturxFromFiles($pdfoutput, $facturex_xml); // links are now broken
`
Is it a but to fix, or maybe i need to add some options in my code ?
Thanks a lot for your help.

Did you find a solution for this problem ? To know if I need to check it
If not, could you give me an PDF example please ?

A closing </a> tag seems to be missing.
(Also, PDF/A doesn't allow transparent objects, which might be relevant here.)

I now encountered the same problem.
Links are not clickable anymore in the combined PDF.
The text is still printed in blue color (marked as link), but is not clickable.
The PDF/A standard itself permits links:
Can PDF/A files include links?

There's no problem with including links in a PDF/A file. It should be considered, however, that external links will likely become invalid over time.

https://www.pdfa.org/pdfa-faq/

Example PDFs:
Created with atgp / factur-x (link not clickable)
ZUGFeRD.pdf
Source PDF (link clickable)
ZUGFeRD_part.pdf
Created with Mustang (link clickable)
ZUGFeRD.pdf

Hi @wq9578,
It's seem it's linked to FPDI library that doesn't preserve external links
I found several link about it :

https://stackoverflow.com/questions/29968366/preserve-internal-links-using-fpdi
https://gist.github.com/andreyvit/2020422

So maybe need to make a custom class (or enhance FpdfiFacturx class) to be able to preverse external links
Don't hesitate to contribute and make a merge request about it :)

I have no experience with PDF editing in PHP for making a pull request.
But a quick internet search might suggest the following:
The FPDI library is used by FPDF, which is in turn used by mPDF. Since external links in PDF/A documents work well with mPDF (I tested it), you might either have a look at how mPDF uses (indirectly) the FPDI library, or use mPDF directly.

In FPDI 2.4.0 you can import PDF pages with external links now: https://github.com/Setasign/FPDI/releases/tag/v2.4.0
For backwards compatibility you need to activate this. See here for more details: https://www.setasign.com/news-archive/fpdi-2.4.0-released/

The problem seems to be in Facturx class :
$tplIdx = $pdfWriter->importPage($i, '/MediaBox');

if It's replaced by this below, It works well !
$tplIdx = $pdfWriter->importPage($i, '/MediaBox', true, true);

public function importPage(
        $pageNumber,
        $box = PageBoundaries::CROP_BOX,
        $groupXObject = true,
        $importExternalLinks = false // <= here
)

Fixed into #28 : you can upgrade to v2 of this library.


Less allocations of a memory stream

This PR introduces a ThreadStatic cached memory stream that is used for Encrypting value. It's uses for reasonably small values with the assumption in mind, that big values won't be occurring every single time and that's better to allocate for them from time to time rather than hold a big chunk of memory used partially.
This PR requires tests to be run. I wrote it on a machine that had problem with building against 4.7.

I can't install 4.7 on my machine. I'll try to get back to this PR soon.


docs for API < 1.14 is broken

From https://docs.docker.com/reference/api/docker_remote_api/
https://docs.docker.com/reference/api/docker_remote_api_v1.15/
https://docs.docker.com/reference/api/docker_remote_api_v1.14/
are working, but
https://docs.docker.com/reference/api/docker_remote_api_v1.13/
https://docs.docker.com/reference/api/docker_remote_api_v1.12/
....
doesn't (404)

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

ping @moxiegirl

@GordonTheTurtle NO

@vieux We are only supporting through .14 --- is there a reason you think we need the older versions?

IIRC, the older versions were deliberately removed some time ago

Do you want everything less than .14 removed from the current version of the repo? I can make a PR for that.

@moxiegirl if we support only 1.14 and up, but in that case we should remove all the unsupported versions from https://docs.docker.com/reference/api/docker_remote_api/

@vieux You are correct...good catch. Sorry I missed that yesterday was a bit crazy.  @MHBauer fire at will also


Single Expand and OnClick event for HierarchyColumn

Feature request type
Enhance component
Component name
MudDataGrid / HierarchyColumn
Is your feature request related to a problem?
No response
Describe the solution you'd like
The ability to only have one row expanded at a time when using a HierarchyColumn so we can achieve Selected Row highlighting.
Additionally an OnClick event for the arrow clicked on the column.
Have you seen this feature anywhere else?

Describe alternatives you've considered
No response
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I need this too.
Trying to do a merge of the functionality of the TreeView MudTreeViewItemToggleButton but not having much success with that. The DataGrid and TreeView components are vastly different obviously.

I was not able to do this beautifully.
Had to clone the project and make change to the OpenHierarchies HashSet in CellContext class by making it public.
I then made a copy of HierarchyColumn naming it HierarchyColumnEx and adding an event ExpandedChanged and when building the DataGrid I replace the HierarchyColumn with HierarchyColumnEx and subscribe to the event.
Not as beautiful as implemented in the TreeView component but it works for what I need it to do.
If interested in code I can post it here but you will have to go rogue and add a reference to a custom MudBlazor build.

I realize now I dont have to make a copy of HierarchyColumn having my own clone of MudBlazor lib. I could have just modified the file in the cloned project but I have allready made the Ex file and only needed to make the OpenHierarchies collection public.

Hi,
I’d like to add one more case to support implementing the feature.
I also needed to prevent expansion of more than one node on the MudDataGrid HierarchyColumn.  I have implemented, by modifying MudBlazor code. a pretty generic approach, which may allow implementing restrictions on which nodes could or could not be expanded based upon which ones are already expanded, which might be more complex than enforcing single expand.  This approach works on pages with multiple, including nested, data grids.  Better approaches, of course, might exist.  Would be interesting to know what HHolmeren has done.
I’ve created a new interface that the data grid elements might optionally implement.  The new interface requires two properties, System.Object? objectToCall and System.Reflection.MethodInfo? callbackMethod.  In the HierarchyColumn class (same one HHolmeren modified) If the interface is implemented by the data grid element and its properties are not null, I perform the callback passing, as parameters, OpenHierarchies and the current node.)   This allows the DataGrid implementation to get all it needs to implement the function referenced as ButtonDisabledFunc.
I hope MudBlazor team will come up with a publicly available implementation.

I just face the same issue.
I am not sure if I can make a Pull Request on this. It will be nice to be a contributtor on this project.
But, here my contribution.
I download the MudBlazor and make a simple change:
File: MudBlazorGrid.razor.cs
Add a parameter:
[Parameter]
public bool ExpandSingleRow{ get; set; } = false;

Change method: ToggleHierarchyVisibilityAsync
 internal async Task ToggleHierarchyVisibilityAsync(T item)
 {
     if (ExpandSingleRow)
     {
         _openHierarchies.Clear();
     }
     if (_openHierarchies.Contains(item))
     {
         _openHierarchies.Remove(item);
     }
     else
     {
         _openHierarchies.Add(item);
     }
     await InvokeAsync(StateHasChanged);
 }

With that changes I create a new Attribute on MudDataGrid
<MudDataGrid ... ExpandSingleRow=true>
if ExpandSingleRow are equal to false (default) all works like before, expand multiple row.
if ExpandSingleRow are equal to true only expand one row.
To test, I add MudBlazor Project into my project. And works as expected.
Please, someone can add that to the next version of MudBlazor? That will be great!!!

My users did not like disabling expansion, but they did want the ability to collapse an expanded row without expanding another.  With that, I followed the idea from @lfsamp, but I clear the _openHierarchies only before addition to it.  The code looks as follows:
 internal async Task ToggleHierarchyVisibilityAsync(T item)
 {
     if (_openHierarchies.Contains(item))
     {
         _openHierarchies.Remove(item);
     }
     else
     {
		 if (ExpandSingleRow)
		 {
			 _openHierarchies.Clear();
		 }
         _openHierarchies.Add(item);
     }
     await InvokeAsync(StateHasChanged);
 }

I think this is better, since it does all what  @lfsamp’s code does, but also allows collapsing the expanded node without expanding another one.
Aside from this, making _openHierachies public allows to preserve the open node if the user navigates out of the page and then comes back.
Please implement both (ToggleHierarchyVisibilityAsync and _openHierachies) changes.

My Solution
`<MudDataGrid @ref="dataGrid" MultiSelection="true" Items="@servicos" Filterable="false" Dense Loading=loading c
Hideable="true" Groupable="true" GroupExpanded="false">

    <MudText Typo="Typo.h6"></MudText>
    <MudSpacer />
</ToolBarContent>
<Columns>
    <SelectColumn T=DtoLaboratorioTabelaServicoInfo></SelectColumn>
    <HierarchyColumn T="DtoLaboratorioTabelaServicoInfo" Hidden=true />
    <TemplateColumn Title="Ações" Style="width:50px">
        <CellTemplate>
            <div>
                <MudStack Row>
                    <MudIconButton<EMAIL_ADDRESS>OnClick="@(()=>Expandir(context))"></MudIconButton>
                </MudStack>
            </div>
        </CellTemplate>
    </TemplateColumn>`

    ` private async Task Expandir(CellContext<DtoLaboratorioTabelaServicoInfo> d)

{
if (d.Item.QtdServicosVinculados > 0)
{
d.Item.DtoServicos = await CarregarServicoServicos(d.Item.IdServico);
}
await d.Actions.ToggleHierarchyVisibilityForItemAsync();
}`


API management (admin) - [Version]:<IP_ADDRESS>01 - Another object with the same value for property identifierUris already exists.

Hi,
Category

[x] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior
After creating a SPFx solution that needs to access Microsoft Graph, I wanted to go to admin portal to approve permissions
Observed Behavior
I initially had something similar to #3823  (permission entry already exist), but then I got something different with no clue how to fix it
error: {code: "-1, Microsoft.SharePoint.Client.UnknownError", message: "Unknown Error"}
I get the following messages on the central admin page

And I can't see any of the app permission requests that are supposed to appear with my SPFx packages...
Steps to Reproduce
Whatever I can try now I always get this unknown error message on the app permissions page
Could you please help with this ?
Regards,
Yannick

We are having the same issue since a few days.

Exactly @mirkori , I'm more confident since I'm not alone :D
Actually I got the "Unknown Error" because I tried to remove multiple entries in the Azure AD after I saw this message.
I restored them using the AzureAD Powershell and now I get back the same message

Same issue here. Also is weird that I´m seeing 2 Azure Ad Apps registered as "SharePoint Online Client Extensibility Web Application Principal"

I see it 6 times

Actually my SPFx app specifies 3 permission requests, and I deployed it two times... I really suspect it is related to that...

Seems so! I always thought there should be only one App registered that way for all the spfx solutions using aadHttpClient...

It looks like it is what the error message says somehow...

I edited the title since the real issue is really this one...

Can confirm same issue on multiple tenants.

Exactly the same issue on my two dev tenant and my prod tenant

Same issue.

My workaround was to view the console when running my SPFx webpart and found out what clientId it was trying to call.  Then deleted all the duplicates except the one that my webpart was actually using. Waited about 15 min and i got it working.

Have the same issue - resulting in my webparts throwing the error

Error: To view the information on this page, ask a global or SharePoint admin in your organization to go to the API management page in the new SharePoint admin center.

@spdavid Thank you very much that workaround is working! Anyway the underlying issue still exists.

@spdavid @mirkori where do you find the client id that's being called? can't find a log for it

@spdavid @mirkori where do you find the client id that's being called? can't find a log for it

In chrome in the developer tools under the console I was able to see the error when using the graphClient. You will find the id in the url that is referenced in the error information.
Example
var graphClient = await this.props.ctx.msGraphClientFactory.getClient();
let data = await graphClient.api(your graph call).get();

I restored the app, but apparently all my API permissions have been removed from the API management page. Existing apps don't work anymore...

@NickSevens
Thats a scenario that i did not have as i only had my apps and no existing ones.
You can restore the groups using powershell and hopefully you get the permissions back.
https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-restore-deleted

Anyone looking this up? @VesaJuvonen @patmill

Got it to work by:

deleting all "SharePoint Online Client Extensibility Web Application Principal" apps except the one referenced in the mentioned console messages (thanks @spdavid)
re-deploying SPFx apps to the app catalog
re-approving permissions in the API management page

On my side, by doing so, I now see the app permissions but I still have a "Unknown Error" message and when I try to approve the permissions I get this

I will try restoring all the apps and try it one more time.

Ok regarding this last issue, I did not realized that I needed to recreate the app principal for restored apps

I did it and now it is working ! Thanks all for your inputs.
I leave the issue opened since, according to me, the root cause of all this is still an issue !

I have the same error message "Another object with the same value for property identifierUris already exists." on my tenant. I have created a fresh test tenant and I reproduced the issue within 10 minutes:

On a fresh tenant create an app-catalog
Just go to the API management page and wait for some time. 2 error messages will appear. If I go to "App Registrations" page, I can see 2 "SharePoint Online Client Extensibility Web Application Principal" applications.

Moreover, I don't know if it is how it is supposed to work but the new app permissions requests are recreated each time I update my application in the app catalog...

@ypcode That page functionality is sub-optimal. That's a known issue which I really hope will be addressed soon.

I found a solution for my "Another object with the same value for property identifierUris already exists."
Here it is:

Take a look at how many applications 'SharePoint Online Client Extensibility Web Application Principal' you have and which application has IdentifierUris = {https://microsoft.spfx3rdparty.com}

Connect-AzureAD
Get-AzureADApplication |? {$_.DisplayName -eq 'SharePoint Online Client Extensibility Web Application Principal'} | Select ObjectId, AppId, IdentifierUris

Set IdentifierUris of all 'SharePoint Online Client Extensibility Web Application Principal'  to an empty array

$emptyValue = New-Object 'System.Collections.Generic.List[string]'
Get-AzureADApplication |? {$.DisplayName -eq 'SharePoint Online Client Extensibility Web Application Principal'} |% {Set-AzureADApplication -IdentifierUris $emptyValue -ObjectId $.ObjectId}

Wait for 5-10 minutes and repeat the step 1.

On my 3 different tenants the AppId which has IdentifierUris = {https://microsoft.spfx3rdparty.com} on the step 3 was different from the step 1. Now if I go to API Management Page, I have no errors and I have already granted permissions and they work.
Please note: if you deleted and then restored some apps, don't forget as @ypcode said to recreate the app principal for restored apps. It will not work without it.
Hope that helps.

Guys, thanks for provide your feedbacks and investigate on this issue. couple of things:

there's actually no reason why you would end up with more app principals with the same name. we are doing some investigation and I will report back findings here. It looks like you guys are unblocked at this time, is that correct? Regardless if someone find him/herself in that situation again would you mind sharing the repro steps on how you ended up in that unworking state?
yes, we are aware of the sub-optimal capabilities of the "API Management" page. As mentioned in the 1.8.2 release notes we are releasing fixed capabilities of that page that will not duplicate the entries if they already exist.

Thanks again!

Hi @lucabandMSFT,
For me there was nothing special done to have the errors:
On 3 tenants ( two DEV tenants created this month ).

I created the app catalog site
I deployed a SPFx solution having the webApiPermissionRequests property set in package-config.json to

    "webApiPermissionRequests": [
      {
        "resource": "Microsoft Graph",
        "scope":"Files.ReadWrite.All"
      },
      {
        "resource": "Microsoft Graph",
        "scope":"Calendars.Read"
      },
      {
        "resource": "Microsoft Graph",
        "scope":"Mail.Read"
      }
    ]

That's the first solution deployed on these tenants with this property.

Once deployed, I went the the API management page of the admin portal
It initially says, it has to be initialized. (can take up to 10 minutes)
I come back about 20 minutes later and the error [Version]:<IP_ADDRESS>01 - Another object with the same value for property identifierUris already exists. was already displaying twice (see screenshots above)
Going to the AAD portal, I see the SharePoint Online Client Extensibility Web Application Principal displayed 6 times

(By the way, it seems like it adds the permission requests when adding the package, and once again when clicking the "Deploy" button)
(As mentioned above, I suspect it appears 6 times since there are 6 permission requests, deployed twice)
The work around, as posted, by the various folks here is:

Identify which client Id is used by the SPFx solution (in the console log, see the error when trying to call the Graph in my case)
Remove all other SPO Extensibility apps from AAD portal
The error disappers on the API management page and we can now approve the permission requests

Hope that summary helps !

@lucabandMSFT as for the repro steps, there was nothing we did at all. We have an application that's been running for a couple of months, and suddenly stopped working yesterday morning. I saw an error message regarding App permissions in console, so went to check in the API management page. That's when the error started showing there.
Moreover, it seems that every time I refreshed the API management page, a new SharePoint Extensibility ... app registration was created in AAD (I ended up with 9 instances of it).

@lucabandMSFT
In my case i was using pnp xml to deploy the permissions. Every time i ran the script  it created a new
'SharePoint Online Client Extensibility Web Application Principal' application
eg.
pnp:Tenant
pnp:WebApiPermissions
<pnp:WebApiPermission Resource="Microsoft.Graph" Scope="Directory.AccessAsUser.All"/>
<pnp:WebApiPermission Resource="Microsoft.Graph" Scope="Group.Read.All"/>
</pnp:WebApiPermissions>
</pnp:Tenant>

ok guys, thanks a lot. We are investigating on this and will report back findings ASAP

I removed 4 entries which was different from the id in the console, and still get error in the SPO admin page, or using the CLI to list requests. I'll just let this one sit and wait for the findings. I'd be fine re-creating "SharePoint Online Client Extensibility Web Application Principal" even, as the tenant I'm working with is not using it yet - until now ;)

@lucabandMSFT did you guys figure something out, or is there a way to remedy this ourselves - deleting all  SharePoint Online Client Extensibility Web Application Principal for example to have it recreated. Ideally would need this fixed in a clients tenant this week, but understand if it's more difficult.

sorry for me being late in the answer... we did find a race condition and we temporarily put a fix in place while we are making a more robust fix. at this point no new object should be created.
if you have a duplicated object and you have the issue try to use the following steps to fix it:

go to the API Management page in SPO Central admin (https://contoso018a-admin.sharepoint.com/_layouts/15/online/AdminHome.aspx#/webApiPermissionManagement), select "view page source" and search for "spfx3rdPartyServicePrincipalId. Example from my tenant "spfx3rdPartyServicePrincipalId":"ab5c9c38-f75f-4c45-896d-7a5d8015f55e"

copy that ID. go to the AAD portal and DELETE the one which ApplicationID IS NOT the ID copied. that will leave you with the right one

that should be enough. now if you have ALREADY deleted the "right" app id you will have to use the recycle bin functionalities that AAD has to bring that back. you can use PowerShell (it's actually integrated in the AAD portal so you don't have to install anything) to retrieve the right object back. More information on the right API to call here: https://docs.microsoft.com/en-us/powershell/module/azuread/restore-azureaddeletedapplication?view=azureadps-2.0

Thank you @lucabandMSFT :D

Hi,
Visiting the new API Management page should resolve any issues that you've had in the past. Depending on the state of your AAD tenant, you may have to reapprove permission scopes in the UX.
Please open a new issue if you're still seeing this problem.


Add types property to package.json so type definitions can be located automatically

Coverage remained the same at 100.0% when pulling 6b940e331d9c358b526056f372033f88a324c8c1 on eppsilon:add-types-package-json into 2a1561688b05bb35e3a9ab7b24ef2aa752422796 on pladaria:master.

Coverage remained the same at 100.0% when pulling 6b940e331d9c358b526056f372033f88a324c8c1 on eppsilon:add-types-package-json into 2a1561688b05bb35e3a9ab7b24ef2aa752422796 on pladaria:master.

Thank you!


Do the input receptors and ligands need to be protonated?

Hi,
Do the input molecules need to have explicit hydrogen atoms? Or is implicit fine?
Thanks

Thank you for your interest in IGModel. Hydrogen atoms are not considered in the modeling of protein-ligand interactions, so hydrogen atoms are not necessary.


PEP 8 fixes

Some tiny PEP8 fixes for setup.py. I'm not particularly worried about setup.py following PEP8 in general, but this will stop my editor from complaining!

+1

+1 with Jerome's suggestion

requested formatting is in.

Sorry for the delay. made @jeromekelleher's suggested fixes. I'd like to cut this off and merge from here though.

Thanks @pashields, sorry for loading a bunch of extra stuff in there!
+1.


chore(main): release 1.0.0

:robot: I have created a release beep boop
1.0.0 (2024-04-27)
Build System

deps: bump FluentAssertions from 7.0.0-alpha.1 to 7.0.0-alpha.2 (d66fae4)
deps: bump FluentAssertions from 7.0.0-alpha.2 to 7.0.0-alpha.3 (13ea0ab)
deps: bump Microsoft.CodeAnalysis.CSharp from 4.7.0 to 4.8.0 (118b0df)
deps: bump Microsoft.NET.Test.Sdk (5a16726)
deps: bump Microsoft.NET.Test.Sdk (#261) (f7278da)
deps: bump MongoDB.Bson from 2.21.0 to 2.22.0 (49e8517)
deps: bump MongoDB.Bson from 2.22.0 to 2.23.0 (86660e0)
deps: bump MongoDB.Driver from 2.21.0 to 2.22.0 (c5b121b)
deps: bump MongoDB.Driver.Core and MongoDB.Bson (72649f6)
deps: bump MongoDB.Driver.Core from 2.21.0 to 2.22.0 (6e7ffb7)
deps: bump MongoDB.Driver.GridFS from 2.21.0 to 2.22.0 (1f41a30)
deps: bump Polly from 8.0.0 to 8.1.0 (4d8eb97)
deps: bump Polly from 8.0.0-beta.2 to 8.0.0 (6d25b42)
deps: bump RabbitMQ.Client from 6.6.0-beta.0 to 6.6.0 (167ed73)
deps: bump Serilog from 3.0.2-dev-02044 to 3.0.2-dev-02056 (1f1ec6f)
deps: bump Serilog from 3.0.2-dev-02056 to 3.0.2-dev-02063 (#260) (6077575)
deps: bump Serilog from 3.1.0-dev-02072 to 3.1.0-dev-02077 (9969f64)
deps: bump Serilog from 3.1.0-dev-02078 to 3.1.0-dev-02083 (94d0c03)
deps: bump Serilog from 3.1.0-dev-02083 to 3.1.0-dev-02086 (808bbba)
deps: bump Serilog from 3.1.0-dev-02086 to 3.1.0 (b727faa)
deps: bump SkiaSharp.NativeAssets.Linux.NoDependencies (1dd6824)
deps: bump Spectre.Console.Json (7240418)
deps: bump Spectre.Console.Json (f5d2387)
deps: bump Spectre.Console.Json (bc2c05b)
deps: bump Spectre.Console.Json (083a0cf)
deps: bump Spectre.Console.Json (286b303)
deps: bump Spectre.Console.Json (85ac186)
deps: bump Spectre.Console.Json (d1324eb)
deps: bump Spectre.Console.Json (fe6634a)
deps: bump Spectre.Console.Json (581d066)
deps: bump Spectre.Console.Json (d47f269)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/joesdu/EasilyNET/releases/tag/untagged-debf1d2159dc7f2882c5 :sunflower:


Training when input to be be quantized contains padding

When we perform quantization of a batch of sequences, with each sequence padded to the longest length in the batch, I would assume that while calculating and ordering the Euclidean distances for each embedding in a sequence, we would have to ignore the embeddings corresponding to the pad indices during training/updating the codebook.  This is not explicitly defined in the code. Can this have a negative effect or is it safe to ignore?

Thanks! The codebase is definitely getting pretty complex compared to what I remember 6 months ago:). I guess that's the downside of researchers doing weird things and limit testing stuff.

haha yes indeed
i'll try to remove feature moving forward, depending on what researchers tell me what works or not

for now, because residual VQ is such a big success in the audio domain, we will have to stick with the complexity


Set Primary Contact based upon Account Primary Contact

AC:

If an org has NPSP installed when an membership is created from Account, copy the primary contact lookup from the Account to the primary contact field on the membership. [Trigger: Membership Insert]

What if the Membership Primary Contact is NOT the same as the Account Primary Contact?
(For example: I am the Primary Contact in my Household, but my HH member is the one who purchases the Membership and should be the Named Member. Therefore, these two Primary Contacts are NOT the same.)


微调完成，但是在模型合并中报错，非常感谢

It looks like the config file at 'model.safetensors' is not a valid JSON file.

model_name_or_path: model.safetensors
adapter_name_or_path: saves\Qwen1.5-0.5B\lora\train_2024-07-12-21-09-48
template: Qwen1.5-0.5B
finetuning_type: lora
export
export_dir: PycharmProjects\pythonProject\Qwen1.5-0.5B-Chat-merged
export_size: 4
export_device: cuda
export_legacy_format:   false

Did you download the model files from the official huggingface or modelscope?

yes ,i have ,

susseccful，the problem is the template name wrong.thanks

glad you solve it.


Error running sample scripts on Python 3.7.2 (64-bit)

Error when running server

line 9, in
if data is not none:
NameError: name 'none' is not defined

to run I had to change
if data is not none:
to
if data is not None:
Error when running Client:

line 1, in
from socketengine import CLIENT
ImportError: cannot import name 'CLIENT' from 'socketengine'

from socketengine import CLIENT
to run I had to change import:
from socketengine import client

Both good catches! I had fixed the none issue on a local branch but hadn't pushed. Both issues not resolved. Thanks!


Bump TVM to v0.8

Release Apache TVM v0.8 Release Note · apache/tvm
Fix #530

Codecov Report

Merging #581 (ded27eb) into main (5ed0efc) will decrease coverage by 4.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #581      +/-   ##
==========================================
- Coverage   90.37%   86.31%   -4.06%
==========================================
  Files          78       78
  Lines        4563     4554       -9
  Branches      946      946
==========================================
- Hits         4124     3931     -193
- Misses        250      422     +172
- Partials      189      201      +12

Flag
Coverage Δ

unittests
86.31% <ø> (-3.91%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ummingbird/ml/containers/sklearn/tvm_containers.py
17.24% <0.00%> (-75.87%)
:arrow_down:

.../ml/operator_converters/_linear_implementations.py
75.55% <0.00%> (-22.23%)
:arrow_down:

...ird/ml/operator_converters/onnx/one_hot_encoder.py
62.50% <0.00%> (-18.75%)
:arrow_down:

hummingbird/ml/_topology.py
68.87% <0.00%> (-16.72%)
:arrow_down:

...tor_converters/_one_hot_encoder_implementations.py
92.45% <0.00%> (-3.78%)
:arrow_down:

hummingbird/ml/operator_converters/sklearn/mlp.py
88.88% <0.00%> (-3.71%)
:arrow_down:

hummingbird/ml/convert.py
79.24% <0.00%> (-2.84%)
:arrow_down:

hummingbird/ml/supported.py
90.43% <0.00%> (-2.61%)
:arrow_down:

...mmingbird/ml/containers/sklearn/onnx_containers.py
87.50% <0.00%> (-2.35%)
:arrow_down:

...mmingbird/ml/operator_converters/sklearn/linear.py
97.72% <0.00%> (-2.28%)
:arrow_down:

... and 5 more

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 5ed0efc...ded27eb. Read the comment docs.

Sorry, I mistakenly closed the PR.

Please rebase to #582 to see if it fixes your issue?

Hi, can you review the PR? @interesaaat @ksaur
Thanks!

Thanks @masahi for updating TVM!

Thanks @interesaaat for your review.
By the way, I'm @mshr-h, not @masahi.

Hi @mshr-h /@interesaaat, can you please take a look why coverage dropped on this one?
We went from 90% to 80% in this one commit.  Codecov does mess up sometimes, but I want to make sure that all of the tests that you expect to run are actually running!


Meta Data Version mismatch in angular 5

Bug, feature request, or proposal:
Bug
What is the expected behavior?
It should serve the app
What is the current behavior?
Its giving error of "Metadata version mismatch"
I have upgraded my application from angular 4 to 5 and after resolving all of the major conflicts I stuck at this dead end issue,
ERROR in Error: Metadata version mismatch for module /Users/ws23/Projects/csn-demo/cab-startup-new-backoffice/src/app/app.module.ts, found version 3, expected 4     at StaticSymbolResolver.getModuleMetadata (/Users/ws23/Projects/csn-demo/cab-startup-new-backoffice/node_modules/@angular/compiler/bundles/compiler.umd.js:29622:34)     at StaticSymbolResolver._createSymbolsOf (/Users/ws23/Projects/csn-demo/cab-startup-new-backoffice/node_modules/@angular/compiler/bundles/compiler.umd.js:29354:46)     at StaticSymbolResolver.resolveSymbol (/Users/ws23/Projects/csn-demo/cab-startup-new-backoffice/node_modules/@angular/compiler/bundles/compiler.umd.js:29013:14)     at StaticReflector.findSymbolDeclaration (/Users/ws23/Projects/csn-demo/cab-startup-new-backoffice/node_modules/@angular/compiler/bundles/compiler.umd.js:31531:67)     at StaticReflector.findDeclaration (/Users/ws23/Projects/csn-demo/cab-startup-new-backoffice/node_modules/@angular/compiler/bundles/compiler.umd.js:31506:21)     at Object.listLazyRoutesOfModule (/Users/ws23/Projects/csn-demo/cab-startup-new-backoffice/node_modules/@angular/compiler-cli/src/ngtools_impl.js:51:37)     at Function.NgTools_InternalApi_NG_2.listLazyRoutes (/Users/ws23/Projects/csn-demo/cab-startup-new-backoffice/node_modules/@angular/compiler-cli/src/ngtools_api.js:91:39)     at AotPlugin._getLazyRoutesFromNgtools (/Users/ws23/Projects/csn-demo/cab-startup-new-backoffice/node_modules/@ngtools/webpack/src/plugin.js:241:66)     at _donePromise.Promise.resolve.then.then.then.then.then (/Users/ws23/Projects/csn-demo/cab-startup-new-backoffice/node_modules/@ngtools/webpack/src/plugin.js:495:24)     at <anonymous>     at process._tickCallback (internal/process/next_tick.js:188:7)
Here is my package.json file:
"dependencies": {     "@angular/animations": "5.1.1",     "@angular/cdk": "^5.0.0-rc0",     "@angular/common": "5.1.1",     "@angular/compiler": "5.1.1",     "@angular/core": "5.1.1",     "@angular/flex-layout": "2.0.0-beta.10-4905443",     "@angular/forms": "5.1.1",     "@angular/http": "5.1.1",     "@angular/material": "^5.0.0-rc0",     "@angular/platform-browser": "^5.0.0",     "@angular/platform-browser-dynamic": "^5.0.0",     "@angular/platform-server": "^5.0.0",     "@angular/router": "^5.0.0",     "@cloudinary/angular": "^2.1.1",     "@ngui/datetime-picker": "^0.16.2",     "@ngx-translate/core": "^9.0.2",     "@swimlane/ngx-datatable": "7.2.1",     "angular-2-local-storage": "^1.0.1",     "angular-calendar": "0.13.0",     "angular-material-expansion-panel": "^0.7.2",     "angular-tree-component": "3.2.4",     "angular2-csv": "^0.2.5",     "angular2-image-upload": "^1.0.0-rc.0",     "angular2-image-zoom": "^1.2.1",     "angular2-material-datepicker": "^0.5.0",     "chart.js": "2.5.0",     "core-js": "2.4.1",     "d3": "4.7.4",     "dragula": "3.7.2",     "hammerjs": "2.0.8",     "i": "^0.3.6",     "intl": "1.2.4",     "jquery": "^3.2.1",     "leaflet": "^1.0.2",     "lodash": "^4.17.4",     "moment": "^2.15.0",     "ng-pick-datetime": "^5.0.0-beta.14",     "ng2-charts": "1.5.0",     "ng2-cloudinary": "^0.9.2",     "ng2-dragula": "1.3.0",     "ng2-expansion-panels": "0.0.6",     "ng2-file-upload": "1.2.0",     "ng2-image-hover-zoom": "^1.0.2",     "ng2-timezone-selector": "^0.1.4",     "ng2-translate": "5.0.0",     "ng2-validation": "3.9.1",     "ngx-delete-confirm": "0.0.4",     "node-sass": "^3.13.1",     "path-is-inside": "^1.0.2",     "perfect-scrollbar": "^0.6.16",     "primeng": "^4.2.0-rc.1",     "quill": "1.2.3",     "rxjs": "^5.5.6",     "screenfull": "^3.0.2",     "select2": "^4.0.6-rc.1",     "universalify": "^0.1.1",     "zone.js": "0.8.5"   },   "devDependencies": {     "@angular/cli": "^1.4.9",     "@angular/compiler-cli": "^4.2.4",     "@types/jasmine": "2.5.47",     "@types/node": "6.0.60",     "codelyzer": "2.0.0",     "jasmine-core": "2.5.2",     "jasmine-spec-reporter": "3.2.0",     "karma": "1.5.0",     "karma-chrome-launcher": "2.0.0",     "karma-cli": "1.0.1",     "karma-coverage-istanbul-reporter": "0.2.0",     "karma-jasmine": "1.1.0",     "karma-jasmine-html-reporter": "0.2.2",     "protractor": "5.0.0",     "ts-node": "3.0.2",     "tslint": "4.5.0",     "typescript": "^2.4.2"   }

This error is cause by running mismatched versions of angular packages.  It looks like you have 5.1.1 for some angular packages and 5.0.0 for others.  Please ensure that all of your angular packages are using matching/compatible.
You will then need to clear your node_modules and do a fresh npm install


500 error when selecting episodes

Describe the bug
So I have Crunchy installed on two machines. If I run the same command on both one runs it fine and the other one errors out with a 500 error. Both using the latest version.
To Reproduce
Steps / command to reproduce the behavior:
crunchy-cli download -a ja-JP -o "{series_name} - S{season_number}E{relative_episode_number} - {episode_number} - {title} - [{resolution}] - [{audio}]-[Crunchy Roll].mkv" https://www.crunchyroll.com/series/G6JQVM3ER/case-closed-detective-conan[S1E39]

When running without a specific episode number but with --ignore-existing it produces the same error.
Running it without --ignore-existing or episode number it works fine.
However, on the other machine I can do any combinated of episode requests and it just grabs exactly what I want
Expected behavior
Both will download a single episode of a TV show. But one gives a 500 error along with "a unexpected error occurred: expected value at line 1 column 1 at 1:1 (https://www.crunchyroll.com/content/v2/cms/series/G6JQVM3ER/seasons?locale=en-US&preferred_audio_language=ja-JP): :
"
Screenshots
https://imgur.com/a/0i7jLZd
https://imgur.com/a/fS7cEcK
Client (please complete the following information):

OS: Ubuntu 22.04
crunchy-cli 3.0.0-dev.13 (b55ac9a 2023-06-18)
crunchy-cli 3.0.0-dev.13 (49d6480 2023-06-13)

Additional context
Add any other context about the problem here.

Is the issue still there? I can't reproduce it atm.

I am having the same bug, I was to able to get around it by setting the powershell locale to the same as the one I'm downloading from (I'm using a VPN and downloading in a dubbed language).
see here on how to change the locale: https://stackoverflow.com/questions/59909992/temporarily-change-powershell-language-to-english
I think the solution here is to allow for a cmd line argument to override the locale used for the API

That's for sure an interesting read. Unfortunately I'm not running it in Powershell as I'm a Ubuntu user. I know in yt-dlp there is an option for geo-location-bypass so I guess I need something similar for this.

You are able to overwrite your locale which gets used by crunchy-cli with the (root) --lang flag. This should have the same impact as changing your system locale.

That's interesting. I didn't know that.
So if I wanted the UK would I set the lang to:
--lang to en/GB
Cheers

@ByteDream I am passing the --lang flag, and yet it won't work unless I set my system locale using the powershell script

Okay that's a bit weird. I'll look into it when I have sufficient time

Could (one of) you paste the full error output @pete2583 @matheus2740? In the first screenshot provided is more text after a unexpected error occurred: expected value at line 1 column 1 at 1:1 (https://www.crunchyroll.com/content/v2/cms/series/G6JQVM3ER/seasons?locale=en-US&preferred_audio_language=ja-JP): :  which got cut out.

Hey.
So the full error is as below:
`crunchy-cli download -a ja-JP -o "{series_name} - S{season_number}E{relative_episode_number} - {episode_number} - {title} - [{resolution}]

[{audio}]-[Crunchy Roll].mkv" https://www.crunchyroll.com/series/G6JQVM3ER/case-closed-detective-conan[S1E39]
:: ✔ Logging in
:: expected value at line 1 column 1 at 1:1 (https://www.crunchyroll.com/auth/v1/token): :

Just a moment...

                        Enable JavaScript and cookies to continue

`

Ty. This error is triggered by cloudflare which already has its dedicated issue #104, I should've asked earlier for the full error output. But I still don't know how the system locale can decide if the error shows up or not.


Update community files (#1081)

Signed-off-by: Knative Automation<EMAIL_ADDRESS>

/retest

OCF Webhook is merging this PR


Address FIXME in Animation Calculation in BookmarkTopArea.kt

The animation calculation in BookmarkTopArea.kt has a FIXME comment that needs to be addressed. Let's dive into the code, understand the problem, and provide a solution.

🙋


Histogram not aligned in Prediction -> Score filter

Describe the bug
In the Prediction -> Score filter, the histogram is not aligned with the score selector.
To Reproduce
Steps to reproduce the behavior:

Go to our dev env and check out the deepsparse_newspop dataset
Try to use the Prediction -> Score filter

Expected behavior
The histogram should be aligned with the score selector.
Screenshots

In the screenshot, the filter is already applied. Scores in the most likely prediction go from 25 to roughly 47.
Environment (please complete the following information):

OS [e.g. iOS]: Ubuntu 20.04
Browser [e.g. chrome, safari]: Firefox
Rubrix Version [e.g. 0.10.0]: 0.15.0dev
ElasticSearch Version [e.g. 7.10.2]: dev environment
Docker Image (optional) [e.g. rubrix:v0.10.0]:  -

CC @leiyre @frascuchon


irmin-type: support record and variant extension

The algebraic type combinators can be used in a limited way to encode polymorphic variants and record types, but they are not extensible. We have a few cases of polymorhic variant inheritance (Rinherit) in the Irmin repository that cannot be efficiently (or automatically) represented because of this.
It would be nice to look into encoding these types properly at some point.

Now ported to the mirage/repr repository: https://github.com/mirage/repr/issues/4.


Documentation: warn membership change while migration

Fix https://github.com/coreos/etcd/issues/7429.

LGTM.
defer to @heyitsanthony

lgtm after nit fixup. Thanks!


Update icons reference in doc metadata docs

Alyssa Coghlan noticed that some cases when recognizing services were missing.
This PR fixes them by:

adding the changelog supported aliases
mark items where a prefix pattern matching is performed

/cc @woodruffw @facutuesca

I've updated the PR with @di latest comments and sorted the lists by alphabetic order.


DUnitXFiremonleyGUI_XE5 Doesn't build

Just updated my local copy of DunitX.  Everything else seems to be building OK out of DUnitX_XE5.groupproj except for subject project.
[dccosx Fatal Error] DUNitX.Loggers.GUIX.pas(36): F1026 File not found: 'C:\Program Files\TMSI Delphi XE5 Libs\DUnitX\FMX.ListView.Appearances.dcu'

My understanding from @vincentparrett is that the FireMonkey GUI logger doesn't compile in at least XE7 and lower.  Not sure what the exact minimum required version is, but I believe Embarcadero contributed that code and it only worked with the version that they originally wrote it for and higher.

@vincentparrett - See my previous comment.  Is this correct?  If so, do you want to close this?  I don't think any of us are going to be working on the FMX version anytime soon, but if you prefer to leave it open just in case, then that's cool too.

Closing, have no intention of working on the fmx version, that's embarcadero's baby. Dealing with fmx between delphi versions is a nightmare, vcl was bad enough but fmx changes every version and breaks forms.

On the page https://github.com/VSoftTechnologies/DUnitX in Readme it's feel like any own GUI is deprecated here,  in favor of using TestInsight (https://bitbucket.org/sglienke/testinsight/wiki/Home)


npm install installs 1.3 instead of 1.4

npm install installs version 1.3 instead of the latest 1.4.
Could you please update it?
Thanks!

Yep, thank you !

Hi guys, do you have any updates on the same?
npm got 1.3.0 only; 1.4.0 would be great or even 1.5.0

This is actually causing us a problem right now as we're looking to migrate away from Bower to just using npm. Unfortunately Bower uses 1.4.0, so I'm stuck until npm's Gentelella is updated.

+1 Please update to 1.4.0

We are working on that, thanks.

Done.


catch all route?

do we have to define all pages in routes ? if a page is not in route file ,does next-routes find it ? if not, for pages that does not need slug/param ,can we write one route?

I've only played with next-routes for 5 minutes, but it is my understanding that you **do not ** need to define all routes for all pages - instead, the pages will default to their .js file name, e.g. pages/about.js becomes available as localhost:3000/about with no further action needed.

it is my understanding that you do not need to define all routes for all pages - instead, the pages will default to their .js file name

This is somewhat true. If you set useFileSystemPublicRoutes: false in your next.config.js and use only this library for routes, then you will need to define all of your routes. If you do not set that config, then the filesystem the default filesystem routing system will be used also. You probably don't want this though, because it means some pages will be accessible through both routing systems, which complicates things, could be bad for SEO (same page served at multiple locations), and could lead to insecure code (expectations for query params won't be met if accessing through default routing).
This should really be documented. I will try to make a PR.

for pages that does not need slug/param ,can we write one route?

I think the only way to do this (without using two routing systems) is to have a single page (on the Next,js level) with a pageId parameter, because you can't have a single route that maps to multiple Next.js pages.
module.exports = nextRoutes()
  .('page', '/:pageId(home|signup|contact)')
    // '/home' -> 'page', { pageId: 'home' }
    // '/signup' -> 'page', { pageId: 'signup' }
    // '/contact' -> 'page', { pageId: 'contact' }

You can make the pattern whatever you want. Refer to https://github.com/pillarjs/path-to-regexp
You may want to do code splitting (using import()) in that PagePage, since you won't get it by default.

Is there a solution to how to have a simple default route? that is, just the "/" route that normally goes to index.js, but when I set userFileSystemPublicRoutes: false, I no longer seem to have a home page.  Is it obvious what the routes.add should look like? I tried routes.add("homeRoute",'','index'); and then route to <Link route="homeRoute" > I get a 404.

@pkellner I think the pattern needs a leading slash? i.e. routes.add("homeRoute",'/','index')

Is there currently an issue with Next v8 and catch all routes? I am use a headless API to fetch JSON from a server and all paths should be served from one index.js file. This is the current repo:
https://github.com/dohomi/storyblok-mui-nextjs
If I open subroutes and do a page reload it leads to 404
Any idea what is missing?
const nextRoutes = require('next-routes')
const routes = module.exports = nextRoutes()

routes.add('/robots.txt','robots.txt')
routes.add('index', '/:slug+')

Thanks

@dohomi did you find out a solution for catch-all routes?

@Bundas yes I moved to next 9.x and there you don't need next-routes any longer. Just check the public documentation maybe it fits your use case as well. https://nextjs.org/docs/routing/dynamic-routes#catch-all-routes


Async support

I'm working on integrating this with reqwest to allow sending proxied requests more easily.
It would be useful to add async support to rust-socks:

asynchronous versions of connect and connect_with_password
implement AsyncRead and AsyncWrite for the various stream types

I'd probably want to have a separate tokio-socks crate for that, but seems reasonable to have.

Would you mind publishing a new release BTW (with the winapi fix)? I currently have to use a git dependency which will block https://github.com/seanmonstar/reqwest/pull/339

Done

I want to join in and help for making this async, but I need some guidance how this should be done.


Issues running arf-to-graph on Fedora 32

On Fedora 32, arf-to-graph Tracebacks.
$ arf-to-graph tests/test_data/ssg-fedora-ds-arf.xml xccdf_org.ssgproject.content_rule_audit_rules_unsuccessful_file_modification_creat
Traceback (most recent call last):
  File "/usr/local/bin/arf-to-graph", line 11, in <module>
    load_entry_point('oval-graph==1.2.4', 'console_scripts', 'arf-to-graph')()
TypeError: arf_to_graph() missing 1 required positional argument: 'args'

Tried installing from packaged oval-graph-1.2.4-1.fc32 and latest master.
Am I missing something?
Edit: help doesn't work too: $ arf-to-graph -h

It is very likely some issue with installation. Following command works for me:
python3 -m oval_graph.command_line arf-to-graph -h

It is very likely some issue with installation. Following command works for me:
python3 -m oval_graph.command_line arf-to-graph -h


optimum.neuron.modeling_decoder.get_available_cores returns a wrong result

System Info
optimum-neuron main

Who can help?
I think I can help :), I'll provide a fix proposal asap
Information

[ ] The official example scripts
[ ] My own modified scripts

Tasks

[ ] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[ ] My own task or dataset (give details below)

Reproduction (minimal, reproducible, runnable)
Reproduce:
Spawn ec2 instance inf2.24xlarge
Spawn a container and give it only access to parts of the neuron devices, for example 1/6  (the container should not have the NEURON_RT_NUM_CORES env variable specified otherwise this will just mask the issue)
from optimum.neuron.modeling_decoder import get_available_cores
print(get_available_cores())

prints 12, not 2
reason, from the code and what I observe:
https://github.com/huggingface/optimum-neuron/blob/e83dc20025065148a75192d6b999d52d3c6f2c0e/optimum/neuron/modeling_decoder.py#L60
looking here is apparently not accurate better to look directly in /dev
root@test-raph:/# ls -alh /sys/class/neuron_device/
total 0
drwxr-xr-x  2 root root 0 Mar 29 17:34 .
drwxr-xr-x 33 root root 0 Mar 29 17:34 ..
lrwxrwxrwx  1 root root 0 Mar 29 17:43 neuron0 -> ../../devices/virtual/neuron_device/neuron0
lrwxrwxrwx  1 root root 0 Mar 29 17:43 neuron1 -> ../../devices/virtual/neuron_device/neuron1
lrwxrwxrwx  1 root root 0 Mar 29 17:43 neuron2 -> ../../devices/virtual/neuron_device/neuron2
lrwxrwxrwx  1 root root 0 Mar 29 17:43 neuron3 -> ../../devices/virtual/neuron_device/neuron3
lrwxrwxrwx  1 root root 0 Mar 29 17:43 neuron4 -> ../../devices/virtual/neuron_device/neuron4
lrwxrwxrwx  1 root root 0 Mar 29 17:43 neuron5 -> ../../devices/virtual/neuron_device/neuron5

root@test-raph:/# ls /dev/
core  fd  full  mqueue  neuron0  null  ptmx  pts  random  shm  stderr  stdin  stdout  termination-log  tty  urandom  zero

Attached the container runtime spec to show that only one neuron was exposed
runtime_spec.txt
Expected behavior
get_available_cores should return 2, not 12 (even if it can guess there are actually 12 cores on the underlying hardware from the sysfs)
Also: not sure whether we should inform AWS about such pitfall (because we should mask as much as possible the view of the real hardware from within the container

Just to make sure I got this right: you only expose the first node to the container (Neuron 0), but since all pseudo devices are visible (although not exposed), the function returns 12 instead of 2 ?

Just to make sure I got this right: you only expose the first node to the container (Neuron 0), but since all pseudo devices are visible (although not exposed), the function returns 12 instead of 2 ?

Yep exactly

For what it's worth, the number of devices under /dev looks corect.


Consider removing LC events page

What is the problem?
There is an LC events page (https://librarycarpentry.org/events/) linked to from the "Connect" menu.  It is years out of date. Can we either update this page or remove this page entirely? @acrall
Location of problem (optional)
No response

If we remove the page, we can have the URL redirect to https://carpentries.org/community/#community-events

@OscarSiba Let me know if you are ok with this.

Yes, please re-direct @maneesha!