text:
Fewer true cells detected with alevin-fry.

Hi who's concerning,
I was using alevin-fry with splici index on a 10xv3 pbmc 5K dataset with simpleaf.
Here is my script,
singularity exec --cleanenv
--bind $singular_p:/workdir
--pwd /usefulaf/bash usefulaf_latest.sif
./simpleaf quant
-1 /workdir/$fastq1
-2 /workdir/$fastq2
-i /workdir/human_splici/index
-o /workdir/quants/$project
-f u -c v3 -r cr-like
-m /workdir/human_splici/ref/transcriptome_splici_fl86_t2g_3col.tsv
-t 16
However, I get fewer true cells. Only 3000 cells returned.
I used the old 10x quantile strategy to check.
Here is what I have,

af_all = load_fry(splici_path)
counts(af_all)->m
libs <- colSums(m)
o <- order(libs, decreasing = TRUE)
top <- libs[head(o, n = 5000)]
summary(top)
Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
79     156    6352    6028    8877   51043
quantile(top, 0.99)
99%
24923.19
table(libs>quantile(top, 0.99)*0.1)

FALSE   TRUE
171451   3171
Any suggestion to solve this?
Cheers,
Yue

Thanks for the report, Yue.
Could you please let us know what specific reference you are using (e.g. is it a 10x-provided reference or something else? If it is, which version, etc.).  In the mean time, I'll also tag @k3yavi and @DongzeHE here to get their take.

Thanks!
This is how I build the reference:
cd $singular_p
singularity exec --cleanenv
--bind $singular_p:/workdir
--pwd /usefulaf/bash usefulaf_latest.sif
./simpleaf index
-f /workdir/genome.fa
-g /workdir/Homo_sapiens.GRCh38.98.gtf
-l 91 -t 16 -o /workdir/human_splici
Here, genome.fa is the primary assembly genome file for GRCh38 release 98, as well as the gtf file.
They are not from 10x. I download them from Ensembl.
Cheers,
Yue

Hi Yue,
Thank you so much for bringing this issue up.
We first proved that if we run the old 10X quantile strategy on the count matrix provided on 10X website, 4571 cells are able to pass the filtering. We also tested that replacing 5000 when computing top with the expected number of cells predicted by the EmptyDrop() function in DropletUtils (which yielded 5148 high-quality cells) gave us exactly the same result (4571).
Then, we ran simpleaf on the 10X PBMC5K dataset using the cr3 reference from 10X using the same command as yours. You can download the reference from here (https://cf.10xgenomics.com/supp/cell-exp/refdata-cellranger-GRCh38-3.0.0.tar.gz). Surprisingly, this reference resulted in 4586 cells after the old 10X quantile strategy.  This may imply that the reference plays an important role in the selection procedure.
This is a primary reply, we will look into the difference in the reference genome and get back to you. Thanks for choosing alevin-fry.
Sincerely,
Alevin-fry team

Hi Yue,
We have further tested the dataset by downloading the raw fastq files from 10X website, then follow your code to run simpleaf pipeline (ref + quant) using all the fastq files (all reads). After filtering by the 10X quantile strategy you provided, we found that there are  4592 cells passed the filtering.
> sce = load_fry("/mnt/scratch5/pbmc5k_out_ensembl_grch38/quant")
> counts(sce) -> m
> libs <- colSums(m)
> o <- order(libs, decreasing = TRUE)
> top <- libs[head(o, n = 5000)]
> summary(top)
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max.
    734    6200    7882    8767   10340   51043
> quantile(top, 0.99)
     99%
26390.24
> table(libs>quantile(top, 0.99)*0.1)

 FALSE   TRUE
249053   4592

We downloaded the primary assembly genome from http://ftp.ensembl.org/pub/release-98/fasta/homo_sapiens/dna/ and the GTF file from http://ftp.ensembl.org/pub/release-98/gtf/homo_sapiens/ . As we used the same reference, now we wonder whether the difference is from the fastq files. Could you please share the fastq files you included in this analysis? for us, they are
$ls
5k_pbmc_v3_S1_L001_I1_001.fastq.gz  5k_pbmc_v3_S1_L002_R1_001.fastq.gz  5k_pbmc_v3_S1_L003_R2_001.fastq.gz
5k_pbmc_v3_S1_L001_R1_001.fastq.gz  5k_pbmc_v3_S1_L002_R2_001.fastq.gz  5k_pbmc_v3_S1_L004_I1_001.fastq.gz
5k_pbmc_v3_S1_L001_R2_001.fastq.gz  5k_pbmc_v3_S1_L003_I1_001.fastq.gz  5k_pbmc_v3_S1_L004_R1_001.fastq.gz
5k_pbmc_v3_S1_L002_I1_001.fastq.gz  5k_pbmc_v3_S1_L003_R1_001.fastq.gz  5k_pbmc_v3_S1_L004_R2_001.fastq.gz

Hi there,
Thanks for looking into this,
That's weird. I actually use the same fastq files as you provide here. I concatenate the R1 files, R2 files together separately and they are used as input.
salmon_quant.log
collate.log
gpl.log
quant.log
I also did this for another dataset, which is a 10xv2 dataset. But the number of reads per cell is quite similar to results from other pipelines.
I also provide the log files here. Is there any suggestion?
Cheers,
Yue

Hi Yue,
We have the same salmon_quant.log, but the alevin-fry logs are totally different. It seems like the reason could be that we used different 10X Cellular barcode whitelist file, but this file is downloaded automatically by simpleaf, so we are not sure what happened here. If possible, could you please provide the gpl/generate_permit_list.json in the output folder?
Sincerely,
Alevin-fry team

No problem!
Here is the info in the generate_permit_list.json
{   "cmd": "alevin-fry generate-permit-list -u /workdir/.afhome/plist/10x_v3_permit.txt -d fw -i /workdir/quants/pbmc5k/alevin_map -o /workdir/quants/pbmc5k/gpl/",   "expected_ori": "+",   "max-ambig-record": 2395,   "permit-list-type": "unfiltered",   "velo_mode": false,   "version_str": "0.4.0" }
Any suggestion?
Cheers,
Yue

Can you do a wc -l and a md5sum on the 10x_v3_permit.txt file?

-bash-4.2$ wc -l 10x_v3_permit.txt
4662846 10x_v3_permit.txt
-bash-4.2$ md5sum 10x_v3_permit.txt
57753c289344293124c150d235265bd8  10x_v3_permit.txt

This is very interesting! If you manually run the code that simpleaf used to download the whitelist file, there should be 6794880 lines in the code. Maybe this is caused by internet disruption or something. Could you please try to download the file manually and run simpleaf quant again? To download the whitelist file, you need to run
wget -v -O /workdir/.afhome/plist/10x_v3_permit.txt -L https://umd.box.com/shared/static/eo0qlkfqf2v24ws6dfnxty6gqk1otf2h

Sincerely,
Alevin-fry team

Good that you help me find the issue!
It works now.
Thanks a lot.
Yue

You are very welcome.

I am glad this resolved your issue @YOU-k.  We'll consider putting an md5 check in place in case the connection is interrupted or some such while downloading  the external permit lists!

authors: DongzeHE YOU-k rob-p

repo: COMBINE-lab/alevin-fry


text:
Enter Hours Page: Date/Time that the Shift Ended Field: Rounding Incorrect

Sorry, didn't grab a screenshot.
At 8:43PM the default time when going to the Enter Hours Page was 9:00PM. Should have defaulted to 8:45PM.
Related to Issue #97 Enter Hours Page: Date/Time that the Shift Ended Field: 15 Minute Increments

You sure your clock is correct?  I have not seen this problem. I will pay more attention and see if I can reproduce it.

I'll try to grab a screenshot if I see it again. I tried at both 8:43 and 8:44PM

Ok I am seeing it at 9:04 also.

The server time is wrong.  I'll contact dreamhost and have it fixed.

source: gharchive/issue

authors: AricStewart lmhern1 tskeeley

repo: CON-In-A-Box/CIAB-Signin

license_type: permissive

license_source: github-api


text:
Update fields, add WI race fetching

Update fields we want to collect for races (following discussion with Alice)
Add fetching for WI

@alxmjo can you rebase and squash your PR so it's a fast-forward commit on top of master?

source: gharchive/pull-request

authors: alxmjo space-buzzer


text:
Enable this action to run from within workflows triggered to run from a tag

We tried to run one of our publishing workflows from a tag ref and got:

Error: this action can only be ran on a pull_request, a push to the 'main' branch, or a push of a tag

Context that was available to the action:

There is clearly enough information there for this action to do something sensible in this scenario.
I've created this issue under this fork of this action as, subsequent to this, my intention is for us to start using this forked action with repositories (both public and private) within the CPC-Systems org..

Should have been fixed by https://github.com/CPC-Systems/github-event-context-action/commit/b10d3589e35ec8528f4c3cd19335781abc0fa41e.

I'm leaving this issue open until we've had opportunity to need to run a workflow against a tag, most likely a KAD OPR publish, which will prove my fix. FYI, @glddata @justinas-marozas.

@glddata Is it ok to close this issue as completed? That is, if you've been able to release from a tag since. 🤔

Good point, Yes happy to close as i have release via the Tags

authors: QuintinWillison glddata

repo: CPC-Systems/github-event-context-action


text:
wf_simulator doesn't work

I follow youtube planning wf_simulator but it doesn't work.
how can i make it work
Active nodes are
/points_map_loader
/runtime_manager_24311_1534996789852
/waypoint_loader
/waypoint_marker_publisher
/twist_filter
/gps_to_base_link
/world_to map
/map_to_mobility
/wf_simulator
/pose_relay
/vel_relay
/pure_pursuit
/twist_gate
I guess that "vel_pose_mux" node doesn't active,but I check Simulation Mode in vel_pose_connect and vel_pose_connect botton

I think that the nodes are not enough.
The minimum node list when wf_simulator is running in my environment.
/lane_rule
/lane_select
/lane_stop
/obstacle_avoid
/obstacle_sim
/points_map_loader
/pose_relay
/pure_pursuit
/rosout
/runime_manager_26195_1535006746622
/rviz_1535006752755195608
/twist_filter
/twist_gate
/vector_map_loader
/vel_relay
/velocity_set
/waypoint_loader
/waypoint_marker_publisher
/wf_simulator
/world_to_map

authors: mylonlee yk-fujii

repo: CPFL/Autoware

license_source: bigquery


text:
Latest nvidia docker

Latest nvidia docker
https://github.com/CPFL/Autoware/issues/660

There is a extra commit for test. So I edited build.sh.


text:
[feature] Decompose gates to remove zero singular values

Description
This PR makes it so that we apply SVD on every two-qubit gate tensor before contracting it to the state. This means that gates such as XXPhase and locally equivalent ones (CX, CZ, ZZPhase, etc) are cheaper to apply since they can be decomposed using only 2 singular values instead of the usual 4. This reduces the overhead of MPS methods by a factor of 2 when using these special gates and by a factor of 4 in TTN.
The change for MPS is straightforward: decompose the gate tensor, remove any zero singular value and replace any contraction of gate_tensor with a contraction with U and V.
The change for TTN is a bit more involved, but simpler than it looks. Before we'd apply the gate_tensor to the leaf node with the qubit q0 and "push a message tensor" with the open bonds corresponding to the input and output of q1 all the way to the leaf node containing q1. Now, we do the same but with a previous step that decomposes gate_tensor into U and V, and applying U instead of gate_tensor to q0. That way, the open bond that we push through with the message tensor is the shared bond between U and V (which has dimension 4 in general, but 2 in the case of XXPhase etc). Once the message tensor reaches the leaf node containing q1 we contract it along with V to get the resulting state.
In both cases the is equivalent as what we'd get in the develop branch (that's why none of the tests need to change), but some of the virtual bonds during execution will have smaller dimension.
Checklist

