text:
1592 return courses for a provider that the current provider is the accredited body for

Context
We are adding functionality to allow an accredited body to list training providers and the courses they deliver.
Changes proposed in this pull request

Add an endpoint to list the courses at:

/api/v2/providers/<provider_code>/training_providers/<training_provider_code>/courses
... where provider_code is the accredited body awarding the qualification and training_provider_code is the training provider delivering the course.

Add a scope to CoursePolicy to handle authorisation.

Checklist

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

 Return courses for a provider that the current provider is the accredited body for

@defong & @misaka This has been totally reworked now if you could have another look.

repo: DFE-Digital/manage-courses-backend


text:
[2437] Update courses title when subjects are updated

Context
The title courses title(name attribute) is not currently being updated when it's subjects are being updated.
Changes proposed in this pull request

update the course's name when it's subjects are updated.

Guidance to review
Checklist

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

 Call the course title service when a courses subjects are updated

source: gharchive/pull-request

license: MIT

license_type: permissive

license_source: github-api


text:
[1512] Fix the Change link for course locations

Context
Link to change locations on courses is broken.
Changes proposed in this pull request
Fix the link
Guidance to review
This still needs a feature spec.

As discussed IRL with @misaka: this still needs a feature spec, but this PR should resolve the bug. Merging to unblock manual QA and a potential release.

repo: DFE-Digital/manage-courses-frontend


text:
[DEV-3214] transaction signing

DEV-3214 transaction signing

Logik in die API nehmen

authors: TaprootFreak lapatric

repo: DFXswiss/services


text:
Player can't create custom effects, even with the option checked

Describe the bug
Despite having the checkbox enabled, as a player I still get the permissions error when trying to create an effect. Furthermore, each time I try it creates a visible "Custom Convenient Effects" item in the items list.
Note that I can't reproduce this on my local foundry, even as a player account. It's happening in one of the games I'm exclusively a player in. My only thought is that the first effects I created on my local foundry were done as a GM, and in the other game I as a player was the first one to try and create a custom effect. If it matters foundry is configured to allow players to create items in this game.
To Reproduce
Steps to reproduce the behavior:

Check the box to enable both the app control to add effects and for players to create effects
As a player, open the app control and hit either the Import Custom Effects or Create Effect buttons
See error
Check the items panel to see the new custom convenient effects item

Expected behavior
Player properly creates a new effect and the Custom Convenient Effects item is hidden from the item list
Screenshots

Additional context
Again, everything works as expected in my local world, and the only thing I can think of that's different is that it wasn't the GM that tried to create the very first effect in the world where the error is occurring.

Update, kind of got this working.
DM deleted all the erroneous Custom Convenient Effects, then created a Custom Effect himself.
I was able to see this effect in the list but couldn't edit it and still couldn't make any myself. DM then gave me ownership over the Custom Convenient Effects item that was showing up in the items panel, at which point it disappeared from his view.
After that, I was able to edit the effect already made as well as create my own.

This is strange because you shouldn't even be able to see the custom convenient effects item. Were you the first person to ever create a custom one? Might be an edge case around a player being the first one to do it

Yes I was the first account to try and create a custom effect on that world, as a player.

Yeah, I can reproduce this and am looking into a good way to fix it. Thanks for reporting it!

Fixed in v3.2.0

source: gharchive/issue

authors: DFreds SirGarhi

repo: DFreds/dfreds-convenient-effects


text:
Update mega-linter.yml

Disable COPYPASTE and SPELL checks
Disable JAVASCRIPT_PRETTIER
:ballot_box_with_check: Definition of Done checklist

[x] Meaningful title and valuable description in pull request
[x] Code change tested manually if not covered by automated tests
[x] Pull request linked to one or more issues/stories
[x] Acceptance criteria of the linked stories satisfied
[ ] Code change comprehended by those who approved it
[x] State of target branch maintained or improved after the code change

Why are you disabling them though?

I was just trying to understand why I got a copy-paste error on the CSS
file although I just updated the Arduino sketch which has no CSS code in
it. I think I've understood now what the problem is. I'll remove the pull
request and try to configure the megaLinter by adding JAVASCRIPT PRETTIER
DISABLE ERRORS: TRUE and perhaps making the VALIDATE_ALL_CODEBASE: FALSE.
Would that be an acceptable solution?
Den fre 20 maj 2022 kl 12:55 skrev Dimitris Platis @.***

:

Why are you disabling them though?
—
Reply to this email directly, view it on GitHub
https://github.com/DIT113-V22/group-15/pull/46#issuecomment-1132763990,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AV26LJRVQTDUC7ZIA2WDUDLVK5VSJANCNFSM5WPAI3YQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

authors: AlaahT platisd


text:
about the rbot data

Hi, could you release part of the rbot data, Like one object in your input format? The whole rbot data is too big to download.
Thanks!

Hi @ghoshaw,
unfortunately, since we did not create the dataset, we will not release any of the RBOT data ourselves.
For questions regarding the dataset, we would like to refer you to its creators.

authors: ghoshaw manuel-stoiber

repo: DLR-RM/RBGT


text:
Revise Write Plan page

UX wireframes @JEK-III : http://h90c3m.axshare.com/#g=1&p=write_plan
Functional Specification (global spec for all write plan pages): Implement with a non-table layout; attach labels to input fields
Related issues for write plan pages #491 #495 #497 #498

Rename second tab after Project Details "Write Plan"
Blue notepad icon functional spec: For multi-phase plans (e.g., Horizon2020), split into separate tabs for each phase, labelled with the name of the phase (e.g., Initial DMP, etc.)
Backdrop functional spec at bottom of wireframe: The first time the page is visited, first section is expanded, others are closed. Subseqently, open first section containing an unanswered question.
Up to 3 guidance selections can be displayed, one tab for each. Guidance redesign is separate, related issue #495
Create slider for Comments (renamed from "Share Note"); blue notepad functional spec: Contents reflect whichever question was last in focus. Set to first question when the page loads.
Rename button at bottom of page "Download Plan"
Move progress bar inside of Write Plan tab area
Revise display for no. questions answered (0/3, 1/3...3/3) - show empty circle if zero questions answered, green check if at least one question answered

Hoping @jollopre can work on this one since he is familiar with the new auto-save feature.
Note that the Guidance portion of this page is a separate ticket: #495 This ticket will need to be worked on in coordination with the guidance ticket because the Guidance/Comments section is being contextualized to the answer that has focus. (e.g. user expands a section and/or sets focus on an answer and the guidance/comments should update)
The section/answer portions of this page should function the way they currently do in the development branch. The following things need to be added/changed though:

Progress bar moves so that its within the tab rather than floating above
Progress bar styling needs to be re-implemented
Add a new status indicator to the section accordion bar (e.g. 1/3 and 0/2 in the wireframe)

@JEK-III @stephaniesimms @sjDCC and @dsisu
I'm not completely finished with this yet but wanted to provide a screenshot to begin soliciting any feedback you may have for the layout.

Looks good to me @briri Nice clean layout. I just have two suggestions (marked on screengrab below)
I think the section headings would be best with a coloured background to divide them more visually. I also wonder if we can reduce the padding at the bottom of the guidance/share note box and scale this to fit the number of pieces of guidance? It seems particularly big (too much whitespace) on the share note example.

One other teeny point is changing the text to 'UoE example answer' The phrase 'Example of answer' was one of Marta's portuguese-english-isms that I thought we had removed but she's creeping back in ;-)

@sjDCC @dsisu @stephaniesimms @JEK-III
The revised write plan page is out on roadmap-stg and ready for your review. I can already see the "unsaved changes" message is appearing above the "updated by someone at ..." message so we will need to adjust its position. Let me know where you would prefer to see it.
Please note any changes in this ticket and move it back to in progress if you have any.

Thanks @briri
I much prefer it with the greyed out section headings and smaller guidance / comments box.
There are a couple of things I'd change:

Personally I would position the example answer above the answer box to give ideas before people complete. It seems odd to me below
I think we need to reintroduce the scroll bar into example answers. Some of our Unis have given really detailed examples, or multiple examples, so the box can be very large. At present some examples make the save box a long way off
We seem to be missing labels on guidance and example answers to explain where they've come from

A couple of screengrabs below to explain what I mean

I see what you mean about the 'unsaved changes' button obscuring text. I guess it should come beneath the save button like in DMPonline

That's really odd @sjDCC it displays the organisation names for me on the guidance and the example answers. Which template did you use? can you share the plan with me?

Maybe it's a legacy data issue? It was a funder one. EPSRC I think. Will dig out and share

A quick follow on to this which I've just noticed on creating a new plan. The guidance which is attached to the template seems to be missing the text 'guidance' on the label

I agree w/everything except position of the example answer. It seems odd to me above. My thought is that we want users to proceed smoothly through the wizard from question to supplying an answer, and the example below the editor is prominent enough that they can refer down to it if they want to but not have to hurdle over it if they aren't interested in the example. If you feel strongly about it going above @sjDCC that's fine, but we should definitely implement a scroll bar as noted below so users can still navigate easily to the editor and provide an answer.
Here's a summary of requested tweaks to this page @briri w/one more above TBD:

Reintroduce the scroll bar into example answers. Some of our Unis have given really detailed examples, or multiple examples, so the box can be very large. At present some examples make the save box a long way off (screenshot above)
Missing label "guidance" next to Org name in right-hand guidance panel (see DCC ___ screenshot above and UCOP ___ below)
if we're implementing autosave #450 , the "Unsaved changes" warning msg is no longer needed (I also find it annoying); remove it

My main concern with putting suggested answers above the question (which does make sense from a workflow perspective) is that it potentially introduces a lot of text between the question and the place to answer it. I think that will still be true with scrollbars– definitely a good idea– unless we make the answer box irritatingly short.

Thanks @stephaniesimms @JEK-III
@dsisu and I definitely both prefer the example answer above the answer box. It seems to fit better in the workflow there and we'd rather avoid too many changes to the existing look and feel of DMPonline. Having said that, I do take your point about avoiding users having to skip over this if they're not interested. So long as the example answer is prominent (i.e. adjacent to answer box rather than in guidance panel) I'm not too fussed about whether it's above or below. Happy to switch to your preferred view.
Considering your point about not having to skip over this, perhaps the save button should move up between the answer box and example answer so the editable / action area is grouped together and all help/reference resources are around this in panels to the side and below? That may not be necessary with the autosave though as people will need to click this button less.

