text:
Have a release script that follows our Admin abilities

Do you want to request a feature or report a bug?
feature
What is the current behavior?
suuuper annoying google docs to follow when releasing, needing to be admin, because of pushes to master.
If the current behavior is a bug, please provide all the steps to reproduce and a minimal
JSFiddle example or a repository on GitHub that we can npm install
and npm start.
What is the expected behavior?
$ yarn release
new version (patch: X.X.__X__, minor: X.__X__.0, major: __X__.0.0): # accept words (change with --beta)
... running tests
... making changelog
... changing package.json
... making new branch
... open https://github.com/algolia/algoliasearch-client-javascript/pull/1000
wait for the tests on travis, and then you can merge this ✨

The release PR would be tagged separately, and once merged, will automatically release to npm and jsDeliver

Once this works here, we should abstract this script into a separate project, together with eslint and jest, allow it to be configurable enough for our projects, and publish it on npm for easier work in other projects. See also this article for more info

Existing scripts:

semantic-release
bumped

repo: algolia/algoliasearch-client-javascript


text:
feat(reverseHighlight/reverseSnippet): Implements reverseHighlight and reverseSnippet

This implements reverseHighlight and reverseSnippet.
The file/function containing the logic is getReversedHighlight
It takes the attributeValue from _highlightResult as a parameter and reverse content inside mark tags.
You can try it in the storybook under the Hits section with the names:

with reverseHighlight function
with reverseHighlight helper
with reverseSnippet function
with reverseSnippet helper

If you have any suggestion about the naming/method I've used let me know

I ran into a problem with reverseHighlighting and non alphanumeric characters where I didn't find which logic to follow. I expose below the 3 method I came across so I can get your thoughts on that.
Could you please let me know what you think/which way is the best for you?
Sorry for the low quality post

The actual behavior that autocomplete follows, which leaves any non alphanumeric character bold.

The sibling behavior, where the non alphanumeric character will take the highlighted value of the previous and next element.

The highlight behavior, where it just escape any non alphanumeric characters like the current highlight method.

cc @algolia/instantsearch-for-websites

Thanks for trying out all those options @shortcuts, I'm a fan of the method #2's output, and I think it would be better for highlight itself too.

@shortcuts The "sibling behavior" version is interesting. The only place I find it a bit weird is:

(Model)

[...] where the last ) is bold. It makes me wonder is never highlighting non-alphanumeric characters would make sense.
Have you seen this pattern anywhere else?

@francoischalifour I've never seen this pattern used before and this behavior is the only reason why I have a doubt about it.
I could think of a workaround for the parenthesis where if something inside is highlighted, we remove the highlight on the opening/closing one but that would leave some characters bold like

Before
After

(ModelExample)
(ModelExample)

The thing is that it would add even more computation on top of what's already done

I think the sibling behaviour in that case is actually correct, since you are matching on the rest of the sentence, including that closing parenthesis. I think (ModelExample) looks more "pay attention from here onwards", while (ModelExample) looks like "pay only attention to 'lExample'", which will be odd if there's other highlighted text after this word.
Google's autocomplete seems to try following a sibling behaviour, although it often sees separators as typos and won't highlight the match

You're right, they are also doing it.
I didn't find a good "long sentence in parentheses" to do more tests but that's already a good point.

Here's what I got for the bundle size
 FAIL  ./dist/instantsearch.production.min.js: 65.29KB > maxSize 65.25KB (gzip)
 PASS  ./dist/instantsearch.development.js: 151.83KB < maxSize 160KB (gzip)

You can increase it to 65.5KB then.

source: gharchive/pull-request

authors: Haroenv francoischalifour shortcuts

license: MIT

license_type: permissive

license_source: github-api


text:
AlgoKit goal is unable to interact with files generated by PyTeal with specific naming conventions

Subject of the issue
Reported via discord, that using the AlgoKit goal to interact with files, it appears that files with multiple dots in their filenames (e.g., contract.approval.teal) are not recognized. For example, while compiling a file named approval.teal using the command AlgoKit goal clerk compile approval.teal works correctly, attempting to compile a file named contract.approval.teal with the command AlgoKit goal clerk compile contract.approval.teal results in an error stating "no such file or directory." This issue affects various commands, including AlgoKit goal app create, making the integration with Python and algokit problematic.
Your environment

Steps to reproduce

Create a teal file using Puya template with the named contract.approval.teal
run algokit goal command against this file
Hit the error message: contract.approval.teal: open contract.approval.teal: no such file or directory

We are investigating.

This is now fixed in https://github.com/algorandfoundation/algokit-cli/pull/424 and released in version 1.11.4

source: gharchive/issue

authors: negar-abbasi neilcampbell

repo: algorandfoundation/algokit-cli


text:
Invalid filename for windows environment

https://github.com/alibaba/FederatedScope/blob/0ed7be6e3e1817fdaa0abdd872bebcf55a7b5e99/federatedscope/core/auxiliaries/utils.py#L62
The file name has a character ':', which is forbidden in Windows.

resolved in this PR #13

repo: alibaba/FederatedScope


text:
[PANIC] restore command error key:task:user:6464009835423744:day:20230227:movie:time err:Do failed[EOF]

[ ] 请确保已经看过 wiki：https://github.com/alibaba/RedisShake/wiki
[ ] 请确保已经学习过 Markdown 语法，良好的排版有助于维护人员了解你的问题
[ ] 请在此提供足够的信息供社区维护人员排查问题
[ ] 请在提交 issue 前删除此模板中多余的文字，包括这几句话

问题描述
redis-shakev2.0.3 通过rdb文件恢复到目的redis-cluster集群过程中报一下错误
[PANIC] restore command error key:task:user:6464009835423744:day:20230227:movie:time err:Do failed[EOF]
这里描述你的问题。
redis-shake 的日志：
shake 的日志贴在这里
[PANIC] restore command error key:task:user:6464009835423744:day:20230227:movie:time err:Do failed[EOF]
---

**源端 Redis**
版本：6.0，集群自建
日志：

[PANIC] restore command error key:task:user:6464009835423744:day:20230227:movie:time err:Do failed[EOF]

---

**目的端 Redis**
版本：6.0，集群 自建
日志：

[PANIC] restore command error key:task:user:6464009835423744:day:20230227:movie:time err:Do failed[EOF]

试下 3.x 版本的 redis-shake：https://github.com/alibaba/RedisShake/releases

试下 3.x 版本的 redis-shake：https://github.com/alibaba/RedisShake/releases
如何离线迁移？源集群与目标集群网络不通，我想通过备份rdb后，拷贝到目标集群迁移，我暂时找不到3.x版本有关离线迁移的文档，都是2.x的文档才有离线迁移的

https://github.com/alibaba/RedisShake/wiki/快速开始：从-dump.rdb-恢复数据

https://github.com/alibaba/RedisShake/wiki/快速开始：从-dump.rdb-恢复数据

此文档只是介绍单机到单机，单机到集群的方式。集群到集群的方式没有，是否从源集群每个master节点拷贝dump.rdb，然后怎么导入？

@0521ak47 是

是集群A每个master节点对应集群B每个master节点导入？，那要执行三次？

@0521ak47 是，分别导入。

是集群A每个master节点对应集群B每个master节点导入？，那要执行三次？
但是我看官方文档只是需要填写目标其中1个master节点？

对的，执行三次

repo: alibaba/RedisShake


text:
update: SimpleClickSupport onClick type -> eventType

修正BaseCell点击回调type错误问题
点击回调参数更正为eventType，以免和BaseCell的type有歧义。

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

这是fix一个bug，希望合并一下代码。

@liufsd 签一下  cla，且先合并到develop

@longerian
hello. 我是基于master来修复的。
我要先合并到develop，然后develop提pull request吗？

@longerian 重新提了一个：
#63
我把这个关闭了吧。
你合并 #63 吧。
谢谢。

authors: CLAassistant liufsd longerian

repo: alibaba/Tangram-Android


text:
在tangram中使用VirtualView

Grid绑定的json数组是和type同一级吗

style.row没用

外层用container-banner会变得无限长，以下一片空白，

repo: alibaba/Virtualview-Android


text:
Does the opts.prompt semantics not allow in-place execution?

Search before asking

[✔ ] I searched the issues and found no similar issues.

What happened + What you expected to happen
在文档的这里，说到opts.prompt为true时，不能原地执行，我对此的理解是无论如何，都应该被调度，而不是因为在执行线程中就直接执行
https://github.com/alibaba/async_simple/blob/7caf98b95f7140302b89483c38e1cc5f13e25233/docs/docs.cn/Executor.md?plain=1#L48
但是根据代码，当 opts.prompt 为 true的时候，应该是可以直接执行的，为false才是不能原地执行，必须进入调度。我想知道我是否理解的有问题。
bool SimpleExecutor::checkin(Func func, Context ctx, ScheduleOptions opts) {
    int64_t id = reinterpret_cast<int64_t>(ctx);
    auto prompt = _pool.getCurrentId() == (id & (~kContextMask)) && opts.prompt;
    if (prompt) {
        func();
        return true;
    }
    return _pool.scheduleById(std::move(func), id & (~kContextMask)) ==
           util::ThreadPool::ERROR_NONE;
}

Reproduction way
Anything else
Are you willing to submit a PR?

[✔ ] Yes I am willing to submit a PR!

这里应该是文档写错了


text:
SQLUtils.toSQLString能否获得原始的输入

先说一个bug

String sql = "SELECT any(time), sum(field) FROM table group by type";
List<SQLStatement> stmtList = SQLUtils.parseStatements(sql, JdbcConstants.CLICKHOUSE);
System.out.println(SQLUtils.toSQLString(stmtList.get(0), JdbcConstants.CLICKHOUSE, new SQLUtils.FormatOption(false, false)));

期望输出: select any(time), sum(field) from table group by type
实际输出: select ANY(time), sum(field) from table group by type

有没有办法获得原始输入的字符串(关注大小写)，比如SELECT any(time), SUM(field) FROM table group by type 输出的结果保留原来的大小写

先说一个bug

String sql = "SELECT any(time), sum(field) FROM table group by type";
List<SQLStatement> stmtList = SQLUtils.parseStatements(sql, JdbcConstants.CLICKHOUSE);
System.out.println(SQLUtils.toSQLString(stmtList.get(0), JdbcConstants.CLICKHOUSE, new SQLUtils.FormatOption(false, false)));

期望输出: select any(time), sum(field) from table group by type
实际输出: select ANY(time), sum(field) from table group by type

有没有办法获得原始输入的字符串(关注大小写)，比如SELECT any(time), SUM(field) FROM table group by type 输出的结果保留原来的大小写