[x] I have run the tests on a machine with GPUs.
[x] I have performed a self-review of my code.
[x] I have commented hard-to-understand parts of my code.
[ ] I have made corresponding changes to the public API documentation.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have updated the changelog with any user-facing changes.

This one is not so straightforward. It's a simple change in the logic, but it required to change a bunch of small details in the code, which without prior context, might be hard to follow. I'm happy to walk you through this @cqc-melf

repo: CQCL/pytket-cutensornet


text:
allow filtering by has_special_needs in programs tab and access index tab

allow filtering by has_special_needs in programs tab and access index tab

i'm handling the programs tab, andrew is working on the acces index tab

programs tab is done!

license: MIT


text:
954 use constraints for queryables

queryables are created based on constraints if constraints_file_url is given for a provider (currently only implemented for cop_ads/cop_cds, wekeo can be done as soon as it is updated to the new endpoint)
possible values are added to the queryables (if available)
queryable parameters can be added to the request, to get only values matching the given condition for other queryables

all change requests should be resolved

all change requests implemented

branch rebased

when a parameter has a default value pre-configured, other available values are not listed, for example, on
http://127.0.0.1:5000/collections/ERA5_SL/queryables?provider=cop_cds
for api_product_type, we only reanalysis is listed, other values are missing

also we may be able to override defaults with given additional filters (giving an empty value, or None in library mode), in order to be able to list all combinations

Defaults can now be removed by setting them to empty in the query params. In that case all the values of the parameter are no and no filtering by this parameter is applied.
About the first point: I kept this as it is for the moment because I think it might be confusing if we show all the values but the remaining parameters are filtered by one value. If the same constraints apply for several values, they are all shown.

collections is not shown as queryable anymore in collections/id/queryables endpoint
default queryables don't cause error anymore if they are not in constraints

repo: CS-SI/eodag


text:
Undo redo

Ported over undo and redo functions.
Tests will be fixed at a later date.

Pull Request Test Coverage Report for Build 302

4 of 12 (33.33%)  changed or added relevant lines in 3 files are covered.
4 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.5%) to 86.878%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/main/java/seedu/address/logic/commands/RedoCommand.java
1
3
33.33%

src/main/java/seedu/address/logic/commands/UndoCommand.java
1
3
33.33%

src/main/java/seedu/address/model/ModelManager.java
2
6
33.33%

Files with Coverage Reduction
New Missed Lines
%

src/main/java/seedu/address/logic/commands/RedoCommand.java
1
57.14%

src/main/java/seedu/address/logic/commands/UndoCommand.java
1
57.14%

src/main/java/seedu/address/model/ModelManager.java
2
90.11%

Totals

Change from base Build 241:
-0.5%

Covered Lines:
1973

Relevant Lines:
2271

💛  - Coveralls


text:
As a RC4 user, I want to be able to sort my goals, so that I can locate different types of goals easily

Satisfy #95

Completed, implemented sortgoal command


text:
Timetable mid v1.2

From v1.1

Changed Appt class to contain subfields of Appt instead of just 1 String
Now passes all tests, but AddApptCommandTest not added in yet

Good job on changing the Appt class to contain subfields of Appt instead of just one string. It was helpful for me that you elaborated and explained the changes you have made as well.


text:
[Docker] Refactor docker-compose by splitting into multiple files

Split docker-compose into multiple files, so that each service can be run individually.
Have a combined docker-compose / bash script that runs all the containers together.

As discussed by @LHeng1, not necessary to split into separate files. Closed.


text:
Call endpoint testing and update API route testing

Unit tests for CRUD operations in API route #18 and Call endpoint #21. Check backend/README.md for how to run the tests.

How do I run it

How do I run it

Install the pipenv requirements if they're not already installed
pipenv install

Go to the backend folder and run the tests
cd backend
pipenv run python -m unittest


text:
Create action workflow for products

create the workflow for products
fix lint (ignore too-many-instance-attributes, cyclic-import, decrease the number of public methods in the test folder)

Looks good to me

authors: Hanhlin ruoyuGao


text:
Fix template arg not being read according to documentation

depends on and includes #41
according to docs a template can by used by using the -t option.
the script tries to read out a template argument.
So I adjusted the code to use both, either --template=classic or -t classic
also a bit of refactoring to startTemplateGenerator with a given template...
and getTemplate was returning the name if given a template, and a path if you chose one through the CLI

I can close this and merge the #43 ? Right ?
Thanks man 🥇

authors: CVarisco mosanger

repo: CVarisco/create-component-app

license: mit


text:
能否支持生成的变量名字的配置

比如assets/example.png
会生成变量名为: ASSETS_EXAMPLE_PNG
我想生成这样的变量名字: r_example
也就是

前缀统一为 自定义字符 "r".
不携带文件扩展名.
全小写

这些能否全都可配置?

目前不行，可以加入 Feature.

类名自定义字符已经在 0.6.0 支持，具体可以看文档用法。
举个例子：fgen -n CustomR
将生成 class CustomR {}

@AlexV525
他的想法可能是想自定义成员变量的名字？
难道是我理解错误了吗

没有，我在说明一种 workaround 😄

authors: AlexV525 CaiJingLong dsmjoy


text:
调用Gemini 2.0 Flash Thinking Exp返回错误

例行检查

[x] 我已确认目前没有类似 issue
[x ] 我已确认我已升级到最新版本
[x] 我已完整查看过项目 README，尤其是常见问题部分
[x ] 我理解并愿意跟进此 issue，协助测试和提供反馈
[x ] 我理解并认可上述内容，并理解项目维护者精力有限，不遵循规则的 issue 可能会被无视或直接关闭

问题描述
已升级到最新v0.4.0.1。调用Gemini 2.0 Flash Thinking Exp返回错误no candidates returned

连通性错误不影响实际调用使用

学到了，感谢各位老大。还以前连通不行就不能用呢

authors: QAbot-zh haso2007 markintouch

repo: Calcium-Ion/new-api


text:
wowreeb: Add version 3.5

[X] I have read the Contributing Guide.

/verify

repo: Calinou/scoop-games


text:
Adjustment problem

Hi I studied your code and I tried to adjust it to some data_set in order to create chat bot, but I have issues with adjusting this code to the normal data sets not only single text. Do you have idea how to do it?

I'm going to assume you're using the LSTM code.
If you want to use more than one sample text, you can just update the "chars" variable to contain the characters from all texts before creating the "char_to_idx" and "idx_to_char" dictionaries, and create a "train_X" and "train_y" variable for each text and train on the concatenation of these. For example:
data = 'Insert first text here'.lower()
data2 = 'Insert second text here'.lower()

chars = set(data + data2)
char_size = len(chars)

char_to_idx = {c:i for i, c in enumerate(chars)}
idx_to_char = {i:c for i, c in enumerate(chars)}

data_X, data_y = data[:-1], data[1:]
data2_X, data2_y = data2[:-1], data2[1:]

train_X, train_y = data_X + data2_X, data_y + data2_y

From there the code should be the same. However, I must caution you: this code was written for educational purposes, so people could understand what was happening under the hood- this was not made for large projects like chatbots. Keras, Tensorflow, Jax or PyTorch are much better equipped for that kind of project, they will train much faster and be more accurate, and most likely less buggy. If you still want to proceed with NumPy, the code above should work. Best of luck.

repo: CallMeTwitch/Neural-Network-Zoo


text:
Fix deprecation warning