Convert the guidance portion of the write plan page to look like the one in the wireframe. Use a slider to switch between guidance and comments and create guidance tabs by organisation.

closing. the work on the write plan tabs is complete

authors: JEK-III briri sjDCC stephaniesimms

repo: DMPRoadmap/roadmap

license: mit

license_source: bigquery


text:
Service down

It would appear the service is down, https://www.unsplash.it. I just get a time out.  Anything we can do to help?

Glad it's back up.  Any feedback on what happened?

repo: DMarby/unsplash-it


text:
TLS forwarding to real localhost

I'm swicthing to dnscrypt-server from normal operation to docker.
The machine I'm running the docker image on runs nginx  and doh-proxy on it too.
nginx is running on port 8443 so that dnscrypt-server can run on 443.
nginx reverse-proxys to doh-proxy and serves a web-page.
That worked fine when I was running dnscrypt-proxy wirthout docker.
When starting teh docker image with
docker run --name=dnscrypt-server -p 443:443/udp -p 443:443/tcp -p 9100:9100/tcp \ --restart=unless-stopped \ -v /etc/dnscrypt-server/keys:/opt/encrypted-dns/etc/keys \ jedisct1/dnscrypt-server init -N myname.org -A -M 0.0.0.0:9100 -T 127.0.0.1:8443 \ -E '133.224.17.124:443,[2001:14f0:5001:bbb:5300:030f:fee7:f70d]:443'
it obviously doesn't work because 127.0.0.1 revers to the internal address of the docker container, but it should refer to localhost of my machine where nginx resides.
How to accomplish that in a safe way? I managed to get it to work with adding --network=host to the docker command. Is that safe and the only way?

I went with --network=host  and strict firewall. Read a lot about it and it seems the best. Now I can query unbound inside the container too.

This is great!
Sorry, I'm not too familiar with Docker either...

repo: DNSCrypt/dnscrypt-server-docker

license: ISC


text:
Update memory allocation and instances (Blog)

Preview: 1GB, 1 instance
Dev: 1GB, 1 instance
Prod: 2GB, 1 instance

change made

authors: greensomes lpgoldstein

repo: DOI-ONRR/blog-nrrd


text:
=>  提 Issues 前阅读须知 <=  （功能讨论前往隔壁 Discussions）

针对 API 的使用疑惑统一使用以下模版：

场景: 比如 “在直播间使用评论功能”，必要时可提供贴图等
问题: 比如 “如何使用xxxx/ 为什么xxxx / 等等”，必要时可提供代码等
期望: 比如 “希望能够能后像抖音一样的场景”，必要时可提供贴图等

针对 Bug 的反馈：

Androidx版本：是/否
PanelSwitchHelper版本：v1.3.2
手机型号: 小米5x
手机系统版本： Android 5.0
问题描述：比如 “在xxx场景下输入法无法顶起底部布局”，必要时可提供代码，贴图等。
Log提供：过滤 PanelSwitchLayout，提供异常场景下的 log 信息

由于机型反馈的问题很多都是机型兼容/开发者API使用不当导致的，定位问题比较难。
希望反馈者能针对上述要求提供对应信息，否则很难帮助您定位到具体问题，望理解。
update 2022/01/19 ：
大家的问题反馈多数是文字表达，框架接入业务之后出现的缺陷希望能够附带缺陷场景视频及业务实现逻辑，以方便协助定位问题。