我也遇到类似问题，在Clickhouse中，会自动转换查询项中匹配到的Token，导致自动转换了大小写，期望不做处理，这个该如何实现呢，翻源码也没找到合适的方法，请大神。

自己搞得，看起来druid没有这样的设置

自己搞得，看起来druid没有这样的设置

有好办法吗，愿闻其详

自己搞得，看起来druid没有这样的设置

请问这个问题是怎么解决的？

authors: QinAndroid ZevveZ chuyuanlinzi

repo: alibaba/druid


text:
ppi分片数据

您好！
能否公布用于分布式训练的数据分片？

https://github.com/alibaba/euler/wiki/数据准备
这里有包含分布式数据分片的方法。
https://tianchi.aliyun.com/dataset/dataDetail?dataId=9018
这里是euler开源的数据集，应该适合于分布式实验。reddit的数据规模也可以做分布式。

非常感谢！

authors: MeliaLin zakheav

repo: alibaba/euler


text:
为什么2.x的JSONObject直接改成继承LinkedHashMap?

请描述您的问题
询问有关本项目的使用和其他方面的相关问题。
1.x的版本在创建JSONObject对象的时候，可以选择hashMap或者LinkdHashMap，但是2.x版本继承linkedHashMap就只能选择linkedHashMap,请问是有什么考虑吗？是从性能考虑？还是其他的呢？请问，不能像1.x版本一样自己选择吗？

是考虑到最常用的场景是要保留顺序的，所以就用了继承自LinkedHashMap，继承比包装一层会性能略好。你可以通过配置JSONReader.Context.objectSupplier，按你的需要使用那种Map

assertEquals(
        HashMap.class,
        JSON.parse(
                "{}",
                JSONFactory.createReadContext(
                        () -> new HashMap()) // 指定objectSupplier为 HashMap
        ).getClass()
);

assertEquals(
        LinkedHashMap.class,
        JSON.parse(
                "{}",
                JSONFactory.createReadContext(
                        () -> new LinkedHashMap()) // 指定objectSupplier为 LinkedHashMap
        ).getClass()
);

assertEquals(
        TreeMap.class,
        JSON.parse(
                "{}",
                JSONFactory.createReadContext(
                        () -> new TreeMap()) // 指定objectSupplier为 TreeMap
        ).getClass()
);

assertEquals(
        ConcurrentHashMap.class,
        JSON.parse(
                "{}",
                JSONFactory.createReadContext(
                        () -> new ConcurrentHashMap()) // 指定objectSupplier为 ConcurrentHashMap
        ).getClass()
);

如上的例子，在fastjson2中，你可以很方便定制指定构造json object对应的Map

assertEquals(
        ArrayList.class,
        JSON.parse(
                "[]",
                JSONFactory.createReadContext(
                        null,
                        () -> new ArrayList()) // 指定arraySupplier为 ArrayList
        ).getClass()
);

assertEquals(
        LinkedList.class,
        JSON.parse(
                "[]",
                JSONFactory.createReadContext(
                        null,
                        () -> new LinkedList()) // 指定arraySupplier为 LinkedList
        ).getClass()
);

assertEquals(
        ArrayDeque.class,
        JSON.parse(
                "[]",
                JSONFactory.createReadContext(
                        null,
                        () -> new ArrayDeque()) // 指定arraySupplier为 ArrayDeque
        ).getClass()
);

如上的例子，在fastjson2中，你可以很方便定制指定构造json array对应的List

assertEquals(
        HashMap.class,
        JSON.parse(
                "{}",
                JSONFactory.createReadContext(
                        () -> new HashMap() // 指定objectSupplier为 HashMap
                )
        ).getClass()
);

assertEquals(
        LinkedHashMap.class,
        JSON.parse(
                "{}",
                JSONFactory.createReadContext(
                        () -> new LinkedHashMap() // 指定objectSupplier为 LinkedHashMap
                )
        ).getClass()
);

assertEquals(
        TreeMap.class,
        JSON.parse(
                "{}",
                JSONFactory.createReadContext(
                        () -> new TreeMap() // 指定objectSupplier为 TreeMap
                )
        ).getClass()
);

assertEquals(
        ConcurrentHashMap.class,
        JSON.parse(
                "{}",
                JSONFactory.createReadContext(
                        () -> new ConcurrentHashMap() // 指定objectSupplier为 ConcurrentHashMap
                )
        ).getClass()
);

如上的例子，在fastjson2中，你可以很方便地定制构造json对象的映射

请问这个可以全局替换，还是每次创建对象之前都得这样操作？

当前的API需要每次都设置。
https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.15-SNAPSHOT/
新版本支持全局设置，请帮忙用2.0.15-SNAPSHOT验证，2.0.15版本预计在10月7日前发布
新的API如下：
JSONFactory.setDefaultObjectSupplier(
        () -> new TreeMap() // 全局指定objectSupplier为 TreeMap
);
assertEquals(
        TreeMap.class,
        JSON.parse("{}").getClass()
);

JSONFactory.setDefaultObjectSupplier(
        () -> new ConcurrentHashMap() // 全局指定objectSupplier为 ConcurrentHashMap
);
assertEquals(
        ConcurrentHashMap.class,
        JSON.parse("{}").getClass()
);

JSONFactory.setDefaultArraySupplier(
        () -> new LinkedList() // 全局指定arraySupplier为 LinkedList
);
assertEquals(
        LinkedList.class,
        JSON.parse("[]").getClass()
);

JSONFactory.setDefaultArraySupplier(
        () -> new CopyOnWriteArrayList() // 全局指定arraySupplier为 CopyOnWriteArrayList
);
assertEquals(
        CopyOnWriteArrayList.class,
        JSON.parse("[]").getClass()
);

当前的API需要每次都设置。
https://oss.sonatype.org/content/repositories/snapshots/com/alibaba/fastjson2/fastjson2/2.0.15-SNAPSHOT/ 新版本支持全局设置，请帮忙用2.0.15-SNAPSHOT验证，2.0.15版本预计在10月7日前发布
新的API如下：
JSONFactory.setDefaultObjectSupplier(
        () -> new TreeMap() // 全局指定objectSupplier为 TreeMap
);
assertEquals(
        TreeMap.class,
        JSON.parse("{}").getClass()
);

JSONFactory.setDefaultObjectSupplier(
        () -> new ConcurrentHashMap() // 全局指定objectSupplier为 ConcurrentHashMap
);
assertEquals(
        ConcurrentHashMap.class,
        JSON.parse("{}").getClass()
);

JSONFactory.setDefaultArraySupplier(
        () -> new LinkedList() // 全局指定arraySupplier为 LinkedList
);
assertEquals(
        LinkedList.class,
        JSON.parse("[]").getClass()
);

JSONFactory.setDefaultArraySupplier(
        () -> new CopyOnWriteArrayList() // 全局指定arraySupplier为 CopyOnWriteArrayList
);
assertEquals(
        CopyOnWriteArrayList.class,
        JSON.parse("[]").getClass()
);

你好，验证是通过的，但是这个更换的作用是在解析json这一步的？而不是往JsonObject对象添加数据的时候？

https://github.com/alibaba/fastjson2/releases/tag/2.0.15
请用新版本

authors: huangnanjian wenshao xiaohuang1024


text:
Install deps failed - 404 not found on https://npm.taobao.org/mirrors/electron/10.1.5/electron-v19.0.4-linux-x64.zip

error /home/kamuri/Documentos/workspace/personal/tools/lightproxy/node_modules/electron: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: /home/kamuri/Documentos/workspace/personal/tools/lightproxy/node_modules/electron
Output:
HTTPError: Response code 404 (Not Found) for https://npm.taobao.org/mirrors/electron/10.1.5/electron-v19.0.4-linux-x64.zip
    at EventEmitter.<anonymous> (/home/kamuri/Documentos/workspace/personal/tools/lightproxy/node_modules/got/source/as-stream.js:35:24)
    at EventEmitter.emit (events.js:400:28)
    at module.exports (/home/kamuri/Documentos/workspace/personal/tools/lightproxy/node_modules/got/source/get-response.js:22:10)
    at ClientRequest.handleResponse (/home/kamuri/Documentos/workspace/personal/tools/lightproxy/node_modules/got/source/request-as-event-emitter.js:155:5)
    at Object.onceWrapper (events.js:520:26)
    at ClientRequest.emit (events.js:412:35)
    at ClientRequest.origin.emit (/home/kamuri/Documentos/workspace/personal/tools/lightproxy/node_modules/@szmarczak/http-timer/source/index.js:37:11)

electron-custom-dir=10.1.5
edit:
electron-custom-dir=v10.1.5

如果网络畅通，可以删掉 .npmrc 文件

authors: Muzlin kamuridesu nailuoGG

repo: alibaba/lightproxy


text:
请问编码规约能提供原文件吗

我们想要基于阿里的规范出一套内部的规范，但是有一部分历史原因导致的编码习惯跟阿里规约有点不一样，需要修改一下再使用，但是PDF改起来太麻烦了。仓库里有个p3c-gitbook文件夹，也很久没更新了。
既然PDF都已经开源了，可以顺便把生成PDF的原文件也开源吗 😁

@dyrone 看下

@IcebergXTY
感谢你的建议，目前新的规约内容正在整理中， 届时我们将在项目中的git-book中进行更新.
Thanks for the advice.
Currently, we are working on the new release of guidelines, we will update the corresponding git-book when we finished this iteration.

感谢你的建议，目前新的规约内容正在整理中， 届时我们将在项目中的git-book中进行更新.
Thanks for the advice.
Currently, we are working on the new release of guidelines, we will update the corresponding git-book when we finished this iteration.

@dyrone Hello, is there any progress on gitbook?

https://github.com/dyrone/java_coding_guidelines
基于adoc， 你看下是否有帮助，但是因为存在更新延迟，可能内容有略微差异
谢谢

@dyrone 你好，页面404。是不是我没有权限查看

@IcebergXTY 已调整为public

authors: IcebergXTY dyrone xuantan

license_source: bigquery


text:
fix AttachVolume not check Extra info

Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

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

authors: CLAassistant zhangCabbage

repo: alibaba/pouch


text:
[fix]设置在web环境下才注入拦截器

Describe what this PR does / why we need it
com.alibaba.cloud.seata.web.SeataHandlerInterceptor 和 com.alibaba.cloud.seata.web.SeataHandlerInterceptorConfiguration 在web环境下才工作的,但是果然环境仅依赖spring-boot-starter的时候就出现异常了或者容器用的不是servlet容器的话也是出现问题的,所以我添加了条件判断

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

