text:
Fresh build- front end errors

After a clean install and trying to run this, the frontend locks up and I get the following errors:
Warning: React does not recognize the `computedMatch` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `computedmatch` instead. If you accidentally passed it from a parent component, remove it from the DOM element.

ReferenceError: Can't find variable: process

TypeScript error in /app/src/index.tsx(8,4):
'Router' cannot be used as a JSX component.
  Its instance type 'BrowserRouter' is not a valid JSX element.
    The types returned by 'render()' are incompatible between these types.
      Type 'React.ReactNode' is not assignable to type 'import("/node_modules/@types/react-transition-group/node_modules/@types/react/index").ReactNode'.  TS2786

     6 |
     7 | ReactDOM.render(
  >  8 |   <Router>
       |    ^
     9 |     <App />
    10 |   </Router>,
    11 |   document.getElementById('root')

TypeScript error in /app/src/Routes.tsx(31,6):
'Switch' cannot be used as a JSX component.
  Its instance type 'Switch' is not a valid JSX element.
    The types returned by 'render()' are incompatible between these types.
      Type 'React.ReactNode' is not assignable to type 'import("/node_modules/@types/react-transition-group/node_modules/@types/react/index").ReactNode'.  TS2786

TypeScript error in /app/src/views/SignUp.tsx(58,6):
'Redirect' cannot be used as a JSX component.
  Its instance type 'Redirect' is not a valid JSX element.  TS2786

Any idea how to troubleshoot this?

Which version of React and React Router are you using? React Router v6 made a lot of changes.

Warning: React does not recognize the computedMatch prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase computedmatch instead. If you accidentally passed it from a parent component, remove it from the DOM element. ReferenceError: Can't find variable: process ```

TypeScript error in /app/src/index.tsx(8,4):  'Router' cannot be used as a JSX component. Its instance type 'BrowserRouter' is not a valid JSX element. The types returned by 'render()' are incompatible between these types. Type 'React.ReactNode' is not assignable to type 'import("/node_modules/@types/react-transition group/node_modules/@types/react/index").ReactNode'.  TS2786
     6 |
     7 | ReactDOM.render(
  >  8 |   <Router>
       |    ^
     9 |     <App />
    10 |   </Router>,
    11 |   document.getElementById('root')

ReactDOM.render has been changed to createRoot.
 1 | Import { createRoot} from 'react-dom/client'

6  | const container = document.getElementById('root');
7  | const root = createRoot(container!);
8  | root.render(
9  |    <Router >
10 |        <App />
11 |   <Router />
12 | );

'Switch' cannot be used as a JSX component.
  Its instance type 'Switch' is not a valid JSX element.```

In v6 'Switch' was removed entirely. 'Switch' is now 'Routes'

The types returned by 'render()' are incompatible between these types.
Type 'React.ReactNode' is not assignable to type 'import("/node_modules/@types/react-transition-group/node_modules/@types/react/index").ReactNode'.  TS2786

There have also been changes made in the way that routes are rendered. This is what it looked like prior:

    <header className={classes.header}>
      <Route path="/login" component={Login} />
        <Login />
      <Route path="/signup" component={SignUp} />
      <Route
        path="/logout"
        render={() => {
          logout();
          history.push('/');
          return null;
        }}
      />
      <PrivateRoute path="/protected" component={Protected} />
      <Route exact path="/" component={Home} />
    </header>
  </div>
</Routes>

This requires some refactoring, so I'd recommend taking a look at what upgrades are needed for React 18 and react hooks

'Redirect' cannot be used as a JSX component.

In v6 'Redirect' has been changed to 'Navigate'. Change 'useHistory' to 'useNavigate' and then 'Redirect' to 'Navigate' in the jsx component.

I would appreciate it if someone could push a PR with the latest react and react-router. As it stands now, the frontend build fails, leading to the above error.

They're using the version that's in the clean install, as described in the readme.md
I see the same behavior following the instructions provided, and given I was installing this to start playing with and learning react, makes the whole thing pretty useless.

Confirmed this is still a problem.
I was hoping to use this as a basis for a pet project/learning.
Unfortunately, standing up from scratch using README results in a broken state as mentioned by @Kfelts and @chhopsky

authors: BrendanJM Kfelts akcode47 chhopsky kevingigiano

repo: Buuntu/fastapi-react


text:
OOP rewrite

Hi,
Thanks for the great work. I intend to use this package for my Cryptocurrency project and rope this package in as dependency for my ninja-dart project.
Right now, the library is very golang-like. Would you mind if I rewrite this package to be more OOP and Darty and send you a pull request?
Thanks again!

Of course you can and it is welcomed.
But I will rewrite this with my new packages ecdsa and elliptic. Maybe it would be better that starting your contribution after reviewing my new code?

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 C21CoasttoCoast is down

In 243180b, C21CoasttoCoast (https://www.c21coasttocoast.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: C21CoasttoCoast is back up in a9ac2d6 after 54 minutes.


text:
🛑 RadCord Bot is down

In e36503d, RadCord Bot (https://radcord.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RadCord Bot is back up in 06e57e7 after 9 minutes.


text:
Video-style controls

Add a UI Component to "Play" the network like a video. Also "Pause", "Speed up", "Slow Down"

Added in 9acc6667bb0d0a68428fcffc6c440922a177c04e

repo: CDCgov/MicrobeTRACE


text:
DEV 6811

Fixes issues from testing:

If you remove the Latitude/Longitude configuration after selecting it, you get an unrecoverable error
Can we have the cities we support by default be placed, even if others are placed using lat/long?  Example, "New York City" in the data with no lat/long
If you switch to pin, then switch back, the dots disappear because the "geoCodeCircleSize" or some setting is now gone
Need to expose the "Geocode Circle Size" setting when lat/long is used.  Could that default to the size of the normal city circles and allow folks to adjust it whether lat/long is used or not?
If you filter the map to only show some locations, the custom locations still appear

@mpallansch - I tested with the world geo code example file. I'm still seeing the circle appear for NYC when I have the location set to United States. Same with having the location set to Alaska.

@mpallansch - I tested with the world geo code example file. I'm still seeing the circle appear for NYC when I have the location set to United States. Same with having the location set to Alaska.

Looks like that file has erroneous lat/long data for each point (US, Alaska, and NYC all have NYC lat/long data):
{
"Country": "New York City",
"Cases": 300,
"Category": "Has not historically reported monkeypox",
"AsOf": "11 Jul 2022 5:00 PM EDT",
"longitude": "-74.006",
"latitude": "40.712"
},
{
"Country": "United States of America",
"Cases": 10,
"Category": "Has not historically reported monkeypox",
"AsOf": "11 Jul 2022 5:00 PM EDT",
"longitude": "-74.006",
"latitude": "40.712"
},
{
"Country": "Alaska",
"Cases": 500,
"Category": "Has not historically reported monkeypox",
"AsOf": "11 Jul 2022 5:00 PM EDT",
"longitude": "-74.006",
"latitude": "40.712"
}
I don't think this will be an issue for valid use cases.

source: gharchive/pull-request

authors: adamdoe mpallansch

repo: CDCgov/cdc-open-viz


text:
Finalize messaging recommendations/application

User story
As a ReportStream user, I want to understand if ReportStream can help me so I can decide what to do.
Background & context
User tests revealed some need for further clarity in our messaging. Last sprint reviewed the current messaging in light of user test feedback and other current realities. This ticket builds on that to provide specific recommendations for alignment/approval.
Open questions

Working links
Acceptance criteria

[x] Recommendations documented and reviewed with necessary stakeholders
[ ] Next steps planned (help create engr ticket)

Full deck of updates here. Will create a separate doc specific to home page changes for the eng ticket.

repo: CDCgov/prime-reportstream


text:
AL Gap Analysis - Test Orders

Story
As AL HCO, to ensure we'll receive all needed results data to an EHR, we need to relate the ReportStream results information to what will be received by the EHR.
Pre-conditions

[ ] Assumptions of prior or future work that's out of scope for this story

Acceptance Criteria

[ ] Message profiles are now finalized
[ ] Publish list of transformation requirements for Intermediary
[ ] Get approvals
[ ] Create explicit stories for Intermediary transformation requirements

Tasks

[x] Draft side-by-side comparison of sender & receiver profiles
[ ] Finalize side-by-side comparison of sender & receiver profiles
[ ] Identify/highlight differences (gaps)
[ ] Confirm gap solutions (3 possible actions)

[ ] 1. Sender will update configurations/message mappings to align with receiver profile
[ ] 2. Receiver will update message processing to align with sender profile
[ ] 3. Intermediary will transform/translate messages mid-stream to alleviate burden on sender & receiver

[ ] Update message profiles (if sender or receiver are making changes to accommodate)

Definition of Done

[ ] Documentation tasks completed

[ ] Documentation and diagrams created or updated

[ ] Implementation guide (/ig folder)
[ ] ADRs (/adr folder)
[ ] Main README.md
[ ] Other READMEs in the repo
[ ] If applicable, update the ReportStream Setup section in README.md

[ ] Threat model updated
[ ] API documentation updated

[ ] Code quality tasks completed

[ ] Code refactored for clarity and no design/technical debt
[ ] Adhere to separation of concerns; code is not tightly coupled, especially to 3rd party dependencies
[ ] Code is reviewed or developed by pair; 1 approval is needed but consider requiring an outside-the-pair reviewer
[ ] Code quality checks passed

[ ] Security & Privacy tasks completed

[ ] Security & privacy gates passed

[ ] Testing tasks completed

[ ] Load tests passed
[ ] Unit test coverage of our code >= 90%

[ ] Build & Deploy tasks completed

[ ] Build process updated
[ ] API(s) are versioned
[ ] Feature toggles created and/or deleted.  Document the feature toggle
[ ] Source code is merged to the main branch

Research Questions

Optional: Any initial questions for research

Decisions

Optional: Any decisions we've made while working on this story

Notes

Profile stories:

#992
#618

Also pending verification of order profile by Cerner

repo: CDCgov/trusted-intermediary


text:
Invalid Base64 charater 0xa

I am using netopeer2-cli and netopeer2-server. I am trying to merge tls_keystore.xml to ietf-keystore as written in README, to try to enable TLS.
When I type the command as below, I see the sysrepocfg error about data parsing failed..
Could you help me to solve this error?
ubuntu@:~/netopeer2/build$ sudo sysrepocfg -f xml -d startup --edit=../example_configuration/tls_keystore.xml -m ietf-keystore -v3
[INF]: Scheduled changes not applied because of other existing connections.
[INF]: Connection 19 created.
[INF]: Session 117 (user "root", CID 19) created.
sysrepocfg error: libyang: Invalid Base64 character 0xa.
sysrepocfg error: Data parsing failed
[INF]: No datastore changes to apply.

removed unnecessary empty spaces.


text:
Rewrited auth scripts

All script now timeouts if the script runs too long
Login functions is now moved to separate helper scripts

Added missing newlines

Merging after discussion with Dominik Bučík

repo: CESNET/proxyidp-nagios-scripts


text:
delay csvdb load tasks by a random offset to avoid database lock issues

This resolved my issues when processing a lot of FASTQ files in parallel.
(There may be better ways to address the issue, though)

Thanks for the input, Kevin. It looks like a good workaround.
Please bear in mind that SQLite is not a proper Relational Database Management System, and actually its performance is dependent on the underlying filesystem.
I tried to fix SQLite operational errors with the following changes but more thought might be required:

Pipeline changes: https://github.com/CGATOxford/CGATPipelines/pull/380
scripts changes: https://github.com/CGATOxford/cgat/pull/377

Those changes were added to the master in the v0.3.2 release, could you please let me know what version are you running with the following commands:
pip list | grep -i cgat

Best regards,
Sebastian

Hi Sebastian,
I think I should be up to date. I pulled from the master branch this morning.
$ pip list | grep -i cgat
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
CGAT (0.3.2, /gfs/devel/kralbrecht/cgat)
CGATPipelines (0.3.2, /gfs/devel/kralbrecht/CGATPipelines)
CGATReport (0.7.6.1)

Let me know if there's any command I should run to update the CGAT installation, or something.

For the record, I was systematically getting the 'database locked' error message for pipeline_readqc.py with 384 FASTQ files. I don't know exactly where this falls in the range of input files that you usually process in a single run.
As I said, the random delay of 1-30 seconds worked in my case,  but might need to be increased or even parameterised if the error pops out again for larger amounts of input files.
Best
Kevin

Thanks, Kevin.
We try to solve this by asking ruffus to limit the number of concurrent jobs to 1`:
  @jobs_limit(PARAMS.get("jobs_limit_db", 1), "db")

However, it does not seem to work properly.
We are about to perform a major refactoring on the code, and we'll try to solve this problem then. The idea you propose in this PR is a potential solution. I will leave this open for our reference and I will decide what to do during the code refactoring.
Many thanks!
Sebastian

Hi @sebastian-luna-valero
Yes I saw the jobs_limit instruction in the code, and it did puzzle me as to why it does not seem to work. However, I was short on time and instead of investigating the issue, implemented the quick fix offered in this PR. Obviously, the ideal fix here would be to somehow have this jobs_limit instruction work as expected.
I 100% agree that this PR is not the ideal implementation, and I would not take it personally if it is closed without being merged. Happy to see it used as a reference.
As a user, I'll say that I'm happy enough to have this random delay even increased to a minute or two if needed, which would still represent a fraction of the total pipeline run, in compensation for reducing the chance of database block virtually to nil.
Thanks for your work on the refactoring, I look forward to the result!

authors: kevinrue sebastian-luna-valero

repo: CGATOxford/CGATPipelines

license: mit

license_source: bigquery


text:
Colors for Cancel and Ok Button and Select Chip when selected

Hey,
I was trying to implement this package into my app and I wanted to change the colors for the buttons when you open the Bottom Sheet and when you select the chips inside the Sheet. I tried looking online and within the actual code but couldn't find anything that worked. If theres a solution for this please let me know. Thank you.
My code for the MultiSelectBottomShieldField looks like the following:
Container(
  width: 335,
  decoration: BoxDecoration(
    color: Color(0xFFF0F0F0),
    border: Border.all(
      color: Color(0xFFE8E8E8),
      width: 2,
    ),
    borderRadius: BorderRadius.circular(8),
  ),
  child: Column(
    children: <Widget>[
      MultiSelectBottomSheetField<Software>(
        initialChildSize: 0.4,
        decoration: BoxDecoration(),
        listType: MultiSelectListType.CHIP,
        initialValue: _selectedSoftware,
        searchable: true,
        items: _items,
        buttonText: Text("Select Pharmacy Software...",
            style: GoogleFonts.inter(
                color: Color(0xFFBDBDBD), fontSize: 16)),
        onConfirm: (values) {
          _selectedSoftware = values;
        },
        chipDisplay: MultiSelectChipDisplay(
          items: _selectedSoftware
              .map((e) => MultiSelectItem(e, e.toString()))
              .toList(),
          chipColor: Color(0xFF5DB075),
          onTap: (value) {
            _selectedSoftware.remove(value);
            return _selectedSoftware;
          },
          textStyle: TextStyle(color: Colors.white),
        ),
      ),
    ],
  ),
),

Never mind! I missed the selectedColor and selectedItemsTextStyle fields.


text:
Added openCL support

HIP supports openCL as backend hence enabled for hipblas as well.

Closing it because new PR has included the change.


text:
improve mousemovement

The mousemovement could use a multiplier parameter (more extreme movement) and also a vertical movement
The server I play on requires both horizontal and vertical mouse movement (and it could be that a few pixels is not enough), which I already achieved with a macro but I dont want to keep my MC window active all the time

Aight i added it use /antiafk mousemovement   and /antiafk mousemovement to disable/enable it


text:
fifth_robot_param 調整

処理速度が関係するかもなんで, 調整とその環境を書いてメモにします

Vostro3546 i3000番台
commit 26629e8772bf9f0de196dabfbe3181669a493c0d
ストレスフリーに動けるようになったが, 左右の回転効率が異常なまでに差がある. めっちゃ曲がるので param でめっちゃ補正かけているが, 頭がおかしいレベルの値になっている.
左右で viscose 変化させられればOKなのだが無いのでどうにもならない

odom がめっちゃ回転してる. 原因は明らかで, 左右の回転率から odom がyp_spur側で計算されているからなんだが 地図も一緒に回ってるけれど・・・ダメだと思う. 調整をやり直し他方がいいかもしれない.

左右の回転効率がおかしいのは故障であった可能性がある. 一旦閉じる


text:
用KeepAlive包裹的组件中，react-router-dom无法获取params

用KeepAlive包裹的组件中，可以获取到pathname，但无法获取params。
具体描述如下：
Route的path: '/playlist/:id'，我访问‘/playlist/12345’,
react-router-dom有useLocation和useParams这两个hooks，用useLocation获取到{pathname:"/playlist/12345,...}，而useParams只能获取到空对象。用withRouter的效果也是一样的，props.match.params也是空对象。
不包裹KeepAlive则一切正常。

我知道了，
<Route
  path="/playlist/:id"
  render={props => (
    <KeepAlive>
      <Playlist {...props} />
    </KeepAlive>
  )}
/>

在playlist组件中直接获取props.match.params.id就可以了，不要用withRouter或者useParams

问题是如何才能使 useParams 正常使用呢？老大有办法解决么？我这边发现通过render传入props，内部组件Props.match也是空的

问题是如何才能使 useParams 正常使用呢？老大有办法解决么？我这边发现通过render传入props，内部组件Props.match也是空的

用react-router-cache-route这个库，也是同一个作者写的，可以正常使用useParams

可以看看 AliveScope 和 Router 的位置关系，AliveScope 需要在 Router 内部
<Router>
  <AliveScope>
    <Route .../>
  </AliveScope>
</Router>

的确是在router内部的

不使用 KeepAlive 是不是就没问题了？
如果有关键代码片段的话，可以呈现一下，有 demo 更好

不使用 KeepAlive 是不是就没问题了？
如果有关键代码片段的话，可以呈现一下，有 demo 更好

大佬，麻烦你拉
重现地址： https://codesandbox.io/s/keepalivebug-l5lx2
重现方法：将keepAlive注释和释放，对比前后差异，keepAlive存在的时候，组件props.match和useParams输出结果就缺失了页面的参数

记得访问地址的时候输入 https://l5lx2.csb.app/#/pageA/123

访问的时候记得加上参数
如： https://l5lx2.csb.app/#/123

感觉 keepAlive 组件内没有把 match 正确的传递给子组件

目前看，可能需要加这些东西，5.2.0 后 react-router-dom 不再暴露 RouterContext，我看看怎么解决

目前看，可能需要加这些东西，5.2.0 后 react-router-dom 不再暴露 RouterContext，我看看怎么解决

这样在未使用 react-activation/babel 的时候是有效果的
但是如果加上了这个插件，那么/:id 这类的路由在切换id后,mach内的id还是老的id，没有发生变化

问题是如何才能使 useParams 正常使用呢？老大有办法解决么？我这边发现通过render传入props，内部组件Props.match也是空的

用react-router-cache-route这个库，也是同一个作者写的，可以正常使用useParams

我用react-router-cache-route，也是出现useParams为空的情况，在路由跳转离开的时候触发当前组件的渲染，useParams获取为空报错

问题是如何才能使 useParams 正常使用呢？老大有办法解决么？我这边发现通过render传入props，内部组件Props.match也是空的

用react-router-cache-route这个库，也是同一个作者写的，可以正常使用useParams

我用react-router-cache-route，也是出现useParams为空的情况，在路由跳转离开的时候触发当前组件的渲染，useParams获取为空报错

@xydegithub
react-router-cache-route 应该是 OK 的呀，可以到那边去开个 issues，前两天我看也有人提到这个，不过后来发现又没问题了

@xydegithub
react-router-cache-route 应该是 OK 的呀，可以到那边去开个 issues，前两天我看也有人提到这个，不过后来发现又没问题了

authors: CJY0208 ChihoSy calmchang chiihooy xydegithub


text:
Add an option to generate graph URIs without hashes

Both in the nano publication code, but also from the command line.

Fixed in  6eae1be


text:
issue-147-add-dashboard-for-showing-question-variable-topic-mismatches

Add dashboard for displaying question/variable pair where their assigned topics do not match. Addresses issue https://github.com/CLOSER-Cohorts/dashboard/issues/161

@spuddybike just a reminder about this open PR, from before the EDDI conference.

repo: CLOSER-Cohorts/dashboard


text:
🛑 Development is down

In 6ca4d1d, Development (https://development.cmasnap.com/api/ping/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Development is back up in 9a5e9bf.

repo: CMAsnap/status


text:
Add files via upload

Adding modified UML diagram

Approved :)

authors: UALBERTA-rcvoon wcomhelp


text:
use ROS timer instead of std::thread and use multi thread spinner

@tatsuya-ishihara
Could you review the change?
I didn't know the multi-thread spinning APIs and tried to use my own thread to keep the FPS up.
However, it looks like a cause of a bug in a certain situation.
So, now I reuse ROS timer and use multi-thread spinning both in node and nodelet implementation.
I could not reproduce the bug situation, so I just tested if it was working in a test condition (a few people) without navigation.

Thank you. It looks good to me.

@tatsuya-ishihara, could you "review" as github function to change the status?

authors: daisukes tatsuya-ishihara

repo: CMU-cabot/cabot


text:
ivi-controller: update data type of member in struct ivishell

From weston version 8.0.0, data type of param in
weston_config_section_get_bool() changed from int to bool. So, we need to update in wayland-ivi-extension source.
(< version 8.0.0 )

(>= version 8.0.0)

Tested-by: Au Doan Ngoc au.doanngoc@vn.bosch.com

reviewed-by: Tran Ba Khang khang.tranba@vn.bosch.com

Reviewed-by: Harsha M M harsha.manjulamallikarjun@in.bosch.com

thanks for the hint
we would consider this, in case you have already prepared something just push it ;-)

repo: COVESA/wayland-ivi-extension


text:
Feature ParticleFilter based tracker

New Feature
Vscan based Rao-Blackwellized Particle Filter tracker adapted to work on Autoware
Expected Result
https://drive.google.com/open?id=0BzYuVrO9pnh6VUhQd0N2TjBsM3c
Documentation
Based on the work described in:
http://ieeexplore.ieee.org/document/7759043/
Constraints

Requires hdl-64 to work reliably
Uses 2d scan to match between frames
Can only track up to 5 objects in realtime, using a GPU
Needs the correct pose, for that reason in some cases, the tracking will fail

@amc-nu What's the status on this PR?

authors: amc-nu gbiggs

repo: CPFL/Autoware


text:
850 avoid search by id before every server mode download

download info is stored in instance of EODataAccessGateway with key composed of product type, provider and id
if download is attempted for product where id is not in download info and search by id is available for provider and product type, it will be executed; if search by id is not possible an error will be raised to do a search

updated based on input from @alambare-csgroup

closed because change requests were implemented on new branch -> new PR: https://github.com/CS-SI/eodag/pull/1012

repo: CS-SI/eodag


text:
As a medical clinic receptionist, I want to request for a specific doctor for consultation

So that I can satisfy patient need.

what's the difference between this and #36 ?


text:
As a user, I can tag my tasks based on priority.

so that I can prioritize my goals

this feature is not implemented


text:
중력모드 구현

def gravity 함수 사용해서 떠있는 블록은 자신의 x좌표에서 최대한 밑(y좌표) 위치, 어딘가에 안착한 블록은 그냥 자신의 위치 즉 matrix[][]에 색을 입혔습니다.
그리고 def erase_mino 사용해서 matrix에 색을 입혔으므로 기존에 내려온 블록은 제거하였습니다.
+게임 플레이 코드 중간에 draw_mino가 불필요하게 작용하여서 제 코드가 잘 돌아가지  않아서 지웠습니다 일단은 이상 없는 걸 확인했습니다! 하지만 혹시라도 에러를 발생하면 얘기해주세요

리더보드에 저희 테스트하면서 aaa만 너무 많이 들어가버려서 그냥 정리했습니다

아직 중력 모드의 패널티 조건이 추가되지 않은 상태이므로 중력 모드 이슈가 추가되더라도 연결만 하고 이슈를 닫지는 않겠습니다.
그래비티 모드가 현재 single 모드를 대신하여 적용되고 있으므로, 일단 해당 pr을 머지한 후 start screen인 else loop에서 키 입력을 통해 single 모드와 중력 모드 전환이 가능하도록 추가 pr하겠습니다.

네네 제가 어제 이슈랑 마일스톤 추가해두었고, 아직 페널티 조건을 만들지 않아서 이슈 계속 열어두었습니다
넵 그러면 페널티 조건도 만들면 함께 적용해주세요!


text:
[BE] 학사 일정 추가할 app 생성 + 학사일정 더미데이터 추가

학사 일정 추가할 app 생성 + 학사일정 더미데이터 추가

작업 내용

csv 파일로 학사일정 데이터를 추가
app을 만들어 해당 데이터 장고 내 저장

확인했습니다!


text:
Update to JetBrains.ReSharper.SDK 2019.1.1.

Fixes #86

v0.18.0

repo: CSharpAnalyzers/ExceptionalReSharper

license: MS-PL


text:
"Attendees must read and follow our Code of Conduct"

Broken link on meetup and ctfeds.org ...

Fixed! Thank you for spotting it and letting us know. :)

authors: SteveBarnett gregbenner


text:
Full Financials PDF

Get financials PDF from Patty Leslie. Latest update should be ready by tomorrow (Fri Oct 29)

This looks good to me
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Alex Finnarn @.>
Sent: Friday, October 29, 2021 1:33:45 PM
To: CUCentralAdvancement/essential-cu @.>
Cc: Yifei Wu @.>; Assign @.>
Subject: Re: [CUCentralAdvancement/essential-cu] Full Financials PDF (Issue #459)
PDF link added to https://essential-staging-cu.herokuapp.com/impact-reports/joy/financials
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/CUCentralAdvancement/essential-cu/issues/459#issuecomment-955000045, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVYBARVQMIPCI2WYNGOCDEDUJLZJTANCNFSM5G6F2UQA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

repo: CUCentralAdvancement/essential-cu


text:
Testing

[copied from CUNY-CL/abstractness/issues/87]
We should add integration tests (I hesitate to call these unit tests), simply limiting ourselves to the model sizes and data quantities we can run on CircleCI's free tier. We get 6,000 compute-minutes per month...all of this is pretty generous except that I am unclear whether we can use their GPU images or are stuck on CPU (ideally we'd parameterize tests on both). I think it ought to be possible to do actual training of the major models using, say, 1,000 examples. Unit tests could include g2p (for feature-less) and inflection (for feature-full) from SIGMORPHON.
The current training and prediction functions are structured to read and write directly to the file system. They should be modularized to take ordinary arguments and return the results:

for training, a function could simply return the best model (or its path) with metadata (wall clock time, training accuracy, development accuracy), and then the command-line enabled version of that loop could invoke this
for prediction, a function could simply return the accuracy.

These functions can then be called by the existing (null return type) training and prediction functions, the ones parameterized with click flags.
This will also support two other projects (issues coming soon):

benchmarking
W&B-enabled hyperparameter sweeping

This is a blocker for a post-beta release candidate.

Yoyodyne test strategy.pdf
The above describes my current thinking about the test strategy.

repo: CUNY-CL/yoyodyne


text:
🛑 India mirror is down

In b85ec28, India mirror (https://mirror.albony.xyz/cachylinux/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: India mirror is back up in 80448ba after 6 minutes.

repo: CachyOS/statuspage


text:
Add missing FK connection

Closes #2591

did you close this on purpose? the missing FW connection changes are not merged yet.

yes. i renamed the branch and it auto closed this PR. i remade antother

authors: SolidProgramming tpurschke

repo: CactuseSecurity/firewall-orchestrator


text:
teste

correção

ok, irei corrigir

reabrindo issue

license: Unlicense


text:
Added owner web_arg for queue API.

Fixes #405

:+1: LGTM

authors: Sumukh moowiz


text:
Issue with using the FreeTAKServer Manager.

Followed the youtube video and got it too install no problem but when I start the server I get two cmd screens like this, I have added screen shots too this. Thanks

also tried this of no and still same issues

Hi there,
Looks like some dependencies are conflicting.
You can check them here. for verification.
The manager was made for the older version 1 of FTS and there is a Winforms and WPF version both should work the same but sometimes the different API calls can cause a strange error/bug however in this case it's more likely a Python thing since all the software is using python for the FTS stuff the C# part is just managing the interface an minor things like logging etc.
Are you using the version in the releases tab? and did you install via the MSI installer?
Also I tested the setup using Python 3.11.3 and Python 3.8.10 only, so others may have made changes to modules.
Let me know.
If you're still having issues you can try setup a VM in windows to install the latest version 2 stuff via Linux there's been many improvements to the Linux install. I'm not sure when I'll take a look at updating this software again been very busy at work recently

authors: Cale-Torino jusromaine


text:
removed base package.json files

#67
Discarded package.json and package.lock.json files

Hi, @upkarlidder I've added the PR.


text:
[WIP] add new operator LU factorization

Thanks for your contribution and we appreciate it a lot. :rocket::rocket:
1. Motivation
add floating point operator LU factorization
2. Modification
add implementation of floating point LU factorization
3. Test Report
3.1 Modification Details
3.1.1 Accuracy Acceptance Standard
For static threshold standard details, see: MLU-OPS™ Accuracy Acceptance Standard.

static threshold

diff1

[ ] float32 mlu diff1 <= 1e-5
[*] float32 mlu diff1 <= 3e-3
[ ] float16 mlu diff1 <= 3e-3

diff2

[ ] float32 mlu diff2 <= 1e-5
[* ] float32 mlu diff2 <= 3e-3
[ ] float16 mlu diff2 <= 3e-3

diff3

[ ] mlu diff3 == 0
[ ] mlu diff3_1 == 0
[ ] mlu diff3_2 == 0

dynamic threshold

[ ] diff1: mlu diff1 <= max(baseline diff1 * 10, static threshold)
[ ] diff2: mlu diff2 <= max(baseline diff2 * 10, static threshold)
[ ] diff3: mlu diff3 <= max(baseline diff3 * 10, static threshold)

float32, threshold = 1e-5
float16, threshold = 1e-3

3.1.2 Operator Scheme checklist

Supported hardware

[* ] MLU370
[ ] MLU590

Job types

[ ] BLOCK
[ ] UNION1
[ ] UNION2
[ ] UNION4
[* ] The operator will dynamically select the most suitable task type, for example, UNION8

3.2 Accuracy Test
3.2.1 Accuracy Test
If you have checked the following items, please tick the relevant box.

[ ] Data type test (e.g. float32/int8)
[ ] Multi-dimensional tensor test
[ ] Layout test
[ ] Different size/integer remainder end segment/alignment misalignment test
[ ] Zero dimensional tensor test/zero element test
[ ] stability test
[ ] Multiple platform test
[ ] Gen_case module test, see: Gencase-User-Guide-zh
[ ] Nan/INF tests
[ ] Bug fix tests
[ ] For memory leak check details, see: GTest-User-Guide-zh
[ ] For code coverage check details, see: GTest-User-Guide-zh
[ ] For I/O calculation efficiency check details, see: MLU-OPS™-Performance-Acceptance-Standard

3.3 Performance Test
Platform：MLU370
----------- case0 -----------
case0
[Op name                ]: sgetrf
[Shape                  ]: input.shape=[256,256], output.shape=[256,256]
[Data type]             ]: float32
[MLU Hardware Time      ]: 6460 (us)
[MLU Interface Time     ]: 15336.7 (us)
[MLU IO Efficiency      ]: 0.00026419
[MLU Compute Efficiency ]: 9.90712e-06
[MLU Workspace Size     ]: -1 (Bytes)
[MLU Kernel Name(s)     ]: {}
[MLU TheoryOps          ]: 65536 (Ops)
[MLU TheoryIOs          ]: 524288 (Bytes)
[MLU ComputeForce       ]: 1.024e+12 (op/s)
[MLU IoBandWidth        ]: 307.2 (GB/s)
[GPU Hardware Time      ]: -1 (us)
[GPU IO Efficiency      ]: -1
[GPU Compute Efficiency ]: -1
[GPU Workspace Size     ]: -1 (Bytes)
[Diffs]:
[output]
DIFF1: 1.798500e-04
DIFF2: 7.016698e-04
[^      OK ] ../../test/mlu_op_gtest/pb_gtest/src/zoo/sgetrf/test_case/case0.prototxt
[       OK ] sgetrf/TestSuite.mluOp/0 (36 ms)
[----------] 1 test from sgetrf/TestSuite (36 ms total)
[----------] Global test environment tear-down
[ SUMMARY  ] Total 1 cases of 1 op(s).
ALL PASSED.
[==========] 1 test case from 1 test suite ran. (3727 ms total)
[  PASSED  ] 1 test case.

3.4 Summary Analysis
Please give a brief overview here, if you want to note and summarize the content.

当前文件有冲突，请rebase master 的同时，解除文件冲突。

Conflicting files
docs/user_guide/9_operators/index.rst
mlu_op.h

当前文件有冲突，请rebase master 的同时，解除文件冲突。

Conflicting files
docs/user_guide/9_operators/index.rst
mlu_op.h

Feature: Refactor roi align rotated forward
参考这个格式修改下commit信息

authors: ArtIntAI Chuancysun duzekunKTH

repo: Cambricon/mlu-ops


text:
Cannot use Hash as a resource

I realise this is an unusual way to use CanCan, but I have noticed that the following fails unpredictably:
can :some_action, Hash do |params|
  # actual logic omitted
  puts params
  true
end

If I try can? :some_action, {a: 1}, it will return false and not run the block above at all. If I try can? :some_action, {a: {a: 1}}, it will behave correctly, printing {a: {a: 1}}.
This appears to be due to rule.rb's relevant method, which contains the following code:
    24: def relevant?(action, subject)
    25:   subject = subject.values.first if subject.class == Hash
    26:   @match_all || (matches_action?(action) && matches_subject?(subject))
    27: end

I'm curious what that is meant to do? Any thoughts? Is the use case so mad that it just should never be done?
The use case is basically where the subject is just one of several arbitrary parameters. For example, rather than "view a client", "view a client's financial projections" or "view a client's contact details". Any tips on how to achieve logic that goes beyond action and subject would be helpful also.

I see that this behaviour doesn't occur if the subject is a subclass of Hash, such as ActionController::Parameters.

@GeorgeDewar I'll look into this when I can, but I agree this case is not conventional.
Ideally, you should never be passing in a Hash here. An object can have a hash for its internal data structure, but I would recommend actually modeling your application with classes representative of the data they contain and operate on.
I haven't dug into that yet, but I'm betting strongly that this won't be changed. Parameters doesn't get caught by this because it checks class, not superclass, nor does it use is_a?. When you pass a hash, I believe it is expecting a list of conditions.

authors: GeorgeDewar Senjai

repo: CanCanCommunity/cancancan


text:
[BUG] -Getting File Not Found Exception when creating new File with cropped uri.getPath()

Lib Version 2.2.1

Describe the bug
I am able to crop the image and put in ImageView successfully.
But when I am using the same URI path to create a file it's throwing FileNotFoundException.
The URI path is starting like content://..something/package name/ myfiles/... something like this.
When I debugged I am able to see some data like NO CACHE inside the URI value.
I am pasting my code below:
Calling Method to crop:
public void onSelectImageClick() {
   CropImage
    .activity(null)
    .setOutputCompressFormat(Bitmap.CompressFormat.JPEG)
    .setGuidelines(CropImageView.Guidelines.ON)
    .setFixAspectRatio(true)
    .start(this);
}

Getting cropped result in onActivityResuly()
 @Override
    protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
        super.onActivityResult(requestCode, resultCode, data);

        if (requestCode == CropImage.CROP_IMAGE_ACTIVITY_REQUEST_CODE) {
            CropImage.ActivityResult result = CropImage.getActivityResult(data);
            if (resultCode == RESULT_OK) {

                Glide.with(this)
                        .load(result.getUri())
                        .into(actorPic);
                isImageViewAdded = true;
                //handleCropResult(CropImage.getActivityResult(data))
                imagePath = result.getUri();
                //imagePath = CropImage.getPickImageResultUri(this, data);

                //insertSingleItem(result.getUri());
            } else if (resultCode == CropImage.CROP_IMAGE_ACTIVITY_RESULT_ERROR_CODE) {
                Toast.makeText(this, "Cropping failed: " + result.getError(), Toast.LENGTH_LONG).show();
            }
        }

        if(requestCode == CropImage.PICK_IMAGE_CHOOSER_REQUEST_CODE){
            Uri imageUri = CropImage.getPickImageResultUri(AddActorsActivity.this, data);
            imagePath = imageUri;
        }

    }

