Add additional field "description" to counter's endpoint

Tooltip texts for all number charts:

Average block time
Description: Average time taken in seconds for a block to be included in the blockchain

Total accounts
Description: Number of EOAs that sent at least 1 transaction

Total tokens
Description: Number of all token contracts

Completed txns
Description: Number of transactions with success status

Total blocks
Description: Number of blocks over all time

Total txns
Description: All transactions including pending, dropped, replaced, failed transactions

Number of deployed contracts today
Description: Number of deployed contracts today

Total contracts
Description: Number of contracts

Total verified contracts
Description: Number of verified contracts

Number of verified contracts today
Description: Number of contracts verified today

Total native coin transfers
Description: Number of transactions with the transfer of the native coin

Total addresses
Description: Number of addresses that participated in the blockchain

Testing stand avaliable on
https://blockscout-main.k8s-dev.blockscout.com/stats
https://stats-test.k8s-dev.blockscout.com/api/v1/counters

Frontend task https://github.com/blockscout/frontend/issues/1151 is ready for release and approved


Async! Modular! Typed!

… and pretty much everything got rewritten, although the basic framework remains the same.
Sorry for this really big PR, I just carried away fixing things. :wink:
The commits were edited to make per-commit review as easy as possible, so you can review them one-by-one or in batches without being irritated by the occasional huge “I moved everything someplace else” commit.
Some caveats:

.query() is probably broken and I did not invest any time in figuring out how it should work now (the relevant test is commented out for now)
datastore.filesystem is not ported yet
datastore.serialize backends are not streaming/async yet
I haven't looked at the codestyle checks in quite a while
I used tabs
For some reason the test's runtime is increased with n² over the number of elements added to the dict!? :thinking:

@alexander255 Hey I'd like to go in and fix some of the checks that are failing. I forked off of this branch (alexander255:master) and want to do some testing. I'm getting a
import datastore
E   ModuleNotFoundError: No module named 'datastore'

when running pytest locally. What's the best way to install the package into my local environment without a setup.py?

For future reference: The command to run the tests is tox -e py3X (where X is your Python interpreter subversion)

@alexander255 can you fix this

It will occur when you test filesystem or if you run tox with datastore/filesystem/ enabled in tox's addopts

@alexander255 I see you made the decision to go tabs > spaces. That's giving some problems even with the use-flake8-tabs = true when it comes to fixing some of the styling components. Per the discussion on #6, it seemed as though @Seenivasanseeni made the decision to go spaces.
I'd like to submit a PR to @alexander255's fork with changes that make the travis build pass but want to make sure I'm not going down a rabbit hole for no reason. What is the decision?
My own two cents: I personally vote for spaces not only because of PEP8, but because tools like black + autopep8 can fix a ton of styling woes and will give you spaces, as that is the standard.

@Seenivasanseeni: Filesystem is still broken (see opening post), that's way it is excluded from the tests.

@alexander255  Okay. then lets merge the changes.

@Swixx: Thank you for trying to help out here! It's OK if you cannot fix all the issues, any help will be appreciated! (The decision made with this PR stands as I'm a somewhat selfish person after all – sorry everybody! :wink:)

@alexander255 Ha, no problem. I'll open a PR soon.


docs: Attempt to use RTD version for GH URLs

ReadTheDocs (RTD) provides an environment variable READTHEDOCS_VERSION
which describes the branch of documentation that is currently being
built. We should use this branch to create URLs to GitHub resources such
as kubernetes YAMLs for Cilium install.
This will mean that, for instance, if we build the branch v1.0 on RTD
then it will point to the latest version of the docs that are present on
that branch.
There's some special cases - if we're building locally, then the
environment variable will not be there, and also on RTD the latest
branch name that it provides should point to our master branch. In
these cases, use HEAD for generating the URLs.
Fixes: #4183

test-docs-please

@aanm Nope, that's what the comparison against None is for.

@aanm Nope, that's what the comparison against None is for. When building locally, you probably want to use HEAD.

@joestringer not exactly, this will not work for our CI for example, it will always point to HEAD and it should point to the same branch that it is building.

@aanm do we build and use the Documentation for links to YAMLs in the CI?

@joestringer for the includeliteral for example. We use it in the GSGs where the cilium installation is written in a single file. This can cause the misspelled verifier to not check the misspelled words in that single file.

Do we also need to worry about ignoring the tag versions? the old command would return those. I'm not sure whether the RTD docs are so fine-grained, however (it's branch based right?)

@aanm Sorry, I still don't follow. I see many references to literalinclude in Documentation/ which appear to refer to relative directory paths within the Documentation, which I would expect to be used when you make the docs. I still don't understand how this connects to the testsuite.
Do you mean ginkgo tests or make test-docs? Or are you thinking about the URL checker?
@raybejjani RTD can act based on docs or based on branches. The tag checker command that we had previously worked for tagged releases, but we end up needing to generate separate sets of documentation for v1.0.x and v1.0.y. In the interests of trying to generate a comprehensive set of docs for everything in the v1.0.x release series, it's easier to just generate docs based on the v1.0 branch.  I haven't checked what the READTHEDOCS_VERSION environment variable does for tagged releases yet as I don't have an easy way to play with it until it goes into the codebase.

test-me-please

Cool. It might be worth checking in with @tgraf about this. I recall a bunch of changes around this command and it's output so I hope we haven't re-introduced some old bug (this seems more correct to me, however!)


Unbiased choice with nested OneOf?

It appears that each individual argument to Gen.OneOf is equally likely, even when the argument itself is a OneOf generator.
So in the JSON example, the odds of getting a given structure out of genJsonNode are:

Object: 33%
Array: 33%
Int: around 2% (33/17)
String: 2%
DateTime: 2%
etc

Is there a clean way to "flatten" the nested OneOf generators? I suppose I could store the individual components in a list and do it manually,
static readonly Gen<string> genString = Gen.String[Gen.Char.AlphaNumeric, 2, 5];
static readonly Gen<JsonNode>[] jsonValueGens = new[]
{
    Gen.Bool.Select(x => JsonValue.Create(x)),
    Gen.Byte.Select(x => JsonValue.Create(x)),
    Gen.Char.AlphaNumeric.Select(x => JsonValue.Create(x)),
    // ...
};
static readonly Gen<JsonNode> genJsonNode = Gen.Recursive<JsonNode>((depth, genJsonNode) =>
{
    if (depth == 5)
    {
        return Gen.OneOf<JsonNode>(jsonValueGens);
    }
    var genJsonObject = Gen.Dictionary(genString, genJsonNode.Null())[0, 5].Select(d => new JsonObject(d));
    var genJsonArray = genJsonNode.Null().Array[0, 5].Select(i => new JsonArray(i));
    return Gen.OneOf(jsonValueGens.Concat(new[] { genJsonObject, genJsonArray }).ToArray());
});

but I think that's a little ugly.
Here's a failing test:
[Fact]
public void GenOneOf()
{
    var gen = Gen.OneOf(Gen.Const(1), Gen.OneOfConst(2, 3));

    var count1 = 0;
    var count2 = 0;
    var count3 = 0;
    for (var i = 0; i < 1000; i++)
    {
        switch (gen.Single())
        {
            case 1:
                count1++;
                break;
            case 2:
                count2++;
                break;
            case 3:
                count3++;
                break;
        }
    }

    // We actually get ~500 1s and 250 each of 2s and 3s
    Assert.InRange(count1, 325, 350);
    Assert.InRange(count2, 325, 350);
    Assert.InRange(count3, 325, 350);
}

Yes I think the best way is to give OneOf the full list if you want the values as often. You could also use Gen.Frequency


Hacktoberfest Excluded!

Hello Everyone!
We are disappointed to tell you all that this repository has been excluded from Hacktoberfest and the PR's wouldn't count towards hacktoberfest.
This was due to the fact that this repository although helpful , was an easy way for people to make a quick PR and not make quality and impactful contributions!
You can still make PR's to the repository if you like, we will keep on merging the PR's.
Happy Hacking!

Hello Everyone!
We are disappointed to tell you all that this repository has been excluded from Hacktoberfest and the PR's wouldn't count towards hacktoberfest.
This was due to the fact that this repository although helpful , was an easy way for people to make a quick PR and not make quality and impactful contributions!
You can still make PR's to the repository if you like, we will keep on merging the PR's.
Happy Hacking!


[BUG] 微调lora 报错

是否已有关于该错误的issue或讨论？ | Is there an existing issue / discussion for this?