好的，我先仔细阅读下------------------ 原始邮件 ------------------
发件人: "format"notifications@github.com
发送时间: 2019年11月1日(星期五) 下午4:56
收件人: "alibaba/spring-cloud-alibaba"spring-cloud-alibaba@noreply.github.com;
抄送: "赵云兴"2385585770@qq.com;"Author"author@noreply.github.com;
主题: Re: [alibaba/spring-cloud-alibaba] [fix]设置在web环境下才注入拦截器 (#1029)
@fangjian0423 commented on this pull request.
In spring-cloud-alibaba-seata/src/main/java/com/alibaba/cloud/seata/web/SeataHandlerInterceptor.java:

@@ -23,6 +23,7 @@  import org.slf4j.Logger;  import org.slf4j.LoggerFactory;   +import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import 顺序不对。 你参看以下如何贡献(使用插件格式化一下代码):  https://github.com/alibaba/spring-cloud-alibaba/wiki/如何贡献代码#配置-spring-cloud-标准的代码格式

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

建议撤销无效的 commit 提交，只需一个 commit 记录即可。

repo: alibaba/spring-cloud-alibaba


text:
access_log的pipe方式如何传入自定义参数？

如题，我使用pipe方式记录access_log。但是想记录到不同的日志文件中。我的写法如下：
 access_log  "pipe:/bin/cronolog logs/cronolog/%Y/%m/%Y-%m-%d-${logPath}" logformat;
但是${logPath}变量值无法引入。服务器上创建的日志文件就是2018-08-07-${logPath}，变量值未替换。想问下，这种情况下该怎么处理？

http {
    log_format custom_log '$remote_addr - $remote_user [$time_local] '
                         '"$request" $status $body_bytes_sent '
                         '"$http_referer" "$http_user_agent"';

    server {
        listen 80;
        server_name example.com;

        access_log "pipe:/bin/cronolog logs/cronolog/%Y/%m/%Y-%m-%d-${logPath}" custom_log;

        location / {
            # Your server configuration
        }
    }
}

authors: ljluestc sunailian

repo: alibaba/tengine


text:
Weex 组件高度计算的 BUG

你好，
最近发现一个 weex 在组件高度计算上的 BUG，具体如下：
Weex 要求将元素的所有尺寸使用 750px 来计算，例如高度 375px 实际渲染的结果将是实际设备宽度的 50%。这样就有可能会在宽度不等于 750px 的设备上计算出现小数。
例如：

在宽度为 750 的设备上（如 iPhone 6）实际计算的高度是 100px，但在 iPhone 5S 上实际计算的高度为 85.33px，即非整数。如果页面上有多个这样的被计算为高度非整数的元素相加，最终将会在某个不确切的位置出现 0.5px 到 1px 的缝隙。这条缝隙在背景色为深色时显得尤为明显。
不过这个 BUG 目前只在 iOS 设备上遇到，在 iPhone 5S 及 iPhone 6/7 Plus 上更为频繁。
附上一段问题重现的代码，代码中设置 scroller 的背景色为蓝色，每行一个高 100 的白色色块。在 iOS 设备上每隔几行就会看到一条明显的蓝色线条。
<template>
    <scroller style="background-color: blue;">

    </scroller>
</template>

@jerrybendy  这个是已知问题， 750px适配后像素四舍五入带来的精度丢失。 目前没有太好的办法， 一般是在背景色上做处理。
后面会加入viewport的概念， 允许自定义用于适配的宽度，而非固定750， 如可以设置"device-width"，这样适配后的像素小数会相应减少， 这个问题会有所好转。

是否可以把四舍五入的计算统一为向下取整或向上取整，不知这样能否避免一些计算上的误差

@jerrybendy  都会有类似的问题， 举个例子:
一个div容器的高度是4px， 里面有三个元素 flex:1 均分这个高度， 即都为 1.33333px。
如果向下取整， 容器会空1px出来， 如果向上取整， 容器会超出2px。

嗯，是的，抱歉没有考虑到这种固定容器高度的情况。这样说来也确实没有什么太好的解决办法呀。
我现在的处理方式是在背景区域额外再加一个白色的底，这样就可以隐藏掉多出来的线条，但仅在页面底色是白色是有效。如果页面底色并非白色的话仍然会看到白色的线条（好在背景非白色的情况在我们的应用中并不多见）

@jerrybendy  暂时先这样处理吧， 后面我们也在考虑更深层次的解决方案。

嗯，好的，感谢你们的付出 😊

repo: alibaba/weex


text:
TDM dummy数据集训练的结果，在测试集的输出上存在item一样的问题

TDM 1w条userbehavior的随机测试集，训练几十轮后用train.py跑predict输出预测结果，测试集采用10个用户，每个用户的Top20的item基本完全一样，只存在次序和概率的差别，请问是否正常？

这个现象和 #129 非常类似，应该是训练不充分导致的。UserBehavior数据集由于id量比较大，迭代轮数不够的情况下，可能只有小部分的热门id参与到了训练当中，导致预测结果基本一致

请参考成员 @zhuhan1236 的回答

这个现象和 #129 非常类似，应该是训练不充分导致的。UserBehavior数据集由于id量比较大，迭代轮数不够的情况下，可能只有小部分的热门id参与到了训练当中，导致预测结果基本一致

(1) 一共已经训练了几十轮(一轮迭代是执行train.py后再执行tree_cluster.py)，还是迭代轮数的问题么？
(2) 如何调整参数重新训练，可以达到@zhuhan1236 所说的“足够的迭代轮数”，谢谢？

这个现象和 #129 非常类似，应该是训练不充分导致的。UserBehavior数据集由于id量比较大，迭代轮数不够的情况下，可能只有小部分的热门id参与到了训练当中，导致预测结果基本一致

(1) 一共已经训练了几十轮(一轮迭代是执行train.py后再执行tree_cluster.py)，还是迭代轮数的问题么？
(2) 如何调整参数重新训练，可以达到@zhuhan1236 所说的“足够的迭代轮数”，谢谢？

能提供你的训练loss、预测打分结果么？从你描述的现象来看肯定是不合理的，但是不知道问题在哪。在单轮训练中（不进行tree_cluster时），大概全量数据过几个epoch后，基本上就收敛了。训练轮数可以通过tdm.json里的train_epochs来调整

这个现象和 #129 非常类似，应该是训练不充分导致的。UserBehavior数据集由于id量比较大，迭代轮数不够的情况下，可能只有小部分的热门id参与到了训练当中，导致预测结果基本一致

(1) 一共已经训练了几十轮(一轮迭代是执行train.py后再执行tree_cluster.py)，还是迭代轮数的问题么？
(2) 如何调整参数重新训练，可以达到@zhuhan1236 所说的“足够的迭代轮数”，谢谢？

能提供你的训练loss、预测打分结果么？从你描述的现象来看肯定是不合理的，但是不知道问题在哪。在单轮训练中（不进行tree_cluster时），大概全量数据过几个epoch后，基本上就收敛了。训练轮数可以通过tdm.json里的train_epochs来调整

训练loss在最后一个session后输出介于0.2-0.3，预测打分在0.5附近，关于收敛，从loss最低值能否判断是否收敛呢？

这个现象和 #129 非常类似，应该是训练不充分导致的。UserBehavior数据集由于id量比较大，迭代轮数不够的情况下，可能只有小部分的热门id参与到了训练当中，导致预测结果基本一致

(1) 一共已经训练了几十轮(一轮迭代是执行train.py后再执行tree_cluster.py)，还是迭代轮数的问题么？
(2) 如何调整参数重新训练，可以达到@zhuhan1236 所说的“足够的迭代轮数”，谢谢？

能提供你的训练loss、预测打分结果么？从你描述的现象来看肯定是不合理的，但是不知道问题在哪。在单轮训练中（不进行tree_cluster时），大概全量数据过几个epoch后，基本上就收敛了。训练轮数可以通过tdm.json里的train_epochs来调整

训练loss在最后一个session后输出介于0.2-0.3，预测打分在0.5附近，关于收敛，从loss最低值能否判断是否收敛呢？

从预测打分来看，模型应该是没有收敛的，因为随机模型的预测打分就是0.5附近；另外，关于training的loss值，随机初始化的loss大概是0.7左右，根据负采样比例的不同，收敛时的loss值也会不同，但是0.2-0.3的loss值确实太大了，按照默认配置的话，0.03左右的收敛loss算是合理范围

authors: githcx jayhejie zhuhan1236

repo: alibaba/x-deeplearning


text:
seastar编译通不过

错误如下：
FAILED: g++  -O2 -DNDEBUG -DDEFAULT_ALLOCATOR -I/mnt/d/code/x-deeplearning/xdl/third_party/seastar/build/release/gen -I/mnt/d/code/x-deeplearning/xdl/third_party/seastar/build/release/c-ares -Lbuild/release -g -Wl,--no-as-needed    -pthread  -L/usr/local/lib -lboost_timer -lboost_chrono -lboost_program_options -o build/release/apps/httpd/httpd build/release/apps/httpd/main.o build/release/http/transformers.o build/release/http/json_path.o build/release/http/file_handler.o build/release/http/common.o build/release/http/routes.o build/release/json/json_elements.o build/release/json/formatter.o build/release/http/matcher.o build/release/http/mime_types.o build/release/http/httpd.o build/release/http/reply.o build/release/http/api_docs.o build/release/net/proxy.o build/release/net/virtio.o build/release/net/dpdk.o build/release/net/ip.o build/release/net/ethernet.o build/release/net/arp.o build/release/net/native-stack.o build/release/net/ip_checksum.o build/release/net/udp.o build/release/net/tcp.o build/release/net/dhcp.o build/release/net/tls.o build/release/net/dns.o build/release/core/reactor.o build/release/core/systemwide_memory_barrier.o build/release/core/fstream.o build/release/core/posix.o build/release/core/memory.o build/release/core/resource.o build/release/core/scollectd.o build/release/core/metrics.o build/release/core/app-template.o build/release/core/thread.o build/release/core/dpdk_rte.o build/release/core/fsqual.o build/release/util/conversions.o build/release/util/program-options.o build/release/util/log.o build/release/util/backtrace.o build/release/net/packet.o build/release/net/posix-stack.o build/release/net/net.o build/release/net/stack.o build/release/net/inet_address.o build/release/rpc/rpc.o build/release/rpc/lz4_compressor.o build/release/core/exception_hacks.o -laio -lboost_program_options -lboost_system -lboost_filesystem -lstdc++ -lm -lboost_thread -lcryptopp -lrt -lgnutls -lgnutlsxx -llz4 -lprotobuf -ldl -lgcc_s -lunwind -lhwloc -lnuma -lpciaccess -lxml2 -lz -lcares-seastar
build/release/net/virtio.o: In function seastar::get_virtio_net_options_description()': /mnt/d/code/x-deeplearning/xdl/third_party/seastar/net/virtio.cc:997: undefined reference to boost::program_options::options_description::options_description(std::string const&, unsigned int,
unsigned int)'
build/release/net/virtio.o: In function boost::program_options::variables_map::operator[](std::string const&) const': /usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const'
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const' build/release/net/virtio.o: In function boost::program_options::typed_value<std::string, char>::xparse(boost::any&, std::vector<std::string, std::allocatorstd::string > const&) const':
/usr/local/include/boost/program_options/detail/value_semantic.hpp:167: undefined reference to boost::program_options::validate(boost::any&, std::vector<std::string, std::allocator<std::string> > const&, std::string*, int)' build/release/net/virtio.o: In function boost::program_options::typed_value<unsigned int, char>::name() const':
/usr/local/include/boost/program_options/detail/value_semantic.hpp:19: undefined reference to boost::program_options::arg' build/release/net/virtio.o: In function boost::program_options::typed_value<std::string, char>::name() const':
/usr/local/include/boost/program_options/detail/value_semantic.hpp:19: undefined reference to boost::program_options::arg' build/release/net/virtio.o: In function boost::program_options::variables_map::operator[](std::string const&) const':
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const' /usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const'
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const' /usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const'
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const' build/release/net/virtio.o: In function void boost::program_options::validate<unsigned int, char>(boost::any&, std::vector<std::basic_string<char, std::char_traits, std::allocator