But the imageview is able to find the path and successfully update the cropped image inside it through Glide.
Expected behavior
I think the cropped Image is not caching and so it's happening like this.

Hi,
In my case I solved the problem following this:
https://developer.android.com/training/data-storage/shared/documents-files?hl=es-419
Hope it helps you too!
Regards,

I am creating the file like new File(uri.getPath()) . The same code was working before. @TomasMVazquez  Can you please share the piece of code which you have used to create the file from the uri.

I am creating the file like new File(uri.getPath()) . The same code was working before. @TomasMVazquez  Can you please share the piece of code which you have used to create the file from the uri.

@RanjitPati maybe this is happening because of Android OS permission changes.
Now using scope storage we don't get a file path anymore.
Maybe you can change the URI string "content" to "file"
But is not the real fix, the library will return the URI for the image using the scope storage like google force us now.
If you plan to create a file you need to get write storage permission and get the path where you put the image.
Make sense?

com.theartofdev.edmodo:android-image-cropper:2.8.0
It works here pretty fine

I am creating the file like new File(uri.getPath()) . The same code was working before. @TomasMVazquez Can you please share the piece of code which you have used to create the file from the uri.

What I needed was to get Base64 from Uri/Path, originaly I was getting the path but with the change I'm using directly the Uri:
Original Code:
fun imageFileToBase64(imageFile: File): String {
    return FileInputStream(imageFile).use { inputStream ->
        ByteArrayOutputStream().use { outputStream ->
            Base64OutputStream(outputStream, Base64.DEFAULT).use { base64FilterStream ->
                inputStream.copyTo(base64FilterStream)
                base64FilterStream.flush()
                outputStream.toString()
            }
        }
    }
}

