text:
Update readme.md

2/10/22:  Updated documentation to be more complete.

Excellent!
Thanks for the quick turnaround.
Have a great weekend all!
Michael Weiss
Sales Engineer
Delinea (Formerly Thycotic)
https://delinea.com/https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdelinea.com%2F&data=04|01|Michael.Weiss%40delinea.com|295419818b0d41e07c1d08d9f08e539a|18d6ed03f0e5486183d2bb7b6c7c2bb2|0|0|637805316362932629|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=%2F6%2FiN4ACsmbqBL2TSgGGhNZUqgdyNmyiIf0ayE02dcg%3D&reserved=0
office: +1 202 930 7338
@.***
From: tylerezimmerman @.>
Sent: Friday, April 15, 2022 11:02 AM
To: thycotic-ps/secretserver @.>
Cc: mlweissthycocent @.>; Author @.>
Subject: Re: [thycotic-ps/secretserver] Update readme.md (PR #6)
Merged #6 into main. -Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: <thycotic-ps/secretserver/pull/6/issue_event
External @.@.>)
Report This Emailhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprotection.inkyphishfence.com%2Freport%3Fid%3DZGVsaW5lYS9taWNoYWVsLndlaXNzQGRlbGluZWEuY29tL2YyYjEyN2ExNzRkYWFjNjFlZDU1YzZiZGVjMjg3MDFhLzE2NTAwMzQ5MDUuMzI%3D%23key%3D0630858c7a72677be1329f75c3e1d8a4&data=05|01|Michael.Weiss%40delinea.com|b834b17e7bc943a5365f08da1ef0dc7a|18d6ed03f0e5486183d2bb7b6c7c2bb2|0|0|637856317101440609|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=TT6OHjS6wSuzCR7kNjtvm2AVvm5XFHGX2fPHKR4n%2FNY%3D&reserved=0  FAQhttps://www.inky.com/banner-faq  Protection by INKYhttps://www.inky.com/protection-by-inky
Merged #6https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fthycotic-ps%2Fsecretserver%2Fpull%2F6&data=05|01|Michael.Weiss%40delinea.com|b834b17e7bc943a5365f08da1ef0dc7a|18d6ed03f0e5486183d2bb7b6c7c2bb2|0|0|637856317101440609|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=gQDChGwImIAwjuxSxpk9fXjLDkQyePqisxTaTytLZG0%3D&reserved=0 into main.

Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fthycotic-ps%2Fsecretserver%2Fpull%2F6%23event-6440835577&data=05|01|Michael.Weiss%40delinea.com|b834b17e7bc943a5365f08da1ef0dc7a|18d6ed03f0e5486183d2bb7b6c7c2bb2|0|0|637856317101596845|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=u9xT5S28god0okoht7NmXlTqEr%2BE4FDQQqHop0OwPGE%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAUBVEOUPH355M7RTZXACKLLVFGAFDANCNFSM5OBB75CQ&data=05|01|Michael.Weiss%40delinea.com|b834b17e7bc943a5365f08da1ef0dc7a|18d6ed03f0e5486183d2bb7b6c7c2bb2|0|0|637856317101596845|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=oIUpd8J0glrRLPcVIMAX0cbFWZSdFPArhrfWXh74VxY%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.@.>>

repo: thycotic-ps/secretserver


text:
add as second parameter in the global websocket protocols

as in this mozilla documentation we have the possibility to use protocols as a way to update the header (example: giving the possibility to pass an auth token).
We can access WebSocket-specific headers to pass a custom header

I went straight to master I will create a feature

source: gharchive/pull-request

repo: tiaanduplessis/react-native-websocket

license: MIT

license_type: permissive

license_source: github-api


text:
docs broken when app served from sub path

The docs are currently broken and I was so far unable to fix it using the docs at: https://fastapi.tiangolo.com/tutorial/application-configuration/
Is this a known issue or am I doing something wrong?

Does the basic tutorial work for you?
Try first with the basic one, as is. From the main page.
A main.py with:
from fastapi import FastAPI

app = FastAPI()

@app.get("/")
def read_root():
    return {"Hello": "World"}

@app.get("/items/{item_id}")
def read_item(item_id: int, q: str = None):
    return {"item_id": item_id, "q": q}

Then:
uvicorn main:app --debug

And then: http://127.0.0.1:8000/docs
Does that work?

Thanks for you reply. The above does work.
I have tested locally with caddy server to mimic what we have in prod.
localhost:8080
proxy /api 127.0.0.1:8000 {
	without /api
}

The problem seems to be that in prod the api sits behind an Ngingx reverse proxy. That is the path on the frontend does not match the path on the backend.

This should be fixed (fixable) with the new openapi_prefix parameter, check the new docs to run FastAPI behind a proxy: https://fastapi.tiangolo.com/tutorial/sub-applications-proxy/

openapi_prefix does indeed fix the issue. And thank you for the documentation.

Awesome! Thanks for reporting back.

This should be fixed (fixable) with the new openapi_prefix parameter, check the new docs to run FastAPI behind a proxy: https://fastapi.tiangolo.com/tutorial/sub-applications-proxy/

The new link is https://fastapi.tiangolo.com/advanced/sub-applications-proxy. This helped me, thanks.

source: gharchive/issue

authors: medecau scratchmex tiangolo

repo: tiangolo/fastapi


text:
TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first