, std::allocator<std::basic_string<char, std::char_traits, std::allocator > > > const&, unsigned int*, long)':
/usr/local/include/boost/program_options/detail/value_semantic.hpp:92: undefined reference to boost::program_options::invalid_option_value::invalid_option_value(std::string const&)' build/release/net/virtio.o:(.data.rel.ro._ZTVN5boost15program_options11typed_valueISscEE[_ZTVN5boost15program_options11typed_valueISscEE]+0x40): undefined reference to boost::program_options::value_semantic_codecvt_helper::parse(boost::any&, std::vector<std::string, std::allocatorstd::string > const&, bool) const'
build/release/net/virtio.o:(.data.rel.ro._ZTVN5boost15program_options11typed_valueIjcEE[_ZTVN5boost15program_options11typed_valueIjcEE]+0x40): undefined reference to boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::string, std::allocator<std::string> > const&, bool) const' build/release/apps/httpd/main.o: In function boost::program_options::variables_map::operator[](std::string const&) const':
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const' build/release/apps/httpd/main.o: In function boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::string const&, std::string const&, int)':
/usr/local/include/boost/program_options/errors.hpp:373: undefined reference to boost::program_options::validation_error::get_template(boost::program_options::validation_error::kind_t)' /usr/local/include/boost/program_options/errors.hpp:373: undefined reference to boost::program_options::error_with_option_name::error_with_option_name(std::string const&, std::string const&, std::string const&, int)'
build/release/apps/httpd/main.o: In function boost::program_options::typed_value<unsigned short, char>::name() const': /usr/local/include/boost/program_options/detail/value_semantic.hpp:19: undefined reference to boost::program_options::arg'
build/release/apps/httpd/main.o: In function void boost::program_options::validate<unsigned short, char>(boost::any&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, unsigned short*, long)': /usr/local/include/boost/program_options/detail/value_semantic.hpp:92: undefined reference to boost::program_options::invalid_option_value::invalid_option_value(std::string const&)'
build/release/apps/httpd/main.o:(.data.rel.ro._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE[_ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE]+0x30): undefined reference to boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const' build/release/apps/httpd/main.o:(.data.rel.ro._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE[_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE]+0x38): undefined reference to boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const'
build/release/apps/httpd/main.o:(.data.rel.ro._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEEE[_ZTVN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEEE]+0x30): undefined reference to boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const' build/release/apps/httpd/main.o:(.data.rel.ro._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEEE[_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEEE]+0x38): undefined reference to boost::program_options::error_with_option_name::substitute_placeholders(std::string
const&) const'
build/release/apps/httpd/main.o:(.data.rel.ro._ZTVN5boost15program_options16validation_errorE[_ZTVN5boost15program_options16validation_errorE]+0x30): undefined reference to boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const' build/release/apps/httpd/main.o:(.data.rel.ro._ZTVN5boost15program_options20invalid_option_valueE[_ZTVN5boost15program_options20invalid_option_valueE]+0x30): more undefined references to boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const' follow
build/release/apps/httpd/main.o:(.data.rel.ro._ZTVN5boost15program_options11typed_valueItcEE[_ZTVN5boost15program_options11typed_valueItcEE]+0x40): undefined reference to boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::string, std::allocator<std::string> > const&, bool) const' build/release/net/native-stack.o: In function seastar::net::nns_options()':
/mnt/d/code/x-deeplearning/xdl/third_party/seastar/net/native-stack.cc:256: undefined reference to boost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)' build/release/net/native-stack.o: In function boost::program_options::variables_map::operator[](std::string const&) const':
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const' /usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const'
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const' /usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const'
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const' build/release/net/native-stack.o:/usr/local/include/boost/program_options/variables_map.hpp:155: more undefined references to boost::program_options::abstract_variables_map::operator[](std::string const&) const' follow
build/release/net/native-stack.o: In function boost::program_options::typed_value<bool, char>::xparse(boost::any&, std::vector<std::string, std::allocator<std::string> > const&) const': /usr/local/include/boost/program_options/detail/value_semantic.hpp:167: undefined reference to boost::program_options::validate(boost::any&, std::vector<std::string, std::allocatorstd::string > const&, bool*, int)'
build/release/net/native-stack.o: In function boost::program_options::typed_value<float, char>::name() const': /usr/local/include/boost/program_options/detail/value_semantic.hpp:19: undefined reference to boost::program_options::arg'
build/release/net/native-stack.o: In function boost::program_options::typed_value<bool, char>::name() const': /usr/local/include/boost/program_options/detail/value_semantic.hpp:19: undefined reference to boost::program_options::arg'
build/release/net/native-stack.o: In function boost::program_options::typed_value<int, char>::name() const': /usr/local/include/boost/program_options/detail/value_semantic.hpp:19: undefined reference to boost::program_options::arg'
build/release/net/native-stack.o: In function void boost::program_options::validate<float, char>(boost::any&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, float*, long)': /usr/local/include/boost/program_options/detail/value_semantic.hpp:92: undefined reference to boost::program_options::invalid_option_value::invalid_option_value(std::string const&)'
build/release/net/native-stack.o: In function void boost::program_options::validate<int, char>(boost::any&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, int*, long)': /usr/local/include/boost/program_options/detail/value_semantic.hpp:92: undefined reference to boost::program_options::invalid_option_value::invalid_option_value(std::string const&)'
build/release/net/native-stack.o:(.data.rel.ro._ZTVN5boost15program_options11typed_valueIicEE[_ZTVN5boost15program_options11typed_valueIicEE]+0x40): undefined reference to boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::string, std::allocator<std::string> > const&, bool) const' build/release/net/native-stack.o:(.data.rel.ro._ZTVN5boost15program_options11typed_valueIbcEE[_ZTVN5boost15program_options11typed_valueIbcEE]+0x40): undefined reference to boost::program_options::value_semantic_codecvt_helper::parse(boost::any&, std::vector<std::string, std::allocatorstd::string > const&, bool) const'
build/release/net/native-stack.o:(.data.rel.ro._ZTVN5boost15program_options11typed_valueIfcEE[_ZTVN5boost15program_options11typed_valueIfcEE]+0x40): undefined reference to boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::string, std::allocator<std::string> > const&, bool) const' build/release/core/reactor.o: In function seastar::smp::get_options_description()':
/mnt/d/code/x-deeplearning/xdl/third_party/seastar/core/reactor.cc:3838: undefined reference to boost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)' build/release/core/reactor.o: In function seastar::reactor::get_options_description(std::chrono::duration<double, std::ratio<1l, 1l> >)':
/mnt/d/code/x-deeplearning/xdl/third_party/seastar/core/reactor.cc:3806: undefined reference to boost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)' build/release/core/reactor.o: In function boost::program_options::variables_map::operator[](std::string const&) const':
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const' /usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const'
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const' /usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const'
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const' build/release/core/reactor.o:/usr/local/include/boost/program_options/variables_map.hpp:155: more undefined references to boost::program_options::abstract_variables_map::operator[](std::string const&) const' follow
build/release/core/reactor.o: In function boost::program_options::typed_value<double, char>::name() const': /usr/local/include/boost/program_options/detail/value_semantic.hpp:19: undefined reference to boost::program_options::arg'
build/release/core/reactor.o: In function boost::program_options::typed_value<seastar::cpuset_bpo_wrapper, char>::name() const': /usr/local/include/boost/program_options/detail/value_semantic.hpp:19: undefined reference to boost::program_options::arg'
build/release/core/reactor.o: In function void boost::program_options::validate<double, char>(boost::any&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, double*, long)': /usr/local/include/boost/program_options/detail/value_semantic.hpp:92: undefined reference to boost::program_options::invalid_option_value::invalid_option_value(std::string const&)'
build/release/core/reactor.o:(.data.rel.ro._ZTVN5boost15program_options11typed_valueIdcEE[_ZTVN5boost15program_options11typed_valueIdcEE]+0x40): undefined reference to boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::string, std::allocator<std::string> > const&, bool) const' build/release/core/reactor.o:(.data.rel.ro._ZTVN5boost15program_options11typed_valueIN7seastar18cpuset_bpo_wrapperEcEE[_ZTVN5boost15program_options11typed_valueIN7seastar18cpuset_bpo_wrapperEcEE]+0x40): undefined reference to boost::program_options::value_semantic_codecvt_helper::parse(boost::any&, std::vector<std::string, std::allocatorstd::string > const&, bool) const'
build/release/core/scollectd.o: In function seastar::scollectd::get_options_description()': /mnt/d/code/x-deeplearning/xdl/third_party/seastar/core/scollectd.cc:530: undefined reference to boost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)'
build/release/core/scollectd.o: In function boost::program_options::variables_map::operator[](std::string const&) const': /usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const'
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const' /usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const'
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const' /usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const'
build/release/core/metrics.o: In function seastar::metrics::get_options_description()': /mnt/d/code/x-deeplearning/xdl/third_party/seastar/core/metrics.cc:92: undefined reference to boost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)'
build/release/core/metrics.o: In function boost::program_options::variables_map::operator[](std::string const&) const': /usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const'
build/release/core/app-template.o: In function seastar::app_template::app_template(seastar::app_template::config)': /mnt/d/code/x-deeplearning/xdl/third_party/seastar/core/app-template.cc:43: undefined reference to boost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)'
build/release/core/app-template.o: In function boost::program_options::variables_map::operator[](std::string const&) const': /usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const'
build/release/core/app-template.o: In function std::vector<std::string, std::allocator<std::string> > boost::program_options::to_internal<std::string>(std::vector<std::string, std::allocator<std::string> > const&)': /usr/local/include/boost/program_options/detail/convert.hpp:79: undefined reference to boost::program_options::to_internal(std::string const&)'
build/release/core/app-template.o: In function boost::program_options::basic_command_line_parser<char>::basic_command_line_parser(int, char const* const*)': /usr/local/include/boost/program_options/detail/parsers.hpp:44: undefined reference to boost::program_options::detail::cmdline::cmdline(std::vector<std::string, std::allocatorstd::string > const&)'
build/release/util/program-options.o: In function seastar::program_options::parse_map_associations(std::string const&, seastar::program_options::string_map&)': /mnt/d/code/x-deeplearning/xdl/third_party/seastar/util/program-options.cc:52: undefined reference to boost::program_options::invalid_option_value::invalid_option_value(std::string const&)'
build/release/util/log.o: In function seastar::log_cli::get_options_description()': /mnt/d/code/x-deeplearning/xdl/third_party/seastar/util/log.cc:357: undefined reference to boost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)'
build/release/util/log.o: In function boost::program_options::variables_map::operator[](std::string const&) const': /usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const'
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const' /usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const'
/usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const' /usr/local/include/boost/program_options/variables_map.hpp:155: undefined reference to boost::program_options::abstract_variables_map::operator[](std::string const&) const'
build/release/util/log.o: In function boost::program_options::typed_value<seastar::logger_timestamp_style, char>::name() const': /usr/local/include/boost/program_options/detail/value_semantic.hpp:19: undefined reference to boost::program_options::arg'
build/release/util/log.o: In function boost::program_options::typed_value<seastar::program_options::string_map, char>::name() const': /usr/local/include/boost/program_options/detail/value_semantic.hpp:19: undefined reference to boost::program_options::arg'
build/release/util/log.o: In function boost::program_options::typed_value<seastar::basic_sstring<char, unsigned int, 15u>, char>::name() const': /usr/local/include/boost/program_options/detail/value_semantic.hpp:19: undefined reference to boost::program_options::arg'
build/release/util/log.o: In function void boost::program_options::validate<seastar::basic_sstring<char, unsigned int, 15u>, char>(boost::any&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, seastar::basic_sstring<char, unsigned int, 15u>*, long)': /usr/local/include/boost/program_options/detail/value_semantic.hpp:92: undefined reference to boost::program_options::invalid_option_value::invalid_option_value(std::string const&)'
build/release/util/log.o:(.data.rel.ro._ZTVN5boost15program_options11typed_valueIN7seastar13basic_sstringIcjLj15EEEcEE[_ZTVN5boost15program_options11typed_valueIN7seastar13basic_sstringIcjLj15EEEcEE]+0x40): undefined reference to boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::string, std::allocator<std::string> > const&, bool) const'build/release/util/log.o:(.data.rel.ro._ZTVN5boost15program_options11typed_valueIN7seastar15program_options10string_mapEcEE[_ZTVN5boost15program_options11typed_valueIN7seastar15program_options10string_mapEcEE]+0x40): undefined reference to boost::program_options::value_semantic_codecvt_helper::parse(boost::any&, std::vector<std::string, std::allocatorstd::string > const&, bool) const'
build/release/util/log.o:(.data.rel.ro._ZTVN5boost15program_options11typed_valueIN7seastar22logger_timestamp_styleEcEE[_ZTVN5boost15program_options11typed_valueIN7seastar22logger_timestamp_styleEcEE]+0x40): undefined reference to `boost::program_options::value_semantic_codecvt_helper::parse(boost::any&, std::vector<std::string, std::allocatorstd::string > const&, bool) const'collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

boost和g++-5的ABI不一致造成的， 注释掉seastar/service/build_script/build.sh中的ABI=0即可


text:
Setup Decoder to decode (FIR)Timestamp to (NS)Date

Now that Firestore warns us to/ forces the usage of Timestamps over Dates I'm looking for a way to workaround this.
Background: I'm using Models on iOS and watchOS as well. Firebase is not ready for watchOS hence I cannot use Timestamp in the models. Besides this I'd prefer to avoid the Firestore dependency in my models. The precision of Date is more than enough for me.
My models are also contained in a framework that is not aware of Firebase, hence I cannot implement/ override the decoder that parses the Timestamps into Dates.
Question: Is there a way to setup the FirestoreDecoder to automatically parse Timestamps to Dates when a Date is expected in a model?

Would really love a solution for this as well!
I'm personally not very fond of timestamps. It's essentally rendering CodableFirebase obsolete for a lot of people until we crack it. It's breaking my models apart

Did anyone fix this problem ?

Seconding this sentiment. Any progress here?

Still no fix?

Can we get this fixed? It is now breaking everything

+1.
Updated to the latest Firestore for their new groupCollection query method, but now it gives me this error when I run the app.
Swift.DecodingError.typeMismatch(Foundation.Date, Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "createdAt", intValue: nil)], debugDescription: "Expected to decode Date but found FIRTimestamp instead.", underlyingError: nil))

+1

Hi guys.
I fixed that issue.
Here you can find solution: https://github.com/mshershnev/CodableFirebase
Code example is here: https://github.com/alickbass/CodableFirebase/pull/86#issuecomment-584675760
I did pull request and hope that it will be merged soon: https://github.com/alickbass/CodableFirebase/pull/86

authors: ArEnSc Nailer benrudhart jimijon kristofersdundurs mshershnev nikitaame philzeey siyao1030

repo: alickbass/CodableFirebase

license: mit


text:
Add prettier to template

Adds prettier to the template. I have also prettier on all the files in this repo.

This will require https://github.com/aligent/serverless-aws-nodejs-service-template/pull/414/ to be merged in first. Otherwise the merge checks will fail.


text:
open source and free

My friend
Is the app open source and free
What are the features of the application, is it like WhatsApp
Do I need a server and monthly fees to operate the voice and video chat service?

Yes, I believe all applications in the world must be open-source.
I told you, read the readme!
It uses webRTC, first, you should learn what webRTC is.
No, a simple socket server for handshaking would be enough.


text:
Task 3 - (U)pdate

As a user, I want to UPDATE records on tables so that I can make changes to employees, departments, and companies.

Done in #2

repo: allanation/Employee-Management-System


text:
Failing with: Can not run as root in Jenkins environment

When trying to run on our Jenkins CI environment I get this exception.
Is there a workaround?
17:59:19.797 [Test worker] INFO pl.allegro.tech.embeddedelasticsearch.ElasticSearchInstaller - Download skipped 17:59:19.797 [Test worker] INFO pl.allegro.tech.embeddedelasticsearch.ElasticSearchInstaller - Installing Elasticsearch into /tmp/embedded-elasticsearch-temp-dir... 17:59:20.926 [Test worker] INFO pl.allegro.tech.embeddedelasticsearch.ElasticSearchInstaller - Done 17:59:20.930 [Test worker] INFO pl.allegro.tech.embeddedelasticsearch.ElasticSearchInstaller - Applying executable permissions on /tmp/embedded-elasticsearch-temp-dir/elasticsearch-5.5.2/bin/elasticsearch-plugin 17:59:20.930 [Test worker] INFO pl.allegro.tech.embeddedelasticsearch.ElasticSearchInstaller - Applying executable permissions on /tmp/embedded-elasticsearch-temp-dir/elasticsearch-5.5.2/bin/elasticsearch 17:59:20.930 [Test worker] INFO pl.allegro.tech.embeddedelasticsearch.ElasticSearchInstaller - Applying executable permissions on /tmp/embedded-elasticsearch-temp-dir/elasticsearch-5.5.2/bin/elasticsearch.in.sh 17:59:20.931 [Test worker] INFO pl.allegro.tech.embeddedelasticsearch.ElasticServer - Waiting for ElasticSearch to start... 17:59:23.205 [EmbeddedElsHandler] INFO pl.allegro.tech.embeddedelasticsearch.ElasticServer - [2017-11-08T17:59:23,191][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [] uncaught exception in thread [main] 17:59:23.205 [EmbeddedElsHandler] INFO pl.allegro.tech.embeddedelasticsearch.ElasticServer - org.elasticsearch.bootstrap.StartupException: java.lang.RuntimeException: can not run elasticsearch as root 17:59:23.205 [EmbeddedElsHandler] INFO pl.allegro.tech.embeddedelasticsearch.ElasticServer - 	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:127) ~[elasticsearch-5.5.2.jar:5.5.2] 17:59:23.206 [EmbeddedElsHandler] INFO pl.allegro.tech.embeddedelasticsearch.ElasticServer - 	at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:114) ~[elasticsearch-5.5.2.jar:5.5.2] 17:59:23.206 [EmbeddedElsHandler] INFO pl.allegro.tech.embeddedelasticsearch.ElasticServer - 	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:67) ~[elasticsearch-5.5.2.jar:5.5.2] 17:59:23.206 [EmbeddedElsHandler] INFO pl.allegro.tech.embeddedelasticsearch.ElasticServer - 	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122) ~[elasticsearch-5.5.2.jar:5.5.2] 17:59:23.206 [EmbeddedElsHandler] INFO pl.allegro.tech.embeddedelasticsearch.ElasticServer - 	at org.elasticsearch.cli.Command.main(Command.java:88) ~[elasticsearch-5.5.2.jar:5.5.2] 17:59:23.206 [EmbeddedElsHandler] INFO pl.allegro.tech.embeddedelasticsearch.ElasticServer - 	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:91) ~[elasticsearch-5.5.2.jar:5.5.2] 17:59:23.207 [EmbeddedElsHandler] INFO pl.allegro.tech.embeddedelasticsearch.ElasticServer - 	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:84) ~[elasticsearch-5.5.2.jar:5.5.2] 17:59:23.207 [EmbeddedElsHandler] INFO pl.allegro.tech.embeddedelasticsearch.ElasticServer - Caused by: java.lang.RuntimeException: can not run elasticsearch as root 17:59:23.207 [EmbeddedElsHandler] INFO pl.allegro.tech.embeddedelasticsearch.ElasticServer - 	at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:106) ~[elasticsearch-5.5.2.jar:5.5.2] 17:59:23.207 [EmbeddedElsHandler] INFO pl.allegro.tech.embeddedelasticsearch.ElasticServer - 	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:194) ~[elasticsearch-5.5.2.jar:5.5.2] 17:59:23.207 [EmbeddedElsHandler] INFO pl.allegro.tech.embeddedelasticsearch.ElasticServer - 	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:351) ~[elasticsearch-5.5.2.jar:5.5.2] 17:59:23.207 [EmbeddedElsHandler] INFO pl.allegro.tech.embeddedelasticsearch.ElasticServer - 	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:123) ~[elasticsearch-5.5.2.jar:5.5.2] 17:59:23.208 [EmbeddedElsHandler] INFO pl.allegro.tech.embeddedelasticsearch.ElasticServer - 	... 6 more

Apparently this is not an issue of this library.
Elasticsearch cannot be run as root and that is something that is hardcoded into the code after 5.0.0 release (approximately).
Closing.

repo: allegro/embedded-elasticsearch


text:
dedupe.documents.attribute_name does not work

#96 has already been mentioned
and my version is tag 1.0.3, my command is :
dolma dedupe --documents "study/samples/v0/documents//*" --dedupe.documents.attribute_name 'bff_duplicate_documents'  --dedupe.documents.key "metadata.id" --dedupe.skip_empty --bloom_filter.file /tmp/deduper_bloom_filter.bin --no-bloom_filter.read_only --bloom_filter.estimated_doc_count '6_000_000' --bloom_filter.desired_false_positive_rate '0.0001' --processes 188
but I also get the wrong info :
thread '' panicked at src/deduper.rs:156:26:
called Result::unwrap() on an Err value: Custom { kind: Other, error: "Failed to parse rule:  --> 1:1\n  |\n1 | metadata.id\n  | ^---\n  |\n  = expected chain" }
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

got the same issue today, i dont know why too

authors: EdwinRou mathCrazyy

repo: allenai/dolma


text:
How to add new models apart from CLIP?

Hi guys,
Thanks for this amazing work.
I wanted to know if there is a ReadMe/ instructions on how to add new models (apart from CLIP) and do the evaluation.
Thanks :)

You can probably look through this PR to see how I modified AllenAct and added the CLIP models. You can probably do something very similar.
https://github.com/allenai/allenact/pull/329
If you are interested in Habitat, you can dig through my code changes in the habitat branch of this repo: https://github.com/allenai/embodied-clip/compare/ac4339ed7e9bafb5e45fee9c5cf68095f40edee2...habitat
I had written the Habitat training/eval instructions here: https://github.com/allenai/embodied-clip/blob/main/readme_files/baselines_habitat.md
Hope that helps.

authors: apoorvkh shivam-chandhok

repo: allenai/embodied-clip


text:
Keyboard Reopens after Input Confirmation

Only bug I see so far is the keyboard pops back up after hitting the done button.

@minibikemike yep -- I'm not entirely sure what causes this, but it's pretty annoying to me as well. On my phone I have a small down arrow I can press to dismiss the keyboard, but the "done" button does just close and reopen the keyboard :roll_eyes:.
Thank you very much for reporting!


text:
🛑 Redd's Smokehouse BBQ is down

In 30008bf, Redd's Smokehouse BBQ (https://reddssmokehousebbq.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Redd's Smokehouse BBQ is back up in d931649 after 10 minutes.

repo: alliancewebteam/Uptime


text:
Addition of engine rpc-types from reth

Motivation
This pr aims to add engine related rpc-types to alloy.
closes paradigmxyz/reth#5989
PR Checklist

[x] Added Tests
[x] Added Documentation
[ ] Breaking changes

nice job!
now we can replace this in reth-rpc-types and simply reexport everything in the engine module there

on it!
should I create a issue in reth for this, and attach a new pr there now?

repo: alloy-rs/alloy


text:
写的真心不错,加油希望有更好的demo~😄

写的挺好的~加油~..

我都不知道怎么去评论,,只能发issue了~ 哈哈

😀页面右上方的按钮，随便点

呵呵  已经star

repo: allsome/LSYevernote


text:
Duration time for Cucumber Test Scenario displays as "0"

Hello,
Any help for below issue is highly appreciated.
Total duration time for individual test scenario is not being calculated correctly. For example if I have three test steps where each steps took 1 Second then Scenario duration time should display duration as 3 Second. Please see the attached screenshot for further details.
Again any help will be appreciated.
Thanks

@mmuntakim15 hi! Sorry for the delay. Could you please report the issue to related adaptor repository?

repo: allure-framework/allure-core


text:
Unable to generate allure report using allure maven plugin getting "Results directory for module Cloudbrowse tests not found"

Hi,
I am overriding the allure.results.directory and allure.report.directory but I am unable to generate allure report
Below is the error  I am getting
[DEBUG] Configuring mojo ru.yandex.qatools.allure:allure-maven-plugin:2.5:bulk from plugin realm ClassRealm[plugin>ru.yandex.qatools.allure:allure-maven-plugin:2.5, parent: ClassRealm[plugin>org.apache.maven.plugins:maven-site-plugin:3.3, parent: sun.misc.Launcher$AppClassLoader@5c647e05]]
[DEBUG] Configuring mojo 'ru.yandex.qatools.allure:allure-maven-plugin:2.5:bulk' with basic configurator -->
[DEBUG]   (f) resultsDirectory = target/16-21/allure-results_2016_05_19_02_56_AM
[DEBUG]   (f) inputDirectories = target/16-21/allure-results_2016_05_19_02_56_AM
[DEBUG]   (f) reportDirectory = target/16-21/allure-results_2016_05_19_02_56_AM/allure-report
[DEBUG]   (f) reportingOutputDirectory = target/16-21/allure-results_2016_05_19_02_56_AM/allure-report
[DEBUG]   (f) allureMain = ru.yandex.qatools.allure.AllureMain
[DEBUG]   (f) buildDirectory = /Users/a6001074/BBY_Cloudbrowse/target
[DEBUG]   (f) project = MavenProject: com.bby:BBY_Cloudbrowse:0.0.1-SNAPSHOT @ /Users/a6001074/BBY_Cloudbrowse/pom.xml
[DEBUG]   (f) projectRepositories = [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG]   (f) propertiesFilePath = report.properties
[DEBUG]   (f) repositorySession = org.eclipse.aether.DefaultRepositorySystemSession@28369db0
[DEBUG]   (f) version = 1.4.23
[DEBUG]   (f) pluginDescriptor = Component Descriptor: role: 'org.apache.maven.plugin.Mojo', implementation: 'ru.yandex.qatools.allure.report.AlureAggregateMojo', role hint: 'ru.yandex.qatools.allure:allure-maven-plugin:2.5:aggregate'
role: 'org.apache.maven.plugin.Mojo', implementation: 'ru.yandex.qatools.allure.report.AllureReportMojo', role hint: 'ru.yandex.qatools.allure:allure-maven-plugin:2.5:report'
role: 'org.apache.maven.plugin.Mojo', implementation: 'ru.yandex.qatools.allure.report.HelpMojo', role hint: 'ru.yandex.qatools.allure:allure-maven-plugin:2.5:help'
role: 'org.apache.maven.plugin.Mojo', implementation: 'ru.yandex.qatools.allure.report.AllureBulkMojo', role hint: 'ru.yandex.qatools.allure:allure-maven-plugin:2.5:bulk'
[DEBUG] -- end configuration --
[DEBUG] Mapped url: /Users/a6001074/BBY_Cloudbrowse/src/site to relative path: src/site
[WARNING] No project URL defined - decoration links will not be relativized!
[INFO] Rendering site with org.apache.maven.skins:maven-default-skin:jar:1.0 skin.
[INFO] Skipped "Allure" report, file "allure-maven-plugin.html" already exists for the English version.
[INFO] Skipped "Allure" report, file "allure-maven-plugin.html" already exists for the English version.
[DEBUG] Generating /Users/a6001074/BBY_Cloudbrowse/target/site/allure-maven-plugin.html
[INFO] Generating "Allure" report    --- allure-maven-plugin:2.5
[INFO] Generate Allure report (aggregate) with version 1.4.23
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0, ConflictMarker.nodeCount=36, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=29, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=1, ConflictResolver.conflictItemCount=36, DefaultDependencyCollector.collectTime=29, DefaultDependencyCollector.transformTime=1}
[DEBUG] Found 29 dependencies for Dependency {groupId=ru.yandex.qatools.allure, artifactId=allure-bundle, version=1.4.23, type=jar}
[DEBUG] ru.yandex.qatools.allure:allure-bundle:1.4.23
[DEBUG] org.slf4j:slf4j-simple:1.7.12
[DEBUG] org.slf4j:slf4j-api:1.7.12
[DEBUG] ru.yandex.qatools.allure:allure-report-data:1.4.23
[DEBUG] ru.yandex.qatools.allure:allure-report-plugin-api:1.4.23
[DEBUG] ru.yandex.qatools.allure:allure-model:1.4.23
[DEBUG] org.jvnet.jaxb2_commons:jaxb2-basics-runtime:0.9.3
[DEBUG] ru.yandex.qatools.properties:properties-loader:1.5
[DEBUG] commons-beanutils:commons-beanutils-core:1.8.3
[DEBUG] commons-logging:commons-logging:1.1.1
[DEBUG] com.google.inject:guice:4.0
[DEBUG] javax.inject:javax.inject:1
[DEBUG] aopalliance:aopalliance:1.0
[DEBUG] ru.yandex.qatools.allure:allure-commons:1.4.23
[DEBUG] commons-io:commons-io:2.4
[DEBUG] com.fasterxml.jackson.core:jackson-databind:2.3.0
[DEBUG] com.fasterxml.jackson.core:jackson-annotations:2.3.0
[DEBUG] com.fasterxml.jackson.core:jackson-core:2.3.0
[DEBUG] com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.3.0
[DEBUG] org.pegdown:pegdown:1.4.2
[DEBUG] org.parboiled:parboiled-java:1.1.6
[DEBUG] org.parboiled:parboiled-core:1.1.6
[DEBUG] org.ow2.asm:asm:4.1
[DEBUG] org.ow2.asm:asm-tree:4.1
[DEBUG] org.ow2.asm:asm-analysis:4.1
[DEBUG] org.ow2.asm:asm-util:4.1
[DEBUG] org.modelmapper:modelmapper:0.7.3
[DEBUG] org.codehaus.groovy:groovy:2.4.3
[DEBUG] com.google.guava:guava:18.0
[INFO] Generate Allure report to target/16-21/allure-results_2016_05_19_02_56_AM/allure-report
[WARNING] Results directory for module Cloudbrowse tests not found.
[WARNING] Allure report was skipped because there is no results directories found.
[DEBUG] Multipage report: 0 subreports

Here is my POM.xml
<properties>
	<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	<testng.version>6.9.10</testng.version>
	<selenium.version>2.53.0</selenium.version>
	<chromedriver.version>2.53.0</chromedriver.version>
	<safaridriver.version>2.53.0</safaridriver.version>
	<webdrivermanager.version>1.4.3</webdrivermanager.version>
	<mavensurefire.version>2.19</mavensurefire.version>
	<mavencompiler.version>3.5.1</mavencompiler.version>
	<mavensurefirereport.version>2.19</mavensurefirereport.version>
	<allure.version>1.4.23</allure.version>
	<aspectj.version>1.8.9</aspectj.version>
	<alluremaven.version>2.5</alluremaven.version>
	<mavenantrun.version>1.8</mavenantrun.version>
	<timestamp>${maven.build.timestamp}</timestamp>
	<maven.build.timestamp.format>yyyy_MM_dd_hh_mm_a</maven.build.timestamp.format>
	<release.number>16-21</release.number>
	<allure.results.directory>target/${release.number}/allure-results_${timestamp}</allure.results.directory>
	<allure.report.directory>target/${release.number}/allure-results_${timestamp}/allure-report</allure.report.directory>
</properties>
<dependencies>
	<dependency>
		<groupId>org.testng</groupId>
		<artifactId>testng</artifactId>
		<version>${testng.version}</version>
	</dependency>
	<dependency>
		<groupId>org.seleniumhq.selenium</groupId>
		<artifactId>selenium-server</artifactId>
		<version>${selenium.version}</version>
	</dependency>
	<dependency>
		<groupId>org.seleniumhq.selenium</groupId>
		<artifactId>selenium-chrome-driver</artifactId>
		<version>${chromedriver.version}</version>
	</dependency>
	<dependency>
		<groupId>org.seleniumhq.selenium</groupId>
		<artifactId>selenium-safari-driver</artifactId>
		<version>${safaridriver.version}</version>
	</dependency>
	<dependency>
		<groupId>ru.yandex.qatools.allure</groupId>
		<artifactId>allure-testng-adaptor</artifactId>
		<version>${allure.version}</version>
	</dependency>
	<dependency>
		<groupId>io.github.bonigarcia</groupId>
		<artifactId>webdrivermanager</artifactId>
		<version>${webdrivermanager.version}</version>
	</dependency>
</dependencies>
<build>
	<pluginManagement>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-antrun-plugin</artifactId>
				<version>${mavenantrun.version}</version>
				<executions>
					<execution>
						<id>create</id>
						<phase>compile</phase>
						<configuration>
							<target>
								<echo>Creating directory</echo>
								<mkdir dir="${allure.results.directory}" />
							</target>

						</configuration>
						<goals>
							<goal>run</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>${mavensurefire.version}</version>
				<configuration>
					<suiteXmlFiles>
						<suiteXmlFile>src/test/resources/regressionConfig.xml</suiteXmlFile>
					</suiteXmlFiles>
					<testFailureIgnore>false</testFailureIgnore>
					<argLine>
						-javaagent:${HOME}/.m2/repository/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
					</argLine>
					<systemProperties>
						<property>
							<name>allure.results.directory</name>
							<value>${allure.results.directory}</value>
							<name>allure.report.directory</name>
							<value>${allure.report.directory}</value>
						</property>
					</systemProperties>
				</configuration>
				<dependencies>
					<dependency>
						<groupId>org.aspectj</groupId>
						<artifactId>aspectjweaver</artifactId>
						<version>${aspectj.version}</version>
					</dependency>
				</dependencies>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>${mavencompiler.version}</version>
				<configuration>
					<source>1.7</source>
					<target>1.7</target>
				</configuration>
			</plugin>

		</plugins>
	</pluginManagement>
</build>

<reporting>
	<excludeDefaults>true</excludeDefaults>
	<plugins>
		<plugin>
			<groupId>ru.yandex.qatools.allure</groupId>
			<artifactId>allure-maven-plugin</artifactId>
			<version>${alluremaven.version}</version>
			<configuration>
				<resultsDirectory>${allure.results.directory}</resultsDirectory>
				<inputDirectories>${allure.results.directory}</inputDirectories>
				<reportDirectory>${allure.report.directory}</reportDirectory>
				<reportingOutputDirectory>${allure.report.directory}</reportingOutputDirectory>
				<failReportIfEmpty>false</failReportIfEmpty>
			</configuration>
		</plugin>
	</plugins>
</reporting>

did you try to use direct goal report?
                <groupId>ru.yandex.qatools.allure</groupId>
                <artifactId>allure-maven-plugin</artifactId>
                <version>2.5</version>

                <reportSets>
                    <reportSet>
                        <reports>
                            <report>report</report>
                        </reports>
                    </reportSet>
                </reportSets>

Hi Ianwen,
Thanks for the reply. I figured out with the below configuration it is working
resultsDirectory set to "${release.number}/allure-results_${timestamp}"
inputDirectories set to "${release.number}/allure-results_${timestamp}"

We can close this issue.

repo: allure-framework/allure-maven-plugin


text:
Obsidian integration

re opened because of faulty rebase

Can one of the admins verify this patch?

you can test by executing:
export FORGE_URL=http://generator-backend-obsidian.e8ca.engint.openshiftapps.com/forge

Thanks @edewit
[test]

@edewit is that link to the backend something we can add to the code so we can deploy this PR to production?

Current coverage is 68.99% (diff: 100%)

Merging #462 into master will not change coverage

@@             master       #462   diff @@
==========================================
  Files            27         27
  Lines          1161       1161
  Methods         249        249
  Messages          0          0
  Branches        241        241
==========================================
  Hits            801        801
  Misses          360        360
  Partials          0          0

Powered by Codecov. Last update 5453f86...7cc82a8

@edewit I went ahead and merged this. The UI doesn't break hard, there is just a missing backend. So everything else still works. So I merged it.This will allow you to send updates easier as needed.
Thanks for the contribution.

authors: centos-ci codecov-io edewit joshuawilson

repo: almighty/almighty-ui


text:
add instructions for the prod build

formalise the build and push instructions a bit, so we know what we are working towards.

This change is

replaced by https://github.com/almighty/almighty-ui/commit/ec1ba9415acdc0e581cb42c1b5450d1b28b2731c

authors: aslakknutsen kbsingh


text:
feat: Make it possible to "instance" SoLoud?

Description
SoLoud is currently always a singleton. There's a single SoLoud underlying engine, and the Dart API exposes it via SoLoud(). We could go that way but I wonder if it's possible (even easy?) to make SoLoud instanced.
This would mean that every time you call SoLoud(), you'd get a new instance of the engine. You could have multiple running at the same time.
PROs:

Idiomatic way of configuring the engine. For example, we could have final engine = SoLoud(sampleRate: 44100);.
Idiomatic way of passing the engine around. You create an instance, and then you provide it. This is in contrast with the current state, in which you can access the singleton instance via SoLoud() from anywhere. There is no way a controller/facade can "hide" SoLoud() from you via encapsulation.
More robust testing. (One test cannot influence another.)
Easier to avoid bugs such as https://github.com/alnitak/flutter_soloud/issues/31#issuecomment-1985672770, where one part of the app "forgets" to do something and there's a crash in another part of the app.

CONs:

More work.
A breaking change (even the example uses SoLoud() to access the same instance).

Requirements

[ ] Verify that this is even something that the underlying (C++) engine supports
[ ] Calls to SoLoud() create an instance that is independent from all other SoLoud() instances

Hey @alnitak, this will evidently need some thinking, but a first, relatively straightforward thing to answer would be:
Is SoLoud (the underlying C library) capable of being instanced?
If that's not the case, then we can clearly close this issue.

Is SoLoud (the underlying C library) capable of being instanced?

I was thinking about this. Is not possible to have for example 2 SoLoud instances because there can be only one player instance on C side.
But, yes, you can implement final engine = SoLoud(sampleRate: 44100); easily, but this engine will have that sampleRate for its entire life cycle.
So I think we can close this.

Ok, this is really helpful. If it's not possible to have two instances on the C side, it shouldn't be possible to have two instances on the Dart side. This simplifies things. Thanks for the quick reply!

authors: alnitak filiph


text:
Can we make Microcharts Clickable.

I want to make the Microcharts clickable and get the clicked portion data. Is it possible?

Technically it's perfectly doable, and that's a thing I'm working on!
I'm also thinking on how to make an entry visually focused.
Stay tuned!

This issue is a duplicate of #5.

As you can see I am trying to make a half doughnut chart but my labels seems to overlap.Can you guide me in the right path that avoids this overlapping issue.

repo: aloisdeniel/Microcharts


text:
app crashes if we change the audio/video streaming

I found this bug, almost everything is working fine.. But during session if toggle audio/video streaming then during end call, i get error "Unfortunately, app has stopped"

Here is the log:
12-15 11:44:59.117 12082-12082/com.inbox.techdepot I/chromium: [INFO:CONSOLE(1)] "Ending Call By Caller.....", source: file:///android_asset/www/scripts/scripts.js (1)
12-15 11:44:59.119 12082-12082/com.inbox.techdepot I/chromium: [INFO:CONSOLE(1)] "Call Time Stopped", source: file:///android_asset/www/scripts/scripts.js (1)
12-15 11:44:59.222 12082-13342/com.inbox.techdepot D/MediaCodecVideo: EncoderRelease: Frames received: 303. Frames dropped: 1.
12-15 11:44:59.222 12082-13342/com.inbox.techdepot D/MediaCodecVideoEncoder: Java releaseEncoder
12-15 11:44:59.464 12082-12082/com.inbox.techdepot W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
12-15 11:44:59.464 12082-12082/com.inbox.techdepot W/google-breakpad: Chrome build fingerprint:
12-15 11:44:59.464 12082-12082/com.inbox.techdepot W/google-breakpad: 0.0.1
12-15 11:44:59.464 12082-12082/com.inbox.techdepot W/google-breakpad: 18
12-15 11:44:59.464 12082-12082/com.inbox.techdepot W/google-breakpad: 45012863-7d3b-4c30-8ccf-e65394c57d85
12-15 11:44:59.464 12082-12082/com.inbox.techdepot W/google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
12-15 11:44:59.464 12082-12082/com.inbox.techdepot A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 12082 (inbox.techdepot)

I'm having the same trouble ... any solution?

+1

authors: malaniz pavei tezlopchan

repo: alongubkin/phonertc


text:
Update sbt-scalajs, scalajs-compiler, ... to 1.7.0

Updates

org.scala-js:sbt-scalajs
org.scala-js:scalajs-compiler
org.scala-js:scalajs-library
org.scala-js:scalajs-test-bridge

from 0.6.33 to 1.7.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (0.6.33).
You might want to review and update them manually.
CHANGELOG.md

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-js" } ]

labels: library-update, semver-major, old-version-remains

This is included in https://github.com/alonsodomin/cron4s/pull/404 and can be closed.

authors: fthomas scala-steward


text:
Update scalafmt-core to 3.7.9

About this PR
📦 Updates org.scalameta:scalafmt-core from 3.7.6 to 3.7.9
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (3.7.6).
You might want to review and update them manually.
.git-blame-ignore-revs

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalameta", artifactId = "scalafmt-core" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

Superseded by #518.


text:
Autocomplete instructions not available for some screen reading software

We are using the accessibleAutocomplete.enhanceSelectElement option to enhance a select element into an accessible autocomplete.
During testing, we received the following from https://digitalaccessibilitycentre.org/ that we wanted to share with your team:

URL: https://w3c-dev.studio24.dev/forms.html
Key audible feedback from the autocomplete was missing for JAWS users using Edge Chromium and VoiceOver users. No information on how to locate the options were present, and there was no indication that options has filtered.
VoiceOver users were not informed on how to interact with the component (such as by using Explore by touch).
Current code ref(s):
<input aria-expanded="false" aria-owns="destination__listbox" aria-autocomplete="both" autocomplete="off" class="autocomplete__input autocomplete__input--show-all-values" id="destination" name="" placeholder="" type="text" role="combobox" aria-describedby="destination__assistiveHint">
Screen reader comments:
JAWS: browsing with Microsoft Edge Chromium I was not advised of how to locate the options using any method of navigation. Once I entered characters, I was not informed that options were filtering and in a non-testing environment would not have been aware that I could filter content.
VoiceOver: I was advised that options were filtering once I entered characters, but no prompt advised me that I needed to explore by touch. As a highly experienced screen reader analyst I was aware of how to locate the options, but less experienced users might be unaware that they must explore by touch to locate the content.
TalkBack: I was given a prompt when in context of how to use the auto complete feature and could select an option.
Ensuring that screen reader users are advised on how to navigate to and select an option with all software will avoid any difficulty.”
Issue consistent for the following pages:
The W3C team
Journey 2 step 2
The W3C team | W3C Redesign Prototypes (studio24.dev)
Members
Journey 2 step 3
https://w3c-dev.studio24.dev/listing-members/index.html
Solution:
Ensure the autocomplete instructions on how to interact with the feature and its functionality when filtering options is available for all users of assistive technology.
Please refer to the GOV.UK Design System for accessible autocomplete examples.
Note: We have not tested the GOV.UK Design System features in Microsoft Edge as this is not part of the testing matrix for GOV.UK Design System so were unaware that this was an issue in this browser and appears to be browser specific. Does not prevent users from making a selection.

Just a note that I tested VoiceOver in Safari and that still seems to be working fine. I presume this is the more common browser combo for VoiceOver (hopefully gds can confirm). I wonder though if the testing matrix should include Edge...

authors: NicolaSaunders edwardhorsford

repo: alphagov/accessible-autocomplete


text:
Make Asset#uuid read-only

Possibly using Mongoid::Attributes::Readonly::ClassMethods#attr_readonly.

I've opened PR #209 to make Asset#uuid read-only.

PR #209 has been merged so this issue can be closed.

authors: chrisroos floehopper

repo: alphagov/asset-manager


text:
Remove redness from positive output

When the tests succeed, I see:

✔ 18 stubs passed (green)
✘ 0 stubs failed (red)

Can we make turn that red into black or something when there are 0 failures? My eyes immediately jump to red console output.

Thank you for raising this PR but as this system is now in reactive maintenance mode this change is unlikely to be made. And hasn't been in the 5 years since it was raised.
👋 @alexmuller

👍

authors: alexmuller deanwilson

repo: alphagov/cheapseats


text:
Catch lock version conflicts in PublishLinks and retry

This commit changes the PublishLinksWorker to catch GdsApi::HTTPConflict exceptions when calling patch_links, and to retry such jobs without reporting the exceptions to errbit.
Trello: https://trello.com/c/JYnN3C7L/466-don-t-report-merge-conflicts-in-content-tagger-to-errbit

Those conflicts are caused by a classic concurrency issue.
links = read_links
links << new_links
write_links(links)

So this can happen:
links = read_links
links << new_links
# somebody else edits links in publishing-api
write_links(links) # now fails

It might make more sense to retry the `BulkTagging::PublishLinks call something like 5 times, instead of using Sidekiq to do this. Thoughts?