New Code:
fun imageUriToBase64(context: Context, uri: Uri): String? {
    val contentResolver = context.contentResolver
    return contentResolver.openInputStream(uri)?.use { inputStream ->
        ByteArrayOutputStream().use { outputStream ->
            Base64OutputStream(outputStream, Base64.DEFAULT).use { base64FilterStream ->
                inputStream.copyTo(base64FilterStream)
                base64FilterStream.flush()
                outputStream.toString()
            }
        }
    }
}

com.theartofdev.edmodo:android-image-cropper:2.8.0
It works here pretty fine, you can check this library for you reference.

This was the main reason I fork from the old library @AbdulmalekAlshugaa , this was the way it work before OS 11.
Now with OS 11, this behaviour changed so the library was updated, not we need to update the usage of it too.
Please let's put all discussion about this on the same place: https://github.com/CanHub/Android-Image-Cropper/discussions/87
Sadly this is an Android OS change, but if anyone know a better fix for the latest OS, using scope storage and keeping it file drop a PR cause will help everyone =)
I will close so we focus the discussion on the same place
https://github.com/CanHub/Android-Image-Cropper/discussions/87

Please try the latest 3.0.0 release and let me know

authors: AbdulmalekAlshugaa Canato RanjitPati TomasMVazquez

repo: CanHub/Android-Image-Cropper


