Go do definition / type definition / implementation  do the same thing

It seems that <Plug>(coc-definition), <Plug>(coc-type-definition), <Plug>(coc-implementation) do the same thing (i.e. they go to typescript type definition). It is visible on screencast where I issue each of them. https://asciinema.org/a/619AvvIQjd3zG7IV5MoLafVec
Any chance of fixing this behavior? Probably it should be fixed somewhere else, but I wanted to raise this important issue here as well and discuss it

They're not the same, check your log.

Log doesn't show any info about it:
2020-06-30T11:32:56.623 DEBUG (pid:33474) [events] - Event: CursorHold [ 6 ]
2020-06-30T11:32:58.128 DEBUG (pid:33474) [events] - Event: CursorHold [ 6 ]
2020-06-30T11:33:16.139 DEBUG (pid:33474) [events] - Event: FocusGained []
2020-06-30T11:33:16.445 DEBUG (pid:33474) [events] - Event: CursorHold [ 6 ]
2020-06-30T11:33:17.188 DEBUG (pid:33474) [events] - Event: BufWinLeave [ 6, 1000 ]
2020-06-30T11:33:17.189 DEBUG (pid:33474) [events] - Event: BufHidden [ 6 ]
2020-06-30T11:33:17.190 DEBUG (pid:33474) [events] - Event: BufEnter [ 1 ]
2020-06-30T11:33:17.192 DEBUG (pid:33474) [events] - Event: BufWinEnter [ 1, 1000 ]
2020-06-30T11:33:17.193 DEBUG (pid:33474) [events] - Event: CursorMoved [ 1, [ 16, 16 ] ]
2020-06-30T11:33:17.513 DEBUG (pid:33474) [events] - Event: CursorHold [ 1 ]
2020-06-30T11:33:28.450 DEBUG (pid:33474) [events] - Event: CursorHold [ 1 ]
2020-06-30T11:33:30.233 DEBUG (pid:33474) [events] - Event: CursorHold [ 1 ]

In any case all of them go to type definition while I'd expect at least one of them go to javascript definition, instead of typescript type definition

Also looking at the code they are indeed the same:
    this.disposables.push(
      languages.registerDefinitionProvider(
        languageIds,
        definitionProvider
      )
    )

    this.disposables.push(
      languages.registerTypeDefinitionProvider(
        languageIds,
        definitionProvider
      )
    )

    this.disposables.push(
      languages.registerImplementationProvider(
        languageIds,
        definitionProvider
      )
    )

Could you reopen?

https://github.com/neoclide/coc-tsserver#troubleshooting

Please check the log of tsserver, if it's not bug of coc-tsserver, you can discuss the problem at https://github.com/microsoft/TypeScript/issues

Thank you for guiding me, here are logs for reference:
Info 116  [11:41:24.825] request:
    {"seq":8,"type":"request","command":"definition","arguments":{"file":"/Users/sheerun/Source/tmp/jest/packages/jest-message-util/src/index.ts","line":14,"offset":16}}
Perf 117  [11:41:24.845] 8::definition: elapsed time (in milliseconds) 20.3599
Info 118  [11:41:24.846] response:
    {"seq":0,"type":"response","command":"definition","request_seq":8,"success":true,"body":[{"file":"/Users/sheerun/Source/tmp/jest/node_modules/@types/babel__code-frame/index.d.ts","start":{"line":11,"offset":17},"end":{"line":11,"offset":33},"contextStart":{"line":11,"offset":1},"contextEnd":{"line":15,"offset":11}}]}
Info 119  [11:41:33.687] request:
    {"seq":9,"type":"request","command":"typeDefinition","arguments":{"file":"/Users/sheerun/Source/tmp/jest/packages/jest-message-util/src/index.ts","line":14,"offset":16}}
Perf 120  [11:41:33.693] 9::typeDefinition: elapsed time (in milliseconds) 6.7515
Info 121  [11:41:33.696] response:
    {"seq":0,"type":"response","command":"typeDefinition","request_seq":9,"success":true,"body":[{"file":"/Users/sheerun/Source/tmp/jest/node_modules/@types/babel__code-frame/index.d.ts","start":{"line":11,"offset":17},"end":{"line":11,"offset":33},"contextStart":{"line":11,"offset":1},"contextEnd":{"line":15,"offset":11}}]}
Info 122  [11:41:37.383] request:
    {"seq":10,"type":"request","command":"implementation","arguments":{"file":"/Users/sheerun/Source/tmp/jest/packages/jest-message-util/src/index.ts","line":14,"offset":16}}
Perf 123  [11:41:37.416] 10::implementation: elapsed time (in milliseconds) 32.8348
Info 124  [11:41:37.416] response:
    {"seq":0,"type":"response","command":"implementation","request_seq":10,"success":true,"body":[{"file":"/Users/sheerun/Source/tmp/jest/node_modules/@types/babel__code-frame/index.d.ts","start":{"line":11,"offset":17},"end":{"line":11,"offset":33},"contextStart":{"line":11,"offset":1},"contextEnd":{"line":15,"offset":11}}]}

I'll try to resolve it at typescript repository

@chemzqm FYI I've created failing test in typescript repository for this issue: https://github.com/microsoft/TypeScript/pull/39426


Screenshots page: Changing version defaults back to iOS screenshots

Where to find the issue
https://www.coronawarn.app/de/screenshots/#
Describe the issue
Switching to the "Android Screenshots" tab, then selecting a different app version, e.g. 2.5, from the versions dropdown defaults back to showing iOS screenshots.
This is slightly inconvenient and confusing.
Tested browsers:

Firefox 91.0.1 (64-Bit)
Microsoft Edge Version 92.0.902.78 (Official build) (64-bit)

Suggested change
When selecting a different version from the versions dropdown the selected device type (iOS or Android) should be remembered.

@Marcono1234 OK, I see, and agree. We will see if there is a "easy solution".

@Marcono1234 This was recently fixed. Thanks for contributing here.


Restoring getentropy and nanosleep definitions when ZOSLIB_ENABLE_V2R5_FEATURES is not defined

This changes the symbol of __getentropy to getentropy (except if ZOSLIB_ENABLE_V2R5_FEATURES is defined)
The reason we use getentropy as opposed to __getentropy is to limit the number of changes we need to make to enable the build upstream. Without this fix, gpg + openssl fails.

 IEW2456E 9207 SYMBOL getentropy UNRESOLVED.  MEMBER COULD NOT BE INCLUDED FROM
          THE DESIGNATED CALL LIBRARY.
 IEW2665S 40FF MODULE *NULL*  IS NON-EXECUTABLE AND WAS NOT SAVED BECAUSE
          STORENX=NEVER.

A similar change for nanosleep is also added to resolve this error in librdkafka and others:

In file included from /usr/lpp/IBM/oelcpp/v2r0/bin/../include/c++/v1/__thread/timed_backoff_policy.h:16:
/usr/lpp/IBM/oelcpp/v2r0/bin/../include/c++/v1/__threading_support:420:11: error: call to 'nanosleep' is ambiguous
   while (nanosleep(&__ts, &__ts) == -1 && errno == EINTR);
          ^~~~~~~~~
/jenkins/zopen/usr/local/zopen/zoslib/zoslib-main.20231203_231751.zos/include/time.h:72:16: note: candidate function
__Z_EXPORT int nanosleep(const struct timespec*, struct timespec*) __asm("__nanosleep");
               ^
/usr/lpp/IBM/oelcpp/v2r0/bin/../include/c++/v1/__support/ibm/nanosleep.h:17:22: note: candidate function
_LIBCPP_FUNC_VIS int nanosleep(const struct timespec* , struct timespec* );

Also adds Gaby's fixes to test-clib-override.cc: https://github.com/ibmruntimes/zoslib/pull/38/commits/933ff98181e51b006af97823ec3db248cdb42119

Thanks Gaby, I'll open an issue to track the Node.js failures in test/parallel/test-runner-coverage.js caused by the earlier merge


Set irqShared from define

Hi, I am using this repo in my project as a submodule. I want to set irqShared to false in spi.c, but it would be good to change it with define without modifying the source file.
Now it is:
static bool irqShared = true;
But it could be done like this:
#ifndef NO_OS_FATFS_IRQ_SHARED
#define NO_OS_FATFS_IRQ_SHARED true
#endif
static bool irqShared = NO_OS_FATFS_IRQ_SHARED;
Doing it this way it is possible to
add to cmake add_definitions(-DNO_OS_FATFS_IRQ_SHARED=0) line that will change it to not shared mode without modifying source code.

Why do you need no-OS-FatFS-SD-SPI-RPi-Pico to use an exclusive interrupt?

Not sure why you would need to do this, but if you want to make a Pull Request, I'll merge it.

I have issues with mixing shared and exclusive irq handlers, but I found PICO_DISABLE_SHARED_IRQ_HANDLERS define build in pico lib that fixes my problem. It just make all shared handlers exclusive handlers, so it is better than sollution I proposed.

I have issues with mixing shared and exclusive irq handlers

Well, that's concerning. Also, I saw this post about reasons to avoid shared irq handlers:
https://forums.raspberrypi.com/viewtopic.php?t=354129&sid=4fd9f42c13e6de2e81d975643b38ac0d#p2122816
The thing is, with only two DMA system IRQs in the whole RP2040, one runs out pretty quickly when one starts using PIO and stuff if they are used exclusively. As a library writer, I pretty much have to deal with shared irq handlers, so I would hope that they can be made to work! I agree that the SDK implementation and documentation is not very good. I don't have great confidence in my use of them.

I found PICO_DISABLE_SHARED_IRQ_HANDLERS define build in pico lib
Good to know!


Can't edit role permissions

In magento 2.3.3 if italian is set for admin you can't edit role permissions, a js error is returned:
JSON.parse: unterminated string at line 1 column 1920 of the JSON data

@imsamthomas is this package still supported??

Hi, I've the same problem on my installation. Have you fix the issue?


Animation sheet golden test

Description
This PR adds support for golden-testing animating widgets in an animation sheet.
The change introduces 2 new APIs:

WidgetTester.pumpFrames, which is like pump but pumps a number of frames with the specified interval of frameDuration
SheetDisplay, which places clones of the target widget in a grid, and assign them with keys from the tail to the front

In this way, clones of the widget will be added to the front of the sheet one every frame, so that after a number of frames, the sheet is filled with clones that show each frame of the widget.
Take CircularProgressionIndicator as an example. Tests such as follows:
  testWidgets('Indeterminate CircularProgressIndicator uses expected animation', (WidgetTester tester) async {
    await tester.pumpFrames(
      (int frameIndex) => SheetDisplay(
        cellNum: frameIndex,
        cellSize: const Size(48, 48),
        target: const Padding(
          padding: EdgeInsets.all(4.0),
          child: CircularProgressIndicator(),
        ),
      ),
      16 * 12,
    );

    expect(
      find.byType(SheetDisplay),
      matchesGoldenFile('circular_progress_indicator.grid.png'),
    );
  });

