text:
Remove standard signature from models and move it to servers

WIP
You can check this with code (assuming you have a mlem model at "sklearn")
from mlem.api import serve
from mlem.contrib.fastapi import FastAPIServer
from mlem.core.metadata import load_meta
from mlem.core.model import Argument, Signature
from mlem.core.objects import MlemModel
from mlem.runtime.interface import InterfaceDescriptor

def main():
    serve("sklearn", "fastapi", standardize=True)
    #
    serve("sklearn", "fastapi", standardize=False)

    model = load_meta("sklearn", force_type=MlemModel)
    predict = model.model_type.methods["predict"]
    desciptor = InterfaceDescriptor(version="", methods={
        "kek": Signature(name="kek",
                         args=[Argument(name="lol", type_=predict.args[0].type_)],
                         returns=predict.returns)
    })
    serve("sklearn", FastAPIServer(interface=desciptor), standardize=False)

if __name__ == '__main__':
    main()

Need to check how this will work for builds/deployments
closes #445

Is this still WIP? If yes, it is better to indicate in title :P

It's a WIP because I need your feedback to continue :)

Will review today

@mike0sv, thanks for the example - it was VERY helpful.
Tried your script, how it works looks good to me.

Unifying endpoints is not something we got requests for yet, so keeping it simple (2 endpoints instead of 4 makes sense to me). I know I suggested this in the very beginning 😅 , so maybe strange to hear this from me, but simple and straighforward is better here IMO - and then we can improve.
For this very reason I don't have any feedback about InterfaceDescriptor - let's wait until someone use it and then we can improve.
Will serve("sklearn", "fastapi", standardize=True) rename the endpoint as well? (not only arguments)
serve("sklearn", FastAPIServer(interface=desciptor), standardize=True) - it uses custom interface even standardize=True - confusing to me. Should throw away some error maybe? Or standardize stuff (was assuming the flag gets priority here TBH, but maybe someone else can assume otherwise).

Yes
I use "more granular setting takes preference", so flag is overrided by custom server signature. We can add this to the docstring
Actually, it might be better to move this field to Server class so it can be configured "permanently"

Actually, it might be better to move this field to Server class so it can be configured "permanently"

Yes, that makes sense to me!

Hmm, tests pass, but when trying to run your code snippet from the first message, I get this:

INFO:     127.0.0.1:59115 - "GET /openapi.json HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 404, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
    return await self.app(scope, receive, send)
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.10/site-packages/fastapi/applications.py", line 270, in __call__
    await super().__call__(scope, receive, send)
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.10/site-packages/starlette/applications.py", line 124, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 75, in __call__
    raise exc
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 64, in __call__
    await self.app(scope, receive, sender)
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
    raise e
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.10/site-packages/starlette/routing.py", line 680, in __call__
    await route.handle(scope, receive, send)
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.10/site-packages/starlette/routing.py", line 275, in handle
    await self.app(scope, receive, send)
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.10/site-packages/starlette/routing.py", line 65, in app
    response = await func(request)
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.10/site-packages/fastapi/applications.py", line 225, in openapi
    return JSONResponse(self.openapi())
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.10/site-packages/fastapi/applications.py", line 200, in openapi
    self.openapi_schema = get_openapi(
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.10/site-packages/fastapi/openapi/utils.py", line 423, in get_openapi
    definitions = get_model_definitions(
  File "/Users/aguschin/.local/share/virtualenvs/mlem-Utz6DvOn/lib/python3.10/site-packages/fastapi/utils.py", line 45, in get_model_definitions
    m_schema, m_definitions, m_nested_models = model_process_schema(
  File "pydantic/schema.py", line 580, in pydantic.schema.model_process_schema
  File "pydantic/schema.py", line 621, in pydantic.schema.model_type_schema
  File "pydantic/schema.py", line 254, in pydantic.schema.field_schema
  File "pydantic/schema.py", line 461, in pydantic.schema.field_type_schema
  File "pydantic/schema.py", line 922, in pydantic.schema.field_singleton_schema
KeyError: <class 'pydantic.main.DataFrameRow'>

pydantic==1.10.2
This is for both old models (4 methods for iris classifier) and new (2 methods).

just fyi, the problem is still there)

That was wrongdoings of #469 :)

authors: aguschin madhur-tandon mike0sv


text:
Filter out empty people/id's

Some ID's in the FDND whois API are empty, so I dont want them to display or even get fetched.

By using trim I filter out people with an empty ''name'' field.
I did this in the page.js file before passing the data to the Svelte component.
// Filter out people with no name
      const filteredPersons = data.data.filter(person => person.name && person.name.trim() !== '');

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
[Snyk] Upgrade @types/node from 20.12.8 to 20.12.11

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade @types/node from 20.12.8 to 20.12.11.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 3 versions ahead of your current version.

The recommended version was released on 21 days ago.

Release notes

Package name: @types/node

20.12.11 - 2024-05-08

20.12.10 - 2024-05-06

20.12.9 - 2024-05-06

20.12.8 - 2024-05-01

    from @types/node GitHub release notes

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

minor update

source: gharchive/pull-request

repo: itscharukadeshan/ClipThread-API


text:
Increment Version

@JuliaRegistrator register() ACTRModels v0.4.1

Error while trying to register: "Tag with name v0.4.0 already exists and points to a different commit"

@JuliaRegistrator register() ACTRModels v0.4.1

Registration pull request created: JuliaRegistries/General/22590
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.4.1 -m "<description of version>" ba0b6eb757eebf389ecec69fcac2ea73c30c9c68
git push origin v0.4.1

authors: JuliaRegistrator itsdfish


text:
6211-100503D Магомедагаев Анзор Абдулгамидович  Лаб.2 Вар.10

ФИО: Магомедагаев Анзор Абдулгамидович
Номер группы: 6211
Номер лабораторной: 2
Номер варианта: 10
Краткое описание решаемой задачи: Согласно варианту 10 лабораторной 2 мне нужно было скачать от 50 до 1000 изображений змей и составить CSV-аннотацию, содержащую абсолютные и относительные пути к изображениям. А также написать итератор по изображениям..
Краткое описание работы кода:  Модуль icrawler.py загружает изображения змей. Модуль annotations_csv.py создает файл аннотаций к изображениям. Модуль iterator.py выполняет роль итератора по изображениям. Модуль main.py является точкой входа в приложение. Чтобы запустить его, необходимо указать аргументы командной строки: python main.py  (ключевое слово для поиска) <path_to_images> (путь к директории, куда будут сохранены изображения) <path_to_csv> (путь к csv-аннотации) `.

все исправлено

repo: itsecd/application-programming-labs


text:
[feature] 不只是整车的代码，还有工具收集

Clear and concise description of your idea
1.希望可以同步整理一些工具，比如说摄像头的透传，或者一些好用的上位机等
2.讨论的地方可以扩展一下，Gitter不是很常用，可以换到Discord或者Kook
Describe how the idea would be helpful
.
Additional context
No response
Validations

[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Remember to follow the community guidelines and be friendly.

感谢您的建议！
关于第2点，Gitter其实在开源社区中也是较为常用的即时通讯工具。另外，Github自带的discussions功能也是一个很棒的平台，与gh直接集成并且用户无需另外注册账号即可参与讨论。但有些可惜的是，从项目开源至今不到两周的时间，这两个讨论板都没怎么得到广泛使用。
关于第1点，仓库目前是想方便车友们找到优秀的开源项目做参考代码。另外对于工具而言，每个人的喜好不同很难筛选出好用的标准。就像有人喜欢用VSCode有人喜欢Keil有人喜欢用IAR一样。即使是小到像串口助手这样的工具，也有Tabby或是XCOM/SSCOM等等喜好之争。
我觉得更好的方式是，在收集表格里面找到自己喜欢的开源项目，然后点进对应项目里看作者有没有附加自己的调车经验文章，参考自己喜欢的作者的文章进程工具的使用和开发。
或是在github discussions等讨论版开一个讨论贴让大家一起讨论。
由我或其他贡献者个人的喜好整理工具，太过于主观化了不能给所有人参考。

我觉得大可以开一个工具集和大全，把大家收集到的工具全都堆进去，然后让用的人自己挑选。可以参考oi-wiki，逐步建立一个包含开源工程、工具集、常见算法、数据集、教程甚至与硬件结构、通用电路的wiki，而不是单单只做开源工程的收集。作为一个在三年内连续获得了四个国二的菜鸡，我认为智能车又不只有开源工程，芯片会变，IDE环境会变，开源出来的工程可能会随着时间的变化不能使用，但是算法的思想是不会变的，这是我应该被精炼和传承的，而不是一上来就把一大坨开源工程堆在那里。我认为readme里对于这个项目的定义一下将就把这个东西锁死了。

还有另一个情况在于，一个project往往代表着一个团队的意义，我认为如果要开project，要得到全队人的同意，但是算法的片段、调试经验、开发工具这些东西往往来自一个人的贡献，是比较容易从整个大的项目里分离出来开源的，而且工具的传承性会比项目长很多，比如我去年和前年的信标算法是我自己写的，系出同源，我其实可以大可以把算法放出来，但是不能放工程，因为工程里有地方参考了祖传的实现，我个人认为不大方便放。我认为有类似想法的人应该会有一部分。
再谈到工具，我们队里面有一个自己写的调参上位机，开源已经两年了，并且在持续的更新和调优，但是从反馈来看，没人用，甚至没人试图了解怎么用。

综上所述，我建议如果您真的准备推进智能车的开源这一宏图伟业，应当慎重的重新思考这个仓库是否只局限于收集工程。 当然以上只是一个做了三年都没有一个国一的菜鸡的粗浅的理解，可能有冒犯或者不妥之处，还望您海涵。

感谢你分享了你的看法和经验！
我很赞同你所说的，智能车不仅仅只是关于开源，也有许多的算法思想、调试经验和开发工具等。这种多方面的知识确实是宝贵的。
但我也在犹豫的地方是，智能车竞赛其实更多的是一个工程类竞赛，与ACM那样纯算法类竞赛还是有所不同的。在工程实践中，很多东西并不是单纯的数学公式或算法可以描述的和比较优劣的。
就比如PID调参，基本上每个人都有自己的经验和方法，而这种经验和方法也很难量化和比较，遇到关于经验方面的争议要如何取舍就会是个问题。另外我自己也尝试过用Matlab仿真PID调参，但实际效果与稳定性也没那么理想，像这种实验性内容是否应该被纳入网页收集也是个值得考虑的问题。
不过，如果能建立像oi-wiki那样的资源库会非常价值。但在开始这样的项目也需要多考虑一些细节，尤其在做网页来面向新入坑的车友的时候时。我们必须提前考虑和规划许多细节和社区指导。
目前我仅停留在了收集开源链接的层面。让大家能在收集表中找到自己喜欢的开源项目，进而看作者是否分享了自己的经验。让车友们能根据自己喜欢的开源作者的文章进行工具的选择和开发。
最后，你并不是“做了三年都没有一个国一的菜鸡”啦，你的建议，见解以及经验都非常有价值。我也感谢你对这个项目的建议和反馈！我创建这个开源仓库的初衷就是为了尽我所能地协助新入坑的车友们。我的能力和思路也是有局限性的，但我坚信即使小小的努力也可以为推广开源文化做出贡献，就先从做一些微小的工作开始啦。我会努力让这个仓库更有价值，如果你还有其他想法或补充，欢迎随时与分享和讨论。
另外可能建个QQ群会比较好？感觉即时交流和讨论可能更有效果

感谢您的建议！
关于第2点，Gitter其实在开源社区中也是较为常用的即时通讯工具。另外，Github自带的discussions功能也是一个很棒的平台，与gh直接集成并且用户无需另外注册账号即可参与讨论。但有些可惜的是，从项目开源至今不到两周的时间，这两个讨论板都没怎么得到广泛使用。
关于第1点，仓库目前是想方便车友们找到优秀的开源项目做参考代码。另外对于工具而言，每个人的喜好不同很难筛选出好用的标准。就像有人喜欢用VSCode有人喜欢Keil有人喜欢用IAR一样。即使是小到像串口助手这样的工具，也有Tabby或是XCOM/SSCOM等等喜好之争。
我觉得更好的方式是，在收集表格里面找到自己喜欢的开源项目，然后点进对应项目里看作者有没有附加自己的调车经验文章，参考自己喜欢的作者的文章进程工具的使用和开发。
或是在github discussions等讨论版开一个讨论贴让大家一起讨论。
由我或其他贡献者个人的喜好整理工具，太过于主观化了不能给所有人参考。

关于我的第二点，首先声明一点，虽然现在机场的价格并不高，但是不可否认的是有很多新入门的车友并没有具备上github等网站的条件，所以我觉得是不是需要有一个国内能轻松联系上的方法，而不是看着圈圈发呆。
至于第一点，我觉得做这个项目的初衷不应该是“推荐”工具，我们也不应该去“筛选出一个好用的标准”，我们只是一个工具的集合，方便各位车友找到自己需要的工具，而不需要去搜索引擎上大海捞针。

我觉得大可以开一个工具集和大全，把大家收集到的工具全都堆进去，然后让用的人自己挑选。可以参考oi-wiki，逐步建立一个包含开源工程、工具集、常见算法、数据集、教程甚至与硬件结构、通用电路的wiki，而不是单单只做开源工程的收集。作为一个在三年内连续获得了四个国二的菜鸡，我认为智能车又不只有开源工程，芯片会变，IDE环境会变，开源出来的工程可能会随着时间的变化不能使用，但是算法的思想是不会变的，这是我应该被精炼和传承的，而不是一上来就把一大坨开源工程堆在那里。我认为readme里对于这个项目的定义一下将就把这个东西锁死了。

首先膜拜一手大佬

然后讲讲我的看法
首先是对开源工程的收集，我觉得重点是对项目的简洁和整理，提炼重点，而不是在一堆库文件里面大海捞针找自己需要的部分。如果说需要精炼算法的话，我觉得CSDN上面有些文章可能更加详细一点，我觉得智能车开源项目应该更加关注于各个组件之间的协作，和对算法的一些就实际情况的改造或者效率优化，一些算法精度与算开销间的取舍等等。
智能车开源究竟是开源什么？
我觉得这才是我们应该思考的问题，是整个项目，还是代码，还是工具，还是说是个人经验？我觉得这一点才是我们需要考虑的

感谢您的建议！
关于第2点，Gitter其实在开源社区中也是较为常用的即时通讯工具。另外，Github自带的discussions功能也是一个很棒的平台，与gh直接集成并且用户无需另外注册账号即可参与讨论。但有些可惜的是，从项目开源至今不到两周的时间，这两个讨论板都没怎么得到广泛使用。
关于第1点，仓库目前是想方便车友们找到优秀的开源项目做参考代码。另外对于工具而言，每个人的喜好不同很难筛选出好用的标准。就像有人喜欢用VSCode有人喜欢Keil有人喜欢用IAR一样。即使是小到像串口助手这样的工具，也有Tabby或是XCOM/SSCOM等等喜好之争。
我觉得更好的方式是，在收集表格里面找到自己喜欢的开源项目，然后点进对应项目里看作者有没有附加自己的调车经验文章，参考自己喜欢的作者的文章进程工具的使用和开发。
或是在github discussions等讨论版开一个讨论贴让大家一起讨论。
由我或其他贡献者个人的喜好整理工具，太过于主观化了不能给所有人参考。

关于我的第二点，首先声明一点，虽然现在机场的价格并不高，但是不可否认的是有很多新入门的车友并没有具备上github等网站的条件，所以我觉得是不是需要有一个国内能轻松联系上的方法，而不是看着圈圈发呆。
至于第一点，我觉得做这个项目的初衷不应该是“推荐”工具，我们也不应该去“筛选出一个好用的标准”，我们只是一个工具的集合，方便各位车友找到自己需要的工具，而不需要去搜索引擎上大海捞针。

添加了Discord和QQ的链接 (17655c95c49f02aeeaf75eb52870ec306ad46d56)
其实，为了大家在各种网络环境和设备下都能轻松访问这个项目，除了标准的GitHub Pages，我还特意提供了Netlify和Vercel的镜像网站作为备选。
对于有意直接参与项目修改的，关于如何加速访问Github仓库这个老生常谈的话题，百度简单搜一下就能检索到许多解决方案，使用网络代理也不是唯一的方法。仓库始终欢迎大家积极参与讨论与交流，但也希望先做基本的自我努力去百度一下。
最后，通过Github Discussions公开的讨论内容很可能会被搜索引擎索引，这意味着更多有相似疑问或需求的人可以从中受益。而Gitter则在提供即时通讯的功能基础上与Github也提供了集成。我依然推荐首选使用 Github Discussions

authors: half-nothing huoxingdawang ittuann

repo: ittuann/Awesome-IntelligentCarRace


text:
Changing the name of the library to privug instead of privugger?

Since we are developing a library, it seems more appropriate to call it privug. What do you think?

We keep it as privugger to differentiate from the actual method.

repo: itu-square/privugger


text:
Ability to run two minecraft server instances on the same machine

Enhancement Type
Not sure
Describe the enhancement
Not sure if this is already supported.
If so, the request is for documentation on how to do it.
So far I've discovered that just running separate containers doesn't work because the second server kills the first server.
Even with different:

ports
data directories
MOTD

Server 1 docker-compose.yml:
services:
  mc:
    image: itzg/minecraft-server
    ports:
      - 25565:25565
    environment:
      MOTD: "lunar-one"
      EULA: "TRUE"
      ENABLE_RCON: "true"
      RCON_PASSWORD: ${RCON_PASSWORD}
      RCON_PORT: 28016
      restart: always
    volumes:
    - /minecraft/docker-compose/data:/data

Server 2 docker-compose.yml
services:
  mc:
    image: itzg/minecraft-server
    ports:
      - 27777:25565
    environment:
      MOTD: "ben-one"
      EULA: "TRUE"
      ENABLE_RCON: "true"
      RCON_PASSWORD: ${RCON_PASSWORD}
      RCON_PORT: 28616
      restart: always
    volumes:
    - /ben/minecraft/docker-compose/data:/data

Here is the log from the first server when the second server is started:
2022-01-02T22:37:15.769Z	ERROR	mc-server-runner	Failed to stop using rcon-cli	{"error": "exit status 1"}
2022-01-02T22:37:15.769Z	INFO	mc-server-runner	Sending 'stop' to Minecraft server...
2022-01-02T22:37:15.769Z	INFO	mc-server-runner	Waiting for completion...

So, something in the second server kills the first server.

Btw, I'm surprised that one docker container can kill another one with different ports and volumes, never seen that happen in the 6+ years I've been using docker.
I thought that isolation would prevent the that.
What an I missing?

Note: changing ENABLE_RCON to false doesn't prevent the second server from stopping the first server
(so presumably RCON isn't the culprit).

I believe a different folder name where the docker-compose file is stored should also help

davidmoshal, could you share how you got 2 Minecraft servers running on the same docker (in separate containers). what settings did you end up using to make it work? I'm still getting a port conflict (port wont bind) when I try to start the second minecraft server

@Marshin386 just change the host (left-side) part of the port mapping to choose unique host ports such as 25566 on mc2:
version: "3"

services:
  mc1:
    image: itzg/minecraft-server
    ports:
      - "25565:25565"
    environment:
      EULA: "TRUE"
    volumes:
      - ./mc1-data:/data
  mc2:
    image: itzg/minecraft-server
    ports:
      - "25566:25565"
    environment:
      EULA: "TRUE"
    volumes:
      - ./mc2-data:/data

Stack from first server

version: "2"
services:
minecraft-server:
image: itzg/minecraft-server:java17
container_name: MC118
network_mode: host
environment:
- PUID=998
- PGID=100
- EULA=TRUE
- VERSION=LATEST
- MEMORY=8G
- ANNOUNCE_PLAYER_ACHIEVEMENTS=true
- ALLOW_NETHER=true
- GENERATE_STRUCTURES=true
- PVP=false
ports:
- 25565:25565
volumes:
- /srv/dev-disk-by-label-data/MC118:/data
restart: unless-stopped
Stack from second server (that won't start because of a port conflict) see attached copy of docker log from second server trying to start

version: "2"
services:
minecraft-server2:
image: itzg/minecraft-server:java17
container_name: minecraft2
network_mode: host
environment:
- PUID=998
- PGID=100
- EULA=TRUE
- VERSION=LATEST
- MEMORY=8G
- ANNOUNCE_PLAYER_ACHIEVEMENTS=true
- ALLOW_NETHER=true
- GENERATE_STRUCTURES=true
- PVP=false
ports:
- 25566:25565
volumes:
- /srv/dev-disk-by-label-data/minecraft2:/data
restart: unless-stopped
docker log copy second server.txt

@Marshin386 network_mode: host -- that's your problem

Thank you, took me a few to realize I just needed to remove the line (not necessary to run)
able to now run more than one at a time now.

repo: itzg/docker-minecraft-server


text:
only download world if there is no preexisting world

My world just got overwritten when i re-created the container. this should hopefully solve it..

it's all fine, i have off-site backups :)
probably my fault tho, i made the edit to the dockerfile that the unzip should overwrite, after i had problem with the unzip failing if the zip file had a settings file etc.

Ah :). This is now available on Docker Hub.

authors: itzg mattiaskagstrom

repo: itzg/dockerfiles


text:
[Feature] Support for DragonBones

It would be great if polycode had support for DragonBones. It is a free and OpenSource Spine Alternative that will allow people to animate with bones instead of having to make sprite sheets if they wish.

Please don't post feature requests as issues. If you would like to discuss this, post on the polycode site forum.

authors: carlosmarti ivansafrin

repo: ivansafrin/Polycode

license: mit

license_source: bigquery


text:
Fix parsing frameworks whithout an url

This PR fixes https://github.com/esp-rs/esp-idf-sys/issues/49.

Thanks for the fix!

repo: ivmarkov/embuild


text:
not able to install dependencies

When I ran "pip install -r requirements.txt", I am getting output as command not found.
please help me

Make sure pip is install noob..

@ssapkota93 try pip3 install -r requirements.txt instead. If this won't help, check your installed python and pip version: python --version or python3 --version

authors: TechWithTy ivnvxd ssapkota93

repo: ivnvxd/hack-interview


text:
alb type discovers Network load balancers too but does not collect metrics

I have this simple configuration.
discovery:
  exportedTagsOnMetrics:
    alb:
      - Name
  jobs:
  - type: "alb"
    region: us-west-2
    metrics:
      - name: UnHealthyHostCount
        statistics: [Maximum]
        period: 60
        length: 600

It works great and it discovers 12 Load balancers that are running. 3 of these LBs are Network Load Balancers. when it comes to metrics, it only exposes metrics for the Application Load Balancers.
Is there a way to collect metrics for NLBs? or I am missing something here.

Hey @peimanja (@vdczzz @bheight-Zymergen as you upvoted) -  Added NLB. Would be nice if you try it out and give me some feedback. As i am not using them internally it is hard to test the real world use cases.
Greetings, Thomas

@peimanja - They are not prefixed with nlb if you use type: "nlb"? That would be a bug. Or do you still use type: alb and it works?

@peimanja - They are not prefixed with nlb if you use type: "nlb"? That would be a bug. Or do you still use type: alb and it works?

My bad! it is all good.
aws_nlb_info{name="arn:aws:elasticloadbalancing:us-west-2:*****:loadbalancer/net/prod-vault-cluster/33c0dc7c22f009bd",tag_Name="prod-vault-cluster"} 0
# HELP aws_nlb_new_flow_count_maximum Help is not implemented yet.
# TYPE aws_nlb_new_flow_count_maximum gauge
aws_nlb_new_flow_count_maximum{dimension_LoadBalancer="net/abp-concoursewindows-worker-lb/63158d07ac87a469",name="arn:aws:elasticloadbalancing:us-west-2:*******:loadbalancer/net/abp-concoursewindows-worker-lb/63158d07ac87a469"}

Noticed couple issues:

NLBs still shows up in ALB and ELB metrics:

aws_alb_info{name="arn:aws:elasticloadbalancing:us-west-2:******:loadbalancer/net/abp-concoursewindows-worker-lb"}
aws_elb_info{name="arn:aws:elasticloadbalancing:us-west-2:******:loadbalancer/net/abp-concoursewindows-worker-lb/63158d07ac87a469"}
aws_nlb_info{name="arn:aws:elasticloadbalancing:us-west-2:******:loadbalancer/net/abp-concoursewindows-worker-lb/63158d07ac87a469"}

for NLB, metrics with one dimension like new_flow_count get collected but multiple dimensions  metrics such as HealthyHostCount and UnHealthyHostCount are not getting collected. Even when specifying additionalDimensions and setting it to LoadBalancer or TargetGroup or both like:

  - type: "nlb"
    region: us-west-2
    additionalDimensions: [LoadBalancer, TargetGroup]
    metrics:
      - name: HealthyHostCount
        statistics: [Maximum]
        period: 300
        length: 600
      - name: UnHealthyHostCount
        statistics: [Maximum]
        period: 300
        length: 600

Same metrics are getting collected as expected for ALB even without setting the additionalDimensions:
  - type: "alb"
    region: us-west-2
    metrics:
      - name: UnHealthyHostCount
        statistics: [Maximum]
        period: 300
        length: 600
  - type: "alb"
    region: us-east-1
    metrics:
      - name: UnHealthyHostCount
        statistics: [Maximum]
        period: 300
        length: 600

Thanks will try to debug this the next days. AWS made really "interesting" things with load balancers.

Closing as no answer.

authors: peimanja thomaspeitz

repo: ivx/yet-another-cloudwatch-exporter


text:
asg + ec2 metrics

Hello
in some reason, I don't see asg and ec2 metrics
this is my yml file:
discovery:
exportedTagsOnMetrics:
ec2:
- Name
- environment
- line
asg:
- Name
- environment
- line
- ansible_role
- version
ebs:
- VolumeId
rds:
- environment
alb:
- Name
- environment
- line
jobs:

region: us-east-1
type: "rds"
searchTags:

Key: monitor
Value: ^true$
metrics:
name: CPUUtilization
statistics:

'Average'
period: 60
length: 300

name: CPUUtilization
statistics:

'Minimum'
period: 60
length: 300

type: "ec2"
region: us-east-1
searchTags:

Key: monitor
Value: ^true$
metrics:
name: CPUUtilization
statistics:

'Minimum'
period: 60
length: 300

name: CPUUtilization
statistics:

'Average'
period: 60
length: 300

name: CPUUtilization
statistics:

'Minimum'
period: 60
length: 300

type: "asg"
region: us-east-1
searchTags:

Key: monitor
Value: ^true$
metrics:
name: GroupMinSize
statistics:

'Minimum'
period: 60
length: 300

name: GroupMaxSize
statistics:

'Maximum'
period: 60
length: 300

name: GroupDesiredCapacity
statistics:

'Average'
period: 60
length: 300

Is this still a problem for you? @alexg84


text:
mpv script-opts/osc.conf support?

I wanted to config the mpv layout as described here: https://mpv.io/manual/master/#configurable-options
Not sure if I'm doing everything right, but it looks like the config file isn't being read? Could you please support this kind of config, if possible?

You can probably chain the config off of mpv.conf somehow, but I don't know offhand.

You can probably chain the config off of mpv.conf somehow, but I don't know offhand.


text:
🛑 21Eurkon is down

In f5da1f3, 21Eurkon (https://blog.eurkon.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 21Eurkon is back up in 0eee702 after 21 minutes.

repo: iwyang/check


text:
🛑 21Eurkon is down

In 489a71e, 21Eurkon (https://blog.eurkon.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 21Eurkon is back up in ecf76d1 after 11 minutes.


text:
🛑 15知行记 is down

In c160d93, 15知行记 (https://baozi.fun/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 15知行记 is back up in a28d423.


text:
🛑 05Takagi is down

In 52447af, 05Takagi (https://lixingyong.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 05Takagi is back up in 07e879b after 9 minutes.


text:
🛑 29JACK小桔子的小屋 is down

In 2732b41, 29JACK小桔子的小屋 (https://www.jackxjz.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 29JACK小桔子的小屋 is back up in e461c6d after 2 hours, 10 minutes.


text:
🛑 21Eurkon is down

In 7b5c59a, 21Eurkon (https://blog.eurkon.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 21Eurkon is back up in 1ad9a25 after 21 minutes.


text:
Function that automaticaaly merges all mpt and tsv files in the subfo…

Function for reading in all mpt and tsv files from parent directory. Essentially, Zilien experiments tend to be static i.e. soemtimes wrong sampling times, ommited pressures and MID data is "forgotten" when conducting and experiement. Or one has the realization mid experiement that the mass scan show a MID signal you did not anticipate would be relevant. Hence, you have to stop experiment and start a new one, which Zilien implicitly does by forming a new directory with all new locations for mpt and tsv files.
This functions allows all subfolder from a parent directory to be read-in by ixdat as a single experiment, thus automatically combining all mpt and tsv files (adding them togteher using the standard ixdat code). NB there is nothing stopping users from reading-in data from multiple experiments in an uninteded fashion, but for people adopting the data structure from Zilien and remembering to change the experiment names for every "seperate" experiment it could be useful.

closed as no one is working on it or waiting for it now.

authors: KimDegnJensen ScottSoren

repo: ixdat/ixdat


text:
🛑 Ixtanet MServer is down

In 8113dec, Ixtanet MServer ($MEDIA_SERVER) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ixtanet MServer is back up in 436f8bc after 4 minutes.

repo: ixtanet/upptime


text:
🛑 Ixtanet SAT is down

In 8d03f3e, Ixtanet SAT ($MEDIA_SAT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ixtanet SAT is back up in 9c6a840 after 4 minutes.


text:
How to choose best feature

Hi,
I successfully run the model  and get a 128-D features, but such many features really make me confused, what should I do to choose a better feature,and how do I do to extract the detected object with white background.
Thanks

Please refer to the paper, and the other repository.
This feature extraction is NOT STAND-ALONE as mentioned in the readme.


text:
Many changes that go along with the PyFR-Catalyst branch

Semi-latest version of the plugin (this is missing the filename prefix stuff from yesterday, otherwise up to date).

Can this be closed?
Guess all these have gone to the InSitu branch?

authors: iyer-arvind tfogal

repo: iyer-arvind/PyFR


text:
Fix SwiftPM support

Two fixes:

PackageDescription 4 doesn't support the platforms parameter, so it's incompatible with the annotation // swift-tools-version:4.1. Since you have a fine Package@swift-5.0.swift file, I have removed the platform parameters from Package.swift. I confirm that this fixes importing the package with SPM 5.3.
When importing the package, you can have duplicate symbol issues because variables are defined in the header file. I have declared them in the header file and moved the definition in the implementation file.

Hi @iziz. Do you plan to merge this? I have updated my fork with your latest changes (thanks) but the first commit is still needed to prevent the duplicate symbol issues.
Thanks!

Reopened with the just the required commit #358

repo: iziz/libPhoneNumber-iOS


text:
V4.0.0 : Fact no longer filled with the action result

Hi,
We are using Easy Rules V.3.4.0 in our project as a calculation engine. Here is the data set we are using to get result in Fact Map :
A rules.json defines our rules
[
  {
    "name": "frais bancaire rule",
    "priority": 1,
    "condition": "true",
    "actions": [
      "FB_CALCULATED = (TX_FB / 100) * PRX_ACHAT"
    ]
  },
  {
    "name": "frais bancaire x2",
    "priority": 1,
    "condition": "FB_CALCULATED >= 5",
    "actions": [
      "FB_CALCULATED_X2 = FB_CALCULATED * 2"
    ]
  },
  {
    "name": "frais bancaire 3",
    "priority": 2,
    "condition": "true",
    "actions": [
      "FB_CALCULATED_3 = TX_FB * PRX_ACHAT"
    ]
  }
]

And the POC implementation code :
   public static void main(String[] args) throws Exception {
        // define facts
        Facts facts = new Facts();
        facts.put("TX_FB", "2");
        facts.put("PRX_ACHAT", "156");
        RulesEngine rulesEngine = new DefaultRulesEngine();

        // define rules
        MVELRuleFactory ruleFactory = new MVELRuleFactory(new JsonRuleDefinitionReader());
        Rules fbRules = ruleFactory.createRules(new FileReader("src/main/resources/fraisBancaire.json"));

        rulesEngine.fire(fbRules, facts);
        System.out.println("JSON :");
        System.out.println(facts.get("FB_CALCULATED").toString());
        System.out.println(facts.get("FB_CALCULATED_X2").toString());
}

In v3.4.0, Easy Rules automatically filled the Fact map with the operation result  (i.e. FB_CALCULATED , FB_CALCULATED_X2 or FB_CALCULATED_3) during fired which cover our need to evaluate mathematical operation and use calculated result in other action.
Since v4.0.0 and Fact object introduction, this feature is gone.
Would you plan to be iso-functionnal in this 4.0.0 ? We want to migrate but we need this feature for that ...
Thanks for you reply

Hi @M3lkior ,
Thank you for opening this issue. In your first rule here:
{
    "name": "frais bancaire rule",
    "priority": 1,
    "condition": "true",
    "actions": [
      "FB_CALCULATED = (TX_FB / 100) * PRX_ACHAT"
    ]
  }

What is the type of FB_CALCULATED ?

Fact no longer filled with the action result

You are expecting the result of the action to be filled in as a fact, but what type should Easy Rules use for that fact?
If I want to get the fact after firing the rule, which type should I use for that? Since I don't know the type, I tried the following but it fails with a ClassCastException:
public static void main(String[] args) { // using v3.4.0
        MVELRule rule = new MVELRule()
                .name("frais bancaire rule")
                .priority(1)
                .when("true")
                .then("FB_CALCULATED = (TX_FB / 100) * PRX_ACHAT");
        Rules rules = new Rules();
        rules.register(rule);
        Facts facts = new Facts();
        facts.put("TX_FB", "2");
        facts.put("PRX_ACHAT", "156");
        RulesEngine rulesEngine = new DefaultRulesEngine();
        rulesEngine.fire(rules, facts);
        short FB_CALCULATED = facts.get("FB_CALCULATED"); // I don't know the type of FB_CALCULATED, so let me try "short" ...
        System.out.println("FB_CALCULATED = " + FB_CALCULATED);
        // fails with: java.lang.ClassCastException: class java.lang.Integer cannot be cast to class java.lang.Short
    }

How would you infer the type of FB_CALCULATED from the expression FB_CALCULATED = (TX_FB / 100) * PRX_ACHAT?

@M3lkior Any update on this?

Hi @benas ,
Sorry for de delay
For test purpose, you can find my POC project here, illustrate the use case described below : https://github.com/M3lkior/poc-easy-rules
the master branch is about v3 and a test/v4 branch is about Easy rules v4. Just run the Main class to see the working result on v3
When i tried Easy-rules, I was just surprised to see that he was able to perform the calculation of the operation and add this result as String, containing a Double result.
So to answer i imagine that you have to push the result in String or test that this String is a numeric by using Apache Commons lang's isNumber() method for example
Today with v3, we cast the String result to a Double type and it works like a charm !
NB : In our real project, we are using the MVELFactory to created rules from a json (mongo stored) structure :

    /**
     * Create an easy-rule {@link Rule} from {@link CostComponentEntity} content
     *
     * @param cc           a {@link CostComponentEntity} containing formula and parameters
     * @param formulaValue the applicable {@link FormulaValueEntity}
     * @return a {@link Rule} matching {@link CostComponentEntity} and {@link FormulaValueEntity} content
     */
    protected static Rule createRuleFromCostComponent(CostComponentEntity cc, FormulaValueEntity formulaValue) {
        return new RuleBuilder()
            //name is discreet for composite rules
            .name(cc.getCode() + "[" + formulaValue.hashCode() + "]")
            .description(cc.getDescription())
            .priority(1)
            .when(new MVELCondition(formulaValue.getCondition())) // example :  FACT_1 > 10
            .then(new MVELAction(String.format(FORMULA_PATTERN, cc.getCode(), formulaValue.getFormula()))) // example FB_CALCULATED = (TX_FB / 100) * PRX_ACHAT
            .build();
    }

Thanks for the update. This is where I wanted to come.

So to answer i imagine that you have to push the result in String or test that this String is a numeric by using Apache Commons lang's isNumber() method for example

That's exactly what we should not do: testing if the type is numeric and try to cast it. This is not type safe and can lead to all kinds of type conversion issues. I explained these problems in details in https://github.com/j-easy/easy-rules/issues/280#issuecomment-632925046 (which is a duplicate issue BTW). What we should be doing instead is putting a typed fact in Facts (so that we know the type upfront) and use it in EL expressions.

Today with v3, we cast the String result to a Double type

I still don't see how you decided to use Double and not Float or BigDecimal here. If we want Easy Rules to add facts dynamically, we need to find a way to tell it how to infer the type from the expression.
One of the motivations of adding the Fact API is type safety. Since v4, facts cannot be assigned dynamically because Easy Rules cannot infer the type from the expression. Facts cannot be re-assigned neither (because one might change the type of a fact in a subsequent rule), so you can think of them as final variables. However, they can be mutable. What you can do is encapsulate your variables in a wrapper data class, something like:
public class Data {
    private Double FB_CALCULATED;
    private int TX_FB;
    private int PRX_ACHAT;
    // getters + setters

   // /!\ Note how all types are known upfront
}

Then put an instance of this class as a fact:
Facts facts = new Facts();
Data data = new Data();
data.set TX_FB(30);
facts.put("data", data); // or facts.put("d", data); to type less characters in your EL expressions

and use it in your rule:
{
    "name": "frais bancaire rule",
    "priority": 1,
    "condition": "true",
    "actions": [
      "data.FB_CALCULATED = (data.TX_FB / 100) * data.PRX_ACHAT"
    ]
  }

Null safety (https://github.com/j-easy/easy-rules/issues/294) and type safety (#276) were the two most significant features requested by users, and it was not possible to introduce them in the v3 line due to breaking changes. I understand this is a breaking change, that's why I introduced it only in v4, but it makes Easy Rules safer and more secure.
It should not be surprising that migrating to a major version might introduce some work. In this case, the work consists in encapsulating variables in a holder class and adding a prefix like d. in your expressions as shown previously. This shouldn't be a big deal and would give you the same result as v3. You can find a migration guide here, and if you need support in your migration I would love to help!
I'm closing this issue for now, but let me know if you need further support. Thank you.

Hi @benas , thanks for the support and the explanations.
Unfortunately it will be difficult to use a class to WRAP Data because we can not know in advance the content of an action (maybe we can generate class on the fly to achieve that)
for now we can stay in v3 but i will study this refactoring
Thanks

Unfortunately it will be difficult to use a class to WRAP Data because we can not know in advance the content of an action

I'm not sure I understand this. If you don't know  the content of an action in advance, how would you write an EL expression for it (be it in v3 or v4)?

We create rules from API calls. Rule's action are, in our use case, an arithmetic formula which contains known parameters (like PRX_ACHAT ) by the API

repo: j-easy/easy-rules


text:
Sample Gradle Project containing Android and iOS

It would be very helpful to have a sample project to start with satisfying this folder structure:
workspace
│   .gitignore
│   build.gradle
├───android
│   │   build.gradle        // dependency on ':shared'
│   └───src                 // src/main/java/...
├───shared
│   │   build.gradle        // apply 'java' then 'j2objc' plugins
│   ├───build               // build directory
│   │   ├───...             // build output
│   │   ├───binaries        // Contains test binary: testJ2objcExecutable/debug/testJ2objc
│   │   └───j2objcOutputs   // j2objc generated headers and libraries
│   ├───lib                 // if library jar has source, then j2objc can translate it
│   └───src                 // src/main/java/... i.e. main code for translation
└───xcode
    ├───Project             // j2objcXcode configures dependency on j2objcOutputs/{libs|src}
    └───ProjectTests        // j2objcXcode configures the same except "debug" libraries

The sample project should:

help people to start very fast developing cross platform projects
it should include the j2objc plugin with a valid default configuration
contain some "Hello World" output in the Android and iOS part
should be a valid project for Android Studio
should contain an Xcode project

I will do that but I still need some help from you @advayDev1 @brunobowden  to figure out some missing parts. Here is a structure I created so far: https://github.com/confile/Demo-Shared-iOS-Android-Project
Happy to get comments.

This is great @confile. I was thinking of renaming the "xcode" folder as
"ios" since that's what most people are using it for. This'll be extremely
helpful for people.
On Fri, Jun 12, 2015 at 8:52 AM Michael Gorski notifications@github.com
wrote:

It would be very helpful to have a sample project to start with satisfying
this folder structure:
workspace
│   .gitignore
│   build.gradle
├───android
│   │   build.gradle        // dependency on ':shared'
│   └───src                 // src/main/java/...
├───shared
│   │   build.gradle        // apply 'java' then 'j2objc' plugins
│   ├───build               // build directory
│   │   ├───...             // build output
│   │   ├───binaries        // Contains test binary: testJ2objcExecutable/debug/testJ2objc
│   │   └───j2objcOutputs   // j2objc generated headers and libraries
│   ├───lib                 // if library jar has source, then j2objc can translate it
│   └───src                 // src/main/java/... i.e. main code for translation
└───xcode
├───Project             // j2objcXcode configures dependency on j2objcOutputs/{libs|src}
└───ProjectTests        // j2objcXcode configures the same except "debug" libraries
The sample project should:

help people to start very fast developing cross platform projects
it should include the j2objc plugin with a valid default
configuration
contain some "Hello World" output in the Android and iOS part
should be a valid project for Android Studio
should contain an Xcode project

I will do that but I still need some help from you @advayDev1
https://github.com/advayDev1 @brunobowden
https://github.com/brunobowden to figure out some missing parts. Here
is a structure I created so far:
https://github.com/confile/Demo-Shared-iOS-Android-Project
Happy to get comments.
—
Reply to this email directly or view it on GitHub
https://github.com/j2objc-contrib/j2objc-gradle/issues/161.

I will create a working project and make a pull request when it is finished. Please give me feedback if you want something different.

Thanks Michael
On Fri, Jun 12, 2015 at 9:28 AM Michael Gorski notifications@github.com
wrote:

I will create a working project and make a pull request when it is
finished. Please give me feedback if you want something different.
—
Reply to this email directly or view it on GitHub
https://github.com/j2objc-contrib/j2objc-gradle/issues/161#issuecomment-111547076
.

@confile, this is awesome, not only will this help new folks but we could possibly use it for integration tests as well.

@brunobowden @advayDev1 How should we process here. Please guide me a bit. Should I make a pull request first and you then make comments?

i'm ok with that.  don't worry about the integration testing itself, we can do that as a separate PR.

@advayDev1 Okay pull request is coming. The goal should be to create a demo project using for Xcode and for Android Studio.

closing as dupe of #370

authors: advayDev1 brunobowden confile


text:
AbstractList.hashCode generating "invalid override" error

Hi!
I found an bug in the hashCode method of AbstractList in j4ts.js. It does not call the java.util.Collections.hashCode method with a reference to the object instance. Resulting in an error instead of a hashvalue.
I wrote a temporary fix which overrides this method:
            AbstractList.prototype.hashCode = function () {                 return (function (o) { if (o.hashCode) {                     return o.hashCode();                 }                 else {                     return o.toString();                 } })(java.util.Collections);             };
with this:
java.util.AbstractList.prototype.hashCode = function () {            let _this = this;          return (function (o) { if (o.hashCode) {               return o.hashCode(_this);          } else {             return o.toString(_this);         }})(java.util.Collections);                                                                   };
Since I don't know how the j4ts.js bundle is generated I simply hope that this information is of some help for anyone who does know. Or for anyone who happened to stumble on the same bug and wants a temporary workaround.

It can be closed, because transpiler is fixed. :)
Now generates:
java.util.Collections.hashCode(this)

authors: glooms schaumb


text:
🛑 Gitlab is down

In 739f352, Gitlab (https://gitlab.j551n.com) was down:

HTTP code: 502
Response time: 551 ms

Resolved: Gitlab is back up in 3e57755 after 12 minutes.


text:
Question about readme

Hi there! Thanks for the plugin, works wonderful :)
But in your readme you said:

For more on Neomake config, see their docs - I like to combine the above with:
autocmd! FileType javascript,BufWinEnter,BufWritePost * Neomake

If i use this autocmd i get an error. What you really meant to say?

@felixsanz
Apologies for the slow response! And for that being in the docs - not sure how that ended up getting pasted, as it was a result of me tinkering with getting it to trigger for anything with filetype javascript regardless of extension, but I pretty much just go by extension. Really I should just reference the Neomake docs on this, but Neomake uses the example
autocmd! BufWritePost * Neomake

which will launch Nemake regardless of file type/extension.
My own init.vim is a little more involved and I have stuff split into a bunch of `augroups, and I don't launch Neomake for every file type. I use
au FileType javascript,BufWinEnter,BufWritePost *.js,*.jsx Neomake

Anyway, thanks for pointing this out - I'll update it this weekend!

authors: felixsanz jaawerth


text:
如何实现鼠标悬停至单个弹幕暂停移动

源码中发现以下代码，是否可以通过添加弹幕的唯一标识，来过滤runline中的弹幕，找到对应实例后执行stop呢，stop后如何重新开始移动呢
CommentManager.prototype.stop = function() {
    this._stopTimer()
    // Send stop signal to all comments
    this.runline.forEach(function(c) {
      c.stop()
    })
  }

已收到

又仔细看了下源码，stop方法没有实现啊……直接是个空函数……

哦，悬停这个的话，可以这么做：
var dummyTime = function () { }; // 空函数，让弹幕无视播放器推动

cm.addEventListener('enterComment', function(cmt){
  // 监听 CommentManager 的 enterComment 事件
  // 此事件在每个弹幕初始化完毕后实现
  cmt.dom.addEventListener('click', function () {
    // 抓出弹幕对应的dom元素，监听点击事件
    if (cmt.border) {
      // 这里我们用边框记录状态，如果已有边框则恢复弹幕运行
      cmt.time = cmt._oldTime.bind(cmt); // 恢复记住的原始推动方法
      cmt.border = false;  // 关掉边框
      cmt.time(0);  // 触发推动
    } else {
      cmt._oldTime = cmt.time; // 记住弹幕的推动方法
      cmt.time = dummyTime;  // 换成一个空函数，无视播放器推动
      cmt.border = true; // 打开边框
      cmt.stop();  // 触发停止函数（用于停止基于css的弹幕）
    }
  });
});

想测试效果的话，可以打开demo页面，选择顶栏的 【Code】标签，然后在 Input Window 区域粘贴下方代码，点击【Run】
之后回到 【Main】标签，随便一个 demo。
之后播放期间内，点击弹幕就会把它停住（并且显示边框），再点一下则会重新开始弹幕移动。

你好，我看文档中存在 remove方法，但是在源码中没有发现原型上存在remove方法

remove(data:ICommentData)
从弹幕列表中删除弹幕。注意参数data必须是同一个实例引用，否则即使参数都一样也不会导致弹幕被删除。 删除只会从时间轴中删除，如果被删除的弹幕正再播放，不会导致正在播放的弹幕消失。
remove(filterFunction:Function)
从弹幕列表中删除弹幕。filterFunction会在每个弹幕对象上被调用。当filterFunction返回 true 时（严格），删除相应弹幕。

remove系列还没在现在用的版本实现呢，文档是给1.0预留的API。。。目前计划是把剩余还是传统 js 写的几个类（CommentManager等）换到TS里面，所以就一直没加进去。

那如果要播放中要过滤部分弹幕的话，通过 过滤完然后重新load  time(0)应该是可以的吧

或者说如果要自己实现remove的话大致思路应该是怎么样的 应该操作timeline嘛

authors: VirusYu dbFlower jabbany

repo: jabbany/CommentCoreLibrary


text:
Experience information missing from panel packs

Describe the bug
There seems to be an issue generating panel packs - the "experience" section of the candidates application appears to disappeared from the full application and panel pack view on the platform and more importantly the download.  Exercise JAC00029 are in the process of creating their packs.
To Reproduce
Steps to reproduce the behavior:

Go to JAC00029
Click on either applied or reviewed
Select a candidate - in the full information view or panel pack you will see there is no "experience" section
Also when you "download as PDF" the information is not appearing.

Expected behavior
The whole experience section including judicial experience should be included.  I have checked other exercises and the information
Screenshots
appears to be showing in the export and on screen
From the full information view.

Panel view
Example PDF download
https://app.zenhub.com/files/201485031/89c06b91-1780-4111-bc2a-fe78208c2411/download
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hey @ClaireTroughtonJAC JAC00029 is a 'Leadership' exercise and right now the experience and post-qualification experience sections are coded to only show for 'non-legal' and 'legal' exercises....
I believe the logic should be:

if 'legal' or 'leadership' show Post-qualification experience section
if 'non-legal' or 'leadership-non-legal' show Experience section

Please can you confirm if that is correct?

Hi @warrensearle bad semantics on my part.  You are right its not showing the post qualification experience I'll amend the ticket.  Your logic is absolutely spot on.

authors: ClaireTroughtonJAC warrensearle

repo: jac-uk/admin


text:
Cloud Firestore Database

Hello Andrew,   We are writing to let you know that   starting June   22, 2023, Cloud Firestore default database will be   represented by "(default)" in the authorizationInfo.resource field of Cloud Audit Log.   What do you need   to know?   The current database you're using   has a name called "(default)". Originally the default database was represented as an empty “” string in audit log authorizationInfo.resource, but this is inconsistent with the current pattern to use the   “(default)” string.    Before update:"authorizationInfo": [      {        "resource": "projects/my-project/databases/", # Inconsistent value        "permission": "datastore.entities.update",        "granted": true,        "resourceAttributes": { # sent for Conditional IAM          name:  "projects/my-project/databases/(default)",          type:  "firestore.googleapis.com/Database",          service: "firestore.googleapis.com",        }      }    ],After update:"authorizationInfo": [      {        "resource": "projects/my-project/databases/(default)", # Corrected value        "permission": "datastore.entities.update",        "granted": true,        "resourceAttributes": { # sent for Conditional IAM          name:  "projects/my-project/databases/(default)",          type:  "firestore.googleapis.com/Database",          service: "firestore.googleapis.com",        }      }    ],   What do you need   to do?   If you have systems that make use   of the Firestore Audit Logs and depend on the authorizationInfo.resource field in the log entry, please accommodate for the corrected   value. Any aggregation pipelines that categorize by resource may break from   this change. Learn more and gain visibility on Cloud Audit Logs.   Thanks for choosing Firestore.

Hello Andrew,
We are writing to let you know that starting June 22, 2023, Cloud Firestore default database will be represented by "(default)" in the authorizationInfo.resource field of [Cloud Audit Log](https://notifications.google.com/g/p/ACUgQrEzeg01YqW_NhbZLumRJbUT-ymLdDR51w1zrRKtoGH-UZPkCxzGVnP42fP3huNRIjRNIUwIwd9X_Sz6zGgtReTkO9uUHSiRtftFiaOqlelPhU9PsdCBTYd6L14tAgFkcHAWCqHxFSSY5y8MQ-1SpHxZNJkFBKJIH3Lex-l7ZhZGYHeMhSbOX3GDZSgaPVxIfZcOUNjH_6sknRSvcPO7_4CzoQBMWTbUxi3bAeIobAAy0lg).
What do you need to know?
The current database you're using has a name called "(default)". Originally the default database was represented as an empty “” string in audit log authorizationInfo.resource, but this is inconsistent with the current pattern to use the “(default)” string.
Before update:
"authorizationInfo": [
{
"resource": "projects/my-project/databases/", # Inconsistent value
"permission": "datastore.entities.update",
"granted": true,
"resourceAttributes": { # sent for Conditional IAM
name:  "projects/my-project/databases/(default)",
type:  "firestore.googleapis.com/Database",
service: "firestore.googleapis.com",
}
}
],
After update:
"authorizationInfo": [
{
"resource": "projects/my-project/databases/(default)", # Corrected value
"permission": "datastore.entities.update",
"granted": true,
"resourceAttributes": { # sent for Conditional IAM
name:  "projects/my-project/databases/(default)",
type:  "firestore.googleapis.com/Database",
service: "firestore.googleapis.com",
}
}
],
What do you need to do?
If you have systems that make use of the Firestore Audit Logs and depend on the authorizationInfo.resource field in the log entry, please accommodate for the corrected value. Any aggregation pipelines that categorize by resource may break from this change. Learn more and gain visibility on Cloud Audit Logs.
Thanks for choosing Firestore.

@tomlovesgithub and I checked and there is no action required here

authors: andrew-isaac warrensearle

repo: jac-uk/digital-platform


text:
Support class static method in call!

Allow to call! a class static method like so:
let from: Vector4 = ...;
let to: Vector4 = ...;
call!("Vector4"::"Distance"(from, to) -> f32);

quick test:
fn test_static() {
    let from = Vector4 { x: 0., y: 1., z: 2., w: 3. };
    let to = Vector4 { x: 3., y: 2., z: 1., w: 0. };
    let distance = call!("Vector4"::"Distance"(from, to) -> f32).unwrap();
}


text:
[Snyk] Security upgrade org.webjars.npm:dompurify from 2.3.6 to 2.5.0

Snyk has created this PR to fix 1 vulnerabilities in the maven dependencies of this project.
Snyk changed the following file(s):

library/pom.xml

Vulnerabilities that will be fixed with an upgrade:

Issue
Score
Upgrade

Cross-site Scripting (XSS) SNYK-JAVA-ORGWEBJARSNPM-8184975
  227
org.webjars.npm:dompurify:  2.3.6 -> 2.5.0  Proof of Concept

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Cross-site Scripting (XSS)

🎉 Snyk hasn't found any issues so far.
✅ code/snyk check is completed. No issues were found. (View Details)

repo: jacekey-snyk/monorepo-sakai


text:
FR: use litellm for easy support of mistral, anthropic, openrouter, ollama, huggingface etc

Hi,
I've been using litellm for a while now, it's a python library that enables using pretty much any API you can want for LLMs (Mistral, openrouter, localai, huggingface, azure, anthropic, etc).
And they support async too!
I think it would be nice to avoid being too reliant on OpenAI vs other providers.
Is that something that could be done ?

I came here to see if Claude support was planned as their latest model is reported to be good for coding.
Something like this would be great and it would take the pressure off this project to support more models directly.

I would love Claude support, are you working on litellm integration?

I would love Claude support, are you working on litellm integration?

If you follow what I did it already works with Claude through litellm.

ogpt.nvim is a derivative plugin with support for other api

For mistral, here's my config.yaml:
model_list:
  - model_name: gpt-4-0125-preview
    litellm_params:
      model: mistral/mistral-large-latest
      api_key: REDACTED

Launch the proxy with litellm --config config.yaml --port 5000
Add this to your chatgpt.nvim config: api_host_cmd = "echo http://0.0.0.0:5000",
I seem to be having issues with their docker though

@thiswillbeyourgithub Have you tried using docker compose? That's what worked for me.
I created a simple docker folder with their docker-compose.yaml and my own proxy_server_config.yaml and it works great.

I didn't try docker compose and wanted to test their docker run directly. I'll get to it someday thanks

For openrouter, you can use something like this
{
    'jackMort/ChatGPT.nvim',
    event = 'VeryLazy',
    config = function()
      require('chatgpt').setup {
        api_host_cmd = 'echo -n https://openrouter.ai/api',
        api_key_cmd = 'echo ' .. your_openrouter_apikey_as_string,
        api_type_cmd = 'echo localai',
        openai_params = {
          model = 'openai/gpt-4o-mini',
          max_tokens = 300,
        },
        openai_edit_params = { model = 'openai/gpt-4o-mini'}
      }
    end,
    dependencies = {
      'MunifTanjim/nui.nvim',
      'nvim-lua/plenary.nvim',
      'folke/trouble.nvim',
      'nvim-telescope/telescope.nvim',
    },
  },


text:
KijijiApiException: Error acquiring geo location data

Shows this error when trying to post ad

This usually indicates a problem with the postal code provided. Are you certain that the postal code you entered is a real postal code?

Currently have the same issue. Tried multiple postal codes from many different regions

Still happening to me, postal code is correct.

Have you updated to the latest version, and does the error say anything else besides "Error acquiring geo location data" ?
Would you be able to tell me the first three characters of the postal code you're trying to use?

Have you updated to the latest version, and does the error say anything else besides "Error acquiring geo location data" ?
Would you be able to tell me the first three characters of the postal code you're trying to use?

Did a fresh setup with newest version, this is the exact error
Error acquiring geo location data: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>
First 3 characters of postal code are M2J

Are you using MacOS? It seems that you may have to install Python certificates as described here: https://stackoverflow.com/a/53310545
This project uses the pgeocode package which needs to download a list of all Canadian postal code areas (first three digits) so it knows the geographic area of the postal code. For you it is failing at this step where it tries to download the postal codes file.

Problem is likely due to a Python installation problem on users system where SSL certificates were not installed. Using the official Python installers should take care of this step automatically.
Closing

authors: jackm jijiow sajjadpirani

repo: jackm/kijiji-manager


text:
라우팅 분리

ejs 연결해주는 코드 분리
PORT 하드코딩 수정

포트 하드코딩 제거
컨트롤러 분리
실행 파일 분리
package.json파일의 node script 명령 추가

repo: jackmmin/node-backend-sneak-peak


text:
Investigate options for running theme code in a sandbox

A prerequisite for moving to stage three is we need some way to accept untrusted theme code. Cloudflare's recently announced workers for platforms looks perfect, however it's still in closed beta and I doubt they would give us access. We're not in a huge rush to get to stage three yet, so maybe we just wait until that's available for everyone. (How long does Cloudflare usually take to move features from closed to open beta?) If anyone is interested, it wouldn't hurt to explore other options though. I spent a day looking into this and my conclusion was that besides the Cloudflare thing, AWS Lambda would probably be the way to go (in which case it would be especially great for someone else to take this issue because I have little experience with AWS and prefer to keep it that way). I'm open to other things too.
Whatever we use for the sandbox, we need to be able to zip up the theme folder (e.g. themes/default/), send it to the sandbox, and have it unzip, generate site files, and return them in another zip file. or something like that. And ideally have it be fairly snappy (under 10 seconds is probably acceptable, though the faster the better). If we can let the theme code specify dependencies (such as npm dependencies) and have the sandbox install + cache the dependencies that would be swell. If not, it's probably good enough to start out with if we just have a fixed list of dependencies (like tailwind etc).

It occurred to me that since we're already using netlify, and netlify's backend fns are just wrappers for AWS lambda fns, we could try to use those. For example, platypub could create a backend fn for each (user, theme) combination. e.g. if you deploy a site that's using the default theme, platypub checks to see if you already have a backend fn for the default theme and creates it if not. The backend fn accepts the input.edn file via a POST request and returns a tarball/zip file of the outputed static files, which can then be deployed to netlify by platypub.
It would be great if someone wanted to play around with this. e.g. make a backend fn as described above, rewrite the default theme with nbb (this might be a lot of work?), and see how fast it goes.
Need to make sure that backend fns are sufficiently isolated. i.e. are two backend fns made with the same Netlify account guaranteed to be unable to access each other's data?

I think this is the answer: https://fly.io/blog/fly-machines/

Fly Machines are VMs with a fast REST API that can boot instances in about 300ms.

We'll need to figure out how to cache npm/deps.edn deps. doing it in a dockerfile might be ok--are there security risks with putting untrusted code in dockerfiles for fly machines?

Some reading material:

https://disaev.me/p/sandboxing-untrusted-code/
https://github.com/glotcode/docker-run
https://github.com/rapidlua/luajit.me/wiki/On-running-untrusted-code-in-AWS-Lambda

repo: jacobobryant/platypub


text:
Adjust SPI1 pins

Use UART0_RTSN (E17) for SPI1_CS0, moving from pin C12.
Use pin A15 for SPI1_CS1, moving from pin C18.

What wasn't noted that I/O set had to have been followed. This will be deferred to Rev B.

To fix the SPI chip select IO set issue, we will change the location of SPI1 CS0 and CS1.  The final pin mapping will be:
spi1_sclk		A13 (mcasp0_aclkx – current pin)
spi1_d0		B13 (mcasp0_fsx – current pin)
spi1_d1		D12 (mcasp0_axr0 – current pin)
spi1_cs0		H18 (rmii1_refclk – currently unused on BB Blue)
spi1_cs1		C18 (eCAP0_in_PWM0_out – currently GPIO_0_3 on BB Blue)
GPIO_0_3		C12 (currently spi1_cs0)
WIFI_LED		A15 (currently spi1_cs1 - See Issue #29 )

There must be an error. How do you have 2 pins be GPIO0_3?

On Oct 13, 2016, at 2:25 AM, erikwelsh notifications@github.com wrote:
To fix the SPI chip select IO set issue, we will change the location of SPI1 CS0 and CS1. The final pin mapping will be:
spi1_sclk A13 (mcasp0_aclkx – current pin)
spi1_d0 B13 (mcasp0_fsx – current pin)
spi1_d1 D12 (mcasp0_axr0 – current pin)
spi1_cs0 H18 (rmii1_refclk – currently unused on BB Blue)
spi1_cs1 C18 (eCAP0_in_PWM0_out – currently GPIO_0_3 on BB Blue)
GPIO_0_3 C12 (currently spi1_cs0)
WIFI_LED A15 (currently spi1_cs1 - See Issue #29 )
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Sorry if I was not clear.  The items in quotes was what the function was on Rev A1a.  Basically, we are taking four pads:  H18, C18, C12 and A15 and swapping around the functionality.  The Rev A2 mapping is outside the quotes.  For example, on Rev A1a GPIO_0_3 (ie GPIO connector 0 pin 3, not AM335 GPIO0_3) was C18.  For Rev A2 it will be C12.

@erikwelsh @StrawsonDesign Objections to me changing the net names to reflect the processor GPIO number? I like to avoid people needing to refer to additional documentation in order to program the hardware.

authors: erikwelsh jadonk

repo: jadonk/beaglebone-blue


text:
How to remove specific string from an array?

Let's say I have a collection called Uploads:
Uploads = Astro.Class({
  name: 'Upload',
  collection: Uploads,
  fields: {
    tags: {
      type: 'array',
      default() { return [] }
    }
  }
});

And I want to locate a specific upload and remove a specific tag, either by its index or its name (either is fine). What's the proper way to do this in Astronomy 1.0? I can't use pop because the tag might be in the middle of the array. The only way I can think of is this:
Uploads.update(uploadId, {$pull: {tags: tagName}});

I was just wondering if there was some way to do it on a single item via Astro's class:
u = Uploads.find(uploadId);
u.pull('tags', tagName); // I know pull() doesn't exist
u.save();

Hi, Astronomy does not implement all methods of MongoDB yet. But it will in the future. It isn't hard to implement every possible method from MongoDB. Right now the best way to do it is:
var u = Uploads.findOne(uploadId);
u.set('tags', _.without(u.tags, tagName);
u.save();

I know that it saves again entire array into database and it can be not so fast. Of course you can also use your solution. As long as it's data removal it does not need to check any constraints.
I will add the pull method to the features to implement.

Sounds good. Thanks, Astronomy is amazing!

Thanks :)

The pull method was added in the 1.0.2 version.  You can test it out. It isn't documented yet but will  be.
var doc = Docs.findOne();
doc.pull('tags', tagToPull);
doc.save();

Please add this to documentation.

Yes I have it in plans. I have a lot things to do, so I've left it for later. I will update it today :)

authors: darko-mijic ffxsam jagi

repo: jagi/meteor-astronomy


text:
Interested in contributing

Hi !
We are a couple of guys that want to build our webapp with Elm and graphQL.
Wonder if you could give us some guidelines on how to contribute to your repo,
What to do and where to look for a solution.
We are all new to Elm and GraphQl/Relay but are very interested in helping out.

That's great. Make sure to check out the Helpful Links and How elm graphql works.
As far as contributing goes, create feature branches and submit PRs. You're welcome to tackle any open issues. I'm working on Fragments at the moment, but that's it.

repo: jahewson/elm-graphql


text:
Fixed Incorrect string value for unicode languages

The fix adds support for unicode languages in caption

same as others

authors: aliforever jakim

repo: jakim/ig-monitoring


text:
the same script written for Sverchok SNLite

i don't know if this is useful to you or potential other readers, so here it is anyway.
There is no way to load the old-style Script node scripts in Sverchok, they must be written in this newer style.

@zeffii ooh thank you, I haven't worked with these in a long time but I'll add a note to the readme

authors: jakubfiala zeffii

repo: jakubfiala/sverchok-nodes


text:
Remove expired cookies

This pull request should fix #853  @kbanc @juped

Thanks! 🍰

authors: jakubroztocil tayoogunbiyi

repo: jakubroztocil/httpie


text:
Minor changes

I've looked at the code and suggest a few detail changes.
The keywords and the example image are beneficial for appearance in the module list which I'm building.
The changes have no functional impact.
If the PR is accepted, I would then take care of updating the remaining devDependencies.

@KristjanESPERANTO thank you for your contribution

Nice. Now it is displayed better on the new module list :slightly_smiling_face:

authors: KristjanESPERANTO jalibu

repo: jalibu/MMM-RAIN-MAP


text:
Correct calc documentation

Calc works on any field that is present in the struct, since all fields are extracted at the start.

I don’t think this is a correct change? Codegen does not reorder calc to occur after all the other fields are read so I am confused by the comment in the commit. Only when writing can you access all fields of the structure, which is what the documentation says now. You can’t do this:
pub struct A {
    pub a: u8,
    #[br(calc(a + c))] // wrong, `c` does not exist yet
    pub b: u8,
    pub c: u8,
}

It will error:
error[E0425]: cannot find value `c` in this scope
  --> binrw/tests/example.rs:10:23
   |
10 |         #[br(calc(a + c))]
   |                       ^
   |                       |
   |                       a field by this name exists in `Self`
   |                       help: a local variable with a similar name exists: `a`

authors: csnover octylFractal


text:
🛑 Registry1 is down

In 23a6c7d, Registry1 (https://registry1.dso.mil) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Registry1 is back up in c565ca1 after 17 minutes.

repo: james-martinez/dso-mil


text:
Multiple values of a HTTP header are reduced to one value.

If a HTTP response header has multiple values, these are reduced by class RestfulResponse to the last value (a non multi value map is used to collect the values). The class also returns this non multi value map so that the corresponding HttpServletResponse or JAX-RS Response is only populated with this value. The patch solves this issue and provides all header values.

Coverage increased (+0.03%) to 74.581% when pulling 35c440b7479d259b23b7edcf4b34696ec134d562 on volsch:master into 979b1287d085ed1407f576810b65313d962701a6 on jamesagnew:master.

authors: coveralls volsch

repo: jamesagnew/hapi-fhir


text:
How to connect RaspberryPi Pico to Gameduino 3

Hi James, maybe I've missed something, but I'm having difficulty to figure out how to connect the Gamduino 3 to Raspberry Pi Pico board. I saw these 3 lines in the gameduino_circuitpython.py file:

    if mach == 'Raspberry Pi Pico with rp2040':
        self.sp = busio.SPI(board.GP2, MOSI=board.GP3, MISO=board.GP4)
        cs = (board.GP5, board.GP6, board.GP7)
       reset(board.GP10)

Following the text at the end of this page https://excamera.com/sphinx/gameduino3/, this is as far as I was able to depict:
Arduino header      Gameduino          RPi Pico
    11               SPI MOSI           GPIO3
    12               SPI MISO           GPIO4
    13               SPI SCK            GPIO2
     8               GPU SEL            GPIO5
     9               SD SEL             GPIO6
     2               INT                ?
     ?               ?                  GPIO7
     ?               ?                  GPIO10

I still don't know where to connect the CS GPIO7 and RESET GPIO10 pins on the Pico, and the INT pin on the Gameduino, to.
Your clarification is very much appreciated. Thank you - Mac Ha

These two signals (Dazzler CS and Dazzler reset) are only present on the Dazzler.
So on the Gameduino 3/3X you can leave them unconnected.
(The INT pin is unused by the CircuitPython driver - you can safely ignore it.)
I would expect this to work - I do test against the CircuitPython (Metro) + Gameduino 3X, but have not tried the Pico with Gameduino 3X.
Please let me know if you hit a problem with it and I will try to reproduce here.

Thank you very much for a quick reply, James. Unfortunately seems my GD2 and GD3 displays, were laying idle for more then a year now, are both dead :-( Here is what I get typing in the HelloWorld.py example on the REPL of the Pico:
 Adafruit CircuitPython 6.3.0 on 2021-06-01; Raspberry Pi Pico with rp2040
>>> import sys
>>> import bteve as eve
>>> gd = eve.Gameduino()
pgm reset
pgm reset done
cp init complete
>>> gd.init()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "bteve/gameduino.py", line 178, in init
AssertionError: No response - is device attached?
>>>

I then tried the Hello World sketch on my Arduino UNO, and the GD2 just light up a clear white screen, while the GD3 went full black... Don't know what happened, the last time, before the COVID, my kids were running Pacman's port on them with the UNOs. This is however out of scope of this issue, I think... Should I close it? Do you have a way to troubleshoot the hardware and revive the displays, if possible?...
Kind regards -- Mac Ha

authors: jamesbowman ngmacha


text:
Can't add a contribution in the future

This might feel counterintuitive at first, but I use this feature for 2 reasons:

I typically register organized user groups events when they are put live (having everything available in EventBrite) and come back after the event to set the reach.
This might change with the new renewal cycle, but in the past you had until e.g. Oct 5th to update your contributions, while all contributions until end of Oct were taken into account. So speaking engagements / organizing events / ... were items that you could typically add for that month (without reach ofc).

As a bonus:
Some people have their blog posts on a schedule, so those are items that can be scheduled (through the url protocol) as well.
It's all about keeping the friction/overhead as low as possible :)

This was a question that was asked to me by another MVP earlier and I had no idea you could schedule in the future for contributions.
This is something that can be easily changed though.

Looking at the MVP website, there appears to be no restriction on how far in the future you can add contributions.

This will be fixed in the next test release 😄 Thanks for findings this

The fix for this can also be found in the new release 😄

authors: bartlannoeye jamesmcroft

repo: jamesmcroft/MS-MVP-Apps


text:
No matching routes found in popstate

The no matching routes found in popstate error is fired even thought the routes are found.

Fixed with f8bc4f60e4b46b7cc686fe8a3f01590be3be968f

repo: jamrizzi/BlogDown


text:
Python 3

Check py3 compatibility

I just read a little bit on it. Do you think it will be easy?

In general not hard, but could be time consuming. I did not look deep into the code

authors: jan-rybizki mfouesneau

repo: jan-rybizki/Chempy


text:
Update for wildcard entries in hosts file param

Added support for wildcard entries in the hosts file, using * as a prefix:
192.168.0.1   *.example.com

Only one wildcard can be used, and it must be on the beginning of the domain. Name resolution is implemented on a single level, so the example will resolve api.example.com, but will not resolve v2.api.example.com.

Thanks for the PR and especially for fixing and adding the tests! :thumbsup: :smiley:

Could you squash the commits?

If you insist, I can, but to be honest, I don't want to. I'd rather send you a postcard from the Azores, while I'm enjoying some wine with my lovely wife. Merge it and let's continue. I'd rather make some usable feature than concern myself with commit history.

Don't forget the postcard!

Need an address for that one ;)
On Sat, Mar 12, 2016 at 4:20 PM, Jan B notifications@github.com wrote:

Don't forget the postcard!
—
Reply to this email directly or view it on GitHub
https://github.com/janeczku/go-dnsmasq/pull/5#issuecomment-195759973.

authors: janeczku titpetric

repo: janeczku/go-dnsmasq


text:
[Feature request] Basic statistics

Hello there,
Thank you for making this app. Open source community is lacking an up-to-date meditation timer. Thank you for being there!
So, my feature request is for a basic meditation data to be presented in the app:

Total of hours meditated
Number of meditation sessions
Average session duration
Numbers of sessions

It would require an app to handle history of past sessions.
Obviously it's not super important, but nice to have. :)
Thank you and have a wonderful day.

Oh, I like that! The long-term, luxury version of it would be some graph, like most step counter apps do...
Let me mull that over.

authors: janexner prkuctd

repo: janexner/MeditationTimerAndroid


text:
feat: Migration from coupled server to engine - llamacpp

Problem
Previously was coupled into nitro, now will be the first decoupled example for the team to follow, also possibly will be a template in itself to develop engine.

Split into sub-issues:

https://github.com/janhq/cortex.llamacpp/issues/1
https://github.com/janhq/cortex.llamacpp/issues/2
https://github.com/janhq/cortex.llamacpp/issues/3
https://github.com/janhq/cortex.llamacpp/issues/4

It's completed

authors: louis-jan tikikun vansangpfiev

repo: janhq/cortex


text:
Openwrt, LIRC support, xupnpd....

Can IPTV be run on Openwrt? How much RAM/flash is needed?

Any plans for LIRC support ( wiki says not yet)?

How would this compare with https://xupnpd.org ?

No, it needs X
It's in there if you attach keys to LIRC
Completely different

authors: jankammerath siliconhippy

repo: jankammerath/iptvx


text:
mapdb seems incompatible with latest eclipse collections

@jankotek, ec version in mapdb arranged from 7.0 to 7.20 but the latest one was 8.0.0, when upgraded to that version, there exited complied error for IndexTreeLongLongMap class in mapdb.

I will upgrade 3.1 branch to newer version. Thanks

@jankotek, thanks for quick view and release 3.1 branch in the future. what's more, hope more performance report could be provided especially compared to chronicle map if you take interest in.

repo: jankotek/mapdb


text:
🛑 TAVA is down

In 764eb4f, TAVA (https://tava.com.py/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TAVA is back up in 57f802a after 7 minutes.

repo: janparkio/uptime


text:
No colors when running bash script

ANSI colors are now supported by InteliJ there will be support in Bash Plugin??

There is support for ansi colors.
Do you have a code sample which doesn't show ansi colors in the run-configuration stdout output?

Download Activator for play Framework
https://downloads.typesafe.com/typesafe-activator/1.3.7/typesafe-activator-1.3.7-minimal.zip
Run command
activator new testapp
Run app
activator run

There should be many colors.

I've tried it again and now it's working. Maybe it's something related to newest Idea update.

authors: jansorg michalzubkowicz

repo: jansorg/BashSupport


text:
test(e2e): hotfix for reauth github problem

Description
Please explain the changes you made here.
https://issues.redhat.com/browse/RHIDP-4931
Which issue(s) does this PR fix

Fixes RHIDP-4931

PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

/lgtm

authors: nilgaar subhashkhileri

repo: janus-idp/backstage-showcase


text:
Add dynamic frontends

depends on: https://github.com/janus-idp/backstage-showcase/pull/636
TODO

[x] fix dynamic routes rendering
[x] add missing types to the scalprum API for mountPoints
[x] break down the code into smaller pieces
[x] remove code duplicates
[x] scope remote plugins registry by plugin name
[x] add loading component to root
[x] use proper API to fetch scalprum manifests - followup

cc @tumido @davidfestal

@davidfestal I've added the default config loader


text:
Doc: improve azure/dotnet-frontend README

What do you want to improve?
azure/dotnet-frontend
What is the current documentation?
N/A
What is the new documentation?
Add a basic README that includes the following information:

Description of the GPT
How to use the GPT with a description on each field input
How to test the GPT

replaced by https://github.com/janus-idp/software-templates/issues/193

repo: janus-idp/software-templates


text:
Switch several default filters to 'Apply at Series Level'

@japanesemediamanager/developers I want to discuss this. I'll start by saying a few that I think should definitely be series level:
Years - Currently, it seems there is a bug in which it only takes the first year in a group, causing confusion.
Continue Watching - This one could stir some debate, but I think it should return only the series
Newly Added Series - Not as important, but I believe should be series level.
TvDB Link Missing - I'm changing this one anyway. Sorting through groups to fix one series is a pain.
Votes Needed - I'm changing this anyway. Same reason.
Missing Episodes - I really think it should be, for the reason above. It's up for debate, though.
Note: The ones I am changing without discussion are not Locked Filters, and I'm only changing the default, so if you don't agree, change it (or ignore it if not on fresh db) in Desktop.
There are some that should be talked about purely due to usage:
Tags
Recently Watched
Newly Airing Series

https://github.com/japanesemediamanager/jmmserver/commit/76afb3a07e8d5add4c6fc094e65cf7bbfa76a0cb

I agree with the proposed changes except for Years. We should add an option to select either the oldest or newest series for grouping.

How so? I believe that Years should be strictly by series. If you go to 1986, Macross should be there, but only the first one, not the rest. The same for basically every year since. Although, years is special, because I think a series should show up if it aired in the year, not just started, eg naruto shows up in multiple years. Shippuden shouldn't be in 2002, though, even though naruto should be. When browsing by years, I'm usually looking for a show that will very likely fit the common standards of the time period. If I choose 1986, I don't want a show made in 2014, even if it is a sequel to something that old.

So the series will show in multiple years? Makes sense, I agree.

repo: japanesemediamanager/jmmserver


text:
make interrupt::enable unsafe

closes #23
cc @whitequark

@homunkulus r+

:pushpin: Commit 70b9676 has been approved by japaric

:hourglass: Testing commit 70b9676 with merge 70b9676...

:broken_heart: Test failed - status-travis

Unnecessary unsafe

@homunkulus r+

:pushpin: Commit 46a7497 has been approved by japaric

:hourglass: Testing commit 46a7497 with merge 46a7497...

:sunny: Test successful - status-travis
Approved by: japaric
Pushing 46a74971039373eb9642ce990fb9e093048f80a6 to master...

authors: homunkulus japaric whitequark

repo: japaric/cortex-m


text:
Getting Started on Building for MSP430

Hello, I see that this repository is marked work in progress. I'm trying to get a Rust toolchain up and running to develop for TI's MSP430 Launchpad board with the MSP430G2553. I'm trying to build blinky.rs but without directions I'm stuck trying to piece some stuff together.
I've got a typical Rust project set up where I have Cargo.toml, Xargo.toml, and memory.x replicating the file in this repo and main.rs replicating blinky.rs. Finally, I have a file in .cargo/config with the following contents:
[target.msp430]
rustflags = ["-C", "link-arg=-Tmemory.x"]

[build]
target = "msp430"

When I run cargo build or xargo build I get identical results:
ssnover@styrka:~/develop/rust-embedded/blink-msp430$ xargo build
error: failed to run `rustc` to learn about target-specific information

Caused by:
  process didn't exit successfully: `rustc - --crate-name ___ --print=file-names -C link-arg=-Tmemory.x --target msp430 --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro` (exit code: 1)
--- stderr
error: Error loading target specification: Could not find specification for target "msp430"
  |
  = help: Use `--print target-list` for a list of built-in targets

I'm on nightly, however I'm not able to install the msp430 target:
error: toolchain 'nightly-x86_64-unknown-linux-gnu' does not contain component 'rust-std' for target 'msp430'
Is there something I'm missing? I'd be happy to write something up once I've got it working to add to this repository for those following, but I'm a little stuck right now :smiley:  I'm pretty new to Rust, with considerably more experience developing for embedded (I've just rewritten a couple algorithms homeworks in Rust to get a feel for it).
Thanks!

Hi @ssnover,
I'm feeling my way around also around this TI launched and found your comment.
Checking the error message you had, I ran:
-<%>- rustc --print target-list | grep msp msp430-none-elf
So you see the target is named msp430-none-elf

authors: ktsiligkiris ssnover


text:
Use a smarter way to detect git repositories

Currently, hgdistver looks for .git to determine if cwdir is a git repository. Instead, running a git command such as git status should be used to determine if the current repo is a git directory. If the command fails w/ a status error, then we have an invalid repo otherwise, we're in a git repo.

Bitbucket: https://bitbucket.org/pypa/setuptools_scm/issue/10
Originally reported by: Amit Ambasta
Originally created at: 2014-06-30T16:15:11.903

Replacing
#!python

if not os.path.exists(os.path.join(root, '.git')):
        return

with
#!python

    from subprocess import call, STDOUT
    import os
    if call(["git", "status"], stderr=STDOUT, stdout=open(os.devnull, 'w')) != 0:
        return

should be an appropriate fix.

Original comment by: Amit Ambasta

the intent is to quickly skip if one is not in a git related directory at all
if there is a .git folder but it invalid it will bail out as the revparse as intended
so unless there is something huge i have overseen the check works as intended right now
feel free to reopen with an direct example detailing why the check should be done  as you lined out (its perfectly valid, but invokes a fork+exec instead of  a stat which is what i wanted to avoid)

Original comment by: Ronny Pfannschmidt


text:
Missing chunks when using react-loadable

Hello folks.
I'm trying to setup my existing razzle project with react-loadable and I'm having an issue.
The main idea is first to split the codebase by pages. I'm following the with-react-loadable example and I arrived to a point where I do not understand what it's trying to do:

As we can see in the server.js file, it's including the assets.js file (which is not splitted) and each chunk js file, so it's having the chunks code duplicated (because they are included in the bundle.js file).

If I remove the line which includes the bundle.js file, which in my opinion it's how it should work (since I'm including the chunks files), I just get the 0.chunk.js file requested and my app js do not work anymore:

I hope someone could explain me what it's happening or if I am misunderstanding how code-splitting should work.
Thanks!

React loadable is not the reccomended way to do code splitting. Use lazy or use @loadable/component.

See: https://github.com/fivethreeo/razzle/tree/loadable-component/examples/with-loadable-component

Hi @fivethreeo,
I've tried your example and it's not starting unfortunately:
See error below:
> 949 | throw new Error("Module parse failed: Unexpected token (6:9)\nFile was processed with these loaders:\n * ./node_modules/babel-loader/lib/index.js\nYou may need an additional loader to handle the result of these loaders.\n| import loadable from 'loadable-components';\n| var Header = loadable(function () {\n>   return import(\n|   /* webpackChunkName: \"header\" */\n|   './Header');");

Use @loadable/component not loadable-components :)

authors: ericlifs fivethreeo wagnerjsilva

repo: jaredpalmer/razzle


text:
start.elf: is not compatible

I think the image needs an update because with the latest board updates it doesn't work anymore if you flash in on an SD card.
Any chance we will get this update?

Thanks for bringing this up.
Indeed a new build would be long overdue.

There's now a new RC with everything updated to the latest versions.
If you can help test it and report back, it would be much appreciated, and would be happy to mark that as a "stable" release for a change!

That's awesome, will try in the next few days and let you know.
Thank you very very much!

Hi, do you have an update for this? issue, I tried the latest release but still see the issue

Hi, do you have an update for this? issue, I tried the latest release but still see the issue

No, there's a new build but I get the same error.
Unfortunately other didn't manage to replicate the issue.
If you get the same error as mine please reply to this: https://github.com/jareware/chilipie-kiosk/issues/164

authors: federicotravaini jareware libbierose86

repo: jareware/chilipie-kiosk


text:
Showing the same time for cities in different time zones

I have added two cities in different time zones (Leeds, in GMT and San Francisco, in PST). Both are showing the same time when queried.

Hi, please try v2.20 and let me know if this helps.

Closing as no further feedback from the reporter. Reported issue seemed like a regression, fixed in v2.20

authors: filipeestacio jaroslawhartman

repo: jaroslawhartman/TimeZones-Alfred


text:
Withings-sync in Docker and token

When I run app in docker I need to obtaining Withings authorisation (generate a new token) every time when a container is down and up. Is there a way to save the token in an environment variable so that the container can start after shutdown without my intervention?

Yes, but do it with mounting .withings_user.json (see https://docs.docker.com/engine/storage/)

Thank You. It works!

repo: jaroslawhartman/withings-sync


text:
Allow setting default locale for multi-language title

Instead of hardcoded 'English', one can choose other locales to work from

Looking nice, could you please add an example in the readme with a comment about the use of this option?
Any feedback @apurvis ?

Looks great to me just make sure to update the README before merging
On Thu, Dec 7, 2017 at 12:34 Adrien Jarthon notifications@github.com
wrote:

@jarthod https://github.com/jarthod requested your review on:
jarthod/survey-gizmo-ruby#101
https://github.com/jarthod/survey-gizmo-ruby/pull/101 Allow setting
default locale for multi-language title.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/jarthod/survey-gizmo-ruby/pull/101#event-1377693105,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOJDlvtKueK5hcF9q-ljlSqaO043klWks5s-EvOgaJpZM4Q5zEb
.

--
sent from space

Thanks @jarthod @apurvis, I added a little comment into the Readme, just edit it in case it isn't clear enough

Lgtm
Fwiw I'm going to be generally less active maintaining this gem since I am
no longer working for anyone using surveygizmo. Still happy to take a look
though
On Sun, Dec 17, 2017 at 15:01 Adrien Jarthon notifications@github.com
wrote:

@jarthod approved this pull request.
Good for me, anything else @apurvis https://github.com/apurvis ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jarthod/survey-gizmo-ruby/pull/101#pullrequestreview-84009592,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOJDhoUWlDIuB7jlWsUo4tcJ4kL44Cgks5tBXMFgaJpZM4Q5zEb
.

--
sent from space

Thanks for your contribution, I've merged this and released 6.5.1

not a huge deal but should be 6.6.0... https://semver.org
On Mon, Dec 18, 2017 at 3:10 AM, Adrien Jarthon notifications@github.com
wrote:

Thanks for your contribution, I've merged this and released 6.5.1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jarthod/survey-gizmo-ruby/pull/101#issuecomment-352353772,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOJDnlqVMtb4VmS3QPXyMIaKpgbfsqVks5tBh3_gaJpZM4Q5zEb
.

Good point, I've updated to 6.6.0

authors: apuntovanini apurvis jarthod

repo: jarthod/survey-gizmo-ruby


text:
problem with Homekit integration

Hi,
I have HASSIO 2020.12.1 installed on Rpi3b+, your component work fine with my TV.
I notice, when I go to activate homekit integration I have some problem:
if I integrate in homekit climate and vacuum, all works fine; when I go to add your media_player, all HA items disappear from homekit (media_player, climate and vacuum).
Your component is compatible with homekit integration of HA?
any idea?
can you give me any suggestion to troubleshoot this behaviour?

I also tried disabling attribute channel_list and app_list but problem remain there.
Here is may config in configuration.yaml:
media_player:

platform: samsungtv_tizen
name: TV

app_list: '{"Netflix": "11101200001", "YouTube": "111299001912"}'
host: 192.168.4.151
mac: "a4:30:7a:e7:7a:f0"
port: 8002

channel_list: '{"RAI1": "1", "RAI2": "2", "RAI3": "3", "RETE4": "4", "CANALE5": "5", "ITALIA1": "6"}'
is_frame_tv: true
api_key: "98529d37-xxxxxxxxxxxxxx-7fbf073eb0a6"
device_id: "1362c781-xxxxxxxxxxxxx-3931eb8366b0"

I haven't heard much from homekit users, but this other post seems to suggest it works: https://github.com/jaruba/ha-samsungtv-tizen/issues/89
The only thing this component does is identify itself as a Smart TV, respecting the expectations from such a device, the actual communication and exposing of devices is done by HA. So I think it's much more probable that this is a HA or Homekit issue..
Google Assistant and Alexa are documented, so this works with other assistants for sure.

I think the problem appeared in last 1 or 2 months of versions...what you suggest? I can open an issue on GitHub of HA? also if this component isn't officially supported?

I wouldn't know what to suggest.. I can only tell u that I don't think the component is at fault, u should check ur HA logs, it might offer more clues.
I don't use homekit, so I can't test this myself.

thanks. I can replicate problem so I can try with logs...
I searched in /config/home-assistant.log file but nothing useful...I have to search in some other files?
First I have to change debug level in configuration yaml? you can give me some suggestion, please?

OK, I think I found solution to my problem.
I gone to developer tools->services
called homekit.reset_accessory service on entity media_player.tv
and then all worked fine! Now TV is visibile also in homekit: wonderful!
I have Frame 2020 TV, you plan to support art mode, or you suggest me to migrate to component https://github.com/ollo69/ha-samsungtv-smart?

You can track this issue for improved art mode support: https://github.com/jaruba/ha-samsungtv-tizen/issues/106
I'll close this issue as it has been resolved.

Problem appeared again...

Given the way u fixed it, u should now be aware that this cannot be this component's fault..

I’m not sure...

I installed custom components of ollo69 and it works fine in homekit...always media_player type...
https://github.com/ollo69/ha-samsungtv-smart/
it also works with art mode...
thanks for your job, I respect your job! but...

repo: jaruba/ha-samsungtv-tizen


text:
Table flip label

Why isn't (ノಠ益ಠ)ノ彡┻━┻ a default label? This is high priority lets get on this thing asap :100:

https://github.com/himynameisdave/git-label-faces

Closed via https://github.com/himynameisdave/git-label-faces/commit/ced3bf34bf81247beb5840a8be4da06440390ec5

authors: himynameisdave jasonbellamy mrbaguette

repo: jasonbellamy/git-label-packages


text:
Set default branch as gh-pages?

That way people can see a live demo.

Indeed :white_check_mark:

repo: jasoncostello/slate


text:
Scheduling same function to run at same time fails

Scheduling the same function to run at the same time hasn't been working for me. It works fine if I schedule two different functions at the same time, but it fails with the same function (looks like it's only running the latest declared statement instead of both?).
e.g.
gocron.Every(5).Seconds().Do(someFunc, 1)
gocron.Every(5).Seconds().Do(someFunc, 2)
<-gocron.Start()

^ I see only one instance of someFunc running with param 2 -- the latest declared is run.
Any ideas what may be going wrong here? I've also tried running them in different goroutines, but it still fails.

Just saw that @kilhage fixes this in https://github.com/jasonlvhit/gocron/pull/15 -- closing the issue

repo: jasonlvhit/gocron


text:
respect the new rootURL behavior

fixes #369

CLA is valid!

authors: jasonmit yahoocla

repo: jasonmit/ember-intl


text:
The selected data provider crashed. JSON will be used instead.

Issue description

Expected result: What were you expecting to happen?
Sucessful mysql connection and tables to be created
Actual result: What actually happened?
nothing happens. log above

Steps to reproduce the issue

... Instal newest plugin version
... Enable mysql in config

OS and versions

Plugin Version: 2.12
PocketMine-MP:4.4.0
PHP:PHP 8.0.19 (cli) (built: May 13 2022 18:29:39) ( ZTS )
Using JIT: no (delete as appropriate)
Server OS: ubuntu 20.04
Game version: Not the game issue.

Other Plugins
no other plugins.

If you remove all other plugins, does the issue still occur?
yes

Crashdump, backtrace or other files

[17:11:01.419] [Server thread/INFO]: Loading MyPlot v2.1.2
[17:11:01.427] [Server thread/DEBUG]: [MyPlot] Loading Configs
[17:11:01.428] [Server thread/DEBUG]: [MyPlot] Loading MyPlot Generator
[17:11:01.431] [Server thread/DEBUG]: [MyPlot] Loading Languages
[17:11:01.431] [Server thread/DEBUG]: [MyPlot] Loading Data Provider settings
[17:11:01.436] [Server thread/ERROR]: [MyPlot] The selected data provider crashed. JSON will be used instead.

I also tried using following command in mysql directly
mysql> CREATE TABLE IF NOT EXISTS plotsV2 (level TEXT, X INT, Z INT, name TEXT, owner TEXT, helpers TEXT, denied TEXT, biome TEXT, pvp INT, price FLOAT, PRIMARY KEY (level, X, Z));

Result was
ERROR 1170 (42000): BLOB/TEXT column 'level' used in key specification without a key length

maybe related

ah I didn't specify the max varchar length for the world name

@jasonwynn10 yes. Is this fixable ? Could you also include more logging if next sql statement will throw error ? This way I won't need to manually execute statements.


text:
Admonition Type Drop Down List Is Not Availabe

Check for existing bug reports before submitting.

[X] I searched for existing Bug Reports and found no similar reports.

Expected Behavior
The drop-down list should be available
Current behaviour
When trying to create an admonition, you are usually asked to choose an admonition type from a drop down list but the list is not available anymore. I have attached a video to this for demo
https://github.com/javalent/admonitions/assets/38364454/cb968ede-3c85-435c-ad2d-a45cfe831662
Reproduction
Refer to the video
Which Operating Systems are you using?

[ ] Android
[ ] iPhone/iPad
[ ] Linux
[X] macOS
[ ] Windows

Obsidian Version Check
1.6.1
Plugin Version
10.3.1
Confirmation

[X] I have disabled all other plugins and the issue still persists.

Possible solution
N/A

same here on windows 11 obsidian v 1.6.1

I think this is related to #343

authors: EthanDow Smitty010 albertoloscerritos

repo: javalent/admonitions


text:
Reduce memory footprint of MatchMonad

There is no benefit of Match.MatchMonad being lazy (evaluating the result). We should replace internally all Suppliers and Lazy instances by Values. This will reduce the memory footprint.

I think also that Monad is not a good fit here. I will rename MatchMonad to MatchValue.
Maybe Match.MatchFunction and Match.MatchValue should be names Match.Function and Match.Value.

repo: javaslang/javaslang