Yup, I've used the pattern from https://github.com/alphagov/rummager/blob/eb1fde14bde10f22d24e2183643c6a4c16576421/lib/services.rb so that we immediately retry up to 5 times and then defer back to Sidekiq to do its thing.

authors: rubenarakelyan tijmenb

repo: alphagov/content-tagger


text:
PYIC-3629 Removed the redundant service credential-issuer-config-service

Proposed changes
Refactor and remove the service credential-issuer-config-service.
What changed
Removed the redundant service credential-issuer-config-service.

Why did it change

Issue tracking

PYIC-3629

Checklists
Environment variables or secrets

[ ] No environment variables or secrets were added or changed

[ ] Documented in the README
[ ] Added to deployment repository
[ ] Added to local startup repository

Other considerations

[ ] Update README with any new instructions or tasks

Tested in local dev env for happy path.

repo: alphagov/di-ipv-core-back


text:
🏀  Baller maintenance page 🏀

Adding a maintenance page template that looks like our 404 page.
Started with the 404 page HTML and then made a bunch of small changes.  Second commit is probably the most interesting one. Also did some magic behind the scenes to crunch down all that CSS, but it's still gonna weigh in at ~2000 lines.  (aside: our reset CSS rules are repeated 8(!) times in our compiled application.css. 😱 )
@tracy-content's had a look at this, so I've removed the WIP.
current screenshot