Hi Thank for sharing your great task.
I'm trying to training with single GPU.
If I set batch size > 1, always cuda out of memory issues are occur, so I set the batch size = 1
2021-06-03 16:12:13,039   INFO  Start training home/kimsuyeon/a/CenterPoint-KITTI/tools/cfgs/kitti_models/centerpoint_rcnn(default)
epochs:   0%|                                                                 | 0/80 [00:01<?, ?it/s]
Traceback (most recent call last):                                          | 0/3712 [00:00<?, ?it/s]
File "train.py", line 198, in
main()
File "train.py", line 153, in main
train_model(
File "/home/kimsuyeon/a/CenterPoint-KITTI/tools/train_utils/train_utils.py", line 86, in train_model
accumulated_iter = train_one_epoch(
File "/home/kimsuyeon/a/CenterPoint-KITTI/tools/train_utils/train_utils.py", line 38, in train_one_epoch
loss, tb_dict, disp_dict = model_func(model, batch)
File "/home/kimsuyeon/a/CenterPoint-KITTI/pcdet/models/init.py", line 30, in model_func
ret_dict, tb_dict, disp_dict = model(batch_dict)
File "/home/kimsuyeon/a/lib/python3.8/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/kimsuyeon/a/CenterPoint-KITTI/pcdet/models/detectors/centerpoint_rcnn.py", line 11, in forward
batch_dict = cur_module(batch_dict)
File "/home/kimsuyeon/a/lib/python3.8/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/kimsuyeon/a/CenterPoint-KITTI/pcdet/models/dense_heads/centerpoint_head_single.py", line 77, in forward
targets_dict = self.assign_targets(
File "/home/kimsuyeon/a/CenterPoint-KITTI/pcdet/models/dense_heads/centerpoint_head_single.py", line 142, in assign_targets
heatmaps = np.array(heatmaps).transpose(1, 0).tolist()
File "/home/kimsuyeon/a/lib/python3.8/site-packages/torch/tensor.py", line 621, in array
return self.numpy()
TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.
And I got this problem. Do you have any idea?

there its a solution in that link https://github.com/open-mmlab/mmdetection3d/issues/588#issuecomment-849395413

Hi, Thank you for your help. It solved.
But still have a cuda out of memory issue (even if set the batch size to 1).
I'm using laptop and RTX3070 8gb.
Is it not enough to train this network?

It should be enough. Though I don't have 30 series gpu so I am not able to test or debug this.

Thank you for your quick response.
Do you have any idea to solve this issue? Besides adjusting the batch size.

I don't know.

But still have a cuda out of memory issue (even if set the batch size to 1).

This sounds too weird. Can you try other non centerpoint config and see if they work ?

Oh! Train works well when using other config besides CenterPoint(Pointpillars, Pointrcnn. etc.).
Could there be a problem with CenterPoint's config?

It could be. I will take a look at the code at the weekend

Oh! Train works well when using other config besides CenterPoint(Pointpillars, Pointrcnn. etc.).
Could there be a problem with CenterPoint's config?

Could you try another voxelnet related config (e.g. second, pvrcnn)? it could be an issue with spconv on 30 series gpu

pvrcnn is also not working but second is working with batch size = 1

I see. It doesn't seem a bug then and it is mainly just a memory issue. CenterPoint will consume more than SECOND as we use stride 4 feature map (second uses stride 8). If you can only use batch size =1 for second then it may out of memory for centerpoint

File "/home/kimsuyeon/a/lib/python3.8/site-packages/torch/tensor.py", line 621, in array
return self.numpy()
I think you can add ".cpu" in tensor.py at line 621. like this "self.cup().numpy", I met the same error with yours, and it worked.

authors: tianweiy tndus5497 wanghangege

repo: tianweiy/CenterPoint-KITTI


text:
Revert Node.js update

See https://github.com/tibdex/github-app-token/pull/81#issuecomment-1701581938. I need more time to assess this change. Projects willing to use Node.js 20 can use 1.8.1.

You could consider releasing this as a breaking change?

I'm adding it back in #83, see https://github.com/tibdex/github-app-token/pull/81#issuecomment-1712289748.

authors: freshollie tibdex

repo: tibdex/github-app-token


text:
🛑 TICKETS.COM.NI is down

In d2d70ed, TICKETS.COM.NI (https://tickets.com.ni) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TICKETS.COM.NI is back up in ee1e0d3 after 59 minutes.

repo: tickets/upptime


text:
Introduce Netatmo app

The Netatmo app renders your main indoor module and (currently) one outdoor module if detected. The app is an all text display with arrows displaying the temperature and pressure trends. Future plans are to support anemometer and rain gauge

I have read the CLA Document and I hereby sign the CLA

Recheck

Thanks for the contribution! Just resolved a merge conflict, will get this tested and landed soon.

authors: danmcclain rohansingh

repo: tidbyt/community


text:
Offset the message to make reading a little easier.

Description
Offset the second message by the width of the first to make reading easier.
Copilot

🤖 Generated by Copilot at 504986d
Summary
📝🎨🚸

Update babysteps app to enhance text display and clarity. Adjust one step name and use offsets in draw_text.

We're on the path of doom, no turning back
We follow the babysteps to the final attack
We change the words of fate, we tweak the layout
We add the offset params to draw_text, we shout

Walkthrough

Shortened the name of the fourth baby step to "Retirement Investments" (link)

UGH, typo in my username


text:
Introduce configuration option for 24h time format

Introduced a new configuration option, so the user may select the time format to be used:

AM/PM
24h

Default is AM/PM, as before

I have read the CLA Document and I hereby sign the CLA


text:
群友pending关于工作速度打分的建议

任务管理
任务特征

DDL

日期型数据
可为空

任务量化与进度化

总量+已完成量+进度（+速度效率分析+综合推荐任务）
浮点数据
可为空

先导任务

形成任务逻辑图与可调整性（意义之塔）
标签
可为根任务

任务时间统计记录

可用于番茄钟
热力图或扇形柱形图

任务状态

正在进行/由于难点或缺乏先导进行搁置/未在进行
一次性时间点任务/多次性的时间段任务
有计划的定量任务/有空就做的任务（设置周期重复）
锚定时刻任务：是/否（比如会议就是必须锚定某天某时进行）

重要程度（优先级）量化

人工打分百分制

筛选分配今日任务

第一梯队：DDL危险任务

①根据计算工作速度而列出：完成量/（今天日期-开始日期）= 工作效率v，如果v•（DDL-今天日期）<  剩余量，则列出
②将临近DDL特定天数的任务列出
③将有DDL且计算可能完不成的任务（根据速度）

第二梯队：逻辑+优先级

将无DDL之忧的任务排序
排序原则①逻辑与先导，根据意义之塔，子任务要在父任务之前
排序原则②重要程度：根据用户自己设定的重要程度打分排序

番茄钟

番茄钟：（学习+整理笔记）—— 间隔复习（钓鱼） —— 休息
渐进学习式完成任务，随时跳转，保持高效

今天我看了一下tmo，这是一整套体系，但我在想我们是不是可以精简一些？有些平时用不到。

而且绝大部分都是字符串要手动填写输入的，这就不如用那个多行字段的插件输入来得快，因为上面还有一排按钮可以使用。

还好分为 trait tag 和 supertag ，那可以把不常用的分出去变成另一个 trait tag，留待有缘人使用，然后todo supertag 只用常用字段的 trait tag

https://github.com/tiddly-gittly/intention-tower-knowledge-graph/issues/10#issue-1718531662
这个我也仔细看了一下。因为我们经常会把一个大的任务拆分成多个小任务，所以筛选分配任务应该没什么要做的。如果说要做的话，就是按时间排序，但问题是排序的话，里面有好几个时间，比如预定开始时间，实际开始时间，预定结束时间，实际结束时间，截止时间等。这就还比较麻烦。这个东西应该还是放到排序那边去处理比较好。
至于说的显示进度，这个要做也可以做，但我总觉得没必要。因为子任务的状态一眼就看得到，有完成的和未完成的，没必要搞个数值来提示。
日期型数据也能更好地选择输入了。要改进其实也可以，但总担心做出来的很满足大部分人的需求。

不是显示进度，是估算工作速度

https://github.com/tiddly-gittly/intention-tower-knowledge-graph/issues/10#issue-1718531662
他的意思大概是搞一个这样的图表吧。可这不还是进度吗？
如果要估算任务完成速度的话，那就需要记录一个完成时间的值。好吧，这个想起来太复杂，还是先放一边吧。

是的，不过 tmo 里应该有记录开始完成时间的字段吧，就是都得用起来才能智能

而且这个估计也不准，因为任务之间差别太大了

而且这个估计也不准，因为任务之间差别太大了

所以我才会觉得进度没必要，只要列出还没有完成的任务，选择一项任务去完成就好了。

authors: dongrentianyu linonetwo


text:
INTERSECTS is wrong when one MultiPolygon completely fits into other Polygon's holes

$ ./tile38-cli flushdb

$ ./tile38-cli set mykey poly14 object '{"type":"Polygon","coordinates":[[[-122.44154334068298,37.73179457567642],[-122.43935465812682,37.73179457567642],[-122.43935465812682,37.7343740514423],[-122.44154334068298,37.7343740514423],[-122.44154334068298,37.73179457567642]],[[-122.44104981422423,37.73286371140448],[-122.44104981422423,37.73424677678513],[-122.43990182876587,37.73424677678513],[-122.43990182876587,37.73286371140448],[-122.44104981422423,37.73286371140448]],[[-122.44109272956847,37.731870943026074],[-122.43976235389708,37.731870943026074],[-122.43976235389708,37.7326855231885],[-122.44109272956847,37.7326855231885],[-122.44109272956847,37.731870943026074]]]}'
{"ok":true,"elapsed":"74.201µs"}

$ ./tile38-cli intersects mykey ids object '{"type":"MultiPolygon","coordinates":[[[[-122.4408378,37.7341129],[-122.4408378,37.733],[-122.44,37.733],[-122.44,37.7341129],[-122.4408378,37.7341129]]],[[[-122.44091033935547,37.731981251280985],[-122.43994474411011,37.731981251280985],[-122.43994474411011,37.73254976045042],[-122.44091033935547,37.73254976045042],[-122.44091033935547,37.731981251280985]]]]}'
{"ok":true,"ids":["poly14"],"count":1,"cursor":0,"elapsed":"100.921µs"}

In fact, the stored polygon poly14 has two holes, into which the test area fits completely. So there's no intersection: no point belonging to poly14 belongs to the test area and vice versa.

Just to assist debugging:  the opposite test, with storing MultiPolygon and then testing agains Polygon-with-holes correctly returns no intersections:
$ ./tile38-cli flushdb

$ ./tile38-cli set mykey multipoly5 object '{"type":"MultiPolygon","coordinates":[[[[-122.4408378,37.7341129],[-122.4408378,37.733],[-122.44,37.733],[-122.44,37.7341129],[-122.4408378,37.7341129]]],[[[-122.44091033935547,37.731981251280985],[-122.43994474411011,37.731981251280985],[-122.43994474411011,37.73254976045042],[-122.44091033935547,37.73254976045042],[-122.44091033935547,37.731981251280985]]]]}'
{"ok":true,"elapsed":"107.612µs"}

$ ./tile38-cli intersects mykey ids object '{"type":"Polygon","coordinates":[[[-122.44154334068298,37.73179457567642],[-122.43935465812682,37.73179457567642],[-122.43935465812682,37.7343740514423],[-122.44154334068298,37.7343740514423],[-122.44154334068298,37.73179457567642]],[[-122.44104981422423,37.73286371140448],[-122.44104981422423,37.73424677678513],[-122.43990182876587,37.73424677678513],[-122.43990182876587,37.73286371140448],[-122.44104981422423,37.73286371140448]],[[-122.44109272956847,37.731870943026074],[-122.43976235389708,37.731870943026074],[-122.43976235389708,37.7326855231885],[-122.44109272956847,37.7326855231885],[-122.44109272956847,37.731870943026074]]]}'
{"ok":true,"ids":[],"count":0,"cursor":0,"elapsed":"59.338µs"}

Here's the view of both objects:
https://gist.github.com/rshura/3ba7742be3380d1fe223ef0462411e6a

The fix is in place. Thanks for reporting.

authors: rshura tidwall

license: mit

license_source: bigquery


text:
feat(object_lanelet_filter, vector_map_inside_area_filter): cherry-pick unknown removal feature from awf

Description

AWFに追加済みのUnknownの除去ロジックの一部をcherry-pickします。
これが入ることでロータリのカーブの縁石Unknownが正しく除去できるようになります。
追加される機能一覧

object_lanelet_filter:

Lane外の点群のみで構成されたUnknownがLanelet Filterで弾けない問題を解決

vector_map_inside_area_filter:

mapに設定した領域内の点群を除去するフィルタにて高さを考慮できるように変更（非低層点群を誤って消さないようにする）
このPR単体では全体としては不使用

関連するPR

autoware_launcherの変更：https://github.com/tier4/autoware_launch.x2/pull/672
X2限定の変更（vector_map_inside_area_filter）の実装 : https://github.com/tier4/autoware.universe/pull/1330

Related links

Universe PR

https://github.com/autowarefoundation/autoware.universe/pull/7107
https://github.com/autowarefoundation/autoware.universe/pull/7186
https://github.com/autowarefoundation/autoware.universe/pull/7300

Tests performed

Notes for reviewers

Interface changes

ROS Topic Changes

ROS Parameter Changes

Effects on system behavior

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@YoshiRi Cherry-pick したAWFのPRをもDescriptionとかに記入していただけますか？

cherry-pick元をRelated Linksに貼っておきました。これらのPRは全てAWFからのImportなのでversionが追いつけば自動で取り込まれます。

authors: YoshiRi badai-nguyen


text:
fix(map_tf_generator): modify build error in rolling (#778)

Description
https://github.com/autowarefoundation/autoware.universe/pull/778 のbackport
Related Links
https://tier4.atlassian.net/browse/AEAP-488
Tests performed

map_tf_generatorがビルドできること
Effects on system behavior

Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Codecov Report

:exclamation: No coverage uploaded for pull request base (beta/v0.3.16@36358a2). Click here to learn what that means.
Patch has no changes to coverable lines.

: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               @@
##             beta/v0.3.16    #457   +/-   ##
==============================================
  Coverage                ?   0.00%
==============================================
  Files                   ?       1
  Lines                   ?      35
  Branches                ?       0
==============================================
  Hits                    ?       0
  Misses                  ?      35
  Partials                ?       0

Flag
Coverage Δ

differential
0.00% <0.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 h-ohta


text:
Put create and update into function so it can be retried

Description

For PR author

[ ] Tests for change.
[ ] If changing pkg/apis/, run make gen-files
[ ] If changing versions, run make gen-versions

For PR reviewers
A note for code reviewers - all pull requests must have the following:

[ ] Milestone set according to targeted release.
[ ] Appropriate labels:

kind/bug if this is a bugfix.
kind/enhancement if this is a a new feature.
enterprise if this PR applies to Calico Enterprise only.

@tmjd what's the motivation for this one? Could use a PR description

authors: caseydavenport tmjd

repo: tigera/operator


text:
As a user I should be notified that inbox syncing is complete

we've finished syncing your inbox

@annastoilova Is the the UX we actually want? If so, can we get this story filled out. If not, let's close it.

#287 needs to implement this state

The UI should inform the number of fetched emails and the number of processed emails.

Send a local push notification once complete.

maybe include the total number of emails for a wow factor.

authors: annastoilova mike-audi ricardobrg

repo: tiki/app


text:
Remove any identifiable data from e-mail sent error

As a developer I should not send any identifiable errors to sentry. Remove any possible identifiable data from error logs
Acceptance criteria:
1 - Sentry doesn't receive the destination e-mail on unsubscribe error.

BEFORE - destination email in logs

AFTER - just error details in logs


text:
support resolve lock and add unit-test

Signed-off-by: Han Fei hanfei19910905@gmail.com

./rebuild

repo: tikv/client-c


text:
RFC: Key Visualizer: The visualized hotspot profiler

Summary
Add an enabled-by-default KeyVisualizer component to PD, providing a visual webpage to show key heatmap of the TiKV cluster, which is useful for troubleshooting and reasoning inefficient application usage patterns. KeyVisualizer is accessible in-browser via the URL from PD.
Motivation
At present, if someone wants to troubleshoot a performance issue in TiKV, he will usually make use of some existing diagnostic tools, such as pd-ctl, Prometheus and Grafana, which are hard to learn, intuitive, not efficient, unable to recognize the pattern of application and hard to make correct judgment basing on them.
Google BigTable has similar problems. So they provided a heatmap profiler called BigTable KeyVisualizer (Video), which is recommended that the user first use to troubleshoot performance problems. After investigation, we realized that it has
good features that also suits TiKV, thus we added some of those features to our design.
Rendered
Rendered (zh-CN)

Resubmit in #42

authors: HunDunDM andylokandy

repo: tikv/rfcs


text:
Remove VerKV deadcode

Feature Request
This is proposing to revert the versioned kv RFC and the already implemented codes. This feature has not been pushed forward since April 2020, and after deeper consideration, I think it can not achieve the goals described in the RFC. Further, coprocessor plugin, a better solution to the problems verkv trying to solve is working on master.
To remove the code, we may revert these PRs:

https://github.com/tikv/tikv/pull/7607
https://github.com/tikv/tikv/pull/7449
https://github.com/pingcap/kvproto/pull/591

cc @BusyJay @zhangjinpeng1987 @Connor1996 @overvenus

/cc @fredchenbj what do you think? Are they still in use?

There's a pattern matching in here that causes an error if the changes are reverted because we are iterating over enums provided by kvproto.
Do you want to handle it here (adding unimplemented or wrapper enum that maps A => A') or by removing those enums over there?

@hbina where is the code you mentioned?

This one https://github.com/tikv/tikv/blob/master/src/server/service/kv.rs#L1161

I've noticed that a lot of components are using kvproto. I assume they all have to be the same version. Shouldn't there be a kvproto component that simply reexports the same version? This way its easier to test it because you only need to change this one place instead of coordinating everything.

ASICS, I think the pattern match you mentions will not be a problem since the VerKV interface is never used. And for your concern on kvproto, I don't really mean to git revert it but to manually remove the item those PRs added.

@fredchenbj What do you think?

@BusyJay So... Let's move on?

authors: BusyJay andylokandy hbina

repo: tikv/tikv


text:
[Release 5.1 hotfix] copr: avoid panic when response is large

What is changed and how it works?

Issue Number: ref #9012

What's Changed:
Return an error instead of panicking when gRPC response size is too large

Related changes

[ ] PR to update pingcap/docs/pingcap/docs-cn:
[ ] Need to cherry-pick to the release branch

Check List
Tests

[ ] Unit test
[ ] Integration test
[x] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Release note

None

/run-build

@ekexium Need comments /run-build to trigger ci idc-jenkins-ci-tikv/build

/run-build

/merge

authors: ekexium purelind you06


text:
raftstore: learners should be considered when check progresses before merge

Signed-off-by: qupeng qupeng@pingcap.com
What have you changed? (mandatory)
Fix a bug about merge with learner, which is when we check the log gap in all replications, learners should also be considered, otherwise learners could panic.
close #4551 .
What are the type of the changes? (mandatory)
Bug fix.
How has this PR been tested? (mandatory)
Unit tests.

Please cherry-pick to release-2.1


text:
[DNM] Zero Alloc Zero Copy Key Infra [Part 1]

What have you changed?
This PR provides a new key implementation that enables zero allocation and zero copy for higher levels, by exposing the concept of "Physical" key and "Logical" key.
What is the type of the changes?

Engineering (engineering change which doesn't change any feature or fix any issue)

/run-all-tests

/bench +tpcc +sysbench +tpch

/bench +tpcc +sysbench +tpch

/bench +tpcc +sysbench +tpch


text:
Copr: Vectorize LogicalXor

PCP #5751
Signed-off-by: koushiro koushiro.cqx@gmail.com
What have you changed?
Vectorize LogicalXor
What is the type of the changes?

Improvement (a change which is an improvement to an existing feature)

How is the PR tested?

Unit test

Does this PR affect documentation (docs) or should it be mentioned in the release notes?
No
Does this PR affect tidb-ansible?
No

/run-all-tests

/run-all-tests

/run-all-tests

/merge

/merge

/merge

/test

authors: breeswish koushiro lonng


text:
WIP: Enable parallelBabel

While this does seem to parallelize as expected, it makes app builds way slower:
Before this commit:
Babel: ember-this-fallback (3)                                            | 1175ms (391 ms)

After:
Babel: ember-this-fallback (3)                                            | 47550ms (15850 ms)

These log lines:

Babel: ember-this-fallback (3)                                            | 1175ms (391 ms)

are telling you how long it took to transpile the ember-this-fallback addon's own runtime javascript code. Probably that is not very relevant, you really want to know how long it takes the addon to transpile the app's code, because there's generally a lot more app code.
(Also I don't necessarily believe these self-reported numbers are apples-to-apples with parallelism turning on and off. I'd look at the impact on the total build.)
I would guess that you really only want to run the ast transform on the app's code, not on the addon's own code, in which case you can say so explicitly:
setupPreprocessorRegistry: function (type, registry) {
+ if (type === 'parent') {
  registry.add('htmlbars-ast-plugin', this._buildPlugin());
+ }
},

Are we talking about performance differences under a classic build or under embroider? Under embroider, the above difference might have a measurable impact because it's changing your addon from one that needs custom transforms to one that does not, which skips an entire babel pass of the addon's code.

repo: tildeio/ember-this-fallback


text:
Customize camera image cell with xib

I want to customize the camera image cell with xib.
I want you to add a setting that allows you to paste xib that you made in the camera cell part
I'd like to customize it like LINE app
https://video.twimg.com/ext_tw_video/920328582341079040/pu/vid/720x1280/95BpKP3xqc2YNvsT.mp4

@testfooyy
used custom camera cell
see the example
https://github.com/tilltue/TLPhotoPicker/blob/master/Example/TLPhotoPicker/CustomCameraCell.swift

authors: testfooyy tilltue

repo: tilltue/TLPhotoPicker


text:
Your project's baseUrl can only be set to src or node_modules. Create React App does not support other values at this time.

I opened this issue here but I'm not 100% sure if it's this library causing it. It only happens when I upgrade react-app-rewired.
The current versions I have are:
"react-app-rewired": "2.1.6",
"react": "16.13.1"

When I try to generate a build, I get the following output:
Error: Your project's `baseUrl` can only be set to `src` or `node_modules`. Create React App does not support other values at this time.
    at getAdditionalModulePaths (get-ui/node_modules/react-scripts/config/modules.js:59:9)
    at getModules (get-ui/node_modules/react-scripts/config/modules.js:139:33)
    at Object.<anonymous> (get-ui/node_modules/react-scripts/config/modules.js:149:18)
    at Module._compile (internal/modules/cjs/loader.js:955:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
    at Module.load (internal/modules/cjs/loader.js:811:32)
    at Function.Module._load (internal/modules/cjs/loader.js:723:14)
    at Module.require (internal/modules/cjs/loader.js:848:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (get-ui/node_modules/react-scripts/config/webpack.config.js:30:17)

However, if I use react-app-rewired v2.1.5 it works fine.
I actually have a baseUrl inside the tsconfig.json file:
{
...
"baseUrl": "src",
...
}

I would really appreciate if you could help me to solve this issue. Thank you! 👍

This is built into react-scripts. It comes from here.
However, src is supposed to be one of the permitted values. Can you test changing it to:
{
  "baseUrl": "./src",
}

and see if that works?
If not, I suspect that there may be an issue in determining the app path properly. To work out what the paths are that react-scripts is working with when it checks if baseUrl is valid, make the following change to config-overrides.js (simply for logging):
module.exports = {
  webpack: (config, env) => {
    // ...this is the normal function that is exported from config-overrides.
    return config;
  },
  paths: (paths, env) => {
    console.log(JSON.stringify(paths));
    return paths;
  }
}

Let me know how you go. If the adjustment to the baseUrl definition did not fix it, please post the console.log for the paths (only need the project root path and below - please obscure everything before the project root directory).

@dawnmist Seems that adding the following in the tsconfig.json works! 🎉
{
  "baseUrl": "./src",
}

Thank you very much for your help!

repo: timarney/react-app-rewired


text:
set_temps can only max cool

I am trying to use the set_temps method, but it seems like it can only activate max cool and is ignoring the parameters.
Can anyone confirm or disprove this?

Are you using temperatures in celsius?

Yes, tried lots of different values. It is supposed to be an int or double right?

Tried http://docs.timdorr.apiary.io/#reference/vehicle-commands/set-temperature/set-temperature?console=1 as well...

I have been testing a bit more... Can only set it to max cool... I think some parameters might have changed...

Ok this lib is working - this http://docs.timdorr.apiary.io/#reference/vehicle-commands/set-temperature/set-temperature?console=1 doc it outdated :-)

Yeah, that's not exactly clear. It should be more readable now.

Working on n app: I know this is closed but facing similar issue and can't see what I am missing. When I post temperature it always just defaults to low. My gui data shows Fahrenheit but it always returns celsius.  When I adjust temp in my app it resets to LO on the car.

Regardless of UI settings the temp API works in C.

By the way, that's C as in "celsius", not the programming language 😉

Hah, yes it is. 👍 Thanks for clarifying.

So I need to convert back to Celsius when sending back to car I assume. I’ll play around some more. Thanks

Ugh still stuck on this. Here is what I am passing and it always just sets the temps to LO
https://owner-api.teslamotors.com/api/1/vehicles/vehicle_id/command/set_temps?driver_temp=driver_temp&passenger_temp=passenger_temp
where vehicle_id is my vehicle_id
where driver_temp ( i tried 26 and 26.0) just hard codes while debugging
where passenger_temp ( i tried 26 and 26.0) just hard codes while debugging
passing in my token in the header and null to the body.
If it matters I am using the Ionic framework

@bharned3 I'm having the same issue.

If someone has the same problem, send the same parameters but in the body. i.e:
{"driver_temp": "22.8", "passenger_temp": "23.1"}

Same problem for me, even if I put the parameters in the body.
Why is this issue closed?

confirming @dacastro4 , we found out, that these params must be in the body, then it works.

In my case I also had to make sure I was explicitly setting the Content-Type header to application/json — it didn't work until I did that, even though I was putting it in the body of the POST request.

Can't get it to work either. As specified in the doc, it sets to MIN. As mentioned here, nothing happens. Here's my code:
    function climateSet(vehicle, notify, temperature) {
        var driver_temp = temperature;
        var url = "https://owner-api.teslamotors.com/api/1/vehicles/" + vehicle.toString() + "/command/set_temps?driver_temp=" + driver_temp.toString() + "&passenger_temp=" + driver_temp.toString();
        Communications.makeWebRequest(
            url,
            {
                "driver_temp=" => driver_temp.toString(),
                "passenger_temp=" => driver_temp.toString()
            },
            {
                :method => Communications.HTTP_REQUEST_METHOD_POST,
                :headers => {
                    "Authorization" => _token,
                    "Content-Type" => "application/json"
                },
                :responseType => Communications.HTTP_RESPONSE_CONTENT_TYPE_JSON
            },
            notify
        );
    }

I'm stuck. Anybody care to help? Thanks.

authors: ChadMoran SylvainGa bharned3 chrispi68 dacastro4 gohnjanotis klacol sepstrup timdorr

repo: timdorr/tesla-api


text:
Browserify

I can't seam to require rangy anymore and compile it with Brwoserify ?
I can manage to require the core file but not the
require("./bower_components/rangy/lib/rangy-selectionsaverestore.js");
Any help please ?

Works fine for me. That path looks wrong though: there's no lib directory in the Bower package.

Just had the same issue, only way I could fix it was to create a package.json and add the path to the directory to Browserify.
I imagine it could be fixed in the code by requiring the core module with require("./rangy-core.js" instead of by module name.

authors: RobeeeJay agjs timdown

repo: timdown/rangy


text:
Undo / redo support

I'm using this lovely little library to try to replace CodeMirror in the Ghost Editor with a plain textarea and I stumbled across the fact that making changes to a textarea with rangyinputs doesn't work with the browsers internal undo/redo.
I know that this is far from a simple problem to solve, and I'm also aware that you probably know far more about it than I do, seeing as researching the problem turned up this :grin:
As the answer to the question "can this be solved?" is "sort of", I was wondering if having support in rangyinputs would be welcomed either by default, or via an option?

hımm

authors: ErisDS tiyse

repo: timdown/rangyinputs


text:
Expose import_from_xml in TimelinkDatabase

https://github.com/time-link/timelink-py/blob/6bdbb706e8dd83cfac66d11e0bc74e2bbc41b542/timelink/api/database.py#L659

If the TimelinkDatabase instance is connected to a Kleio Server then it is not necessary to pass the url and token of the server.  A minimalist call would be:
db = TimelinkDatabase()
db.import_from_xml(xml_path)

repo: time-link/timelink-py


text:
Repeating Absences

Feature Request:

Allow the creation of Repeating Absences on a Weekly / Bi Weekly Frequency
With a Repeat Until end date.

Any updates on if you think this would be possible?

repo: timeoff-management/application


text:
ADFS SAMLResponse

I'm trying to implement a SP using ADFS as my IDP and I successfully receive a SAML Response via request.form['SAMLResponse']. I can take this response and decode to a string with str(decode_saml_xml(request.form['SAMLResponse']).decode()), but I'm not sure what to do with it next. I'm trying to get to the Name ID via assertion data. What is the recommend way to complete this task? Are all necessary modules built in? The parser.py in sp seemed promising, but none of the functions work for me - I get list index out of range. I'm not sure if I'm going about it the wrong way, or passing the wrong data to the ResponseParser class. I thought the decoded XML string would be good, along with my SPs private key, but maybe that isn't the case. Any guidance you can provide would be fantastic.

(I know this is probably a bit late, but for future reference)
The SAMLResponse is already parsed as far as I know. On this line it’s passed to the auth_data.
You can access it through auth_data = sp.get_auth_data_in_session() with the nameid being in auth_data.nameid. Other attributes passed from the IdP are in auth_data.attributes.
Hope I correctly understood this question and that it helps other people in the future :)

authors: Bondosan FMJansen


text:
Error while train when get dataset

Hi,When I train the model with python src/train.py with   mot17  deformable  multi_frame  tracking  output_dir=models/mot17_deformable_multi_frame, the following errors occur：
Traceback (most recent call last):
File "src/train.py", line 357, in
train(args)
File "src/train.py", line 284, in train
visualizers['train'], args)
File "/home/ubuntu/track/trackformer/src/trackformer/engine.py", line 119, in train_one_epoch
for i, (samples, targets) in enumerate(metric_logger.log_every(data_loader, epoch)):
File "/home/ubuntu/track/trackformer/src/trackformer/util/misc.py", line 230, in log_every
for obj in iterable:
File "/home/ubuntu/anaconda3/envs/trackformer/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 345, in next
data = self._next_data()
File "/home/ubuntu/anaconda3/envs/trackformer/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 856, in _next_data
return self._process_data(data)
File "/home/ubuntu/anaconda3/envs/trackformer/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 881, in _process_data
data.reraise()
File "/home/ubuntu/anaconda3/envs/trackformer/lib/python3.7/site-packages/torch/_utils.py", line 395, in reraise
raise self.exc_type(msg)
IndexError: Caught IndexError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/home/ubuntu/anaconda3/envs/trackformer/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop
data = fetcher.fetch(index)
File "/home/ubuntu/anaconda3/envs/trackformer/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/ubuntu/anaconda3/envs/trackformer/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/ubuntu/track/trackformer/src/trackformer/datasets/mot.py", line 49, in getitem
img, target = self._getitem_from_id(idx, random_state, random_jitter=False)
File "/home/ubuntu/track/trackformer/src/trackformer/datasets/coco.py", line 63, in _getitem_from_id
img, target = self.prepare(img, target)
File "/home/ubuntu/track/trackformer/src/trackformer/datasets/coco.py", line 220, in call
masks = convert_coco_poly_to_mask(segmentations, h, w)
File "/home/ubuntu/track/trackformer/src/trackformer/datasets/coco.py", line 177, in convert_coco_poly_to_mask
rles = coco_mask.frPyObjects(polygons, height, width)
File "pycocotools/_mask.pyx", line 292, in pycocotools._mask.frPyObjects
IndexError: list index out of range
I found that the data set is not a pair. But the dataset I generated with this command：python src/generate_coco_from_mot.py.I don't know what's wrong.

Thanks for your answer,I found that the problem was to set the masks of train.yaml to true.
I want to generate_ attention_ maps and masks is set to true in track.yaml to evaluate，but I got：
RuntimeError: Error(s) in loading state_dict for DeformableDETRSegmTracking:
Missing key(s) in state_dict: "bbox_attention.q_linear.weight", "bbox_attention.q_linear.bias", "bbox_attention.k_linear.weight", "bbox_attention.k_linear.bias", "mask_head.lay1.weight", "mask_head.lay1.bias", "mask_head.gn1.weight", "mask_head.gn1.bias", "mask_head.lay2.weight", "mask_head.lay2.bias", "mask_head.gn2.weight", "mask_head.gn2.bias", "mask_head.lay3.weight", "mask_head.lay3.bias", "mask_head.gn3.weight", "mask_head.gn3.bias", "mask_head.lay4.weight", "mask_head.lay4.bias", "mask_head.gn4.weight", "mask_head.gn4.bias", "mask_head.lay5.weight", "mask_head.lay5.bias", "mask_head.gn5.weight", "mask_head.gn5.bias", "mask_head.out_lay.weight", "mask_head.out_lay.bias", "mask_head.adapter1.weight", "mask_head.adapter1.bias", "mask_head.adapter2.weight", "mask_head.adapter2.bias", "mask_head.adapter3.weight", "mask_head.adapter3.bias".
I think this is because the pre-train model does not set masks to true, so I want to set masks to true to retrain my model, and then the problems mentioned at the beginning appear

Attention maps and mask prediction are two separate things. However, only for our model for mask prediction the attention map plotting is implemented. If you want to generate attention maps for the bbox model, you need to implement attention mask plotting. Not train a model for masks.

repo: timmeinhardt/trackformer


text:
BitMEX client

This PR fixes a couple issues with the BitMEX adapter:

BitMEX's API key scheme is URL-encoded.
BitMEX allows testing via testnet.bitmex.com. Testnet lists different instruments than the production site, but the currency pairs were locked in from first connecting to the live site. Connecting to testnet would not update the currency pairs, and raise an exception.

I have been running the following exchanges:
BitmexExchange
BinanceExchange
PoloniexExchange
YoBitExchange
HitbtcExchange
KucoinExchange
with the exception of Bitmex, they all conform to the sample code and DO NOT use base64 to encode the ApiSecret.  further, it appears that base64 has been removed from the default BaseDigest but the method paramters retain the name.
@timmolter can you weigh in on this?
I also have had no success using the Bitmex-client where the other exchange implementations do report user wallet info successfully.
#2256 is now working to my satisfaction, with biotmex's published swagger api being wrapped where I'm using something that isn't yet implemented in bitmex.  i can't merge this PR into my own work thru github due to conflicts but I'd be happy to incroprate whatever benefits (though I fail to understand why bitmex is unique with base64 encoing).

@jnorthrup It's been a while since I stumbled upon the Base64-related code. IIRC we used to have a 3rd party base64 class, which was then replaced with a JDK implementation. I think some exchanges require the encoding while others don't, but I'm not 100% sure.

The first update to the signing mechanism was just to prevent a crash. The auth mechanism has been reworked in 480231 (latest commit as of now) to actually conform to BitMEX's auth scheme.

Ryan if you are committing for bitmex why aren't you using the bitmex swagger API?
i just got done porting jaxrs-spec from swagger on top of the existing handwritten XChange conversions.

@jnorthrup I was using the REST API to avoid an external dependency for XChange. It would be possible though.

authors: jnorthrup ryanfox timmolter

repo: timmolter/XChange


text:
"duration" not working anymore after clicking on "onClick" on mobile

This problem happens on mobile, so it can be tested on Google Chrome Developer tools or directly on a mobile device.
How to reproduce the problem on Codesandbox

Launch the developer tools of Google Chrome (or use a mobile device)
Activate the mobile/device toolbar (or use a mobile device)
Reload the application
Click the "Dismiss" button in "Toast 2" before the "Toast 1" has disappeared

Expected behaviour

"Toast 1" should automatically disappear.

What actually happens

"Toast 1" is not disappearing, in fact ignoring the default duration setting.

It seems to me that after I fire toast.dismiss(t.id); for a certain toast, all the duration setting of the other toasts are ignored and thus they won't disappear.
Codesandbox here: https://codesandbox.io/s/strange-perlman-x3i3b
(to see the issue, please use the Google Chrome Developer tools or directly on a mobile device).
Did I misunderstood something?

@gandreini I am facing the same issue.

You can replicate the issue at the demo page on a mobile phone. Click "Success" toast, immediately click "JSX Content" toast, click its dismiss button. The success toast never disappears.

We are facing a similar issue , wondering what is the state of this issue ?

We are facing a similar issue. As soon as you dismiss programmatically any toast, the duration param is ignored and no longer works. It is only reproducible on mobile, it works as expected on desktop.

I think I've found a workaround without resorting to a custom useToaster().
The timeout unpause handled by an onMouseLeave handler on the  component
seems to be able to be run programatically.
I've created a click handler function which runs on the onClick in my custom toast.
const clickHandler = useCallback((e) => {
    const mouseLeaveEvent = new MouseEvent('mouseout', {
      bubbles: true,
      cancelable: true,
    });

    e.currentTarget.dispatchEvent(mouseLeaveEvent);

    t.dismiss(toast.id);
  }, []);

React seems to handle it's onMouseLeave via the native mouseout event instead of mouseleave - Don't ask why, I have no idea 😄
This way the toast timer gets unpaused and all works as it should.
The lib should still get a patch handling this better - calling the endPause() automatically after .dismiss() or perhaps exposing the pause/unpause functions.

authors: Abror1997 ParallelUniv3rse gandreini gitflash laukaichung pedrovgs

repo: timolins/react-hot-toast


text:
breaking changes in wagtail 2.15

these imports
https://github.com/timonweb/non-admin-draftail/blob/f150b5258c321b5dc80ef992e12a4e97ffa910eb/non_admin_draftail/views/image.py#L9
this seems to be the refactor that changes the imports.
https://github.com/wagtail/wagtail/commit/a96035a619ba0937e559c4ec0ebea3f1959282f5#diff-2dc885830e703d17176c1ca0570314d3873e71beb2d035932eed261c20f779e5

Hi @rupertbaker thanks for letting me know and pointing at the source of the issue. Just pushed the 0.15 version that works with Wagtail 2.15+.

Please check it out and let me know if everything is ok.

bumped non-admin-draftail and wagtail to latest version and working well. thanks!

authors: rupertbaker timonweb

repo: timonweb/non-admin-draftail


text:
Command seed info not available

It seems on latest version seed info is not there, maybe what is correct is seed version?

Thanks, Vasco. Well spotted.

authors: tindzk vascorsd

repo: tindzk/seed


text:
Question about training difficulties for pose network

I have done my own implementation in torch of a similar model as yours that does train the depth and the camera pose transformation in the same unsupervised manner as you do.
However I have difficulties with the pose network that is somehow not able to learn the transformation properly. My implementation is right, I tested it with stereo examples and it is able to learn the depth and the static transformation of the stereo setup. However if I go on to a not static setup, like a monocular video, the pose network is not able to learn the different transformation parameters anymore. That even happens if I use stereo images and change the left with right image randomly, so that it has to learn just 2 different transformations.
So I am asking you if you experienced any such difficulties with your pose network? Did you use the same learning rate for the depth and the pose network? And how did you normalize the image inputs (range between -1 and 1?)?

How do the warped/projected images look in the non-static case? Also, did you visualize the histogram of your pose prediction values (tx, ty, tz, rx, ry, rz)? Do they look abnormal?

In the non-static case the depth predictions are infinity(or highest possible value) or zero. You can see that the depth prediction tries to somehow lower the reconstruction loss with these extreme values because the predicted transformation is wrong.
I actually realized that the transformation becomes the same for every input. Looks like it's the mean of all possible transformations because it's mostly tz that is non-zero (tz is the forward moving camera which is the case most of the time in the training set).
So over a batch the pose net gives always the same transformation predictions like it is not able to learn from the different inputs and it can just learn "the best fit" for all images in a batch together.
So I thought the input value range is maybe not good (I use -0.5 to 0.5) or the learning rate for the pose net is too high.

You can try scaling the predicted pose values to be even smaller (e.g. use 0.0001 in https://github.com/tinghuiz/SfMLearner/blob/master/nets.py#L45), and see if the depth prediction is still outrageously large.

repo: tinghuiz/SfMLearner


text:
Registries: 'registry1,registry2' have not been referenced by any update

Since today the task crashes with this error without having touched anything.
The only thing that has changed is that the version of dependabot that uses this task has changed: 1.20.543 ->1.21.566.
How can I fix it?
Thanks!

Ok, it seems that at some point they have forced that the records have to be explicitly referenced in each updates element:
https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#registries
Do you know anything about this @mburumaxwell?

You can consult the release notes: https://github.com/tinglesoftware/dependabot-azure-devops/releases/tag/1.21.0
Each registry you configure must be referenced in at least one update. This matches the hosted version and, crucially, avoids sending unnecessary credentials to the updater.
This was introduced in #781

Support for registries: '*' was skipped because there are too many issues with accessing private registries created here. To help identify them, it is better to have the selection explicit. Maybe later, we can add wildcard support unless you have a case for why it should be immediate.

authors: bdovaz mburumaxwell

repo: tinglesoftware/dependabot-azure-devops


text:
About the results in Table 2.

Hello，It is a great job. I have few questions.
Are the Metrics for Chart extraction in Table 2 the RMS precision and RMS F1 mentioned in DePlot? Additionally，It seems that DePlot does not perform the Chart extraction task on the ChartQA dataset. Are the results of this part (chart extraction, including the Chart extraction of Unichart) reproduced by you yourself? Are these the results of fine-tuning on the ChartQA dataset using DePlot and Unichart?

Yes, their model weights are all open source, so I reproduce the results using their model.

Forget to confirm. They did not show performances on ChartQA in their paper.
Also, there is something that deserves attention. I did not study the metrics in details. But I found if using wrong seperator, the performance will become extremely high... So pay attention to it. Our seperator is ",", while previous methods are usually "|".
Feel free to reopen this issue if you have any other questions.

Forget to confirm. They did not show performances on ChartQA in their paper. Also, there is something that deserves attention. I did not study the metrics in details. But I found if using wrong seperator, the performance will become extremely high... So pay attention to it. Our seperator is ",", while previous methods are usually "|".
Feel free to reopen this issue if you have any other questions.

Thanks for your response.

authors: Sootung tingxueronghua

repo: tingxueronghua/ChartLlama-code


text:
Major refactor

This is the first part (of many) which aims to update the code design to be easier to maintain and more flexible for when we add more scheme systems.

Closed in favor of #28


text:
Green Uop unary check

#2787

linearizer should fallback to float32 for imagef https://github.com/tinygrad/tinygrad/actions/runs/7229870390/job/19701282549?pr=2787#step:14:302
skipping non-unary ops for now (still handling the dtypes in the uop function). To unblock binary ops, we need two things:

adding two bools (eg. CMPLT results) should autocast to int, then get rid of logic and in llvm: https://github.com/tinygrad/tinygrad/blob/master/tinygrad/renderer/llvmir.py#L17
https://github.com/tinygrad/tinygrad/actions/runs/7229870390/job/19701282273?pr=2787#step:14:2417
remove CMPLT f32() hack in webgpu
https://github.com/tinygrad/tinygrad/blob/master/tinygrad/renderer/cstyle.py#L340

cool! if you want you can do the unary and binary check. I am working on the where one https://github.com/chenyuxyz/tinygrad/pull/54

sg - do you think we can merge this one for unaries and I'll work on binary next? @chenyuxyz

gotta revert again - i'll figure out why

we should also add more fuzz / kernel search test to CI to increase kernel variety

authors: Qazalin chenyuxyz

repo: tinygrad/tinygrad


text:
[core] refactor cors, route overview and openapi to new plugin system (#577)

@tipsy This is the first PR of refactoring. I didn't want to include everything in one PR so it doesn't get too big.
In this PR I refactored

CORS
RouteOverview
OpenApi

For the last two I removed the "enable*" method from the config. I think you should use the 'registerPlugin' method for these. Just for CORS I left the "enable*" method as this feels more like a core option. Please let me know your thoughts on this change.

Looks great! I had one small comment that you can choose to address or not. I'm working toward releasing RC0 this weekend, when do you think you'll have the rest migrated?

I plan to finish everything tomorrow so this should work. Unfortunately today I'm pretty busy.

Okay, I'll release tomorrow afternoon/evening then.

authors: TobiasWalle tipsy

repo: tipsy/javalin


text:
No Image Published for Release 2.0.10?

I'm looking at DockerHub tags and there does not seem to have been a published version of 2.0.10:

Was this intentional?
I looked at the commit history and it looks like there has only been 1 change since the 2.0.10 build, but as a matter of principle we do not use latest in our build scripts.
I could pull the latest image by its hash, but I'm not sure how DockerHub handles untagged images, so this could be risky. Even if it is safe, it makes maintenance more difficult. Without a pinned tag, there will be no easy way to determine what changed between our current version and the new latest version.
Appreciate your work maintaining this repo and welcome any feedback you may have.

Github has struggled with some stability issues over the past year - just looking at the https://github.com/tiredofit/docker-spamassassin/actions shows that 2.0.10 failed to build.. It's too late to restart that job now, so I can push a 2.0.11 and see if that builds.

Looks like it worked.. Enjoy!

Awesome!
Really appreciate the quick turnaround here.
Thank you.

authors: jsmythsci tiredofit

repo: tiredofit/docker-spamassassin


text:
hcaptch dosent show up

hcaptch dosent show up |   not on discord not on youtube or any website

Unfortunately this is a problem with the Corrosion backend. I'm considering dropping Corrosion in the near future, which should solve this problem.

So are yall gonna drop Corrosion? If so when bc captch's don't even work for me :(

So are yall gonna drop Corrosion? If so when bc captch's don't even work for me :(
* Corrosion is also broke[i think(for me at least)]

Yes. I'm only waiting for an in-progress alternative to release, and then I'll move Vanadium over.

repo: titaniumnetwork-dev/Vanadium

license: Unlicense


text:
Handle Persian Student Numbers

Persian Numbers don't work fine.

https://github.com/titansarus/QueraToCsv/commit/769e59f4e7818d89e30387951a1f2d66d5c4250e solved the issue.

repo: titansarus/QueraToCsv


text:
[BUG] all_modified_files show deleted files

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug?
Hi everyone,
First of all thank you for this action , It is really helpful!
As I understood right documentation all_modified_files - showing only ACMR

Select all modified filesi.e. a combination of all added,copied, modified and renamed files (ACMR).

But , when I deleted directory with files it show as all_modified_files. In my opinion It's wrong behaviour.
(Plz correct me if I wrong)
To Reproduce

Created some  branch in repo.
Added two directory: first test_pipeline and nested directory new and few .yaml files inside new directory .
Ran workflow and all_modified_files -show me everything correct.
Deleted directory new
Ran workflow again and saw all deleted files.

What OS are you seeing the problem on?
ubuntu-latest or ubuntu-20.04
Expected behavior?
Don’t output deleted files
Relevant log output
Retrieving changes between 1bfe9ff893a8625996ba04b052cdf89e1e683520 (test-gha-custom-label) → 40ea730b3389a39578a9eeba23c1eda181dfb894 (test-gha-custom-label)
  Checking for file changes: ".(yaml)$"...
  Checking for file changes: "test-pipeline"...
  Added files:
  Copied files:
  Deleted files: test-pipeline/new/asaaa.yaml test-pipeline/new/go.yaml
  Modified files: .github/workflows/test-label.yaml
  Renamed files:
  Type Changed files:
  Unmerged files:
  Unknown files:
  All changed files: .github/workflows/test-label.yaml test-pipeline/new/asaaa.yaml test-pipeline/new/go.yaml
  All modified files: .github/workflows/test-label.yaml test-pipeline/new/asaaa.yaml test-pipeline/new/go.yaml
  Input files: .(yaml)$ test-pipeline
  Matching modified files: .github/workflows/test-label.yaml test-pipeline/new/asaaa.yaml test-pipeline/new/go.yaml

Anything else?
# my config
- name: Get changed files
        id: changed-files
        uses: tj-actions/changed-files@v9.2
        with:
          files: |
             .(yaml)$
             test-pipeline

Code of Conduct

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

Thank you !

repo: tj-actions/changed-files


text:
Variable and parameter rendering inside custom block definition

I hope there is a way to differentiate between a variable and a parameter when rendering inside custom block definition:
say (number1)
define jump [number1]
say (number1) for (2) secs
say ( number1) for (2) secs  // inserted an invisible character before number1 so it's not rendered as a parameter

There is!
(foo::custom-arg)
(foo::variables)

Thank you!

authors: peeratham tjvr

repo: tjvr/scratchblocks


text:
User based permission

Hello,
Currently you have a role based permission but it can be useful to have (in addition to role based permission) a User based permission.
I will try to explain, I have :
Model A
User A
User B
User A has created a record of Model A, however, User A does not want the User B (and only him) have access to that record.
Can I do this actually with sails-permissions ?
Thanks in advance for your response.

You're right, the only way to connect a User to a Permission is via a Role. This design is flexible enough, though, to do just about anything you'd want. Convenience methods can be added to make certain tasks easier.
If you have a Record R, you could theoretically create a new Role, which everyone except User B gets assigned, which grants permissions to see R. The awkardness here is that Roles are only additive and never subtractive, so you have to create a new Role to remove a privilege.
I've considered this, and I'd rather have a messy database with a bunch of Roles than introduce new complexity to the paradigm itself and possibly jeopardize conceptual integrity. But it'd certainly be excellent to improve the API to make this feature easier to attain.
Hope that helps.

Ok, I will use another method because I will have about 100K users and many records with this use case, I will try to fork sails-permissions and add this behavior.
Thanks for your help.

So your main goal is instead of User -> Role -> Permission you'd like to be able to directly set User -> Permission. I think that's reasonable. Let me know if you need help / have questions. A PR would be great!

Yes that's it, of course when I will done this part I will make you a PR

Hi, just a little question : why did you choose to only have additive permissions ?
I have made a branch (from the user level permission) with the implementation here : https://github.com/anthonybriand/sails-permissions/tree/subtractive-permissions

authors: anthonybriand tjwebb

repo: tjwebb/sails-permissions


text:
please tag releases

Please tag releases in git, to help ease correlating with Cargo releases.

I have tagged the latest release in each of the minor versions and will add future tags as versions are released.
(To correlate older patch versions, look at the branch for the corresponding minor versions and look at the PR where the cargo.toml was updated in it's version. This is the PR that was pushed.)

Excellent - much appreciated!

authors: jonassmedegaard tkaitchuck

repo: tkaitchuck/aHash


text:
hide close button

how to hide the close button?

@Foldex

Is this an option you'd want in the installer?

I don't mind having an option, may be useful for tiling WM users.

authors: RouZERO tkashkin

repo: tkashkin/Adwaita-for-Steam


text:
Feature: remove useless code and add dockerfile

Feature: remove useless code and add dockerfile

/approve /lgtm

authors: imneov zpllz

repo: tkeel-io/ai-demo


text:
Release 0.3.12

@JuliaRegistrator register(branch=release)

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

authors: JuliaRegistrator tkf


text:
Resume "play" / "pause" buttons state when navigating other menu sections

Get any DevTalk episode and press "Start"
Go to any other section using application menu
Go back to the started DevTalk episode

Now we can see active "Start" button and inactive "Pause" button.
When "Start" button is pressed the state is resumed again properly, and we can pause the episode.

This should be fixed in the next release!
Thank you for reporting this.

The pleasure is all mine.

authors: freud tkowalczyk

repo: tkowalczyk/DevTalkMobile


text:
Textfield that replaces another Textfield doesn't render properly

I encontered an issue when rendering a component that dynamically decides which fields are visible.
Here's a small example that exhibits the issue. It's a form with two fields, only one of which is visible at a given time. To keep things simple, I put a switch to select which field is visible. In my actual use case, this depends on the values of previous fields.
import {Switch, Textfield, Button} from 'react-mdl';

const TestComponent = React.createClass({

    getInitialState() {
        return {
            showFirst: true,
        }
    },

    onChangeSelector(event) {
        this.setState({showFirst: !this.state.showFirst});
    },

    onChangeFirst(event) {
        this.setState({first: event.target.value});
    },

    onChangeSecond(event) {
        this.setState({second: event.target.value});
    },

    render() {
        return (

                <Switch checked={this.state.showFirst} onChange={this.onChangeSelector}>Show first field</Switch>
                {
                    this.state.showFirst
                    ? <Textfield label="first" value={this.state.first} onChange={this.onChangeFirst} />
                    : <Textfield label="second" value={this.state.second} onChange={this.onChangeSecond} />
                }

state = {JSON.stringify(this.state)}

        )
    },

});

Initially the first field is visible. After typing "abc" in the first field, I get this, which looks good:

Then I flick the switch. After typing "def" in the second field, I get this, which looks less good:

I believe this is the symptom of a desynchronization between the React and MDL components lifecycles. I'll see if I can track this down further.

Giving the two fields different keys i.e. <Textfield key="first/second" ... /> makes the problem go away. This suggests that the issue arises when React reconciles the two Textfields.
It may have something to do with the fact that MDLComponent implements componentDidMount / componentWillUnmont but not componentWillUpdate / componentDidUpdate.

Indeed, Textfield might have an issue with the internal state. But the doc you mentioned specifically says to specify a key to let React know the element is different (which is the case in your example).

Yes, I couldn't find a convincing way to handle this in Textfield. Perhaps it's best to treat this as a known limitation and to document the workaround. My use case may not be very common.

For my own use I have a wrapper that sets key={props.name} but I don't think this solution can be generalized because:

not everyone will set unique names on fields because they aren't necessary if the form submission is handled in JavaScript based on the React state
it's likely to have unintended consequences; it may do more harm than good

I'll keep the ticket open to investigate on this.
But for your usecase, please use a key prop. Not everyone will swap textfield based on a condition, so for most usecases, it behaves correctly.
I ported your example in a codepen to better visualize the issue: http://codepen.io/anon/pen/EPRLww

The issue is because we set the key prop on the Textfield. Because of that, the input changed, but not the whole element, so it's never unmounted / re-mounted.
I'll try to find a fix for the 1.4 release...

authors: aaugustin tleunen

repo: tleunen/react-mdl


text:
Fix for M3 Max - Using average of cores instead of relying on cluster idle ratio

Seems like the idle ratio of Cluster is reporting as zero in powermetrics which might be causing the CPU gauges to show 100%. This code fix simply averages the individual core idle ratios.

Before fix on M3 Max (40 core GPU)

After fix

please @tlkh merge this one 🙏

I tried the patch.   It helped a little bit but seems wrong still.  I am using M3 Max 16C/40GPU with just chrome browser running to test.
M3 max 16c/40gpu still showing 90% usage on e-Cores and 42-100% usage on P-cores.
Comparing this to
istatmenu (4 cpus - probably E-cores pegged near 90%, and 12 other CPU (I assume P-cores) showing nothing 1% here and there.    Activity monitor is matching the istatsmenu
At least it's no longer pegging both e-cores and p-cores at 100% but something is still wrong.
I wonder how the youtubers are checking the stats these days with asitop.  :)

I am not sure what to trust though. If you look at the plist file that is generated by powermetrics , the p-cores were showing usage but like you said iStats and the activity monitor were not. I believe this will be a temporary fix until they actually fix powermetrics itself.

I just noticed that that
total_idle_ratio = 0
core_count = 0
were reset when the P_Core is counted in 2 separate clusters.  I was going to manually calculate it and noticed the loop where it iterates the cpu cluster to grab these numbers ended up going thru 3 clusters.
I added one print statement to understand how it works after the core_count +=1 line.
print("name ",  name,  "     ",  core_count,"    metric ", cpu["idle_ratio"], "   total ratio", total_idle_ratio)
I noticed the output is showing that the P cores ended up showing up in two separate clusters so the ratio number was reset?  I wonder if it is taking a different ratio since both are "P-Cluster"
name  E-Cluster       1     metric  0.0    total ratio 0.0
name  E-Cluster       2     metric  0.0    total ratio 0.0
name  E-Cluster       3     metric  0.0    total ratio 0.0
name  E-Cluster       4     metric  0.0    total ratio 0.0
name  P-Cluster       1     metric  0.982326    total ratio 0.982326
name  P-Cluster       2     metric  0.991608    total ratio 1.973934
name  P-Cluster       3     metric  0.979798    total ratio 2.953732
name  P-Cluster       4     metric  0.994093    total ratio 3.947825
name  P-Cluster       5     metric  0.991832    total ratio 4.939657
name  P-Cluster       6     metric  0.967928    total ratio 5.907585
// here it resets the counter because it was from another cluster. I wonder if this would affect the number.
name  P-Cluster       1     metric  0.25897    total ratio 0.25897
name  P-Cluster       2     metric  0.269481    total ratio 0.528451
name  P-Cluster       3     metric  0.292032    total ratio 0.8204830000000001
name  P-Cluster       4     metric  0.303397    total ratio 1.12388
name  P-Cluster       5     metric  0.397913    total ratio 1.521793
name  P-Cluster       6     metric  0.250484    total ratio 1.7722769999999999
I am just fiddling to see how I can just manually get it to mimics the same utilization output as Activity Monitor/iStatMenu since I think they are not accurate but I like the asitop format.

Using a M3 Max here. The readings with this PR seem OK when the P-cores are actives, but they are overestimated when they are not. I think it is because the calculations do not take into account the P-Clusters and the P-Cores can also be down a part of the time, and that must be added to the "idle" time. I got something more plausible when I replace line 97
total_idle_ratio += cpu["idle_ratio"]

with this:
total_idle_ratio += cluster["down_ratio"] + (1 - cluster["down_ratio"]) * (cpu["idle_ratio"] + cpu["down_ratio"])

@phgrosjean Let me take a look.

Oh yes awesome.   I noticed the down CPUs counter last night when I ran
powermetrics manually to understand the output.  Didn’t know how to account
for them yet.
I did notice that the graph looks more accurate when I stress the computer
to actually use the P-cores and that could explain what you just wrote.
Will try soon.  Thank you!
On Wed, Jan 10, 2024 at 12:03 PM Philippe Grosjean @.***>
wrote:

Using a M3 Max here. The readings with this PR seem OK when the P-cores
are actives, but they are overestimated when they are not. I think it is
because the calculations do not take into account the P-Clusters and the
P-Cores can also be down a part of the time, and that must be added to
the "idle" time. I got something more plausible when I replace line 97
total_idle_ratio += cpu["idle_ratio"]
with this:
total_idle_ratio += cluster["down_ratio"] + (1 - cluster["down_ratio"]) * (cpu["idle_ratio"] + cpu["down_ratio"])
—
Reply to this email directly, view it on GitHub
https://github.com/tlkh/asitop/pull/68#issuecomment-1885246502, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADLJ5PU5N7PDC26IYKVG7H3YN3CUPAVCNFSM6AAAAABBGYINLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBVGI2DMNJQGI
.
You are receiving this because you commented.Message ID:
@.***>

I updated the PR

Looks great to me!   thank you both.

@gavi thanks for the fix! would be great to see this merged.

For anyone who are not sure how to port this changes to your own machine, just replace the parsers.py file with the changed parsers.py file in this PR, for reference, I installed asitop via pip and it's located at /opt/homebrew/lib/python3.11/site-packages/asitop for me. Then run asitop again in the terminal, you are good to go.

pip install git+https://github.com/gavi/asitop.git should work too.

Looking forward to this being merged and released, thanks @gavi !

Looking forward to this being merged and released, thanks @gavi !

Not likely, seems the repo author is off the planet to Mars.

authors: Ender-Wang Proryanator chiltalk gavi iamaziz ivanfioravanti phgrosjean

repo: tlkh/asitop


text:
add Chinese-Alpaca-LoRA 7B and 13B models

Hi,
previously I added a chinese-alpaca-lora-7b (#208), but it was removed as pointed out by https://github.com/tloen/alpaca-lora/commit/4367a43fcb8c47ff1e520777ad7e60b622edea4d#r106919365. Is this just a merge error or for some reasons?
We have released a 13B Chinese-Alpaca lora model, so in this pull request I add the link to the 13B model and fix the link to the 7B model.

Ah, sorry about that!

authors: airaria tloen

repo: tloen/alpaca-lora


text:
landscape&groups: mark all as read hangs without informing user

Have unread notifications
Go to notifications in landscape or groups
Click the mark all read
Observe it appear to do nothing
Observe it usually work

We should do something so the user knows it's working (ideally it'd be instant, but if it's not - it should have a spinner or something)

Throw a loading spinner in here for the promise.

authors: jamesacklin zalberico

repo: tloncorp/landscape-apps


text:
Revamp the README

To me it seems time to "advertise" this package a little more broadly, so I'll have a few PRs tweaking things. This one brings the README into sync with current syntax. Any and all suggestions welcome, of course.

Wonderful writing, as always :)
I had only one nit-pick (see the line comment) - not sure if I can edit that directly on your branch or not. If you don't have time to edit that, just merge as-is and I'll fix it afterwards.
Thanks a lot for taking the time to shape this up!

authors: timholy tlycken


text:
[feat] Add GetBranch, MergePullRequest methods to git clients

Changes

Implemented GetBranch method of git clients
Implemented MergePullRequest method of git clients
Fixed some methods of fake git client

Submitter Checklist

[x] Docs included if needed
[ ] Tests included if needed
[x] Follows the good commit messages standard

@tom721 @eddy-kor-92 리뷰plz~

MergePullRequest api는 어떤 목적으로 만드셨나요?

@tom721 말 그대로 PullRequest를 Merge해주는 api입니다
지금 #11 머지 자동화 기능 구현중이라 필요한 기능입니다

pre job에 담긴 테스트를 다 통과하면 자동으로 머지 요청을 날리려는 거군요. 좋은 기능인것 같습니다.

repo: tmax-cloud/cicd-operator


text:
[feat] 레디스 클러스터 클러스터 크기 칼럼에 호버 메세지 삽입

what : 레디스 클러스터 테이블에 클러스터 크기 칼럼에 호버를  삽입하였습니다.
why : 기획문세에 나와있는 그대로 추가하였습니다.
how : table 에 sortField와 tooltip 이 동시에 들어가지 않아서 새로운 sort를 만들었습니다.

frontend/public/components/hypercloud/utils/sort/sortByDirextion.tsx 이건 내용이 없는건가요?

what : 레디스 클러스터 테이블에 클러스터 크기 칼럼에 호버를 삽입하였습니다. why : 기획문세에 나와있는 그대로 추가하였습니다. how : table 에 sortField와 tooltip 이 동시에 들어가지 않아서 새로운 sort를 만들었습니다.

frontend/public/components/hypercloud/utils/sort/sortByDirextion.tsx 이건 내용이 없는건가요?

앗 넵 수정해서 없앤 빈파일이 들어가버렸네요 해당부분 수정했습니다.

repo: tmax-cloud/console


text:
Providing manual alignment

Is there any way to give a gold-standard alignment to CLSTMText?
I'm working on some research evaluating its efficacy on other tasks besides OCR, such as Twitter, where expanding acronyms is a big deal. Right now clstmtext is suffering mightily because it takes text lines directly instead of letting me give it the direct alignments (e.g. two sequences, ["lol", "wut"] --> ["laughing out loud", "what"])
Anything I can do to help it on this front?

I was hoping clstmseq was what I was looking for. Unfortunately, I'm having trouble finding documentation as to what these "sequences" actually are and how to make an aligned list of word sequences into a list of "variable length sequences of fixed length vectors" Why are the inputs "floats?" if they were ints they'd be indices into an alphabet, a paradigm with which I am all too familiar, but I don't know what to do with floats.

The outputs from the network are "hot-1" coded. That is:
Sequence outputs(nsteps, nclasses, nbatches);
for(int i=0; i<nclasses; i++) outputs[t](i, b) = 0;
outputs[t](cls, b) = 1;
means that the output at time step t in batch b is class cls. (Usually, nbatches=1, but you can train multiple sequences simultaneously.)
Manual segmentation doesn't really help a lot. But what you could do is the following. Let's say your manual segmentation is given as a struct { int x0, x1; int cls; }. Let's also say that your output sequence is Sequence outputs;
Sequence mask(nsteps, nclasses, 1);
for(int t=0; t<nsteps; t++) for(int i=0; i<nclasses; i++) maskt = 0;
for(auto segment : segmentation) {
for(int t=segment.x0; t<=segment.x1; t++) maskt = 1.0;
}
for(int t=0; t<nsteps; t++) for(int i=0; i<nclasses; i++) outputst *= maskt;
Now you can use the masked outputs for CTC alignment and then use the aligned output from that for backpropagation.

authors: Sleemanmunk tmbdev

repo: tmbdev/clstm


text:
Modify diffsender to accept diff in byte-array.

More tests and refactoring to courseSubmitter.

Coverage increased (+0.33%) to 91.01% when pulling 337575011cd1681c5915b84c6502e8f96acd5d51 on spyware_fix into e567a40ccbc265e702a9d83b1822d9218dec84f6 on master.

authors: coveralls samutamm

repo: tmc-cli/tmc-cli


text:
Add apple silicone to build list

Thanks for a useful tool! I just wanted to propose a small tweak here to the build process so that it outputs native binaries for Apple Silicone (M1 based macbooks).
I tested this out on my fork (see this release) and verified the hcl2json it generated works on my M1 MacBook Air.

Thank you!


text:
Partition [wip]

Right now this falls into a fairly serious problem - if you have an
array of length=4 and want 3 chunks, it's not possible to get 3 chunks
with the chunk() underlying function, since the input must be integer,
1 will give 4 and 2 will give 2.
So, we either need to change the expectation for the function, saying
that it will aim for the desired number of partitions, or not use
chunk() under this.

Closing: needs a better defined problem.

repo: tmcw/simple-statistics

license: isc


text:
Undefined reference to pthread_sigmask

I'm getting the following build log:
root@91b8df194dd4:/usr/local/lib/jscomp# ./jsc examples/factorial.js -o factorial
/usr/local/lib/jscomp/runtime/js/modules/buffer/index.js:117:7: warning: operator '==' is not recommended
/usr/local/lib/jscomp/runtime/js/modules/buffer/index.js:221:13: warning: operator '!=' is not recommended
/usr/local/lib/jscomp/runtime/js/modules/buffer/index.js:342:10: warning: condition is always true
/usr/local/lib/jscomp/runtime/js/modules/buffer/node_modules/is-array/index.js:32:20: warning: operator '==' is not recommended
runtime/release/libuv.a(signal.o): In function `uv__signal_block_and_lock':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/signal.c:102: undefined reference to `pthread_sigmask'
runtime/release/libuv.a(signal.o): In function `uv__signal_unlock_and_unblock':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/signal.c:114: undefined reference to `pthread_sigmask'
runtime/release/libuv.a(signal.o): In function `uv__signal_global_once_init':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/signal.c:67: undefined reference to `pthread_once'
runtime/release/libuv.a(signal.o): In function `uv__signal_block_and_lock':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/signal.c:102: undefined reference to `pthread_sigmask'
runtime/release/libuv.a(signal.o): In function `uv__signal_unlock_and_unblock':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/signal.c:114: undefined reference to `pthread_sigmask'
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/signal.c:114: undefined reference to `pthread_sigmask'
runtime/release/libuv.a(thread.o): In function `uv_thread_create':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:66: undefined reference to `pthread_create'
runtime/release/libuv.a(thread.o): In function `uv_thread_join':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:80: undefined reference to `pthread_join'
runtime/release/libuv.a(thread.o): In function `uv_mutex_trylock':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:130: undefined reference to `pthread_mutex_trylock'
runtime/release/libuv.a(thread.o): In function `uv_rwlock_init':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:145: undefined reference to `pthread_rwlock_init'
runtime/release/libuv.a(thread.o): In function `uv_rwlock_destroy':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:150: undefined reference to `pthread_rwlock_destroy'
runtime/release/libuv.a(thread.o): In function `uv_rwlock_rdlock':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:156: undefined reference to `pthread_rwlock_rdlock'
runtime/release/libuv.a(thread.o): In function `uv_rwlock_tryrdlock':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:164: undefined reference to `pthread_rwlock_tryrdlock'
runtime/release/libuv.a(thread.o): In function `uv_rwlock_rdunlock':
thread.c:(.text.uv_rwlock_rdunlock+0x5): undefined reference to `pthread_rwlock_unlock'
runtime/release/libuv.a(thread.o): In function `uv_rwlock_wrlock':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:179: undefined reference to `pthread_rwlock_wrlock'
runtime/release/libuv.a(thread.o): In function `uv_rwlock_trywrlock':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:187: undefined reference to `pthread_rwlock_trywrlock'
runtime/release/libuv.a(thread.o): In function `uv_rwlock_wrunlock':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:196: undefined reference to `pthread_rwlock_unlock'
runtime/release/libuv.a(thread.o): In function `uv_once':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:202: undefined reference to `pthread_once'
runtime/release/libuv.a(thread.o): In function `uv_sem_init':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:268: undefined reference to `sem_init'
runtime/release/libuv.a(thread.o): In function `uv_sem_destroy':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:275: undefined reference to `sem_destroy'
runtime/release/libuv.a(thread.o): In function `uv_sem_post':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:281: undefined reference to `sem_post'
runtime/release/libuv.a(thread.o): In function `uv_sem_wait':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:290: undefined reference to `sem_wait'
runtime/release/libuv.a(thread.o): In function `uv_sem_trywait':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:302: undefined reference to `sem_trywait'
runtime/release/libuv.a(thread.o): In function `uv_cond_init':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:334: undefined reference to `pthread_condattr_setclock'
runtime/release/libuv.a(thread.o): In function `uv_barrier_init':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:481: undefined reference to `pthread_barrier_init'
runtime/release/libuv.a(thread.o): In function `uv_barrier_destroy':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:486: undefined reference to `pthread_barrier_destroy'
runtime/release/libuv.a(thread.o): In function `uv_barrier_wait':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:492: undefined reference to `pthread_barrier_wait'
runtime/release/libuv.a(thread.o): In function `uv_key_create':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:501: undefined reference to `pthread_key_create'
runtime/release/libuv.a(thread.o): In function `uv_key_delete':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:506: undefined reference to `pthread_key_delete'
runtime/release/libuv.a(thread.o): In function `uv_key_get':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:512: undefined reference to `pthread_getspecific'
runtime/release/libuv.a(thread.o): In function `uv_key_set':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/thread.c:517: undefined reference to `pthread_setspecific'
runtime/release/libuv.a(linux-core.o): In function `uv__io_poll':
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/linux-core.c:252: undefined reference to `pthread_sigmask'
/usr/local/lib/jscomp/runtime/deps/libuv/out/../src/unix/linux-core.c:231: undefined reference to `pthread_sigmask'
collect2: error: ld returned 1 exit status
error: child process terminated with code 1

Dockerfile here

-l pthread solved the problem.

repo: tmikov/jscomp


text:
🛑 Hacker News is down

In fe3e632, Hacker News (https://news.ycombinator.com) was down:

HTTP code: 502
Response time: 103 ms

Resolved: Hacker News is back up in b134c38.

repo: tmleonidas/Upptime


text:
Do I need to run pip install pygments to install/use this gem?

I see here that pygments.rb already ships with its own copy of the python module.
But it says on this guide for setting up Jekyll on Windows that you need to install the python module first to use this gem.
I want to double check with you before contacting the guide's maintainer about this.

No, you don't have to. Pygments is shipped with pygments.rb.

authors: i-give-up mxm


text:
Shut down all operations with single click

🙋 feature request

In order to stop all Pacbot operations I either have to run the destroy command or manually disable all CloudWatch event rules.
🤔 Expected Behavior

From the portal a user should be able to click a button to disable all CloudWatch rules related to Pacbot for a given account.
😯 Current Behavior
Current behavior does not exist.
💁 Possible Solution

A simple script that disables each Pacbot CloudWatch event rule.

@twce  Can you please provide some additional information on future request.
In the Admin we have feature to enable/disable rules, that will take care of disabling cloud watch rules related to  Rules.

@santhoshigorle I want to disable all rules with a single click.

@twce  this something not possible right now .  IF you want disable all rules, workaround would be  from the database cf_ruleInstance table set status to disabled with query.

@santhoshigorle Disabling with query is not going to disable cloud watch rules and that is what I think @twce is asking for.
@twce we can look into this in future releases.

This feature is now available in release 1.3

authors: kaykumar santhoshigorle twce

repo: tmobile/pacbot


text:
how to handle django login page from vuejs ?

hi,
I followed your project structure. I would like to know how we can use allauth templates from vuejs components ?

if you want use the django auth, you can try the DRF, because the vuejs usually use the json  to transport data
Content-Type:application/json

@gagansuntle Now you can use the DRF auth view.

authors: gagansuntle tmpbook

repo: tmpbook/django-with-vuejs


text:
Add access to organism properties like energy, color,...

добавить возможность читать свойства соседей. Цвет, энергию, размер кода, и.т.д. readEnergyRight(), readMutationsLeft()

Слишком больше разнообразие функций тормозит и без того медленную систему. Оставил только energyXXX() функции...

repo: tmptrash/jevo


text:
Integration: Google Maps Timeline / Location History (meta: what about backfill-only integrations?)

App: "Google Maps"
Website: https://www.google.com/maps/timeline

Google Maps allows to store one's location history. Personally, I have been recording my position since 2009. The data is entirely private to the individual.
API
As far as I know, there is no public API to consume the data. However, users can download their entire location history via Google Takeout.
When doing so, one currently gets two feeds:

a JSON with all the recorded raw positions
a folder with many JSON files containing a semantic analysis of the above positions

This second one is the most interesting, as it includes items like this:
  }, {
    "activitySegment" : {
      "startLocation" : {
        "latitudeE7" : 376170755,
        "longitudeE7" : -1223805551
      },
      "endLocation" : {
        "latitudeE7" : 474489486,
        "longitudeE7" : -1223033108
      },
      "duration" : {
        "startTimestampMs" : "1579623399874",
        "endTimestampMs" : "1579632555789"
      },
      "distance" : 1093383,
      "activityType" : "FLYING",
      "confidence" : "HIGH",
      [...]
      }
    }
  }, {

This means that by parsing these JSON files, North app would be able to get all my past flights, as well as all my past car, cycling, subway train trips... But not the future ones.
Parsing these JSON doesn't seem hard. For a better user experience, there is probably also the need for unzipping what users download from takeout, which can be done with jszip. I might be able to give a hand.
This leads to a meta question: Should the North app support such "backfill" only integrations? or is the idea to only build integrations that constantly fetch data.
My opinion is that such backfills are valuable:

to be able to compare my past impact with my current impact
to have an estimate of how much CO2 I previously released per year / past months
users can do periodic import of the data to keep things roughly up to date.

cc'ing @sorensvejstrup (our product man).
This is very interesting. I believe we could look into a "data import" feature where one could import Google Maps Timeline data.
Maybe this should be put as an idea in product board? https://north-app.com/roadmap

By looking at how integrations work, I also realize that because this integration is neither username/password nor Oauth, it would require a new type of integration input: "file selector", where the user would select a local file from the phone to be parsed by the app.

Yes, this is extremely interesting. But as you also mention, @steren, there's a bigger conceptual question here regarding backfill and not having real-time data. I guess this could be solved be reminding the users to add data every now and then. The amount of manual work worries me a bit though.
As you're mentioning there's quite a few changes that need to be taken into account;

File, selector
JSON parser
Reminder (push notification) to upload data.
Backfill UX concept

As I see it the task is pretty big. So if you can help out in any way, it'd definitely speed up the process. And then we of course also need to consider other tasks at hand.

I agree.
Regarding 3. (Reminder to upload data), I don think that's needed. In my opinion, users should use the Location History only once. Once they have back-filled the past, they should just populate new activities manually, and more importantly flights.
For me, Parsing Location History is a way to do an audit of my CO2 footprint over the past 10 years. Maybe that's not the role of NorthApp, but it's definitely a good way to see where I am regarding my CO2 monthly target based on a very large amount of data.
The unzip and JSON parser is the easy part, I have a working prototype already. I'll share that soon.

Here is a proof of concept of unzipping and parsing the exported Location History data: https://observablehq.com/@steren/your-co2-emissions-from-location-history
Which generates a simple viz of the extracted activities:

Wow, so cool, @steren! I'm not finding the "Location History" though?
This is what I got under Maps 👇

It's not "Maps", it's "Location History". If you do not see it, it might be because you have not opted into the feature?

It's not "Maps", it's "Location History". If you do not see it, it might be because you have not opted into the feature?

Ahh, sure. That's probably it. I did that some years ago but forgot about it when testing. I'll try to find an account I can test with.

@corradio I'm seeing this has been open for some time and it's the feature that I am missing most in the app. Is there any technical/product reason this has not been integrated? Would be happy to give it a go otherwise.

Unfortunately we didn't find an easy way to make the data transfer seamless. The reason is the lack of open APIs from Google's side. The manual export is unfortunately quite cumbersome for most users.

authors: corradio sorensvejstrup steren

repo: tmrowco/northapp-contrib


text:
Header is hard to read in www.tmrow.com/jobs

Hello, I am not sure if this is the correct place to register this, but:

It is very hard to read MISSON from that header...
My screen is 1366 x 768

thx for raising!
I've made an internal PR and will close this one.

authors: ovbm papb

repo: tmrowco/tmrowapp-contrib


text:
Is there any implementation about decompose a specific tensor into TT format directly?

Hi, it is a good work that summarizes many decomposition methods including tensor train.
I just read the whole code and API document, but I don't find any implementation about decomposing a specific value tensor into TT format directly. I guess currently,  the implementation is to set the data format into TT/CP/ or other formats from the beginning and re-train the network from the scratch. Or do I miss some details?

Hello, thanks for your interest in our work. In current v0.1.3, we haven't added tensor decomposition methods (e.g., Tensor Train (TT)) in tednet, since Tensor Decomposition Networks (TDNs) are directly built with tensor formats[1][2] and trained from the scratch. We are going to add tensor decomposition as an initialization method for TDNs in the future, which may take some time. If you need  TT to initialize TDNs, it can be implemented by redefining the function reset_parameters.
[1] Y. Yang, D. Krompass, and V. Tresp, “Tensor-train recurrent neural
networks for video classification,” in ICML, ser. Proceedings of Machine Learning Research, vol. 70. PMLR, 2017, pp. 3891–3900.
[2] Y. Pan, J. Xu, M. Wang, J. Ye, F. Wang, K. Bai, and Z. Xu, “Compressing recurrent neural networks with tensor ring for action recognition,” in AAAI. AAAI Press, 2019, pp. 4683–4690.

Thanks for your reply, let me understand your answer again. There are two ways:

Before training, we set the initial layer as a TT format layer and then train it from scratch.
Toward the pre-trained model, decompose some layers of data into TT layer format ( which means decomposing specific values into TT format).

Current version v0.1.3:  have achieved Method 1, but haven't added method 2. Or neither method 1 nor method 2 are implemented?

For version v0.1.3, we have achieved Method 1, but haven't added method 2.

Thanks for your kind answers.

authors: LouiValley perryuu

repo: tnbar/tednet


text:
Unrestricted file system access to "/es6-promise"

npm run vite-start，控制台出现warn：Unrestricted file system access to "/es6-promise"
打开浏览器看到http://localhost:3000/es6-promise  状态为404NotFound。
尝试修改vite.config.js
server: {     fs: {         allow: ['..', '/es6-promise']     } }
不过没有效果，想问下这个问题怎么解决

这是vite的问题，可以参考下这个：https://github.com/vitejs/vite/issues/506

这是vite的问题，可以参考下这个：vitejs/vite#506

thanks


text:
Anonymous 3rd party requests

When making 3rd party requests, have an option to remove cookies from these requests. This can mitigate some of issue #3

Verified that the 3rd party cookies are disabled by this code

repo: tobykurien/WebApps


text:
Change RISC-V register names in clobbers.

As of right now, asm clobbers of specific registers in Rust only work
with the registers' x-style names, not the a/t/ra names.
Fixes #139.
See rust-lang/rust#60392.

Right?

repo: tock/libtock-rs


text:
License Request

I really appreciate the work you did for the C# wrapper and I'd like to use it in a project of my own. This is why I'd like to ask you to add a license to the project (for example the MIT License, the Unlicense  or CC BY ). Thank you in advance.

Let me know what you get up to with it!

Thank you! It will be used for an audio routing application that uses VoiceMeeter and TeamSpeak (I'll put it up on GitHub too).

authors: tocklime xathon

repo: tocklime/VoiceMeeterWrapper


text:
🛑 Wave Money Pre Production is down

In 70bd5c5, Wave Money Pre Production (https://preprodpayments.wavemoney.io:8107) was down:

HTTP code: 404
Response time: 1107 ms

Resolved: Wave Money Pre Production is back up in 4343567 after 3 hours, 51 minutes.

repo: today-mm/upptime


text:
Using macOS native linker to generate tests causes warnings

When compiling the test cases on macOS Sierra (10.12.4), I receive many warnings similar to the following:
CC test/test_stxalloc.c
ld: warning: option -s is obsolete and being ignored
warning: no debug symbols in executable (-arch x86_64)
CC test/test_stxapp.c
ld: warning: option -s is obsolete and being ignored
warning: no debug symbols in executable (-arch x86_64)
CC test/test_stxavail.c
ld: warning: option -s is obsolete and being ignored
warning: no debug symbols in executable (-arch x86_64)

Software:

clang: Apple LLVM version 8.1.0 (clang-802.0.42)
ld: ld64-278.4; LLVM version 8.1.0, (clang-802.0.42)

Ah, ok. I wasn't aware macOS deprecated that option. I'll look into it.

Just so you know its just a flag for stripping symbol information from the binary and it's unnecessary so I have simply removed it for now. It should hopefully compile without warnings for you know.

authors: SevenBits toddgaunt

repo: toddgaunt/libstx


text:
add booknomads api

Thank you for taking the time to work on a Pull Request for this project!
To ensure your PR is dealt with swiftly please check the following:

[X] Your submissions are formatted according to the guidelines in the contributing guide.
[X] Your changes are made in the README file, not the auto-generated JSON.
[X] Your additions are ordered alphabetically.
[X] Your submission has a useful description.
[X] Each table column should be padded with one space on either side.
[X] You have searched the repository for any relevant issues or PRs.
[X] Any category you are creating has the minimum requirement of 3 items.

Thanks!

authors: davemachado jackdoe

repo: toddmotto/public-apis


text:
Implementación del chequeo y actualización de los códigos USSD al iniciar la aplicación

También se implemento un timeout al método donde se conecta para descargar los jsons de 5 segundos, porque pasa que si un usuario bloquea la aplicación por un firewall Dio lanza excepción pero demora mucho en lanzará, se intento con el timeout de Dio y no resulto, así que se implemento con el timeout de los Future de Dart.

Se agregó margen al texto de la página de la Licencia

Se agregó margen al texto de la página de la Licencia

Se colocó botones en la página de Settings y se modularizó esta un poco.

Se colocó botones en la página de Settings y se modularizó esta un poco.

Se implementó una animación Hero entre el ícono de un item y el ícono de la categoría.

Se implementó una animación Hero entre el ícono de un item y el ícono de la categoría.

Fix #16

Fix #16

repo: todo-devs/todo