[X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答？ | Is there an existing answer for this in FAQ?

[X] 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
{'loss': 2.4388, 'grad_norm': 0.0, 'learning_rate': 0, 'epoch': 0.04}
0%|                                                                                | 6/10000 [00:20<8:58:00,  3.23s/it]tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
{'loss': 2.3092, 'grad_norm': 0.0, 'learning_rate': 0, 'epoch': 0.05}
0%|                                                                                | 7/10000 [00:23<8:47:42,  3.17s/it]tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
{'loss': 2.4331, 'grad_norm': 0.0, 'learning_rate': 0, 'epoch': 0.05}
0%|                                                                                | 8/10000 [00:26<8:30:50,  3.07s/it]tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
{'loss': 2.3796, 'grad_norm': 0.0, 'learning_rate': 0, 'epoch': 0.06}
0%|                                                                                | 9/10000 [00:29<8:29:34,  3.06s/it]tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
{'loss': 2.298, 'grad_norm': 0.0, 'learning_rate': 0, 'epoch': 0.07}
0%|                                                                                | 10/10000 [00:32<8:27:08,  3.05s/it]tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
{'loss': 2.4346, 'grad_norm': 0.0, 'learning_rate': 0, 'epoch': 0.08}
0%|▏                                                                                | 11/10000 [00:35<8:24:57,  3.03s/it]tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
{'loss': 2.2785, 'grad_norm': 0.0, 'learning_rate': 0, 'epoch': 0.08}
0%|▏                                                                                | 12/10000 [00:38<8:22:12,  3.02s/it]tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
{'loss': 2.5054, 'grad_norm': 0.0, 'learning_rate': 0, 'epoch': 0.09}
0%|▏                                                                                | 13/10000 [00:41<8:24:34,  3.03s/it]tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
tried to get lr value before scheduler/optimizer started stepping, returning lr=0
{'loss': 2.2641, 'grad_norm': 0.0, 'learning_rate': 0, 'epoch': 0.1}
{'loss': 2.2935, 'grad_norm': 14.767064094543457, 'learning_rate': 0.0, 'epoch': 0.11}
{'loss': 2.3561, 'grad_norm': 14.767064094543457, 'learning_rate': 0.0, 'epoch': 0.12}
{'loss': 2.3729, 'grad_norm': 14.767064094543457, 'learning_rate': 0.0, 'epoch': 0.12}
{'loss': 2.4506, 'grad_norm': 14.767064094543457, 'learning_rate': 0.0, 'epoch': 0.13}
{'loss': 2.3528, 'grad_norm': 14.767064094543457, 'learning_rate': 0.0, 'epoch': 0.14}
0%|▏
[rank5]:   File "/home/jiaowei/anaconda3/envs/minicpm/lib/python3.11/site-packages/deepspeed/runtime/fp16/loss_scaler.py", line 175, in update_scale
[rank5]:     raise Exception(
[rank5]: Exception: Current loss scale already at minimum - cannot decrease scale anymore. Exiting run.
0%|▏                                                                                | 18/10000 [00:59<9:09:37,  3.30s/it]
期望行为 | Expected Behavior
No response
复现方法 | Steps To Reproduce
fintune_lora.sh
运行环境 | Environment
- OS: centos
- Python:3.11.9
- Transformers:4.40.0
- PyTorch:2.1.2
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`): 12.1

备注 | Anything else?
No response

hi we update the code please try again

我用的应该就是最新的代码 用zero3配置不报错，用zero2 有上述的错误。

并且用最新的readme 来加载模型 lora 训练的效果并不好。

hi we update the code please try again

这边方便加个联系方式来沟通一下吗？

这个应该是训练代码的问题 我建议重新训练一下 再加载试试 我们有微信群 你看看其他issue有提到的

这个应该是训练代码的问题 我建议重新训练一下 再加载试试 我们有微信群 你看看其他issue有提到的

微信群 二维码过期了，可以更新一下吗？

你的代码里有modules_to_save这些lora初始化时的设定吗

有的，我对比过 是你更新的最新的代码。
我的数据集示例是这样的。我也尝试过不在图像上做红色矩形框标注，直接给坐标，但是因为给坐标直接推理，效果很差，推测在预训练这类任务比较少，所以目前是在图像中用红色矩形框增加明显的信号。
{
"id": "2962",
"image": "Inputbox2.jpg",
"conversations": [
{
"role": "user",
"content": "\n请先将注意力集中到图片中红色矩形框标记的控件，仅输出该控件的类型。\n\n## 1. 控件类型\n从以下选项中选择并输出控件类型：\n- 勾选框: 红框内存在可勾选或单选的控件。\n- 下拉选择器: 右侧有下拉箭头的输入框或下拉菜单。\n- 输入框: 普通的输入框。\n- 日期选择器: 可通过点选输入日期的控件，通常有日历图标或日期格式提示。\n- 功能按钮: 功能按钮，如搜索按钮、提交按钮等。\n- 其他: 其他类型的控件。\n\n## 3. 输出格式\n仅输出以下类型:\n{"type": "控件类型"}\n"
},
{
"role": "assistant",
"content": "{"type": "Inputbox"}"
}
]
}

建议用bf16训练，比较稳定。然后你这个数据集开头为什么没有这个token呢

建议用bf16训练，比较稳定。然后你这个数据集开头为什么没有我们示例里面的图像token 这个token呢

好的 谢谢，那我用bf16再试试，其实loss 降的非常快，但是效果并没有看到。
另外有图像token是有的，可能是github markdown 编辑器的原因给吞掉了。

嗯嗯 好的好的，我感觉你可以看看参数有没有正常保存，我这里是正常保存的（对比一下保存时的部分参数的value，加载的时候再打印一下）

针对lora，我刚刚修复了一个问题：我们最后的保存出了问题，你可以试试中间checkpoint的保存结果 ，最后那个保存没有把vpm resampler embed tokens这些权重更新完的模块保存下来，刚刚修改了

bf16训练 会提示loss=nan或者inf


Add Sharding mechanism support

Sharding is a topic that cannot be bypassed for most messaging middleware, so we need to add sharding support in OpenMessaging connect.

Implemented in pr


Investigate options for registry cleanup

This is a follow-up issue after https://github.com/FuelLabs/fuels-ts/issues/2377

When someone runs npm info fuels, the output is far from ideal:

Click for screenshot

The solution to this would include two steps:

[x] Contact NPM support to remove all irrelevant tags
[ ] Deprecate irrelevant tags
[ ] Stop publishing temporary tags to NPM

The ability to publish temporary PRs is helpful, but it'd be great if we could do that separately from the NPM registry.
Could we use GitHub packages to resolve the second point?

https://docs.github.com/en/packages/learn-github-packages/introduction-to-github-packages

Ideally, we'd still be able to publish temp tags while keeping our packages clean and tidy.

@danielbate I think the second point here is super valuable, as it'd enable us to run the UI integration tests by default, and not only on merge to master.

Also, here's the NPM policy:
https://docs.npmjs.com/policies/unpublish

I have contacted support to remove the following versions, let's see how it goes. Worst case scenario we can alter the script and deprecate these versions.

Easy, just 21k+ versions. 😅

Okay so unfortunately support cannot remove our versions... Our weekly download count is too high and we have too many dependents.
I'm going to make an adjustment to the script so that it deprecates these versions rather than attempting to un-publish. I'd also favour having it run on a cron whilst we go through this process.
I'll also look to move future published PR versions to a seperate registry.

Deprecation will clean up info alot, this is the result for nextjs who have more published versions than us, but deprecate.

@arboleya I've investigated using a private registry and it certainly is possible. However one reason we use PR versions is for testing with consumers. Using a private/separate registry will require the consumer to configure the .npmrc file to load from the registry.
I think this problem could be mitigated if we just correctly and regularly deprecate versions. Once #3465 is through I'll make a change so we can pass singular versions, and maybe even a cron that cleans up versions every few days (but I'm not sold on the latter as consumers take time to respond). Do you think this would suffice, or still prefer a separate registry?

@danielbate Could we deprecate a specific tag when the related PR goes to master?
Can custom registries be specified as a CLI option or just as a .npmrc config?
npm install abc --registry=xyz

Either way, it's perfectly fine to move in small increments here.
We can start with deprecation and still consider possible future improvements.

Could we deprecate a specific tag when the related PR goes to master?

Yes exactly my thoughts. So on a feature PR merge, we could deprecate any associated pr release tags. On a release PR merge, we deprecate any previous next release tags. I definitely think there's room for automated deprecations to manage this.
AFAIK it's only via the npmrc for a custom registry on install, but I will see.


Fix bug with process.nextTick referencing the wrong function.

lolex and by extension sinon fake timers, change the value of
process.nextTick in order to properly be added to the fake event loop stack.
The previous way this module was written kept a reference to the original
function and didn't look up the current value of process.nextTick. This
commit makes each invocation of nextTick look up the current value of
process.nextTick.
I verified that the tests still pass on v0.12 as well as v8.x
You can run this test to see the bug and the fix in action:
var lolex = require('lolex');
var through = require('through2');

describe('a bug', function() {
  var clock;
  before(function() {
    clock = lolex.install({toFake: [ 'setImmediate', 'nextTick' ]});
  });
  after(function() {
    clock.uninstall();
  });

  it('does not work well with lolex', function(done) {
    var stream = through.obj();
    stream.on('data', function() {
      stream.on('end', function() {

        console.log('creating stream2')
        var stream2 = through.obj();
        stream2.on('data', function() {
          stream2.on('end', function() {
            console.log('OK')
            done();
          });
          setImmediate(function() {
            stream2.end()
          });
        });
        stream2.emit('data')

      });
      stream.end();
    });
    stream.emit('data');

    clock.runAll()
  });

});

Before the change it would just hang after logging creating stream2. After this change it works as expected.

ok this is probably in a hot path though, so we should probably have a single switch between polyfill version of the function and non polyfill version.
also if my experience with process.nextTIck in browserify is any indication this might break things for some people

Ok, I updated the PR to not touch the original polyfill and just added a wrapper for the non polyfilled variant.

ok thats nicer, the one thing is that I'm worried about breaking some stuff

Understood, how would you suggest we go about fixing this issue?

that is the question, @mcollina do you have any thoughts ?

I'm very -1 on this specific implementation, as it adds significant overhead when not testing. I think the best approach of this bug is to export the wrapper as:
const pna = require('process-nextick-args')
// pna is process in node 4+, and our wrapper in node < 4.
pna.nextTick()

This will make sinon work node 4+, and we can keep supporting our hold stuff.

ok that sounds good, we can do a major version bump of it

Updated the PR with the changes requested.

ok thanks I'll take a look tommorow
On Sat, Dec 9, 2017 at 8:10 PM Moshe Kolodny<EMAIL_ADDRESS>wrote:

Updated the PR with the changes requested.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/calvinmetcalf/process-nextick-args/pull/10#issuecomment-350517632,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABE4n9DSTYwARqs6nLON0sGK4VK8Ai6dks5s-y-NgaJpZM4Q2dYp
.

thanks publishing as v2.0.0


Refs #293 - Ensured Dataset can be pickled/unpickled without damages

I suggest to wait a bit on reporter input before committing.


Adding a row crashes TCC when pre-populated Support reference is cleared

When you add a row, if you clear the reference box in the pop-up and then click "add," tCC crashes.
Steps:

In a tN file, go to a row that has a support reference.
Click on Add row button, In the pop up, note that the same support reference  is pre-populated(as expected ).
Click on the support Reference drop down and clear the field.
Click on Add row. The App crashes.

Note that: if you select another support reference  in step 3, it works fine.

Works fine in translationCore Create - v1.6.0-rc.1 build 157-491c7f1. App no longer crashes when the support reference is removed while adding the new row.

Released


fix ios lauch

We have a crash on IOS when app is launched.
Adding the height by code avoids this bug.

@jamesmontemagno @maddymontaquila

this crash only occurs with physical devices.

https://github.com/dotnet/maui/issues/6070


Adding buttons to Nav Bar

Hi,
Thank you for this awesome library. I am trying to add right buttons (search, filter, settings,...) to the nav bar but I couldn't find anything about this in your examples as well as documentation. Is adding buttons not currently supported?
Thanks!
Edited:
Nvm, figured out how to do it by looking at router class.

Hello atn4z7,
can you give me a example for that?
Regards,
Marcel

Hello atn4z7, do you have the example?
Thanks

@marcelglaeser @matiascba
Sure. Here is an example from https://github.com/aksonov/react-native-router-flux/issues/100. You can do the same with renderLeftButton
var createRightButton = function() {
      return (
          <View stlye={styles.rightButton}>
              <Button style={{color: 'green'}}>
                 +
              </Button>
          </View>
      );

<Route name="something" renderRightButton={createRightButton}>


Feature request: Add parameters for channels

In channels would be nice to see

To reply last user message in channel in 1,2,5 mins or any diffenrent time (this looks like just to add param about antiflood, but this might affect private messages to bot)
Toggle off/on in config posting in channels without calling bot. For example bot ignores everything, but he reads last user message if you call him like @your_bot 'hey'

To reply last user message in channel in 1,2,5 mins or any diffenrent time
Additional treashold for bot answering? This should be easy to implement, indeed.

Toggle off/on in config posting in channels without calling bot.
Yeah, I've thought about this option. I'll add it later.

Toggle off/on in config posting in channels without calling bot. For example bot ignores everything, but he reads last user message if you call him like @your_bot 'hey'

Added for chats in #166.

I tried in bot config to mute him, but he answers in group channel anyway
"only_mention_in_chat": "true",
"only_mention_in_chat": "false",
"only_mention_in_chat": true,
"only_mention_in_chat": false,

not working :(

This should work:
"only_mention_in_chat": true,
Just checked with 'true' in group

Okay, perhaps problem is - feauture work in group but not channel. I'll check it.

p.s. can you share details of your scenario?

p.s. can you share details of your scenario?

I added bot to group chat and its answering anyway even if "only_mention_in_chat": true,, but maybe i made wrong update via git pull`. ill try clean reinstall and inform you


AWSSDK.Core RegionEndpointProviderV3.GetEndpointJsonSourceStream() Null Stream - Unity WebGL IIS

Describe the bug
When building my unity project for the web the following method returns null in RegionEndpointProviderV3()

This happens when calling the following:

I imagine I'm missing some configuration step...
Expected Behavior
It would not return null like it does when running local exe
Current Behavior
It is returning null
Reproduction Steps
Build a web game using AWSSDK.Core project in Unity and attempt to construct CognitoAWSCredentials.
Possible Solution
No response
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
AWSSDK.Core, Version=<IP_ADDRESS>
Targeted .NET Platform
.Net Standard 2.0
Operating System and version
Windows IIS, WebGL

Hi @JoeLorenzoMontano,
Good afternoon.
Could you please share the exact NuGet package version(s) instead of assembly version? Also not sure on why you are using endpoints.json directly in your application.
Thanks,
Ashish

Whoops my bad: AWSSDK.Core v4.0.30319
I'm not using 'endpoints.json' (or the first screenshots code directly), when I call the constructor for CognitoAWSCredentials() It eventually ends up at the first screenshots code where it returns null and then causes an exception.

@ashishdhingra, let me know if you need any additional information from me. Also I haven't posted many issues on github before so if I'm not replying correctly or something I apologize!

AWSSDK.Core

@JoeLorenzoMontano The latest version of AWSSDK.Core is <IP_ADDRESS> (refer https://www.nuget.org/packages/AWSSDK.Core/). Not sure how in your case it is 4.0.30319. I tried reproducing the issue using AWSSDK.CognitoIdentity <IP_ADDRESS> by developing simple console application and unable to reproduce the issue.
// Initialize the Amazon Cognito credentials provider
            CognitoAWSCredentials credentials = new CognitoAWSCredentials(
                "us-east-2:c1aa9c39-0840-4a18-834a-726eeb9e9515", // Identity pool ID
                RegionEndpoint.USEast2 // Region
            );

Thanks,
Ashish

Here is the exact stack trace I get when I target web platform:
ArgumentNullException: Value cannot be null.
Parameter name: stream
at System.IO.StreamReader..ctor (System.IO.Stream stream, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean leaveOpen) [0x00000] in <00000000000000000000000000000000>:0
at System.IO.StreamReader..ctor (System.IO.Stream stream, System.Boolean detectEncodingFromByteOrderMarks) [0x00000] in <00000000000000000000000000000000>:0
at System.IO.StreamReader..ctor (System.IO.Stream stream) [0x00000] in <00000000000000000000000000000000>:0
at Amazon.Internal.RegionEndpointProviderV3..ctor () [0x00000] in <00000000000000000000000000000000>:0
at Amazon.RegionEndpoint.get_RegionEndpointProvider () [0x00000] in <00000000000000000000000000000000>:0
at Amazon.RegionEndpoint.get_InternedRegionEndpoint () [0x00000] in <00000000000000000000000000000000>:0
at Amazon.RegionEndpoint.GetEndpointForService (System.String serviceName, Amazon.Internal.GetEndpointForServiceOptions options) [0x00000] in <00000000000000000000000000000000>:0
at Amazon.Runtime.ClientConfig.set_RegionEndpoint (Amazon.RegionEndpoint value) [0x00000] in <00000000000000000000000000000000>:0
at Amazon.CognitoIdentity.AmazonCognitoIdentityClient..ctor (Amazon.Runtime.AWSCredentials credentials, Amazon.RegionEndpoint region) [0x00000] in <00000000000000000000000000000000>:0
at Amazon.CognitoIdentity.CognitoAWSCredentials..ctor (System.String accountId, System.String identityPoolId, System.String unAuthRoleArn, System.String authRoleArn, Amazon.RegionEndpoint region) [0x00000] in <00000000000000000000000000000000>:0
at Amazon.CognitoIdentity.CognitoAWSCredentials..ctor (System.String identityPoolId, Amazon.RegionEndpoint region) [0x00000] in <00000000000000000000000000000000>:0
at GameLiftClient.CreateGameLiftClient () [0x00000] in <00000000000000000000000000000000>:0
at GameLiftClient+d__7.MoveNext () [0x00000] in <00000000000000000000000000000000>:0
at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x00000] in <00000000000000000000000000000000>:0
at GameLiftClient.Setup () [0x00000] in <00000000000000000000000000000000>:0
at GameLiftClient..ctor () [0x00000] in <00000000000000000000000000000000>:0
at Startup.Start () [0x00000] in <00000000000000000000000000000000>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <00000000000000000000000000000000>:0
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__6_0 (System.Object state) [0x00000] in <00000000000000000000000000000000>:0
at System.Threading.SendOrPostCallback.Invoke (System.Object state) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.UnitySynchronizationContext.Exec () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.UnitySynchronizationContext.ExecuteTasks () [0x00000] in <00000000000000000000000000000000>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.WorkRequest:Invoke()
UnityEngine.UnitySynchronizationContext:Exec()
UnityEngine.UnitySynchronizationContext:ExecuteTasks()

Bump, still no luck.

rst screenshots code directly), when I call the constructor for CognitoAWSCredentials() It eventually ends up at the first screenshots code where it returns null and then causes an exception.

@JoeLorenzoMontano Could you please share a bare bone minimal code project to reproduce the issue?
Thanks,
Ashish

After implementing this, we ran into an issue of HttpClientCacheSize being set based on Environment.ProcessorCount, producing the error: "This icall is not supported by il2cpp on this architecture."

To update on this after some digging, this seems to be a bug with Unity WebGL
Again, apologies if this is extra information. We just anticipate it's likely that you may also experience this issue as our issues are so similar.

endpoints.json

I attempted to create this file too but never found the documentation or an example for 'endpoints.json'. Could you point me in the right direction ?

@JoeLorenzoMontano Just wanted to check if this is still an issue since per https://github.com/aws/aws-sdk-net/issues/2028#issuecomment-1168742563, it could have been an issue with Unity WebGL.


Out of order enhancement

A totally of 3 test cases are added and we checked with Waveform also and it's looking good.

Only write and only read response out of order test cases added by mahadev


Calendar only showing loading

I installed MMM-GoogleCalendar a couple of days ago, and have slowly been working through setup issues using my pi zero w.  So far I have been able to see that the google account was authorized (I got 10 upcoming events when authorizing).  I also resolved issues seen in the pm logs relating to not having the right calendar ID (I would recommend adding more details in the read me regarding adding the full calendar domain when putting the ID).  After resolving these issues I am not seeing any more errors in the pm logs, but the module still shows loading regardless of how long I wait or reboot the device.  I have manually looked through the pm2 logs (MagicMirror-error.log  MagicMirror-out.log) and did not see any errors pop up when starting.  I did try the pm2 restart mm followed by pm2 logs mm and was not getting new logs (likely since the pm2 restart mm failed with this error [PM2][ERROR] Process or Namespace mm not found).
Do you have any other recommendations for where to look for issues?  I am slowly picking up linux/raspberry pi/MM programing but am still very green as it has been a while since the last time I was coding in linux consistently.

Same here, stuck at Loading ...; there are a few things I noticed that are worth reporting as well.
The first thing I noticed is that node authorize.js threw was unhappy; I'm unable to reproduce this to show it but I can tell you that it basically said that token.js was missing.
MMM-GoogleCalendar: Upcoming 10 events: 2024-09-28T19:00:00-04:00 - Meeting
So, I'm using "calendar-week" and whats odd is that ^ event is about 2 weeks away. I have events on my calendar for this week in that specific calendar that I would expect to see. I'm not sure if that output should show all 10 events or not but as you can see there's several upcoming events on my calendar.  I think this is enough evidence to show that I'm authenticating and pulling calendar entries.
I attached a clip of my mm error log log-sanitized.txt which I believe to be the error. I can confirm that the Google Calendar ID is correct (as above) for obvious reasons I have masked that and the Bearer Token with 'REDACTED' in the log.
 I misunderstood the directions and excluded @group.calendar.google.com from my calendar ID. I'll leave this for posterity so anyone else failing to follow directions can find it :)

I do have an update on this.  The display will show everything in the calendar after 1 reset a day.  Every other reset of the raspberry pi, or of MagicMirror, the calendar only shows loading.  I was thinking it could be related to API settings limiting the responses to once a day, so I made a change on the google account, however that did not seem to resolve the issue immediately.  I also was able to get the pm2 logs (I replaced mm with MagicMirror), but they do not show any errors.  I also continue to get meeting info when I run node authorize.js, regardless of if they are showing on the dashboard or not.

Hi @KoboseHome, thanks for the detailed update! When you mention 'reset,' could you clarify whether you're referring to rebooting the Raspberry Pi, restarting MagicMirror, or something else? If you're restarting the Pi, it's possible that the Google API might be failing to authenticate again, which could cause the module to get stuck on 'loading.'
To troubleshoot further, I’d recommend checking the browser console for any errors when the calendar is stuck on loading. You can do this by connecting a monitor to your Pi and opening the browser console (usually with F12). This might provide more insight into what’s going wrong.
Additionally, if the issue persists, try looking deeper into the logs right after a fresh start to see if there’s any unusual activity or failed API requests. Since you've made changes to the API settings, make sure the credentials and tokens are still valid after each reboot.
Let me know if you find anything new, or if you need more help!

I’ve pushed an update based on the error log attached by @mtitus83 to make the initial error log even more explicit. Thanks for bringing this to my attention!


Inconsistent behavior when using Stage by Transport

We are attempting to use abapGit for code reviews now, so that typically means pushing changes contained in a transport. I'm seeing one odd behavior here.

Initially we use Transport to Branch. This works fine by selecting the main request, and commits and PR are created.
If more changes are needed after a review, we would use Stage by Transport to generate another commit based off the changes in the transport. However, the transport selection in this option differs from Transport to Branch. If I try to input the same main request as above (in the Select Request/Task modal), I get an error that nothing can be selected. It only works if the transport sub-task is provided (and if there are multiple tasks, it still correctly finds all the changed objects for all tasks).

Is this the intended behavior? We also do not get the modal for selecting a transport if you use * in the transport field (like we would for Transport to Branch).

True. It's not the same:
Transport by Branch (zif_abapgit_popups~popup_to_select_transports):

Stage by Transport (zif_abapgit_popups~popup_select_wb_tc_tr_and_tsk):

Needs a bit of work to make these the same.

hmm, well, from my point of view, its not really intended to be used that way. You will get differences, possibility for manual errors, and not a very good developer experience

hmm, well, from my point of view, its not really intended to be used that way. You will get differences, possibility for manual errors, and not a very good developer experience
just run the background logic again, nothing manually to do, logic will be the same

Do you mind elaborating on this? Are you saying what we’re attempting to do isn’t intended?


olx my vision file

please do not close this file

Could you please explain what's this PR about?

@tib it's a hacktoberfest spam:

https://joel.net/how-one-guy-ruined-hacktoberfest2020-drama
https://twitter.com/shitoberfest


Read COG tile

Once #2 is ready to go, we need a method to use IFD/tag metadata to read a given tile.  COGDumper uses cogdumper.cog_tiles.COGTiff.read_tile which looks to just a single XYZ tile based on the tile's coordinate with respect to the (top left?) of the image from the appropriate overview.
As @vincentsarago pointed out, we could use pyproj to:

get geospatial info from the COG
fetch only the internal tile (and overview tiles) for a specific .read request.

I think it would be nice to implement something similar to rasterio.windows where we can use pyproj to map a particular bounding box to the corresponding XYZ tiles in the COG, but I'm definitely open to other ideas.  This brings some questions.

How this will work with rio-tiler-v2 -- if at all.  If the COGTiff class can implement a similar interface to rasterio.io.DatasetReader it could be passed in as the src_dst to rio_tiler.reader._read but I'm not sure if that is feasible.

How this will work with rio-tiler-v2 -- if at all. If the COGTiff class can implement a similar interface to rasterio.io.DatasetReader it could be passed in as the src_dst to rio_tiler.reader._read but I'm not sure if that is feasible.

Oh I didn't though about this. To be honest I don't think we should worry about rio-tiler. As rasterio, rio-tiler tries to be able to work with all data, while cog-read should just focus on doing fast partial reading IMO.  rio-tiler is using warpedVRT to read the overviews and perform boundless read, I think we could do something realy simple withing cog-reader to achieave the same goal.
async with cog_reader.open("my_cog.tif") as src_dst:
    bounds: Sequence[float] <---- should be in src_dst projection
    window = src_dst.window_from_bounds(*bounds) <---- https://github.com/mapbox/rasterio/blob/master/rasterio/windows.py#L47-L75

    arr = await src_dst.read(window=window, out_shape=(3, 256, 256) ...)

window read will trigger internal tile reading,
out_shape will trigger which overview level to read
basically we will fetch more data that needed and then we will need to resample the array to our out_shape ..... is this possible in python ?


Added my Project website

Description 📜

This is a simple HTML CSS website that is created for dogs who want to find a date. The website is called TinDog in reference to Tinder.

Domain of Contribution 📊

HTML Projects

Checklist ✅

I follow Contributing Guidelines & Code of conduct of this project.
I have performed a self-review of my own code or work.

well done!


Use contact info from IDCS create account to populate seeded questions

Is your feature request related to a problem? Please describe.
As a resident, it is frustrating to repeat the same contact information when creating an account for the Seattle IDCS login and also in the program applications within CiviForm. I enter my name, email, and phone number when creating an Seattle IDCS Login and most programs ask me to re-enter that same information when I go to apply.
Describe the solution you'd like
I would like to enter my contact information in IDCS and have it show up automatically within the program application.
Done when
A resident provides their name, email, and phone to create their Seattle login AND it auto-populates within the program form.
Additional context
Business requirement to onboard Fresh Bucks Public Interest Form

Reviewed with Seattle team on 9/5: Medium to Large size body of work.
@msprenke to review and draft PRD
@swatkat1  to review PRD and draft TDD

@gwendolyngoetz that will be a challenge for sure.  The new seeded phone number question has the formatting.  But most applications haven't been converted to the new question due to the change it would cause in the CSV so this may be the event that makes us switch them over.  Once i'm done with the requirements document the plan will need to be figured out for the technical design.

PRD https://docs.google.com/document/d/1MBNZcS69znsMh9nap6SIIYMtg7h3_9BzJ4GvK6dLOOk/edit?usp=sharing&resourcekey=0-089W9JF7fqAa8mBU8YP52w

Moving to ready for development.  Will discuss with Exygy, but this only affects Seattle at this time

As of the time of this comment Seattle's IDCS does not return phone number as part of the JWT. This is a known issue our IDCS team said they'd investigate to see if they can make it work correctly.


String function "contains" is not supported in IE/Edge

There are a number of instances in the Brunel js files where the string function 'contains' is used - this is not supported on IE/Edge (see image for error).
In most cases, the
s.contains("findme")
Can be simply be replaced with:
s.search("findme") > -1

Well,s sadly, the fix is not that easy. I don't have edge or IE 11, so Ic cannot test it out, but documentation (https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/1173756/) indicates that IE11 and (maybe) Edge has a defect that they do not support the classList property of SVG DOM items. This means that the code seeing if the class list contained a certain value was failing.
I added a workaround/fix to the code that simply ignores that check -- it likely means that SVG elements are not given the class "selected" when they are selected, but at least the rest of selection will work.

Oh, I should add that the fix is on the "select" branch and will move to master at the end of the Milestone, Jan 6


Compiler crash when using a TypeDeclaration in the wrong spot

I found this while working on my app. I actually had a typo, but it took me a bit to find it because I kept getting the compile error.
class Migration
  macro create(table_name)
    Migration.build do
      {{ yield }}
    end
  end

  def self.build(&)
    with self yield
    self
  end

  create(:users) do
    # this was incorrect
    name : String
  end
end

Crystal::ASTNode#dependencies cannot be nil (NilAssertionError)
  from /usr/bin/crystal in '??'
  from /usr/bin/crystal in '??'
  from /usr/bin/crystal in '??'
  from /usr/bin/crystal in '??'
  from /usr/bin/crystal in '??'
  from /usr/bin/crystal in '??'
  from /usr/bin/crystal in '??'
  from /usr/bin/crystal in '??'
  from /usr/bin/crystal in '??'
  from /usr/bin/crystal in '??'
  from /usr/bin/crystal in '??'
  from /usr/bin/crystal in '??'
  from /usr/bin/crystal in '??'
  from /usr/bin/crystal in '??'
  from /usr/bin/crystal in '??'
  from /usr/bin/crystal in '??'
  from /usr/bin/crystal in '??'
  from /usr/bin/crystal in '??'
  from /usr/bin/crystal in '__crystal_main'
  from /usr/bin/crystal in 'main'
  from /usr/lib/libc.so.6 in '??'
  from /usr/lib/libc.so.6 in '__libc_start_main'
  from /usr/bin/crystal in '_start'
  from ???
Error: you've found a bug in the Crystal compiler. Please open an issue, including source code that will allow us to reproduce the bug: https://github.com/crystal-lang/crystal/issues

I thought there was an open issue on this already, but searching github for "you've found a bug in the Crystal compiler." only had 1 open issue that was unrelated.
I'm using Crystal 1.10.1, but this happens on 1.11.1 as well.

Reduced:
def foo(&)
  yield
end

foo { x : Int32 }

Crystal::ASTNode#dependencies cannot be nil (NilAssertionError)
  from src/compiler/crystal/semantic/bindings.cr:3:5 in 'dependencies'
  from src/compiler/crystal/codegen/codegen.cr:2013:7 in 'bound_to_mod_nil?'
  from src/compiler/crystal/codegen/codegen.cr:2005:35 in 'reset_nilable_vars'
  from src/compiler/crystal/codegen/codegen.cr:1657:11 in 'visit'
  from src/compiler/crystal/syntax/visitor.cr:27:12 in 'accept'
  from src/compiler/crystal/codegen/codegen.cr:2413:7 in 'accept'
  from src/compiler/crystal/codegen/codegen.cr:2402:9 in 'request_value'
  from src/compiler/crystal/codegen/call.cr:307:11 in 'codegen_call_with_block'
  from src/compiler/crystal/codegen/call.cr:32:9 in 'visit'
  from src/compiler/crystal/syntax/visitor.cr:27:12 in 'accept'
  from src/compiler/crystal/codegen/codegen.cr:2413:7 in 'accept'
  from src/compiler/crystal/codegen/codegen.cr:737:9 in 'visit'
  from src/compiler/crystal/syntax/visitor.cr:27:12 in 'accept'
  from src/compiler/crystal/codegen/codegen.cr:2413:7 in 'accept'
  from src/compiler/crystal/codegen/codegen.cr:76:7 in 'codegen'
  from src/compiler/crystal/codegen/codegen.cr:72:5 in 'codegen:debug:frame_pointers:single_module'
  from src/compiler/crystal/progress_tracker.cr:22:7 in 'codegen'
  from src/compiler/crystal/compiler.cr:204:16 in 'compile:combine_rpath'
  from src/compiler/crystal/compiler.cr:197:56 in 'compile:combine_rpath'
  from src/compiler/crystal/command.cr:360:3 in 'compile'
  from src/compiler/crystal/command.cr:239:5 in 'run_command'
  from src/compiler/crystal/command.cr:112:7 in 'run'
  from src/compiler/crystal/command.cr:55:5 in 'run'
  from src/compiler/crystal/command.cr:54:3 in 'run'
  from src/compiler/crystal.cr:11:1 in '__crystal_main'
  from src/crystal/main.cr:129:5 in 'main_user_code'
  from src/crystal/main.cr:115:7 in 'main'
  from src/crystal/main.cr:141:3 in 'main'

Duplicate of #9124?

Duplicate of #9124


log file handler

with this pypyr can log to file in addition to logging to stdout

Finally! Thanks for your patience and guidance.

Thank you for a great contribution, Rickard, and thank you so much for sticking with it! I'll release to pypi shortly. . .

Hi Rickard, your change is live! Check release here: https://github.com/pypyr/pypyr-cli/releases/tag/v1.1.0


v2.1.0

Codecov Report

Merging #219 (e2629cc) into master (0bbbd46) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #219   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           19        19
  Lines          212       212
  Branches        29        29
=========================================
  Hits           212       212

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 0bbbd46...e2629cc. Read the comment docs.

Codecov Report

Merging #219 (e2629cc) into master (0bbbd46) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #219   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           19        19
  Lines          212       212
  Branches        29        29
=========================================
  Hits           212       212

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 0bbbd46...e2629cc. Read the comment docs.


Bump Dependencies #4873418772

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/4873418772

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[Bug Fix] Use Doctrine to query if column is nullable

This should fix the problem with backpack not working with sqlite.
I must say, I'm really new to Laravel, so please take time to code review the shit out of this - I can't imagine what could this tiny change affect and I can't really see any tests in this repository.

Great, thank you. I'll test it thoroughly but really, there are only 2 places where it's used, so it won't be that difficult. Unit tests are of course on the roadmap, but... we're not there yet.
I'll be back after testing.
Cheers, thank you!

Hmm... I'm afraid this works for aaaalmost all uses cases.
It doesn't seem to work for enum column types though, it throws this error in the select2 field type.

Might it be that Doctrine doesn't support the enum  column type?
Cheers!

What about the enum type?

Found the solution, finally! Check it out here, if you want. I've merged your code and only added a notice for Doctrine to know what "enum" is.
Thank you for the contribution again. Cheers!

The "enum" field type, created specifically for the MySQL/PosgreSQL "enum" column type, is just like a SELECT, but its gets its values straight from the database schema.
The update broke it. But it's fixed now.

Great, thanks ☺
Pavel Žákhttp://improliga.cz
-------- Původní zpráva --------
Od: Cristian Tabacitu<EMAIL_ADDRESS>Datum: 17.10.2016  18:20  (GMT+01:00)
Komu: Laravel-Backpack/CRUD<EMAIL_ADDRESS>Cc: Pavel Žák<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Předmět: Re: [Laravel-Backpack/CRUD] [Bug Fix] Use Doctrine to query if column
is nullable (#176)
The "enum" field type, created specifically for the MySQL/PosgreSQL "enum" column type, is just like a SELECT, but its gets its values straight from the database schema.
The update broke it. But it's fixed now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/Laravel-Backpack/CRUD","title":"Laravel-Backpack/CRUD","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/Laravel-Backpack/CRUD"}},"updates":{"snippets":[{"icon":"PERSON","message":"@tabacitu in #176: The "enum" field type, created specifically for the MySQL/PosgreSQL "enum" column type, is just like a SELECT, but its gets its values straight from the database schema.\r\n\r\nThe update broke it. But it's fixed now."}],"action":{"name":"View Pull Request","url":"https://github.com/Laravel-Backpack/CRUD/pull/176#issuecomment-254256607"}}}


chocolate bars spawn outside of lockers.

This is a travesty, they'll MELT.

I feel like this is my fault since I made those lockers have emergency chocolate inside them.

This has been fixed with the remap of saltern in https://github.com/space-wizards/space-station-14/commit/d35391c4e886078aa3f8a8dc445371e2015db2b5.


Big ServerInstances Bug on my server

Hello. I recently purchased ServerInstances and I have configured Skungee and ServerInstances has been activated. The problem is that when I use the ServerInstances syntax in scripts, I get a big error that appears in my console. Here is : https://prnt.sc/10fmj7y & https://prnt.sc/10fmjg8
It's very annoying knowing that I paid for it... Can you please help me? Thank you in advance.
-HeyTV

Duplicate of https://github.com/Skungee/ServerInstancesSkript/issues/25


通道剪枝的时候遇到问题~

hi ~
在通道剪枝的时候遇到如下问题，

**root@tplink-Z390-UD:/home/tplink/caffe_yolov3/yolov3-channel-and-layer-pruning-master# python slim_prune.py --cfg wjh-ebd/yolov4-leaky-cut-ebd.cfg --data wjh-ebd/ebd.data --weights wjh-ebd/yolov4-leaky-cut-ebd_best.weights --global_percent 0.8 --layer_keep 0.01
Namespace(cfg='wjh-ebd/yolov4-leaky-cut-ebd.cfg', data='wjh-ebd/ebd.data', global_percent=0.8, img_size=416, layer_keep=0.01, weights='wjh-ebd/yolov4-leaky-cut-ebd_best.weights')
WARNING: smart bias initialization failure.
WARNING: smart bias initialization failure.
WARNING: smart bias initialization failure.
loaded weights from  wjh-ebd/yolov4-leaky-cut-ebd_best.weights
let's test the original model first:
Class    Images   Targets         P         R       mAP        F1:   0%|                                     | 0/1065 [00:00<?, ?it/s]
QObject::moveToThread: Current thread (0x55b48c1823c0) is not the object's thread (0x55b48e1061f0).
Cannot move to target thread (0x55b48c1823c0)
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/opt/conda/lib/python3.6/site-packages/cv2/qt/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.
Aborted (core dumped)
**
请问下是什么原因，已经按照requirements.txt安装好环境了

问题出在train.py的336行 plot_images(imgs=imgs, targets=targets, paths=paths, fname=fname)，问题应该是qt库的环境变量没有得到正确设置
解决：https://blog.csdn.net/qq_33638170/article/details/114395754


can we get the error code returned when an error occurs?

https://www.linode.com/api#error_codes
would like to move away from relying on the error message and rely on codes.
thanks!

In case of errors the library raises LinodeException, where error code is set to the exception code. So, you can wrap your calls into try-catch blocks like below:
use Linode\LinodeApi;
use Linode\LinodeException;
use Linode\PaymentTerm;

// Create new linode.
try {
    $api = new LinodeApi('tbd');
    $res = $api->create(3, 1, PaymentTerm::ONE_MONTH);

    printf("Linode #%d has been created.\n", $res['LinodeID']);
}
catch (LinodeException $e) {
    printf("Error #%d: %s.\n", $e->getCode(), $e->getMessage());
}

I have also updated the project's README. Please let me know whether it helps.

perfect!  thank you and please continue the great work!

Happy to help!


[feature] new design of the wrapper interface

as  https://github.com/xfyun/aiges/blob/master/doc/design/wrapper_interface.md mentioned:
here is some sugguestions from  the inner disscusions：

support multiple run tests with different test values.
support a template method to auto generate wrapper.py code project.
code structure need enhance.
mulit thread/process need be considered

https://github.com/iflytek/aiges_c_python_wrapper and  https://github.com/iflytek/aiges_python is ok now.


Feat 1237/stamp detail

Static version of the stamp detail page (still not pulling from the database)

@dvargas92495 should be good now

@dvargas92495 Can you pick this one up from here?


[operator-sdk] User "system:serviceaccount:default:nginx-operator" cannot get resource "pods" in API group "" in the namespace "default"

Bug Report
What did you do?
I have followed up the guideline of Helm operator-sdk in user-guide
The unexpected error happened at the end of the "Run as a pod inside a Kubernetes cluster"
Here are my command lists:
operator-sdk new nginx-operator --api-version=example.com/v1alpha1 --kind=Nginx --type=helm
cd nginx-operator
kubectl create -f deploy/crds/example_v1alpha1_nginx_crd.yaml
operator-sdk build myaccount/nginx-operator:v0.0.1
docker push myaccount/nginx-operator:v0.0.1
sed -i 's|REPLACE_IMAGE|myaccount/nginx-operator:v0.0.1|g' deploy/operator.yaml
kubectl create -f deploy/service_account.yaml
kubectl create -f deploy/role.yaml
kubectl create -f deploy/role_binding.yaml
kubectl create -f deploy/operator.yaml

What did you expect to see?
No error from the pod state
What did you see instead? Under which circumstances?

User "system:serviceaccount:default:nginx-operator" cannot get resource "pods" in API group "" in the namespace "default"

Here are the detailed logs:
$kubectl get pods
NAME                              READY   STATUS             RESTARTS   AGE
nginx-operator-5c6946d8d4-vwgnb   0/1     CrashLoopBackOff   1          12s

$ kubectl logs nginx-operator-5c89cffb5b-ffnfs
{"level":"info","ts":1559050310.9451957,"logger":"cmd","msg":"Go Version: go1.12.5"}
{"level":"info","ts":1559050310.945242,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"}
{"level":"info","ts":1559050310.9452474,"logger":"cmd","msg":"Version of operator-sdk: v0.8.0"}
{"level":"info","ts":1559050310.9452708,"logger":"cmd","msg":"Watching single namespace.","Namespace":"default"}
{"level":"info","ts":1559050311.080124,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"nginx-controller","source":"kind source: example.com/v1alpha1, Kind=Nginx"}
{"level":"info","ts":1559050311.0803094,"logger":"helm.controller","msg":"Watching resource","apiVersion":"example.com/v1alpha1","kind":"Nginx","namespace":"default","reconcilePeriod":"1m0s"}
{"level":"info","ts":1559050311.080329,"logger":"leader","msg":"Trying to become the leader."}
{"level":"error","ts":1559050311.169351,"logger":"k8sutil","msg":"Failed to get Pod","Pod.Namespace":"default","Pod.Name":"nginx-operator-5c89cffb5b-ffnfs","error":"pods \"nginx-operator-5c89cffb5b-ffnfs\" is forbidden: User \"system:serviceaccount:default:nginx-operator\" cannot get resour
ce \"pods\" in API group \"\" in the namespace \"default\"","stacktrace":"github.com/operator-framework/operator-sdk/vendor/github.com/go-logr/zapr.(*zapLogger).Error\n\tsrc/github.com/operator-framework/operator-sdk/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/operator-framework/
operator-sdk/pkg/k8sutil.GetPod\n\tsrc/github.com/operator-framework/operator-sdk/pkg/k8sutil/k8sutil.go:105\ngithub.com/operator-framework/operator-sdk/pkg/leader.myOwnerRef\n\tsrc/github.com/operator-framework/operator-sdk/pkg/leader/leader.go:142\ngithub.com/operator-framework/operator-s
dk/pkg/leader.Become\n\tsrc/github.com/operator-framework/operator-sdk/pkg/leader/leader.go:67\ngithub.com/operator-framework/operator-sdk/pkg/helm.Run\n\tsrc/github.com/operator-framework/operator-sdk/pkg/helm/run.go:104\ngithub.com/operator-framework/operator-sdk/cmd/operator-sdk/run.newR
unHelmCmd.func1\n\tsrc/github.com/operator-framework/operator-sdk/cmd/operator-sdk/run/helm.go:38\ngithub.com/operator-framework/operator-sdk/vendor/github.com/spf13/cobra.(*Command).execute\n\tsrc/github.com/operator-framework/operator-sdk/vendor/github.com/spf13/cobra/command.go:762\ngith
ub.com/operator-framework/operator-sdk/vendor/github.com/spf13/cobra.(*Command).ExecuteC\n\tsrc/github.com/operator-framework/operator-sdk/vendor/github.com/spf13/cobra/command.go:852\ngithub.com/operator-framework/operator-sdk/vendor/github.com/spf13/cobra.(*Command).Execute\n\tsrc/github.
com/operator-framework/operator-sdk/vendor/github.com/spf13/cobra/command.go:800\nmain.main\n\tsrc/github.com/operator-framework/operator-sdk/cmd/operator-sdk/main.go:80\nruntime.main\n\t/home/travis/.gimme/versions/go1.12.5.linux.amd64/src/runtime/proc.go:200"}
{"level":"error","ts":1559050311.1694436,"logger":"cmd","msg":"Failed to become leader.","Namespace":"default","error":"pods \"nginx-operator-5c89cffb5b-ffnfs\" is forbidden: User \"system:serviceaccount:default:nginx-operator\" cannot get resource \"pods\" in API group \"\" in the namespace \"default\"","stacktrace":"github.com/operator-framework/operator-sdk/vendor/github.com/go-logr/zapr.(*zapLogger).Error\n\tsrc/github.com/operator-framework/operator-sdk/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/operator-framework/operator-sdk/pkg/helm.Run\n\tsrc/github.com/operator-framework/operator-sdk/pkg/helm/run.go:106\ngithub.com/operator-framework/operator-sdk/cmd/operator-sdk/run.newRunHelmCmd.func1\n\tsrc/github.com/operator-framework/operator-sdk/cmd/operator-sdk/run/helm.go:38\ngithub.com/operator-framework/operator-sdk/vendor/github.com/spf13/cobra
.(*Command).execute\n\tsrc/github.com/operator-framework/operator-sdk/vendor/github.com/spf13/cobra/command.go:762\ngithub.com/operator-framework/operator-sdk/vendor/github.com/spf13/cobra.(*Command).ExecuteC\n\tsrc/github.com/operator-framework/operator-sdk/vendor/github.com/spf13/cobra/co
mmand.go:852\ngithub.com/operator-framework/operator-sdk/vendor/github.com/spf13/cobra.(*Command).Execute\n\tsrc/github.com/operator-framework/operator-sdk/vendor/github.com/spf13/cobra/command.go:800\nmain.main\n\tsrc/github.com/operator-framework/operator-sdk/cmd/operator-sdk/main.go:80\n
runtime.main\n\t/home/travis/.gimme/versions/go1.12.5.linux.amd64/src/runtime/proc.go:200"}
Error: pods "nginx-operator-5c89cffb5b-ffnfs" is forbidden: User "system:serviceaccount:default:nginx-operator" cannot get resource "pods" in API group "" in the namespace "default"
Usage:
  operator-sdk run helm [flags]

Flags:
  -h, --help                        help for helm
      --reconcile-period duration   Default reconcile period for controllers (default 1m0s)
      --watches-file string         Path to the watches file to use (default "./watches.yaml")
      --zap-devel                   Enable zap development mode (changes defaults to console encoder, debug log level, and disables sampling)
      --zap-encoder encoder         Zap log encoding ('json' or 'console')
      --zap-level level             Zap log level (one of 'debug', 'info', 'error' or any integer value > 0) (default info)
      --zap-sample sample           Enable zap log sampling. Sampling will be disabled for integer log levels > 1

Global Flags:
      --verbose   Enable verbose logging

Environment

operator-sdk version:

operator-sdk version: v0.8.0, commit: 78c472461e75e6c64589cfadf577a2004b8a26b3

go version:

go version go1.12.5 linux/amd64

Kubernetes version information:

Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.1", GitCommit:"b7394102d6ef778017f2ca4046abbaa23b88c290", GitTreeState:"clean", BuildDate:"2019-04-08T17:11:31Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.6", GitCommit:"ab91afd7062d4240e95e51ac00a18bd58fddd365", GitTreeState:"clean", BuildDate:"2019-02-26T12:49:28Z", GoVersion:"go1.10.8", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind:

Are you writing your operator in ansible, helm, or go?
I was just using the example in the user guide. There wasn't any change.

Possible Solution

Additional context
Add any other context about the problem here.

@Jinchul81 Thanks for the report. It looks like the RBAC generation for helm is not including the necessary rule for the leader election feature to work. As a workaround until we get this fixed, you should be able to add the following to deploy/role.yaml to resolve the issue.
- apiGroups:
  - ""
  resources:
  - pods
  verbs:
  - get

Actually, I'm fairly confident this is a bug that was fixed in v0.8.1 (see https://github.com/operator-framework/operator-sdk/pull/1456 for details). Can you upgrade to v0.8.1 and retry? If upgrading to v0.8.1 does not resolve your issue please re-open and we can take a closer look.

@joelanford Thanks a lot for your quick answer! I confirmed that v0.8.1 should resolve the issue!


Remove unused and vulnerable dependencies

uglify-js:1.3.5 has security vulnerabilities. After digging in, I realized a lot of these dependencies are unused, so removed them.

Nice! I saw the warnings. Maybe it's time to bump dependencies in general?


License?

What's the license for this work? I would like to build upon and it submit some PRs.

Done! Thank you for your interest.


How to properly set up the plugin?

Hello, I tried to install the plugin. Running :Neotest summery shows me the correct files, but when entering to the file and running require('neotest').run.run() it alerts No Tests Found
I am testing it in the project in the tests/integration.

This plugin has not adapted to breaking changes, so I made a few PRs here:
https://github.com/alfaix/neotest-gtest/pull/8
https://github.com/alfaix/neotest-gtest/pull/9

Should be fixed with #8 . Please re-open if it's not.


Issue like  Fix for droidlysis, dc3-mwcp, unfurl, importlib #242"

I'm having an issue completing "remnux upgrade".
Here's a partial dump of saltstack.log:
start_time: '04:09:22.986154'
test_|-remnux-config_|-remnux-config_|-nop:
run_num: 689
sls: remnux.config
changes: {}
comment: 'One or more requisite failed: remnux.config.volatility3.remnux-config-volatility3-permissions'
duration: 0.005
result: false
start_time: '04:09:27.533405'
test_|-remnux-dedicated_|-remnux-dedicated_|-nop:
run_num: 843
sls: remnux.dedicated
changes: {}
comment: 'One or more requisite failed: remnux.addon.remnux-addon-version-file'
duration: 0.003
result: false
start_time: '04:10:00.898648'
test_|-remnux-node-packages_|-remnux-node-packages_|-nop:
id: remnux-node-packages
run_num: 782
sls: remnux.node-packages
changes: {}
comment: Success!
duration: 0.403
name: remnux-node-packages
result: true
start_time: '04:09:53.338545'
test_|-remnux-packages_|-remnux-packages_|-nop:
id: remnux-packages
run_num: 240
sls: remnux.packages
changes: {}
comment: Success!
duration: 1.127
name: remnux-packages
result: true
start_time: '04:05:16.419247'
test_|-remnux-perl-packages_|-remnux-perl-packages_|-nop:
id: remnux-perl-packages
run_num: 784
sls: remnux.perl-packages
changes: {}
comment: Success!
duration: 0.574
name: remnux-perl-packages
result: true
start_time: '04:09:54.676368'
test_|-remnux-python-packages_|-remnux-python-packages_|-nop:
id: remnux-python-packages
run_num: 307
sls: remnux.python-packages
changes: {}
comment: Success!
duration: 0.978
name: remnux-python-packages
result: true
start_time: '04:06:03.148468'
test_|-remnux-python3-packages_|-remnux-python3-packages_|-nop:
run_num: 419
sls: remnux.python3-packages
changes: {}
comment: 'One or more requisite failed: remnux.python3-packages.volatility3.remnux-python3-packages-volatility3,
remnux.python3-packages.volatility3.remnux-python3-packages-volatility-rename-volshell,
remnux.python3-packages.volatility3.remnux-python3-packages-volatility-rename-vol'
duration: 0.005
result: false

Hi @Aramane700 , the last action to run in the list of commands which builds REMnux has to do with ssh, so it's not actually failing, it's just the last function to finish before the results of the total install are presented.
From what you've provided here, it appears that there was an issue installing volatility3. Can you provide us your saltstack.log file so we can take a look to see what happened?
Cheers!

saltstack.log
It's kinda jam packed, I went at it for quite some time. Thanks for your diligence! @digitalsleuth


Tests on the fieldmap estimation and unwarping

[ ] [CI unit test] Check that fieldmaps computed with FUGUE and TOPUP are equivalent (using HCP data, which includes both types of images).
[ ] [On the reports, per subject] Check original polarity and opposite/reverse polarity and see which one results in better final coregistration score (e.g. normalized correlation, mutual information)

[ ] For blip up/down images estimation
[ ] For GRE pairs (phase-difference images) estimation

(EDITED by @oesteban on 08/29/2016)

do same for blip up/down as well as GRE field maps

Ok, we are in a good position to address this: the BEAST dataset has fieldmaps and "PEpolar" (topup). The fieldmaps are in Hz (meaning: they don't have phase wrapping, and that's really awesome to get this issue done).
I'm addressing this in the fieldmaps branch.

As in #341 our first take on this will be visually assessing the results. We'll reopen if we find the resources to unit-test all the steps in the workflow.


[manual datasets] Move dataset detail field "URL" to "Links" block, in line with publications

Story
Move dataset detail field "URL" to "Links" block, in line with publications
Context
Currently, there is an optional field "URL" in the dataset details page:

It is almost never used
When it is used, it is often wrong, because people do not know what to expect

Proposition:

https://github.com/ugent-library/biblio-backoffice/issues/907
Use a "links" block, just like for publications, so people can add related information here as well.

Success criteria

[x] People can add related links to a dataset
[x] It works like in publications
[ ] We port the current links found in "URL" to a links block, in line with publications (see screenshots).
[ ] We use the following relationships for links:

[ ] Data management plan
[ ] Accompanying website
[ ] Related information
[ ] Linked code/software

[ ] When porting the current links, we add the relationship "Related information" by default.
[ ] We remove the URL field after the data migration.

Screenshots

Good to know
Luckily, not a lot of datasets have been added, and not all of them have a URL. We can still manually port these links.

@nics I added the relations (Data management plan, Accompanying website, Related information, Linked code/software) and the default where we port datasets to (Related information). Anything else missing?


Sketch beta 3.3 compatibility

Image replacement is broken in Sketch Beta Version 3.3 (11682)

@RaphyRaph It does work for me. Are you using the latest version?

People faces it not working for me (male/female)

@imton make sure you download the latest version of the plugin


Selecting Intellisense suggestion results in doubled content being typed

Raised from: https://github.com/styled-components/vscode-styled-components/issues/325
@mjbvz do you have any idea where to look for debugging the below? I've been trawling through the typescript-styled-plugin code and don't see anything obvious. Do you have any tips on how to fix this?
It looks like it doesn't replace what's already there and only inserts instead. The issue though is we haven't changed anything in this plugin apart from maybe updated CSS lang server dependency.
Describe the bug (including copyable syntax)
I see this as a one solid issue, symptoms of which are being solved in other issues. This is a continuation of this https://github.com/styled-components/vscode-styled-components/issues/219.
Namely, the Intellisense in styled-components code won't account for previously typed text when making suggestions and completions. I will describe it in several examples below.

Start creating some pseudo styling like after, selection, etc.

After hitting ENTER you will get this

If you start typing some css, Intellisense box would pop-up, close it and continue typing again. Say, it was flex- before. After applying the suggested option, say, flow, you will get flex-flex-flow (so the previously typed text is not accounted).

This is happening to me since early versions (below 1.0) of the extension.
Expected behavior
The behavior should be identical with regular css files.
Build environment (please complete the following information):

OS: ubuntu 18.04 or windows 10, both using the same versions of vscode and extension.
<EMAIL_ADDRESS><EMAIL_ADDRESS>(or other versions, does not matter)

I've tested this behaviour in an old version of typescript-styled-plugin https://github.com/microsoft/typescript-styled-plugin/commit/9769232f9799224f572d0171316530ef03fc9403 and it still happens. So i don't think its a regression


Connection problem with slave

Steps
$ locust -f dummy.py --master --master-bind-host=<IP_ADDRESS> --master-bind-port=5557
2018-03-28 13:15:53,561] mc-s092475.local/INFO/locust.main: Starting web monitor at *:8089
[2018-03-28 13:15:53,562] mc-s092475.local/INFO/locust.main: Starting Locust 0.8.1

# different pane
# running readme example
$ go build -o a.out main.go
$ ./a.out --master-host=<IP_ADDRESS> --master-port=5557 --rpc=socket
2018/03/28 13:22:27 Boomer is built with gomq support.
2018/03/28 13:22:27 Boomer is connected to master(<IP_ADDRESS>:5557) press Ctrl+c to quit.
2018/03/28 13:22:27 EOF

$ open http://localhost:8089/
# set users and hatch rate

$ You are running in distributed mode but have no slave servers connected. Please connect slaves prior to swarming.

It was listening on zeromq socket. Sorry.


Don't allow user to press back to log out

First off, this is great to see an official HA app. Well done! 👏👏👏
I found that by pressing back too many times logged me out of HA. This is a UX bug. See #75.

This is a frontend issue so must be fixed there.

Shouldn't we just start a new webview for the website, so there is no history of the login page to back to.
The person didn't get logged out but just navigated back to the login page. Killing app and reopening would have solved it.

It would, it happened to mee too.

Shouldn't we just start a new webview for the website, so there is no history of the login page to back to.
The person didn't get logged out but just navigated back to the login page. Killing app and reopening would have solved it.

I think the issue is rather that when navigating back from an external page to a HA page, the frontend will not ask the the app for authentication again and just show the login.

#75 will help.
The issue is that we change the url and it forgets it was using external auth. Indeed a frontend issue. I wonder if we need to chanfe how we detect external auth. Maybe we should check if some JS object exists instead?

#75 will help.
The issue is that we change the url and it forgets it was using external auth. Indeed a frontend issue. I wonder if we need to chanfe how we detect external auth. Maybe we should check if some JS object exists instead?

You could try checking if the externalApp interface is present.

It happened to me also on "new ui available" and reload of lovelace. After refresh - login screen. Killing app and reopening fixed situation.

Fixes in https://github.com/home-assistant/home-assistant-polymer/pull/4280


fuzz: fix incorrect evaluator test

Signed-off-by: Kuat Yessenov<EMAIL_ADDRESS>Description: pass an arena to evaluate call. Arena is used to allocate temporary objects (e.g. an empty map).
/assign @asraa
/assign @htuch
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]

Thank you!!! LGTM just two nits:

could you add the testcase to the corpus as a regression test?
fix_format's failing from the extra line

Thanks for the review. Added a test.


Documentation InstanceLevelKFoldSplitter

[ ] Add object representation for gojo.util.tools.InstanceLevelKFoldSplitter.
[ ] Add this class in the documentation of the gojo.core.loops functions.

Add also to gojo.core.loops input cross-validation supported types.


Contributing.md file updation

Added instructions on how to contribute, including coding standards, how to submit pull requests in CONTRIBUTING.md file.

@hasmithagunda123  can you please add my name in assignees and add labels, otherwise this merge would not be counted in GSSOC contribution.
Thanks in advance.

@hasmithagunda123  please add my name in assignee and respective labels in this (merged) Pull request. It would not be counted as contribution in Gssoc'24 otherwise.

@hasmithagunda123 please add my name in assignee and respective labels in this (merged) Pull request. It would not be counted as contribution in Gssoc'24 otherwise.

@hasmithagunda123 please


A variant version, UI improved by me, please try

I'm frequently using EFR Connect, to make me easy and effective, I've modified the source.
Please visit
https://github.com/RadioOperator/EFRConnect-android-variant
Thanks.

Thanks for this, some interesting ideas, we will consider incorporating them into the main app.

@silabs-TiagoM  Hi,
I tried send you my code to<EMAIL_ADDRESS>but not reachable.
Thanks.


Update image ghcr.io/zoriya/kyoo_back to a35a035

This PR contains the following updates:

Package
Update
Change

ghcr.io/zoriya/kyoo_back
digest
9d4e600 -> a35a035

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


S3 bucket needs a CORS permission

This solution breaks if the S3 bucket does not have a CORS permission. I just copied the permission JSON from https://docs.aws.amazon.com/sagemaker/latest/dg/sms-cors-update.html to make it work, but it may need more thought.

I just ran into this as well.  Updating the bucket do this solved our issue:
`        cors_rule = aws_s3.CorsRule(
allowed_headers=[],
allowed_methods=[aws_s3.HttpMethods.GET],
allowed_origins=["*"],
exposed_headers=["Access-Control-Allow-Origin"],
)
    services["main_s3_bucket"] = aws_s3.Bucket(self, "multipagepdfa2i",
        removal_policy=RemovalPolicy.DESTROY,
        cors=[cors_rule])`


Add Cmds For Sql Instance Failover Group

This checklist is used to make sure that common guidelines for a pull request are followed.

[ x] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ x] I adhere to the Command Guidelines.

Please review and merge this PR. Thanks

Please reopen when you can address the review feedback


Another CPS fault in the StartupProjectRegistrar

Opening a project sometimes results in this:
9/27/2016 6:11:35 PM
Recoverable
System.InvalidOperationException: Internal error: Critical capabilities changes were detected without any change made to the project, and forces the project to be reloaded.
   at Microsoft.VisualStudio.ProjectSystem.ProjectCapabilitiesRequirementsService.RequestReloadForIncompatibleCapabilitiesAsync(IImmutableSet`1 capabilities)
   at Microsoft.VisualStudio.ProjectSystem.UnconfiguredProjectImpl.<Microsoft-VisualStudio-ProjectSystem-IProjectCapabilitiesScopeContext-ReloadIfNecessaryAsync>d__157.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Microsoft.VisualStudio.ProjectSystem.ProjectCapabilitiesScope.<PrepareNewCapabilitiesSnapshotAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.ProjectSystem.ProjectCapabilitiesScopeBase.<ProcessNewCapabilitiesAsync>d__42.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.ProjectSystem.ProjectDataSources.<GetLatestVersionAsync>d__39`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.ProjectSystem.ProjectDataSources.<GetLatestVersionAsync>d__15`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Microsoft.VisualStudio.ProjectSystem.UnconfiguredProjectImpl.<LoadConfiguredProjectAsync>d__137.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.ProjectSystem.UnconfiguredProjectImpl.<GetSuggestedConfiguredProjectAsync>d__149.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.ProjectSystem.ActiveConfiguredProjectImpl`1.<>c__DisplayClass15_0.<<Initialize>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
   at Microsoft.VisualStudio.ProjectSystem.ActiveConfiguredProjectImpl`1.Initialize()
   at Microsoft.VisualStudio.ProjectSystem.OnceInitializedOnceDisposed.EnsureInitialized(Boolean allowInitializing)
   at Microsoft.VisualStudio.ProjectSystem.ActiveConfiguredProjectImpl`1.get_Value()
   at Microsoft.VisualStudio.ProjectSystem.UnconfiguredProjectCommonServices.get_ActiveConfiguredProjectProperties()
   at Microsoft.VisualStudio.ProjectSystem.VS.UnconfiguredProjectVsServices.get_ActiveConfiguredProjectProperties()
   at Microsoft.VisualStudio.ProjectSystem.VS.Debug.StartupProjectRegistrar.<InitializeCoreAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.ProjectSystem.VS.Debug.StartupProjectRegistrar.<OnProjectFactoryCompletedAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.VisualStudio.ProjectSystem.UnconfiguredProjectImpl.AutoLoadMethodStateMachine.<<StartExecution>b__8_0>d.MoveNext()

Hmm, I do wonder what's causing capabilities to change - it looks like the active configured project hasn't been initialized at this point? Which is very strange given this is after the project is considered loaded and well after the active configured project has loaded. Also we would have not been initialized in the first place - because C#/VB capability don't get promoted into unconfigured project until after the first configured project has been loaded.

+1 I hit the same now.

Just saw that again with d15prerel 25818.4

We have not seen this in a while. I am going to close this for now. @srivatsn is there reports of people seeing this now?

Yes this seems to happen every so often still.

With the current state of the project, where the SDK tooling is present in the machine before loading the project, we are not going to see dynamic change in capabilities.
Although, in the future, we could have a different tooling story, where the above statement could be false. In that case, the components that are loaded and unloaded based on the capabilities should move over to ProjectDynamicLoadComponent.
For now, I am closing this issue since we are not running into this issue.

What if I change the Sdk element of my project?


Update the 3.0.0 changelog

We want to further clarify the event tracking changes in the 3.0 release. I'm updating the master branch but I won't try to update the 3.0.0 tag.
Preview link

Coverage remained the same at 98.142% when pulling e30982b08b2e7c45133e1e7f437685bb2fb06859 on nikhil/update-3.0.0-changelog into 0e2f2bf563c58301bed0c3e675a5b4014c06e844 on master.

Coverage remained the same at 98.142% when pulling e30982b08b2e7c45133e1e7f437685bb2fb06859 on nikhil/update-3.0.0-changelog into 0e2f2bf563c58301bed0c3e675a5b4014c06e844 on master.


[ixwebsocket] build failure

Describe the pull request

What does your PR fix? Fixes #15451
The CMake targets after ixwebsocket install are
find_package(share CONFIG REQUIRED)
target_link_libraries(main PRIVATE ixwebsocket::ixwebsocket)
There is a problem, the correct one should be
find_package(ixwebsocket CONFIG REQUIRED)
target_link_libraries(main PRIVATE ixwebsocket::ixwebsocket)
After modification, the build can be used normally

All features are tested successfully in the following triplets:

x86-windows
x64-windows
x64-windows-static

Duplicate of #16710


Fix for JavaDoc compilation failure with JDK8 (Issue 886)

(cherry picked from commit 4bee4c0)

Looks like this causes an issue with non jdk8 builds.  Is there a way to make this flag conditional depending on jdk version?

Not sure, I've never used Maven. Another option is to fix javadoc comments.

this has been fixed.


ModuleNotFoundError: No module named 'pytorch_pretrained_bert'

tion/gpt2_corefs_question_generation --model_type gpt2
Traceback (most recent call last):
  File "question-generation/interact.py", line 16, in <module>
    from pytorch_pretrained_bert import OpenAIGPTLMHeadModel, OpenAIGPTTokenizer, GPT2LMHeadModel, GPT2Tokenizer
ModuleNotFoundError: No module named 'pytorch_pretrained_bert'

Why is this happening? Any instructions on how can I update the code to resolve the issue.
Occurred while executing
python question-generation/interact.py --model_checkpoint question-generation/gpt2_corefs_question_generation --model_type gpt2

Please install the python modules in requirements.txt


Add wiremock theme

Proposal
It would be nice to replace the stock ReadTheDocs theme by a custom WireMock one
References

https://github.com/mkdocs/catalog#-theming

I added some basic look and feel in #4 , but more is needed to consider it done


Annotations labels overlapping

Sorry if this is a duplicate but I cannot seem to find something related to my issue. I would like to know if there is a way for one of the label to be automatically displayed a little lower if they overlap ? Or not displayed at all maybe ?
Thanks,

Currently not possible automatically, so labeling as enhancement

@girardHU as @kurkle has written, this feature is still not present.
Neverthelss, leveraging on yAdjust and xAdjust on the label, you can change the position of the label, avoiding overlapping.
Could be a workaround, waiting for new feature.
See here an example: https://codepen.io/stockinail/pen/WNOKmbK


RuntimeError: Expected isFloatingType(grads[i].type().scalarType()) to be true, but got false.

Dear，
A RuntimeError occurred while I was training on the Kitti dataset, as follows
Traceback (most recent call last):
  File "/media/jiangtao/Project/IA-SSD-main/tools/train_utils/train_utils.py", line 52, in train_one_epoch
    loss.backward()

  File "/home/zhang/anaconda3/envs/second1/lib/python3.6/site-packages/torch/tensor.py", line 195, in backward
    torch.autograd.backward(self, gradient, retain_graph, create_graph)

  File "/home/zhang/anaconda3/envs/second1/lib/python3.6/site-packages/torch/autograd/__init__.py", line 99, in backward
    allow_unreachable=True)  # allow_unreachable flag

RuntimeError: Expected isFloatingType(grads[i].type().scalarType()) to be true, but got false.  (Could this error message be improved?  If so, please report an enhancement request to PyTorch.)

Could you please give me the suggestions？
Looking forward to your reply.

my environment
Ubuntu18.04
Python = 3.6
PyTorch = 1.4
CUDA = 10.2
spconv = 1.2.1

Have you modified the code? Mine is working perfectly. But I have found this issue, please check if it could help

I also met the same problem which let me upset

go to IASSD_head.py, find the function def get_loss(self, tb_dict=None), modfiy all the loss values of point_loss from tensor to scalar.For example, change point_loss_box to point_loss_box.item() in function get_center_box_binori_layer_loss.


make build_images is missing permissions to download helm

Trying to follow the build instructions on an up-to-date Ubuntu 24.04 make build-images fails with the following error:
$ make build-images IMAGE_TAG=latest
(unset)
Downloading helm v3.15.3-gke.0
ServiceException: 401 Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object. Permission 'storage.objects.get' denied on resource (or it may not exist).
make: *** [Makefile:456: "/home/noa/fun/kpt-config-sync/.output/go/bin/helm"] Error 1

Adding set -x at the top of scripts/install-helm.sh reveals the failing invocation to be gsutil cp gs://config-management-release/config-sync/helm/tag/v3.15.3-gke.0/helm-v3.15.3-gke.0-linux-amd64.tar.gz /tmp/helm-v3.15.3-gke.0-linux-amd64.tar.gz

The GCS object is public but it does not allow anonymous downloads, i.e. the user must be logged in with gcloud to download the file. This is the first report we've had of this causing friction, but it's something we could potentially address

Oh, I see. That seems fine to me with a small addition to the build instructions. Let me propose a wording


Duplicate named files

I use this library via its NPM module and grab the files I need for a build process within a Gulp task using glob pattern matching. In the interest of not depending on the specific file structure of the library, I simply use node_modules/codemirror/**/codemirror.js which worked fine for a long while. However in a recent update, there are now two files titled codemirror.js within the project which makes glob pattern matching slightly more annoying. Not a high priority, but out of curiosity any particular reason why the source file was named the same as the main library file?

Because we didn't anticipate anyone loading the files by glob pattern. Just refer directly to lib/codemirror.js, that's much more robust.


Thanks for wonderful word .Question about text prompt

Thanks for your wonderful word. The SAM model in your work seems to be acceptable for text prompt as shown in Figure2 .But SAM model seems  not to be fit with text prompt according to
https://github.com/facebookresearch/segment-anything/issues/322
https://github.com/facebookresearch/segment-anything/issues/93
Do I misunderstand something here?

Yes, SAM model didn't release the text prompt feature in their repo. We adopt the text prompt feature from Grounded-SAM: https://github.com/IDEA-Research/Grounded-Segment-Anything

Thanks

Hello. I want adopt the text prompt feature from Grounded-SAM to my SAM as well.  It would really appreciate if you could give some suggestions on how to  implementing adopt the text prompt feature from Grounded-SAM.

The general idea is to send text prompt to GroundedDINO and it returns multiple boxes, then use them as box prompts for SAM.
You may check the implementation here: https://github.com/SHI-Labs/Matting-Anything/blob/main/gradio_app.py

Thanks for you help .Hope you have a good weekend.


[FIX] parse comment error integer to string

Describe the PR
fixed this error
ParseComment error in file controller/examples.go :can not find schema type: "controller.integer"

Relation issue
#659
Additional context
n

int is better


Close button on selected facets with long text is not vertical centered

Close button on selected facets with long text is not vertical centered.
Steps to reproduce:

Go to some product category
Select facets from left sidebar with longest texts
Close button to disactivate filter is not center aligned

As i see issue was already reviewed.
Based on PR comments i suppose to move it back into Todo and assign @RomeroDiver


Seems intuitive that there would be a "share new topography" on the Sharing page

When I click on the Sharing page, it gives me an overview of all data that I am sharing or are shared with me. This is great.
However, I would also expect to see a "Share new Surface" button on this page. (I now know that you can go to the surface and click share. But when I was new to the app, I clicked to the Sharing page and it wasn't immediately obvious how to start sharing topographies

This has been completely revised. That user interface no longer exists.