text:
Profile-guided optimization

Add a pgo mode to the compiler, which compiles with logging for runtime types (or more in the future) which is dumped to file. Then, add an argument to regular compile which takes in such file as input and uses it for optimization.

Done in 97bb4f33be95a23eaebd017cea80a90a1d49abef!

repo: CanadaHonk/porffor


text:
Chore: bump to 0.6.0

Description
Bump to 0.6.0

Codecov Report
Patch coverage: 88.57% and project coverage change: -0.05 :warning:

Comparison is base (d121a7a) 90.52% compared to head (4e99b6a) 90.47%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #225      +/-   ##
===========================================
- Coverage    90.52%   90.47%   -0.05%
===========================================
  Files          331      335       +4
  Lines         5477     5596     +119
  Branches       732      742      +10
===========================================
+ Hits          4958     5063     +105
- Misses         374      384      +10
- Partials       145      149       +4

Flag
Coverage Δ

build
90.55% <ø> (ø)

catalog-server
100.00% <ø> (ø)

cli
75.85% <ø> (ø)

extension-authenticator-canner
78.37% <100.00%> (-2.11%)
:arrow_down:

extension-dbt
97.43% <ø> (ø)

extension-driver-canner
84.65% <ø> (ø)

extension-driver-clickhouse
88.09% <88.09%> (?)

extension-driver-pg
96.11% <ø> (ø)

extension-driver-snowflake
96.26% <ø> (ø)

extension-store-canner
98.30% <ø> (ø)

integration-testing
90.27% <ø> (ø)

serve
87.17% <92.30%> (+0.05%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...-driver-clickhouse/src/lib/clickHouseDataSource.ts
81.66% <81.66%> (ø)

...c/lib/middleware/auth/authCredentialsMiddleware.ts
90.00% <85.71%> (-1.67%)
:arrow_down:

.../extension-driver-clickhouse/src/lib/typeMapper.ts
90.24% <90.24%> (ø)

...-authenticator-canner/src/lib/authenticator/pat.ts
75.75% <100.00%> (-2.63%)
:arrow_down:

packages/extension-driver-clickhouse/src/index.ts
100.00% <100.00%> (ø)

.../extension-driver-clickhouse/src/lib/sqlBuilder.ts
100.00% <100.00%> (ø)

...kages/serve/src/lib/auth/httpBasicAuthenticator.ts
90.90% <100.00%> (+3.67%)
:arrow_up:

...es/serve/src/lib/auth/passwordFileAuthenticator.ts
80.48% <100.00%> (-1.34%)
:arrow_down:

...ges/serve/src/lib/auth/simpleTokenAuthenticator.ts
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

authors: codecov-commenter onlyjackfrost

repo: Canner/vulcan-sql


text:
Adding 0's after the "fractionDigits" limit doesn't trigger formatting

$1.2211111111 > $1.22 ❤
$1.2200000000 > $1.2200000000 💔

Hi, there! I would like to take up this issue. Can it be assigned to me?

@gokullan sounds good, submit a PR when you are ready.
Thanks!

authors: fmaclen gokullan

repo: Canutin/svelte-currency-input


text:
Lazy Loading

Is your feature request related to a problem? Please describe.
To load the welcome page faster
Describe the solution you'd like 💡
Use lazy loading module to detach the welcome part so the initial page can load faster

Can i get this task?

Hello @infinityover,
Sure!

repo: Canvasbird/canvasboard


text:
While deploying the docker-compose there are errors on the primus module as strict & const seem not compatible...

I just launched the docker compose to run a cluster, and launching the eth-netstats is broken.
JMarc
/eth-netstats/node_modules/primus/index.js:177
const sandbox = Object.keys(global).reduce((acc, key) => {
^^^^^
SyntaxError: Use of const in strict mode.
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/eth-netstats/app.js:44:14)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
npm ERR! Linux 3.13.0-52-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v0.12.17
npm ERR! npm  v2.15.1
npm ERR! code ELIFECYCLE
npm ERR! eth-netstats@0.0.9 start: node ./bin/www
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the eth-netstats@0.0.9 start script 'node ./bin/www'.
npm ERR! This is most likely a problem with the eth-netstats package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./bin/www
npm ERR! You can g

I had a similar issue, and fixed that by upgrading the node version for the eth-netstats container; updating the first line of the eth-netstats/Dockerfile from FROM node:0.12 to FROM node:7 did it for me.

yes thx its fixed in my case as well, we should update the file and release...

Closing via https://github.com/Capgemini-AIE/ethereum-docker/pull/18

authors: jmlambert78 meken tayzlor

repo: Capgemini-AIE/ethereum-docker


text:
能不能提供一个全量库

这个库支持全部播放格式的引入方式，有些需求是想支持全部的视频给事，尽量覆盖各种格式的视频。可以忽略包的体积。

这个需要自己编译，编译的方法首页有

authors: CarGuo SaudM

repo: CarGuo/GSYVideoPlayer


text:
🛑 PlanetHoster is down

In 055d076, PlanetHoster (https://www.planethoster.com/fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: PlanetHoster is back up in 05baa6f after 5 minutes.

repo: Carbubu/upptime


text:
URL calculations when laravel is run under a sub-directory are broken

Assuming you are running laravel under the /project/ subdirectory for a domain.
you usually use a custom url-rewrite to ensure that
http://example.com/project/DURC/author/
is rewritten to
http://example.com/project/index.php/DURC/Author/
But in that case the routes need to be build in terms of /DURC/author
but the links in all of the templates need to be for /project/DURC/author/
perhaps this is an indication that the whole url calculation method is simplistic and needs to be improved.

No one hosts Laravel this way. It is a bother to code this and it is not worth it.

repo: CareSet/DURC


text:
🛑 jereconstructionroofing is down

In ced4963, jereconstructionroofing (jereconstructionroofing.com) was down:

HTTP code: 429
Response time: 332 ms

Resolved: jereconstructionroofing is back up in 4405177 after 1 hour, 56 minutes.

repo: Careas/vps-monitor


text:
The issue has been resolved

Feel free to just close the issue next time instead of renaming the title :)


text:
consistency of scanlation team when reading

Describe your suggested feature
when reading, if you start with, say asura scan but there's also entries for the same chapter from, say, flame scan, if i start reading from asura scan, it sometimes switch to flamescan in the next chapter, even if asura scan is available, it's not a problem if it's on the same language, but it's infuriating when it switch from English to French when going to the next chapter
it should also be noted that when a chapter gets marked as read when i finish it, it doesn't mark the same chapter from another team as read too
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I have updated the app to the newest version Latest.
[X] I have checked through the app settings for my feature.
[X] I will fill out all of the requested information in this form.

Are you talking about when skip duplicates is enabled?

i do have skip duplicate enabled
the thing I'm talking about is consistency across chapters when skipping duplicates, and the fact that duplicate aren't marked as read either

Well duplicates marked as read is not what the option provides.
As for skip duplicates it doesn't take into account the scanlator cause it's a pain to try to get something like that working.
Just filter out the scanlator you want then make the others as read if it's that big of issue. Then unfilter the scanlator

This should be slightly more consistent now

authors: CarlosEsco yapudjus

repo: CarlosEsco/Neko


text:
Dont mangle key typos.

https://github.com/Carthage/Carthage/issues/1926
I think for the sake of better error messages Commandant should not try and convert flags to a set
https://github.com/Carthage/Commandant/blob/903eaec12f3a68782496065dcc68393b8ab1b4bd/Sources/Commandant/ArgumentParser.swift#L75
It will mangle a --key typo and produce confusing errors.
If flags are passed as used ex:
$ carthage update -platform
Unrecognized arguments: -armpfolt

Should become
$ carthage update -platform
Unrecognized arguments: -platform

That's only done if there's a single -, which denotes a single-letter flag/argument. That's how basically all *nix tools work.

do all nix tools randomly the input in the error message?

This issue isn't about the fact that there is an error message. this issue is about the formatting and content of the error message.

It looks like most tools bail on the first unknown option:
$ python -asenxtaboe
Unknown option: -a

I'm not sure if that's better as it gives you less information.

authors: aaroncrespo mdiep

repo: Carthage/Commandant


text:
Fix overviews integration for named layers

Fix #400

@dgaubert @rtorre please take a look

:+1:

authors: dgaubert jgoizueta

repo: CartoDB/Windshaft-cartodb


text:
Formula dataview

https://github.com/CartoDB/cartodb.js/issues/1851

@alonsogarciapablo I don't feel like releasing only the bboxFilter changes. Let's do it after the integration phase of all dataview changes.


text:
Broken date format in CSV causes whole file to fail

Just had a CSV fail with error 9999 due to a column like this:
date
2000-01-01
2000-1-NA

IMHO it should never fail to import just because of some data values which don't fit the type that CartoDB has assigned.

@stevage what do you propose for the failing cells? Set them to null?

Either that or convert the whole column back to string. (I don't know anything about how this is implemented.)

If we set the column back to string, we will just have the problem when converting later. So better to do at import time IMO

If by "later" you mean, when the user explicitly converts the column type to date, that's better in two ways:

You know that they really wanted a date. (Currently you're not that sure - you see one value that looks like a date, and another one that definitely isn't a date.)
You're in a better position to give specific error feedback. (As opposed to just aborting with a generic error message.)

Deployed a change that fixes this

authors: ethervoid saleiva stevage

repo: CartoDB/cartodb


text:
Import timeouts are happening from the import_cleanup process at Table model

This part of the code is using connections to the database "as superuser". Perhaps we should switch it by the new methods (direct connections or transactions with timeout) we've been using lately.
https://github.com/CartoDB/cartodb/blob/6f060448fb68288d7f9695906df4b556c213b6fc/app/models/table.rb#L302

cc @oriolbx

Started to check this. The import_cleanup process is actually flagged as potential code to be removed because the CartoDBfication already manages similar issues at _CDB_Has_Usable_Primary_ID. I'm gonna study it to see if it can be completely dropped, or otherwise treat better the timeout.

There's a difference between this code and CartoDBfy: the ruby part gets rid of other known columns, generated usually by Ogr2ogr which are used as PK, but CartoDBfication doesn't. Removing the code without changing the PK name in ogr2ogr would provoke that exporting and importing a table (with cartodb_id) would add an extra gid column on each import, because this extra column wouldn't be dropped.

Already solved in the mentioned PR, thus closing this.

authors: iriberri rafatower


text:
Queue snapshots

This is a working version that allows dumping snapshots of the queue of a node by running
$ kill -USR1 $NODE_PID

where $NODE_PID should actually the PID of the node that should dump its queue. It will create a queue_dump.json file in the working directoy of the node.
Example, dumping a node with a single event in it:
$ jq < queue_dump.json
{
  "NetworkIncoming": [],
  "Network": [],
  "Regular": [
    "AddressGossiper"
  ],
  "Api": []
}

(the jq is not necessary here, but allows filtering. I use it because it makes the output pretty :))
Currently only the name of the event is dumped, as all the inner fields are skipped. If more output it desired, Serialize should be derived on inner events, possibly with skip_serialize on problematic fields.
Some jq examples
Counts of all event types:
jq 'map_values( map(keys[0] | {"type": ., weight: 1})| group_by(.type) | map ([.[0].type,(.|length)]) | map({(.[0]): .[1]}) )' queue_dump.json

Count each queue
jq 'map_values(map(keys[0]))' queue_dump.json

@marc-casperlabs How about we get this to compile and then squash all commits into one? If people are expected to keep it on the side (without merging to master) and use when necessary, it will be much easier to have it as a single commit that can be cherry-picked easily.

Thinking about it, I think it's not harmful to merge this into master - the cost of having a few extra Serialize / Deserialize derives floating around. Actual runtime cost is is a single, never-taken branch on an atomic bool.

I'd prefer to feature-gate the functionality (really just the signal-handling code so that we don't query a bool on every event, not suggesting we feature-gate the bulk of the changes in this PR). But that's not a blocker - leave as is if you prefer.

I think that's absolutely unnecessary. We are talking about what I believe amounts to one or two CPU instructions, essentially never branching! That's not even remotely close to the threshold I would consider required to make feature gating worthwhile.
I can remove a log message somewhere to compensate :)