to_float (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.cast instead.

lgtm, thanks @hsm207!


text:
🛑 Portal MiClub is down

In d6a2316, Portal MiClub (https://www.miclublider.cl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Portal MiClub is back up in 3c910cc.


text:
[Feat] - Publish library to mavenCentral

This would be much better than jitpack

Which benefits do you see?
I don't mind if we change or have two places to deploy if we can automate as much as possible.
If we change, we need to be sure people will get along

Much more reliable and is de facto the standard.

Also a licensing file is missing

Agreed, would be great to have

authors: Canato vanniktech

repo: CanHub/Android-Image-Cropper


text:
Failed to mkdir "/var/www/mediawiki/w/sitemap/"

I saw error message canasta log:
PHP Warning:  failed to mkdir "/var/www/mediawiki/w/sitemap/" mode 0777 [Called from wfMkdirParents in /var/www/mediawiki/w/includes/GlobalFunctions.php at line 1918] in /var/www/mediawiki/w/includes/debug/MWDebug.php on line 430
It was ghcr.io/canastawiki/canasta:1.35.6-20220414-80

It looks like we need to mkdir $MW_HOME/sitemap in Dockerfile line 75
line 652 symlinks the volume directory $MW_VOLUME/sitemap to $MW_HOME/sitemap (which doesn't exist).
Testing
Set
MW_ENABLE_SITEMAP_GENERATOR=true in your .env file and docker-compose up
Note: I have not tested this.

authors: freephile pastakhov

repo: CanastaWiki/Canasta


text:
cobitis

This pull request was generated by the 'mq' tool

/trunk merge

repo: Canva/mergequeue-trunk


text:
facias, exorcising

This pull request was generated by the 'mq' tool

/trunk merge


text:
feat: adding blog posts to the README

Updating README to include blog posts for DCX React Library

Codecov Report

Merging #289 (79bd53c) into release/0.5 (ccc9da7) will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff              @@
##           release/0.5      #289   +/-   ##
=============================================
  Coverage       100.00%   100.00%
=============================================
  Files               42        42
  Lines              909       909
  Branches           333       333
=============================================
  Hits               909       909

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ccc9da7...79bd53c. Read the comment docs.

authors: Ibabalola codecov-commenter

repo: Capgemini/dcx-react-library


text:
部分MP4格式的网络连接不播放

问题描述：
http://customer.viewsky.cn/partner/resource/activity/attribute/operationVideo/7
这个链接在浏览器是可播放的。MP4格式，但为啥该播放器无法播放？
问题机型/系统：
任意手机
GSY依赖版本
implementation 'com.shuyu:gsyVideoPlayer-java:6.0.3'
implementation 'com.shuyu:gsyVideoPlayer-armv7a:6.0.3'

PlayerFactory.setPlayManager(Exo2PlayerManager.class);//EXO模式
切换内核试试，ijk内核目前你信息解析失败

感谢，。可以了。

经检测 华为 P20 上面还是一直加载不出来，采用的是 demo 的 PlayActivity。Android 版本 9.0

体现在 UI 上是，加载转了两圈，就自动停止了。

PlayerFactory.setPlayManager(Exo2PlayerManager.class); 内核的？可以提供流么

经多次测试，插上SIM卡，切换为 4G 网络可以了。怀疑是网络问题，但不太明白，为何在 WIFI 环境下
，直接把视频放WebView 播放是没任何问题的。

或者和DNS解析有关？

PlayerFactory.setPlayManager(Exo2PlayerManager.class);
当我设置成这个之后，集成gsyVideoPlayer-ex_so是否还有效，这样的话对于mpeg编码有声音无画面情况怎么解决？

这个没关系，只是你需要切换内核使用，针对不同视频

authors: CarGuo RuoYuHoney nanchen2251

repo: CarGuo/GSYVideoPlayer


text:
关于关闭系统自动旋转下的视频全屏旋转问题。

问题描述：
https://github.com/CarGuo/GSYVideoPlayer/issues/2478
可能是我的描述有问题。
将video 和用到的 OrientationUtils 的 RotateWithSystem 设置为false，并没有达到我想要的效果。
我看了工具类中的代码。
if (!autoRotateOn && mRotateWithSystem) {
return;
}
置为false后只是跳过了这个判断，达到在关闭系统自动旋转后还能够自动旋转。
而我想要的效果，你可以参考b站的视频播放
在关闭系统自动旋转情况下
1.视频处于非全屏。旋转手机屏幕，不会进入全屏模式。
2.视频处于全屏。手机为竖直情况，视频不会退出全屏，也不会旋转。只会在手机横屏时候翻转。
目前我想自己重写一个OrientationUtils工具类，在activity中使用。
但是看到OrientationUtils这个类在GSYBaseVideoPlayer和GSYVideoHelper里面都有使用，这样会不会引起冲突？

如上提交所示，目前只能下个版本支持了

运行了最新的代码，发现一个小问题
// 设置反向横屏                 else if (rotation > 30 && rotation < 95) {                     if (mClick) {                         if (!(mIsLand == LAND_TYPE_REVERSE) && !mClickPort) {                             return;                         } else {                             mClickLand = true;                             mClick = false;                             mIsLand = LAND_TYPE_REVERSE;                         }                     } else if (!(mIsLand == LAND_TYPE_REVERSE)) {                         mScreenType = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE;                         mActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_REVERSE_LANDSCAPE);                         if (mVideoPlayer.getFullscreenButton() != null) {                             mVideoPlayer.getFullscreenButton().setImageResource(mVideoPlayer.getShrinkImageRes());                         }                         mIsLand = LAND_TYPE_REVERSE;                         mClick = false;                     }                 }
还是在关闭系统自动旋转情况下
进入全屏，显示为向左的全屏，此时直接向右转，无法反向横屏
因为mClick=true，mIsLand=1，直接走return。
必须向左转后，mClick=false。再向右，才能反向横屏

是的，点击的必须过去了，这个是设计这样的


text:
可以开放AndroidVideoCache设置缓存大小和缓存文件个数的接口吗？

如题

你可以创建一个单例的proxy设置进去GSYVideoManager

在Application中如下设置，好像不起作用。还是一路狂缓存，直到把整个视频下载结束为止。
`
private HttpProxyCacheServer proxy;
private final int MAX_VIDEO_CACHE_SIZE = 40 * 1024 * 1024; //40MB视频缓存
public static HttpProxyCacheServer getProxy(Context context) {
    MyApplication app = (MyApplication) context.getApplicationContext();
    return app.proxy == null ? (app.proxy = app.newProxy()) : app.proxy;
}

private HttpProxyCacheServer newProxy() {
    return new HttpProxyCacheServer.Builder(this)
            .maxCacheSize(MAX_VIDEO_CACHE_SIZE)
            .cacheDirectory(StorageUtils.getIndividualCacheDirectory(this))
            .build();
}

private void _initVideoCache() {
    GSYVideoManager.instance().setProxy(getProxy(this));
}

`

log中有这样一行提示：
W/HttpProxyCacheServer: Failed to close socket on proxy side: shutdown failed: ENOTCONN (Transport endpoint is not connected). It seems client have already closed connection.

http://cdn-media.jingzong.org/mp4/02/02-041/02-041-0503.mp4

如下图片所示，header应该没有赋值，不知道是不是这个问题导致的。

昨天晚上我用AndroidVideoCache测试了一下，发现是AndroidVideoCache没有提供相应功能导致的。
和GSY没有关系。
不好意思。


text:
preprod and preview networks not supported

The Cardano testnet is not usable right now, therefore 2 new public test networks were created.

preprod
preview

Cardanosharp hasn't been updated to support those new networks yet.

Solved with: https://github.com/CardanoSharp/cardanosharp-wallet/commit/1355d2828906ed4a71d676be1a539fb3c8b0fff7

repo: CardanoSharp/cardanosharp-wallet


text:
Fix: dockerfile nix build

Removed "rust-toolchain" from the nix dockerfile.
When I try to build a docker image using command:
sudo docker build -t aleph-build -f nix/Dockerfile.build .
I got this error:
Sending build context to Docker daemon  39.82MB
Step 1/9 : FROM nixos/nix@sha256:f0c68f870c655d8d96658ca762a0704a30704de22d16b4956e762a2ddfbccb09
 ---> 7299ab3c5ae8
Step 2/9 : RUN nix-env -i patchelf &&     nix-collect-garbage -d
 ---> Using cache
 ---> 03bec67dd57f
Step 3/9 : COPY nix/ /node/nix-files/nix/
 ---> Using cache
 ---> 20f9fd6b667d
Step 4/9 : RUN chmod +x /node/nix-files/nix/nix-build.sh
 ---> Using cache
 ---> 8fd6c21d50df
Step 5/9 : COPY default.nix shell.nix rust-toolchain /node/nix-files/
COPY failed: file not found in build context or excluded by .dockerignore: stat rust-toolchain: file does not exist

In file: aleph-node/nix/Dockerfile.build I have removed "rust-toolchain" at the line
L8: COPY default.nix shell.nix rust-toolchain.toml /node/nix-files/

The nix-build doesn't use the rust-toolchain.toml file anymore, since it was causing problems (broken nightly version of the rust compiler). You can remove that file from Dockerfile.build.

One more approval is needed to close this fix.

nix based build is still broken after this fix, so I've created a fix that covers other issues as well. Please check https://github.com/Cardinal-Cryptography/aleph-node/pull/1258 for details. I'm going to close this one.

authors: fixxxedpoint mgralinski

repo: Cardinal-Cryptography/aleph-node


text:
A0-3398: Change docker tag to use inputs.target-image as source

Description
Fixes action for pushing image to dockerhub.  It doesn't properly push the "latest" tag.  The docker tag command used in the step has invalid source image.

Please backport fix to the release-12 branch as well.

authors: Marcin-Radecki MikolajGasior


text:
Error Displaying

Occasionally, an error may happen on the client due to many various reasons. The most common places for errors is in the login screen, where the user could do things like enter an invalid username or mistype a server name in "other".
Right now, a very short and incomplete error message is being displayed via console.log. Ideally, a big red box should be shown on the screen with the error message written over it, and an "Okay" button at the bottom. This could probably be achieved with Modals.

A Modal would look good. Main thing I think would be to get a detailed/more complete error message. Are most of the errors non-Cardshifter specific (e.g., not from the server or client code directly)?

@Phrancis It really depends on the scene. With the new login checking, the login screen would have a lot of errors from the server. However, the lobby screen's errors come from the client itself. For example, the user would see an error if they did not choose a mod before clicking "deck builder".

Maybe #30 and this would go well together? Perhaps if an error occurs, we could have a pop-up/modal saying "An error has occurred; see the Console for details." [View] [Dismiss]
And upon clicking [View] just bring up the console the same way we will with the console button? After we identify some of the principal errors we could probably make some client-side formatting to help users understand what they mean, along with "You could try this: ..."

I don't think we need to write error messages to "our" console. My experience of the HTML Client right now is that there are very few error messages. Those error messages that exist (primarily in the login screen, as mentioned), would probably be best solved with a modal.

Modals can get a little complicated, depending on the situation. It might be easier to use Sweet Alert.
An error could be simply displayed with something like swal("Error!", "Invalid username: cannot contain [more text]", "error")

Fixed

authors: Phrancis SirPython Zomis

repo: Cardshifter/HTML-Client


text:
Add SNS CreatePlatformEndpoint

I just wanted to start a discussion about adding in this API since I had to fork/add this for a personal project. If you're interested in merging it in, let me know what else I should provide. :)
http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformEndpoint.html

Hey there! I really appreciate this. As you see the overall approach on master has changed some. I'm gonna close this for now but please feel free to re-open with the code on master. It should be a very easy change.
Thank you!


text:
Fix presigned URL port handling

This PR fixesS3.presigned_url/4 and friends so that they respect a port specified in the S3 config.
Fixes #363.

Thanks!


text:
no_std support

It would be very useful for this crate to be usable in no_std environments. At a glance, the only hard requirement I see in the crate is really alloc, so it could be more lax about requiring the whole std support. That would allow uses in bare-metal and wasm.

Great suggestion! I'm looking into it. WASM would be especially fun.
I recently removed support for 16-bit architectures. I suppose I should put that back in if people might want to run this on a microcontroller.

I have a branch working in WASM now. That mostly required moving crate 'rand' to dev-dependencies.
I tried getting no_std working, but it uses itertools extensively - including .tee() and .kmerge_by() which are only available with itertools std (details). [I'm testing with QEMU as explained by the Rust Embedded Book.] If anyone would really like it on no_std, let me know what features you need. I may keep looking if I can remove some features and make it no_std.
I assume making it WASM-compatible is useful even if it doesn't work on bare metal, yes?

I assume making it WASM-compatible is useful even if it doesn't work on bare metal, yes?

Yes! I mentioned embedded mostly because it's an interesting use case, but WASM is actually something that I could use right now :)

The crate now supports no_std for both WASM and embedded.
I also wrote an article about how to port packages to make them no_std.

authors: CarlKCarlK Oppen

repo: CarlKCarlK/range-set-blaze


text:
[enhancement] Add app settings to backup

do after reworking backup

Not happening due to settings changing and removing.  This would cause more headaches then worth

repo: CarlosEsco/Neko


text:
[Feature Request] Start and end dates in tracking menu

The ability to add or change start and end dates in the tracking menu.
This would be a nice feature because then you wouldn't have to leave the app if you want to change start or end dates.
This is also already in the stock tachiyomi.

This has also now been added to j2k so I assume it will be added to neko sometime soon.

Has now been added to neko


text:
Creating a visualization from a dataset view doesn't refresh the UI

only does it after refreshing the page.
Important to fix @javisantana  @Kartones @juanignaciosl

Cannot reproduce in live.
Having 'https://team.cartodb.com/u/kartones/tables/TABLENAME', I click on "Visualize" and I correctly go to https://team.cartodb.com/u/kartones/viz/VIS_ID/table.
Maybe something related with new modals? I don't have them active, so will try

Having new_modals flag enabled:
From Dataset view, I click "publish" -> "Ok, create a map", the url changes to https://team.cartodb.com/u/kartones/viz/VIS_ID/table and if I click cancel I'm already at the Map view.
So, for me this is the expected behaviour and everything is normal.
If fails to you please reopen & provide me with detailed instructions of how to reproduce, expected and actual behaviour and if there's any other special feature flag I should have activated.

It fails. You are not getting the details UI related on this. Gonna show to @xavijam

Taking care of it,

Seems like we have VISUALIZE - PUBLISH button always as "publish", no matter if it is a dataset or map view. Should we change or leave it as it is?
Dataset:

Map:

Yep thats a bug
On Jun 1, 2015 12:04 PM, "Javier Álvarez Medina" notifications@github.com
wrote:

Seems like we have VISUALIZE - PUBLISH button always as "publish", no
matter if it is a dataset or map view. Should we change or leave it as it
is?
Dataset:
[image: screen shot 2015-06-01 at 12 02 04]
https://cloud.githubusercontent.com/assets/132146/7910569/355eea1e-0856-11e5-9731-9b61d7408ec8.png
Map:
[image: screen shot 2015-06-01 at 12 04 09]
https://cloud.githubusercontent.com/assets/132146/7910580/5489d2e6-0856-11e5-9567-1d332d7818cd.png
—
Reply to this email directly or view it on GitHub
https://github.com/CartoDB/cartodb/issues/3825#issuecomment-107386415.

authors: Kartones saleiva xavijam

repo: CartoDB/cartodb


text:
Extra tweets switch displayed in organizations without Twitter datasource

In organizations without Twitter datasource "Extra tweets" switch is displayed at "new user" page, I think it shouldn't.
@xavijam please confirm this is not on purpose and I'll fix it.

Not in purpose, fix it :)

authors: juanignaciosl xavijam


text:
Widget inputs get broken when being on the widget edit view and filtering values on that widget

STR

Add a widget, go to the widget edit view.
Filter using that widget-
You will get that error.

After going back and enter on the widget options again, everything is ok.

getting traction


text:
Disable MFA on skip

Closes #14447

Acceptance 🍏

authors: alrocar gonzaloriestra


text:
Remove debug trace

@Kartones please CR. I don't think this needs to wait for tests

Frontend tests were OK :+1: (details)

:+1:

authors: Cartofante juanignaciosl rafatower


text:
Remove tables_count deprecated field

Fixes #4127

@ethervoid CR please

Frontend tests were OK :+1: (details)

:+1:

authors: Cartofante Kartones ethervoid


text:
New enabler-editor component

It enables/disables the right editor component. Already tested with Number, String, and Select components.

Select:

String:

Number:

Way to use it, when schema is set:
…
   enabler: {
      type: 'EnablerEditor',
      title: '', // Needed in order to "hide" that part
      label: 'whatever', // label instead of title
      editor: {
         type: 'Select',
         options: ['wadus', 'harr', 'aliño'],
         editorAttrs: {
            showLabel: false
         }
      }
   },
…

Fixes #8794.
CR: @javierarce

Sooo sweeet

Could you take a look @javierarce please?

Looking at it…

👍 💃 💃 💃

authors: javierarce saleiva xavijam


text:
Add offline search sample

I think 3 languages would be enough: swift,kotlin,c#. For exact data/features suggestions are welcome. One example "find gas stations near route from vector tiles (which are already downloaded)" - as extra feature to offline routing. Or download geojson data from CARTO SQL API public table for similar case.

I added a basic Kotlin sample (AdvancedMapKotlin branch) - it allows to specify route via endpoints and the sample finds 'attractions' within 500m radius of the route.

authors: jaakla mtehver

repo: CartoDB/mobile-sdk-samples


text:
Remove duplicate features in different vector tile sources

Hello,
I have two vector tile sources, with one having a higher priority and being displayed on top of the other. I am seeking a solution to remove all features (points) that are present on the higher level tile from the lower level tile dynamically, since the higher level data changes periodically. How can I do this?
Thanks

Hi. I see two options here:
If you simply want to hide features while rendering, you can perhaps use 'MarkerSymbolizer' with 'allow-overlap: false' attribute. The problem here is that this hides all overlapping points, even when they are not the same.
The second options is to simply update features of your vector tile data sources to ensure that there are no overlapping points.

authors: mtehver safe-bug

repo: CartoDB/mobile-sdk


text:
InputStream Adaptive: OpenDRMSystem failed

Bug report
Your Environment

Netflix add-on version:
Operating system version/name:
Device model:

Used Operating system:

[ ] Android
[ ] iOS
[ √] Linux
[ ] OSX
[ ] Raspberry-Pi
[ ] Windows

Describe the bug
Videos don't start
Possible fix

Debug log
2020-12-14 20:00:50.939 T:3601183616   ERROR: [script.module.inputstreamhelper] [u'ldd', u'/storage/.kodi/cdm/libwidevinecdm.so'] cmd failed.
2020-12-14 20:00:50.940 T:3601183616   ERROR: [script.module.inputstreamhelper] Failed to check for missing Widevine libraries.
2020-12-14 20:00:50.941 T:3601183616   ERROR: EXCEPTION: Invalid setting type
2020-12-14 20:00:50.942 T:3601183616  NOTICE: [script.module.inputstreamhelper] Widevine update check was made on 2020-12-14 19:42
2020-12-14 20:00:50.966 T:4086661136  NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.netflix/play/show/81159258/season/81194183/episode/81205770/?profile_guid=6NPVJR6F5ZG3JDTOOO66AFDPZI
2020-12-14 20:00:50.967 T:3575554944  NOTICE: Creating InputStream
2020-12-14 20:00:50.983 T:3575554944   ERROR: GetDirectory - Error getting /usr/lib/kodi/addons/inputstream.adaptive/
2020-12-14 20:00:51.081 T:3575554944   ERROR: AddOnLog: InputStream Adaptive: Unable to load widevine shared library (/storage/.kodi/cdm/libwidevinecdm.so)
2020-12-14 20:00:51.082 T:3575554944   ERROR: AddOnLog: InputStream Adaptive: OpenDRMSystem failed
2020-12-14 20:00:51.083 T:3575554944   ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.netflix/play/show/81159258/season/81194183/episode/81205770/?profile_guid=6NPVJR6F5ZG3JDTOOO66AFDPZI]
Additional context or screenshots (if appropriate)
Installation

[√ ] I'm using other Netflix Repo
[ ] I'm using a different source

Other information

Screenshots

why“getting /usr/lib/kodi/addons/inputstream.adaptive/”，not“/storage/.kodi/addons/inputstream.adaptive”

having the same error on corelec after updating to latest widevine
reverting to previous cdm resolves it, but you cannot revert on new installs

reverting to previous cdm resolves it, but you cannot revert on new installs

And this looks like is my problem. Just installed fresh today (v1.12.0) and can not play any video. :disappointed:

same here

netflix just stopped working out of nowhere. I click  on the video then it shows a loading animation during like 5 miliseconds and the nothing just back to video choosing screen

refer to https://github.com/CastagnaIT/plugin.video.netflix/issues/988


text:
Species count on higher taxa in tree API

In the existing CoL portal theres a species count on all higher taxa in tree.
This is probably calculated once when the release is done. Is it possible to have species counts in the tree api, at least on released catalogues ?

Yes, for all datasets that are static this can be done. I would then also precalculate numGenus, numSpecies, numInfraspecies & numDescendants. How to know that a dataset is immutable still needs thinking. Maybe instead of datasetType a managed or immutable flag? In that case the MANAGED datasetType is not needed anymore.

duplicate of #834

authors: mdoering thomasstjerne

repo: CatalogueOfLife/backend


text:
Updated clarity in wording about token limits

I've simply changed the message asked when the user is asked for their token limit to provide more clarity as to what kind of information we want from the user.
Prevents errors coming up like:
Introduce your OpenAI API key:
// my config key
? How many tokens you want as a limit? More info here https://openai.com/api/pricing:

Me proceeding to calculate the exact amount of tokens I'd like to use as my limit*
Tries that number, makes a message:
? What do you want to ask?
Asking GPT... How can an AI text generator provide insights into areas of medicine and law that are difficult for humans to comprehend?
OpenAI API error:
{
  error: {
    message: 'Rate limit reached for default-text-davinci-003 in {/*my-organisation-id*/} on tokens per min. Limit: 250000.000000 / min. Current: 25000000.000000 / min. Contact support@openai.com if you continue to have issues.',
    type: 'tokens',
    param: null,
    code: null
  }
}

And receiving something like that ^

Hey @lk11601 that's a great new message! Thanks for the help and taking the time to update the repo 🎉


text:
Pygeostat 1.1.1 failing to import

I have been using pygeostat since 2020 and have never had any issues until right now.  I am getting an error when attempting to import pygeostat into a notebook.  I uninstalled and installed pygeostat on my environment and when I re-installed I got this message:
DEPRECATION: pygeostat 1.1.1 has a non-standard dependency specifier matplotlib>=2.2.*. pip 24.0 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of pygeostat or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at https://github.com/pypa/pip/issues/12063

I am getting the same issue. Could you fix it?

No I never could.  I talked to the individuals there and they are no longer
supporting it as their time is fully invested in the RMS software.  I tried
installing a previous version of matplotlib to see if that would fix the
"deprecation" issue but I just kept getting more issues attempting to
install the older matplot versions..... If you figure anything out let me
know please.  Thanks
On Sun, Jul 21, 2024 at 7:55 AM cmpassos @.***> wrote:

I am getting the same issue. Could you fix it?
—
Reply to this email directly, view it on GitHub
https://github.com/CcgAlberta/pygeostat/issues/49#issuecomment-2241638387,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BIRE5VXLBS74HW3FI6GKBYTZNPDUNAVCNFSM6AAAAABH2OE6WCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRGYZTQMZYG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

I made a patch for this: https://github.com/CcgAlberta/pygeostat/commit/2305a49bd3be23557180a2d08d1eb91a6db09985

authors: attilalr bennyBaroo cmpassos

repo: CcgAlberta/pygeostat


text:
🛑 HomeAssistant is down

In cbe854f, HomeAssistant (https://ha.hiripple.com) was down:

HTTP code: 530
Response time: 49 ms

Resolved: HomeAssistant is back up in 7c70918 after 10 minutes.

repo: CelestialRipple/ripplelog


text:
🛑 Alist is down

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

HTTP code: 502
Response time: 194 ms

Resolved: Alist is back up in 4749978 after 33 minutes.


text:
🛑 Nextcloud is down

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

HTTP code: 530
Response time: 88 ms

Resolved: Nextcloud is back up in 02a9bb3 after 33 minutes.


text:
🛑 Nextcloud is down

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

HTTP code: 530
Response time: 83 ms

Resolved: Nextcloud is back up in 813016b after 21 minutes.


text:
[feature] Pytest Conversion: Application (detail, list, reset) [OSF-8018]

Purpose

Conversion of API tests to Pytest
Increase in performance
Changes

Pytest conversion of test_application_detail.py, test_application_list.py, test_application_reset.py
Grouping of tests within test_application_detail.py
Added assert_dict_contains_subset to api_tests/utils.py
Side effects

None known.
Ticket

https://openscience.atlassian.net/browse/OSF-8018
QA Considerations
None known.
Test Validation
Change: api_tests/applications/test_application_detail.py
Modification: assert res.status_code == 404
Modification Rational: Shows that the test is testing the right thing by verifying that it returns the right 4** error message
Expected Result: returned 409 not 404
Result: E   assert 409 == 404
Test(s) Broken:
test_update_application_incorrect_type(self)
Change: api_tests/applications/test_application_list.py
Modification: assert len(res.json['data']) == len(self.user_one_apps) + len(self.user_two_apps)
Modification Rational: Shows that the test is testing the right thing by making sure a user can't see more than their number of apps.
Expected Result: # != # + #
Result: E   assert 3 == (3 + 2)
Test(s) Broken:
test_user_one_should_see_only_their_applications
Change: api_tests/applications/test_application_reset.py
Modification: assert res.status_code == 404
Modification Rational: Shows that the test is testing the right thing by verifying that it returns the right 4** error message
Expected Result: returned 403 not 404
Result: E   assert 403 == 404
Test(s) Broken:
test_other_user_cannot_reset

Looks good! The test failure is unrelated to these changes.

authors: Nesiehr sloria


text:
Linter view question

Hey, on the extension on description and picture, it shows the twig errors being displayed from the "problem section":

However on VScode it looks like this:

Is there something I can do to change that? Since the error message doesn't disappear like other linter tools once I make the change

Hi @Adrian-Samuel
I may have an idea about the cause of this problem. I will do different tests and push an update.
Thanks for your issue.

Hey @Cyril!
Thank for looking into this! :) Looking forward to it :D
Kind Regards,
On Wed, May 2, 2018 at 5:36 PM Cyril Soulliage notifications@github.com
wrote:

Hi @Adrian-Samuel https://github.com/Adrian-Samuel
I may have an idea about the cause of this problem. I will do different
tests and push an update.
Thanks for your issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Cerzat43/vscode-twigcs/issues/7#issuecomment-386041076,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AeDpPEVhx_bpH9B87YUgJZAATYm1RQzfks5tueClgaJpZM4TqpBd
.


text:
Globe anchor position out of sync after programmatic creation

Performing some testing in main post https://github.com/CesiumGS/cesium-omniverse/pull/594.
The globe anchor script featured in https://cesium.com/learn/omniverse/omniverse-placing-objects/ no longer works as expected.  Working fine in https://github.com/CesiumGS/cesium-omniverse/commit/a2dc0ef28ce3be30a99272418ccdeb6217351b20, broken as of https://github.com/CesiumGS/cesium-omniverse/commit/bd9d2d25a77e596f75d64b37fe247a8e58fa01a5
Script copied below for records.
import omni.kit.commands
import omni.usd
from pxr import Sdf, UsdGeom, Usd
from cesium.omniverse.api.globe_anchor import anchor_xform_at_path
from asyncio import ensure_future

trees = [
	{"name":"tree_01","latitude":37.79130, "longitude":-122.39032,"height":-28.88791},
	{"name":"tree_02","latitude":37.79114, "longitude":-122.39018,"height":-28.88791},
	{"name":"tree_03","latitude":37.79147, "longitude":-122.39042,"height":-28.88791},
	{"name":"tree_04","latitude":37.79167, "longitude":-122.39053,"height":-28.88791},
]

context = omni.usd.get_context()
stage = context.get_stage()

async def add_trees():
	for t in trees:

		# Create the prims name
		payload_prim_path = "/World/"+t["name"]

		# Create the prim for the payload
		payload_prim: Usd.Prim = UsdGeom.Xform.Define(stage, Sdf.Path(payload_prim_path)).GetPrim()

		# Add the tree payload to the prim
		omni.kit.commands.execute("AddPayload",
			stage=stage,
			prim_path = payload_prim_path,
			payload=Sdf.Payload(
				assetPath = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Vegetation/Plant_Tropical/Cuban_Royal_Palm.usd",
				primPath = Sdf.Path.emptyPath
			)
		)

		# Add a Cesium Globe Anchor
		anchor_xform_at_path(payload_prim_path)

		# Wait a frame to allow notifications to complete
		await omni.kit.app.get_app().next_update_async()

		# Set the latitude, longitude and height for the tree
		payload_prim.GetAttribute("cesium:anchor:geographicCoordinates").Set(
			(t["latitude"], t["longitude"], t["height"])
		)

ensure_future(add_trees())

As of https://github.com/CesiumGS/cesium-omniverse/pull/594, the tree objects are situated at 0,0,0, instead of being located at the correct location based on the globe anchor lat/lon/height.
Each globe anchor appears to have the correct lat/lon/height set in the prim properties window, but this hasn't translated to the correct location on the globe.  If the user manually updates one of the values, it will sync correctly.  Video below.
https://github.com/CesiumGS/cesium-omniverse/assets/123468416/dc054e7e-854c-4d6a-be14-f7a98ba347e4
If I remove await omni.kit.app.get_app().next_update_async(), then the trees are at the correct location, however they are scaled and rotated incorrectly, which appears to be the same issue as https://github.com/CesiumGS/cesium-omniverse/issues/539

Likewise, updating anchor_xform_at_path(payload_prim_path) to anchor_xform_at_path(payload_prim_path,t["latitude"], t["longitude"], t["height"]) and removing the subsequent payload_prim.GetAttribute("cesium:anchor:geographicCoordinates").Set() results in the same incorrect scale and rotation outcome.

If I remove await omni.kit.app.get_app().next_update_async(), then the trees are at the correct location, however they are scaled and rotated incorrectly, which appears to be the same issue as https://github.com/CesiumGS/cesium-omniverse/issues/539

That's good at least. await omni.kit.app.get_app().next_update_async() was the part I was hoping wouldn't be needed after https://github.com/CesiumGS/cesium-omniverse/pull/594. I'll still need to investigate the other bugs though.

Confirmed that this is fixed in #626. I had to modify the script a bit since anchor_xform_at_path was removed.
import omni.kit.commands
import omni.usd
from pxr import Sdf, UsdGeom, Usd
from asyncio import ensure_future
from cesium.usd.plugins.CesiumUsdSchemas import (
    GlobeAnchorAPI as CesiumGlobeAnchorAPI
)

CESIUM_GEOREFERENCE_PRIM_PATH = "/CesiumGeoreference"

trees = [
    {"name":"tree_01","latitude":37.79130, "longitude":-122.39032,"height":-28.88791},
    {"name":"tree_02","latitude":37.79114, "longitude":-122.39018,"height":-28.88791},
    {"name":"tree_03","latitude":37.79147, "longitude":-122.39042,"height":-28.88791},
    {"name":"tree_04","latitude":37.79167, "longitude":-122.39053,"height":-28.88791},
]

context = omni.usd.get_context()
stage = context.get_stage()

async def add_trees():
    for t in trees:
        # Create the prims name
        payload_prim_path = "/World/"+t["name"]

        # Create the prim for the payload
        payload_prim: Usd.Prim = UsdGeom.Xform.Define(stage, Sdf.Path(payload_prim_path)).GetPrim()

        # Add the tree payload to the prim
        omni.kit.commands.execute("AddPayload",
            stage=stage,
            prim_path = payload_prim_path,
            payload=Sdf.Payload(
                assetPath = "http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Vegetation/Plant_Tropical/Cuban_Royal_Palm.usd",
                primPath = Sdf.Path.emptyPath
            )
        )

        # Add a Cesium Globe Anchor
        globe_anchor = CesiumGlobeAnchorAPI.Apply(payload_prim)
        globe_anchor.GetGeoreferenceBindingRel().AddTarget(CESIUM_GEOREFERENCE_PRIM_PATH)

        # Wait a frame to allow notifications to complete
        await omni.kit.app.get_app().next_update_async()

        # Set the latitude, longitude and height for the tree
        globe_anchor.GetGeographicCoordinateAttr().Set((t["latitude"], t["longitude"], t["height"]))

ensure_future(add_trees())

Technically next_update_async() isn't needed anymore and the correct way to add globe anchors is in https://github.com/CesiumGS/cesium-omniverse/issues/539#issuecomment-1908897209. But still, this shows that you can set globe anchor coordinates after initialization and it updates correctly. You can also assign the georeference in any order and it works.
I'm seeing the same orientation issue as https://github.com/CesiumGS/cesium-omniverse/issues/539#issuecomment-1908897209, which is unsurprising.

authors: lilleyse r-veenstra

repo: CesiumGS/cesium-omniverse


text:
Rich text block image decorators don't show up in latest versions of plugin

Using a rich text block and an image decorator, you can set up a way to show images in-line with text as described in the UMG Rich Text Block documentation.
In the latest versions of C4U (v1.15 and up) the image shows in PIE and everything's working as expected. However, in packaged games (tried with shipping and DebugGame), the image does not show. Rather, the HTML tag shows, e.g. <img id="logo"/>
In a prior version of C4U (v1.10.1) the image does show properly in both contexts.
I uploaded an example project for reproducing the issue. If you use plugin version v1.10.1 and package the samples project, you'll see:

In v1.17.0, you'll see:

as a clue, I'm seeing the following error:
LogSlateStyle: Warning: Unable to find Slate Widget Style 'img'. Using FTextBlockStyle defaults instead.
In a conversation with Epic, their engineer said:

It looks like the 'img' is being treated as a style name from the style table instead of being recognized as a decorator. It's not immediately clear how a plugin would be causing the decorator class to be missing or unrecognized, you could drop some breakpoints in URichTextBlockImageDecorator to see if it's functions are being called (meaning it exists but isn't finding the image) or if it's missing altogether. The Supports function in there will return false if a matching brush isn't found and will fall back to looking for a style, you could set bWarnIfMissing to true to log out warnings whenever the decorator looks for a specific image and doesn't find it.

@joseph-kaile can you please take a look at this one?

authors: kring xuelongmu

repo: CesiumGS/cesium-unreal


text:
Use ES6 template literals instead of string concatenation

For the 3D Tiles Next/ModelExperimental changes I've been working on, it would be very helpful to have ES6 string template literals for dynamic shader code generation. This was easy to do by enabling the eslint prefer-template rule and running npm run eslint -- --fix
In the discussion from #10066, we decided that if we're to make this change at all, it's best to do it to the entire codebase to avoid fragmentation, so I made this PR, using https://github.com/CesiumGS/cesium/pull/10026 as a guide.
There are 3 commits:

Update eslint config
Small update to the Coding Guide
use eslint to fix the code

@ggetz could you review?

Thanks for the pull request @ptrgags!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

Thanks @ptrgags! Looks good. Could you write up a post similar to the instructions for merging let and const? It could even be in the same thread (and I can change the title) to keep ES6 syntax changes in the same place, but I'll leave it up to you.

@ggetz ah good to hear we reached the same conclusion about putting the instructions in the same forum thread to keep everything in one place and in the correct order.
I posted a comment with instructions for this change.

authors: cesium-concierge ggetz ptrgags

repo: CesiumGS/cesium


text:
Remove thirdparty pako.js

we should import pako directly from node_modules. https://github.com/CesiumGS/cesium/issues/10568

Thanks for the pull request @nshen!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

:grey_question: Changes to third party files were made.

Looks like a file in one of our ThirdParty folders (ThirdParty/, Source/ThirdParty/) has been added or modified. Please verify that it has a section in LICENSE.md and that its license information is up to date with this new version.

:grey_question: Unit tests were not updated.

Make sure you've updated tests to reflect your changes, added tests for any new code, and ran the code coverage tool.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

Thanks @nshen!

authors: cesium-concierge ggetz nshen


text:
[Lab-2] Add cyclic slider & timer

Alexey Nominas

Принял, 14 баллов.
Для if стоит везде явно выделять область, т.е выделять фигурными скобками. Так более читаемо.
В нескольких местах можно избавиться от if / else, используя return (это сделано в некоторых местах). Else лучше стараться не использовать, так как код становится более вложенным


text:
Render swagger-ui on root endpoint in rest api

It would be nice instead of 404 to render swagger-ui on http://localhost: to load swagger-ui with our server as primary server url.
Until we release spec, we should probably bundle spec into single file and ship it along.
There is some fastify plugin for that probably

Do you want to bundle up with the beacon chain code the swagger UI, or add it to our CI pipeline publicly like https://api.prylabs.network/ ?

I think it would be useful to bundle it. cc @wemeetagain

My preference is to not bundle it, or somehow only optionally bundle it for debugging.
This is likewise to not bundling graphiql during production, but using it during development/debugging scenarios.

Other clients don't bundle it up. Should this still be pursued? If we follow https://github.com/ethereum/eth2.0-APIs strictly is it necessary to maintain our own swagger UI?

As I compromise, we could add redirect from lodestar api base url to https://github.com/ethereum/eth2.0-APIs .
It would be REALLY nice if we could pass server url somehow. That said, we are missing /eth prefix on all routes
for https://github.com/ethereum/eth2.0-APIs to be effective

Would like this feature behind a CLI flag.

Resolved with #5970

authors: dapplion mpetrunic wemeetagain

repo: ChainSafe/lodestar


text:
State for currentJustifiedCheckpoint not available

Describe the bug
Got this error while syncing:
Oct-13 06:18:06.629 [CHAIN]           error: State for currentJustifiedCheckpoint not available, using closest state checkpointEpoch=1230, checkpointRoot=0xd91739c32a919ec322926368a5c34155f1492578876c282dc505ca341f5dc0e9, stateSlot=9841, stateRoot=0x169e6840c5e75878689b5344c085b749dba1a444ede326979cae542fd7dfad00

Expected behavior
No error

This is because we don't store checkpoint state for epoch with skipped slot in the current implementation, it's implemented here https://github.com/ChainSafe/lodestar/blob/v0.30.0/packages/lodestar/src/chain/blocks/stateTransition.ts#L79
Whenever we pass checkpoint, we should store it in the checkpoint state cache because that checkpoint state may become justified/finalized state later and we need it.
@dapplion could you confirm this?

Closing for https://github.com/ChainSafe/lodestar/issues/4005
This specific case is mitigated by a flexible fn that tolerates that specific state not being avail
https://github.com/ChainSafe/lodestar/blob/fd6f7020a048e624b6567d46d50d3011afdd55e7/packages/lodestar/src/chain/blocks/importBlock.ts#L267

authors: dapplion tuyennhv


text:
Winston log file rotation should clean old .log files

Describe the bug
In some of our deployed servers there are very old .log files. Seems like the file rotation logic only cleans contiguous files to the expected dates, such that if the server is offline for some days old files won't be cleaned at all.
Log files with debug level can weight 800MB / day on beacon, so this is very significant
Expected behavior
Always retain the max number of files specified. Add a garbage collection routine on boot and clean old files

as of Dec 2022 (v1.2.2) the log file is about 133MB per day, the issue is still there, for example
-rw-r--r-- 1 devops devops       945 Dec 26 00:00 .log_rotate_audit.json
-rw-r--r-- 1 devops devops  78134097 Nov 12 23:59 beacon-2022-11-12.log
-rw-r--r-- 1 devops devops  70740005 Nov 13 23:59 beacon-2022-11-13.log
-rw-r--r-- 1 devops devops  74233605 Nov 14 23:59 beacon-2022-11-14.log
-rw-r--r-- 1 devops devops  72178266 Nov 15 23:59 beacon-2022-11-15.log
-rw-r--r-- 1 devops devops 133587672 Dec 22 23:59 beacon-2022-12-22.log
-rw-r--r-- 1 devops devops 134221811 Dec 23 23:59 beacon-2022-12-23.log
-rw-r--r-- 1 devops devops 130911699 Dec 24 23:59 beacon-2022-12-24.log
-rw-r--r-- 1 devops devops 131592646 Dec 25 23:59 beacon-2022-12-25.log
-rw-r--r-- 1 devops devops  41074529 Dec 26 07:30 beacon-2022-12-26.log


text:
Remove @ts-ignore usage

Remove @ts-ignore usage that do not require big changes. I would love for @wemeetagain or experienced devs in this codebase to check if there's a reasoning for some of the @ts-ignore occurrences that I might be missing

@mpetrunic Can you take a look at these type errors? I'm not familiar with pouch DB

https://github.com/ChainSafe/lodestar/pull/1066/checks#step:5:381
https://github.com/ChainSafe/lodestar/pull/1066/checks#step:5:384

@mpetrunic Can you take a look at these type errors? I'm not familiar with pouch DB

https://github.com/ChainSafe/lodestar/pull/1066/checks#step:5:381
https://github.com/ChainSafe/lodestar/pull/1066/checks#step:5:384

I can check on monday. Maybe pouchdb types aren't match for pouchdb version we are using

I can check on monday. Maybe pouchdb types aren't match for pouchdb version we are using

We are using
"pouchdb-adapter-memory": "^7.0.0",
"pouchdb-core": "^7.0.0",

And types
"@types/pouchdb-adapter-memory": "^6.1.3",
"@types/pouchdb-core": "^7.0.6",

@types/pouchdb-adapter-memory is at its latest version so maybe it has not been updated for the latest major version. However the conflicting types come from @types/pouchdb-core

I think ts-ignores are mostly in tests or in places where we had bad types but were too lazy to fix them (especially libp2p parts)

Right, that's my understanding. Vast majority of ts-ignores should/can be removed with a bit of work.
I can only think of one reason for ts-ignore, which you've already encountered, dynamic events which can't be typed.
RE: pouchdb, seems like the declared types are just wrong. I'd be interested in revisiting if we even need the extra layer of DB abstraction, perhaps purging pouchdb and using level exclusively and concretely.

@wemeetagain  So for this PR would you recommend reverting the pouch DB commits and leave that part untouched?

Yeah, I think we can visit that separately. Will make an issue now

Besides for dynamic events, the other area where @ts-ignore is used and may be concerning is here
https://github.com/ChainSafe/lodestar/blob/7f69a144dcdc3b4c00f25d6c87ff8ae3c5aee24a/packages/lodestar-types/src/ssz/generators/index.ts#L30-L39
Do you think it's worth it to try to fix it?

Ah, not opposed to trying, that section of code is likely a little confusing to outside observers. The ts-ignore doesn't help.
Here, we're creating a big object of SSZ type objects, IBeaconSSZTypes, but there is a tree of heirarchy, where some type objects rely on other objects existing.  The reason we're ts-ignoring here is that we're using a list of object names, typeNames: string[], which is sorted in this 'dependency order'. And IBeaconSSZTypes is not able to be dynamically indexed by strings. Perhaps if we say types[type as keyof IBeaconSSZTypes]or declaretypeNamesaskeyof IBeaconSSZTypes`. Or there might be some other way you know of.

@wemeetagain Everything seems okay to merge, it's the labeler that failed because the source branch comes from a fork


text:
Implement aggregated attestation pool

Motivation

We implemented aggregated attestation pool as a repository and it includes so many redundant attestations in lodestar proposed block
This issue was found in altair-devnet-1

Description
Implement aggregated attestation pool referring to other client's implementation:

Partition aggregated attestations by slot and attestation data
Preaggregate attestation if there is no intersection regarding attestingIndices (or aggregationBits) to maximize profit
Use attestingIndices instead of aggregationBits for better performance
Remove attestations from seen attestations that are included in block chain
Validate all attestations before we include in block
Sort attestations by inclusion distance, then by number of attesters
Prune per slot
api should use it instead of the unaggregated attestation pool
Remove aggregationAndProof repository

Closes #2845
Test
Tested with prater by the api

An aggregateAndProof is valuable during ~2 epochs. If our node restarts are we okay losing that data? We may want to consider persisting the opPool to disk on shutdown via a close() hook or with an abort signal, then restoring on start-up. Maybe we can defer doing that in another PR but keep it in mind during the design of the data structures

An aggregateAndProof is valuable during ~2 epochs. If our node restarts are we okay losing that data? We may want to consider persisting the opPool to disk on shutdown via a close() hook or with an abort signal, then restoring on start-up. Maybe we can defer doing that in another PR but keep it in mind during the design of the data structures

with the current good network condition, a block only contains attestations voting for previous block like in https://www.beaconcha.in/block/1660479#attestations because attestations in pool are all seen by chain
when we restart, it takes > 1 minute to search for peers, then syncing... then Synced, all of attestations in pool would be old and not valuable anymore even if we restart immediately. In addition, the possibility to publish a block right after we restart is so low.

I just changed the strategy to only filter attestations in pool when we produce a block. TODOs:

[ ] Implement getAttestationsForBlock for phase0, this is low priority since we're close to altair. It's mainly for the e2e.
[ ] Test with altair-devnet-1
[x] Performance test shows that it takes 60ms - 80ms to run getAttestationsForBlock()

@tuyennhv I've applied some revisions on top of your branch. Didn't had time to update the tests, please if you accept my changes update those.

Remove the need to get head state on API pool attestations
Apply validateAttestation conditions once per slot instead of once per attestation
Limit the max number of attestations per group
Filter out attestations based on participation without persisting the result in the pool. We may propose blocks in differents forks so this is not something we want to persist.

I'm very curious to know what's the pattern of attestations in the pool, how does participations looks like? i.e. do we have attestations with wide participation that barely overlap each other,

or smaller attestations like the diagram below?

We should run some tests after merging this branch and tune the constants for the behaviour we see fit.

Thanks for the commits.

I'm very curious to know what's the pattern of attestations in the pool, how does participations looks like? i.e. do we have attestations with wide participation that barely overlap each other,

having a look at https://www.beaconcha.in/block/1682189#attestations , I don't see attestations that overlap much each other, however there are some attestations with only 1-2 participations
however, an inspection from prater shows that it's common to have attestations with a lot of overlapped aggregationBits like:
0xdb5c476cfe355b7fffffbedbcadeddaf07
0xdb5c476cfe355b7fffffbedbcadfdd2f07
0xdb5c476cfe355b7fffffbedbcadfddaf07
0xdb5c476cfe357b7fffffbedbcbdfddaf07

Given MAX_ATTESTATION=128 and 64 committees, we should include only 2 of them at most, or perhaps only the best one (similar to what I see on mainnet)


text:
fix: ignore noisy eventstream errors due to DNS resolution errors

Motivation
This is similar to ECONNREFUSED if connected beacon node is offline and happens mostly in docker-based setups if container is stopped / crashed.
Description
Ignore noisy eventstream errors due to DNS resolution errors
E.g. error: Failed to receive head event - getaddrinfo EAI_AGAIN consensus

:tada: This PR is included in v1.21.0 :tada:

authors: nflaig wemeetagain


text:
feat: add strategy support for state archives

Motivation
Make the state-archive process more generic so we can extend in future.
Description

Make the state-archive process to generic
Add feature flag to the cli to select a strategy

Steps to test or reproduce

Run all tests

:tada: This PR is included in v1.23.0 :tada:

authors: nazarhussain wemeetagain


text:
Unable to display image in chainlit.md

Describe the bug
I'm trying to add images in the chainlit.md file but the typical markdown syntax fails. When you use image tag (like in HTML) you'll get the image tag back in text form. When you use [alt text](image file path or url) you'll get an empty image icon with the alt text.
Expected behavior
I expected the image to render like it would on a GitHub README.MD. I did some digging of the source code and I think it might be because chainlit takes in text first and converts it to markdown.

I was able to display an image from a chainlit.md file in the latest Chainlit release, I see two potential issues:

You might be missing an exclamation point.

You can display an image by adding ! and wrapping the alt text in [ ]. Alt text is a short text equivalent of the information in the image. Then, wrap the link for the image in parentheses ().

source

You can also try to replace a relative image url with an absolute image url (like https://placehold.co/600x400/png) to make sure this is not a problem with the image location.

Let me know if you still have an issue.

I'm encountering an issue where I cannot display local images within my Markdown files. Here's a brief overview of the problem:
When using the Markdown Viewer in VSCode, the image appears. Here's the corresponding Markdown snippet:

Similarly, when processed through Chainlint, the image does not render. The Markdown snippet used is identical:

I find a walkaround.

Create a public folder in the project root directory
Put images there
Chainlit can display images in the public folder.

authors: bluerose73 snowyday tituslhy tpatel

repo: Chainlit/chainlit


text:
Start/End buttons.

Make clickable start and end buttons as a sort of menu when starting the game.

This was only for the demo and in the final game we're going to use a lever instead. Since the demo is over this issue can be closed.

authors: Chainsawkitten abdominator

repo: Chainsawkitten/LargeGameProjectEngine


text:
Fluid card columns do not respect grid boundaries

When a .col element inside a .row is also a .card.fluid, sometimes the card's fluidity does not respect the boundaries of the grid. This is more common when there is more than one fluid card in the layout and less common for single cards. The problem is most prominent with the right boundary instead of the left. Sometime the left boundary will even push itself even more to the right, meaning that the whole line moves a little bit. Further testing is required. A temporary solution has been implemented in the demo page of the main version.
Note: the way cards do responsiveness might also not be optimal, as a change from width to max-width might solve more issues than breaking changes introduced. Also, the fluid card could use a width: auto to catch some unexpected problems.

Update: Non-fluid cards seem to respond well to changes, their responsiveness is pretty decent and they introduce very few problems in reality. However, fluid cards can benefit quite a lot from the width: auto fix as they will respond a lot better than they do now.

Update: Figured out a new design paradigm for fluid cards inside col- elements: if two separate div containers are used, no card "spilling" is observed. This could be either a temporary or a permanent solution depending on the complexity of the real issue at hand.
Example

Blah blah...

However Fermion can initially release like this, as the issue is considered controlled and stable for now.

Update: The design paradigm shown above can be further improved by adding a row to prevent spillage etc.
Example

Blah blah...

Using the above example, one can use something like the style trick used in the index page to create additional styling for the fluid cards like so:
.col-sm.row > .card.fluid {
    -webkit-box-pack: start;
    -webkit-box-align: start;
    -webkit-justify-content: flex-start;
                 justify-content: flex-start;
     -webkit-align-self: auto;
                  align-self: auto;
     }

Finally, adding another col- to the fluid cards might result in the desired output, however this is still being tested.

Update: Further testing revealed that adding a col- to the fluid card introduces its own set of problems. However the row solution along with the minor style trick should be enough to deal with most of the bugs that existed before. This issue is thus considered resolved and will be mentioned in the release as a specific pattern to be followed, otherwise unstable behavior might be observed, similar to how nesting cards might work.


text:
Question about structure

Hi @Charca Thanks very much for creating this. I'm curious about the structure you've used. Did you create JSON for [slug] and index and then read them into the svelte file because that was necessary for Sapper server routes, or are those just a nice-to-have?
Thanks again!

Hey @budparr. That's the way Svelte routes work.
What you return from blog/index.json.js then is available when you fetch the blog.json endpoint from the client-side. Same with blog/[slug].json.js, only that the name of the endpoint is variable depending on the route.

authors: Charca budparr

repo: Charca/sapper-blog-template


text:
Cow: Watch talent.lowes.com

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

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

Approved by Jeff Schaller in Charcoal HQ

authors: SmokeDetector metasmoke

repo: Charcoal-SE/SmokeDetector


text:
Vickel: Watch logicmount.com

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

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

Approved by Spevacus in Charcoal HQ


text:
HyperNeutrino: Blacklist slut

HyperNeutrino requests the blacklist of the keyword slut. See the Metasmoke search here and the Stack Exchange search here.

slut has been seen in 24 true positives, 4 false positives, and 1 NAA.

Coverage remained the same at 65.273% when pulling 6c8ecc038c75222daab9c21b1db0546683ca8050 on auto-blacklist-1519400339.5166469 into 28eb69a71f512b97344c562de36c4c1c4cee7025 on master.

!!/approve

authors: SmokeDetector coveralls metasmoke teward


text:
Princess Luna: Watch new-cracks.com

Princess Luna requests the watch of the watch_keyword new-cracks\.com. See the Metasmoke search here and the Stack Exchange search here.

!!/approve

authors: SmokeDetector WELZ-gh


text:
Sonic the Bracketed Hedgehog: Watch Crypto forums sites

Sonic the Bracketed Hedgehog requests the watch of the watch_keyword Crypto forums sites. See the MS search here and the Stack Exchange search here.

Crypto forums sites has been seen in 2 true positives, 0 false positives, and 0 NAAs.

Approved by ArtOfCode in Charcoal HQ

Closing because it's easier to re-submit this PR if it's necessary than it is to do a manual resolve-and-merge - neither !!/approve nor GH's resolution editor are working here.

authors: ArtOfCode- SmokeDetector metasmoke


text:
Jeff Schaller: Watch thaisoccernews.com

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

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

Approved by Daniil in Charcoal HQ


text:
Ethan: Watch socialsites.in

Ethan requests the watch of the watch_keyword socialsites\.in. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

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

Approved by Nisse Engström in Charcoal HQ


text:
Cow: Watch gamedays.live

Cow requests the watch of the watch_keyword gamedays\.live. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

gamedays\.live has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


text:
More Components

Are you accepting the component from more users?If it is possible will you consider adding the checkout form or different cards in your library if so please let me know I will be happy to add those in the library. Please let me know

Hi shubhsk88,
Yes you can add any components of your choice, the only conditions are :

Responsive
Coded only with Tailwind CSS 2.0 classes
Filed in the right category
Design is subjective, all styles are accepted but code of the components/templates must be clean

If you want add components or templates, just do a PR and I will review it :)
I have updated the readme to explain how to create new components/templates.

Hi shubhsk88,
Yes you can add any components of your choice, the only conditions are :

Responsive
Coded only with Tailwind CSS 2.0 classes
Filed in the right category
Design is subjective, all styles are accepted but code of the components/templates must be clean

If you want add components or templates, just do a PR and I will review it :)
I have updated the readme to explain how to create new components/templates.

Thanks I will open a PR as soon as I am done with it

Thanks I will open a PR as soon as I am done with it


text:
[Bug] api 的请求网址如果有端口号，就不成功

📦 部署方式
Vercel
📌 软件版本
1
💻 系统环境
Windows
📌 系统版本
1
🌐 浏览器
Chrome
📌 浏览器版本
1
🐛 问题描述
比如 这种网址调取不行，其他软件可以正常聊天

📷 复现步骤
No response
🚦 期望结果
No response
📝 补充信息
No response

不是端口，是 http，有跨域检测

https网页，不能访问http资源，这个是浏览器限制，代码层面无法解决

authors: QAbot-zh lloydzhou mithew

repo: ChatGPTNextWeb/ChatGPT-Next-Web


text:
[Cherry Pick] Improve [Utils] Check Vision Model

[+] refactor(utils.ts): improve isVisionModel function to use array.some instead of model.includes

Thanks for your contribution!


text:
How using another Region

Hello, in initialization, this code is :
defaultRegion: REGIONS.NORTH_AMERICA,
but how can i used for EUW or another ?

Ah no sorry,
this is here => https://github.com/ChauTNguyen/kindred-api/blob/master/src/constants/regions.js

repo: ChauTNguyen/kindred-api


text:
fix(parser):  added type handler to Terraform convertBody function

Proposed Changes

Added type handler to Terraform convertBody function

I submit this contribution under the Apache-2.0 license.

LGTM

authors: cxlucas rafaela-soares

repo: Checkmarx/kics


text:
这个cesaa是什么依赖啊

试了一下我这边仓库pip下来的还是1.4.0版本所以准备自行安装一下，但是我并无在仓库内找到cesaa这个依赖是打错了嘛还是我的问题
qwq

cesaa在pypi上是存在的啊？

cesaa在pypi上是存在的啊？
自行安装的话记得先把依赖pip了（
你那边的pip镜像是什么？（

记不清了，应该是清华源？）

你换成阿里云源试试？
http://mirrors.aliyun.com/pypi/simple/

若没有后续问题就关闭issue咯？

彳亍吧，我bot主板坏了，寄修还没回来就一直没测qwq

好的没有问题了，应该是当时pip源没刷新
打扰了，非常抱歉qwq


text:
Proxy is not accepted with URL containing allowed special characters

If provide proxy as an URL containing allowed special characters it renurns error message.
Example of the such URL: http://4klkj324kl2__cr.us;anon:l2oklkr23kl@proxyprovider.com:1000
Expected behavior: accept any allowed URL.

yes this is a problem and hope to see this fixed, its a high priority

repo: CheshireCaat/browser-with-fingerprints


text:
Package not supported on M1 Macbook

I just wanted to install the package using "npm i playwright-with-fingerprints"
But i got this error:
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for browser-with-fingerprints@1.5.4: wanted {"os":"win32","arch":"ia32,x64"} (current: {"os":"darwin","arch":"arm64"})
npm ERR! notsup Valid OS:    win32
npm ERR! notsup Valid Arch:  ia32,x64
npm ERR! notsup Actual OS:   darwin
npm ERR! notsup Actual Arch: arm64

Only windows is supported


text:
Cmajor

https://sourceforge.net/projects/cmajor/

https://github.com/slaakko/cmajorm

repo: ChessMax/awesome-programming-languages


text:
Make command failed?

Not sure what's going on here. I installed Cygwin with the make package and set it as a path.
  await Whisper.nodewhisper(aFilePath, {
    modelName: "tiny.en",
    output: result + ".txt",
    verbose: true,
    removeWavFileAfterTranscription: false,
    withCuda: false,
    autoDownloadModelName: false,
    whisperOptions: {
      outputInText: true, //output in txt
      outputInVtt: false,
      outputInSrt: false,
      outputInCsv: false,
      translateToEnglish: false,
      timestamps_length: 20,
      wordTimestamps: false,
      splitOnWord: true,
    },
  });
};

I verified that aFilePath is valid, I'm pretty sure I did the setup correct. Admittedly I'm a novice. Here's the output...
[Nodejs-whisper] Error: [Nodejs-whisper] 'make' command failed. Please run 'make' command in /whisper.cpp directory.
[Nodejs-whisper] Error during processing: [Nodejs-whisper] 'make' command failed. Please run 'make' command in /whisper.cpp directory.

bump!

@Daxxboii @JustinKubicz This issue should be fixed in PR #136. Please let me know if you still face any issues.

authors: ChetanXpro Daxxboii JustinKubicz

repo: ChetanXpro/nodejs-whisper


text:
add test to cover mutation conventions + naming conventions

adds failing test to outline issue when enabling mutation conventions + custom naming conventions

Relates to #3088

Is this different from #6064?

Is this different from #6064?

Yep, #6064 was in regards to the input and payload types not using the 'GetTypeName' in the 'DefaultNamingConvention'.
I think it's due to the mutation name being picked up then being appending with Input or Payload, though unrelated to this issue.

repo: ChilliCream/graphql-platform


text:
Jwt token authorization not working

Describe the bug
Authorize directive not working with JWT
To Reproduce
Steps to reproduce the behavior:
public void ConfigureServices(IServiceCollection services)
{
      var jwtSettings = new JwtSettings();
      Configuration.Bind(nameof(JwtSettings), jwtSettings);
      services.AddSingleton<IJwtSettings>(jwtSettings);

      services.AddIdentity<NZUser, NZRole>()
        .AddEntityFrameworkStores<NomadZeteticDbContext>()
        .AddDefaultUI()
        .AddDefaultTokenProviders();

      var key = Encoding.ASCII.GetBytes(jwtSettings.Secret);
      services.AddAuthentication(x =>
      {
        x.DefaultAuthenticateScheme = JwtBearerDefaults.AuthenticationScheme;
        x.DefaultChallengeScheme = JwtBearerDefaults.AuthenticationScheme;
      })
      .AddJwtBearer(x =>
      {
        x.RequireHttpsMetadata = false;
        x.SaveToken = true;
        x.TokenValidationParameters = new TokenValidationParameters
        {
          ValidateIssuerSigningKey = true,
          IssuerSigningKey = new SymmetricSecurityKey(key),
          ValidateIssuer = false,
          ValidateAudience = false
        };
      });

      services.AddDbContext<NomadZeteticDbContext>(options =>
      {
        options.UseNpgsql(Configuration.GetConnectionString("DefaultConnection"), builder =>
          {
            builder.MigrationsAssembly("NomadZetetic.Data");
          });
      });

      services.Configure<IdentityOptions>(options =>
      {
        options.Password.RequireDigit = true;
        options.Password.RequireLowercase = true;
        options.Password.RequireNonAlphanumeric = true;
        options.Password.RequireUppercase = true;
        options.Password.RequiredLength = 6;
        options.Password.RequiredUniqueChars = 1;
      });

      services.AddScoped<IUserService, UserService>();
      services.AddGraphQL(GraphQL.Builder.BuildSchema);
      services.AddMvc();
}

public static class Builder
{
    public static ISchema BuildSchema(IServiceProvider serviceProvider)
    {
      return SchemaBuilder.New()
        .AddServices(serviceProvider)
        .AddAuthorizeDirectiveType()
        .AddType<UserType>()
        .AddType<SignInResponseType>()
        .AddQueryType<QueryType>()
        .Create();
    }
}

public class UserService : IUserService
{
    private readonly IJwtSettings jwtSettings;
    private readonly NomadZeteticDbContext dbContext;

    public UserService(NomadZeteticDbContext dbContext, IJwtSettings jwtSettings)
    {
      this.dbContext = dbContext;
      this.jwtSettings = jwtSettings;
    }

    public async Task<ISignInResponse> SignIn(string email, string password)
    {
      var passwordHasher = new PasswordHasher<NZUser>();
      var user = await dbContext.Users.SingleOrDefaultAsync(q => q.Email == email).ConfigureAwait(false);
      if (user == null)
      {
        throw new AuthenticationException("User not found");
      }

      var passwordVerificationResult = passwordHasher.VerifyHashedPassword(user, user.PasswordHash, password);
      if (passwordVerificationResult != PasswordVerificationResult.Success)
      {
        throw new AuthenticationException("Invalid password");
      }

      var tokenHandler = new JwtSecurityTokenHandler();
      var key = Encoding.ASCII.GetBytes(jwtSettings.Secret);
      var tokenDescriptor = new SecurityTokenDescriptor
      {
        Issuer = jwtSettings.Issuer,
        Audience = jwtSettings.Audience,
        IssuedAt = DateTime.Now,
        Subject = new ClaimsIdentity(new Claim[]
        {
          new Claim(ClaimTypes.Name, user.Id.ToString())
        }),
        Expires = DateTime.UtcNow.AddDays(7),
        SigningCredentials = new SigningCredentials(new SymmetricSecurityKey(key), SecurityAlgorithms.HmacSha256Signature)
      };
      var token = tokenHandler.CreateToken(tokenDescriptor);
      var accessToken = tokenHandler.WriteToken(token);
      return new SignInReponse { AccessToken = accessToken };
    }

    public async Task<INZUser> GetUserById(string userId)
    {
      return await dbContext.Users.SingleAsync(u => u.Id == Guid.Parse(userId));
    }
}

public class Query
{
    private readonly IUserService userService;

    public Query(IUserService userService)
    {
      this.userService = userService;
    }

    public async Task<ISignInResponse> SignIn(string email, string password)
    {
      return await userService.SignIn(email, password);
    }

    public async Task<INZUser> Me()
    {
      return await userService.GetUserById("aa"); // this just for test - i want to see an error
    }
}

public class QueryType : ObjectType<Query>
{
    protected override void Configure(IObjectTypeDescriptor<Query> descriptor)
    {
      descriptor.Field(t => t.SignIn(default, default))
        .Argument("email", a => a.Type<NonNullType<StringType>>())
        .Argument("password", a => a.Type<NonNullType<StringType>>())
        .Type<NonNullType<SignInResponseType>>();

      descriptor.Field(t => t.Me())
        .Authorize()
        .Type<NonNullType<UserType>>();
    }
}

public class SignInResponseType : ObjectType<ISignInReponse>
{
    protected override void Configure(IObjectTypeDescriptor<ISignInReponse> descriptor)
    {
      descriptor.Field(t => t.AccessToken)
        .Type<NonNullType<StringType>>();
    }
}

public class UserType : ObjectType<INZUser>
{
    protected override void Configure(IObjectTypeDescriptor<INZUser> descriptor)
    {
      descriptor.Name("User");
      descriptor.Field(t => t.Id).Type<NonNullType<StringType>>();
      descriptor.Field(t => t.UserName).Type<NonNullType<StringType>>();
    }
}

That's what i got.
All working with classical [Authorize] attribute for built in classical controllers. But for graphql it's not working. Maybe exist other way to authorize user with JWT token via middleware (if yes could somebody give an example how to do this)?
Expected behavior
Should throw an error...
Desktop (please complete the following information):

OS: MacOS (asp.net core 2.2)
Version Latest

That looks alright to me. There is a graphql error. What else do you expect?

After looking at you repro I saw that the middleware order was not correct:
  app
        .UseCors(x => x
          .AllowAnyOrigin()
          .AllowAnyMethod()
          .AllowAnyHeader()
        )
        .UseWebSockets()
        .UseGraphQL(new QueryMiddlewareOptions
        {
          Path = "/graphql",
          EnableSubscriptions = false
        })
        .UseHttpsRedirection()
        .UseAuthentication()
        .UseMvc();

The middleware is like a pipeline where the request is handled by each middleware. Since authentication is coming after GraphQL the authentication middleware is never able to handle the request.
A correct order would look like the following:
  app
       .UseCors(x => x
          .AllowAnyOrigin()
          .AllowAnyMethod()
          .AllowAnyHeader()
        )
        .UseHttpsRedirection()
        .UseAuthentication()
        .UseWebSockets()
        .UseGraphQL(new QueryMiddlewareOptions
        {
          Path = "/graphql",
          EnableSubscriptions = false
        })
        .UseMvc();

since you disabled subscription EnableSubscriptions = false you can also remove UseWebSockets.

I will close this issue and mark it as question.

After looking at you repro I saw that the middleware order was not correct:
  app
        .UseCors(x => x
          .AllowAnyOrigin()
          .AllowAnyMethod()
          .AllowAnyHeader()
        )
        .UseWebSockets()
        .UseGraphQL(new QueryMiddlewareOptions
        {
          Path = "/graphql",
          EnableSubscriptions = false
        })
        .UseHttpsRedirection()
        .UseAuthentication()
        .UseMvc();

The middleware is like a pipeline where the request is handled by each middleware. Since authentication is coming after GraphQL the authentication middleware is never able to handle the request.
A correct order would look like the following:
  app
       .UseCors(x => x
          .AllowAnyOrigin()
          .AllowAnyMethod()
          .AllowAnyHeader()
        )
        .UseHttpsRedirection()
        .UseAuthentication()
        .UseWebSockets()
        .UseGraphQL(new QueryMiddlewareOptions
        {
          Path = "/graphql",
          EnableSubscriptions = false
        })
        .UseMvc();

Thanks men, I faced a similar situation and your answer reminds me that I forget to add UseAuthentication in app . Cheers men, you saved my day =]