Will yield a result as:

Related Issues

Blocks https://github.com/flutter/flutter/pull/50412, which needs an animation test
Affected by https://github.com/flutter/flutter/issues/54511, golden tests yield incorrect result on chrome

Tests
I added the following tests:

pumpFrames

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: Replace with a link to your migration guide

(PR triage fly-by): Cirrus is unhappy.

Close for now until the major changes have been finished


Added Minikube install using Winget in Windows

Signed-off-by: Dipankar Das<EMAIL_ADDRESS>modified:   content/en/docs/tasks/tools/install-kubectl-windows.md
Added command to install minikube using winget in windows

Thanks for suggesting
Hope you have a Good Day🙂

So I have to make the user install kubectl instead of minikube ?

So there is no way to install kubectl using winget


Update GH Actions

Modernizes some Github Actions. This fixes related deprecation warnings too.
adopt has become Temurin.
The Maven CI build seems broken and there's no run in this repository yet. Does this need some fixing?

Maven CI was added by @git-moss as he needed it. I'm not sure if the whole maven build is relevant if we actually publish the JARs to Maven Central (or similar) from the gradle build, but I haven't looked into that yet.

@kurasu  I do not need it either. I just chose it since both Maven and Gradle were there. I am fine with Gradle, too.


ComplexSortField.as moved to the right package.

@aharui one of the classes (ComplexSortField.as)  was in wrong path, i moved to the right place. You can check the PR flow with this one maybe.

Good catch!  Thanks!

Thanks.


Strange look like timestamp in community members

Strange look like timestamp in community members

Nice catch... Can you send somewhere the file :
%APPDATA%\cutecoin_persons_
to check its state ?

https://gist.github.com/yvgithub/93bf84e19358d2161899

Ok, it will be probably fixed with the new "Identities" tab in 1.0.0. I close this one.


References should keep styling from original data list

Describe the problem
Today when user create a list in a table and use it in another table / widget as a reference/or multiple reference, style is not keeped.
For exemple if the orginal list is a choice list with colored tags it tooked him time to do, he will loose all benefit of that landing with a white or grey list.
Notice than in a few days already 4 users complain about it ( 5 including myself ).
I'm joining screenshot and a Grist file.
In the exemple 'Tags' column is used a a references for 'Keyword' column

Styling references_OK.grist.zip
Additional information

Grist version:
Grist instance URL:
SSO solution used and its version (if relevant):
S3 storage solution and its version (if relevant):
Docker version (if relevant):
NodeJS version (if relevant):
Redis version (if relevant):
PostgreSQL version (if relevant):

Closing as duplicate (#1222 )


Reproduce FacQA Task Result

Hi IndoNLU team,
I have a problem when i'm trying to reproduce the result of indoNLU paper on FacQA task using indobert-lite-large pretained model. In the paper show the F1 score result is 69.47.

But when i'm trying to reproduce and submit the prediction result to codalab, i got 64.4 on F1 score.

The difference between my result and the result reported on the paper is about 5 point, which is i think its quite far.
What i do to reproduce the task is run https://github.com/indobenchmark/indonlu/blob/master/main.py code. For the hyperparameters, i follow what is written in the paper.

I run the main.py code  as shown bellow:

Are there some configuration that i missed?
Thank you in advance.

Hi Ryan, thank you for reaching us.
It may be caused by different versions of your transformers library or CUDA.
Would you please check the requirements.txt to set up the environment https://github.com/indobenchmark/indonlu/blob/master/requirements.txt ?
Let us know if you have other questions.
Thank you

Hi @gentaiscool, big thanks for the answer.
I already make sure that i have used the right version for transformers library as written in the https://github.com/indobenchmark/indonlu/blob/master/requirements.txt . Maybe it is due to the difference in the CUDA version since i am running it in gcolab.


initialize gide prefs with reasonable PATH on mac

a new mac does require the PATH env to be set -- can add go, brew, /usr/local/bin

This is a longstanding and convoluted situation on mac:

https://forums.developer.apple.com/forums/thread/74371
https://stackoverflow.com/questions/135688/setting-environment-variables-on-os-x

launchctrl setenv seems like the solution -- currently trying this.

launchctl setenv works for everything except PATH
Meanwhile this command works for path:
sudo launchctl config user path $PATH

per a comment buried in here:
https://stackoverflow.com/questions/25385934/setting-environment-variables-via-launchd-conf-no-longer-works-in-os-x-yosemite/26586170#26586170
but it does require sudo and a reboot, so we can't do it automatically..

Updated README with info.


Update to libc 0.2.99

Why?  Does some other PR require a newer libc, or are you doing this in preparation for a release?

Oh, I suppose in prep for release, I noticed there was a staging branch pointing to HEAD. Also makes it easier to use as a (git, for now) dependency since you don't have to add a separate [patch.'https://github.com/rust-lang/libc'] in Cargo.toml


Suggestions to convert download messages to idiomatic RxJava

Hi Scott! I was having trouble wrapping my head around a more idiomatic way of doing this while working it through in GitHub comments, so I mocked some code up in Android Studio instead. Please let me know what you think, and if you approve please pull this into your current PR branch. HTH!

Much better, thanks!


I have a problem with Atom,today want to open it, or open a file with it and don´t work at all, is rare, because yesterday was working pretty good at all, can someone have an idea what happen, or how can I fix it?

Prerequisites

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

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
[Description of the issue]
Steps to Reproduce

[First Step]
[Second Step]
[and so on...]

Expected behavior: [What you expect to happen]
Actual behavior: [What actually happens]
Reproduces how often: [What percentage of the time does it reproduce?]
Versions
You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.

Try the steps in the debugging guide that is linked in the issue template: https://flight-manual.atom.io/hacking-atom/sections/debugging/.

Thanks for reaching out!
We require the template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us half way :grinning:

thanks for your help, have read the manuel and fix it.


[ISSUE #3359] Add function--Custom delay time

Make sure set the target branch to develop
What is the purpose of the change
#3359
增加了一个自定义延迟消息的实现，通过message 的property中的属性来实现
Added the realization of a custom delayed message, which is realized through the properties in the property of the message
Brief changelog
add property name ：SPECIFY_DELAY_TIME
this property value format:()d()h()m()s
格式为: ()d()h()m()s
例： 1d1h1m1s 表示为 延迟 1天加1小时加1分钟加1秒
Example: 1d1h1m1s is expressed as delay 1 day plus 1 hour plus 1 minute plus 1 second
Verifying this change
add new schedule class and check new property info
这是我的验证结果文档
验证方式：(test way)
this demo code:
生产者(production)
   DefaultMQProducer producer = new DefaultMQProducer("DELAY_GROUP_TAG");

   producer.setNamesrvAddr("<IP_ADDRESS>:9876");

    producer.start();

    final byte[] bytes = "this is cutomer 2m2s message" .getBytes(StandardCharsets.UTF_8);

    Message message = new Message("DELAY_TOPIC_TAG_1", "*", bytes);

    //这是我实现延迟队列用到的

    message.putUserProperty("SPECIFY_DELAY_TIME", "2m2s");

    producer.sendOneway(message);

    producer.shutdown();

消费者：(consume)
    public static void main(String[] args) throws MQClientException {

    DefaultMQPushConsumer consumer = new DefaultMQPushConsumer("DELAY_GROUP_TAG");

    consumer.setNamesrvAddr("<IP_ADDRESS>:9876");

    consumer.setConsumeFromWhere(ConsumeFromWhere.CONSUME_FROM_FIRST_OFFSET);

    //Topic的名称

    consumer.subscribe("DELAY_TOPIC_TAG_1", "*");

    consumer.setSuspendCurrentQueueTimeMillis(30);

    consumer.registerMessageListener(new MessageListenerConcurrently() {

        @Override
        public ConsumeConcurrentlyStatus consumeMessage(List<MessageExt> list, ConsumeConcurrentlyContext consumeConcurrentlyContext) {

            for (MessageExt ext : list) {

                final long time = System.currentTimeMillis() - ext.getBornTimestamp();

                System.out.println("消息\t" + new String(ext.getBody(), StandardCharsets.UTF_8) + "接收到的消息间隔消息\t" + time / 1000.0 );

            }

            return ConsumeConcurrentlyStatus.CONSUME_SUCCESS;
        }

    });

    consumer.start();
}

Greate. it is better to change this PR to develop branch.

Could you please to write a issue firstly, you can refer other issues' formate! @dragonTalon

Could you please to write a issue firstly, you can refer other issues' formate! @dragonTalon

ok,i change my pr add issue;You can take a look

Okay!Nice!
原始邮件
发件人: @.>
收件人: @.>
抄送: Hu @.>; @.>
发送时间: 2021年9月16日(周四) 22:03
主题: Re: [apache/rocketmq] [ISSUE #3359] Add function--Custom delay time(#3337)
Could you please to write a issue firstly, you can refer other issues' formate! @dragonTalon
ok,i change my pr add issue;You can take a look
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

I hope this feature would launch soon.

It's better to compare this with the solution in #2290 to see in what situation this approach fits better.

大哥,这个功能是否已在新的版本中实现了?可否具体说一下是那个版本.

@Jason918
there any problem with this pr merger?

@Jason918 check my branch,please

@dragonTalon
Thanks for your contribution. I think this solution introduce too many write.

Thanks for your contribution. I think this solution introduce too many write.

yes,i  use many consumerQueue save task.
I use to a method of Layering time slicing. If you do not perform slicing but repeat in a consumerQueue, there may be errors if there are more delayed tasks.


Generate version.py from tag

So, we can't push a tag until we fix the version logic, but we can't make the build pass on this version logic PR until we've pushed a tag.


JNI ERROR (app bug): local reference table overflow (max=512) when add multiple wms layer

A/art: art/runtime/indirect_reference_table.cc:113] JNI ERROR (app bug): local reference table overflow (max=512)
A/art: art/runtime/indirect_reference_table.cc:113] local reference table dump:
A/art: art/runtime/indirect_reference_table.cc:113]   Last 10 entries (of 511):
A/art: art/runtime/indirect_reference_table.cc:113]       510: 0x13588ae0 com.android.okio.RealBufferedSource$1
A/art: art/runtime/indirect_reference_table.cc:113]       509: 0x135aa440 java.lang.String "NETWORK 200"
A/art: art/runtime/indirect_reference_table.cc:113]       508: 0x30b345c8 java.lang.String "X-Android-Respon... (25 chars)
A/art: art/runtime/indirect_reference_table.cc:113]       507: 0x135aa400 java.lang.String "1536140538147"
A/art: art/runtime/indirect_reference_table.cc:113]       506: 0x30b345b0 java.lang.String "X-Android-Receiv... (25 chars)
A/art: art/runtime/indirect_reference_table.cc:113]       505: 0x135aa3e0 java.lang.String "1536140538106"
A/art: art/runtime/indirect_reference_table.cc:113]       504: 0x30b34598 java.lang.String "X-Android-Sent-M... (21 chars)
A/art: art/runtime/indirect_reference_table.cc:113]       503: 0x135aa3a0 java.lang.String "image/png"
A/art: art/runtime/indirect_reference_table.cc:113]       502: 0x135aa340 java.lang.String "Content-Type"
A/art: art/runtime/indirect_reference_table.cc:113]       501: 0x135aa2c0 java.lang.String "chunked"
A/art: art/runtime/indirect_reference_table.cc:113]   Summary:
A/art: art/runtime/indirect_reference_table.cc:113]        57 of java.lang.String (57 unique instances)
A/art: art/runtime/indirect_reference_table.cc:113]         1 of com.android.okhttp.internal.http.HttpURLConnectionImpl
A/art: art/runtime/indirect_reference_table.cc:113]        87 of java.lang.String (87 unique instances)
A/art: art/runtime/indirect_reference_table.cc:113]         1 of java.net.URL
A/art: art/runtime/indirect_reference_table.cc:113]       150 of java.lang.String (150 unique instances)
A/art: art/runtime/indirect_reference_table.cc:113]         1 of com.android.okio.RealBufferedSource$1
A/art: art/runtime/indirect_reference_table.cc:113]       214 of java.lang.String (214 unique instances)
A/art: art/runtime/indirect_reference_table.cc:113]
E/art: Could not find dex_pc for void android.view.ViewGroup$TouchTarget.recycle()
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x42 in tid 20894 (Thread-827)