@marc-casperlabs How about we get this to compile and then squash all commits into one? If people are expected to keep it on the side (without merging to master) and use when necessary, it will be much easier to have it as a single commit that can be cherry-picked easily.

This will no longer work, as we have more and more events and such implement Serialize to be dumpable. I'd argue that it is more trouble than it is worth at this point.

@marc-casperlabs How about we get this to compile and then squash all commits into one? If people are expected to keep it on the side (without merging to master) and use when necessary, it will be much easier to have it as a single commit that can be cherry-picked easily.

This will no longer work, as we have more and more events and such implement Serialize to be dumpable. I'd argue that it is more trouble than it is worth at this point.

Sure, that comment is over month old.

bors r+

repo: CasperLabs/casper-node


text:
Add token role info in each notebook for clarity

Pending a better autogen token, make it clear in each colab that the Token should be a manually-generated
"DB Admin" token.

in prod now

repo: CassioML/cassio-website


text:
Town Hall Slides -  Monday, 09th May, 2022

Townhall slides -  Monday, 09th May, 2022

Previous Town Hall - https://github.com//Catalyst-Circle/Catalyst-Circle-Coordination/issues/108
CC Admin meeting -

[ ] Prepare Town Hall slides for Wednesday

Previous in series: #108

Next in series: #121


text:
Export Format Yolo, the bbox txt is all Infinity Infinity Infinity Infinity

Export Format Yolo, the bbox txt is all Infinity Infinity Infinity Infinity

I will take a look can you send me example output..

@aribornstein

Now, I am anxious to turn to yolo, please help me solve, thank you.

It looks like there is a scaling error in the image support version of the code. I will hopefully have some time to resolve in the upcoming week.  In the meantime it might be worth while to look at the CNTK FastRCNN option. https://github.com/Microsoft/CNTK/wiki/Object-Detection-using-Fast-R-CNN

I've identified whats causing the problem and am working to resolve it. It's caused by the fact that while video frames all have the same dimensions images don't. I will update you once this is fixed.

Should be resolved now try the new version :)

authors: aribornstein whaozl

repo: CatalystCode/VOTT


text:
Create bidirectional "merged vertex" and "merged edge" coders

In some applications, it is necessary to de-type property graph vertices and edges for the sake of interoperability with type-unaware components, merging them all into a single undifferentiated set of vertices and/or edges -- every vertex or edge with the same type as every other vertex or edge. However, if we simply add a "label" property for each element, and associate labels with the original types of the elements, we can reconstitute them when mapping data in the other direction -- from the merged view back to the typed view.
These coders will be needed first in Java, so will be prototyped in that  language.

Done and tested.

repo: CategoricalData/hydra


text:
感谢大佬的整合

感谢大佬的整合

别客气，正好自己也用到。感觉这个需求比较普遍就share了

authors: Caterpolaris netesheng


text:
[BUG] Google icon is not vertically centered in the login page

Describe the bug
The google icon is not vertically centered
To Reproduce
Steps to reproduce the behavior:

Go to 'Login page'

Expected behavior
The google icon should be vertically centered
Screenshots

@jinxsaber hi, are you working on this?

@ali-ahnaf Can i work on this issue can you assign me ?

@ali-ahnaf Can i work on this issue can you assign me ?

Sure, go ahead. Let me know if you need help installing the development environment.

authors: Propo41 ali-ahnaf talhawebguru

repo: Cefalo/quick-meet


text:
🛑 Nextcloud is down