authors: chungonion michaelstaib quadgod

repo: ChilliCream/hotchocolate


text:
Error in build

I am using CRA and giving the yarn build command displays the following error:
Failed to compile.

Failed to minify the code from this file:

        ./node_modules/react-rasta/lib/theme/StyledComponents.js:11

Read more here: http://bit.ly/2tRViJ9

Can you help me?
Best regards

Actually, this is an issue of Create React App. Here are the good news: they already fixed it in the next branch. So we probably see this fix soon - hopefully.
In the meantime I am going to provide ES5 as additional version. The main version is still ES6, but you would be able to explicitly link the ES5 version in your code.
Please let me know what you think about it.

I think it's a good alternative until the next version of CRA.
I made a fork and changing the target to ES5, to build for production output.

Okay cool. I guess I'm going to create a new version this evening today which contains both ES5 and ES6 precompiled versions.

Version 1.0.3 is on its way.
Use import { ... } from 'react-rasta'; for ES6 and import { ... } from 'react-rasta/lib/es5'; for ES5.

Had some issues with the deployment and therefore unpublished version 1.0.3 and instead published a new version which is now 1.0.4

Tks @rstaib

authors: CesarDenis rstaib

repo: ChilliCream/react-rasta


text:
切换清晰度后流加载失败有重复createElement('video')的问题

