text:
Possible to add clamp processors to pitch/roll/yaw bindings?

Description
I have a Thrustmaster T16000M FCS joystick - I've found that I can bind the the joystick pitch and yaw because in the joystick they count as stick/left, stick/right, stick/up, stick/down, however iI can't seem to find anything to make roll bind to the joystick twist correctly.
(What works fine for regular pitch/yaw)
"overridePath": "/Thrustmaster T.16000M/stick/up"
},
{
"overridePath": "/Thrustmaster T.16000M/stick/down"

I can bind Roll to the twist (rz) axis of the joystick, however it will only go in one direction.  I think the solution could be as some have done in regular game settings to put a clamp on the value for each side of the control when set for each direction in the binding.
(Works but only for one direction)
"overridePath": "/Thrustmaster T.16000M/rz"

(How I would think you're supposed to format it assuming clamps are valid to be used.  I did try to edit the config manually like this and did not work.)
    "Roll": {
      "bindings": [
        {},
        {
          "overridePath": "/Thrustmaster T.16000M/rz",
          "overrideProcessors": "Clamp(min=-1,max=0)"
        },
        {
          "overridePath": "/Thrustmaster T.16000M/rz",
          "overrideProcessors": "Clamp(min=0,max=-1)"
        },
        {},
        {
          "overridePath": ""
        },
        {
          "overridePath": ""
        },
        {}
      ]
    },

As the title asks - is it possible to let these values allow clamps?  Or perhaps it already does and i'm doing it wrong?  Thanks!
Steps to reproduce
Uh - can try with a joystick
Expected behaviour
Detection of a joystick twist as an axis control I guess would be nice, but probably not feasible?  Allowing clamps or any processors for any values would be nice.
Workarounds
No response
Relevant log output
No response
Additional information
No response

For axes you should use the marked binding:

Detection of a joystick twist as an axis control I guess would be nice, but probably not feasible?

Hey @nanonestor have you tried to assign the twist axis to the last binding?

In addition:
    "Roll": {
      "bindings": [
        {
          // This is where you can add processors however you cannot
          // bind controls here as this is the main binding of the
          // composite binding and its path defines what type of
          // composite binding it is.
        },
        {
          "overridePath": "/Thrustmaster T.16000M/rz",
          "overrideProcessors": "Clamp(min=-1,max=0)"
          // Processors added here won't work as this is part of a
          // composite binding and you can only add processors to the
          // main binding of a composite binding.
        },
        {
          "overridePath": "/Thrustmaster T.16000M/rz",
          "overrideProcessors": "Clamp(min=0,max=-1)"
        },
        {},
        {
          "overridePath": ""
        },
        {
          "overridePath": ""
        },
        {
           // Assigning your axis here should work:
           // "overridePath": "/Thrustmaster T.16000/rz"
        }
      ]
    },

Composite Bindings are Bindings consisting of multiple parts, which form a Control together. For instance, a 2D Vector Composite uses four buttons (left, right, up, down) to simulate a 2D stick input. See the Composite Bindings documentation to learn more.
- Unity InputSystem documentation

Thank you got it!  I had been focusing on the composite bindings and had been disregarding the 'Axis binding' as it looked innocuous.  Maybe consider adding something to the readme.md to help PEBKAC cases like myself? :D
    "Roll": {
      "bindings": [
        {},
        {
          "overridePath": ""
        },
        {
          "overridePath": ""
        },
        {},
        {
          "overridePath": ""
        },
        {
          "overridePath": ""
        },
        {
          "overridePath": "/Thrustmaster T.16000M/rz",
          "overrideProcessors": "Invert();AxisDeadzone(min=-0.10,max=0.10)"
        }
      ]
    },

No problem, also for the AxisDeadzone processor you might want to set min=0.1 and max=1. This is described here.

Ah.  I see, would never have guessed that was how 'deadzone' was determined without that documentation.  Thanks.

If it's not too much trouble perhaps your wiki could include descriptions in human-language on what each processor does?

I will open a new issue for this and other sources of confusion.

authors: Codenade nanonestor


text:
Replace the 3 logos with the new coolest project one

closes #104
replace the previous 3 logos with the single coolest projects logo.

Yep, so you might want to change https://github.com/CoderDojo/coolest-platform/blob/master/client/index.html#L19 as well :)

@Wardormeur what do I need to change there?

@Wardormeur ah do you mean add the others. Will do.

updated @conoramurphy @Wardormeur

source: gharchive/pull-request

authors: Wardormeur damienh

repo: CoderDojo/coolest-platform

license: MIT

license_type: permissive

license_source: github-api


text:
数组中需要转换的模型类，转换失败

class RouteInfoModel :NSObject {
var routeInfo : Array!
var travle_times: Array!
@nonobjc class func mj_objectWithKeyValues(keyValues:Dictionary<String,AnyObject>)-  >RouteInfoModel{

  RouteInfoModel.mj_setupObjectClassInArray { () -> [NSObject : AnyObject]! in
    return ["travle_times":"ScheduleDayModel",
      "routeInfo":"RouteModel"]
  }

  return RouteInfoModel().mj_setKeyValues(keyValues)
}

}
转换完毕以后 两个数组中装的都是字典啊

注意你的 Attributes

source: gharchive/issue

authors: kissnger wolfcon

repo: CoderMJLee/MJExtension

license: mit

license_source: bigquery


text:
报错： Right operand to ? is void, but left operand is of type 'int'

There comes an error in "UIScrollView+MJRefresh.m" file when I drag the MJRefresh file into my project.
I tried to fix it in many ways ,however, it did't work!
Specific information is as follows。
UIScrollView+MJRefresh.m

(void)executeReloadDataBlock
{
!self.mj_reloadDataBlock ? : self.mj_reloadDataBlock(self.mj_totalDataCount);//here comes an error.The specific information is below!
}
error： Right operand to ? is void, but left operand is of type 'int'

repo: CoderMJLee/MJRefresh


text:
上拉加载的底部控件，在适配iPhone X时，会显示在安全区域外，该如何解决？

同样的header也会有这样的问题，有好的解决方案吗？

分别添加一个有背景色（跟tableView背景色一样）的view在tableView的顶部或底部，盖住MJRefreshHeader和MJRefreshFooter？

@CoderMJLee
在AppDelegate里加上下面的代码就没事了
if (@available(iOS 11.0, *)){
[[UIScrollView appearance] setContentInsetAdjustmentBehavior:UIScrollViewContentInsetAdjustmentNever];
}

如果我既想要 安全区域，又想要列表到底部正常隐藏这个footer呢。

期待解决办法。

@pdsliuzhen 我目前的做法是：
if (@available(iOS 11.0, *)) {
self.myTableView.contentInsetAdjustmentBehavior = UIApplicationBackgroundFetchIntervalNever;
}
然后

(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{
if (self.myTableDataSourceArray.count - 1 == section && iPhoneX) {
return 34;
}
return 0.0001;
}
无奈之举ㄟ( ▔, ▔ )ㄏ  🤷♀
各位dalao有什么好的方法没？还是坐等更新？

我的办法是更换为MJRefreshAutoNormalFooter，效果还行吧

@TheLittleBoy 用MJRefreshAutoNormalFooter的话没有更多数据的时候你是怎么隐藏的呢？是不是就没有回弹效果了？

@zhyKing self.tableView.mj_footer.hidden = YES;
不要设置self.myTableView.contentInsetAdjustmentBehavior = UIApplicationBackgroundFetchIntervalNever;  这不符合iPhone X的设计规范！对于一个可以滑动的列表，请参考模拟器--设置页面的实现效果。

@TheLittleBoy 不设置self.myTableView.contentInsetAdjustmentBehavior = UIApplicationBackgroundFetchIntervalNever;的话push和pop时TableView会出现下拉回弹的动画（我也不清楚具体是什么原因造成的）。
至于你说的iPhone X的设计规范问题是指当列表滑到最底部的时候Home Indicator位置（底部超出安全区域的34高度的位置）不应展示列表内容吧？对于这个问题我是设置最后一个FooterIn的高度为34来解决的。

下拉回弹动画的问题这就不清楚了。但是，要想实现系统设置的列表效果，就不能设置UIApplicationBackgroundFetchIntervalNever。

目前我项目中的关于适配iPhone X时遇到的坑和解决的办法，我总结了一下并发表在简书了。
iOS 11 和 iPhoneX适配
其中第二条是当前讨论的问题。
如有意见或建议欢迎提出来

@zhyKing 照你的方法修改，tableview顶部钻入导航栏了，你碰到了吗？

#define SafeAreaBottomHeight (KScreenHeight == 812.0 ? 34 : 0)
self.tableView.frame = CGRectMake(0, 0, KScreenWidth, KScreenHeight + SafeAreaBottomHeight);

@CoderMJLee @zhyKing 已解决😁

@MrCaiWH 谢谢提醒，我才发现我那种方法只适合navigationBar为不透明状态下。

在 viewWillAppear: 方法里添加一段代码：
self.tableView.mj_footer.ignoredScrollViewContentInsetBottom = kIsiPhoneX ? 34 : 0;
用于设置【忽略多少scrollView的contentInset的bottom】

在 viewWillAppear: 方法里添加一段代码：
self.tableView.mj_footer.ignoredScrollViewContentInsetBottom = kIsiPhoneX ? 34 : 0;
用于设置【忽略多少scrollView的contentInset的bottom】

我改进了一下，可以这样：self.tableView.mj_footer.ignoredScrollViewContentInsetBottom = UIApplication.shared.keyWindow?.safeAreaInsets.bottom ?? 0

authors: CoderMJLee MrCaiWH TheLittleBoy idbeny pdsliuzhen tbfyniiswcy thunder0513 xieliying zhyKing


text:
🛑 Apns is down

In 855116e, Apns (https://dubae.vip/push/rest_notification.php) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Apns is back up in f3e18fe after 16 minutes.

repo: Codifta/uptime


text:
Showcase Submission for c4-worley-noise

Thank you Rodak Titěra for your contribution! A member of the Coding Train team will review it shortly.

3D Worley Noise in Processing 4 using PShader
Rodak Titěra

Apologies it looks like there is a character that is breaking the JSON in your name, do you want to take a look or would you like me to try to adjust it?

@shiffman Pretty sure it's on our end while producing the JSON file from the lambda. The ě character in the author's name (Rodak Titěra) is not getting encoded in a JSON-compatible way. It would be nice to fix it for the contributor. I'll investigate the root cause.

Ah, thank you @fturmel! I manually edited the character so hopefully the checks will now pass as least as a band-aid here!

authors: ch00ooch00oo fturmel shiffman


text:
底层redis是否对slot有感知

迁移slot时，是怎么找到对应slot的kv的。最好能告知一下实现的方法名，理论+实践结合。谢谢了~

https://github.com/CodisLabs/codis/blob/master/doc/redis_change_zh.md
https://github.com/CodisLabs/codis/blob/release3.0/doc/redis_change_zh.md
这里面写了我们对 redis 进行了哪些修改。
最早是在 2.8.13 上修改的，对 tag 迁移性能不太行，后来在 2.8.21 上我进行了优化。但是 master (2.0) 分支上的 doc 没有更新。所以两个 doc 都给你贴出来了。

@spinlock 谢谢，我看看，哈哈

@spinlock  我没表达清楚，我想知道在redis上如何实现slot的，不是操作命令

@Black-Mamba24 本质是一回事儿～，你看指令名称，到代码里面，不就找到了嘛 :doge :doge

repo: CodisLabs/codis


text:
Use commit messages in PR tools

PR Type:
Enhancement

PR Description:
This PR updates several tools in the pr_agent package to use the commit messages in their functionality. The commit messages are now retrieved and stored in the vars dictionary for each tool.

PR Main Files Walkthrough:

pr_agent/tools/pr_code_suggestions.py: Added the commit_messages_str key to the vars dictionary.
pr_agent/tools/pr_description.py: Removed the commit_messages_str variable and added the commit_messages_str key to the vars dictionary.
pr_agent/tools/pr_information_from_user.py: Added the commit_messages_str key to the vars dictionary.
pr_agent/tools/pr_questions.py: Added the commit_messages_str key to the vars dictionary.
pr_agent/tools/pr_reviewer.py: Added the commit_messages_str key to the vars dictionary.
pr_agent/tools/pr_update_changelog.py: Added the commit_messages_str key to the vars dictionary.
pr_agent/settings/pr_code_suggestions_prompts.toml: Added a section to display the commit messages.
pr_agent/settings/pr_information_from_user_prompts.toml: Added a section to display the commit messages.
pr_agent/settings/pr_questions_prompts.toml: Added a section to display the commit messages.
pr_agent/settings/pr_reviewer_prompts.toml: Added a section to display the commit messages.
pr_agent/settings/pr_update_changelog_prompts.toml: Added a section to display the commit messages.

Preparing changelog updates...

/update_changelog --pr_update_changelog.push_changelog_changes=true

/improve

Preparing review...

PR Analysis

🎯 Main theme: Enhancement of PR tools by incorporating commit messages
📌 Type of PR: Enhancement
🧪 Relevant tests added: No
✨ Focused PR: Yes, the PR is focused as it has a clear and coherent title and description. All the changes in the PR are logically derived from the title and description, which is about enhancing PR tools by incorporating commit messages.
🔒 Security concerns: No, the PR does not introduce any apparent security concerns. The changes are mainly about retrieving and storing commit messages, which does not involve any sensitive data or operations that could lead to security issues.

PR Feedback

General suggestions: The PR is well-structured and the changes are logically consistent with the PR's purpose. However, it would be beneficial to include tests to verify the new functionality. Additionally, consider handling potential exceptions that may occur when retrieving commit messages.

🤖 Code feedback:

relevant file: pr_agent/tools/pr_code_suggestions.py
suggestion content: Consider handling potential exceptions that may occur when retrieving commit messages. This can be done by wrapping the self.git_provider.get_commit_messages() call in a try-except block and providing an appropriate error message if an exception is thrown. [important]
relevant line in file: "commit_messages_str": self.git_provider.get_commit_messages(),

relevant file: pr_agent/tools/pr_description.py
suggestion content: It's a good practice to keep the initialization of variables close to their usage. In this case, the commit_messages_str variable was removed and its value was directly assigned in the vars dictionary. This is a good practice as it improves code readability and maintainability. [medium]
relevant line in file: "commit_messages_str": self.git_provider.get_commit_messages()

relevant file: pr_agent/tools/pr_information_from_user.py
suggestion content: Consider adding a comment explaining the purpose of the commit_messages_str key in the vars dictionary. This will improve code readability and maintainability. [medium]
relevant line in file: "commit_messages_str": self.git_provider.get_commit_messages(),

repo: Codium-ai/pr-agent


text:
Fork pyxrootd

This resolves a bug in the processor.run_uproot_job tool which causes things to completely hang if using futures_executor with xrootd files.

I found a better solution, going into uproot

repo: CoffeaTeam/fnal-column-analysis-tools


text:
Particular key binding not working

The default key binding S for select_item is working, but when I define the key 1 as custom binding for select_item, to use with my remote control, it's not working, all other custom bindings work fine.
[
    {
        "key": "SPACE",
        "command": ["script-binding", "file_browser/dynamic/down_dir"],
        "filter": "dir"
    },
    {
        "key": "ENTER",
        "command": ["script-binding", "file_browser/dynamic/down_dir"],
        "filter": "dir"
    },
    {
        "key": "SPACE",
        "command": ["script-binding", "file_browser/dynamic/play"],
        "filter": "file"
    },
    {
        "key": "ENTER",
        "command": ["script-binding", "file_browser/dynamic/play"],
        "filter": "file"
    },
    {
        "key": "RIGHT",
        "command": ["script-binding", "file_browser/dynamic/play"],
        "filter": "file"
    },
    {
        "key": "BS",
        "command": ["script-binding", "file_browser/dynamic/close"]
    },
    {
        "key": "1",
        "command": ["script-binding", "file_browser/dynamic/select_item"]
    },
    {
        "key": "2",
        "command": ["script-binding", "file_browser/dynamic/play_append"]
    },
    {
        "key": "3",
        "command": ["script-binding", "file_browser/dynamic/reload"]
    },
    {
        "key": "CTRL+F11",
        "command": ["script-binding", "file_browser/dynamic/page_up"]
    },
    {
        "key": "CTRL+F12",
        "command": ["script-binding", "file_browser/dynamic/page_down"]
    }
]

Should be fixed now

That was fast, thanks!

repo: CogentRedTester/mpv-file-browser


text:
Add support for property names restrictions

At the moment, APM support for setting up permissions agains path and glob. However, together with OAK 1.3.8 there is new very useful restriction is available called rep:itemNames
The restriction accepts list of property or node names the permissions can be applied to.
With this restriction it's possible to create ACL that controls permissions on the property level.
See below links for reference:

https://jackrabbit.apache.org/oak/docs/security/authorization/restriction.html
https://jackrabbit.apache.org/oak/docs/security/permission/evaluation.html

Proposal:

Add support for new combinations of ALLOW & DENY actions with itemNames, so one can create allow for given path, glob and list of property/node names. For instance, a following example new combinations (besides the existing ones) should be supported:

ALLOW /content/path ITEMS [text, title] READ
ALLOW /content/path ITEMS [text, title] [READ, MODIFY]
ALLOW /content/path ITEMS [text, title] [READ, MODIFY] IF-EXISTS
ALLOW /content/path /*/some-glob ITEMS [text, title] READ
ALLOW /content/path /*/some-glob ITEMS [text, title] [READ, MODIFY]
ALLOW /content/path /*/some-glob ITEMS [text, title] [READ, MODIFY] IF-EXISTS
DENY /content/path ITEMS [text, title] READ
DENY /content/path ITEMS [text, title] [READ, MODIFY]
DENY /content/path ITEMS [text, title] [READ, MODIFY] IF-EXISTS
DENY /content/path /*/some-glob ITEMS [text, title] READ
DENY /content/path /*/some-glob ITEMS [text, title] [READ, MODIFY]
DENY /content/path /*/some-glob ITEMS [text, title] [READ, MODIFY] IF-EXISTS

Scope of changes:

Update AllowMapper & DenyMapper classes by introducing new mappings for the combinations above (keeping the existing mappings intact to guarantee backward compatibility)
Update Allow & Deny classes to support new restriction (list of item names).
Update PermissionActionHelper to add support of item names restriction. Store new restriction as multi valued  property rep:itemNames (https://jackrabbit.apache.org/api/2.8/org/apache/jackrabbit/api/security/JackrabbitAccessControlList.html#addEntry(java.security.Principal, javax.jcr.security.Privilege[], boolean, java.util.Map, java.util.Map))
Update wiki documentation https://github.com/Cognifide/APM/blob/master/documentation/src/main/wiki/PermissionActions.md

Feature implemented in versions 3.2.0 and 4.1.0.

authors: marcinczeczko mjedraszczyk

repo: Cognifide/APM


text:
EventFiringWebDriver is still being used, but it has been deprecated

Describe the bug
Using a deprecated EventFiringWebDriver
See: https://github.com/CognizantOpenSource/maqs-java/blob/bf794ff52d31698fdea6cbdcec8ccb91d8c95254/jmaqs-selenium/src/main/java/com/magenic/jmaqs/selenium/SeleniumDriverManager.java#L73
Additional context
Should transition to EventFiringDecorator

@twalshcsv I have linked the PR that contains that change. The PR will be ready soon

authors: jredingcsv twalshcsv

repo: CognizantOpenSource/maqs-java


text:
(#266) Reject button not working

#266
Changes include:

Checking validation for next_scheduled_date and next_scheduled_person_id only if action is confirm.

@bohraji going ahead with the hotfix merge. Please take a look at the changes when you have time. Will target feedback separately.

repo: ColoredCow/employee-portal


text:
btyd library is dependent on lifetimes but doesn't install it.

I installed btyd using pip install btyd.
It installed with no errors. However, it won't import as I haven't installed the lifetimes library in that environment. I think the references need to be changed in modified_beta_geo_fitter.py
Error message:
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Input In [1], in <cell line: 4>()
      2 import pandas as pd
      3 import numpy as np
----> 4 import btyd

File /libraries/CLTV/lib/python3.9/site-packages/btyd/__init__.py:6, in <module>
      4 from .fitters.beta_geo_fitter import BetaGeoFitter
      5 from .fitters.beta_geo_beta_binom_fitter import BetaGeoBetaBinomFitter
----> 6 from .fitters.modified_beta_geo_fitter import ModifiedBetaGeoFitter
      7 from .fitters.pareto_nbd_fitter import ParetoNBDFitter
      8 from .fitters.gamma_gamma_fitter import GammaGammaFitter

File /libraries/CLTV/lib/python3.9/site-packages/btyd/fitters/modified_beta_geo_fitter.py:11, in <module>
      8 from autograd.scipy.special import gammaln, beta, gamma
      9 from scipy.special import hyp2f1
---> 11 from lifetimes import BetaGeoFitter
     12 from lifetimes.generate_data import modified_beta_geometric_nbd_model
     15 class ModifiedBetaGeoFitter(BetaGeoFitter):

ModuleNotFoundError: No module named 'lifetimes'

Version: btyd==0.1a1

Hey @s-pike,  thanks for bringing this to my attention. I think this is also causing issues with the doc builds, so I'll roll it into the current PR I'm working on for the documentation. I'll also look at the CI/CD scripts, because they should have caught this.

This issue was fixed in https://github.com/ColtAllen/btyd/pull/43 and will be included in the Beta release.

authors: ColtAllen s-pike

repo: ColtAllen/btyd


text:
[Feat]: Remove the generative-ai-js dependency

Describe the problem and solution that you'd like.
Replace the generative AI JS dependency and make a curl request instead. This will allow us to revert to
  "engines": {
    "vscode": "^1.77.0"
  },

in package.json and allow users to use the latest version.
Describe alternatives that you have considered.
No response
Additional Information
No response
Acceptance Criteria
No response

PRO Tip: Use gemini agent to make the migration.

repo: CommandDash/commanddash


text:
RedditEmbed

Reddit has changed their embed codes from iframe embeds to a more standard blockquote + script embed code. We previously were detecting only the iframe embed versions of these and had none of the options support that Reddit provided for embedding their posts.

Made this mistake. Need help with names.
 byu/niccia incats

This will turn into:
{
  "blocks": [
    {
      "attributes": {
        "content": "B00000000",
        "height": 740,
        "hidePostContent": false,
        "hideUsername": false,
        "url": "https://www.reddit.com/r/cats/comments/1cretsi/made_this_mistake_need_help_with_names/",
      },
      "id": "B00000000",
      "parents": [],
      "selfClosing": false,
      "type": "reddit-embed",
    },
    {
      "attributes": {},
      "id": "B00000001",
      "parents": [
        "reddit-embed",
      ],
      "selfClosing": true,
      "type": "line-break",
    },
  ],
  "marks": [
    {
      "attributes": {
        "url": "https://www.reddit.com/r/cats/comments/1cretsi/made_this_mistake_need_help_with_names/",
      },
      "id": "M00000000",
      "range": "(1..41)",
      "type": "link",
    },
    {
      "attributes": {
        "refs": [
          "B00000000",
        ],
      },
      "id": "M00000001",
      "range": "(1..62]",
      "type": "slice",
    },
    {
      "attributes": {
        "url": "https://www.reddit.com/user/niccia/",
      },
      "id": "M00000002",
      "range": "(46..54)",
      "type": "link",
    },
    {
      "attributes": {
        "url": "https://www.reddit.com/r/cats/",
      },
      "id": "M00000003",
      "range": "(58..62)",
      "type": "link",
    },
  ],
  "text": "￼Made this mistake. Need help with names.￼ by u/niccia in cats",
}

@bachbui just removed that bit of code, thanks for that

repo: CondeNast/atjson


text:
Cannot create chat group with more than 30 people

Hi @TatankaConCube , I am trying to create the chat group with around 50 peoples. While creating the group, i am getting the error as cannot create group with more than 30 perople.
Below code is used to create the group :
CubeDialog newDialog = CubeDialog(isPublicGroup == true ? CubeDialogType.PUBLIC : CubeDialogType.GROUP,
                name: groupName ?? name, photo: groupPhoto ?? "", occupantsIds: usersList, customData: customData);
            createDialog(newDialog).then((createdDialog) {
              successCallback(createdDialog);
            }).catchError((error) {
              errorCallback(error.toString());
            });

Below are the logs
I/flutter (23920): === REQUEST ==== 65da5ab2-c115-4443-874b-0af7ceba899f ===
I/flutter (23920): REQUEST
I/flutter (23920):   POST https://api.connectycube.com/chat/Dialog
I/flutter (23920): HEADERS
I/flutter (23920):   {Content-type: application/json, ConnectyCube-REST-API-Version: 0.1.1, CB-SDK: Flutter 2.11.2, CB-Token: B9933855FB1812A154D2834C20459B7BA7BC}
I/flutter (23920): BODY
I/flutter (23920):   {"photo":"","name":"Test Referthree , +49","type":2,"occupants_ids":[11355885,11449519,11358785,11365122,11451512,11404483,11426610,11432223,11489201,11449022,11510904,11435184,11385333,11432215,11365408,11376103,11455632,11428633,11362116,11373696,11452398,11428630,11353256,11428682,11423448,11286112,11458970,11362825,11286336,11356382,11295515,11285804,11285802,11404465,11396900,11356411,11506254,11314292,11356428,11509526,11355984,11362473,11435345,11435639,11432292,11497585,0,11428638,11432289,11435969,11408094]}
I/flutter (23920):
I/flutter (23920): CB-SDK: : *********************************************************
I/flutter (23920): *** RESPONSE *** 403 *** 65da5ab2-c115-4443-874b-0af7ceba899f ***
I/flutter (23920): HEADERS
I/flutter (23920):   {connection: keep-alive, content-type: application/json; charset=utf-8, date: Mon, 08 Jan 2024 07:10:02 GMT, strict-transport-security: max-age=15768000; includeSubDomains, server: nginx/1.25.0, content-length: 62}
I/flutter (23920): BODY
I/flutter (23920):   {"errors":{"base":["Max possible occupants_ids limit is 30"]}}
I/flutter (23920):
I/flutter (23920): CB-SDK: : createDialogForUser error ResponseException: 403: {"errors":{"base":["Max possible occupants_ids limit is 30"]}}
Can you please help?

@TatankaConCube we are using the "Hobby" plan for our project

@TatankaConCube any update for me?

@divya-BV sorry for the delay, I asked our sales team and they answered that the server has some internal limits not provided on the Pricing page, they promised to update the page to add all limits there. For now these limits are the next:
Free   Hobby   Advanced        Pro
Number of occupants per group chat	10	   30	          50	              100
Number of occupants per public chat	20	   50	         100	              200

no activity for a long time, closing.


text:
Added examples.

Example pods.
Helper scripts.
Basic instructions.

cc @nqn

LGTM

authors: ConnorDoyle nqn

repo: ConnorDoyle/kubernetes


text:
Update Interacting.md

I follow the tutorial and I found in case of 3-nodes-quickstart example the private contract file has a different name.

Pull Request Description
Fixed Issue(s)

Could you help me to verify this PR and point the place where you found this file named with an underscore please?

theo is correct, it changed from a hyphen to an underscore a while back and I guess the docs are out of sync: https://github.com/ConsenSys/quorum-wizard/blob/master/src/generators/scripts/privateContract.js#L4

authors: NicolasMassart bmcd theofilis


text:
perf: avoid commiting to table and queries in log-derivative argument

Description
In the log-derivative argument check F \in T the prover provides the histogram of the occurrences M of the elements F in T. We then check \sum_i m_i/(X - t_i) == \sum_j 1/(X - f_j).
Previously we always committed to F, T, M to obtain the random challenge r which we used for checking the equality. But as the left-hand side is always known and the equality doesn't hold for invalid M except for negligible probability, then we can avoid committing to F and T.
However, when the table entries and queries are vectors, then we need to challenge the random coefficients for the random linear combination, so we still commit to the queries then.
Doesn't affect Groth16 as there we compute the commitment as a Pedersen vector commitment. But for PLONK as we need to align the committed values to the commitment column and it saves the number of constraints significantly. Depending on the circuit it may be 10-15%.
How has this been benchmarked?
See the updated stats
Checklist:

[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] I did not modify files generated from templates
[x] golangci-lint does not output errors locally
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Not applicable

repo: Consensys/gnark


text:
Missing key_ops value

Describe the bug
The .well-known/openid-configuration/jwks endpoint should return a mandatory property key_ops.
This is specified in here
To Reproduce

Go the the ACCC jwks endpoint https://api.cdr.gov.au/idp/.well-known/openid-configuration/jwks
Examine the returned structure

Expected behaviour
Return the key_ops property
Additional context
Add any other context about the problem here.

Thank you for getting in touch with us to raise this issue.
We have been unable to replicate the documented scenario following the provided steps. Please reach out again if you get a repeat of this issue.

authors: CDR-AndrewG tom-schier

repo: ConsumerDataRight/mock-register


text:
RMS curvature values missing for line scans

Line scans do not have an RMS curvature value in the roughness parameters table.

This is a duplicate of #660.

authors: mcrot pastewka

repo: ContactEngineering/TopoBank


text:
feat(jar_balance) add copy address button

Summary
fixes #27
Description
1- added a button icon that will copy the owner address which is the same as target address.
2- A toast to display that the address is copied
ScreenShot

closed to rename the branch to fix instead of feat because the issue is open as bug

repo: Cookie-Jar-DAO/simple-cookie-minter


text:
Game hangs when showing tooltip of building with amortization calculation is on

Enable option "Buildings tooltip amortization information is ON"
Hover on building
Game hangs
Using any browser
CM version 2.031.10

Duplicate issue

Thanks for the quick report anyway :)

repo: CookieMonsterTeam/CookieMonster


text:
Crashes once I make changes in the settings

Running on Windows 10 with the latest patch, when I go to settings to change anything it will crash to desktop.

Can also confirm on Win 8.1 from a fresh retail install.

Can confirm this still an issue, with latest patch

Fred92-max I got the same problem - when i go to settings and try change anything it will crash to desktop. I get European Version (MULTi5).

repo: CookiePLMonster/SilentPatchGF


text:
⚠ Samsung has degraded performance

In fab004e, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2769 ms

Resolved: Samsung performance has improved in 2ad1722.

repo: CoopPlayzz/Webstatus-electronicbrands


text:
⚠ Samsung has degraded performance

In 7279d65, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 1990 ms

Resolved: Samsung performance has improved in 8b2c02a.


text:
⚠ Samsung has degraded performance

In e318f00, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2699 ms

Resolved: Samsung performance has improved in 5b72117.


text:
⚠ Fortnite has degraded performance

In 38d07c8, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1654 ms

Resolved: Fortnite performance has improved in 26c6cdd.

repo: CoopPlayzz/Webstatus-games


text:
⚠ Minecraft has degraded performance

In f1d3b64, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1133 ms

Resolved: Minecraft performance has improved in 666a0a5.


text:
⚠ Fortnite has degraded performance

In a0dc807, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1422 ms

Resolved: Fortnite performance has improved in 7417492.


text:
⚠ NCAA has degraded performance

In 600cae0, NCAA (https://www.ncaa.com) experienced degraded performance:

HTTP code: 200
Response time: 1291 ms

Resolved: NCAA performance has improved in 1ebea4f.

repo: CoopPlayzz/Webstatus-sports


text:
Plugin Loading System via LLVM integration

It is possible to create a cross-platform dynamic library using LLVM that can be imported by Rust on various systems. LLVM, a collection of modular and reusable compiler and toolchain technologies, generates an intermediate representation (IR) code that provides a certain level of abstraction from the platform. Rust has the capability to link against these dynamically generated libraries.
However, creating such a library involves dealing with some complexities:

Cross-platform development requires handling specific aspects tailored to different platforms in your codebase while maintaining general compatibility across all target platforms.

Addressing ABI (Application Binary Interface) compatibility issues between languages when linking together compiled components may require extra consideration during implementation stages.

Configuring build scripts are essential for ensuring correct compilation results, and it'd be frustrating with a lot of boilerplate for every plugin made.

I've pinned this, as some form of dynamic plugin system (as in, dynamically loaded, not dynamically typed) is important to SmartGPT in the future, and this proposes one way to do it. I've renamed the issue, though, to highlight that focus.

authors: Cormanz orvitpng

repo: Cormanz/smartgpt


text:
Now using math.isclose() for floats

Please confirm.

Need to update documentation to reflect this change.

Now updated with doc changes.

repo: Cormen-Lib-Developers/Cormen-Lib


text:
add deblender options

It would be nice to be able to choose deblenders other than sextractor, maybe the SDSS deblender and scarlet, or ubersegmentation, for example.  Something like a new module that deals with blended objects where you can choose the deblender would be useful.  It might also be useful to lay out what kind of tests on blended objects we would like to see in the validation code while planning the structure of the new deblending module.

That would be great. Ideally with an option to switch between different deblenders for comparison. Which we could run on CFIS images with HST high-res galaxies as "truth".
There is also the Farrens et al. method, which we were planning to implement.

authors: lbaumo martinkilbinger

repo: CosmoStat/shapepipe


text:
refresh

Subject: refresh
Description:
refresh
Results:
Backend version: develop-7c33e18d
Frontend version:
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Page: https://couchers.org/profile/edit/about
User: doruk (20006)

?

authors: CouchersBot aapeliv

repo: Couchers-org/couchers


text:
Add GH Action to ensure prettier as a presubmit job

For every PR/push made to the main branch, we should run a presubmit job to ensure that files are properly formatted with prettier. This is in addition to pre-commit hook work carried out in #77 as pre-commit hooks heavily relies on developer setup which we can't ensure is identical for all contributors.
This PR also contains commits that prettifies existing files to ensure we're starting from a good state.

@rquitales it would be hard to merge just at the right time without merge conflicts. Can you please only include the GH actions?
We will have a failing GH action, but it's ok.
Then we atomically find a good time to prettify the whole codebase when everyone is asleep or something

@noway Have updated the PR. Will let you merge once all files have been prettified.

authors: noway rquitales

repo: CovidEngine/vaxxnz


text:
Update CXX_STANDARD to 17 for doc

Signed-off-by: The MathWorks, Inc. alchrist@mathworks.com

Codecov Report

Merging #705 (c699bbc) into development (e9b190f) will decrease coverage by 5.64%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           development     #705      +/-   ##
===============================================
- Coverage        90.45%   84.80%   -5.65%
===============================================
  Files              248      106     -142
  Lines            13628     4733    -8895
===============================================
- Hits             12327     4014    -8313
+ Misses            1301      719     -582

Impacted Files
Coverage Δ

framework/src/service/ServiceListeners.h
0.00% <0.00%> (-100.00%)
:arrow_down:

util/include/cppmicroservices/util/BundleObjFile.h
0.00% <0.00%> (-100.00%)
:arrow_down:

util/include/cppmicroservices/util/DataContainer.h
0.00% <0.00%> (-100.00%)
:arrow_down:

...mework/include/cppmicroservices/GetBundleContext.h
0.00% <0.00%> (-100.00%)
:arrow_down:

...ework/include/cppmicroservices/detail/ScopeGuard.h
0.00% <0.00%> (-100.00%)
:arrow_down:

...include/cppmicroservices/detail/TrackedService.tpp
14.70% <0.00%> (-73.63%)
:arrow_down:

.../cppmicroservices/detail/BundleAbstractTracked.tpp
16.12% <0.00%> (-71.46%)
:arrow_down:

framework/include/cppmicroservices/Any.h
37.14% <0.00%> (-56.32%)
:arrow_down:

...include/cppmicroservices/detail/ServiceTracker.tpp
29.62% <0.00%> (-56.09%)
:arrow_down:

util/src/BundleObjFile.cpp
71.42% <0.00%> (-28.58%)
:arrow_down:

... and 223 more

authors: achristoforides codecov-commenter

repo: CppMicroServices/CppMicroServices


text:
I#40 documentation convertion to reStructuredText

Fixes #40

[x] Does not depend on other PRs
[ ] Depends on other PR being merged first: #

What kind of change does this PR introduce (check at least one)

[ ] Bugfix
[x] Improvement
[ ] New feature
[ ] Refactor
[ ] Infrastructure
[ ] Other (please specify)

How would you describe the changes in a changelog (1-2 lines)?
Convert docs from Markdown to reStructuredText
Docs deployment pipeline update to support  reStructuredText
How to test

[ ] Needs regression testing (add QA needed label)
[x] After merging check the documentation site manually

Checklist

[x] I have tested these changes locally and they function as expected.
[x] I have added or updated necessary documentation to reflect the changes.
[x] I have followed the project's coding style and guidelines.
[ ] I have added appropriate test coverage to ensure the changes are functioning correctly.
[x] I have checked for any potential conflicts with other branches or pull requests.
[ ] I have updated necessary OpenAPI specs

Reviewer Request (optional)
Please check grammatical mistakes and missing docs that need to be converted to reST
Screenshots (optional)
N/A
Demo Link (optional)
Demo created from another branch other than master
https://craftsmenltd.github.io/BloodConnect/
Known Issues (optional)
N/A
Additional Notes (optional)
N/A
Deploy risk & follow up

[x] No risk
[ ] Low
[ ] High

I can try to understand this Branch.

I can try to understand this Branch.

Yes, please share comments if you have

Looks good. But I feel the whole docs build and deployment section has become too cumbersome. A lot is going on, with make files, bat file, conf.py, dot file (no idea why that would be necessary, maybe something to do with the build process of the tool used to convert restructured to html) to patch up image from a local folder (?). I am sure everything done has been carefully evaluated and implemented. And the documentation site looks richer now. A bit concerned about having introduced too much complexity in the process. If you feel that this is a worthy tradeoff please comment, we can get it approved and merged. A small comment added. Please keep that into consideration as well, of course if you agree :)

docs/Makefile, bat and conf.py files are the part of sphinx. Among them docs/Makefile and bat are same, just they are used by Unix like system and Windows system respectively. conf.py is the config of sphinx.
About project level Makefile, today or tomorrow we will need. And the code of that file only contains how to test docs locally. It is not too necessary but nice to have. Docker is being used here to avoid installation of python and the orther libs that are necessary for sphinx to local environment.
So there is only one thing left, how the windows users will test building docs locally. Currently Makefile contains only docker command, so it should work on windows. But how about make command. There are few windows specific solution for that. Do we want to add a "Howto windows section"?

Do we want to add a "Howto windows section"?

if necessary, of course we can add that. if not necessary now, and may be needed later, we can keep that ticket in the backlog until that is necessary.
About all the files involved in the process, from maintenance perspective, if they are a one time thing and will not need any change is future, then no issues. But if they need extending in future, it may be a good idea to reconsider the tradeoff here. And having completed this workflow, you are the right person to assess that. After all, this obviously has made the doc site richer than it was, so it clearly has a value.
How would you like to proceed?

Do we want to add a "Howto windows section"?

if necessary, of course we can add that. if not necessary now, and may be needed later, we can keep that ticket in the backlog until that is necessary.

Not necessary right now but I kept the file so that in future we can test/fix it for windows and add necessary information in a doc

About all the files involved in the process, from maintenance perspective, if they are a one time thing and will not need any change is future, then no issues. But if they need extending in future, it may be a good idea to reconsider the tradeoff here. And having completed this workflow, you are the right person to assess that. After all, this obviously has made the doc site richer than it was, so it clearly has a value.

They are one time. But need to be changed if the theme need to be updated, adding extension etc.

authors: melon-ruet shuaibq3 tohidrupok

repo: CraftsmenLtd/BloodConnect


text:
Add Cervus as an OperatingSystem

This pull request adds Cervus to the OperatingSystem enum.

Is this for Cervus' own code, or for applications running on Cervus?
For its own code, it looks like Cervus is running on Linux, so would it make sense to use the existing Linux ABI?
For applications, it looks like Cervus is implementing CommonWA. Would it make sense to add a CommonWA OS instead?

Ok, I'd like to understand the relationship between Cervus and Linux better, so make sure we support it properly in target-lexicon and related tools.
In a target triple, the Operating System is typically used to control calling conventions, relocation schemes, libgcc/compiler-rt/etc. availability, and so on, rather than the actual syscall set. On Operating Systems where there are multiple API environments in popular use, including Linux, there are multiple Environments in popular use: gnu, and musl, for example. Would it be accurate to describe Cervus as an Environment rather than an Operating System?
Another option is to just use unknown for the Environment, as x86_64-unknown-linux-unknown. Unless the compiler specifically needs to know something about Cervus, that would be a simple option.

Closing this due to inactivity; if there's interest, feel free to reopen!

authors: losfair sunfishcode

repo: CraneStation/target-lexicon


text:
BOS API spec fixes & one small BOS code fix

CSM 1.3 backport of https://github.com/Cray-HPE/csm/pull/2215

We are not planning for new NCN images in CSM 1.3.4 or 1.4.1. If this is really important, we could consider updating it with csm-config plays on the system.

authors: denniswalker mharding-hpe

repo: Cray-HPE/csm


text:
[Feature Request]

Cmi hologram support?

Sure

The suggestion is not declined, Moved to a tracking board which will be added to the README.

authors: RyderBelserion Skizzles

repo: Crazy-Crew/Crazy-Crates


text:
🛑 sneak.page is down

In a938c32, sneak.page (https://sneak.page) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sneak.page is back up in 8cff2d6 after 21 minutes.

repo: Crazy-Marvin/upptime


text:
🛑 sneak.page is down

In c68df11, sneak.page (https://sneak.page) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sneak.page is back up in aaed1b1 after 8 minutes.


text:
🛑 sneak.page is down

In b2a6d3d, sneak.page (https://sneak.page) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sneak.page is back up in 9083391 after 11 minutes.


text:
Soulbound enchantment + "Minecraft Graves. Die classy." mod

As the title might let you suggest the soulbound enchantment doesn't work when this mod is installed, the items get picked up by the graves first.
Hope this can be fixed

It probably can't be fixed. I'd just disable the enchantment.

repo: CrazyPants/EnderIO

license: Unlicense


text:
Bug: When a Survivor Updates their Case, wwwtsp is improperly updated

When a survivor updates a work_type on their own case (e.g. by changing the status to closed_done-by-others), the wwwtsp table should invalidate the existing row (where work_type_claimed_by is NULL), create a new row setting work_type_claimed_by = 89, and updating the status_key.
This happens almost correctly, except that the existing work_type_claimed_by appears to be updated to 89 PRIOR to invalidating the row and making a copy, meaning that in the record (and reports), Admin had always claimed that case.
See the following screenshot from the query below. Every "x" is a place that should be null.

SELECT worksite_id, incident_id, work_type_key, work_type_created_by, work_type_claimed_by, status_key, status_created_by, created_at, invalidated_at
FROM worksite_worksites_work_types_statuses_phases
WHERE worksite_id IN(
	SELECT DISTINCT(worksite_id)
	FROM worksite_worksites_work_types_statuses_phases
	WHERE work_type_claimed_by = 89
)
AND worksite_id IN(
	SELECT DISTINCT(worksite_id)
	FROM worksite_worksites_work_types_statuses_phases
	WHERE status_key = 'closed_done-by-others'
	OR status_key = 'closed_no-help-wanted'
)
AND incident_id = 259
ORDER BY worksite_id, work_type_key, created_at DESC;

Still not quite correct. See the following query on staging:
SELECT id, worksite_id, incident_id, work_type_key, work_type_created_by, work_type_claimed_by, status_key, status_created_by, created_at, invalidated_at
FROM worksite_worksites_work_types_statuses_phases
WHERE worksite_id = 252865
ORDER BY worksite_id, work_type_key, created_at DESC;

Line 1509666 started out with work_type_claimed_by = null. Then I claimed debris. Instead of invalidating that line and creating a new line, it just updated the current line and set work_type_claimed_by = 89, which makes it look like the case was saved and claimed at the same time. However, that obviously can't be true because user 30763 is not a member of organization 89.

SELECT * FROM temp_housekeeping
WHERE error_id = 'create_duplicate_wwwtsp_that_was_accidentally_updated'
ORDER BY created_at DESC;

This error is still occurring as of 2023-05-03 17:11:20.856389+00.


text:
Force flag?

grunt-contrib-qunit has a "force:true" option that doesn't fail the task if your tests fail. Is there such a thing in this module, and if not, can there be? When gathering coverage metrics I usually want to go on and see what coverage was obtained even while the test fails, as it can help in debugging. For the time being I can use grunt's --force flag, but I'd like to still fail if other tasks fail if possible.

Hi @yamikuronue I can check this next week, if you ping a comment here - it'd nice

force option is Implemented in 0.4.0

Oh, thank you! Sorry I forgot to ping you :)

authors: evil-shrike yamikuronue

repo: CrocInc/grunt-croc-qunit


text:
Podpora jiných burz / Support of other exchanges

Projekt se mi líbí, ale spousta lidí má účty na jiných burzách - bylo by možné přidat podporu i pro další burzy (za mě Huobi)
Díky
I like the project, but a lot of people have accounts on other exchanges - it would be possible to add support for other exchanges (Huobi for me)
Thanks

Zdravím, díky za feedback.
Určitě rozšíření na další burzy je následný krok, který plánujeme v nejbližších týdnech. Budeme Vás o tom zde informovat.
Díky.
Hi, thanks for the feedback.
Expanding to other exchanges is a follow-up step we are planning in the coming weeks. We will keep you posted here.
Thanks.

Hello,
we've expanded our exchange support to include Binance, Kraken and FTX.
More exchanges will follow soon.
Regards,
Team Crynners

Zdravím,
v neděli jsem zkusil nainstalovat AccBot - první instalace skončila s
chybou, pak jsem si uvěmomil, že jsem asi měl odstranit konfigurační soubor
pro Coinmate - pokud chci používat Huobi a druhá instalace skončila úspěšně
"v zeleném", jak je v návodu.
Nicméně robot zatím neprovedl žádný nákup - kdy má být realizován první
nákup, pokud je výsledek instalace:
"The AccBot bot is already deployed and should now start buying BTC at 14.
minute every 48. hour."

od kdy se počítá doba 48 hodin a 14. minuta?

Přikládám log obou instalací.
Díky
Karel
st 25. 8. 2021 v 22:14 odesílatel Crynners @.***>
napsal:

Zdravíme,
podpora Huobi byla právě v dnešním release přidána. Změnila se díky tomu
trošku struktura konfiguračních souborů, kde jsme oddělili nastavení
společné od nastavení týkající se konkrétní burzy. Zároveň i samotné
konfigurační soubory jsou oddělené od instalačního skriptu v samostatných
souborech.
Každopádně nákup jako takový jsme na Huobi zatím bohužel neměli jak
otestovat, mohli bychom vás poprosit o ověření? Napojení na burzu jako
takovou jsme si otestovali, to by funkční být 100 % mělo.
Kdyby byl nějaký problém, dejte prosím vědět.
S pozdravem,
Tým Crynners
Hello,
Huobi support has just been added in today's release. This has changed the
structure of the configuration files a bit, where we have separated common
settings from exchange-specific settings. At the same time, the
configuration files themselves are also separated from the installation
script in separate files.
Anyway, we haven't tested the purchase on Huobi yet, could we ask you to
test it? We have tested the connection to the exchange as such, that should
be 100% functional.
If there is any problem, please let us know.
Regards,
Team Crynners
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Crynners/AccBot/issues/3#issuecomment-905842225, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APQSG4JL4UD573JZSIRF2L3T6VFLLANCNFSM5CS7IELA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

https://github.com/Crynners/AccBot
=========== První instalace =================
PS G:\AccBot_Installation> powershell.exe -executionpolicy bypass -file .\install_script.ps1
Login to Azure was successful. Please wait, installation will take several minutes...
[Step 1 / 9] Resource group -> Starting ...
WARNING: Resource group 'AccBot' already exists. This step will be skipped.
[Step 1 / 9] Resource group -> DONE
[Step 2 / 9] CosmosDB Account -> Starting ...
[Step 2 / 9] CosmosDB account -> DONE
[Step 3 / 9] CosmosDB DB -> Starting ...
[Step 3 / 9] CosmosDB DB -> DONE
[Step 4 / 9] CosmosDB DB Container -> Starting ...
[Step 4 / 9] CosmosDB DB Container -> DONE
[Step 5 / 9] Storage account -> Starting...
[Step 5 / 9] Storage account -> DONE
[Step 6 / 9] App insights -> Starting...
[Step 6 / 9] App insights -> DONE
[Step 7 / 9] Function app -> Starting...
[Step 7 / 9] Function app -> DONE
[Step 8 / 9] Function app settings uploading -> Starting...
[Step 8 / 9] Function app settings uploading -> DONE
[Step 9 / 9] Function app deployment -> Starting...
ERROR: The command failed with an unexpected error. Here is the traceback:
ERROR: HTTPSConnectionPool(host='accbotfunction-404546e3-19e6-4741-928d-112e1.scm.azurewebsites.net', port=443): Read timed out. (read timeout=3)
Traceback (most recent call last):
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 445, in _make_request
File "", line 3, in raise_from
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 440, in _make_request
File "http\client.py", line 1344, in getresponse
File "http\client.py", line 307, in begin
File "http\client.py", line 268, in _read_status
File "socket.py", line 669, in readinto
File "ssl.py", line 1241, in recv_into
File "ssl.py", line 1099, in read
socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/adapters.py", line 439, in send
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 755, in urlopen
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/util/retry.py", line 532, in increment
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/packages/six.py", line 770, in reraise
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 699, in urlopen
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 447, in _make_request
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 336, in _raise_timeout
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='accbotfunction-404546e3-19e6-4741-928d-112e1.scm.azurewebsites.net', port=443): Read timed out. (read timeout=3)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 657, in execute
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 720, in _run_jobs_serially
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 691, in _run_job
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 328, in call
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 396, in enable_zip_deploy_functionapp
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 526, in remove_remote_build_app_settings
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 987, in validate_app_settings_in_scm
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/utils.py", line 75, in call
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/utils.py", line 71, in call
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 1016, in _get_app_settings_from_scm
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/api.py", line 76, in get
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/api.py", line 61, in request
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/sessions.py", line 542, in request
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/sessions.py", line 655, in send
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/adapters.py", line 529, in send
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='accbotfunction-404546e3-19e6-4741-928d-112e1.scm.azurewebsites.net', port=443): Read timed out. (read timeout=3)
To open an issue, please run: 'az feedback'
G:\AccBot_Installation\install_script.ps1 : ERROR: Azure function deployment failed.
+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,install_script.ps1
Press Enter to continue...:
=========== Druhá instalace po odstranění konf. souboru pro Coinmate =================
powershell.exe -executionpolicy bypass -file .\install_script.ps1
Login to Azure was successful. Please wait, installation will take several minutes...
[Step 1 / 9] Resource group -> Starting ...
WARNING: Resource group 'AccBot' already exists. This step will be skipped.
[Step 1 / 9] Resource group -> DONE
[Step 2 / 9] CosmosDB Account -> Starting ...
WARNING: CosmosDB account 'accbotcosmosdbaccount-a9b8c6e9-e6f3-402b-93f' already exists. This step will be skipped.
[Step 2 / 9] CosmosDB account -> DONE
[Step 3 / 9] CosmosDB DB -> Starting ...
[Step 3 / 9] CosmosDB DB -> DONE
[Step 4 / 9] CosmosDB DB Container -> Starting ...
[Step 4 / 9] CosmosDB DB Container -> DONE
[Step 5 / 9] Storage account -> Starting...
WARNING: Storage account 'accbotsa576010845' already exists. This step will be skipped.
[Step 5 / 9] Storage account -> DONE
[Step 6 / 9] App insights -> Starting...
[Step 6 / 9] App insights -> DONE
[Step 7 / 9] Function app -> Starting...
WARNING: Azure functionapp 'accbotfunction-404546e3-19e6-4741-928d-112e1' already exists. This step will be skipped.
[Step 7 / 9] Function app -> DONE
[Step 8 / 9] Function app settings uploading -> Starting...
[Step 8 / 9] Function app settings uploading -> DONE
[Step 9 / 9] Function app deployment -> Starting...
[Step 9 / 9] Function app deployment -> DONE
The following entities were successfully created in Azure:
ResourceGroup: AccBot
CosmosDBAccount: accbotcosmosdbaccount-a9b8c6e9-e6f3-402b-93f
Azure storage: accbotsa576010845
Azure function: accbotfunction-404546e3-19e6-4741-928d-112e1
=> The AccBot bot is already deployed and should now start buying BTC at 14. minute every 48. hour.
Press Enter to continue...:

Zdravím,
díky moc za feedback. Co se týče zmiňovaného erroru, vypadá to na nějaký timeoutu na Azure při deployi bota. Konfigurační soubor pro Coinmate není třeba mazat, v tom by problém být neměl. Asi nejjednodušší řešení, pokud se něco takového stane znovu, zkusit spustit skript znovu. Pokud by problém přetrvával, tak dejte určitě znovu vědět. V dalších release ocheckujeme případ, kdy při deployi dojde k timeoutu a pokusíme se deployovat znovu.
Nicméně, včera jsme publikovali nový release, který by Vám měl pomoci bota zprovoznit a zároveň i nastavit časovač dle požadavku. Opravili jsme totiž jeden bug pro nakupování na Huobi a zároveň do konfiguračního skriptu přidali rozšíření, viz:
# Pokud chcete nakupovat méně než 1x za den, což je i doporučené nastavení (častěji po menších dávkách), vyplňte HourDivider
# HourDivider určuje po kolika hodinách chcete pravidelně nakupovat
# (MOŽNÉ HODNOTY: 1, 2, 3, 4, 6, 8, 12)
$HourDivider='1'

# Pokud chcete nakupovat např. pouze jednou za 2 dny, jednou týdně,
# nebo např. každé úterý a sobotu, vyplňte $NCronTabExpression
# Formát této proměnné je v NCRONTAB,
# viz: https://docs.microsoft.com/cs-cz/azure/azure-functions/functions-bindings-timer?tabs=csharp#ncrontab-expressions
# Příklady:
# "0 0 */2 * * *" -> jednou za dvě hodiny
# "0 30 9 * * 1-5" -> v 9:30 každý pracovní den
# Online generátor NCRONTAB hodnoty: https://ncrontab.swimburger.net/
$NCronTabExpression = ''

Čili ve vašem případě potřebujete nastavit $NCronTabExpression  tak, abyste nakupoval jednou za 2 dny. Výsledný string 0 30 5 */2 * * Vám například zajistí to, že bot bude nakupovat vždy v 5:30 ráno jednou za 2 dny. Výsledek výrazu si můžete testovat např. vůči tomuto online generátoru https://ncrontab.swimburger.net/
Kdyby byl nějaký problém, dejte prosím vědět.
S pozdravem,
Crynners

Napadá mě - je možné robota nastavit na nákup dvou a více párů např. bych
chtěl pravidelně nakupovat BTC/USDT a ETH/USDT?

Zdravím, zatím ne, ale budeme v rámci #7 realizovat. Fungovat to bude tak, že si nasadíte bota pod jedním párem a potom si nasadíte bota pod dalším atd. (takže těch souběžných botů bude možné mít klidně i více).
S pozdravem,
Crynners

repo: Crynners/AccBot


text:
The slab structure bounces and jitters from the point of being placed

Even if I set the friction to 1.0 the slabs slowly slide on each other due to jitter and an impossible physical state. I'm trying to make them a kinetic body instead of a static body. Also start them as ISLAND_DISABLED state and then enable them at the time the ball is added. But so far that doesn't work.

It helps that I start the simulation clock when the ball is placed (that's when the simulation actually have to start). Otherwise a huge amount of time can pass between the tower and the ball placement and that would cause the explosion of the slabs. This also guarantees no jitter and movement until the ball is hurdled. However at the point of the hurdle there's still an initial movement and then jitter.

So there's no explosion any more just a small bounce. The slabs were floating on each other because the simulation engine needs a margin around the convex hulls. The engine uses that to compute normal vectors related to the simulation so it's needed.
https://pybullet.org/Bullet/phpBB3/viewtopic.php?f=9&t=2358&sid=c757996ff8459a33e0a7674d4e71e66e
De default margin is 0.04 which is way too big, we need rather 0.0025. That helps to decrease the visual gap.Sphere won't have problem. I also tried to transparently apply the gap (shrink the slabs a tiny bit) just within the Physics layer and then of the reverse transformation when the engine enforces sets the new positions.
There's still some bump thought so that logic right now is disabled.

Eventually this can be solved by a proper selection of setSleepingThresholds. Maybe we'll also need to remove setActivationState(DISABLE_DEACTIVATION);. We'll see.

repo: CsabaConsulting/ARPhysics


text:
CLOS-OSPF Persistent Configuration

Currently the Cumulus VX guests which are deployed in these demos lose their configuration in the event they are reloaded. This is due to the provisioning programming the kernel and Quagga directly, rather than writing to persistent configuration files.
This branch updates the Ansible provisioning scripts for the CLOS-OSFP demo to write configuration directly to /etc/network/interfaces* and /etc/quagga/Quagga.conf.
One side note is that is does rely on the cl-interfaces Ansible module being installed. We can add that as a step to the VX+Vagrant User Guide until the module is bundled in an Ansible release.

This looks largely good to me; using cl_interfaces is great. We can deal with the addition of the Cumulus Ansible modules using Librarian (I'll email you with details)

@Vanders , having an Ansiblefile appeared to have no effect. Checkout 33597cc and let me know what you think.

+1 for me.  Get a +1 from someone who is more ansible-savvy and then we will merge ! @skamithi @Vanders

authors: LeslieCarr Vanders slaffer-au

repo: CumulusNetworks/cumulus-vx-vagrant


text:
CSS validations on dropdown

Is there a way to add bootstrap validations in Angular 2 multi-select dropdown. Basically is is possible to highlight the dropdown in red if user does not select any values like for a normal input I can use [ngClass]="{'is-invalid': someThing.invalid}".
I saw the template drive form example but it does not give a way to do the above.

I need the same ability, but probably going to end up writing custom CSS to achieve this.


text:
🛑 http://89.117.94.99:58384/ is down

In d5081a4, http://89.117.94.99:58384/ (http://89.117.94.99:58384/) was down:

HTTP code: 401
Response time: 263 ms

Resolved: 网页部作业一（镜像） is back up in 37bbf1c after 33 minutes.

repo: Cutiei/Uptime


text:
gcc pedantically complains about that comma... :)

zstd_static.h:74:38: warning: comma at end of enumerator list [-Wpedantic]

Thanks for notification.
Unfortunately, this warning is a bit difficult to fix, since it would require to change the macro generating enums.
Probably adding a useless element at the end of the list would work. But I don't think it's cleaner than the trailing comma.

Got it. Thanks anyway. I will close this little issue.


text:
"Plain dead" fix for reactors/turbines to NOT work when no one is around

This should fix the reactors & turbines wasting fuel when no players are around them. It works flawlessly for me. I couldn't find any code that actually unloads the chunk (it would certainly be better, but I'm not into MC modding & don't know how to do it), so made it the other way.
Please improve it if you can, in terms of real check whether the chunk is loaded or not, because in current state chunk loaders won't load the reactors. Thanks.

o/ Vadim, I looked at a bit of the code, but it is a bit difficult to read because your IDE changed some of the whitespace. The chunk should automatically unload after some time. Have you tried this on a pure forge multiplayer server before? It is possible that there is an issue with the tileentities.yml file  in Thermos :confused:

Hello @Robotia. I've tried this on plain Forge - same thing. Moreover, my "fix" is total shit, I just realized it now. So now I don't know what to do at all, since I do not know this mod :/

We could probably use the validate() and invalidate() methods from the tile entity but I don't know where the tile entities are accessing the multiblock logic.

Wait, validate() and invalidate() are not implemented? 0.o

It's been a while since I played around with this codebase, but from what I remember
@XFactHD
All multiblock TEs have a reference to a controller (if the machine is assembled) where the actual update logic for the multiblock is. TEs themselves usually report themselves as non-updating, and are puppeteered by the controller.
@Robotia
validate() and invalidate() are implemented in the superclass (MultiblockTileEntityBase), and TEs request attaching to / detaching from the controller at that point.
I would first look around the MultiblockWorldRegistry class. That's where the bulk of the low-level multiblock logic takes place, and it's also the component that triggers the controller updates for assembled multiblocks before the world tick.
It's possible that the controller gets "stuck" in the registry somehow, and doesn't get removed when its tiles get unloaded. It would probably be best to debug through the whole disassembly sequence for a working reactor as the player walks/teleports away from it.

I have to admit that I am not too familiar with how the multiblock logic works. I once tried using BeefCore to create my own multiblock in another mod and I failed 😢.

That was not intended...

:P

authors: Robotia XFactHD octarine-noise vadimyer

repo: CyberdyneCC/BigReactors


text:
Suggestion: Add "X amount of charges left" examine box

hey was right-click checking my slayer staff (e) to check how many charges it has left and then I had to click game stone box. I thought it could improve this plugin if right-click check on items with charges would display a box with "X number of charges left" similar to the examine box that would be nice.
items with charges include, among others:
crystal weaponary
slayer staff (e)
trident of the seas
trident of the swamp
trident of the seas (e)
trident of the swamp (e)
sanguinesti staff
iban's staff
iban's staff (e)
toxic blowpipe
serpentine helm
ring of recoil
ring of suffering
....

This is something I've tried doing before, but ended up scrapping due to multiple difficulties I was facing with it.
The thing with Examines and Patch Inspects is that they have really consistent behaviors. Checking item charges, however, behaves in different ways for each items that have it.
I would have to implement the behavior for every item separately, and I do not own every possible item that can be checked to test this.
Still, I won't close this issue just now, in case I come back to this idea later.

Thanks for you reply. Yeah maybe its easier for a different plugin to add a charges overlay in the equipment tab like they have for bracelet of slaughter and so on.. I'm not sure why they didnt add that yet

It's something that's been attempted before, but the main issue they were having was accurately tracking charge usage, if I recall correctly.

I've ironed out a few issues I had with my previous attempt and it seems to mostly work now, but I'll need to add a definition for every interaction that's compatible with my plugin manually. Any one interested in helping out for this is welcome to post here.


text:
java.lang.IllegalArgumentException: itemView may not be null

java.lang.IllegalArgumentException: itemView may not be null
at androidx.recyclerview.widget.RecyclerView$ViewHolder.(RecyclerView.java:10833)
at com.chad.library.adapter.base.BaseViewHolder.(BaseViewHolder.java:79)
at com.chad.library.adapter.base.BaseQuickAdapter.createBaseViewHolder(BaseQuickAdapter.java:1045)
at com.chad.library.adapter.base.BaseQuickAdapter.onCreateViewHolder(BaseQuickAdapter.java:763)
at com.chad.library.adapter.base.BaseQuickAdapter.onCreateViewHolder(BaseQuickAdapter.java:66)
at androidx.recyclerview.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:6794)
at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:5975)
at androidx.recyclerview.widget.GapWorker.prefetchPositionWithDeadline(GapWorker.java:286)
at androidx.recyclerview.widget.GapWorker.flushTaskWithDeadline(GapWorker.java:343)
at androidx.recyclerview.widget.GapWorker.flushTasksWithDeadline(GapWorker.java:359)
at androidx.recyclerview.widget.GapWorker.prefetch(GapWorker.java:366)
at androidx.recyclerview.widget.GapWorker.run(GapWorker.java:397)
at android.os.Handler.handleCallback(Handler.java:907)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:216)

重写getItemViewType return position,没有header和footer
加载了大量图片,显示了300张左右,再往下滑动崩溃

1 .图片加载是否引用了第三方框架？
2. 如果没有引用，检查一下，图片的管理是否恰当
3.重写getItemViewType return position是否导致指定的position没有对应的itemView

demo.zip
MediaChooseAdapter  72行

建议不要修改getItemViewType,框架内部占用了0x111,0x222,0x333,0x555(修改可能会对其他人有影响,暂不考虑修改)

如果非要用你可以用负数

奇缘,跟框架内部使用了同样的0x111,占坑

建议不要修改getItemViewType,框架内部占用了0x111,0x222,0x333,0x555(修改可能会对其他人有影响,暂不考虑修改)

就是这里0x111的问题，数据太多了0x111=273,导致老是第273条的时候报错，希望作者改大一点

建议不要修改getItemViewType,框架内部占用了0x111,0x222,0x333,0x555(修改可能会对其他人有影响,暂不考虑修改)

就是这里0x111的问题，数据太多了0x111=273,导致老是第273条的时候报错，希望作者改大一点

请问这个问题解决了吗？

建议不要修改getItemViewType,框架内部占用了0x111,0x222,0x333,0x555(修改可能会对其他人有影响,暂不考虑修改)

就是这里0x111的问题，数据太多了0x111=273,导致老是第273条的时候报错，希望作者改大一点

请问这个问题解决了吗？

最后选择重写getItemViewType，虽然这种方式有点欠佳，但是作者不改只能自己修改。
@Override
    public int getItemViewType(int position) {
        int header = getHeaderLayoutCount();
        int footer = getFooterLayoutCount();
        if ((header == 0 && position == HEADER_VIEW) || (footer == 0 && position == FOOTER_VIEW)) {
            return 0;
        }
        if (header > position) {
            return super.getItemViewType(position);
        }
        if (mData.size() > position - header) {
            return position;
        } else {
            return super.getItemViewType(position);
        }
}

repo: CymChad/BaseRecyclerViewAdapterHelper


text:
getItem（）获取数据 编译报错

使用 kotlin 开发
Type mismatch: inferred type is Any? but MainModule?（自定义类名） was expected
代码 如下 ：
class MainModule : BaseData {
var moduleName: String = ""
var iconUrl: String = ""
var isOpen: Boolean = false
constructor(id: Int, moduleName: String, iconUrl: String) {
    this.moduleName = moduleName
    this.iconUrl = iconUrl
    this.id = id

}

constructor(moduleName: String, iconUrl: String, isOpen: Boolean) : super() {
    this.moduleName = moduleName
    this.iconUrl = iconUrl
    this.isOpen = isOpen
}

}
class MainModuleAdapter(list: MutableList) :
BaseQuickAdapter<MainModule, BaseViewHolder>(R.layout.item_main_module,list){
//    constructor(list: MutableList<MainModule?>) : this() {
//
//    }
override fun convert(helper: BaseViewHolder, item: MainModule?) {
    helper.getView<TextView>(R.id.module_name).setText(item?.moduleName)
    //helper.getView<ImageView>(R.id.module_icon).loadImage(item?.iconUrl)
   // if (!item?.isOpen!!) ToastUtil.showErrorToast(context, "在未开放${item?.moduleName}功能")

}

}
var mainModules: ArrayList = ArrayList()
moduleAdapter.setOnItemClickListener { adapter, view, position ->
val module:MainModule? = adapter.getItem(position)
when(module?.moduleName){
        }

    }

直接在  val module:MainModule? = mainModules.get(position)  取数据 没有问题  调用
val module:MainModule? = adapter.getItem(position) 报 Type mismatch: inferred type is Any? but MainModule? was expected  泛型也写了

adapter  是 BaseQuickAdapter<*, *>类型，需要强转类型


text:
请问对数据的懒加载如何处理

举个典型的栗子，一开始要网络请求加载数据，然后在显示。
你的Adapter一开始就要指定data，虽然有add的方法，但是似乎不是很方便，而且容易报OutOfIndexException。
我看你的关于刷新加载更多的源码（PullToRefreshUseActivity），是每次重新实例个Adapter，重新设置给RecyclerView，这样做是不是高效？
请指教。

恩，好的，感谢提出的问题，今天内给你答复。

感谢提出来的问题，今天内给你答复。

你好，你说的这个重新实例个Adapter与clear()哪个更好，我认为应该视情况而定，因为clear()也就是遍历里面元素然后置Null，你重新实例一个也要考虑重新实例对象是比较耗费资源的，当你data集合的size()不是很大时，clear()相信会是个更好的选择，你提出的异常我们会及时查找并修复，希望能提供下异常的报错信息，方便我们及时修复，谢谢你的反馈

你一开始如果无data的话，可以指定为null，后面我们会提供一个不需要制定data的构造方法

IndexOutOfBoundsException：
java.lang.IndexOutOfBoundsException: Invalid index 1, size is 0
at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
at java.util.ArrayList.add(ArrayList.java:147)
at com.chad.library.adapter.base.BaseQuickAdapter.add(BaseQuickAdapter.java:146)
at com.example.ArticlesFragment.addArticle(ArticlesFragment.java:78)

我一开始在初始化Adapter的时候给了null的data，报了这个错，然后给了个size为20的ArrayList，还是抱这个错
private class ArticlesAdapter extends BaseQuickAdapter<Article> {

    public ArticlesAdapter(Context context) {
        super(context, R.layout.article_item, new ArrayList<Article>(20));
        openLoadAnimation();
    }

    @Override
    protected void convert(BaseViewHolder helper, Article article) {
        helper.setText(R.id.article_title, article.getTitle());
    }
}

我是对数据进行逐一添加的：
@Override
public void addArticle(int position, Article article) {
    // 这个会导致 IndexOutOfBoundsException
    adapter.add(position, article);

    // 我目前是这样解决的:
    adapter.getData().add(article);
    adapter.notifyItemInserted(position);
}

哦，抱歉，犯了个低级错误，IndexOutOfBoundsException是我ArrayList使用不当...:flushed::flushed::flushed:

已修复，新增了API，

authors: CymChad githubzaibao tsunamilx


text:
🛑 Servicio de impuestos interno is down

In 32be7af, Servicio de impuestos interno (https://homer.sii.cl) was down:

HTTP code: 403
Response time: 597 ms

Resolved: Servicio de impuestos interno is back up in 5167c7f.

repo: CymaSuite/upptime


text:
Install R3 with git url causes compile errors

Unity 2021.3.11f1
R3 1.1.12
Is it missing some dependencies?

You need to install NuGet and then install R3
https://github.com/Cysharp/R3?tab=readme-ov-file#unity


text:
fix Issue 14782 - Internal error: backend/cod1.c

https://issues.dlang.org/show_bug.cgi?id=14782

Auto-merge toggled on

authors: WalterBright andralex

repo: D-Programming-Language/dmd


text:
第四天

第四天作业

猛了，这么晚了早些休息了

repo: DBING/BigLionClassWork


text:
Docker build fatal error mkdir: cannot create directory ‘/var/www/MISP' , could not create leading directories of '/var/www/MISP': Permission denied

I have used podman-compose build  on RHEL 8  and docker compose on centos 7.9 and both gives the following error:
mkdir: cannot create directory ‘/var/www/MISP’: No such file or directory
chown: cannot access '/var/www/MISP': No such file or directory
fatal: could not create leading directories of '/var/www/MISP': Permission denied

Hi,
if you get no other reply I can suggest you to use https://github.com/NUKIB/misp instead of misp-dockerized.
it is more up to date.

repo: DCSO/MISP-dockerized


text:
Update interview needs to use smart quotes

Context
In https://github.com/DFE-Digital/apply-for-postgraduate-teacher-training/pull/1592, we updated the content for interview needs but didn't use smart quotes for some bits.
Changes proposed in this pull request
This PR updates the content to use smart quotes.
Guidance to review
👀 Have I missed anywhere else?
Link to Trello card
https://trello.com/c/zcFLtedQ/1138-dev-update-content-for-interview-needs
Things to check

[x] This code doesn't rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] New environment variables have been added to the Azure config

Superseded by https://github.com/DFE-Digital/apply-for-postgraduate-teacher-training/pull/1605.


text:
Validate science GCSE

Context
Show validation messages and a link to the Science GCSE page if the candidate has not completed this section and is applying for a course that requires it (primary).
Changes proposed in this pull request
Guidance to review
There are a lot of scenarios to test. I've tried quite a few and it seemed to be working fine. Bear in mind that because we currently don't allow editing of sections once the form has been submitted, once you apply for a secondary course, you can't apply for a primary because you get redirected when trying to access the Science GCSE or equivalent page.
Example scenarios:

Candidate fills out ‘Your details’ then goes to add an application, they choose a Primary course - we can’t let them submit until they add their science GCSE

Candidate applies to a secondary course, submit that, then adds an application and chooses a primary course - we can’t let them submit until they add their science GCSEs

Candidate adds applications first, if they select a primary course, we show the science GCSE in ‘Your details’

 Apply: Collecting science GCSE after if a candidate applies for a secondary course and then a primary course.

I've also tested. It appears to work as intended, except for the redirect that you and Maeve have called out.

@tomas-stefano @JR-G I have pushed some updates in 2ee986f1bc1e8e59a46417c722ca2d1344cf44c9 Let me know your thoughts. I'll squash the commit, but it might be easier to see the differences this way. The refactor is based on your feedback @tomas-stefano. Not perfect but a bit tidier IMO.

On the course submission page I just clicked the link and then tried to go through the add a science gcse flow and I hit a 500 😢

https://apply-review-8526.test.teacherservices.cloud/candidate/application/gcse/science/grade

authors: JR-G MylesJarvis vassyz

repo: DFE-Digital/apply-for-teacher-training


text:
fix: Mattb/set cosign installer version v3.2.0

Put whitespace into the README to trigger a build

:tada: This PR is included in version 2.0.0-next.54 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

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

repo: DFE-Digital/childrens-social-care-cpd


text:
The VSP Entity ID needs https to match the value on the Verify Hub

If the value doesn't match the value on the hub we see a 500 error when making a POST to it.
Also changed the uri_uses_ssl? method to check for default_port instead of port.

 GOV.UK Verify 3. Set up a Verify Service Provider (VSP) on staging


text:
Revert "NTP-1292: Fix Inconsistent Domain Resolution for https://www.find-tuition-partner.service.gov.uk"

Reverts DFE-Digital/find-a-tuition-partner#398

Reverting the changes as we created the DNS zone and associated Front Door custom domain without the Terraform on the production.

repo: DFE-Digital/find-a-tuition-partner


text:
Added infra team group to statuscake

Trello card
https://trello.com/c/Z6eliKhq/1654-review-statuscake-contact-groups
Context
added infra team contact group
Changes proposed in this pull request
added infra team contact group
Guidance to review
make production terraform-plan

 Review StatusCake contact groups

repo: DFE-Digital/get-into-teaching-api


text:
[2519] Draft mcb command for getting accredited courses

Talked to @misaka about filtering to findable here, we'll use
provider.accredited_courses.findable? in usages instead
Method current_accredited_courses is in here because It's going to be
too messy to filter across years, so make that a specific thing instead
of messing with the has_many. We might switch to id based references
at some point and eliminate this method.

Context
Changes proposed in this pull request
Guidance to review
Checklist

[ ] Make sure all information from the Trello card is in here
[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

 Inaccurate data in ad hoc CSV's

Code climate fail - quite correctly.
Going to extend test coverage for csv file output then refactor.

repo: DFE-Digital/manage-courses-backend


text:
[3735] Added Serializable Provider and tests

Context
Serializable Provider for public  v1
Changes proposed in this pull request
Added the required attributes (alphabetically!)
Guidance to review
Based on api docs as set here
Alphabetically was mission criteria :smiling_face_with_three_hearts:
Checklist

[x] Make sure all information from the Trello card is in here
[x] Attach to Trello card
[x] Rebased master
[x] Cleaned commit history
[x] Tested by running locally

 Implement API endpoint - /api/public/v1/recruitment_cycles/:year/providers

repo: DFE-Digital/teacher-training-api


text:
Amended CRM + UI code to allow showing DQT roles for a user

Context
The add and edit user journeys were put together quickly without designs so we could bootstrap an environment. After a review, some improvements were suggested.
Changes proposed in this pull request
Amend the /users/{userId} page to list the DQT roles the user has (if they have an active CRM account).
Amend the warning messages on /users/{userId} shown when user does not have a CRM account or when it’s disabled by appending ‘The user will not be able to access the TRS Console.’
Amend the /users/add/confirm page to show the same CRM roles list and warning messages as the /users/userId page.
Guidance to review
Tweak to CRM query + Changes to UI + tests
Checklist

[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

 TRS user management improvements

repo: DFE-Digital/teaching-record-system


text:
背景与动机
米游社已更新战绩的角色信息，现已经可以查询所有角色的天赋、圣遗物属性。
想要实现或优化的功能
从米游社的战绩获取所有角色的圣遗物属性。

done

authors: Lightczx Youxikong


text:
mets/@csip:OTHERCONTENTTYPESPECIFICATION

Attribute needs to be added so when mets/@csip:CONTENTTYPESPECIFICATION has value "OTHER" the other can be used  and its mandatory to use in that case.

Changes done

authors: karinbredenberg kuldaraas

repo: DILCISBoard/E-ARK-CSIP


text:
Downloading Dataset

We need a way for individuals interested in the dataset to be able to download it. I think it would be a nice idea if we link the Release to the Dataset so that we know how many get downloaded.
I think we should keep the same Release for just adding data. I am not sure how this works but
Travis has some kind of way to deploy releases. We should check that out

Here is a nice article by the okfn on using git and github for data

in the data folder there is now a json file that can easily be downloaded

authors: ahuacatl sabgaby

repo: DIYbiosphere/sphere


text:
svg size can be wrongly calculated due to box-sizing

currently the svg element does not specify box-sizing style, this works fine for the default content-box value, however, with frameworks like bootstrap, its default is set to * { box-sizing: border-box; }, which

makes it so padding does not affect the final computed width of an element

The issue can be solved by enforcing the correct css box-sizing style to the svg element:
.calendar-heatmap {
  box-sizing: initial;
}

See http://getbootstrap.com/getting-started/#third-box-sizing

+1 and a simple change in the css

Good catch, @paradite. I'll fix this and release an update

Fixed in Version 0.4.1 pushed just now

authors: DKirwan TheFive paradite

repo: DKirwan/calendar-heatmap


text:
270 generalize use of analyze result

Changes
Added functionality to interpolate simulation results in form of time series not only at fixed times (days) but at arbitrary time points in between start time and end time of simulation.
Merge Request - GuideLine Checklist
Guideline to check code before resolve WIP and approval, respectively.
As many checkboxes as possible should be ticked.
Checks by code author:

[x] There is at least one issue associated with the pull request.
[x] The branch follows the naming conventions as defined in the git workflow.
[x] New code adheres with the coding guidelines
[x] Tests for new functionality has been added
[x] A local test was succesful
[x] There is appropriate documentation of your work. (use doxygen style comments)
[ ] If new third party software is used, did you pay attention to its license? Please remember to add it to the wiki after successful merging.
[ ] If new mathematical methods or epidemiological terms are used, has the glossary been updated ? Did you provide further documentation ?
is present or referenced. Please provide your references.
[ ] The following questions are addressed in the documentation*:  Developers (what did you do?, how can it be maintained?), For users (how to use your work?), For admins (how to install and configure your work?)
For documentation: Please write or update the Readme in the current working directory!

Checks by code reviewer(s):

[ ] Is the code clean of development artifacts e.g., unnecessary comments, prints, ...
[ ] The ticket goals for each associated issue are reached or problems are clearly addressed (i.e., a new issue was introduced).
[ ] There are appropriate unit tests and they pass.
[ ] The git history is clean and linearized for the merge request.
[ ] Coverage report for new code is acceptable.

closes #270

We should discuss renaming "interpolate_simulation_result_days" into "interpolate_simulation_result" (which then automatically uses the days as interpolation points).

We should discuss renaming "interpolate_simulation_result_days" into "interpolate_simulation_result" (which then automatically uses the days as interpolation points).

In its current implementation i think the names are apropraite. If we have other options,e.g. hours or weeks, this might change.

Codecov Report

Merging #282 (7d29322) into main (caefb1e) will decrease coverage by 0.05%.
The diff coverage is 96.77%.

@@            Coverage Diff             @@
##             main     #282      +/-   ##
==========================================
- Coverage   91.41%   91.36%   -0.06%
==========================================
  Files          79       80       +1
  Lines        4834     4863      +29
==========================================
+ Hits         4419     4443      +24
- Misses        415      420       +5

Impacted Files
Coverage Δ

cpp/models/secir/secir.h
99.31% <ø> (ø)

cpp/models/secir/secir_params.h
73.57% <ø> (ø)

cpp/models/secir/analyze_result.cpp
99.04% <96.15%> (-0.96%)
:arrow_down:

cpp/memilio/math/interpolation.h
100.00% <100.00%> (ø)

cpp/models/secir/analyze_result.h
100.00% <100.00%> (ø)

cpp/memilio/utils/custom_index_array.h
97.76% <0.00%> (-1.40%)
:arrow_down:

cpp/models/abm/world.cpp
79.66% <0.00%> (-1.21%)
:arrow_down:

cpp/models/abm/time.h
100.00% <0.00%> (ø)

cpp/models/abm/world.h
100.00% <0.00%> (ø)

cpp/models/abm/person.h
100.00% <0.00%> (ø)

... and 16 more

Continue to review full report at Codecov.

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

I tried to fix the python bindings which failed due to a change in the function names and parameters with the latest commit. When running the install on the py-simulation, it still shows an error with the interpolate_ensemble_results function, which was not changed in this branch. An install on the current main branch works just fine, so I assume it is related to something we changed, but I cannot figure out what. @dabele  Since I am not familiar with the C++ code regarding the python bindings, could you have a quick look?

I can see you mixed up include paths. #include "models/secir/<xyz>.h". The correct path (the one set by the cmake config) would be "secir/<xyz>.h". Try fixing that, I can take a closer look if it doesn't help.

I reverted all changes regarding the include paths. This had no effects on my build.

please also don't forget clang format, line length makes the code hard to read

@xsaschako Could you maybe format the files? I didn't manage to get clang-format to work on my Mac.

If you can't get it to work in the future, for consistent readability stick to line length, indentation and braces as they are in the rest of the code, the rest isn't that important. that wouldn't be too much work manually and probably can be automated in your editor of choice.

please also don't forget clang format, line length makes the code hard to read

@xsaschako Could you maybe format the files? I didn't manage to get clang-format to work on my Mac.

authors: DavidKerkmann codecov-commenter dabele xsaschako

repo: DLR-SC/memilio


text:
ActiveModel::MassAssignmentSecurity::Error: Can't mass-assign protected attributes for Template: migrated, dmptemplate_id

Expected behaviour:
When running rake db:seed, should seed the database without error.
Actual behaviour:
Running rake db:seed RAILS_ENV=development gives
rake aborted!
ActiveModel::MassAssignmentSecurity::Error: Can't mass-assign protected attributes for Template: migrated, dmptemplate_id

Steps to reproduce:
Follow the instruction on https://github.com/DMPRoadmap/roadmap

rake db:seed RAILS_ENV=development works after I remove the following lines from seeds.rb:

migrated: false,
dmptemplate_id: 1,
migrated: false,
dmptemplate_id: 2,
migrated: false,
dmptemplate_id: 3,
because from the code (db/migrate folder and schema.rb file) I don't see such columns been created. But I'm not sure why this happen.

thanks for reporting this issue @Yu-Chieh-Henry-Yang. From version 1.1.0 the template model is as follows:
Template(id: integer, title: string, description: text, published: boolean, org_id: integer, locale: string, is_default: boolean, created_at: datetime, updated_at: datetime, version: integer, visibility: integer, customization_of: integer, family_id: integer, archived: boolean, links: text)`

and therefore I suspect that's the reason the seeds raises that Exception. Thanks again for providing as how did you fix it. We will have to remove old attributes from db/seeds.rb

When we look into this ticket. I propose that we drop the seeds.rb entirely and just create a rake task to add only the data necessary (e.g. language, question formats, etc.). That would require an update of the test_helper.rb as well though

Cool, thanks for the replies @jollopre @briri

authors: Yu-Chieh-Henry-Yang briri jollopre

repo: DMPRoadmap/roadmap


text:
Add alias_cert model check when set cert

Fix: #2066
Commit 1: Add alias_cert model check in set_cert_rsp;
Commit 2: Fix unit_test after adding alias_cert model check;
Commit 3: Generate alias_cert model cert_chain for responder;
Commit 4: Enhance unit_test;
Commit 5: Add LIBSPDM_CERT_PARSE_SUPPORT for set_cert ;

Most of this should be gated by LIBSPDM_CERT_PARSE_SUPPORT. This brings in a lot of code just for checking the certificate chain, and a Responder implementation may be OK with accepting the certificate chain as-is.

Thanks. I have added the LIBSPDM_CERT_PARSE_SUPPORT for set_cert.

repo: DMTF/libspdm


text:
Allow custom host configuration

It resolves #3

@DNNX readne updated, is it fine now?

repo: DNNX/badging