Note
I've created a repository that does all of the CSS munging.  If you want to update the maintenance page or create more static pages with our Digital Marketplace styles, it's a good place to start.  Find it here: https://github.com/alphagov/digitalmarketplace-maintenance

Is there a separate page for when we take things down for a long time?

Nope. This is it, Kev.

Could there be a script which generates this based on some template plus the shared CSS? Seems like it would be nice if this could update automatically if we change our styles.

Should we drop the word "short" then? Or are we optimistic about being able to recover quickly from any unforseen disaster?

@galund, I have a local repo that automates some of the process of getting the styles into the page but not all of it. Happy to share it more widely.
Specifically, the steps are:

Copy + paste the compiled CSS from the buyer app
Run a script to cut down all the CSS rules
Copy + paste the compiled CSS into the  page<head>

Changing the words and the links to gov.uk assets is all manual.

As to your specific point, my feeling is that this page probably will rarely change because it will even less rarely be used. I would assume it's probably less time to do the manual steps once in a blue moon than to write more code to automate creating more of this page.

Yeah, if you've got code, then add a note to the readme file here, and put some more detail into the readme for your new repo? Seems like a worthwhile thing to have exist, even if it's only a partial solution and some of the steps are manual.

@galund, Hey, I've pushed up my repo. Look for it here: https://github.com/alphagov/digitalmarketplace-maintenance
@TheDoubleK, Hey Kev, Alexey says that the "shortly" is fine because we're not expecting to have this page up for more than a day at any point.