模拟了一下“slow 3G”网络，发现一次切换清晰度操作有createElement('video')多次，需要排查失败重试逻辑是不是有没走到destroy的情况。

补充图片资料，复现平台 windows

可能与 #5 有关联。

通过 http://gyblog.cn/static/html/index_hls.html 拿纯解码层调试看，基本确定与神秘的#5 ended事件无关了；上述问题留意相应场景有没有应该销毁但未销毁的对象就好了。

好的

@huzunjie 具体的 remove 代码是在哪里打的？并没有看到。
Mac 上可能复现这个问题吗。。我现在本地无法复现。

具体remove是在 chimee/dom.js 的 removeVideo 方法里打的。
因为我试验时改了 createElement('video') 那里的逻辑，直接打到DOM树里，跟你原有逻辑还是有差别。

嗯。。。我之前尝试了一下。还是没有复现。

重试逻辑中的正常现象

authors: huzunjie toxic-johann

repo: Chimeejs/chimee


text:
Add missing dependencies to requirements.txt

I ran into this while trying to start chimara on my machine for testing something.

Nice catch. Thanks!
Also, nice to see you again @sharkwouter !

authors: alkazar sharkwouter

repo: ChimeraOS/chimera


text:
Write a simple  blog on 'How to get started with the Chimoney API for developers'