提供的 log 至少包含
2020-11-09 15:18:53.712 27328-27328/com.example.demo D/LogTracker: PanelSwitchLayout(194659349)#onLayout => 界面每一次 layout 的信息回调
    layoutInfo                                         = onLayout(changed : false , l : 0  , t : 0 , r : 1440 , b : 2873） ===================&&&&=================
    currentPanelState                                  = 收起所有输入源
    isPad                                              = false
    isFullScreen                                       = false
    isPortrait                                         = true
    isNavigationShown                                  = true
    screenH (static,include SystemUI)                  = 3040
    screenH (static,exclude SystemUI)                  = 2874
    screenH (dynamic,exclude SystemUI)                 = 2873
    localLocation[y]                                   = 114
    toolbarH                                           = 0
    StatusBarH                                         = 114
    NavigationBarH                                     = 53
    layout Location                                    = (0,114)
    paddingTop                                         = 0
    keyboardH                                          = 1285
    ContentContainerTop                                = 0
    ContentContainerH                                  = 2873
    PanelContainerTop                                  = 2873
    PanelContainerH                                    = 1285
    changeBounds                                       = true
    reverseResetState                                  = true
    contentContainer Layout                            = (0,0,1440,2873)
    panelContainer Layout                              = (0,2873,1440,4158)

2020-11-09 15:18:53.714 27328-27328/com.example.demo D/LogTracker: PanelSwitchLayout(194659349)#onGlobalLayout => 界面每一次变化的信息回调
    windowSoftInputMode                                = 19
    currentPanelSwitchLayoutVisible                    = true
    screenHeight                                       = 3040
    contentHeight                                      = 2873
    isFullScreen                                       = false
    isNavigationBarShown                               = true
    deviceStatusBarH                                   = 114
    deviceNavigationBarH                               = 53
    systemInset                                        = left(114) top(0) right(0) bottom(53)
    inset                                              = left(0) top(114) right(0) bottom(53)
    currentSystemInfo                                  = statusBarH : 114, navigationBarH : 53 全面屏手势虚拟栏H : 0
    currentSystemH                                     = 167
    minLimitCloseKeyboardH                             = 53
    minLimitOpenKeyboardH                              = 300
    lastKeyboardH                                      = 0
    currentKeyboardInfo                                = keyboardH : 0, realKeyboardH : 0, isShown : false

大家的问题反馈多数是文字表达，框架接入业务之后出现的缺陷希望能够附带缺陷场景视频及业务实现逻辑，以方便协助定位问题。

当采用今日头条的兼容适配方案时，底部的虚拟返回键会挡住部分输入框的布局。原因是计算虚拟键的高度计算错误，建议采用系统的资源的API Resources.getSystem() 来获取虚拟返回键的高度，而不是当前的上下文。这个坑很浪费时间定位呀，恳请兼容一下。

版本更新 能否 updatelog 说明那

收到了，辛苦啦

repo: DSAppTeam/PanelSwitchHelper


text:
🛑 Sister Unhas is down

In 48c2f6e, Sister Unhas (http://sister.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sister Unhas is back up in d93ea8b.


text:
🛑 Fakultas Hukum is down

In 6945cd1, Fakultas Hukum (https://lawfaculty.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Hukum is back up in 0ea89f2 after 10 minutes.


text:
🛑 Fakultas Kedokteran is down

In 7bfc1a1, Fakultas Kedokteran (https://med.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Kedokteran is back up in 8c0ee31 after 41 minutes.


text:
🛑 Unhas Main is down

In a151fb0, Unhas Main (https://unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Unhas Main is back up in 0240fd0.


text:
🛑 SSO Unhas is down

In 2204f32, SSO Unhas (https://sso.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SSO Unhas is back up in 051487e after 14 minutes.


text:
🛑 Unhas Main is down

In f17ffcd, Unhas Main (https://unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Unhas Main is back up in e735bad after 5 minutes.


text:
🛑 Fakultas Kedokteran Gigi is down

In a559044, Fakultas Kedokteran Gigi (https://dent.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Kedokteran Gigi is back up in 4bdc255 after 4 minutes.


text:
🛑 Fakultas Pertanian is down

In f74d928, Fakultas Pertanian (https://agriculture.unhas.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Fakultas Pertanian is back up in a7ba47b after 45 minutes.


text:
DAO Implementation (Status: 50%) - Community help requested

Documentation (under construction): https://wiki.duraspace.org/display/~joaomelo/DAO+Implementation
Tips (under construction): https://wiki.duraspace.org/display/~joaomelo/Implementation+tips
Jira Ticket (discussion): https://jira.duraspace.org/browse/DS-1438
SpringUI Demo using it: http://demo.lyncode.com:8080/springui

Closing as obsolete. This is achieved in Service API refactoring: DS-2701 / #1083

authors: lyncodev tdonohue

repo: DSpace/DSpace


text:
java.lang.NoClassDefFoundError: net/dv8tion/jda/core/JDABuilder

Error: https://hastebin.com/ciwakoqaju.vbs
pom.xml: https://hastebin.com/gayudegire.xml
Project structure: https://imgur.com/a/EOUEUuH
I'm new to Maven so please teach me

This is not the place to learn maven.

Here's a hint: build a fatjar. Google for how. But I agree with @MinnDevelopment, this is not a JDA related issue so it's not fit for this place. There are many other places made specifically for this purpose.

authors: ArsenArsen LoYungSum MinnDevelopment


text:
Fix checks for prune and retrievePrunableMemberCount

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[x] Internal code
[ ] Library interface (affecting end-user code)
[x] Documentation
[ ] Other: _____

Closes Issue: NaN
Description
The methods will now respond with a nice IllegalArgumentException instead of the discord api ErrorResponse when trying to use more then 30 days

Why was this closed?

Ah. Duplicate PRs


text:
vue Baidu Map 定位到当前位置 错误

[BUG 反馈] vue Baidu Map 定位到当前位置 错误
浏览器版本号
使用的是小程序(We码)  华为内部封装的一个架构 移动端
Vue 版本号
2.9.6
组件库版本号
^0.21.22
现象描述
标签<bm-geolocation> 点击定位无响应,在测试环境上点击居然定位到了市中心 (偏离位置太远,排查不出问题)

完整异常信息
无

在线示例 / 仓库 URL
无
复现用例
无

预期输出
定位到当前位置 并显示标记点

实际输出
定位到武汉市市中心

用编辑器模拟的话 点击右下角的定位 无反应
发布到测试环境 点击定位居然定位到了武汉市市中心(本人当前位置应该是武汉洪山区这一片区)
不知道是组件的问题还是因为代码原因

<template>

    <baidu-map class="map" :center="center" :zoom="zoom" @ready="handler">

      <bm-polygon
        v-if="geoObj.shape=='polygon'"
        :path="polygonPath"
        stroke-color="blue"
        fillColor="#6c90e0"
        :fillOpacity="0.5"
        :stroke-opacity="0.2"
        :stroke-weight="1"
        :editing="false"
      />

      <bm-circle
        v-if="geoObj.shape=='circle'"
        :center="circlePath.center"
        :radius="circlePath.radius"
        stroke-color="blue"
        fillColor="#6c90e0"
        :fillOpacity="0.5"
        :stroke-opacity="0.2"
        :stroke-weight="1"
        :editing="false"
      ></bm-circle>

      <bm-marker
        v-if="geoObj.shape=='signLocation'"
        :position="center"
        :dragging="true"
        animation="BMAP_ANIMATION_BOUNCE"
      >
        <bm-label
          content="签到地址"
          :labelStyle="{color: 'red', fontSize : '12px'}"
          :offset="{width: -35, height: 30}"
        />
      </bm-marker>

      <bm-map-type
        :map-types="['BMAP_NORMAL_MAP', 'BMAP_HYBRID_MAP']"
        anchor="BMAP_ANCHOR_TOP_LEFT"
      ></bm-map-type>

      <bm-scale anchor="BMAP_ANCHOR_TOP_RIGHT"></bm-scale>

      <bm-navigation anchor="BMAP_ANCHOR_TOP_RIGHT"></bm-navigation>

      <bm-geolocation anchor="BMAP_ANCHOR_BOTTOM_RIGHT" :showAddressBar="true" :autoLocation="true"></bm-geolocation>

      <bm-copyright
        anchor="BMAP_ANCHOR_BOTTOM_RIGHT"
        :copyright="[{id: 1, content: 'Copyright Message', bounds: {ne: {lng: 110, lat: 40},
        sw:{lng: 0, lat: 0}}}, {id: 2, content: '@2020|MBS-人事健康·行政工具'}]"
      ></bm-copyright>
    </baidu-map>

</template>

代码如上

当前项目需求做一个打卡区域的功能,进入页面会根据传入的数据显示打卡区域 圆形或者是多边形(这个目前已经实现了)
还有一个功能就是显示自己的当前位置
如果打卡的范围和自己定位相差甚远 可以点击右下角的定位按钮进行定位

快来看看孩子吧,孩子都快哭了

repo: Dafrok/vue-baidu-map


text:
🛑 Blog is down

In e181c4b, Blog (https://dagshub.com/blog/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Blog is back up in 15c03ae.

repo: DagsHub/uptime


text:
Functions の自動デプロイ

やること

main , develop にマージされたら Functions を prod , dev にデプロイする

https://github.com/DaigoWakabayashi/NyanBuzz/issues/38
がったので close

repo: DaigoWakabayashi/NyanBuzz


text:
Cannot connect to OpenRGB server when using Homebridge child bridge

As you can see it reads the accessories, but can't start because of this connection error. I tried to fix it by opening port 52152 (the bridge port), but nothing changed. I tried using the plugin without the child bridge and homebridge couldn't start at all.

[11/14/2022, 6:45:13 PM] Registering platform 'homebridge-openrgb.OpenRgbPlatform'
[11/14/2022, 6:45:13 PM] [OpenRGB] Loaded homebridge-openrgb v1.4.0 child bridge successfully
[11/14/2022, 6:45:13 PM] Loaded 5 cached accessories from cachedAccessories.0E2AE1A3AA14.
[11/14/2022, 6:45:13 PM] [OpenRGB] Loading accessory from cache: Corsair Vengeance Pro RGB
[11/14/2022, 6:45:13 PM] [OpenRGB] Loading accessory from cache: Corsair Vengeance Pro RGB
[11/14/2022, 6:45:13 PM] [OpenRGB] Loading accessory from cache: MSI GeForce RTX 3080 10GB Gaming Z Trio LHR
[11/14/2022, 6:45:13 PM] [OpenRGB] Loading accessory from cache: Razer Viper Mini
[11/14/2022, 6:45:13 PM] [OpenRGB] Loading accessory from cache: MSI B550-A PRO (MS-7C56)>
[11/14/2022, 6:45:13 PM] Homebridge v1.5.1 (HAP v0.10.4) (OpenRGB) is running on port 52152.
 Error: read ECONNRESET
     at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
[11/14/2022, 6:45:13 PM] [OpenRGB] Child bridge process ended

Edit: I can confirm the OpenRGB SDK server connects to the plugin. When I stop the server it correctly throw this error instead of "ECONNRESET":

[11/14/2022, 6:56:22 PM] [OpenRGB] Unable to connect to OpenRGB SDK server at 192.168.1.49:6743

Also, when it throws "ECONNRESET" this is what I see from OpenRGB:
https://user-images.githubusercontent.com/63691557/201735809-38c87511-b401-44c0-9f2f-3039088feb4f.mp4
Instant connection and disconnection.

Can you please post the configuration you are using for the plugin?

{
            "name": "OpenRGB",
            "discoveryInterval": 60,
            "preserveDisconnected": true,
            "servers": [
                {
                    "name": "PC",
                    "host": "192.168.1.49",
                    "port": 6743
                }
            ],
            "_bridge": {
                "username": "0E:2A:E1:A3:AA:14",
                "port": 52152
            },
            "platform": "OpenRgbPlatform"
        }

Is your PC's firewall configured to allow connections on port 6743 and to allow ping requests (ICMP)?

Yes, 6743 allowed and I can ping 192.168.1.49.

What version of Node.js is Homebridge using?
v18.12.1

What version of OpenRGB is the PC running?
v0.71

Any news?

Not yet. Haven't been able to reproduce your issue. I'll let you know if I have an update.

Closing due to lack of reproduction or other reports

authors: Cohvir DallasHoff

repo: DallasHoff/homebridge-openrgb


text:
Automatically Destroying Bodies, etc in Collision/Dynamics World's Destructors

As title, I'm curious what the reason is for requiring the user to manually destroy all Bodies and Joints. The objects are created by using methods of a World object, and immediately added to it - they can never live longer than the World object. Thus, it makes no sense to require the user to manually delete them. In many cases, it requires a great deal of effort to keep track of them. To make things worse, the sets of pointers that the World objects already store are protected, making it impossible to destroy them in the destructor of the object containing the World.
This also applies to Bodies and Shapes, in that a ProxyShape can never outlive the Body, so requiring that it be destroyed manually is pointless.
I propose that CollisionWorld and DynamicsWorld both be modified to automatically destroy all of their Bodies and Joints, and Bodies their Shapes. This would be a far more reasonable design that would allow immense amount more flexibility for end users.

Actually, I just noticed that RigidBody actually already does this, I misread the documentation. Sorry! However, it certainly does still apply to Collision / Dynamics World, Bodies and Joints.

Yes, you are right. A body or a joint cannot outlive the World in which they have been added. However, they life can be shorter. A user should be able to call the destroyBody() or destroyJoint() methods if he wants to remove a body or a joint from the world before the end of the application for instance (for optimization because the object is not visible anymore, etc). Therefore,  we need to keep those two methods to manually remove a body or a joint from the world.
I agree with you, the world destructor should be smarter. I propose to change the CollisionWorld and DynamicsWorld destructors so that they call the destroyBody() or destroyJoint() methods on every bodies or joints that have not been removed from the World yet.
It means that the user will still be able to manually remove a body (or joint) but if he doesn't, the World destructor will remove it automatically at the end.

Yes, that is exactly what I meant. Of course we still need to keep the destroy methods, for that reason. Splendid! :)

OK perfect. I will take care of this for the next release. Thanks a lot for reporting this.

I have implemented this in the commit 345afc1a1dc61e42b0a93dcf1e3696b1a84d6ec0 in the develop branch.
This will be available in the next release of the library.

authors: DanielChappuis jagoly

license: Zlib


text:
Example applications

Could be good to use some proper examples focused on applications, especially as a way to show how the interfaces should be used in a clearer way. For example:

Using my other package FiniteVolumeMethod.jl, demonstrate adaptive mesh refinement, using a posteriori error estimates to impose area constraints on each triangular element iteratively.
Demonstrate a cell simulation model which uses Delaunay triangulations and Voronoi tessellations to model cell connectivities and Voronoi polygons to model geometric properties of a cell (i.e. area).
Image compression with Lloyd's algorithm.

Closing this as it is mentioned already now in #63 and is already in progress in the new-docs branch.


text:
[FA3] Performance confusion about bwd

I compared the performance of between fa2 and fa3。Here is my testcase:
(B, S, H, D) = (4, 8k, 8, 128), (1, 16k, 8, 128), (1, 32k, 8, 128), (1, 64k, 8, 128), (1, 128k, 8, 128)
The performance of fwd stage is much faster than the fa2, but seems to differ from the performance indicated in the readme.
The performance of bwd stage is is even slower than fa2's.
This is the function I used: https://github.com/Dao-AILab/flash-attention/blob/main/hopper/test_flash_attn.py#L181

Is it because the current code is incomplete?

take the case (1, 32k, 8, 128) as an example:
fa2: fwd: 355TFlops, bwd: 337TFlops

fa3: fwd: 500TFlops, bwd: 305TFlops

it seems like the bwd of fa3 is slower than fa2, and the fwd of fa3 is not as fast as the paper suggests

I am also seeing significant performance difference from the paper especially with causal, would be great if a benchmarking script is given that can reproduce the results from the paper.

There's a persistent scheduler that's not yet enabled for causal, we'll update it soon.

Is the same reason for bwd's performance which is slower than fa2's

@endurehero

which tools are you used for get the time cost, thank you.

@endurehero  which tools are you used for get the time cost, thank you.

nsys

Is the same reason for bwd's performance with causal which is slower than fa2's ?

I have made it clear that bwd does not support causal at present, so the performance data obtained at present is nocausal. Current performance can be aligned with the fa3 paper, thank you

I have made it clear that bwd does not support causal at present, so the performance data obtained at present is nocausal. Current performance can be aligned with the fa3 paper, thank you

authors: Lzhang-hub MustafaFayez endurehero tridao

repo: Dao-AILab/flash-attention


text:
Treat addresses as bigints

          this should be EthereumQuantity which you can get from interceptors wire types too

Originally posted by @KillariDev in https://github.com/DarkFlorist/lunaria/pull/197#discussion_r1311229989

for addresses we have EthereumAddress in wire-types in interceptor which is the type you can use

but that address is non-checksummed one, you might want to have one for checksummed one if thats what you are using in code

closing this one as ethersjs already have handlers for hex string addresses and checks for checksum as well

authors: KillariDev jubalm

repo: DarkFlorist/lunaria

license: Unlicense


text:
Bug fixes in example code and .c file

The example code was missing initialization of the I2C line, and the read() function from the library didn't work.
I encountered a forum post where someone else also could not get the library to work properly but I didn't see any fixes. For some reason replacing the for loop with a while(Wire.available()) loop fixed the problem and the code works.
I'm using a FX29K0-100A-0100-L and can confirm it is also working on this part number.

The example code was missing initialization of the I2C line, and the read() function from the library didn't work. I encountered a forum post where someone else also could not get the library to work properly but I didn't see any fixes. For some reason replacing the for loop with a while(Wire.available()) loop fixed the problem and the code works.
I'm using a FX29K0-100A-0100-L and can confirm it is also working on this part number.

I am using 0050 Do I need to change 0010 in the code and Fx29k.h also to be 0050?
FX29K scale(FX29K0, 0050, &Wire);
class FX29K{
private:
uint8_t _i2cAddr = FX29K0;
uint8_t _range = 0010;
uint16_t _tare = 0;
TwoWire* _i2cPtr = &Wire;

authors: JKazem RoboticAutonomy


text:
invalidate cache on account chnage

PR Summary
when frequently changing accounts/switching to a new collection, for example when iterating through collections, cache becomes invalid. meaning that in case collection has changed, the cache contains wrong list of projects and it needs to be updated.
so we need to invalidate cache each time we switch account
PR Checklist

[x] [Write Help] - no need in additional help
[x] [Write Unit Test] - covered by existing tests
[x] [Update VSTeam.psd1] - no need additional format files
[ ] [Update CHANGELOG.md] - do i need to update change log befor it is merged?

Thanks for the support. I will get to this ASAP. I hope today.

authors: DarqueWarrior eosfor

repo: DarqueWarrior/vsteam


text:
A LOT of grammar fixing

yikes

Thanks Andrew!

authors: AndrewDaGuy DashCruft


text:
Closing out of Tool config after Save doesn't save changes to Data Selection

When user goes to Tool and makes a Data Selection and hits Save then exits the Tool to navigate away to another tab (for some reason X) and returns back to the Tool they had just configured with a set of Data, their original selection is not saved. Instead, the selection is switched back to the original "Process all". If they do not notice this (since they hit Save already), they might Launch Analysis on all samples even if that is not the intended set.
Screenshots below:

Chose 2 samples from the Data Selection step, changed an Input.

Hit Save and Launch Analysis button activates.

Realized I needed to look at my Data Model so swapped to that tab.

Finished checking my Data Model and go back to Tools but now my selection is reset to all 3500 samples. Didn't notice this since i had already hit Save and I Launch Analysis on 3500 instead of 2 samples. oops.

From report file from ZD ticket #1363

A million
This happened at the hackathon!

repo: DataBiosphere/terra-ui


text:
[IA-3394] [IA-3431] Add balanced persistent disk to compute + Galaxy modals

Description
Add balanced persistent disk to the compute modal and Galaxy modal select menu.
Note - Cromwell appears to not have this same selection.
Solution
Update the machines.js regionToPrices dict so pricing is available.
Add balanced disk to the pdTypes object.
Include balanced disk to the select menu for compute and Galaxy Modals.
Nice-to-have included fix - select menu will now automatically pop up or down based on available space. Previously, it was down, so users had to scroll to see all options with the addition of another disk type.
Testing
Manual testing only.
Selected the balanced persistent disk in all 3 offerings.
Viewed the updated cost on the UI after selecting balanced disk.
Created Jupyter, Galaxy, and Rstudio apps using balanced disk.
Reconnected to the balanced disk after deleting an env.

I still have to make a fix - when deleting an environment, the message "You will still incur charges for your persistent disk at a rate of unknown per month"

Appears this is a bug prior to my changes. Created a bug ticket since it will take a little more digging than initially expected.

reminder don't merge until leo release happens


text:
[SU-260] Allow renaming files from file browser

https://broadworkbench.atlassian.net/browse/SU-260
Stacked on #4078.
This adds the UI for renaming files from the file browser.
https://github.com/DataBiosphere/terra-ui/assets/1156625/afa65e8e-dac5-44bc-89f6-e6a3d87fa423

Is this for just Azure?  I tried testing it out and in GCP the three-dots menu did not appear for the files.

For GCP, which file browser did you use?
The new file browser has to be enabled for GCP workspaces from the feature preview page (https://bvdp-saturn-dev.appspot.com/#feature-preview). Azure workspaces only use the new file browser.
Aha!  That was it.  Thank you!

This button should be disabled / show a tooltip if the user doesn't have permission to write to the workspace.

The rename button should be disabled / show a tooltip if the user doesn't have permission to write to the workspace.

Rebased after rebasing #4078 to resolve merge conflicts.

I am not sure why, but it took me a second to fine the rename in the ... dots -> for some reason a more intuitive way I was expecting was to select the file and see "Rename" appear next to the "New folder" button. I dont think anything needs to be changed, but just wanted to leave this here since it came to mind :)

Generally, the buttons at the top of the file browser either create a new file/folder (upload / new folder) or operate on a list of files (delete). But rename doesn't make sense as an operation on multiple selected files, so I had to add the menu for operations on a single file. The 3 dots button on the side was based on the UI in other lists (workspaces, groups, etc).

authors: calypsomatic nawatts yuliadub


text:
Cherry-picks for v1.10-dd

This PR cherry-picks a variety of commits from upstream back to v1.10.
Upstream PR's:

https://github.com/cilium/cilium/pull/17856
https://github.com/cilium/cilium/pull/17939
https://github.com/cilium/cilium/pull/18217
https://github.com/cilium/cilium/pull/18296
https://github.com/cilium/cilium/pull/18330
https://github.com/cilium/cilium/pull/18505

Just noticed the destination branch is https://github.com/DataDog/cilium/tree/v1.10. Is that intentional? Shouldn't we have a -dd branch to avoid conflicting with upstream's 1.10 branch?

authors: EricMountain jaredledvina

repo: DataDog/cilium


text:
logs group by pattern is not working properly

The number of logs for one of the services shows 9.56k error logs but when I grouped them by pattern, it displays only 4 logs and many actual logs are missing in actual patterned logs, which is a high discrepancy in data.
Please see attached screenshots.

Hi there, please contact Datadog support for help with this unless you have some evidence that there is a problem with the Datadog agent itself. Thanks

repo: DataDog/datadog-agent


text:
Initial OpenShift manifests and documentation

This PR holds the installation instructions and material for OpenShift Enterprise/Origin.
Using an already-present "privileged container" SELinux role, our diff from the standard Kubernetes installation instructions is only one more manifest to apply.
Other PRs to come for adjustments/bugfixes before we can ship OpenShift support.

Added namespace: default to both daemonsets to match the serviceaccount's namespace


text:
(fleet) add scafholding for policies handling at the agent install

This PR adds the basic scafholding to resolve policies from Fleet at the installation of the agent. It is non-functional:

The CDN is not available yet and mocked right now. We might put a temporary full RC client in its place to speed up dev.
We don't handle the daemon parts yet, this is only at install
Experiments are not yet handled (not needed for the install)

Shared components change reviewed in https://github.com/DataDog/datadog-agent/pull/28349, was merged into this PR during the freeze and no change after that, I'll merge

/merge


text:
rtloader: preserve LC_RPATH for datadog-agent-three install on mac

What does this PR do?
Set INSTALL_RPATH_USE_LINK_PATH TRUE for building datadog-agent-three on macos to fix "image not found" error.
Motivation
I started getting this error when trying to run python checks locally:
Error: Could not initialize Python: could not load runtime python for version 3: Unable to open three library: dlopen(libdatadog-agent-three.dylib, 9): Library not loaded: @rpath/libpython3.8.dylib
  Referenced from: /Users/dusan.jovanovic/go/src/github.com/DataDog/datadog-agent/dev/lib/libdatadog-agent-three.dylib
  Reason: image not found

It was all working fine and somehow when I tried to build specifically for python2 then this problem started happening. I don't understand why cmake sometimes decides to link statically vs dynamically. On my laptop it will link python2 statically but never python3. On others' it links both python2 and python3 statically.
Currently on my laptop for python3 it links dynamically via rpath and LC_RPATH is stripped away on install so it fails to load the python lib. Setting INSTALL_RPATH_USE_LINK_PATH TRUE preserves the LC_RPATH so the python3 lib loads successfully.
# libdatadog-agent-three.dylib is linked to the python lib using rpath
otool -L ./rtloader/build/three/libdatadog-agent-three.dylib | grep libpython
	@rpath/libpython3.8.dylib (compatibility version 3.8.0, current version 3.8.0)

# the build library correctly includes python library to the rpath last
otool -l ./rtloader/build/three/libdatadog-agent-three.dylib | grep LC_RPATH -A2
          cmd LC_RPATH
      cmdsize 56
         path /usr/local/anaconda3/envs/agent38/lib (offset 12)

# however when installed this is stripped away
otool -l ./dev/lib/libdatadog-agent-three.dylib | grep LC_RPATH -A2

# after setting `INSTALL_RPATH_USE_LINK_PATH TRUE` the path is preserved in the install library
otool -l ./dev/lib/libdatadog-agent-three.dylib | grep LC_RPATH -A2
          cmd LC_RPATH
      cmdsize 56
         path /usr/local/anaconda3/envs/agent38/lib (offset 12)

Additional Notes
More info on rpath & cmake: https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/RPATH-handling
Describe your test plan
Write there any instructions and details you may have to test your PR.

Is this going to be merged before the freeze on Friday or should we change the milestone? (or close?)

authors: djova gbbr


text:
Prepare release 2.6.0

What does this PR do?
This PR prepares release 2.6.0.
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #1860 (4e1732e) into release/2.6.0 (659c865) will decrease coverage by 0.25%.
The diff coverage is n/a.

Additional details and impacted files
@@                Coverage Diff                @@
##           release/2.6.0    #1860      +/-   ##
=================================================
- Coverage          83.72%   83.47%   -0.25%
=================================================
  Files                470      470
  Lines              16629    16625       -4
  Branches            2499     2499
=================================================
- Hits               13922    13877      -45
- Misses              2042     2064      +22
- Partials             665      684      +19

see 18 files with indirect coverage changes

repo: DataDog/dd-sdk-android


text:
RUM-6307 Make sure ConsentAwareFileOrchestrator is thread safe

What does this PR do?
We had an issue in iOS where switching from PENDING to GRANTED in the tracking consent asynchronously causes the loss of some events that are about to be written from a different queue. In this PR we are making sure we are covering this use case with integration tests and also that we mark the delegateOrchestrator as Volatile in the ConsentAwareFileOrchestrator in case the Executor is re - spawning the worker thread.
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.32%. Comparing base (7ebe827) to head (1e33e39).
Report is 4 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2309      +/-   ##
===========================================
- Coverage    70.32%   70.32%   -0.01%
===========================================
  Files          736      736
  Lines        27466    27473       +7
  Branches      4607     4607
===========================================
+ Hits         19315    19318       +3
+ Misses        6871     6864       -7
- Partials      1280     1291      +11

Files with missing lines
Coverage Δ

...ence/file/advanced/ConsentAwareFileOrchestrator.kt
96.77% <ø> (ø)

... and 26 files with indirect coverage changes


text:
Add support for Gitaly metrics

What does this PR do?

Motivation

Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] If the PR doesn't need to be tested during QA, please add a qa/skip-qa label.

Current dependencies on/for this PR:

master

PR #14290

PR #14273

PR #14311

PR #14316   👈

PR #14274

PR #14275

PR #14277

PR #14303

This comment was auto-generated by Graphite.

repo: DataDog/integrations-core


text:
TEST PULL REQUEST

What does this PR do?

Motivation

Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Changelog entries must be created for modifications to shipped code
[ ] Add the qa/skip-qa label if the PR doesn't need to be tested during QA.
[ ] If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

this was a test.

authors: iliakur kozlovb


text:
🛑 Wiki is down

In 891ffa9, Wiki (https://wiki.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Wiki is back up in a9f17c0 after 9 minutes.

repo: DataEnsta/upptime


text:
🛑 Gitlab is down

In 043a170, Gitlab (https://gitlab.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Gitlab is back up in dd92349 after 9 minutes.


text:
🛑 Gitlab is down

In f4adf29, Gitlab (https://gitlab.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Gitlab is back up in 484a000 after 27 minutes.


text:
🛑 ETAl is down

In 284b975, ETAl (https://etal.data-ensta.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ETAl is back up in d11538e after 22 minutes.


text:
Redux setup and services feature structure in place.

These changes implement redux to store a global state. The services folder now contains the actions/reducers/components for fetching and displaying the information from localhost:8000/api/services. The example component retrieves the information from the server after mounting and displays it.

Great!  Thanks!

authors: SamuelLangenfeld williamratcliff


text:
[Bug]写数据到hive报错

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
我测试从kafka写数据到hive。里面使用了udf函数，是使用fix代码后，自己编译的。flinksql如下：
SET 'execution.checkpointing.interval' = '10s';
CREATE CATALOG myhive WITH (
'type' = 'hive',
'default-database' = 'test',
'hive-conf-dir' = '/opt/module/hive-3.1.3/conf'
);
-- set the HiveCatalog as the current catalog of the session
USE CATALOG myhive;
--创建kafka的虚拟表
create temporary table app_log_kafka(
tags string comment'标签',
event row comment '事件',
service string comment '服务',
log  row<file row<path string>> comment '日志',
@version string comment '版本',
host row<id string,mac string,ip string,hostname string,architecture string,
os row<name string,type string,codename string,platform string,
version string,family string,kernel string>,containerized string>  comment '主机',
message string comment '信息',
@timestamp string comment '时间戳'
)with(
'connector' = 'kafka',
'topic' = 'application-log',
'properties.bootstrap.servers' = 'localhost:9092',
'properties.group.id' = 'test_consumer_group',
-- 'scan.startup.mode' = 'earliest-offset',
'scan.startup.mode' = 'latest-offset',
'value.format' = 'json'
);
create temporary function tpipv4 as 'com.yyt.TQIPV4';
create temporary function dateformatzdy as 'com.yyt.DateFormats';
--写入hive
insert into  test.test_zdg_log_pr
/+
OPTIONS(
-- 'sink.rolling-policy.file-size' = '100KB',
-- 'sink.rolling-policy.rollover-interval'='1 minute',
-- 'sink.rolling-policy.check-interval'='1 minute',
-- 设置分区提交触发器为分区时间
'sink.partition-commit.trigger' = 'process-time',
-- 设置分区提交延迟时间，这儿设置 1 分钟，是因为分区时间为 1 分钟间隔
'sink.partition-commit.delay' = '0s',
-- 设置水印时区
'sink.partition-commit.watermark-time-zone' = 'GMT+08:00',
-- 设置分区提交策略，这儿是将分区提交到元数据存储，并且在分区目录下生成 success 文件
'sink.partition-commit.policy.kind' = 'metastore,success-file',
-- sink 并行度
'sink.parallelism' = '1'
)
/
select
id,
ip,
hostname,
service,
cast(time as string) as time,
level,
mac,
os,
arch,
filepath,
thread,
method,
content,
date_format(time, 'yyyyMMddHHmm') as mi
from(
select
cast(UUID() as STRING)  as id,
tpipv4(host.ip) as ip,
host.hostname as hostname,
service,
case when service = 'accserver_zaxq_rtmpProxy265'
then  cast(dateformatzdy(concat_ws('',substr(SPLIT_INDEX(log.file.path,'\',3),1,8),REGEXP_EXTRACT(message,'\s+(\d{1,2}:\d{1,2}:\d{1,2}):',1))) as TIMESTAMP)
when service in ('poi-server_zaxq_tag-api','dbview_zaxq_STKServerNew','media2_zaxq_STKServer','media_zaxq_search','servicegw_zaxq_poi-api','poi-server_zaxq_firectrl-api','accserver_zaxq_zacms')
then  cast(REGEXP_EXTRACT(message,'.(\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}).',1) as TIMESTAMP)
else cast(REGEXP_EXTRACT(message,'.(\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}).',1) as TIMESTAMP) end as time,
cast('INFO' as STRING) as level,
cast('aa-dd-cc' AS STRING) as mac,
cast('OS' AS STRING) as os,
cast('wz' AS STRING) as arch,
log.file.path as filepath,
cast('11' AS STRING) as thread,
cast('fs' AS STRING) as method,
cast('aaaaaaa' AS STRING) as content
from app_log_kafka
)t1
where time is not null;
先在local模式下运行，报错如下：
2023-08-12T14:28:58.567: Exception in executing FlinkSQL:
insert into  test.test_zdg_log_pr
/+
OPTIONS(
'sink.partition-commit.trigger' = 'process-time'  ,
'sink.partition-commit.delay' = '0s',
'sink.partition-commit.watermark-time-zone' = 'GMT+08:00',
'sink.partition-commit.policy.kind' = 'metastore,success-file',
'sink.parallelism' = '1'
)
/
select
id,
ip,
hostname,
service,
cast(time as string) as time,
level,
mac,
os,
arch,
filepath,
thread,
method,
content,
date_format(time, 'yyyyMMddHHmm') as mi
from(
select
cast(UUID() as STRING)  as id,
tpipv4(host.ip) as ip,
host.hostname as hostname,
service,
case when service = 'accserver_zaxq_rtmpProxy265'
then  cast(dateformatzdy(concat_ws('',substr(SPLIT_INDEX(log.file.path,'\',3),1,8),REGEXP_EXTRACT(message,'\s+(\d{1,2}:\d{1,2}:\d{1,2}):',1))) as TIMESTAMP)
when service in ('poi-server_zaxq_tag-api','dbview_zaxq_STKServerNew','media2_zaxq_STKServer','media_zaxq_search','servicegw_zaxq_poi-api','poi-server_zaxq_firectrl-api','accserver_zaxq_zacms')
then  cast(REGEXP_EXTRACT(message,'.(\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}).',1) as TIMESTAMP)
else cast(REGEXP_EXTRACT(message,'.(\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}).',1) as TIMESTAMP) end as time,
cast('INFO' as STRING) as level,
cast('aa-dd-cc' AS STRING) as mac,
cast('OS' AS STRING) as os,
cast('wz' AS STRING) as arch,
log.file.path as filepath,
cast('11' AS STRING) as thread,
cast('fs' AS STRING) as method,
cast('aaaaaaa' AS STRING) as content
from app_log_kafka
)t1
where time is not null
Error message:
org.apache.flink.table.api.TableException: Failed to execute sql
at org.apache.flink.table.api.internal.TableEnvironmentImpl.executeInternal(TableEnvironmentImpl.java:867)
at org.apache.flink.table.api.internal.TableEnvironmentImpl.executeInternal(TableEnvironmentImpl.java:827)
at org.apache.flink.table.api.internal.TableEnvironmentImpl.executeInternal(TableEnvironmentImpl.java:918)
at org.apache.flink.table.api.internal.TableEnvironmentImpl.executeSql(TableEnvironmentImpl.java:730)
at com.dlink.executor.Executor.executeSql(Executor.java:249)
at com.dlink.job.JobManager.executeSql(JobManager.java:512)
at com.dlink.service.impl.StudioServiceImpl.executeFlinkSql(StudioServiceImpl.java:202)
at com.dlink.service.impl.StudioServiceImpl.executeSql(StudioServiceImpl.java:189)
at com.dlink.service.impl.StudioServiceImpl$$FastClassBySpringCGLIB$$e3eb787.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:89)
at com.dlink.aop.UdfClassLoaderAspect.round(UdfClassLoaderAspect.java:65)
at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:634)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:624)
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:72)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
at com.dlink.service.impl.StudioServiceImpl$$EnhancerBySpringCGLIB$$5421b6ea.executeSql()
at com.dlink.controller.StudioController.executeSql(StudioController.java:78)
at com.dlink.controller.StudioController$$FastClassBySpringCGLIB$$e6483d87.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
at org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke(AfterReturningAdviceInterceptor.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
at com.dlink.controller.StudioController$$EnhancerBySpringCGLIB$$80366810.executeSql()
at sun.reflect.GeneratedMethodAccessor554.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1071)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:964)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:779)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:360)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1789)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.flink.util.FlinkRuntimeException: org.apache.flink.api.common.InvalidProgramException: Table program cannot be compiled. This is a bug. Please file an issue.
at org.apache.flink.table.runtime.generated.CompileUtils.compile(CompileUtils.java:94)
at org.apache.flink.table.runtime.generated.GeneratedClass.compile(GeneratedClass.java:101)
at org.apache.flink.table.runtime.generated.GeneratedClass.getClass(GeneratedClass.java:120)
at org.apache.flink.table.runtime.operators.CodeGenOperatorFactory.getStreamOperatorClass(CodeGenOperatorFactory.java:51)
at org.apache.flink.streaming.api.graph.StreamingJobGraphGenerator.preValidate(StreamingJobGraphGenerator.java:498)
at org.apache.flink.streaming.api.graph.StreamingJobGraphGenerator.createJobGraph(StreamingJobGraphGenerator.java:221)
at org.apache.flink.streaming.api.graph.StreamingJobGraphGenerator.createJobGraph(StreamingJobGraphGenerator.java:153)
at org.apache.flink.streaming.api.graph.StreamGraph.getJobGraph(StreamGraph.java:1024)
at org.apache.flink.client.StreamGraphTranslator.translateToJobGraph(StreamGraphTranslator.java:56)
at org.apache.flink.client.FlinkPipelineTranslationUtil.getJobGraph(FlinkPipelineTranslationUtil.java:43)
at org.apache.flink.client.deployment.executors.PipelineExecutorUtils.getJobGraph(PipelineExecutorUtils.java:59)
at org.apache.flink.client.deployment.executors.LocalExecutor.getJobGraph(LocalExecutor.java:105)
at org.apache.flink.client.deployment.executors.LocalExecutor.execute(LocalExecutor.java:82)
at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.executeAsync(StreamExecutionEnvironment.java:2188)
at org.apache.flink.table.planner.delegation.DefaultExecutor.executeAsync(DefaultExecutor.java:95)
at org.apache.flink.table.api.internal.TableEnvironmentImpl.executeInternal(TableEnvironmentImpl.java:850)
... 93 more
Caused by: org.apache.flink.shaded.guava30.com.google.common.util.concurrent.UncheckedExecutionException: org.apache.flink.api.common.InvalidProgramException: Table program cannot be compiled. This is a bug. Please file an issue.
at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2051)
at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache.get(LocalCache.java:3962)
at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4859)
at org.apache.flink.table.runtime.generated.CompileUtils.compile(CompileUtils.java:92)
... 108 more
Caused by: org.apache.flink.api.common.InvalidProgramException: Table program cannot be compiled. This is a bug. Please file an issue.
at org.apache.flink.table.runtime.generated.CompileUtils.doCompile(CompileUtils.java:107)
at org.apache.flink.table.runtime.generated.CompileUtils.lambda$compile$0(CompileUtils.java:92)
at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4864)
at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529)
at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278)
at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155)
at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045)
... 111 more
Caused by: org.codehaus.commons.compiler.CompileException: Line 20, Column 30: Cannot determine simple type name "com"
at org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java:12211)
at org.codehaus.janino.UnitCompiler.getReferenceType(UnitCompiler.java:6833)
at org.codehaus.janino.UnitCompiler.getReferenceType(UnitCompiler.java:6594)
at org.codehaus.janino.UnitCompiler.getReferenceType(UnitCompiler.java:6607)
at org.codehaus.janino.UnitCompiler.getReferenceType(UnitCompiler.java:6607)
at org.codehaus.janino.UnitCompiler.getType2(UnitCompiler.java:6573)
at org.codehaus.janino.UnitCompiler.access$13900(UnitCompiler.java:215)
at org.codehaus.janino.UnitCompiler$22$1.visitReferenceType(UnitCompiler.java:6481)
What you expected to happen
这个是因为修改源码，让udf可以用的原因吗？
How to reproduce
无
Anything else
使用的是flink1.16   dinky0.7.3  hive3.1.3
Version
0.7.3
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Please use exclusion method to verify the problem.

Please use exclusion method to verify the problem.

好的，如果我注释了udf，它是可以运行的；如果我加上udf，它就报这个错误。我怀疑是修复的udf的那个代码有些兼容问题。我是按照下面这issues修复代码后编译的:
https://github.com/DataLinkDC/dinky/pull/1581

你好我想问下解决了吗，我也遇到了这个问题。

你好我想问下解决了吗，我也遇到了这个问题。

就是兼容问题，你用最新的dinky版本看看

这是一封自动回复邮件。已经收到您的来信，我会尽快回复。谢谢！
                                                              ---万大友

这是一封自动回复邮件。已经收到您的来信，我会尽快回复。谢谢！
                                                              ---万大友

authors: Flutemr aiwenmo hushoutao wandayou

repo: DataLinkDC/dinky


text:
fix varopt convertToHeap()

Pre-unioning and when we had varopt k >= 2, convertToHeap() could assert h_ > 2 -- no longer true, so convert to conditional

Coverage decreased (-0.009%) to 98.336% when pulling cb7b63e5e4719f9e6aa4c554290ab0e4ff5a9d0c on vo_heap_fix into f04713dde6593ba4db8e339d8e2fd2e55f0a8602 on master.

authors: coveralls jmalkin

repo: DataSketches/sketches-core


text:
bootstrap4: use custom select menu styling

This change ensures uniform look for the select menu across browsers when using bootstrap 4.
Before:

After:

Thanks for this - I wasn't aware that there was a custom-select option in BS4.
Could you send the PR for this change here please? This repo is just a (legacy) distribution repo and changes won't be pulled in here.
Or if you prefer I can make the change in the source.

I have created the pull request in the source repository. Sorry, I should have read the contributing notes beforehand.
https://github.com/DataTables/DataTablesSrc/pull/123

repo: DataTables/DataTables


text:
饼图增加percentToFixed精度属性计算百分比异常

Bug report
pie新增percentToFixed:2，在特定数据下百分比计算错误
出现Bug的组件？
Charts
组件配置数据？
option: {
color: ['#19aef2', '#4bdbc6', '#f87421'],
title: {
text: '本日***',
style: {
fill: 'white',
},
show: false
},
series: [
{
type: 'pie',
data: [
{ name: 'test1', value: 20000 },
{ name: 'test2', value: 3000 },
],
insideLabel: {
show: true
},
percentToFixed: 2
}
]
}
控制台错误输出？

期望情况？
百分比显示正常
实际情况？

其他相关信息

DataV版本 1.0.7
浏览器版本 谷歌
其他

@jiaming743  你看看，是不是chart的问题。

@yizhiyuyou @xiang20933 应该是的 正在排查

更新datav依赖charts至版本@jiaminghi/charts@0.2.10即可解决，参见该版本release

repo: DataV-Team/DataV-React


text:
Support for MDX?

I don't see this explicitly mentioned anywhere - does markdownlint support MDX?

https://github.com/DavidAnson/markdownlint/issues/723#issuecomment-1434017183

Hi, @JustinBeckwith! CommonMark specification and more recently parts of GFM.

Are you open to the idea of supporting it?  We've started playing with MDX, and it looks like we're heading that direction with our docs:
https://github.com/discord/discord-api-docs/
I'm finding a lot of modern doc generation platforms like https://docusaurus.io are starting to pick it up too.  I may be down to help with implementation if the idea isn't offensive :)

It’s unfortunately a little complicated. :) At the core is the parser. Originally, this project used markdown-it. For a few months now, I’ve been transitioning rules over to micromark because it has better positional information that allows better detail and fixes. The good news is that micromark seems to have MDX support (via extensions the same as GFM, https://github.com/micromark/micromark#list-of-extensions). However, some rules can’t use the parser because they try to detect syntax issues that, by definition, don’t parse correctly. Depending on how weird MDX is, existing rules may “just work” with MDX or may need a lot of updating. I am on my phone with bad connectivity, so can’t look at the specification right now (https://mdxjs.com/). But I will look into this soon. Give me a week, please. In the meantime, if you can identify a handful of typical documents to play with, that would be helpful. It would also be interesting to understand if you can lint the output (of MDX compilation) instead of the input because that works today and will catch a variety of issues that could be introduced during compilation.

I read a little bit about MDX this evening, and the situation is worse than I realized. :) For one, MDX is not a superset of Markdown in the same way that GFM is. This means you can't do a single parse and have the output be usable for both Markdown and MDX scenarios. For another, MDX does not output Markdown like I expected. This means it is not practical to lint the output instead of the input. Another thing is I don't love the idea of running uncontrolled user code as part of the parse. This leads to unpredictable runtime behavior and possible hangs.
Im still learning, but I'm really not sure how I feel about this... I understand the intent behind MDX, but the more a document uses it, the more it turns into React.js code, and the less meaningful it feels to try to lint it like a text document. For example, what does it even mean if an MDX component outputs something goofy like a heading that skips levels (H1->H6)? You won't even know that from looking at the document - only if you render it all the way to the final HTML product and then analyze THAT as HTML... Which is pretty far out of scope for this tool.

authors: DavidAnson JustinBeckwith nschonni

repo: DavidAnson/markdownlint


text:
Database naming convention

@afbarnard
I saw your email about the mcrf database debacle.  I'm glad you chimed in.  I was really confused:)  What did you have in mind for a naming convention for database versions?  I don't have any strong opinions.  Looks like you had in mind  db_name.date_of_download.additional_info.sqlite3?

Yes, that's the convention I had in mind. In particular, the "data date" identifies versions of the data and connects files across various directories. Unfortunately, the data files have multiple dates, so choosing the data date is a judgment call. But for the latest data we can use the date of the zip file (07/05). The order of the "fields" in the DB name allows for sorting (as opposed to reversing the date and comment fields). This will come into play if we ever have multiple DBs representing the same data, for example, if we created a version of the data expressed as facts (pt-id, fact-id, value) and events (pt-id, date, event-id, value), we could name it something like emr.20180705.events.sqlite3 to sit next to emr.20180705.snomed.sqlite3.

I like the additional sorting you mentioned.  Should we add a doc somewhere to describe the naming convention in case anyone else is interested in adding a derived dataset to share?  Or perhaps add something to the README.txt in the shared sqlite_dbs folder?

I would vote for mentioning these sorts of things in the READMEs.

repo: DavidPageGroup/cdm-data


text:
Replace XGA's use of corner with getdist

Getdist produces considerably nice plots than corner (in my option at least), so I think I'll replace uses of corner with getdist:
https://github.com/cmbant/getdist

I didn't replace it with getdist, but I added getdist as another option


text:
README.md -- where is :name-query defined?

The README references
(let [name-ratom  (subscribe [:name-query])]
and later defines :customer-query, but not :name-query. Is this intentional, an error, or am I just missing something obvious here?

I think the README is correct.  It does change from a name query to a customer query around that point.  See for example reference to (subscribe [:customer-query "blah"])

I think this can be closed now?


text:
Independent interchangeable controls blocks

components/controls/all.js
A control sends signals to the event shared $bus and modules can listen to it. It also can have multiple channels to send different signals. Just like CV and Gate in modular synths.

started with trigger buttons in Triggers block sending $root.$emit @attack and @release events. Need to make all controls list in $root.controls to be able to show and manage these "wires". Then it will be expanded to be used with sequencers, surfaces and MIDI.

wires are not necessary for programming connections, but can make the UX better. It can be a map, activated in the assign mode, for example...

3 control blocks are introduced

repo: DeFUCC/chromatone-lab


text:
feature(ui-ux): future swap from portfolio v2

What kind of PR is this?:

/kind feature
What this PR does / why we need it:
Update future swap screens from portfolio to v2 (listing and withdraw)
Which issue(s) does this PR fixes?:

Fixes #
Additional comments?:
Developer Checklist:

[x] Read your code changes at least once
[x] Tested on iOS/Android device (e.g, No crashes, library supported etc.)
[x] No console errors on web
[x] Tested on Light mode and Dark mode*
[x] Your UI implementation visually matched the rendered design*
[x] Unit tests*
[ ] Added e2e tests*
[x] Added translations*

Just some nitpicks and one bug that is existing in v1  Can disable the button if more than your future swap balance, it looks like it's a bug in v1. Let's fix it in v2 😱

issue fixed

Sorry need to update conflicts :D @JoshuaC817

repo: DeFiCh/wallet


text:
Fix wording

Changes

Fix README and custom editor wording
Fix wording variation in log messages
Add package keyword: "gameplay testing"

Priority
I hope to your review && merge around one week.
There is no need to release it yet.

Contribution License Agreement

[x] By placing an "x" in the box, I hereby understand, accept and agree to be bound by the terms and conditions of the Contribution License Agreement.

Thanks!
Please wait before releasing 🙇

repo: DeNA/Anjin


text:
🛑 Dealsafe is down

In cfcd774, Dealsafe (https://www.dealsafe.in/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dealsafe is back up in e231b7e after 10 minutes.

repo: Dealsafe/ds-uptime


text:
Missing output file from "--seg_only" option

Question/Support Request

...
README.md explains the list of output files when --seg_only is used, but aseg+DKT.stats, deep-seg.log, and orig_nu.mgz are missing in the output files.
Screenshots

...

Environment

FastSurfer Version: docker pull deepmi/fastsurfer:latest
FreeSurfer Version: freesurfer-linux-ubuntu18_x86_64-7.4.0-20230510-e558e6e
OS: Ubuntu 18.04.5 LTS (GNU/Linux 5.4.0-1051-aws x86_64v)
CPU: ...
GPU:  NVIDIA-SMI 450.119.03   Driver Version: 450.119.03   CUDA Version: 11.0

Execution

Run Command:

The deepmi/fastsurfer:latest is based on the last stable release (v2.0.4). The additional files you mention and the README section are from the dev version. There should be a new release soon, and consequently also an update of the docker images on dockerhub.
In the meantime, you would have to build the image yourself from the dev Dockerfile (https://github.com/Deep-MI/FastSurfer/tree/dev/Docker#example-1-build-gpu-fastsurfer-image-default):
git checkout dev # make sure you are on the dev branch
cd $FASTSURFER_HOME
docker build --rm=true -t fastsurfer:gpu -f ./Docker/Dockerfile .

Thank you very much for your reply! I was able to build the image successfully according to your suggestion and get the output files that I had missed before. Thanks!

authors: LeHenschel soojinpren

repo: Deep-MI/FastSurfer


text:
Issue adding a product via APIv2 with authorized_users field

Please use the following template when submitting issues:
Issue Template
Issue Type

[ ] Bug
[x] Enhancement

Description
Hi,
I'm testing the APIv2, trying to execute some operations via APIv2, I was able to upload an scan, get results, but trying to create a product via API I haven't found the way to do this operation, I'm filling all mandatory fields in the JSON, but I'm receiving an error related with authorized_users field. It could be possible to known the format needed?
The data sent by POST:
productName = "test"
prod_type = "1"

dataApiv2 = {
        'name': productName,
        'description': productName,
        'prod_type': prod_type,
        'technical_contact': "http://192.168.56.10:8888/api/v2/users/1/",
        'product_manager': 'http://192.168.56.10:8888/api/v2/users/1/',
        'authorized_users': ['http://192.168.56.10:8888/api/v2/users/1/'],
        'team_manager': 'http://192.168.56.10:8888/api/v2/users/1/'
}

The Response Body:
{
"authorized_users": [
"Invalid hyperlink - Object does not exist."
]
}
If could be possible to update the API documentation or have an example of use it could be great.
Thanks!
If the issue is a bug, please also include the following:
Operating System
Ubuntu 16.04
Install

[x ] setup.bash
[ ] docker

DefectDojo Version
1.5.0
Steps to Reproduce
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'X-CSRFToken: xxxxxxxxxxxxxxx' --header 'Authorization: Token xxxxxxxxxxxxxxx' -d '{ \
             "name": "productName", \
             "description": "productName", \
             "prod_type": "1", \
             "technical_contact": "http://192.168.56.10:8888/api/v2/users/1/?id=1", \
             "product_manager": "http://192.168.56.10:8888/api/v2/users/1/?id=1", \
             "authorized_users": [ \
       "http://192.168.56.10:8888/api/v2/users/1/?id=1"], \
             "team_manager": "http://192.168.56.10:8888/api/v2/users/1/?id=1" \
 }' 'http://192.168.56.10:8888/api/v2/products/'

Screenshots (optional)

Console Logs (optional)
T 192.168.56.10:8888 -> 192.168.56.1:55867 [AP] #2406
  Date: Tue, 07 Aug 2018 14:14:45 GMT..Server: WSGIServer/0.1 Python/2.7.12..Vary: Cookie..X-Frame-Options: SAMEORIGIN..Content-Type: application/json..Content-Length: 67..Allow: GET, POST, HEAD, OPTIO
  NS....{"authorized_users":["Invalid hyperlink - Object does not exist."]}

Thats it, the user was staff... thanks!

repo: DefectDojo/django-DefectDojo


text:
Fix duplicate issues create in JIRA when creating an ad-hoc finding

This will fix issue #2485
When creating an ad-hoc finding against a project, the product/view.py calls the model.py Finding.save() twice.  The findings save then creates multiple issues in JIRA.  I got this fix from Apipia and tested it in my environment.

Although I can see it fixing things, I can also see potential for it to break things with all the spread out checks for push_all boolean. If you/aipipia want it go through, it should be based of release/1.6.1

This should be rebased against 1.6.2 in any case. Thanks.

needs rebasing to 1.6.5

I can't reproduce this on my fix-jira-bulk-issues branch for which a WIP PR is at https://github.com/DefectDojo/django-DefectDojo/pull/2462. I only get one finding created, and no stracktrace pointing to a duplication. That branch is ahead of 1.6.0 for sure.
Could you please try it?

So I was wondering:

https://github.com/DefectDojo/django-DefectDojo/blob/dev/dojo/product/views.py#L932 calls save before setting endpoints
https://github.com/DefectDojo/django-DefectDojo/blob/dev/dojo/test/views.py#L326 calls save before setting endpoints
https://github.com/DefectDojo/django-DefectDojo/blob/dev/dojo/finding/views.py#L659 does NOT call save before setting endpoints.

I vaguely remember something around that.. can someone refresh my memory? Why we would save before setting endpoints? (I rarely use them, more on SAST these days...)
Otherwise, https://github.com/DefectDojo/django-DefectDojo/blob/dev/dojo/models.py#L1761 would also have to be cleaned up if this the way we want to go. Looking quickly at other views.py it seems ok.
I would also advise to make sure variable names like enabled are never used again, but get more specific such as jira_enabled or jira_push_all_issues_enabled to make the code a bit clearer.

@kareem-DA please rebase onto 1.6.5.
Locally, you could probably run something like:
git rebase --onto release/1.6.5 release/1.6.0 hotfix-jiradups and git push --force
Then you would come on this PR, click on Edit at the top as if to change the title of your PR and modify its base.

I think the finding needs to be in the database before endpoints can be added, so save() is needed. In the edit_finding this is not needed because the finding already exists.
But this should/could all be handled differently using something like unsaved_endpoints I have seen around. But a bit out of scope for this ticket or at least this release.

authors: kareem-DA madchap valentijnscholten


text:
:tada: added component_name to AWSSecurityHub

Add component_name to AWS SecurityHub parser findings.

@dsever and @Maffooch could you take a look and merge?


text:
Improved install and reinstall commands

Initial commit. Missing unit/integration tests....

The Install command will perform like reinstall when it not get any parameters.

Example: npm install

Any typings not in tsd.json will be removed with reinstall command

Install command will take --resolve flag by default

I decided to close this PR. I'm adding tests and I'll submit a new PR.

repo: DefinitelyTyped/tsd


text:
Crash

Hi~
Sadly, no more information than this, but when it happens, Haruna is not working anymore.

This is the updated jar based from the latest commit. Please check and see if the issue still pops up in this commit.
https://amanogawa.moe/cdn/haruna-3.2.0-beta.jar

Seems fixed, thanks again!

authors: Deivu Lymdun

repo: Deivu/Haruna


text:
Capital 'Q' char in variable name results in it being marked as an error - e.g. $myQtest

Error message is: 'Found Qtest expected keyword or operator'

Issue was in tokenizer when checking for Q{} syntax - state was not properly reset if Q was not followed by {

repo: DeltaXML/vscode-xslt-tokenizer


text:
Avoid unconstrained sections in allocation networks

Investigations of optimizations for allocation have shown that sometimes the results are evidently sub-optimal (and can differ significantly between different optimizers) due to unconstraint sections in an allocation network. I have identified these situations in which unconstrained sections appear:

branches that end in a terminal node. The problem here is that terminal nodes are already made part of the allocation networks (I don't remember why) but no corresponding constraints were added. These constraints will be added in https://github.com/Deltares/Ribasim/issues/708, but this was judged to be a non high priority issue. Maybe remove the terminal nodes from the allocation networks again until this issue is picked up?
Fractional flow nodes. Unlike the flow conservation constraints, the fractional flow constraints still have $\le$ constraints instead of equality constraints, as I feel equality would be too restrictive. This problem could be resolved by also adding a flow conservation constraint (with equality) to nodes which have fractional flow nodes down stream. But the overarching problem is that the fractional flow constraint should hold for the accumulated flows over all priorities, not necessarily for the flows within one priority. I think this can only properly be tackled with more clever goal programming tactics, but that would take quite some investigation to implement.

An overarching question I have here is: is there a relatively simple way to check whether such unconstraint variables exist in the model? Maybe JuMP and/or HiGHS have features for this.
This is somewhat related to https://github.com/Deltares/Ribasim/issues/1207, because there the problem can also be described as a lack of constraints. This issue is a result of investigations done in https://github.com/Deltares/Ribasim/pull/1143.

I forgot to bring up fractional flow in the meeting with the RTC-Tools team, but I realised that this can also be solved nicely with buffers. That is: use equality constraints for the relationship between the inflow and the outflow for each of the fractional flow branches, and store flow that cannot immediately be used in one of these branches in a buffer.
Note that this can lead to situations where a lot of flow ends up unused in these buffers, but I would call that a schematization issue.

Hi @SouthEndMusic : are you saying.. if a user has two outgoing edges, one with fraction 0.5 and one with fraction 0.4, you basically buffer the 0.1 portion to keep your optimization problem sane.
It is the modellers problem that the fractions do not add up to 1.0.
Now I wonder two things:

what happens if the modeller has defined fractions of 0.5 and 0.6 (total > 1)
Do we have a validaton rule that actually detects that fractions do not add up to exactly 1 ?

@gijsber that is not what I'm saying. We do have validation for the sum of fractions from fractional flow nodes adding up to approximately 1.0. Also note that this has nothing (directly) to do with UserDemand nodes.
What I am talking about is something like this:
Say we have a junction in the network with incoming branch A, and outgoing branches B and C with (fractional flow) fractions 0.1 and 0.9 respectively. Now say were are at a priority where along B there is a demand, but not along C. To bring flow to the node in branch B with the demand, we have to bring 9 times the flow to branch C, even though there is no demand there.

Hi @SouthEndMusic ,
For UserDemand I agree with you solution as given in the issue description.
For FractionalFlow @SnippenE  and me concluded that we indeed have to follow the fractional flow division (as this is what the physical layer will follow), which results in B potentially missing out on water that is requested.
If modellers are unhappy, they need to consider if they have other solutions instead of fractional flows.
If we really end up in undesirable sitautaions, we may decide to update the algorithms at a later stage, e.g. as follows:

the fractionalflow division gets a priority and becomes a goal in the optimization (instead of a onstraint), where we try to minimize the deviation from this division.
the resulting fractional division then needs to be enforced via control on the fractional flow nodes.

authors: SouthEndMusic gijsber

repo: Deltares/Ribasim


text:
Pointer event screen position methods panic

Description
I'm submitting a bug report

When handling pointer events (onpointermove,onpointerup, onpointerleave etc.), screen_x and screen_y methods panic with message:

Panic error message: called `Result::unwrap()` on an `Err` value: NumericConversionError(NotAnInteger)

Context (Environment)

Rust: v1.33.0

yew: v0.6.0

target: wasm32-unknown-unknown

cargo-web: v0.6.23

Reproducable on Chrome. Firefox works.

This seems to be issue on stdweb instead

repo: DenisKolodin/yew


text:
All vulnerabilities identified should be visible in the Audit vulnerabilities tab

Currently this version of dependency track does not show the vulnerabilities in the audit vulnerabilities tab as seen in the vanilla dependency track. This feature needs to be available for assisting developers.
Part of https://github.com/DependencyTrack/hyades/issues/373

Closed with the pull request above merged into main

repo: DependencyTrack/hyades


text:
block id not being extracted correctly

When loading in an XOR gate template, the program is throwing a KeyError: 2453 which is out of bounds for the item_id map. So something about extracting block ids from the files isn't working for some block ids.

Blocks that are crashing

Wedge Room (top left).smtpl   ->   KeyError 2056
XOR Gate.smtpl   ->   KeyError 2453
JK Flip Flop Compact.smtpl   ->   KeyError 2453

Saving templates with logic blocks works correctly.
e.g.

Activation Module, id: 405, saved as 0x21 0x95

yet when trying to load files created by the game it is equal to 0x79 0x95. Essentially 0x95 + an offset of 1 (256)

Only the last 2 bits seem to be important, was previously using the last 4 bits which was causing these errors.

repo: DerekRies/starmade-tools


text:
Improve host connectivity check in restricted network environments

Are you requesting a feature or reporting a bug?
Proposal (https://testcafe-discuss.devexpress.com/t/has-anyone-been-able-to-connect-remotes-to-ecs-containers/428)
What is the current behavior?
TestCafe fails to validate hostname, because it checks a random port for connectivity. In environments with explicitly exposed network ports this check will fail.
What is the expected behavior?
TestCafe should be able to validate hostname using predefined ports.
Specify your

testcafe version: 0.18.0
node.js version: 8.6.0

To clarify the expected a bit:  the user should be able to specify the port that testcafe needs to validate on.  Especially if you have multiple instances on a single ip, you will need to translate the port number.  So 4444 cold be mappend to 32756 on the host, flr example.  This would namely be for AWS setups

authors: AndreyBelym ClaytonAstrom

repo: DevExpress/testcafe


text:
Allow debugging Selector expressions interactively in the browser

What is your Test Scenario?
Execute selector expressions and examine their results during test execution without modifying the test code.
What are you suggesting?

[x] Expressions should be executed in the context where t.debug() was called. This means it should have access to test's local variables, especially page models.

[x] A call to t.debug() should allow for executing selector expressions through a built-in CLI/IDE debugger

To add to this issue, it would be nice if other imported selectors, like ReactSelector were also available.
I don't know exactly how you would be able to achieve this (perhaps via eval'ing the string in the context of the test code).

I just want to let you know that we are working on this issue now, but initially we are going to implement debugging in IDE terminal without UI.
We will consider to support React Selectors (and others) in future either.

How this would be even more of an help:
You could run test in debug mode, and whenever some selector was not found during test execution, the runner would pause and display input where You could test selectors.
After inputing into this input value Selector('.some-improper-class') TestCafe would inform that no elements were found.
After that, if You would input Selector('.good-class') and TestCafe would be able to find this element on page, You could update this selector in Code, press Continue button in TestCafe toolbar in browser and TestCafe would execute current step with this new Selector You have provided in input, and pause again next time it won't find another Selector.
Why:
For some reason, Live run does not run sometimes when I change the code, of does not use updated Selectors, so I am using debug run with pauseOnError. And as some of my tests take like 15 min to execute, and you can have like 100 broken selectors in one test after refactor of app, then updating those takes a lot of runs and time.

Any idea when this feature will be worked on or if an acceptable workaround exists?
I'm finding it hard to believe something like this is not possible coming from Python and Java where in both languages you can run arbitrary code at a breakpoint to find out if your selector or code needs modifying.

Hi @joywave
I'm unable to provide you with any time frame for this feature.
At present, TestCafe allows you to debug selectors by outputting the call site information about the problematic selector. See more information in this help topic.

Any update on this ticket? It would be great to have this. This would make the selection of selectors so easy and tests can be created way faster.

@amal-architrave
Hello,
No, we don't have updates yet.

Hi guys,
is there any ETA for this feature?

Hi @aurelienlair, this feature is included in our 2021 Roadmap, and we are working on it. Any estimates may be misleading at the moment. As soon as we have any results, we will post them here.

Since TestCafe 1.18.0 release it's possible to use the --experimental-debug options to execute Selectors or ClientFunctions and get their results during server-side debugging.

authors: AlexKamaev AndreyBelym Evilweed Farfurix amal-architrave arubtsov aurelienlair dimaip helen-dikareva joywave miherlosev


text:
-app not working for "ng serve" or "yarn start"

What is your Test Scenario?
A localhost served angular app
What is the Current behavior?
The app is not started so the tests fail
What is the Expected behavior?
It should start the app then launch the tests.
The test work correctly when i start the app then the tests in another console.
I'm using the --app --app-init-delay options
"e2e": "testcafe chrome:headless e2e/**/**.spec.ts --app \"yarn start\" --app-init-delay 4000"
I get this error

Error in fixture.beforeEach hook -
An error occurred in ClientFunction code:

Error: Cannot find Angular in development mode.

Environment details:

testcafe version:                   1.1.0
node.js version:                    11.10.0
command-line arguments:  testcafe chrome:headless e2e//.spec.ts --app "yarn start" --app-init-delay 10000
browser name and version:  Chrome 73.0.3683.86
platform and version:          macOS 10.14, Windows 10, Linux

I have found --app argument not working as one would expect. I am using the following command and it works fine:
"e2e": "BROWSER=none yarn start 2>&1 > /dev/null & wait-on http-get://localhost:3000 && testcafe chrome:headless src/test/e2e --hostname 127.0.0.1"

@mledour
Hello.
Could you please try to increase your app-init-delay delay? I tried to run some "hello world" example and all tests were successful with the --app-init-delay 15000 value.
If this issue is still present, could you please provide us with a simple example that demonstrates it?

Ok thank's I got it working but I think is not a reliable solution as it could not work anymore as the app is growing..
Maybe an implementation like npm wait-on. Listening on specific url:port with an options like --app-wait-on-url "localhost:4200" would be more reliable.

Thank you for your inquiry. I think it will be useful to provide a way to delay tests until a tested app can respond to requests. I've created a feature suggestion for it: https://github.com/DevExpress/testcafe/issues/3636, please check it for a workaround and don't forget to add 👍  to it 😄

Hi Andrey
Thank's. 👍added ;-)

authors: AndreyBelym Farfurix Meemaw mledour


text:
[docs] Fix non-ASCII char in docs

Without eslint it would be tough to find where you fail if you copy this doc example

I doubt that my changes could cause Failed to find a DNS-record for the resource at \"http://localhost:3000/fixtures/regression/gh-1275/pages/index.html\ error

Hi @theghostbel,
Thanks for the fix! This fail is an issue with our local testing server, we're investigating it. Sure it doesn't relate to this PR. We use the [docs] prefix to documentation PRs.

Definitely failed checks in docs are not related to the current changes. We'll fix them in another PR.

authors: AlexanderMoskovkin theghostbel


text:
0.19.2

@AlexanderMoskovkin @AndreyBelym @VasilyStrelyaev

@testcafe-build-bot \retest