Think you could do with adding a more current screenshot with the new content.

 Maintenance page html file

I think this is probably ready to go 👍

authors: TheDoubleK carolinegreen galund pcraig3

repo: alphagov/digitalmarketplace-aws


text:
Clarify clarification copy

For this story: https://www.pivotaltracker.com/story/show/117811455

Looks like the prototype
👍

I'm looking at getting all the content in one place (i.e. here), so will hold off merging for now.

repo: alphagov/digitalmarketplace-frameworks


text:
Optionally put hint underneath selection buttons

I wonder (and this is just that, not a solid reckon) if we should be adding position to the hint parameter and making that of the language we use to describe questions?
Like: hint-below-question and hint-below-answers
...rather than
hint and hint-below-answers
(Like the rules we use for CSS class names.)

authors: quis tombye


text:
Bump backstopjs to 5.3.2

On backstopjs 5.1 and above we were seeing test failures with very minor rendering differences to the reference images, and also fonts not always loading.
We are not the only people seeing these problems - see [1] and [2]. In those issues, the author of backstopjs suggests that this is actually an issue with puppeteer, and another user suggests adding these lines to onReady.js to force the engine to wait for the fonts to load and ensure the window is always in the same place before taking a screenshot.
We already merged this in #68, however reverted it in #69 because we thought it hadn't fixed the problems. I opened a new PR rather than reverting the revert so out Git history is a bit more sensible.
Some more research showed that the CSS problems with text overflow on mobile are actually a separate bug with the GOV.UK Design System[3].
Therefore we can merge this again and it'll hopefully fix the problems we can address and allow us to stay up to date with backstop.