Thanks for reporting this. Could you provide us a reproducible test-case for this? Also, we need exact Android version and device model.

I think I have found the cause. If your tile server returns a really long list of HTTP headers, then the SDK could run out of local JNI references while copying the headers. I have fixed this by releasing these local references explictly. The fix will be in 4.1.4RC1 which we hope to release really soon (next week, probably). Thanks.

I encounter this problem on android 4 , 5 and 6 and i don`t test it on android 7 and 8 yet . I am waiting for next release . Thanks.

It is updated now, try
compile 'com.carto:carto-mobile-sdk:4.1.4-rc.1'

Thanks, the overflow problem seems to be fixed, but now when several wms layers are simultaneously enabled, the app stops with another JNI error. It seems to me that this error is related to the previous error, so I mention it on this issue.
this is the brief of logcat error:

E: Throwing OutOfMemoryError "PushLocalFrame"
E: HTTPClient::AndroidImpl::HTTPClientAndroidImpl: Failed to reserve local JNI frame!
E: HTTPClient::AndroidImpl::makeRequest: JNILocalFrame not valid
E: HTTPTileDataSource::loadTile: Exception while loading tile 18/168463/103204: JNILocalFrame not valid
A: art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: JNI NewLocalRef called with pending exception 'java.lang.OutOfMemoryError' thrown in unknown throw location
A: art/runtime/check_jni.cc:65]     in call to NewLocalRef
A: art/runtime/check_jni.cc:65] "Thread-918" prio=1 tid=35 Runnable
A: art/runtime/check_jni.cc:65]   | group="main" sCount=0 dsCount=0 obj=0x13485080 self=0x6082c500
A: art/runtime/check_jni.cc:65]   | sysTid=14214 nice=19 cgrp=apps sched=0/0 handle=0x7069a000
A: art/runtime/check_jni.cc:65]   | state=R schedstat=(<PHONE_NUMBER><PHONE_NUMBER> 4559 ) utm=828 stm=160 core=3 HZ=100
A: art/runtime/check_jni.cc:65]   | stack=0x60406000-0x60408000 stackSize=1012KB
A: art/runtime/check_jni.cc:65]   | held mutexes= "mutator lock"(shared held)
A: art/runtime/check_jni.cc:65]   native: #00 pc 00005923  /system/lib/libbacktrace_libc++.so (_ZN13UnwindCurrent6UnwindEjP8ucontext+83)
A: art/runtime/check_jni.cc:65]   native: #01 pc 00002e52  /system/lib/libbacktrace_libc++.so (_ZN9Backtrace6UnwindEjP8ucontext+34)
A: art/runtime/check_jni.cc:65]   native: #02 pc 003caae8  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_6mirror9ArtMethodE+136)
A: art/runtime/check_jni.cc:65]   native: #03 pc 00393b6d  /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+285)
A: art/runtime/check_jni.cc:65]   native: #04 pc 00100870  /system/lib/libart.so (ZN3artL8JniAbortEPKcS1+1024)
A: art/runtime/check_jni.cc:65]   native: #05 pc 0010141f  /system/lib/libart.so (_ZN3art9JniAbortFEPKcS1_z+111)
A: art/runtime/check_jni.cc:65]   native: #06 pc 0010764f  /system/lib/libart.so (_ZN3art11ScopedCheck11CheckThreadEi+3151)
A: art/runtime/check_jni.cc:65]   native: #07 pc 00107fc7  /system/lib/libart.so (_ZN3art11ScopedCheckC2EP7_JNIEnviPKc+327)
A: art/runtime/check_jni.cc:65]   native: #08 pc 0011462c  /system/lib/libart.so (_ZN3art8CheckJNI11NewLocalRefEP7_JNIEnvP8_jobject+60)

by "several" wms layers i mean 3 layer which i continuously add it to map view and then remove it for simulating the intense situations , but my app have a list of maybe hundred wms layer which it get from geoserver.

@shm-original I will check our JNI exception handling but this is probably a true out of memory issue, thus needs to be solved at app-level. You may need to explicitly call System.gc() after removing the layers. And check that you do not use tile preloading.

And check that you do not use tile preloading.

@mtehver how should i check for tile preloading?

@shm-original Could you make a small test project (with Android Studio) demonstrating the issue? I think we need a reproducible test-case to proceed from here.

@mtehver Unfortunately raster wms layers are taken from the local server and are not accessible from the outside

@mtehver I changed the method of displaying layers from multiple layers to a single layer, except that every time the user wants to add a new layer to the map, the url address of the layer tiles generated base of selected layers and set to HttpWmsTileDataSource; with single raster layer, application crash after changing the tile base url multiple time.

I am closing this issue now as the original problem is fixed in 4.1.4RC1. @shm-original You can create a new issue regarding the WMS layers. But we really need a reproducible test-case to investigate this, I suspect this is a resource handling issue on app side.


fix: paths to lowercase #2

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add rake task to generate training accounts

Let's do this: rake db:seed:training should create 20 accounts as follows:

email<EMAIL_ADDRESS>password: P4ssword
password_confirmation: P4ssword
name: Training Account #{i}

Bumping to active and marking beginner friendly, since it's a nice to have.


[Bug Report] get a wrong date from date-time-picker

Element UI version
1.3.5
OS/Browsers version
all
Vue version
2.3.3
Reproduction Link
https://jsfiddle.net/qxs3ohe7/
Steps to reproduce
1.pick a date range
2.the input will display a wrong string
3.remove format="yyyy-MM-dd HH:MM:SS"
4.repeat the same operation above,and you can get a correct result

What is Expected?
What is actually happening?

You should use lowercased "mm" and "ss" to format minutes and seconds respectively.
"MM" is for month.
Please check documentation: http://element.eleme.io/#/en-US/component/datetime-picker


question on table syntax

Hello, thanks for your tool! In argdown README (I could not run or fix that program) there is a table like
|Short|Long    |Default                |Description
|-----|--------|-----------------------|----------------------------------------
|`-h` |`--help`|                       |show this help message and exit
|     |`--sum` |<built-in function max>|sum the integers (default: find the max)

In your example, it is
|short|long|default|help|
| :---: | :---: | :---: | :---: |
|`-h`|`--help`||show this help message and exit|
|`-f`|`--files`|`None`|Files to read.|

However, in Markdown specifications (like this one https://linux.die.net/man/5/pandoc_markdown) I could only find that '+' should be used on the intersection of rows and columns (however, your | works too). Could you please explain where you got that syntax and what it means?

I took it from https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-tables.

Thank you! This really looks like "github Markdown". Anyway '+' don't work with my pandoc Markdown (I have to use your syntax).
And now I understand that :---: means Center-aligned (surprisingly, this also works with pandas and is displayed in man correctly). Many thanks.


Queries about capabilities and usage

When I use automatic sending, it seems to want dsym and js map files uploaded, but when I enable sending in Javascript, it doesn’t. Why?

Either way, it doesn’t seem to provide me useful information about where the crash occurred (file, method, line etc) - am I missing something here?

I set up the system to add a text attachment to the report using the following code:
getErrorAttachments: () => {
const info = 'some text information I want to see along with the crash report'
const textAttachment = ErrorAttachmentLog.attachmentWithText(info, 'version.txt')
return [textAttachment]
},

I have verified that it’s being called, but I can’t see the information anywhere in the crash report user interface. Where is it put? Or am I calling it incorrectly (the example only shows returning an array of text and binary attachment)?

How can I tell what permission to send reports the user has previously given? If they have given UserConfirmation.ALWAYS_SEND permission, I don’t want to show an alert that it’s been sent, but if they have just said yes to sending once, I do want to tell them.

Once they have given the UserConfirmation.ALWAYS_SEND permission, how do I reset it so it asks them again?

Thanks

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

ID: 519e420f-cf2a-1d5b-d86a-d01c09bcf7a0
Version Independent ID: 59c746fb-cf4d-3019-2b48-56b69e09aa27
Content
Content Source
Service: vs-appcenter

I have just found where I can see the attachments in the UI, so please ignore point 3.

@goldengecko For symbolicating JS crashes in iOS, you always need to upload dsym and mapping files. App Center will only then be able to show you useful information about the crash with file name, method and line number. If not, please open a support ticket with us to investigate the issue.
In the UI alert if the user selects ALWAYS_SEND, the SDK will store that selection and will send all the application crashes that happens later without showing the alert. If they select SEND option, the SDK will send the crash to App Center, but will show the alert UI again before sending the next crash.
We dont have an API to reset the user confirmation in the SDK.

Hmmm, I have been trying to upload the DSYM and mapping files, but it still doesn't give me any useful information. I see that for a react-native run-ios build, it puts it in my project's ios/build/Build/Products/Debug-iphonesimulator folder and there's just the MyApp.app.dSYM - I presume that is the only one I would have to upload? And for an archive build, I see there's a dSYMs folder in the xcarchive which has several .dSYM files in it. Do I need to upload all of them or just the MyApp one?
For the map file, I'm using the command:
react-native bundle --entry-file index.js --platform ios --dev false --reset-cache --bundle-output unused.jsbundle --sourcemap-output index.ios.map

to generate it. This is a copy and paste of the command in the documentation except changing the entry file since mine is just index.js.
I couldn't find where to open a support ticket from anywhere within the AppCenter, so am replying here.
I also followed the instructions which recommended to create two apps, one for the android build and one for the ios build. It's OK having different places to go to look at the crash reports for the different platforms, but is there some way of looking at the analytics for them combined? My analytics are tracking activities that people do in the app rather than anything platform specific. What would happen if I used the same app secret for both? (or do you use that to know what platform you are dealing with?)

@goldengecko For opening a support ticket, login to https://appcenter.ms portal. There is a blue icon on the lower right end of the portal. Once you click on the icon, click on "New conversation" button to send a message to our product team. That way, we can better help you investigate the first issue.
There is no way in Ap Center to view combined Analytics for both the apps. We want to support "App groups" where you can group similar apps together (in your case RN iOS and Android) that should solve your issue but there is no ETA for that feature.


feat(FDS-221): Barista theme for Cascara Chat

This creates a new Barista theme for Cascara Chat. It is selectable in the Theme Provider playground. We can eventually make it the default for that provider. Note that this should not impact the way Chat works in the Teams app as that application brings its own provider and only switches between the three available teams themes at the app config level.

Messages

:book:

packages/cascara/src/ui/Chat/fixtures/ChatPublicAPI.fixture.js: This fixture has been changed.

  Generated by :no_entry_sign: dangerJS against 22a2a04a6cf82296ccbb62acbafa583889665cb0


Add ability to ignore certain lint errors

As of now, we can only exclude an entire file, but it would be nice to use something like comments within a file to exclude specific lint. Something like // tint-ignore: <rule-name> on the same line as @region should ignore lint on that line.
It might get tricky as that might change how we parse if the comment is in between and the query is a bit too specific.

Another option would be to use // tint-ignore-being and // tint-ignore-end markers.


Welcome message pattern doesn't work fine in web chat

Suggested action example demonstrates how to display buttons right after welcome message. If you run this example in web chat (on the Azure portal, for example), ConversationUpdate will fire after any message from user only. So, if user type "Hi" or something like this, the example displays welcome message and buttons and, obvious, hi should be ignored, but it's not happening and "Hi" is moving to "ProcessInput". It looks like a problem about Welcome pattern in general (no way to say Welcome and ask display navigation using ConversationUpdate in WebChat), but this example demonstrates it very well.

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

ID: 53446ad1-6b8c-1ccb-6e78-2cb14358b1c3
Version Independent ID: 8b0fcc34-e624-64a9-adc8-6c8fa3031f54
Content: Use button for input - Bot Service
Content Source: articles/v4sdk/bot-builder-howto-add-suggested-actions.md
Service: bot-service
Product: bot-framework
GitHub Login: @Kaiqb
Microsoft Alias: kamrani

The issue here is that different channels behave differently, so have one example wouldn't necessarily work for all. We are having discussion within the team about providing some help in this area, and when it is ready, we will update the docs + SDK.

Hi @Kaiqb,
This issue was closed in early Feb and it's now July. I am hoping that Microsoft team should have decided on how to approach this for different channels. The whole community is baffled by this one issue, with no clear indication on how to solve it and thanks to ever-changing templates, it never helps.
Anyways while this was so easier with v3, I wanted to know if your team has found any way to correctly solve this problem. I have been trying to use older Web Chat and new V4 SDK C# + dot net core.
Please help here.
Thanks.


Counter Keeps on counting

If there are zero images in the carousel then the loader keeps on loading until unless page is refreshed.

Please provide a code snippet to replicate the issue .


Don't silently exit the DeviceChan execution loop when there's an error

Trying to make this minimally invasive. I added a new error channel to the returned values. If that channel ever gets an error, the loop will still exit, but now the user has the option to re-instantiate. My test code looks like:

		for {
			log.Info().Msg("Initializing udev monitor")
			udev := go_udev.Udev{}
			monitor := udev.NewMonitorFromNetlink("udev")
			deviceChan, errorChannel, err := monitor.DeviceChan(ctx)
			if err != nil {
				log.Fatal().Err(err).Msg("monitor.DeviceChan")
			}
			// Loop, processing netlink.UEvents, until signaled on Done
		InnerLoop:
			for {
				select {
				case <-Done:
					log.Info().Msg("udev monitor received done signal")
					cancel()
					wg.Done()
					return
				case err := <-errorChannel:
					// Log the error and break out of the inner loop, so we can retry
					log.Error().Err(err).Msg("Udev error channel received an error")
					break InnerLoop
...other code...

I'm unable to reliably reproduce an error that makes this code execute, but I as able to programmatically introduce an error just to make sure that the flow worked correctly.

@jochenvg PR here.


Replace duply with faster backup tool

Borg has some nice features and shows to be a bit faster than duply.

Faster, but still single core
Deduplication
Easier encryption

Restic is crazy fast.

Crazy fast. Seems to use multiple cores.
Deduplication.
Same encryption handling.
Single Go binary.


How to apply frontend changes in this project?

I have modified the files under web/libs/editor/src/common, and expect to see some changes on the web.
Following the README files, what I have tried is to:

Rerun

python label_studio/manage.py migrate
python label_studio/manage.py collectstatic
python label_studio/manage.py runserver

Run

yarn ls:watch
# and
yarn lsf:watch

However, these commands seem didn't update my modification to the frontend page.

If you change the datamanager project, you also need to run yarn dm: watch. Alternatively, as a better option, simply run yarn watch without running any other xx:watch commands. Additionally, you also need to refresh the browser page.

请问解决了么


.gitignore is toothless

myhosts
blacklist
whitelist
readmeData.json
hosts
hosts-*

are in repo, what means that .gitignore has no effect and is merely confusing - modifications to this files are still displayed by git
See https://stackoverflow.com/a/7072230/4130619 and https://stackoverflow.com/a/40272289/4130619 for some potential options
see https://github.com/StevenBlack/hosts/commits/master/.gitignore
As workaround everybody may run git update-index --skip-worktree readmeData.json etc.

Closing.

What was the reason for closing? From what I see it remains unfixed.

@matkoniecz should be fixed by #736 if I understood correctly.

hosts file is still both in repository (see https://github.com/StevenBlack/hosts ) and .gitignore ( https://github.com/StevenBlack/hosts/blob/f5d1d3b4ebee782683d7a944e16f35ff0fa3b1ca/.gitignore )

Oh now I understand why he closed this ... This is issue will not be fixed soon ...

You're talking about the hosts file. So this issue will actualy never be fixed because we actually distribute that host file...

Then why it is in the .gitignore file? Fix would be simple, remove that line in the .gitignore

@matkoniecz PR are welcome as you know!

I didn't quite understand: Why are the following files not in .gitignore?
hosts
readmeData.json
data/.../hosts
extensions/.../hosts

They seem to be changed by makeHosts or updateHosts, but are they also distributed by git pull? Shouldn't it be one or the other? If not, how do I prevent getting a constantly soiled working tree?

They seem to be changed by makeHosts or updateHosts, but are they also distributed by git pull? Shouldn't it be one or the other?

I agree, though this is a different issue to this one.
Currently this repository contains constantly regenerated files and there is no way to avoid

constantly soiled working tree

https://github.com/Jahhein/hosts/commit/09c4d9d24ce0188e2a5f34da66f75a9777046509 merely removed gitignore line that had no effect whatsoever (as file was checked in) so it was not caused by my PR.

What I currently do to update the code and the sources, is:
$ git reset --hard
$ git pull --rebase
$ python3 updateHostsFile.py

Is this the best/recommended day-to-day practice, as long as things are the way that they are?

Wouldn't it be better to either a) only distribute source changes through Git and remove the possibility for updating locally, or b) don't distribute through Git and let people update locally?

It would be interesting to hear the reason for this Winnie-the-Pooh approach, with its disadvantages.

remove the possibility for updating locally

What is the benefit of that? If someone prefers to avoid doing that - noone is forcing them?
Also, it is impossible without removal of source code from repo.

What are the optimal CLI commands to keep the code and sources up-to-date on a day-to-day basis?


checkpatch: Package checkpatch.pl in a container image

As suggested by @errordeveloper in https://github.com/cilium/cilium/pull/11936#issuecomment-651664828, we should package checkpatch inside an image, and avoid keeping it in Cilium's repo as a huge script that is not written in any of the language that are common to the project, or otherwise directly related to Cilium's sources. Instead, it would be a concern of the image-tools repo to either download on image build, or have it checked in (if really needed).
In this repo (and possibly other repos), it could be consumed like this:
      - uses: actions/checkout@v1
      - uses: docker://docker.io/cilium/checkpatch:3e2ea4f151593908c362307a1de22e68610d955c
        name: Run checkpatch.pl

And in a Makefile:
checkpatch:
	@$(ECHO_CHECK) "(checkpatch)"
	$(QUIET) docker run <args> docker.io/cilium/checkpatch:3e2ea4f151593908c362307a1de22e68610d955c

Once the image is added to the cilium/image-tools repo, we can remove the script from the current repository.
Packing it in Docker would also allow us to keep the upstream checkpatch.pl (from Linux) but to apply custom patches when building the image. Here's a list of items we might want to fix (feel free to add to the list):

[ ] Ignore C99-style comments for SPDX tags (see https://github.com/cilium/cilium/pull/12436#issuecomment-655929221).
[ ] Allow single style for starting comment blocks (net/ style or rest-of-kernel style).
[ ] Warn on possibly missing updates for CODEOWNERS instead of MAINTAINERS file.
[ ] Ignore false positives on Signed-off-by: tags (checkpatch expects name/email to be exactly the same as the patch sender, but we don't care if there's a mismatch because of diminutives, case variation, etc.)

It would also be nice to add some documentation to Cilium about the checkpatch checks and how to deal with them (what can be ignored - if any after we remove the false positives, what should be fixed, etc.)

See https://github.com/cilium/image-tools/pull/71.

Checkpatch is now packaged as an external container image, and the script has been removed from Cilium's repository.
Follow-ups include:

[ ] Adding some error types to the ignore-list (namely, thinking of NO_AUTHOR_SIGN_OFF).
[ ] Adding a way to pass the --fix-inplace option to the script (or possibly to pass all options after a -- delimiter from shell script to checkpatch.pl).
[ ] Documentation (where?).

See https://github.com/cilium/image-tools/pull/85.

Closing this issue. I haven't added any checkpatch-related documentation, but I'm not sure this is necessary at the moment. The current trend is to simply suppress reports for checks that bring up too many false positives anyway, as in the PR linked above or in https://github.com/cilium/image-tools/pull/87 / https://github.com/cilium/cilium/pull/14135.


Update CurrentState.json

Fixing Pie Chart Colors to match with the ones in the Timeline

Great catch. Thanks!

Is there any way to match the font colors from the timeline so the pie chart isn't all light text?

I’m not sure if it’s possible with a Pie Chart in Grafana. I’ll try to dig further

It can be changed. Just click on the color next to the legend text.

That’s what we already did in this merge. In this case we see taking about changing the font color.

Sorry @sdwalker as @jheredianet said, grafana doesn't allow to change the text color.. i thought this was possible, but not... :(


Update PortablePanel.cs

Initialises the panel later which helps with attached components not to initialise correctly.

Thanks for your contribution!


Lms driver

Code and test cases to verify LMS signatures.

@korran could you take a look at this and squash merge if all is well?


Revert "Replace rsync when unzipping artifacts on a Mac (#126703)"

This reverts commit 2b3cd7f4d9fd522e2e691fbd169c0c0e1fd7c9e8.
Fixes https://github.com/flutter/flutter/issues/127281.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Does this need a cherry pick into stable?


Added the Offline Status Indicator

Added the Offline Status Indicator
@TejasNasre Check the PR and merge it.

@TejasNasre You said you will put a level 3 issue for this, i did exactly what you told me to do.

yeah  but can't give you because this issue is not have ant backend stuff and all this later the program manager will remove the levels that's why


Pressing "H" leaves cursor behind

Pressing Help shouldn't change the cursor behaviour. It leaves it behind and although it allows movement, but the square from the last cursor doesn't move.

Closed by this line of code in this commit


Gitlens insiders shows following dialog even if Gitlens is uninstalled

@sandy081 I don't see how this can happen, unless extensions.getExtension('eamodio.gitlens') returns something when it shouldn't
https://github.com/eamodio/vscode-gitlens/blob/57825c7dfa2a490c625411650f26cf82a0cf2f0d/src/extension.ts#L24-L31

Ok, it seems to be a bug on my side in extensions view. Gitlens main extension is still running and Extensions view is not showing reload required action.

Filed https://github.com/microsoft/vscode/issues/111574


[Help]: RuntimeError: espeak not installed on your system

当我在windows上 执行python maskgct_inference.py出现下面的提示
./models/tts/maskgct/g2p\sources\g2p_chinese_model\poly_bert_model.onnx
E:\Amphion\envs\amphion\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py:69: UserWarning: Specified provider 'CUDAExecutionProvider' is not in available provider names.Available providers: 'AzureExecutionProvider, CPUExecutionProvider'
warnings.warn(
Traceback (most recent call last):
File "E:\Amphion\models\tts\maskgct\maskgct_inference.py", line 6, in
from models.tts.maskgct.maskgct_utils import *
File "E:\Amphion\models\tts\maskgct\maskgct_utils.py", line 26, in
from models.tts.maskgct.g2p.g2p_generation import g2p, chn_eng_g2p
File "E:\Amphion\models\tts\maskgct\g2p\g2p_generation.py", line 10, in
from models.tts.maskgct.g2p.utils.g2p import phonemizer_g2p
File "E:\Amphion\models\tts\maskgct\g2p\utils\g2p.py", line 17, in
phonemizer_zh = EspeakBackend(
File "E:\Amphion\envs\amphion\lib\site-packages\phonemizer\backend\espeak\espeak.py", line 45, in init
super().init(
File "E:\Amphion\envs\amphion\lib\site-packages\phonemizer\backend\espeak\base.py", line 39, in init
super().init(
File "E:\Amphion\envs\amphion\lib\site-packages\phonemizer\backend\base.py", line 77, in init
raise RuntimeError(  # pragma: nocover
RuntimeError: espeak not installed on your system
(amphion) PS E:\Amphion>
我已经将espeak在powershell中添加进了Path变量，并且在用户环境变量里也添加好了，为什么还是提示没有安装espeak呢？

linux上也是。请问如何安装？

Hi, try to "sudo apt-get install espeak-ng"?

Hi, the MaskGCT is built in a Linux environment. For a better coding experience, it is recommended that Linux be used to reproduce.
Besides, we prefer English issues in this repository.
According to the stack trace, it seems to be the problem with the phonemizer package, reading their docs might be helpful.

For people who are having problem in configuring the env on a Windows machine, you can try to follow this blog post: https://www.cnblogs.com/v3ucn/p/18511187

Windows users can try my fork here: https://github.com/justinjohn0306/MaskGCT-Windows

I also encountered the same problem, I am mac os, through brew install espeak installation, also reported this error, how to deal with

I'm getting the same error on my Linux machine. I tried adjusting env vars for both conda and shell session, but nothing seems to work.

Coming across this issue, I placed the following code at the top of gradio_demo.py:
from phonemizer.backend.espeak.wrapper import EspeakWrapper
EspeakWrapper()

Interestingly, this was sufficient to get passed the error. So, it's not so much that it can't find espeak as much as it is that the runtime error message is a lie.


Parser::document() seems broken: SyntaxError: Syntax Error: Expected , found Name "type"

public function testParserDocument(): void {
    $graphql = 'type Query { test: Int }';

    self::assertInstanceOf(DocumentNode::class, Parser::parse($graphql));   // ok
    self::assertInstanceOf(DocumentNode::class, Parser::document($graphql));// fail
}

GraphQL\Error\SyntaxError: Syntax Error: Expected <SOF>, found Name "type"
/project/vendor/webonyx/graphql-php/src/Language/Parser.php:381
/project/vendor/webonyx/graphql-php/src/Language/Parser.php:475
/project/vendor/webonyx/graphql-php/src/Language/Parser.php:512
/project/vendor/webonyx/graphql-php/src/Language/Parser.php:304
/project/packages/graphql-printer/src/Blocks/Document/DocumentTest.php:47

PS: v15.5.0

Thanks, fixed with https://github.com/webonyx/graphql-php/releases/tag/v15.5.1. Use parse().


pantheon.granite7: 7.1.0 -> 7.2.0

Description of changes
This upgrade is needed for Epiphany 44 to support Pantheon.

Add icon and use it (#629)

Files: meson.build
Keywords: exec

actions/checkout@v3 (#630)
Init: add ensure type (#632)
Update granite.appdata.xml.in (#633)
Add 'since' annotations to things added in 7.1 (#635)
Add since annotation to new public init method (#636)
Release 7.2.0 (#634)

Tags: 7.2.0
Files: meson.build

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

@ofborg test pantheon


Please invite me to the community

Name
SuperComet329
Additional Context
Hi,
I would like to contribute to this community.

Invitation sent to join the GitHub Organization. Welcome to Infraform 🎉Please check your mail to accept the invitation sent by GitHub! 🤖About usInfraform is an open source solution for serverless platforms, it is designed for developing solutions and enhancing creators to create their infrastructure 💻 Great to have you in our community ✨ Looking forward to your valuable contributions! 🤓 You can also check our community ✨ Github ✨ LinkedIn 💜 You can also share our community with other folks who want to learn about development, DevOps, tech, and contribute together and with us 👉💜👈


nvm use in vscode, run npm script and switch node versions automatically

Operating system and version:
nvm debug output:

nvm --version: v0.39.7
$TERM_PROGRAM: vscode
$SHELL: /bin/zsh
$SHLVL: 1
whoami: 'vanch'
${HOME}: /Users/vanch
${NVM_DIR}: '${HOME}/.nvm'
${PATH}: ${NVM_DIR}/versions/node/v12.22.12/bin:${NVM_DIR}/versions/node/v20.15.0/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:${NVM_DIR}/versions/node/v20.15.0/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Library/Frameworks/Python.framework/Versions/2.7/bin:${HOME}/apache-maven-3.9.6/bin:${HOME}/Library/Android/sdk/emulator:${HOME}/Library/Android/sdk/tools:${HOME}/Library/Android/sdk/tools/bin:${HOME}/Library/Android/sdk/platform-tools:${HOME}/apache-maven-3.9.6/bin:${HOME}/Library/Android/sdk/emulator:${HOME}/Library/Android/sdk/tools:${HOME}/Library/Android/sdk/tools/bin:${HOME}/Library/Android/sdk/platform-tools
$PREFIX: ''
${NPM_CONFIG_PREFIX}: ''
$NVM_NODEJS_ORG_MIRROR: ''
$NVM_IOJS_ORG_MIRROR: ''
shell version: 'zsh 5.9 (x86_64-apple-darwin23.0)'
uname -a: 'Darwin 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:12:58 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6000 arm64'
checksum binary: 'shasum'
OS version: macOS 14.5 23F79
awk: /usr/bin/awk, awk version 20200816
curl: /usr/bin/curl, curl 8.6.0 (x86_64-apple-darwin23.0) libcurl/8.6.0 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.61.0
wget: not found
sed: /usr/bin/sed
cut: /usr/bin/cut
basename: /usr/bin/basename
rm: /bin/rm
mkdir: /bin/mkdir
xargs: /usr/bin/xargs
git: /usr/bin/git, git version 2.39.3 (Apple Git-146)
grep: /usr/bin/grep, grep (BSD grep, GNU compatible) 2.6.0-FreeBSD
nvm current: v12.22.12
which node: ${NVM_DIR}/versions/node/v12.22.12/bin/node
which iojs: iojs not found
which npm: ${NVM_DIR}/versions/node/v12.22.12/bin/npm
npm config get prefix: ${NVM_DIR}/versions/node/v12.22.12
npm root -g: ${NVM_DIR}/versions/node/v12.22.12/lib/node_modules

nvm ls output:

->    v12.22.12
       v16.20.2
       v20.15.0
default -> 20 (-> v20.15.0)
iojs -> N/A (default)
unstable -> N/A (default)
node -> stable (-> v20.15.0) (default)
stable -> 20.15 (-> v20.15.0) (default)
lts/* -> lts/iron (-> v20.15.0)
lts/argon -> v4.9.1 (-> N/A)
lts/boron -> v6.17.1 (-> N/A)
lts/carbon -> v8.17.0 (-> N/A)
lts/dubnium -> v10.24.1 (-> N/A)
lts/erbium -> v12.22.12
lts/fermium -> v14.21.3 (-> N/A)
lts/gallium -> v16.20.2
lts/hydrogen -> v18.20.3 (-> N/A)
lts/iron -> v20.15.0

How did you install nvm?
install script in readme
What steps did you perform?

~/.zshrc has command to automatically switch node versions
Created a .nvmrc file in the project, containing the non-default version 12

What happened?

Open the project with vscode, open the terminal in vscode, and the node version switch automatically
Click run in the npm script that comes with vscode, and the default node version is still used

What did you expect to happen?

Click run in the npm script that comes with vscode, and the node version switch automatically

Is there anything in any of your profile files that modifies the PATH?
no

~/.zshrc
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm

# place this after nvm initialization!
autoload -U add-zsh-hook

load-nvmrc() {
  local nvmrc_path
  nvmrc_path="$(nvm_find_nvmrc)"

  if [ -n "$nvmrc_path" ]; then
    local nvmrc_node_version
    nvmrc_node_version=$(nvm version "$(cat "${nvmrc_path}")")

    if [ "$nvmrc_node_version" = "N/A" ]; then
      nvm install
    elif [ "$nvmrc_node_version" != "$(nvm version)" ]; then
      nvm use
    fi
  elif [ -n "$(PWD=$OLDPWD nvm_find_nvmrc)" ] && [ "$(nvm version)" != "$(nvm version default)" ]; then
    echo "Reverting to nvm default version"
    nvm use default
  fi
}

add-zsh-hook chpwd load-nvmrc
load-nvmrc

Is "npm scripts" a feature built into vscode, or a plugin? Either way I think you need to file an issue there; if the vscode terminal is correct, then anything that launches a program should start in that terminal, and also be correct.
Even the autoload scripts aren't part of nvm; you're kind of on your own when you choose to use them.

got it

sorry，again。
move config about nvm in ~/.zshrc to ~/.zprofile, my expect will happen, just for who have this problem later.

@vanchKong gotcha, that means that the "run script" command isn't starting a login shell. It's still something you should file with vscode or the extension.


SWW vs SSW acronym

In the README file theres a few places that use stellar_ssw which is probably also throughout some of the code. This could be updated to stellar_sww for consistency with the webpage.

Actually I've just noticed its in the title too so maybe we just leave it as is! The age old problem of never getting SSW IDL out of our heads 😆

yeah this is my bad - we've also named the environment stellar_ssw in the environment file - so people will have it named this on their local machines 🤦
ssw keeps following us around ha!


Absorb ZRect

The ZRect class in
https://github.com/lordmauve/pgzero/blob/master/pgzero/rect.py
is more featureful than the one in wasabigeom, and matches the API of pygame.Rect, except that it holds floating point values. The only drawback is that it is slower.
We should copy it into this library and Cythonise it for performance.

Done in #6


[Question] Possibilities for customizing headers and/or cookies

I'm in a situation, using the opensource edition, where there is a reverse proxy between the frontend and formio backend.  And this reverse proxy has some additional authorization to do.
When using, e.g., a <formio> element, I need some way for it to either:

send the 'Authorization' header with my supplied value
or some other custom header with said value
or have cookies sent by having the withCredentials=true be passed to the XHR call.

(Preferably option 3)
I've dug into the code enough to know that this is probably a function of formiojs, if it's at all possible.  i.e. it doesn't appear to be using Angular's HttpClient, so an HttpInterceptor will have no effect.
If the suggestion is to manipulate the formio.js object, then please describe how to do that (e.g. by injecting my own FormioService or FormioPromiseService and what to do in it)?  I think I'm seeing it create a new Formio(js) instance for each <formio> element.  Thus, each instance would have to be manipulated.  And I'm not even sure how to actually get at the instance of Formio(js) that a particular <formio> element would possess.
Thanks in advance!

We're currently addressing a backlog of GitHub issues, and as part of this effort, some inactive issues may be marked as closed. This isn't a dismissal, but a step toward more efficient tracking.
If you feel the issue is still relevant, please re-open and we'll ensure it gets the attention it deserves. Your understanding is appreciated as we work to enhance our open-source responsiveness.


UglifyJs in Webpack

Webpack has Uglify Js integrated within it, thus there should be needed an uglify task for prod when bundler is webpack.
This will also solve issues that uglify will run twice on same file when you have multiple entry points in webpack.
https://webpack.github.io/docs/list-of-plugins.html#uglifyjsplugin
I see two approaches,

run uglify through webpack and disable the uglify task. (Prod only)

provide option for users to pass an array or inputs rather than 1 file only. This actually will also be great on Clean Cas

I am sorry for always making requests etc.. but to tell the truth I am fond of this library, and i think you are doing a great job!

@alan-agius4,
Right now we are using Webpack exclusively as a bundler so we can support other bundlers like Rollup. For now we don't plan on doing this but I'll re-open if we reconsider this.
Thanks,
Dan


Add the evidence module

Purpose of Changes and their Description
Add the evidence module in order to manage DuplicateVoteEvidence evidences provided by CometBFT and effectively slash concerned validators.
I've took the opportunity to add the StoreUpgrades notion to Upgrade to make reusable the logic attach to the addition/modification of stores.
Module wiring seems self-documented through the app.yaml, tested locally.
Link(s) to Ticket(s) or Issue(s) resolved by this PR
https://linear.app/alloralabs/issue/PROTO-2964/add-the-evidence-module
Are these changes tested and documented?

[x] If tested, please describe how. If not, why tests are not needed.
[x] If documented, please describe where. If not, describe why docs are not needed.
[x] Added to Unreleased section of CHANGELOG.md?

Will merge it after #627, conflicts should be easier to manage on this side

Is there no keeper to be configured here, as in #627 ? If not, lgtm and I'll approve. This suggests that there is some state to store, though maybe this is native to all cosmos chains given the prefix of 0x00

There is a Keeper which is automatically instantiated, but you're right I'll inject it in the app that's a good practice


Handling multiple blobTxs in a block

Summary
It will be typical in most cases that a rollup will be producing blocks faster than Celestia network finalizes them (the network will initially be aiming for 15 second block times). This brings about a set of potential UX problems that we should look to address. Perhaps the most important has to do with nonces.
Problem Definition
PFB A is submitted before PFB B but B has a higher fee and hence has greater priority. The block producer naively orders them as PFB B and then PFB A. Both get rejected because their nonce numbers are invalid thus both get dropped
Proposal
There are a few possible solutions:
Group transactions together by signer, using a weighted gas price to indicate the priority of the bundle of txs. The bundle would contains transactions ordered by their nonce. This would have the property that either all transactions would make it or none. We could cap the bundle size before a new bundle was created. It's likely that the gas price will be very similar but if the gas price was different from blobTx to blobTx this could have mixed results.
Taking the list of txs ordered by priority, the proposer would loop through all transaction, popping out any transaction that had an incorrect nonce and tracking the latest nonce of all the signers involved in the proposed block. It would then attempt to push the transaction back into the list after the tx with the correct nonce.
If blobTx order isn't so important to the rollup (it can interpret its own ordering of the transactions) then we could also look to use nonce lanes. If a sequencer submits 10 blobs per 1 Celestia blob, it could use 10 different lanes to divide it's txs across, that way the success of one transaction does not affect the success of others. (See https://github.com/cosmos/cosmos-sdk/issues/13009)
cc @nashqueue
For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

What are our current options for handling multiple PFBs per Block? What is the Limit for how many blobs fit into a PFB ?

What is the Limit for how many blobs fit into a PFB ?

There is no current limit (so long as the blobs can fit in a square)

What are our current options for handling multiple PFBs per Block?

I think the best solution is a combination of reordering prioritised txs such that the sequencer numbers for each account is ordered and using nonce lanes


npm create-electron-app can't create my project correctly

Pre-flight checklist

[X] I have read the contribution documentation for this project.
[X] I agree to follow the code of conduct that this project uses.
[X] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version
5.2.4
Electron version
13.2.3
Operating system
Windows 10
Last known working Electron Forge version
13.2.3
Expected behavior
So, a month ago, I was working on a small electron project, and I used Forge to create my project, it worked so fine
Actual behavior
But today, I had to create a new electron app, I tried to use Forge again,I executed "npx create-electron-app <App's name>" command line, the creation of the new project couldn't end as expected and showing a lot of errors, so after a lot of research I tried some solutions, the last one was to remove npm-cache folder, but still have no solution, the error I get now is shown bellow

Steps to reproduce
I did my best, but couldn't find the source of error, any help please
Additional information
No response

This sounds like npx failed to install create-electron-app properly. Run npm uninstall --global create-electron-app and try again.
If you need more assistance, please use one of the community forums, including the Electron Discord server.

I tried it but still getting the same error

Please run the following to see what versions you're running:
node --version
npm --version
npx --version

$ node --version
v16.8.0
$ npm --version
7.21.1
$ npx --version
7.21.1

What CLI are you using? CMD.exe, PowerShell, Git Bash, WSL1, WSL2?

I'm using Git Bash

I suggest not using Git Bash. There seems to be a lot of Node.js related problems when using that.
I can't reproduce your problems using PowerShell. Here are the steps I took:

Install VM from https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/
Load VM
In VM, run WIndows Terminal (drops me into PowerShell)
Run winget install Git.Git to install Git for Windows
Run winget install OpenJS.NodeJS to install Node 16
Restart so git and node are in the PATH environment variable
In VM, run WIndows Terminal (drops me into PowerShell)
Run npx create-electron-app my-test-app

Alright, please can you check this directory for me : C:\Users.....\AppData\Roaming\npm\node_modules' if it contains a folder called 'create-electron-app' ?
for me, I don't see any folder called 'create-electron-app' in the directory


color_tracker error

Hello,
I´ve been trying to use this module, already installed it plus OpenCV but when I try to import the color_tracker:
import cv2
import color_tracker
color_tracker.__version__ '0.1.0'
There´s this error message:

Traceback (most recent call last):
File "D:/Proyectos_Python/Modulo_Color.py", line 2, in
import color_tracker
ImportError: No module named 'color_tracker'

I tried with import tracker but realized that is the color_tracker itself that´s needed. I would appreciate your help a lot.
PD: I leave a screenshot below:

Hi, Thanks for reaching out. I think the issue here is that you use a virtual environment but you installed the package at a different (maybe the default) location.
As I see you use PyChram. First you should check the Project Interpreter. If you can see the module color_tracker there then the issue is something else.

Gábo, you were right. My location was different so I copied the package in it and it worked. It´s really amazing. Thank you!
PD: It recognizes my skin color, I ran the script for identifying a different one, but there´s something I don´t get. There´s this window for selecting HSV and so on..
But how can I select an exact color and save that parameter for the porgram?

Those are different things. The HSV color selector is only a "helper script" so you can experiment with the colot_tracer faster.
Basically you just run the HSV color selector and then, write down the numbers. I know, old-school... 😄  After that you just have to update the values in your program. This is how it works.
But if you have the right HSV colors in your mind, then you don't even need the color selector.

Haha, makes sense now.
After identifying the HSV, what´s the purpose of upper and lower values?


Segmentation fault when training speech_to_text model following instruction in examples/speech_to_text

🐛 Bug
I have followed the README in examples/speech_to_text to reproduce results of ST on MUSTC. But when I start training (after preprocess following the instruction), the system raises segmentation fault error, just after reading dev subset.
Below is part of messages:
2020-10-23 18:09:18 | INFO | fairseq.tasks.speech_to_text | dictionary size (spm_bpe10000_st.txt): 10,000
2020-10-23 18:09:18 | INFO | fairseq.tasks.speech_to_text | pre-tokenizer: {'tokenizer': None}
2020-10-23 18:09:18 | INFO | fairseq.tasks.speech_to_text | tokenizer: {'bpe': 'sentencepiece', 'sentencepiece_model': '/home/ma-user/work/data/mustc-s2t/en-de/spm_bpe10000_st.model'}
2020-10-23 18:09:18 | INFO | fairseq.data.audio.speech_to_text_dataset | SpeechToTextDataset(split="valid_st", n_samples=1388, prepend_tgt_lang_tag=False, shuffle=False, transforms=None)
mustc-test-s2t-cd.sh: line 11: 33140 Segmentation fault      CUDA_VISIBLE_DEVICES=0 python fairseq_cli/train.py ${data_dir} --config-yaml config_st.yaml --train-subset train_st --valid-subset valid_st --save-dir ${model_dir} --num-workers 1 --max-tokens 20000 --task speech_to_text --criterion label_smoothed_cross_entropy --label-smoothing 0.1 --max-update 100000 --arch s2t_transformer_s --optimizer adam --lr 2e-3 --lr-scheduler inverse_sqrt --warmup-updates 10000 --clip-norm 10.0 --seed 1

To Reproduce
CUDA_VISIBLE_DEVICES=0 python fairseq_cli/train.py ${data_dir} --config-yaml config_st.yaml --train-subset train_st --valid-subset valid_st --save-dir ${model_dir} --num-workers 1 --max-tokens 20000 --task speech_to_text --criterion label_smoothed_cross_entropy --label-smoothing 0.1 --max-update 100000 --arch s2t_transformer_s --optimizer adam --lr 2e-3 --lr-scheduler inverse_sqrt --warmup-updates 10000 --clip-norm 10.0 --seed 1

Code sample

Expected behavior

Environment

fairseq Version (e.g., 1.0 or master): 1.0
PyTorch Version (e.g., 1.0): 1.4.0
OS (e.g., Linux): Linux
How you installed fairseq (pip, source): source
Build command you used (if compiling from source):
Python version: 3.7
CUDA/cuDNN version:
GPU models and configuration:
Any other relevant information:

Additional context

Hi @zxshamson , I cannot reproduce this error. Do you mind sharing more info for diagnosis?

Hi @kahne , I think the problem comes from the speech_to_text dataset since the segmentation fault appears just after we initialize the validation set. Would you mind listing what packages will be used during building the datasets, including the package versions? So that I can check with them.

If u change the --max-tokens to 4000 the bug fixed. But not sure why

Same Error.
To reproduce:
fairseq Version: 0.9.0
PyTorch Version (e.g., 1.0): 1.4.0
OS (e.g., Linux): Linux
How you installed fairseq (pip, source): source
Python version: 3.7
CUDA/cuDNN version:10.1

This is my local toy version that withour any errors:
fairseq Version: build from source
PyTorch Version (e.g., 1.0): 1.6.0
OS (e.g., Linux): Ubuntu 18.04
How you installed fairseq (pip, source): source
Python version: 3.8.6
CUDA/cuDNN version:10.1
torchaudio: 0.6.0
pip: 20.2.4
So I think it is because of the pytorch version?

This is my local toy version that without any errors:
fairseq Version: build from source
PyTorch Version (e.g., 1.0): 1.6.0
OS (e.g., Linux): Ubuntu 18.04
How you installed fairseq (pip, source): source
Python version: 3.8.6
CUDA/cuDNN version:10.1
torchaudio: 0.6.0
pip: 20.2.4
So I think it is because of the pytorch version?

Thanks for your information! I've tried 1.6.0 pytorch version, it seems work!

Thanks! Could you please check why? I still need to play it on 1.4 because of our server only support 1.4 :)

Sorry! I have worked on it for sometime but still cannot find why. Maybe we should wait for the author's response.

Hi @zjw1990 @zxshamson , thanks for the debugging efforts. I am looking into this backward compatibility issue. To gather more info, I wonder if you guys tried PyTorch 1.5?

@kahne I have just tried Pytorch 1.5, and it also works well.

@kahne Also I have another question. I have tried the recommended command to train a model with MUSTC en-de dataset, and only achieved 17.4 BLEU in test set (after 50 epochs), much lower than the reported result (22.7). Is my current result alright? Or the reported result is achieved with ASR pre-training? Thank you and look forward to your reply!

@zxshamson Yes, 22.7 is from the model pre-trained with ASR encoder. Please refer to the documentation for ASR training and loading pre-trained encoder (--load-pretrained-encoder-from ${CHECKPOINT_PATH}).

@kahne Thanks! I'll try later. One more minor question, do we need to adjust the hyperparameters when training the model with pre-trained ASR encoder?

Just follow the hyper-parameter settings in the documentation (you may want to adjust --update-freq when using fewer GPUs or smaller --max-token). Compared to models trained from scratch, the pre-trained model converges much faster (~30k updates will be enough).

Thanks a lot!

Hi, @zxshamson could you please tell me how many epochs have you run to achive the final stop? How long have to taken?  I run a whole day and only 15 epochs have been run, and loss now is 4.532. Also I run the S2T baseline without any pretraining. !
Thanks!
2020-11-04 07:05:41 | INFO | train_inner | epoch 015:   1402 / 3257 loss=4.532, nll_loss=4.532, total=2385, n_correct=942.98, ppl=23.13, accuracy=39.538, wps=1426.2, ups=0.6, wpb=2385, bsz=79.9, num_updates=47000, lr=0.000922531, gnorm=0.593, clip=0, train_wall=167, wall=76565

Hi @zjw1990 , do you run on multilingual setting? The update num per epoch is very different from mine. Anyway, the following is my final training step (I forced the max epoch to be 50, but it seems that it still not converges), and it took about 6 hours to achieve that.
2020-11-03 00:02:23 | INFO | train_inner | epoch 050:    441 / 491 loss=4.705, nll_loss=3.309, total=12166.1, n_correct=6568.26, ppl=9.91, accuracy=53.988, wps=14074.9, ups=1.16, wpb=12166.1, bsz=470, num_updates=24500, lr=0.00127775, gnorm=0.258, clip=0, train_wall=86, wall=21897

@zxshamson Thanks! No I am runing the Berard_s2t baseline model on MUST-C en-fr. It seems a whole day passed and only 16 epochs for me, I only used one GPU. Shall I control any parameters below to make it faster? Also I didnt insall apex. Does it works? How much time would it save? Thank you!
fairseq-train ${MUSTC_ROOT}/en-fr --config-yaml ${MUSTC_ROOT}/en-fr/config_st.yaml --train-subset train_st --valid-subset dev_st --save-dir ${ST_SAVE_DIR}
--num-workers 4 --max-tokens 8000 --task speech_to_text --criterion label_smoothed_cross_entropy
--report-accuracy --max-update 30000 --arch s2t_berard --optimizer adam --lr 2e-3
--lr-scheduler inverse_sqrt --warmup-updates 10000 --clip-norm 10.0 --seed 1 --update-freq 8 \

@zjw1990 Hi, I haven't tried the Berard s2t baseline, so I am not sure whether it goes well with your situation. Maybe you can try --fp16 to make training faster.

Hi @zjw1990, as @zxshamson suggested, you can leverage --fp16 and apex if your GPU has tensor cores (hopefully you can get 2x speedup). Also, I recommend you to try with Transformer since Berard model is RNN-based and is slower to train. We will open-source model checkpoints soon so that you can use them directly or at least use ASR ones to pre-train and speed up ST training.

@zxshamson Thanks, maybe I should try transformers2t model instead. RNN is really slow... @kahne Thanks, I will check with the GPU. If checkpointa are open for ST would be great!

I have run en-de ASR in mustc with 1 GPU, as this instructions. But it still not converges, follow is my result:

I have run en-de ASR in mustc with 1 GPU, as this instructions. But it still not converges, follow is my result:
| INFO | train | epoch 160 | loss 4.577 | nll_loss 3.24 | total 12454.7 | n_correct 6609.75 | ppl 9.45 | accuracy 53.07 | wps 4776.8 | ups 0.38 | wpb 12454.7 | bsz 455 | num_updates 78241 | lr 0.000357506 | gnorm 0.394 | clip 0 | train_wall 1201 | gb_free 13.3 | wall 40551

It is normal？@kahne @zxshamson

Did you set --update-freq to 8?

I have run

I have run en-de ASR in mustc with 1 GPU, as this instructions. But it still not converges, follow is my result:
| INFO | train | epoch 160 | loss 4.577 | nll_loss 3.24 | total 12454.7 | n_correct 6609.75 | ppl 9.45 | accuracy 53.07 | wps 4776.8 | ups 0.38 | wpb 12454.7 | bsz 455 | num_updates 78241 | lr 0.000357506 | gnorm 0.394 | clip 0 | train_wall 1201 | gb_free 13.3 | wall 40551

It is normal？@kahne @zxshamson

Did you set --update-freq to 8?

yes, this is my instruction:
fairseq-train ${MUSTC_ROOT}/en-de \
  --config-yaml config_asr.yaml --train-subset train_asr --valid-subset dev_asr \
  --save-dir ${CHECKPOINT}/mustc_asr --num-workers 4 --max-tokens 40000 --max-update 100000 \
  --task speech_to_text --criterion label_smoothed_cross_entropy --label-smoothing 0.1 --report-accuracy --fp16\
  --arch s2t_transformer_s --optimizer adam --lr 1e-3 --lr-scheduler inverse_sqrt \
  --warmup-updates 10000 --clip-norm 10.0 --seed 1 --update-freq 8  --tensorboard-logdir $LOG/mustc_asr | tee  $LOG/mustc_asr/train_7.log


fix capitalization in Delegation fields

in dposv2 types, LocktimeTier uses camelCase while the rest of the fields are snake_case.

Don't think so? Declaring the enum type in go-loom is camelcase which is fine, but the actual variable in the proto is snake case.

these should be snake case to be consistent with the rest of the code:

https://github.com/loomnetwork/go-loom/blob/master/builtin/types/dposv2/dposv2.proto#L45
https://github.com/loomnetwork/go-loom/blob/master/builtin/types/dposv2/dposv2.proto#L44
https://github.com/loomnetwork/go-loom/blob/master/builtin/types/dposv2/dposv2.proto#L235


App published but user does not receives messages

Hello,
We have both apps published, Author and User. It seems Author cand send messages correctly but the users never receive them.
When this method is executed: GET /api/draftnotifications/scheduledDrafts it gives a 401 error response
There is some problem related to the container account:
Azure.RequestFailedException: The specified container already exists. RequestId:3f6196a2-901e-005b-498a-42a40d000000 Time:2024-01-08T23:30:02.8029114Z Status: 409 (The specified container already exists.)
Is there something we may have done wrong during the deployment? We have followed the guide but we don't know wether is a problem of us or is the app.
Thanks!

Hi @asilesj ,
Thanks for raising the query. Could you please share the screenshot of Company Communicator landing page(Home page).

Hello @gsv022 ,
Thanks for answering. I don't know if you are talking about this page: https://adifcommunicator55.azurewebsites.net or the teams application.
In the first one the page is blank and it doesn't show anything. In the second one we have this:

Hope it helps, if you need anything else let me know ;)

Hi @asilesj ,

Please cross-verify the set-up authentication steps done for graph app correctly or not. Especially check for supported account type should be- My Organization  for graph app.

Author app- Multiple Organization
User app- Multiple Organization

Hi @gsv022
We have checked and everything in the  set-up guide is done correctly but we still get no messages from the author app.
We still get a 401 error code when we send a message from the author app.

Hi @gsv022
We have checked and everything in the set-up guide is done correctly but we still get no messages from the author app.
We still get a 401 error code when we send a message from the author app.

Hi @asilesj ,
We suspect that secrets are incorrectly configured.  Here is the procedure for comparison.

Go to app registration-->open author app registration-->click certificate and secrets-->Grab secret value(not id)

Go to azure portal-->Go to resource group(Where the deployment has been done)-->Select keyvault  from list of resources

Go to Access Policy--> Click on Create

Select Key, secret and certificate management

Give the Id through which one can view the secrets

3rd step is optional

Go for Review+Create

Then go to Secrets. You will be able to view the secrets. Compare each app secret from keyvault with app registration secret.

Hi @gsv022
We have checked and we have the secrets configured correctly. Just in case we tried again but the users still get no messages.
Could it be something else?
Thanks

Please share your mail id so that we can discuss the issue internally.

Hello @gsv022,
Do you want my personal email or something else?
Thanks

Hi @asilesj ,
Yes, Please share it so that we can discuss over the mail and can get into call if needed.

Hi @gsv022 , sorry for the delay.
My email is<EMAIL_ADDRESS>You can mail me whenever you want.
Thanks ;)

Hi @asilesj ,
We shared a mail. Please check and respond

Hi @asilesj ,
Please let us know if you are still facing the issue

Sure, we will try to reach out via mail shortly.

Hi @asilesj ,
We made a follow back recently over mail. Please let us know if you are having issue otherwise we can make it to closure.

I'm facing with the same issue.. can you help me?


etcdserver: don't race when waiting for store in TestSnapshot

cf. https://semaphoreci.com/coreos/etcd/branches/master/builds/671

LGTM. Thanks.


chore(ci): update gateway images in CI

Update 3.x images and include 3.3.0 in CI matrix.

Codecov Report
Patch and project coverage have no change.

Comparison is base (33c222d) 52.84% compared to head (dcbf3fb) 52.84%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #347   +/-   ##
=======================================
  Coverage   52.84%   52.84%
=======================================
  Files          69       69
  Lines        5102     5102
=======================================
  Hits         2696     2696
  Misses       1832     1832
  Partials      574      574

Flag
Coverage Δ

2.1.4
17.71% <ø> (-18.66%)
:arrow_down:

<IP_ADDRESS>
46.84% <ø> (ø)

2.2.2
36.37% <ø> (+18.65%)
:arrow_up:

2.3.3
36.43% <ø> (ø)

<IP_ADDRESS>
?

2.4.1
36.51% <ø> (ø)

<IP_ADDRESS>
47.58% <ø> (ø)

<IP_ADDRESS>
47.58% <ø> (ø)

2.5.2
36.51% <ø> (ø)

2.6.1
?

<IP_ADDRESS>
47.58% <ø> (ø)

2.7.2
36.51% <ø> (+0.47%)
:arrow_up:

2.8.3
36.04% <ø> (-0.48%)
:arrow_down:

<IP_ADDRESS>
49.11% <ø> (?)

3.0.2
35.49% <ø> (-0.48%)
:arrow_down:

<IP_ADDRESS>
49.56% <ø> (ø)

3.1.1
17.85% <ø> (ø)

<IP_ADDRESS>
51.05% <ø> (?)

3.2.2
17.91% <ø> (-19.61%)
:arrow_down:

<IP_ADDRESS>
?

<IP_ADDRESS>
51.05% <ø> (?)

3.3.0
37.51% <ø> (?)

community
38.06% <ø> (ø)

enterprise
51.60% <ø> (ø)

integration
52.84% <ø> (ø)

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

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


show error message and disable buttons if backup target is not available

What this PR does / why we need it
Since bbi table is added in backing image page in previous PR.
We should show backup target URL is empty error messageg in backup, backingImage or systemBackups pages and disable related buttons.
Issue
https://github.com/longhorn/longhorn/issues/7541
Test Result
Empty backuptarget
https://github.com/longhorn/longhorn-ui/assets/5744158/9ffd0baf-dd86-47c0-850e-2933ce673dea
Availalbe backuptarget
https://github.com/longhorn/longhorn-ui/assets/5744158/050b8273-fd14-4317-b472-de1a34271e39
Additional documentation or context
If user input non-available backuptarget, couldn't connect it or typo.
The error msg too long to read. Maybe we can simple it to one sentence like backup target is not available cc @ChanYiLin

cc @ChanYiLin


Automate Cloud Build triggers using Terraform

Now that Terraform has support for Cloud Build, we should automate the triggers from the CFT CI docs. This should be done in a DRY way using for_each so we can easily add standard triggers for new modules with minimal effort.

Started working on that feature


restore-file: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.

Description

Error: Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.
    at chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/refined-github.js:4079:43
    at base64ToString (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/refined-github.js:4080:8)
    at chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/refined-github.js:8662:32
    at async showToast (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/refined-github.js:5593:40)
    at async HTMLHtmlElement.handleClick (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/refined-github.js:8652:9)

How to replicate the issue + URL

Go to any Pull Request (e.g. https://github.com/garyhtou/garyhtou/pull/1/files)
Open the meatball menu (three dots) for any file

Click the Discard Changes button

Extension version
24.6.2
Browser(s) used
Arc. Version 1.46.0 (50665). Chromium Engine Version 125.0.6422.142

Did the file that failed have any UTF-8 characters?

I can confirm that it's broken due to

UTF-8. I can't restore https://github.com/refined-github/sandbox/pull/16/files#diff-4030f0c0b99ba5e189b6fe295448a8ca31ca589a55930175de18032545c11501 because the previous version contains an emoji
that PR. If I check out the commit before it, it works


Re-enable one_member_abstracts lint (#3608).

More context in https://github.com/flutter/flutter/issues/3608.
Leaving it to @vlidholt to decide if SyntaxHighlighter wants to be a closure (in which case we can remove the //ignore).

@Hixie PTAL.

Personally I prefer a space after the // but that's neither here not there. :-)

Spaces are cheap.  Will add!


Adjust the keeping duration.

Description
This is to reduce the keeping duration.
In FPCScheduler, this value is used to decide how much time do we keep the warmed container.
Currently, it is 60 minutes and it means after a timeout of paused container(10mins), it will keep the last container for another 60 minutes.
I think this is not a good value for the default.
In many cases that people develop or test OpenWhisk, there would be fewer resources in their dev environment and this would cause out of resources easily.
My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[ ] Scheduler
[x] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[ ] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[ ] Documentation

Types of changes

[ ] Bug fix (generally a non-breaking change which closes an issue).
[x] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[x] I signed an Apache CLA.
[x] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[ ] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

Codecov Report

Merging #5208 (8a1423c) into master (829e734) will decrease coverage by 39.51%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #5208       +/-   ##
==========================================
- Coverage   44.06%   4.54%   -39.52%
==========================================
  Files         238     238
  Lines       13957   13957
  Branches      570     570
==========================================
- Hits         6150     635     -5515
- Misses       7807   13322     +5515

Impacted Files
Coverage Δ

.../main/scala/org/apache/openwhisk/core/WarmUp.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...ain/scala/org/apache/openwhisk/spi/SpiLoader.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...scala/org/apache/openwhisk/core/FeatureFlags.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...la/org/apache/openwhisk/http/BasicRasService.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...pache/openwhisk/http/LenientSprayJsonSupport.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...ache/openwhisk/core/database/DocumentFactory.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...che/openwhisk/core/invoker/LogStoreCollector.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...he/openwhisk/core/invoker/NamespaceBlacklist.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

.../openwhisk/core/entity/ActivationEntityLimit.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...openwhisk/core/database/ActivationStoreLevel.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 118 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 829e734...8a1423c. Read the comment docs.

LGTM


[Foundation] Migrate to StringResource for Sponsor and Staff screen

Issue

N/A, this PR is a continuation from #387, #441, and #450

Overview (Required)
I have migrated 2 more screens into this setup Sponsor and Staff screen.
Links

PS. I will have another last PR to migrate app/android into this setup as well.
Screenshot

Before
After

Great!


Configure Websocket routes

What this PR does / why we need it:
Configures websocket routes in Envoy for routes marked for websocket upgrade
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
#1006
Special notes for your reviewer:
Release note:

Configure websocket routes in Envoy

@rshriram: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
8eb0f37b2f914313a59927325b5bfa9d75dde80e
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
40c1907089ccd57e19bc211fed8ddeda5bc8b40f
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
43cea4ba0dba6fb07d0204938bccf43902114efe
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
a6ead15e3dba548c0565c87bce163d195da8d5b0
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
19ea843bc549cabbe713b48867131ac671984476
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/lgtm