In cc707f6, Nextcloud (https://nextcloud.hiripple.com) was down:

HTTP code: 530
Response time: 124 ms

Resolved: Nextcloud is back up in fe7dcac after 52 minutes.

repo: CelestialRipple/ripplelog


text:
🛑 Alist is down

In 70d56fc, Alist (https://alist.hiripple.com) was down:

HTTP code: 530
Response time: 56 ms

Resolved: Alist is back up in 34dcaa0 after 1 hour, 30 minutes.


text:
Solve lease renewal issue in Kube-Scheduler/KCM/WCM

What would you like to be added:
In performance test, we saw master components starting to have issue when it cannot renew its lease.
Why is this needed:

Resolved by bug fixing client sharing same rate limiter

repo: CentaurusInfra/arktos


text:
fix issue 1038. kubeconfig for kcm on TP to use the proxy till the KCM supports direct talk to RPs

What type of PR is this?

/kind bug

What this PR does / why we need it:
fix bug in KCM on TP cluster to talk to the proxy instead of pointing to the local cluster --- the RP directly connect from KCM on TP is not yet supported in main -- it is currently tested in 430 branch
Which issue(s) this PR fixes:
Fixes #1038
Special notes for your reviewer:
unblock perf testing in master branch. essential changes is
if [[ "${KUBERNETES_TENANT_PARTITION:-false}" == "true" ]]; then
    create-kubeconfig "kube-controller-manager" ${KUBE_CONTROLLER_MANAGER_TOKEN} "${PROXY_RESERVED_IP}" "443" "https"

Does this PR introduce a user-facing change?:
none
**Testing:

1 TP, 1 RP scaleout
scaleup test

verified bug fix:
ybai2016@yb01-multiple-rp-kubemark-tp-1-master /var/log $ grep -i "Found orphaned Pod" kube-controller-manager.log
ybai2016@yb01-multiple-rp-kubemark-tp-1-master /var/log $

we are verifying to integrate with bug fix 1039. so for now, please do not merge this PR.

/lgtm

/lgtm

/approve


text:
[no ticket] Fix some handbook ergonomics issues

Purpose
Fix a few issues that make the handbook harder to add to.

Summary of Changes

Enable typescript for the component gallery
Update component-addon blueprint, so component re-exports in osf-components are picked up by the handbook
Add commonly used services to the handbook

Side Effects
n/a

Feature Flags
n/a

QA Notes
n/a

Ticket
n/a
Reviewer Checklist

[ ] meets requirements
[ ] easy to understand
[ ] DRY
[ ] testable and includes test(s)
[ ] changes described in CHANGELOG.md

Pull Request Test Coverage Report for Build 1553

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 65.424%

Totals

Change from base Build 1550:
0.0%

Covered Lines:
3079

Relevant Lines:
4366

💛  - Coveralls

authors: aaxelb coveralls

repo: CenterForOpenScience/ember-osf-web


text:
DAZ: Google Drive Add-on Error

STEPS

Go to a project
Enable Google Drive
Go to the Files tab
Click on the Google Drive folder for the project to highlight it
Ensure that you see the Download as Zip button in the toolbar
Click the Download as Zip button

EXPECTED
The folder would be downloaded as .zip and could be opened to view its contents.
ACTUAL
The file downloads but gives an error when trying to open it.

Link to the trello card: https://trello.com/c/NbdgsXL5/218-daz-google-drive-add-on

@chrisseto and/or @lyndsysimon .... is this related to what you were working on yesterday?  Looks like there are special characters in the filenames.

@wisherp Please make the project public or add me as a contributor and provider a link to it.
@GaryKriebel This may be related to an issue regarding googledocs that we ran into earlier today.

@chrisseto I added you as a contributor. Here's the link : https://osf.io/ts7x6/

@wisherp Thank you very much
This is an issue with how we deal with googledocs which needs to be discussed.

@wisherp This issue should have been fixed around 0.39

@chrisseto still seeing this on production so not sure if it was fixed then, @GaryKriebel

@wisherp I'm not seeing this on the project the you previously linked to, could you add me to the new one?

@chrisseto yes, here's the link: https://osf.io/5crta/

@wisherp Could you link the root folder to "longerfoldername" I think the creatively named docx files might be the cause of this.

@chrisseto sorry, just wanna make sure, what are you referring to when you say "root folder"?

@wisherp The folder that is linked to the project.

@chrisseto cool. Done.

@wisherp Looks like that is the issue, the original issue which had to do with google docs is fixed however.

@chrisseto interesting. I just deleted all of the docx files and tried to download the folder but am still getting the same error...

Whoops, jumped to the wrong conclusion.
You have a google form in one of your folders and it looks like google doesn't expose an easy way to download them. From the google drive interface the only download offered is the responses as csv.
@lbanner @GaryKriebel Thoughts on how to handle that?

https://stackoverflow.com/questions/18508281/how-to-download-google-drive-form-programmatically

@chrisseto -- are we able to exclude the download button for Google Forms as well as stripping it from the zip?

Going with @brianjgeiger's suggestion we are going to exclude google forms from waterbutler metadata listings.

This is fixed as of https://github.com/CenterForOpenScience/waterbutler/releases/tag/0.6.3
@wisherp can you confirm?

@chrisseto Still getting the same error while trying to download google drive folders as zip...

@chrisseto This is working now when the folders don't have .gslides files!

DAZ for Google Drive seems to be working fine now so closing this now.

authors: GaryKriebel chrisseto wisherp


text:
re-enable reordering of components

Steps

Visit a project that you are an admin on that has multiple components that you are also an admin on
In the widget on the right, click on a component and try to drag to re-order it among the others.

Outcome

Re-ordering is not possible

Expected Outcome

Re-ordering had previously been enabled (I've used it on the RPP: https://osf.io/ezcuj/), so I expected to be able to drag and drop to reorder.

** Notes: ** I am not sure that it was only admins who could reorder.
Tagging @caneruguz because it is possible this is a side effect of UI updates.

@GaryKriebel and @jlcohoon I just submitted a quick fix for this.
It was not related to style changes as far as I could tell.

great! thank you!!

authors: caneruguz jlcohoon


text:
[feature fix] Fixed Width Banner Buttons on Dashboard [OSF-7009]

Purpose

Adds .banner CSS class for fixed width, which is applied only to the banner buttons on the dashboard.
Removes .btn class from meetings-and-conferences.css which caused the fixed width to be incorrectly applied to the "Create new project" button.

Ticket

OSF-7009

🎉 🐧 🎉 (When tests pass)

authors: brianjgeiger caseyrollins


text:
Add function to update alignment

Addresses https://github.com/CesiumGS/3d-tiles-tools/issues/134 :
This adds a command updateAlignment that can be applied to B3DM, I3DM, PNTS, and CMPT files, and just ensures that the elignment requirements for the batch- and feature table and the tile data as a whole are met.
I tested it with an old version of the CesiumJS spec data (the one before this commit), and it fixed most of the validation errors from that state. (Adding a spec could make sense, but ... creating the "invalid" data would take most of the time here...). In any case, the README.md still has to be updated.

I added specs based on the "old" CesiumJS specs data (one B3DM, I3DM, PNTS, and CMPT). They all caused validation errors before. The specs are comparing the result of running updateAlignment to the versions that are contained in the golden subdirectory, which no longer cause validation errors.
The README.md has been updated to include the updateAlignment command.
(An aside: One could make a case for adding this "alignment update" as part of the upgrade command. Technically, this would be trivial. But some details might have to be sorted out in terms of the desired configurability (even though the update options are not exposed right now beyond the targetVersion anyhow). Cases where someone wants to fix the alignment of a B3DM without upgrading its glTF 1.0 to 2.0, or someone wants to fix the alignment for B3DM and not for PNTS are unlikely, so it might just be part of the detault targetVersion=1.0 update...)


text:
Verify moon ellipsoid radii

The Ellipsoid.MOON radii are currently all equal, with LUNAR_RADIUS = 1737400.0. The comment for the LUNAR_RADIUS refers to the "Report of the IAU/IAG Working Group on Cartographic Coordinates and Rotational Elements of the Planets and satellites: 2000" (PDF link: https://link.springer.com/content/pdf/10.1007/s10569-007-9072-y.pdf ). This says in Table 5:

Mean radius (km)
Subplanetary equatorial radius (km)
Along orbit equatorial radius (km)
Polar radius (km)

Moon
1737.4 ± 1
Same
Same
Same

The IAU 2015 moon datum also seems to assume the moon to be a sphere, with a fixed radius of 1737400.
In contrast to that, the NASA Moon Fact Sheet lists the radii as

Equatorial radius (km) : 1738.1
Polar radius (km): 1736.0

(Other sources list slightly different and seemingly more precise values, e.g. https://ui.adsabs.harvard.edu/abs/2023AcGG...58..139C/abstract talks about 1,737,576.6 m for the semi-major axis - but ... I don't have a measuring tape at hand, so cannot confirm this - it might, in fact, be 1,737,576.61 m ...)
We should check which are the "right" radii to use for the moon ellipsoid.

We've only seen 1737400.0 used in practice, though I wouldn't be surprised if some study used the ellipsoid.  I read somewhere that the effective difference between using the ellipsoid and sphere is on the order of 2-3 meters which isn't noticeable for most purpose.

Seconding @GatorScott.
Moon as a 1737400m sphere is pretty ubiquitous across lunar datasets and maps. It makes sense to me as the default.

authors: GatorScott javagl malaretv

repo: CesiumGS/cesium


text:
Start of a 3D Tiles / glTF resource cache

This PR adds a reference-counted resource cache for resources shared across different glTFs and 3D Tilesets. To start this includes caching schemas in EXT_feature_metadata and 3DTILES_metadata and caching buffers. There's also a larger ongoing effort to refactor Model.js that will be built on the resource cache and will decouple glTF parsing from model rendering. https://github.com/CesiumGS/cesium/pull/9449 and https://github.com/CesiumGS/cesium/pull/9445 are also built on the resource cache.
This is targeting the 3d-tiles-next branch.

Thanks for the pull request @lilleyse!

:heavy_check_mark: Signed CLA found.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

@ptrgags ready for another look

Looks good, thanks @lilleyse!

authors: cesium-concierge lilleyse ptrgags


text:
Update Docs for supporting Fetch

I tried using the SDK for the first time but ran into the following error:
/home/dev/project/node_modules/@mysten/sui.js/dist/cjs/client/http-transport.js:61
      throw new Error(
            ^

Error: The current environment does not support fetch, you can provide a fetch implementation in the options for SuiHTTPTransport.
    at SuiHTTPTransport.fetch (/home/dev/project/node_modules/@mysten/sui.js/dist/cjs/client/http-transport.js:61:13)
    at SuiHTTPTransport.request (/home/dev/project/node_modules/@mysten/sui.js/dist/cjs/client/http-transport.js:69:28)
    at RpcModule.getObject (/home/dev/project/node_modules/@mysten/sui.js/dist/cjs/client/client.js:198:33)
    at PoolModule.getPool (/home/dev/project/node_modules/@cetusprotocol/cetus-sui-clmm-sdk/dist/index.js:4431:47)
    at retrieveAllPositionsOfPool (file:///home/dev/project/src/utils.js:4:41)
    at file:///home/dev/project/src/utils.js:15:1
    at ModuleJob.run (node:internal/modules/esm/module_job:197:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:337:24)
    at async loadESM (node:internal/process/esm_loader:88:5)

I followed the installation instructions and config correctly.
However the issue appears to be with the mysten sui sdk https://github.com/MystenLabs/sui/tree/main/sdk/typescript
which the cetus sdk uses under the hood.
The problem is that the node-fetch module is being used but somehow it is not imported explicitly.
So the easy fix for me was to import node-fetch in my script before importing the Cetus sdk.
Here are general instructions on what I had to do to fix it:
https://github.com/node-fetch/node-fetch?tab=readme-ov-file#providing-global-access
So I created a file in my project named fetch-polyfill.js
// https://stackoverflow.com/a/73489195
import fetch, {
  Blob,
  blobFrom,
  blobFromSync,
  File,
  fileFrom,
  fileFromSync,
  FormData,
  Headers,
  Request,
  Response,
} from 'node-fetch'

if (!globalThis.fetch) {
  globalThis.fetch = fetch
  globalThis.Headers = Headers
  globalThis.Request = Request
  globalThis.Response = Response
}

And then I adjusted my cetus config to import that file before importing the cetus SDK.
Here is how my cetus configuration file looks like now:
import "./fetch-polyfill.js";
import CetusClmmSDK from '@cetusprotocol/cetus-sui-clmm-sdk';

// TODO move these values out into environment variables
const SDKConfig = {
  clmmConfig: {
    pools_id: '0xf699e7f2276f5c9a75944b37a0c5b5d9ddfd2471bf6242483b03ab2887d198d0',
    global_config_id: '0xdaa46292632c3c4d8f31f23ea0f9b36a28ff3677e9684980e4438403a67a3d8f',
    global_vault_id: '0xce7bceef26d3ad1f6d9b6f13a953f053e6ed3ca77907516481ce99ae8e588f2b',
    admin_cap_id: '0x89c1a321291d15ddae5a086c9abc533dff697fde3d89e0ca836c41af73e36a75',
  },
  cetusConfig: {
    coin_list_id: '0x8cbc11d9e10140db3d230f50b4d30e9b721201c0083615441707ffec1ef77b23',
    launchpad_pools_id: '0x1098fac992eab3a0ab7acf15bb654fc1cf29b5a6142c4ef1058e6c408dd15115',
    clmm_pools_id: '0x15b6a27dd9ae03eb455aba03b39e29aad74abd3757b8e18c0755651b2ae5b71e',
    admin_cap_id: '0x39d78781750e193ce35c45ff32c6c0c3f2941fa3ddaf8595c90c555589ddb113',
    global_config_id: '0x0408fa4e4a4c03cc0de8f23d0c2bbfe8913d178713c9a271ed4080973fe42d8f',
    coin_list_handle: '0x49136005e90e28c4695419ed4194cc240603f1ea8eb84e62275eaff088a71063',
    launchpad_pools_handle: '0x5e194a8efcf653830daf85a85b52e3ae8f65dc39481d54b2382acda25068375c',
    clmm_pools_handle: '0x37f60eb2d9d227949b95da8fea810db3c32d1e1fa8ed87434fc51664f87d83cb',
  },
}

export const mainnet = {
  fullRpcUrl: 'https://sui-mainnet-rpc.allthatnode.com',
  swapCountUrl: 'https://api-sui.cetus.zone/v2/sui/swap/count',
  simulationAccount: {
    address: ''
  },
  cetus_config: {
    package_id: '0x95b8d278b876cae22206131fb9724f701c9444515813042f54f0a426c9a3bc2f',
    published_at: '0x95b8d278b876cae22206131fb9724f701c9444515813042f54f0a426c9a3bc2f',
    config: SDKConfig.cetusConfig,
  },
  clmm_pool: {
    package_id: '0x1eabed72c53feb3805120a081dc15963c204dc8d091542592abaf7a35689b2fb',
    published_at: '0x70968826ad1b4ba895753f634b0aea68d0672908ca1075a2abdf0fc9e0b2fc6a',
    config: {
      ...SDKConfig.clmmConfig,
      partners_id: '0xac30897fa61ab442f6bff518c5923faa1123c94b36bd4558910e9c783adfa204'
    }
  },
  integrate: {
    package_id: '0x996c4d9480708fb8b92aa7acf819fb0497b5ec8e65ba06601cae2fb6db3312c3',
    published_at: '0x6f5e582ede61fe5395b50c4a449ec11479a54d7ff8e0158247adfda60d98970b'
  },
  deepbook: {
    package_id: '0x000000000000000000000000000000000000000000000000000000000000dee9',
    published_at: '0x000000000000000000000000000000000000000000000000000000000000dee9'
  },
  deepbook_endpoint_v2: {
    package_id: '0x0dd416959739e1db3a4c6f9cac7f9e7202678f3b067d6d419e569a124fc35e0e',
    published_at: '0x0dd416959739e1db3a4c6f9cac7f9e7202678f3b067d6d419e569a124fc35e0e'
  },
  aggregatorUrl: 'https://api-sui.cetus.zone/router'
}

export const CetusMainnetSDK = new CetusClmmSDK.CetusClmmSDK(mainnet);

If you would like, I can add this to the documentation.
I will also open an issue on the mysten sdk.

https://github.com/MystenLabs/sui/issues/17790

https://github.com/MystenLabs/sui/issues/17790#issuecomment-2117950756
This error is no longer an issue from node v18 onwards.
If you like, I can add that as a tip in the README.

repo: CetusProtocol/cetus-clmm-sui-sdk


text:
Remove nearly all instances of block_on

Summary of changes
Changes introduced in this pull request:

Calling async code from a sync context is a bad practice and can cause a variety of issues.
Most cases were easy to fix but some can't be updated before we switch entirely to tokio.

Reference issue to close (if applicable)

Closes #1910
Other information and links

Good refactor! Btw have you seen the peer_manager_update test in peer_test.rs test that could be ported too?
Seems to me that this test is never run.

I've created a separate issue for figuring out what to do with peer_test.rs: https://github.com/ChainSafe/forest/issues/1861. I'm not sure if it should be ported or just deleted.

repo: ChainSafe/forest


text:
Add EthGetBlockByHash method

Summary of changes

Changes introduced in this pull request:

Add Filecoin.EthGetBlockByHash RPC method
Fix eth::Hash::to_cid method and add tests

$ ./forest-tool api compare --lotus /ip4/127.0.0.1/tcp/1234/http --forest /ip4/127.0.0.1/tcp/2345/http forest_snapshot_calibnet_2024-05-22_height_1635012.forest.car.zst --filter EthGetBlockByHash
| RPC Method                      | Forest | Lotus |
|---------------------------------|--------|-------|
| Filecoin.EthGetBlockByHash (20) | Valid  | Valid |

Reference issue to close (if applicable)

Closes #4167
Other information and links

Change checklist

[x] I have performed a self-review of my own code,
[x] I have made corresponding changes to the documentation,
[x] I have added tests that prove my fix is effective or that my feature works (if possible),
[x] I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

Thinking about this more, I guess we could just keep all the blocks cached IF this is assumed by the RPC endpoint. After all it's just $epoch number of cache entries that will be pretty small in size. Just move them to a separate namespace and be done with it. The only issue here is we have to rebuild this cache every time.. At the same time I would expect that this would only be true for archival nodes.. It would be nice to clarify what the expectations are in terms of historical data.

I've collected some statistics if we cache all tipsets keys from snapshot head up to Hygge height:

chain
num entries cached
elapsed time
db size

mainnet
1,248,934
63s
~305MiB

calibnet
1,295,321
35s
~239MiB

It should be feasible to compute them if needed (when initing a node that would serve Eth RPC calls) and store them in a separate store.

Looks good! Why specifically Hygge?

Hygge is the start of Ethereum support (through the FEVM actor). Before this height, there was no notion of an Ethereum-like API.
https://github.com/filecoin-project/community/discussions/74?sort=new&ref=zondax.mymidnight.blog#discussioncomment-4313888

Hygge is the start of Ethereum support (through the FEVM actor). Before this height, there was no notion of an Ethereum-like API.

My bad, I misinterpreted the condition you had there. So you're going for the Hygge and up. Looks good to me.
What I suggest you do is introduce another ParityDB namespace for this cache.

@aatifsyed My bad; this still needs to be completed. Putting to draft. I might split the PR into two:

Migration to db version 19 (eth_mappings column)
EthGetBlockByHash method

authors: elmattic ruseinov


text:
Fix remote signing

Motivation
Using remote signer currently does not work. This is because the web3signer URL is different from what lodestar expects.
PS: currently draft PR as the branch still need to be tested on goerli test net.
Description
Update implementation to use correct web3signer endpoints.
Closes #4424
Steps to test or reproduce

Please add an e2e test that run the web3signer docker container and request signatures for all available objects. I would really need to have programmatic certainty that this works before merging.

authors: dadepo dapplion

repo: ChainSafe/lodestar


text:
Use of auth0 when auth0 has been configured with a custom domain throws a Service Not Found error

Hi, I'm using auth0 as the authentication provider for a Chainlit test and note that when I set the OAUTH_AUTH0_DOMAIN to be the custom domain that is defined within Auth0, Chainlit throws a "Service not found" relating to the "audience=https://OAUTH_AUTH0_DOMAIN" query being sent in the authentication request.
A review of the Auth0 site re. custom domains and use of "audience" notes that this is a known issue - see https://auth0.com/docs/troubleshoot/integration-extensibility-issues/troubleshoot-custom-domains for details.
The use of a custom domain in Auth0 would be preferred as this means that users are accessing the auth service at a well-known FQDN (it's a CNAME of the Auth0 defined FQDN).
A possible workaround (as per https://github.com/auth0/node-auth0/issues/292) is noted, with this being to include a second environment variable that uses the auth0 domain for the audience query. This would allow the users still see the Auth0 site as being from the custom domain name, but then have the audience query be processed by the actual Auth0 domain itself.
Is this something that the Chainlit team would look to include to better support Auth0 integration?
Many thanks

Hi, thank you for your report!
Can you go change that line in your local chainlit installation to:
            "audience": f"YOUR_ORIGINAL_DOMAIN/userinfo",

Then restart your chainlit app and try again. If that fixes the issue I will create a PR.
To find your local chainlit installation run pip show chainlit.

Hi, that change has been tested in a lab environment, with the changes in bold made to allow the use of the actual Auth0 authentication domain (it will end in auth0.com).
This new variable should then be added to the local .env file as needed.
class Auth0OAuthProvider(OAuthProvider):
id = "auth0"
env = ["OAUTH_AUTH0_CLIENT_ID", "OAUTH_AUTH0_CLIENT_SECRET", "OAUTH_AUTH0_DOMAIN", "OAUTH_AUTH0_ORIGINAL_DOMAIN"]
def __init__(self):
    self.client_id = os.environ.get("OAUTH_AUTH0_CLIENT_ID")
    self.client_secret = os.environ.get("OAUTH_AUTH0_CLIENT_SECRET")
    # Ensure that the domain does not have a trailing slash
    self.domain = f"https://{os.environ.get('OAUTH_AUTH0_DOMAIN', '').rstrip('/')}"
    **self.original_domain = f"https://{os.environ.get('OAUTH_AUTH0_ORIGINAL_DOMAIN', '').rstrip('/')}"**

    self.authorize_url = f"{self.domain}/authorize"

    self.authorize_params = {
        "response_type": "code",
        "scope": "openid profile email",
        "audience": f"{self.**original_domain**}/userinfo",
    }

async def get_token(self, code: str, url: str):
    payload = {
        "client_id": self.client_id,
        "client_secret": self.client_secret,
        "code": code,
        "grant_type": "authorization_code",
        "redirect_uri": url,
    }
    async with httpx.AsyncClient() as client:
        response = await client.post(
            f"{self.domain}/oauth/token",
            data=payload,
        )
        response.raise_for_status()
        json_content = response.json()
        token = json_content.get("access_token")
        if not token:
            raise HTTPException(
                status_code=400, detail="Failed to get the access token"
            )
        return token

async def get_user_info(self, token: str):
    async with httpx.AsyncClient() as client:
        response = await client.get(
            f"{self.**original_domain**}/userinfo",
            headers={"Authorization": f"Bearer {token}"},
        )
        response.raise_for_status()
        user = response.json()
        app_user = AppUser(
            username=user.get("email"),
            image=user.get("picture", ""),
            provider="auth0",
        )
        return (user, app_user)

Thank you for your report! Will create the PR to add it.

https://github.com/Chainlit/chainlit/pull/541

Available in the latest release 0.7.602

authors: DBairdME willydouhard

repo: Chainlit/chainlit


text:
Vickel: Watch 00201040581277

Vickel requests the watch of the watch_number 00201040581277. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Jeff Schaller in Charcoal HQ

repo: Charcoal-SE/SmokeDetector


text:
Videonauth: Watch techcrazyworld.com

Videonauth requests the watch of the watch_keyword techcrazyworld\.com. See the Metasmoke search here and the Stack Exchange search here.

techcrazyworld\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

!!/approve

Coverage remained the same at 65.732% when pulling 1c08b7bd8501a5316cd2ab41af02f4e57af7a6f0 on auto-blacklist-1527858528.0525064 into 3165c6dff0744abb7915394b29549dfb0c360aa5 on master.

authors: LunarWatcher SmokeDetector coveralls metasmoke


text:
Xnero: Watch vyomoverseas.com

Xnero requests the watch of the watch_keyword vyomoverseas\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

vyomoverseas\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ

authors: SmokeDetector metasmoke


text:
Nick: Watch drnalinjoshi.com

Nick requests the watch of the watch_keyword drnalinjoshi\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

drnalinjoshi\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


text:
Blazer ownership search doesn't work

The help guidance in the search field on the upper left suggests you can type in a user name, but doing that doesn't produce anything useful.
In general, ownership seems to be incorrectly implemented or missing a component. You can find your own searches but the "mastermind" column is empty for queries which are not yours, etc.

Should be fixed with 6f63713f2812138cf42fcef7c938b8f89bb396d5 (pending manual deploy).

authors: ArtOfCode- tripleee

repo: Charcoal-SE/metasmoke


text:
Update openai.ts

💻 变更类型 | Change Type

[ ] feat
[ ] fix
[ ] refactor
[ ] perf
[ ] style
[ ] test
[ ] docs
[ ] ci
[ ] chore
[ ] build

🔀 变更说明 | Description of Change

📝 补充信息 | Additional Information

Summary by CodeRabbit

New Features

Improved handling of token limits in chat requests, ensuring optimal performance based on model configuration.

Bug Fixes

Enhanced error handling for unauthorized access, providing clearer feedback to users when issues arise with usage queries.

这个 应该是之前某个版本的时候，特意这么处理的。暂时不打算打开

authors: YINGXINGHUA lloydzhou

repo: ChatGPTNextWeb/ChatGPT-Next-Web


text:
Filtered messages still show up in /mentions

Describe the bug
Using Filters, despite the fact that a filter properly removes the message from the chat, the message still shows up in your mentions tab if you are mentioned by it.
To reproduce

Add a filter
Add a highlight/mention involving that same filter
Have someone post a message containing said phrase
🥒

Screenshots

Chatterino version
cfcac99ae
Operating system

win10

This can be fixed by using a filter on the mentions tab as well.
(channel.name != "hasanabi" && (message.content contains "felan"))

WAI IMO, a filter belongs to a split in the UI, not a channel


text:
Fixes SplitInput placeholder color

Pull request checklist:

[ ] CHANGELOG.md was updated, if applicable

Description
Fixes #3593
Fixes #3604
Changed the order of setStylesheet and setPalette.
I believe setStylesheet was overriding setPalette's settings therefore placeholder text color was the same as normal text color.
Tested on arch with qt-5.15.3.

Gonna test when i have time :)

Also tested on Arch Linux. LGTM!


text:
Change emotepopup channel view layout to be faster to navigate

Description
Currently, the emotepopup menu layout is a bit slow to navigate. This is especially true with global and channel emote views as they have all the bttv, ffz, 7tv emotes packed in and hence scrolling becomes long. I refactored it to so that it's more distinctive and scrolling is easier. Let me know.
Updated Look

I don't think this is an upgrade in browsability, at least not in every case. It's going to depend on user preference in the end, and I think the search bar + grouping by channel/global emotes is a better choice for most users.

I don't think this is an upgrade in browsability, at least not in every case. It's going to depend on user preference in the end, and I think the search bar + grouping by channel/global emotes is a better choice for most users.

You do have a great point about this. Most users use search bar anyways. I will close this PR now.


text:
SmartMove update

Cisco IPv6 support
SmartConnector: (Python)
Improve detection of sub-layers name duplications
Improve group members list handling
Improve networks with subnet-mask (IPv4 & IPv6)
Added support for Cisco Global rules support as shared sub-policy
Validate max packages number for processing according to sk154435 (Error code : 2000232)

approved

repo: CheckPointSW/SmartMove


text:
从深度>=3的页面cyl_popSelectTabBarChildViewControllerAtIndex: completion:时tabbar显示异常

Base Info for this issue

Version：v1.10.0
Language：Objective-C
iOS System Version：iOS8\9
Prototype（是否是真机）：YES
Issue Type：Bug

1. How to repeat the problem.

使用CYLTabBarController，当从深度>=3的页面cyl_popSelectTabBarChildViewControllerAtIndex: completion:到另一个tabbarController上的ViewControllerA1并调用pushVC到ViewControllerA2，返回ViewControllerA1时tabbar hidden，在ViewControllerA1上做一次pushVC再pop回时，tabbar show；
2. Please help me in this way.

fix bug
3. Here is a Demo.
demo 发送到你的邮箱

4. Here is my Debug log

检查后发现是tabbar的x坐标为-screenWidth，应该是动画机制有问题，跳转后没有把tabbar位置回复，话说tabbar是从左到右显示的，动画样式可以修改吗？动态hidden或从下到上是否更好呢？

暂时没好的方法改过来，可以将最低端的window，改为白色，这样动画的黑边效果不会太明显。

不是黑边问题，是底部导航栏没有显示

再次验证你的demo，发现问题无法复现，怀疑是iOS系统某一个版本的问题，Apple已经修复。

v1.19.1版本修复了该函数引发的各种问题，欢迎更新重试。

authors: ChenYilong anotherNight

repo: ChenYilong/CYLTabBarController


text:
Evm upgrade

Upgraded evm-parachain-template from v0.9.27 to v0.9.30

Will close it and do the upgrade one version at a time like we did with our substrate and polkadot repos @charmitro

@charmitro Will close it and do the upgrade one version at a time like we did with our substrate and polkadot repos.

Sounds good.

repo: CherryNetwork/evm-parachain


text:
AT_LEAST_ONE doesn't include any children.

I created a minimal repro:
https://gist.github.com/joelburget/39199fefa7401ad3ff4f2654c5b58393
Output:
parser.test.ts:
Warning: Warning: No LINE_BREAKS Found.
	This Lexer has been defined to track line and column information,
	But none of the Token Types can be identified as matching a line terminator.
	See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#LINE_BREAKS
	for details.
{
  literal_list: [
    {
      name: "literal_list",
      children: {}
    }
  ]
}
69 |
70 |   return visitor.visit(cst);
71 | }
72 |
73 | test("expr", () => {
74 |   expect(() => parseExpr("1")).not.toThrow();
      ^
error: expect(received).not.toThrow()

Error name: "TypeError"
Error message: "undefined is not an object (evaluating 'ctx.literal_list.map')"

      at /Users/joel/code/del/parser.test.ts:74:2
✗ expr [1.98ms]

As you can see, children: {}. Shouldn't there be children?

Your literal_list rule is invalid:
-this.AT_LEAST_ONE(this.literal);
+this.AT_LEAST_ONE(() => this.SUBRULE(this.literal));

That should resolve the issue.

authors: joelburget msujew

repo: Chevrotain/chevrotain


text:
No water in Jal

There isn't any water in Jal, so swimming can't happen...even for Salmen. I realize this is probably a lack of code, not a bug.

Moved to https://github.com/ChildrenOfUr/cou-issues/issues/35

repo: ChildrenOfUr/coUclient


text:
Dead subscription socket is causing high cpu usage

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
When you terminate a GraphQL Server (terminating tcp sockets) the StrawberryShake Client causes high cpu usage.
Steps to reproduce
When you build a system containing two parts:

HotChocolate Server with subscriptions
Client which consumes the subscription via ".Watch(StrawberryShake.ExecutionStrategy? strategy = null)"

then...

Start the server (wait until the server is ready)
Start the client (subscribe to any subscription)
Closing the server (kills the tcp sockets)

you get a high CPU load caused by strawberry client
What i figured out
StrawberryShake.Transport.WebSockets.WebSocketClient IsClosed State is never true and causing lots of exception an some kind of an endless loop. When you have a look at "ClientWebSocket _socket" variable _socket.State equals WebSocketState.Aborted.
Solution?
I added the following code to get rid of the high cpu usage inside file https://github.com/ChilliCream/hotchocolate/blob/main/src/StrawberryShake/Client/src/Transport.WebSockets/WebSocketClient.cs.
public bool IsClosed => 	_disposed 	|| _socket.CloseStatus.HasValue || _socket.State == WebSocketState.Aborted;
maybe there is a better way to fix this. This was my first attempt.
This issue belongs to version 12 and 11 (maybe below but haven't tried this)
best regards
Product
Strawberry Shake
Version
12.0.1, 11.3.1

do you want to try a pr?

do you want to try a pr?

i created a pr
https://github.com/ChilliCream/hotchocolate/pull/4304

authors: horego michaelstaib

repo: ChilliCream/hotchocolate


text:
Add declaration to process the Privacy manifest file

This was missing to properly complete #18

@mattmassicotte Can you release a new version containing this PR? Thanks

Ugh, yes, I really should have done this right away. Sorry about that!

authors: martindufort mattmassicotte

repo: ChimeHQ/OAuthenticator


text:
force WSI

Good to have this forced for all sessions.

We're there still issues with WSI?

@pastaq Valve's gamescope-session does this, needed for frame limiting on everything but Galileo in my testing. Newer gamescope seems to only force this layer when nested or on Galileo.

authors: BoukeHaarsma23 KyleGospo pastaq

repo: ChimeraOS/gamescope-session


text:
Skipping entering fields

Great package! How do you skip entering a field (e.g., "serving value"). Thanks

i used the normal template to insert the example recipe and I got prompted to insert "serving value". I entered "2", and then I got all other fields empty, seems like the function did not extract the data.
:PROPERTIES:
 :source-url: http://allrecipes.com/recipe/85452/homemade-black-bean-veggie-burgers/
 :servings: 2
 :prep-time:
 :cook-time:
 :ready-in:
 :END:
** Ingredients
** Directions

i used the normal template to insert the example recipe and I got prompted to insert "serving value". I entered "2", and then I got all other fields empty, seems like the function did not extract the data.
:PROPERTIES:
 :source-url: http://allrecipes.com/recipe/85452/homemade-black-bean-veggie-burgers/
 :servings: 2
 :prep-time:
 :cook-time:
 :ready-in:
 :END:
** Ingredients
** Directions

repo: Chobbes/org-chef


text:
400 items - Performance issues - Slow

Describe the bug
With a list of 400 issues I experiement performance issues when working with the single select box when:

Searching for a text
Clicking on an element (takes more than expected to hide the item)

To Reproduce
Go here: https://codepen.io/alvarotrigo/pen/PowgMmw
Search for a text such as "flkjadslkfjaslfjlakjf"
Or just click on any item in the list, you'll notice how it doesn't close as fast as expected.
Screenshots
See a video here:

Desktop (please complete the following information):

OS: latest Mac OS X Catalina 10.15.2
Browser Chrome
Version: lastest Chrome version  79.0

Still an issue in choicesJS @alvarotrigo ..
I wonder weather the root cause the highlight behavior and how to disable it ..

This appears to be something todo with the css/html for the select-select mode. The multi-select works fine.
I actually prefer the multi-select even for single item, so I've hacked that into my own fork. The documentation (and config name) will need some cleanup.

There was an O(N^2) behavior in search, since v11.0.0-rc8 was deployed it looks to be working better.
There is a stall when stopping search, but an that is because it is re-rendering all the choices

authors: Xon abarrak alvarotrigo

repo: Choices-js/Choices


text:
hassio addon

Would be great to have this is an hassio addon.

HomeAssistant already comes with the miflora component. Why would you need plantgateway?
https://www.home-assistant.io/components/miflora/

You're totally right. Plantgateway is about getting the bridge near to the plants if your ha instance is not near enough.
Was a bit to fast with this idea, when I saw the new autodiscovery feature.

repo: ChristianKuehnel/plantgateway


text:
[Enhancement]: To Remove Text-Overlapping

Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Hello, my name is A.A.D.Sailaja. I am a Tech Enthusiastic and i'm looking forward to contribute in open source projects. Here in this project i would like to modify the text that appears on the screen like this as you can see this in the image it is overlapping

Can you please assign me this issue under gssoc'24
Describe the solution you'd like
Solution steps
Select program in which you are contributing
No response
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

I want to work on it .Please assign me

repo: ChromeGaming/Dot-Box


text:
Update README.md

I could also have mentioned that:
System.assert(mySet instanceof Iterable);
fails...

Very interesting find! It actually looks like this is broken for all Iterables (just tried it with a custom implementation)

nvm... it actually does work for custom iterables as expected.

authors: ChuckJonas sjonwilson

repo: ChuckJonas/wtfapex


text:
windows 10 的聚焦失效是不是dism引起的?

系统调整的软件,只用过dism++. 发现spotlight无法使用,选择后锁屏,再登录发现聚焦没有被选择,失效了
我收到一个答案

平时只用dism++清理系统,但不知道是否把聚焦功能清理了?

Dism++有个系统优化规则，叫 关闭Windows 10推广。
这个设置会移除所有Windows 10里面的推广行为。
你应该是启用了这个设置，重新关闭，然后重启Windows 10即可。

谢谢反馈，我检测了规则。确实会这样不显示。看来你确实关闭了锁屏聚焦推广。
暂时可以这样重新打开
打开注册表
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager]
然后创建一个注册表 RotatingLockScreenEnable=1（REG_DWORD）
或者等待我今天发布新的规则库。

ID 649b4432,已经修正规则检测逻辑。请耐心等候推送

HI,规则更新已经推送。请查收

Windows 10 focus failure is not caused by Dism? (rough translation)
Dism++ some optimization problems will disappear (new title)
System adjustment software, only used Dism++. Found spotlight can not be used, select the lock screen, then log in to find that the focus has not been selected, lapsed.
I received an answer (see image).

Dism ++ has a system optimization rules, called the closure of Windows 10 promotion.
This setting will remove all Windows 10 promotion activities.
You should enable this setting, you turn off this optimization, so the system will re-display the promotion. This setting may need to restart Windows 10 to work.

As you said, I went to find the next, only to find a promotion to close a store, and shut down, restart the computer, and then open the DISM, found that this option is gone. God, this option disappeared. (see image)

Thanks for the feedback, I checked the rules. This does not show up. It seems that you did close the lock screen focused promotion.
Temporarily can be reopened this way:

Open the registry key
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager]
Then create a registry value: RotatingLockScreenEnable = 1 (REG_DWORD)

Or wait for me to release a new rule base today.

authors: masktao mingkuang-Chuyu verdy-p

repo: Chuyu-Team/Dism-Multi-language


text:
RS59: El llamado consecutivo a jedit desde Terasology no debe abrirlo más de una vez

Requisito de Software:
Patricio Huepe, Gonzalo Mondaca
Llamadas reiteradas al método para abrir Jedit no debe abrir una nueva ventana de éste si ya está abierta
Considerar trabajar junto al grupo de Jedit para manejar esto

Working

Depende de la versión de jEdit y de la configuración de este. Es parte del usuario configurar el funcionamiento de jEdit.

repo: Ciclop/Terasology


text:
Error while using add-safari-permissions in xcode 14.3 environment

Orb version: 2.3.5
What happened:
When using the add-safari-permissions job from this orb in xcode 14.3 environment (and macos.x86.medium.gen2 resource class) the following error appears

207:287: execution error: System Events got an error: Can’t get menu item "Preferences…" of menu 1 of menu bar item "Safari" of menu bar 1 of process "Safari". (-1728)

Expected behavior:
Safari permissions are enabled
Additional Information:
This works with xcode 14.2 and medium resource class.
Example workflow.
Thank you

The menu item isn't named Preferences anymore, but Settings. Changing this in the script makes it work as expected.

@herschel666 can you create a PR to solve the issue? 🙂

@BytesGuy When will v2.3.6 be available in the registry? Latest public version there is v2.3.4.

It works, thank you 🙏

authors: BytesGuy herschel666 jRichardeau jeremiewtd

repo: CircleCI-Public/macos-orb