My plan is to grab 🦍 , merge the PR, run the VR tests, check it looks ok (other than the bug we now know about), approve and re-run. Then if it's the same I'll leave these changes in and if there are still flaky minor differences I'll revert once more.


text:
Add events and workshops section to host DSDay on DS website

Here's an MVP for hosting information about upcoming and previous events & workshops, as well as a place to store the materials (slides, videos, notes) produced by an event. I've focused on generating content for Design System Day mainly, but the information architecture could support the accessibility workshops we're running too.
I am not beholden to the content, and would be very accepting of someone giving it a review and making improvements! It's a starter-for-ten that we can build on.
The only convention I've set is as follows:

/community/design-system-day/ always describes the upcoming event or the event in general
/community/design-system-day-[year]/ is the archive page for an event which collects the videos, slides and notes for a particular conference

This means that links to /community/design-system-day/ can always encourage ticket sales or mailing list subscriptions. It also means the page retains any Google juice from people searching for design system conference or similar. An event will need archiving by creating a dedicated page for it, with the year of the event in the URL, after a conference has finished.
The GDS blogs will be helpful in sharing information with our audience, but they're not the only channel we engage users through. Blog posts will complement any promotion we do, but they cannot be the only method for our community to engage with us over time. These pages give us a place to keep things and share links well into the future.

Nice one getting a start on this!
I've committed an MVP edit for everything, will add some notes for open questions. Also mindful we'll want to share this page with whoever's on comms for DSDay.

repo: alphagov/govuk-design-system


text:
Fix titles and sections

This fixes a bunch of titles to make them descriptive and consistent. See commits for details.
https://trello.com/c/l33LPxcU

Looks good to me 👍

authors: klssmith tijmenb

repo: alphagov/govuk-developer-docs