This should be an intuitive blog that also allows beginners to understand how they can create a developer account and start testing out and integrating with our API

assign

I've assigned it to you. Go ahead

Hi @phyleria , I would like this to be assigned to me to work on.

Ok 👍🏾

Hi @mynameissaraah
You can take a look at this issue and work on it.

Ook I will. Thank you.

Hi, @mynameissaraah someone else is requesting to be assigned to this issue. Will you claim it?

yes i am

Awesome!

Hi @phyleria i have created a pull request, please review it.

Hi @phyleria  a pull request has been made for this issue.

authors: Davidongora mynameissaraah phyleria

repo: Chimoney/chimoney-community-projects


text:
Fix mixed optgroups

Description
Fixes #615 basically.
It includes a working cypress test. I did not add unit tests, but I'd be happy to do so if you are planning to merge this.
Screenshots (if appropriate)

Types of changes

[ ] Chore (tooling change or documentation change)
[x] Refactor (non-breaking change which maintains existing functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

I'd call it a bug (see #615 ) but some might call it a new feature? Also minor refactorings.
Checklist

[x] My code follows the code style of this project.
[x] I have added new tests for the bug I fixed/the new feature I added.
[ ] I have modified existing tests for the bug I fixed/the new feature I added.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

I think it's worth a mention in the changelog though.

Wow I forgot about this PR.... anyone we could ping to move this forward?

Thanks! Implemented as part of #1166

authors: Xon voidus

repo: Choices-js/Choices


text:
unset multiple var

unset var1 var2 var3

fixed in 5dbc887d535ff10da1f5fd78dae68201790a6c2a

authors: Chr-ss sairutra

repo: Chr-ss/minishell


text:
Tray icon disappears

Short description
Multiple tray icons disappear after left clicking the TaskbarX tray icon. This problem persists after restarting TaskbarX.
Steps to reproduce
Steps to reproduce the bug:

Start up the computer
TaskbarX starts automatically
Left click the TaskbarX tray icon

Steps to restore the taskbar and system tray to its original state (without TaskbarX):

Stop TaskbarX
Restart Windows Explorer

Screenshots and Detailed Description
Usually the tray icon looks like this:

Complete screen
The system tray seems to be broken once I left click the TaskbarX tray icon. It disappears together with all other icons after the TaskbarX tray icon. Only one empty icon remains. In the screenshot, you cannot see the mouse pointer but I'm pointing at this empty tray icon. It doesn't have an icon (small image), it doesn't have a tooltip and it doesn't do anything when it is clicked:

Complete screen
There are no icons after that one empty icon. When I reopen the tray, it becomes smaller:

Complete screen
If you stop TaskbarX, the empty tray icon will disappear, but the other tray icons will still be missing. To fix this problem, you have to restart Windows Explorer. All missing tray icons will reappear.
But as soon as you start TaskbarX again, the same icons as before will disappear once more and the empty icon will be there again, too.
It is possible to fix the empty tray icon and display the TaskbarX tray icon correctly again. But this won't fix the other missing tray icons. To do that, you have to disable the TaskbarX tray icon in the Configurator, click Apply, enable the tray icon and click Apply once more. Now the empty tray icon is gone and the TaskbarX tray icon is displayed and working, but the other tray icons that disappeared before are still missing.
Desktop:

OS: Windows 10 Home
Version: 21H1
Build: 19043.1052
TaskbarX: 1.6.9.0

Yeah, I have this same issue after recently purchasing and using TaskbarX myself. Once TaskbarX starts, some of my icons disappear entirely, one goes blank with no icon but still has its place, and others move from their place on the visible task tray into the little "more icons" pop out area instead; for example, the icons from HWiNFO64 for CPU and GPU temperature move from their position.
OS: Windows 10 Pro (Version	10.0.19043 Build 19043)
TaskBarX: 1.7.1.0
Purchased and installed via Windows Store.

To be able to focus on major/current bugs I had to close all issues. The issues section has gotten very messy to a point that I couldn't follow it anymore. Most issues are duplicates, very old or are already fixed/solved. Feel free to reopen this issue if you still have this issue on the latest version of TaskbarX to get my attention. All feature requests have been put in a list here: 💡| Feature requests #870
I hope you understand ❤

authors: ChrisAnd1998 knxrb theFireProject