text:
Metainfo of the inverted index may overflow, causing the index to become unavailable

What type of bug is this?
Unexpected error
What subsystems are affected?
Storage Engine
Problem Report
Below is the definition of InvertedIndexMeta:
https://github.com/GreptimeTeam/greptime-proto/blob/a11db14b8502f55ca5348917fd18e6fcf140f55e/proto/greptime/v1/index/inverted_index.proto#L41-L68
As can be seen, both relative_fst_offset and fst_size are defined as uint32.
    // The byte offset of the Finite State Transducer (FST) data relative to the `base_offset`.
    uint32 relative_fst_offset = 4;

    // The size in bytes of the FST data.
    uint32 fst_size = 5;

According to the layout of the inverted index:
null_bitmap bitmap₀ bitmap₁ bitmap₂ ... bitmapₙ fst

This implies that if the total size of the bitmaps exceeds 4.3GB, the relative_fst_offset will overflow, causing the FST to be located at an incorrect position when read.
Let's examine the possibility that the total bitmap size exceeds 4.3GB:

Suppose there are 100k distinct values in the column, each occupying an average of 43KB of bitmap size.
Since the bitmap is implemented with the simplest bitvec, 43KB actually represents a maximum of 344k segments, which is 352 million rows.

This is achievable, so this issue urgently needs to be addressed.
Some possible solutions are:

Optimize bitmap implementation, compress the bitmap, or adopt a roaring bitmap.
Introduce additional levels of indexing, SST -> Row Group -> Segment, to control the number of indexing targets.

Note: Simply adjusting relative_fst_offset to uint64 is insufficient because the Value that the FST maps to represents the position and size of the bitmap, which also uses u32. Therefore, the positioning of the bitmap will also be affected by the total size of the bitmap.

it proves we made a data intensive application
2 looks good to me. 1 also, but I'm not sure about the complexity.

In another aspect, maybe we should restrict the total row number of an SST file. We don't want to generate a very large parquet file and @v0y4g3r is working on this.
We may also skip building the inverted index for a column if the number of distinct is too large but I'm not sure what the appropriate threshold is.

Introduce additional levels of indexing, SST -> Row Group -> Segment, to control the number of indexing targets.

Maybe we can build an inverted index per row group since the number of rows inside a row group won't be too large. We need to enlarge the row group size (rows in a row group) to reduce the number of row groups per file.

@zhongzc Do we have a plan to fix it?

authors: evenyag killme2008 waynexia zhongzc

repo: GreptimeTeam/greptimedb


text:
Cannot import modules on compute canada

I've cloned Whobpyt on narval and installing it (main branch) and trying to run some fittings, but I'm having issues with the imports:
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In[6], line 2
      1 import whobpyt
----> 2 from whobpyt.data.dataload import dataloader
      4 from whobpyt.datatypes.modelparameters import ParamsModel
      5 from whobpyt.optimization.modelfitting import Model_fitting

ImportError: cannot import name 'dataloader' from 'whobpyt.data.dataload' (/lustre07/scratch/poveisi/envs/whobpyt2/lib/python3.9/site-packages/whobpyt/data/dataload.py)

The file is there, and the modules do exist in the .py file. Anyone know what the problem could be?

Will need a interactive debug meeting

@P-Oveisi and @tmorshed are going to meet today to discuss that. Please share an update after you finish

I suspect this would solve the problem (assuming it is a specific problem, and not a problem of importing modules in general):
in: whobpyt/data/init.py
add: from .dataload import dataloader
However, based on the sphinx examples, it looks like this is a depreciated function.

I tried that, now I'm getting this error:
File /lustre07/scratch/poveisi/repos/whobpyt2/whobpyt/datatypes/__init__.py:9
      7 from .timeseries import Recording
      8 from .outputs import TrainingStats
----> 9 from .dataload import dataloader

ModuleNotFoundError: No module named 'whobpyt.datatypes.dataload'
```

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[2], line 1
----> 1 import whobpyt
      2 from whobpyt.data.dataload import dataloader
      4 from whobpyt.datatypes.modelparameters import ParamsModel

File /lustre07/scratch/poveisi/repos/whobpyt2/whobpyt/__init__.py:1
----> 1 from . import models
      2 from . import optimization
      3 from . import run

File /lustre07/scratch/poveisi/repos/whobpyt2/whobpyt/models/__init__.py:1
----> 1 from . import BOLD
      2 from . import EEG
      3 from . import JansenRit

File /lustre07/scratch/poveisi/repos/whobpyt2/whobpyt/models/BOLD/__init__.py:1
----> 1 from .BOLD import BOLD_Layer
      2 from .ParamsBOLD import BOLD_Params
      3 from .BOLD_validate import BOLD_np

File /lustre07/scratch/poveisi/repos/whobpyt2/whobpyt/models/BOLD/BOLD.py:2
      1 import torch
----> 2 from whobpyt.datatypes import AbstractMode
      4 class BOLD_Layer(AbstractMode):
      5     '''
      6     Balloon-Windkessel Hemodynamic Response Function Forward Model
      7
   (...)
     12     Deco G, Ponce-Alvarez A, Mantini D, Romani GL, Hagmann P, Corbetta M. Resting-state functional connectivity emerges from structurally and dynamically shaped slow linear fluctuations. Journal of Neuroscience. 2013 Jul 3;33(27):11239-52.
     13     '''

File /lustre07/scratch/poveisi/repos/whobpyt2/whobpyt/datatypes/__init__.py:9
      7 from .timeseries import Recording
      8 from .outputs import TrainingStats
----> 9 from .dataload import dataloader

ModuleNotFoundError: No module named 'whobpyt.datatypes.dataload'

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In[1], line 1
----> 1 import whobpyt
      2 from whobpyt.data.dataload import dataloader
      4 from whobpyt.datatypes.modelparameters import ParamsModel

File /lustre07/scratch/poveisi/repos/whobpyt2/whobpyt/__init__.py:4
      2 from . import optimization
      3 from . import run
----> 4 from . import data
      5 from . import datatypes
      6 from . import functions

File /lustre07/scratch/poveisi/repos/whobpyt2/whobpyt/data/__init__.py:4
      2 from .fetchers import fetch_hcpl2k8
      3 from .generators import gen_cube
----> 4 from .dataload import dataloader

ImportError: cannot import name 'dataloader' from 'whobpyt.data.dataload' (/lustre07/scratch/poveisi/repos/whobpyt2/whobpyt/data/dataload.py)

The dataloader() function is commented out in the .py file

The issue has been resolved. The problem was that I was using code from earlier versions of whobpyt, but the structure has since been updated and the modules that I was trying to import are depricated.
Importing whobpyt itself, however, gives no issue.

source: gharchive/issue

authors: Andrew-Clappison Davi1990 P-Oveisi

repo: GriffithsLab/whobpyt

license: MIT

license_type: permissive

license_source: github-api


text:
Version 1.9.1

This PR contains version 1.9.1 of the plugin.
Pre-launch Checklist

[x] I have run dartfmt on all changed files
[x] I have incremented the package version as appropriate and updated CHANGELOG.md with my changes
[x] I have added/updated relevant documentation
[x] I have run "optimize/organize imports" on all changed files
[x] I have addressed all analyzer warnings as best I could

Wrong source branch

source: gharchive/pull-request


text:
RocketMQ支持的问题

1.14.0-guance分支中，对RocketMQ的链路处理有一个bug，RocketMQ发送异步消息的时候是不返回sendResult的，但是在这个分支中RocketMQDecorator end函数没有做过滤判定，会出现npe异常。1.15.4-guance中也存在这个问题。

v1.17.1-guance 版本已经修复该bug

authors: songlonqi-java zhaogangxp

repo: GuanceCloud/dd-trace-java


text:
🛑 Homepage is down

In 1db2b03, Homepage (https://www.dlya.top) was down:

HTTP code: 409
Response time: 7536 ms

Resolved: Homepage is back up in 94c9d08.

repo: Guangsudalao/uptime


text:
Simulator lib

add selector and fix bugs for designer

add edit selector, clicked selector. fix designer display bugs for Windows

repo: GueChen/GComponentQtPuginLib


text:
自动更新应该没工作

虽然crontab可以看见更新命令，但是更新命令应该没有成功运行。我手动测试了更新命令，每次都会提示8000端口已经被占用。应该是在更新之前需要杀掉之前的main.py进程才行。

不需要杀进程，定时任务和页面服务不冲突。更新有没有成功应该检查结果文件的变化，而不是手动去执行，应该当前服务没有被停止，你再手动去执行肯定是端口被占用的。

但是我看到生成的result这个文件一直没有按时更新过。

sorry,忘了说一点，我看日志里面也没有显示有更新的内容。供你参考。

最后一次结果文件更新时间是什么时候？是第一次运行完成的时间？把详细日志发出来看看

authors: Guovin dawnsummit

repo: Guovin/TV


text:
⚠ API Next - load whole book has degraded performance

In baa0ead, API Next - load whole book (https://h-edu.cz/content.api/book/book-a/chaptersContent) experienced degraded performance:

HTTP code: 200
Response time: 18650 ms

Resolved: API Next - load whole book performance has improved in 99169d3 after 28 minutes.

repo: H-edu-dev/upptime


text:
docs(helpers): fixing a small typo

Description of change
Fixing a small typo at the helpers/lazy page
Pull-Request Checklist

[x] Code is up-to-date with the main branch
[x] npm run lint passes with this change
[x] npm run test passes with this change
[ ] This pull request links relevant issues as Fixes #0000 N/A
[ ] There are new or updated unit tests validating the change N/A
[ ] Added documentation inside www/docs/main folder. N/A
[ ] Included new files inside index.doc.ts. N/A
[x] The new commits follow conventions outlined in the conventional commit spec

LGMT!


text:
shotgun

Its not critical but the shotgun does not have the ability to change grip meaning it defalts to no grip.

Added Image slot for selection of grips for the shotgun will be in the next update (every version after v0.5.3)

authors: HALOMAXX IvoOrdway

repo: HALOMAXX/BLREdit


text:
update-project-template merges spurious updates to cookiecutter.json _template value

The cookiecutter.json file stores the path to the template that was used to generate the file. First of all, this is not helpful information to keep around and we can consider removing it. Second of all, the cookiecutter.json file is probably not relevant to have on the master branch, we can see if we can isolate it to the project-template branch only. Ultimately, the current update command causes spurious changes like the following to be merged: https://github.com/micahjsmith/ballet-ames-demo/commit/efa566769b23d12a06ab8b4e4fcfc9bdd08a23e3

Closed by a12b80a

repo: HDI-Project/ballet


text:
🛑 SkipTheTrailers is down

In 6fd8878, SkipTheTrailers ($STT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheTrailers is back up in a7e13c7.

repo: HDVinnie/TrackerHub


text:
🛑 Telly is down

In 41bd529, Telly ($TLY) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Telly is back up in 190c766.


text:
🛑 SkipTheTrailers is down

In 84e958d, SkipTheTrailers ($STT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheTrailers is back up in 4449767.


text:
⚠ SceneTime has degraded performance

In 3b3addf, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1029 ms

Resolved: SceneTime performance has improved in f1a50b7.


text:
🛑 Anthelion is down

In 05a52c9, Anthelion ($ATH) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Anthelion is back up in b779956.


text:
🛑 GazelleGames is down

In 69951aa, GazelleGames ($GGN) was down:

HTTP code: 0
Response time: 0 ms

Resolved: GazelleGames is back up in dc6b8e9 after 10 hours, 55 minutes.


text:
⚠ Nebulance has degraded performance

In 13d5ce3, Nebulance ($NBL) experienced degraded performance:

HTTP code: 200
Response time: 1088 ms

Resolved: Nebulance performance has improved in bef264a after 6 minutes.


text:
🛑 Nebulance is down

In 306abaf, Nebulance ($NBL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nebulance is back up in 44386ee after 20 minutes.


text:
⚠ SceneTime has degraded performance

In 9141c44, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 2916 ms

Resolved: SceneTime performance has improved in c2c1879 after 7 minutes.


text:
⚠ SceneTime has degraded performance

In 03369c8, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1317 ms

Resolved: SceneTime performance has improved in 697f961 after 6 minutes.


text:
🛑 Telly is down

In 4bdccf3, Telly ($TLY) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Telly is back up in 2be266b.


text:
🛑 SkipTheCommericals is down

In a3dbb4a, SkipTheCommericals ($STC) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheCommericals is back up in b690a12.


text:
⚠ SkipTheCommericals has degraded performance

In 4dbac7a, SkipTheCommericals ($STC) experienced degraded performance:

HTTP code: 200
Response time: 1654 ms

Resolved: SkipTheCommericals performance has improved in af1fd63.


text:
[BUG] 文件名、目录名或卷标语法不正确。

Describe the bug 描述你遇到的错误
git submodule update --remote --merge后
Error: error building site: "E:\hugo\blog\content\posts\Jenkins权限控制.md:1:1": "E:\hugo\blog\themes\DoIt\layouts\_default\_markup\render-image.html:16:166": execute of template failed: template: _default/_markup/render-image.html:16:166: executing "_default/_markup/render-image.html" at <partial "plugin/image.html">: error calling partial: "E:\hugo\blog\themes\DoIt\layouts\partials\plugin\image.html:27:59": execute of template failed: template: partials/plugin/image.html:27:59: executing "partials/plugin/image.html" at <resources.Get>: error calling Get: CreateFile E:\hugo\blog\assets\https:\img.bwcxtech.com\img\20200928161231.jpeg: The filename, directory name, or volume label syntax is incorrect.

为什么出现 E:\blog\assets\https ，我的图片不在本地。
Expected behavior 期待的行为
No response
Screenshots 屏幕截图

Build Environment 构建环境
No response
Preview Environment 预览环境
No response
Additional Information 补充信息
No response

请问是否启用了 cacheRemote = true？能否提供具体的图片引用源码 [](what/is/the/path/here?.png)

https://github.com/gohugoio/hugo/issues/10736

好像没有人修复

能否帮忙测试一下 https://github.com/HEIGE-PCloud/DoIt/pull/1302 是否能解决这个问题？

能否帮忙测试一下 #1302 是否能解决这个问题？

测试过正常

authors: HEIGE-PCloud bwcxyk

repo: HEIGE-PCloud/DoIt


text:
404 GET /api/tensorboard_pro

I'm getting such error
[W 16:29:50.918 NotebookApp] 404 GET /api/tensorboard_pro?1669814990914 (172.17.0.1) 1.540000ms referer=http://localhost:8888/lab

Environment
          conda version : 4.12.0
         python version : 3.9.15.final.0
tensorboard==2.11.0
tensorflow==2.11.0
tensorflow-estimator==2.11.0
jupyterlab-tensorboard-pro==0.4.0
jupyter==1.0.0
jupyterlab==3.5.0

Developer console error

When I open tensorboard from launcher - I just see Initializing

How can I debug?

When run jupyter with --debug, I see only such messages about tensorboard_pro
[D 16:39:35.296 NotebookApp] Path jupyterlab_tensorboard_pro/static/184.079d3e4ea819d1120b64.js served from /home/user/conda/share/jupyter/labextensions/jupyterlab_tensorboard_pro/static/184.079d3e4ea819d1120b64.js
[D 16:39:35.297 NotebookApp] 304 GET /lab/extensions/jupyterlab_tensorboard_pro/static/184.079d3e4ea819d1120b64.js?v=079d3e4ea819d1120b64 (172.17.0.1) 2.390000ms
[D 16:39:35.298 NotebookApp] Path jupyterlab_tensorboard_pro/static/674.332b94913cec73e4842b.js served from /home/user/conda/share/jupyter/labextensions/jupyterlab_tensorboard_pro/static/674.332b94913cec73e4842b.js
[D 16:39:35.299 NotebookApp] 304 GET /lab/extensions/jupyterlab_tensorboard_pro/static/674.332b94913cec73e4842b.js?v=332b94913cec73e4842b (172.17.0.1) 3.600000ms
[D 16:39:35.302 NotebookApp] Path jupyterlab_tensorboard_pro/static/445.f4d009ce820e01bc9e3a.js served from /home/user/conda/share/jupyter/labextensions/jupyterlab_tensorboard_pro/static/445.f4d009ce820e01bc9e3a.js
[D 16:39:35.303 NotebookApp] 304 GET /lab/extensions/jupyterlab_tensorboard_pro/static/445.f4d009ce820e01bc9e3a.js?v=f4d009ce820e01bc9e3a (172.17.0.1) 3.440000ms
[D 16:39:35.308 NotebookApp] Path jupyterlab_tensorboard_pro/static/924.674ec90e4b9213b8c1c9.js served from /home/user/conda/share/jupyter/labextensions/jupyterlab_tensorboard_pro/static/924.674ec90e4b9213b8c1c9.js
[D 16:39:35.309 NotebookApp] 304 GET /lab/extensions/jupyterlab_tensorboard_pro/static/924.674ec90e4b9213b8c1c9.js?v=674ec90e4b9213b8c1c9 (172.17.0.1) 4.970000ms

I tried the same version of the dependencies, and it works. The main reason for staying in the initialization is that the plug-in backend cannot be found
Therefore, need your some help to continue positioning.
you can try:
PYTHONDIR=$(dirname `which python`)/../

find if the path exists:  $PYTHONDIR/etc/jupyter/jupyter_server_config.d/jupyterlab_tensorboard_pro.json

and the content should be:
{
  "ServerApp": {
    "jpserver_extensions": {
      "jupyterlab_tensorboard_pro": true
    }
  }
}

find if the path exists:  $PYTHONDIR/lib/python3.9/site-packages/jupyterlab_tensorboard_pro,  There are some python files that should be in this:

__init__.py            __pycache__            api_handlers.py        handlers.py            labextension           tensorboard_manager.py

find if there is a log like (or some other errors) where run jupyter-lab:

[I 2022-09-17 17:52:08.559 ServerApp] jupyterlab_tensorboard_pro | extension was successfully linked.

Steps about PYTHONDIR is ok
jovyan@075b9b2634d7:~$ export PYTHONDIR=$(dirname `which python`)/../
jovyan@075b9b2634d7:~$ echo $PYTHONDIR/
/home/user/conda/bin/..//
jovyan@075b9b2634d7:~$ cat $PYTHONDIR/etc/jupyter/jupyter_server_config.d/jupyterlab_tensorboard_pro.json
{
  "ServerApp": {
    "jpserver_extensions": {
      "jupyterlab_tensorboard_pro": true
    }
  }
}
jovyan@075b9b2634d7:~$ ls $PYTHONDIR/lib/python3.9/site-packages/jupyterlab_tensorboard_pro
__init__.py  __pycache__  api_handlers.py  handlers.py	labextension  tensorboard_manager.py

But now I found error. If I run jupyter notebook and open link, when at the end added /lab (i.e. localhost:8888/lab) - it won't work. But If I just start jupyter lab - thats ok. Can we fix that?

I understand, it should be a problem of starting with jupyter notebook
Because this plugin was originally prepared for jupyterlab, using jupyter notebook will not start the corresponding plugin backend
Here I am continuing to look at whether it can support the use of jupyter notebook to start

supported


text:
update annotation

配置文件注入支持，对test部分代码注释

Most of the requested changes were not fixed, e.g., pom, strange packages.
BTW, stop polluting this repo with Add files via upload.

repo: HIT-ReFreSH/JMobileSuit


text:
Ajout jeu de données "Annuaire des propriétaires et des propriétés de Paris"

Bonjour,
je souhaiterais intégrer une nouvelle description d'un jeu de données. Ci-dessous le .yml produit à partir du formulaire.
schema: "https://htr-united.github.io/schema/2021-10-15/schema.json"
title: Données vérité de terrain HTR+ Annuaire des propriétaires et des propriétés de Paris et du département de la Seine (1898-1923)
url: 'http://dx.doi.org/10.34847/nkl.acb724xs'
project-name: >
    Groupe annuaires et adresses - Consortium Huma-num Paris Time Machine'
project-website: 'https://paris-timemachine.huma-num.fr/groupe-adresses-et-annuaires/'
authors:
    - name: 'Elgarrista'
      surname: 'Gabriela'
      roles:
      - 'transcriber'
      - 'quality-control'
    - name: 'Mélanie-Becquet'
      surname: 'Frédérique'
      roles:
      - 'project-manager'
      - 'quality-control'
    - name: 'Brando'
      surname: 'Carmen'
      roles:
      - 'project-manager'
      - 'quality-control'
description: >
  Annuaire des propriétaires et des propriétés de Paris et du département de la Seine. Lien dans le catalogue de la BNF : https://catalogue.bnf.fr/ark:/12148/cb32697229h. Crédits : Bibliothèque nationale de France.

Données vérité de terrain résultant de la transcription et la segmentation manuelle d’un échantillon de 169 pages des annuaires appartenant aux volumes 1898 et 1923. Un modèle de transcription HTR+ a été entrainé à partir de cet échantillon grâce à Transkribus et est disponible sur cette plateforme en mode public. Ce modèle est valable pour transcrire automatiquement les volumes de 1903 et 1913 et tout autre document imprimé à deux colonnes et en utilisant l'alphabet latin et particulièrement en français. Le choix de l'échantillon est fait par critère alphabétique car c'est le mode d'organisation de l'information dans ce document.
Les accolades présentes dans le document n'ont pas été segmentées. 118 pages pour entrainer et 51 pages pour validation.

Contexte et financement :
Subvention DAHN (Dispositif de soutien à l'archivistique et aux humanités numériques) par le MESRI.
Equipes :
Consortium Paris Time Machine - TGIR Humanum
EHESS / CNRS / LATTICE / INRIA
Contact si besoin d'anonymiser les noms de personnes : carmen.brando@ehess.fr.
language:
  - fra
script:
  - Latn
script-type: 'only-typed'
time:
  notBefore: "1898"
  notAfter: "1923"
hands:
  count: 'less-than-11'
  precision: 'estimated'
license:
  - {name: 'Etalab', url: 'https://fr.wikipedia.org/wiki/Etalab'}
format: 'Alto-XML'

transcription-guidelines: >
    Transcription diplomatique.
    Les accolades n'ont pas été segmentées.'

Bonsoir !
merci pour la proposition ! J'ai préparé la Pull Request en #35
Si vous avez la possibilité de compter le nombre de lignes et de caractères pour la propriété volume, cela serait parfait !

Merci pour la contribution !

Merci Thibault !
bien à toi,
Carmen

Merci beaucoup pour cette contribution !!

authors: PSIG-EHESS PonteIneptique alix-tz

repo: HTR-United/htr-united


text:
Inna: Headless-CMS, 3 weeks

my fork of module repository

Learning Objectives

[x] 🥚 Understanding what a content management system is, and why people use it
[x] 🥚 Given an existing CMS installation fill in and publish a new piece of content
[x] 🥚 Perform a simple http call via postman to retrieve a piece of information.
[x] 🐣 Extend and adapt an existing CMS configuration
[x] 🐣 Perform a http call with filtering via Postman
[x] 🐣 Perform a http call with "include" via Postman
[x] 🐣 Perform a http POST call to create new data
[x] 🐣 Perform a http PUT call to update existing data
[x] 🐣 Configuring endpoint permissions (Authentication vs Authorization)
[x] 🐥 Design a data model from scratch based on user requirements

Week 1
I Need Help With:

Not yet

What went well?

CMS installation fill in and publish a new piece of content

What went less well?
Lessons Learned

Understood what a content management system is, and why people use it

Sunday Prep Work

In progress

Week 2
I Need Help With:

Not yet

What went well?
What went less well?
Lessons Learned
Sunday Prep Work

In progress

Week 3
I Need Help With:

Not yet

What went well?
What went less well?
Lessons Learned
Sunday Prep Work

In progress


text:
add user personas

[ ] add user personas

Setup: GitHub

[x] created this issue
[x] assigned myself
[x] moved the issue to the project board and added it to the appropriate
column

Setup: local

[x] pulled the most recent code from main/master
[x] created a new feat-branch-name branch for my feature

Steps to complete the task:

[x] step 1 details
[x] step 2 details

Before pushing my branch:

[x] pulled the most recent code from main/master to my feature branch
[x] ran code quality checks
[x] formatted the code
[x] fixed all linting mistakes

After pushing my branch:

[x] created a new PR linked to this issue
[x] make sure all of the checks passed
[x] assigned someone to review and merge my PR (if the task is ready)
[x] moved the issue to the appropriate column in the project board to review
it (if the task is ready)

Does it matter how many user personas is written here?


text:
Add kvk_number in users table

User MUST enter KvK nummer on registration.

This light be an extra option: check KvK nummer with https://overheid.io/documentatie/openkvk

Nummer must be stores encrypted

repo: HZ-HBO-ICT/gasten-in-zeeland


text:
🛑 ConUHacks is down

In 9f2927b, ConUHacks (https://conuhacks.io) was down:

HTTP code: 502
Response time: 117 ms

Resolved: ConUHacks is back up in 1159bbb.

repo: HackConcordia/HC-Upptime


text:
DB: Create a migration and initial seed for the Topics table

Create a Knex migration for the Topics table. Also, consider adding a seed file for development to add a couple of initial topics.

This task will be handle on issue #63

authors: dpfernandes tpetrina

repo: HackYourFuture-CPH/web-dev-rooms


text:
Cyclical dependency using ngIdle with http interceptors

This may just be more of a feature request, but I was attempting to use the the Idle service to strictly interrupt on http requests. Here is an example of the Interceptor service.
angular.module('idleTest')
    .factory('IdleInterruptInterceptor', ['Idle', function (Idle) {

        // Manually interrupt the IdleService on every response
        return {
            response: function (response) {
                Idle.interrupt();
                return response;
            }
        };
    }]);

However, this is causing a circular dependency:
Uncaught Error: [$injector:cdep] Circular dependency found: $http <- Keepalive <- Idle <- IdleInterruptInterceptor <- $http
I'd love for the Idle service to be capable of being used with an interceptor, but I'm not sure the best way to go about adding that functionality in without dropping the dependency between Keepalive and $http or between Idle and Keepalive.

The only thing I can think of at the moment without radical changes is to have Idle monitor an event such as Idle.interrupt on rootScope, and when a message is received, it will just call interrupt on itself. It feels a little hackish, but it may work.

ngidle could just use an $injector to load $http itself, rather than using DI. $http = $injector.get('$http')

That's true. He can also use $injector in his interceptor.
.factory('IdleInterruptInterceptor', ['$injector', function($injector) {

   // Manually interrupt the IdleService on every response
   return {
     response: function(response) {
       $injector.get('Idle').interrupt();
       return response;
     }
   };
 }])

I've mentioned in other places that a future release should focus on modularizing the current functionality of ng-idle so people can pick and choose what they actually need, but this seems like a viable alternative for now.
http://plnkr.co/edit/HZW580Welvt2T4acT1yD?p=preview

I feel that adequate workarounds to make this work have been provided above.

Hi @HackedByChinese, I have a scenario where I have to renew my idle every single time a request is fired. I tried interrupt and unwatch and immediately watch again in the interceptor. Because I did something in the interceptor, IdleTimeout is not triggered. Because of this, a legitimate timeout is not timing out.
Any solutions?

authors: HackedByChinese abilashs90 agentmerlin toxaq

repo: HackedByChinese/ng-idle

license: mit

license_source: bigquery


text:
Could not find a declaration file for module 'react-datepicker'.

Describe the bug
TS7016: Could not find a declaration file for module 'react-datepicker'. ..../node_modules/react-datepicker/dist/index.js' implicitly has an 'any' type.
Try npm i --save-dev @types/react-datepicker if it exists or add a new declaration (.d.ts) file containing declare module 'react-datepicker';
To Reproduce
Steps to reproduce the behavior:

yarn add react-datepicker
yarn add -D react-datepicker

package.json
{   "name": "saida-livre-schools",   "version": "0.1.0",   "private": true,   "dependencies": {     "@azure/msal-browser": "^2.23.0",     "@azure/msal-react": "^1.3.2",     "@microsoft/microsoft-graph-client": "^3.0.2",     "@testing-library/jest-dom": "^5.16.2",     "@testing-library/react": "^12.1.4",     "@testing-library/user-event": "^13.5.0",     "@types/jest": "^27.4.1",     "@types/node": "^16.11.26",     "@types/react": "^17.0.40",     "@types/react-dom": "^17.0.13",     "axios": "^0.26.1",     "bootstrap": "^5.1.3",     "react": "^17.0.2",     "react-bootstrap": "^2.2.1",     "react-datepicker": "4.6.0",     "react-dom": "^17.0.2",     "react-hook-form": "^7.28.1",     "react-icons": "^4.3.1",     "react-router-dom": "6",     "react-scripts": "5.0.0",     "styled-components": "^5.3.3",     "web-vitals": "^2.1.4"   },   "devDependencies": {     "@microsoft/microsoft-graph-types": "^2.18.0",     "@types/react-router-dom": "^5.3.3",     "@types/styled-components": "^5.1.24",     "@typescript-eslint/eslint-plugin": "^5.10.1",     "@typescript-eslint/parser": "^5.10.1",     "eslint": "^8.8.0",     "eslint-config-airbnb": "^19.0.4",     "eslint-config-prettier": "^8.3.0",     "eslint-plugin-import": "^2.25.4",     "eslint-plugin-jsx-a11y": "^6.5.1",     "eslint-plugin-prettier": "^4.0.0",     "eslint-plugin-react": "^7.28.0",     "eslint-plugin-react-hooks": "^4.3.0",     "miragejs": "^0.1.43",     "prettier": "^2.5.1",     "typescript": "^4.4.2"   },   "scripts": {     "start": "react-scripts start",     "build": "react-scripts build",     "test": "react-scripts test",     "eject": "react-scripts eject"   },   "eslintConfig": {     "extends": [       "react-app",       "react-app/jest"     ]   },   "browserslist": {     "production": [       ">0.2%",       "not dead",       "not op_mini all"     ],     "development": [       "last 1 chrome version",       "last 1 firefox version",       "last 1 safari version"     ]   } }
File Tsx:
`import DatePicker from 'react-datepicker';
`
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows
Browser chrome

Seems like this is obviously needed!

I was able to use the types from @types/react-datepicker package

Just run yarn -D @types/react-datepicker

I encountered the same problem, to fix it you have to open the project on Visual Studio Code then hover on the missing module "react-datepicker", then a "quick fix" message will apprear, just click on it and it will install it automatically

Add to package.json devDependencies manually and then run yarn

use this npm install --save @types/react-datepicker

The problem appears to have already been resolved.
If there are no other problems, please close the issue.
( cc: @martijnrusschen )


text:
onChange input box stays empty (or changes back to placeholderText)

I switched to "react-datepicker": "0.23.0" after the unmount error but run into another problem, which is after picking a date from the calendar the input box stays the same as it was before (with the original placeholder text or completely empty). I have moment installed and "react-tether": "0.3.2"

@Atenna, what version are you upgrading from?  We recently made a change where you will need to maintain the selected state and pass it into the DatePicker as the selected prop (see the readme for an example of this).  Could you show us your code?

@rafeememon from v.0.22
I'm using the example code from readme with getInitialState and Handle change with the component as shown below. Is there a problem with dependencies?
var React = require('react');
var Input = require('react-bootstrap').Input;
var DatePicker = require('react-datepicker');
var moment = require('moment');
require('react-datepicker/dist/react-datepicker.css');

var DynamicGroups = React.createClass(
{
	getInitialState: function() {
	    return {
	      startDate: moment()
	    };
	},

	handleChange: function(date) {
	    this.setState({
	      startDate: date
	    });
	},

	render: function() {
		return (

					<DatePicker selected={this.state.date} onChange={this.handleChange}
					  dateFormat="DD/MM/YYYY"
					  locale="sk-SK"/>

		);
	}
}
);

module.exports = DynamicGroups;

and package.json
{
  "name": "logsfinder-web-client",
  "private": true,
  "version": "1.0.0-SNAPSHOT",
  "description": "Logsfinder JS client",
  "main": "",
  "scripts": {
    "clean": "rimraf dist",
    "copy:config": "mkdir dist && copyfiles -f ./src/config/*.js ./dist/config & copyfiles -f ./src/config.js ./dist",
    "copy": "npm run copy:config && copyfiles -f ./src/index.html ./src/favicon.ico ./dist",
    "dist": "npm run copy && webpack --env=dist",
    "dist:bundle": "npm run dist && node scripts/pack.js",
    "lint": "eslint ./src",
    "posttest": "npm run lint",
    "release:major": "npm version major && npm publish && git push --follow-tags",
    "release:minor": "npm version minor && npm publish && git push --follow-tags",
    "release:patch": "npm version patch && npm publish && git push --follow-tags",
    "serve": "node scripts/server.js --env=dev",
    "serve:dist": "node scripts/server.js --env=dist",
    "start": "node scripts/server.js --env=dev",
    "test": "karma start",
    "test:watch": "karma start --autoWatch=true --singleRun=false"
  },
  "repository": "",
  "keywords": [],
  "author": "Your name here",
  "devDependencies": {
    "archiver": "^0.21.0",
    "babel-core": "^6.0.0",
    "babel-eslint": "^5.0.0-beta4",
    "babel-loader": "^6.0.0",
    "babel-preset-es2015": "^6.0.15",
    "babel-preset-react": "^6.0.15",
    "bower-webpack-plugin": "^0.1.9",
    "chai": "^3.2.0",
    "copyfiles": "^0.2.1",
    "css-loader": "^0.23.0",
    "eslint": "^1.2.1",
    "eslint-loader": "^1.0.0",
    "eslint-plugin-react": "^3.3.0",
    "file-loader": "^0.8.4",
    "glob": "^6.0.0",
    "isparta-instrumenter-loader": "^1.0.0",
    "karma": "^0.13.9",
    "karma-chai": "^0.1.0",
    "karma-coverage": "^0.5.3",
    "karma-mocha": "^0.2.0",
    "karma-mocha-reporter": "^1.1.1",
    "karma-phantomjs-launcher": "^0.2.1",
    "karma-phantomjs-shim": "^1.1.1",
    "karma-sourcemap-loader": "^0.3.5",
    "karma-webpack": "^1.7.0",
    "lodash": "^4.0.0",
    "minimist": "^1.2.0",
    "mocha": "^2.2.5",
    "null-loader": "^0.1.1",
    "open": "0.0.5",
    "phantomjs": "^1.9.18",
    "postcss": "^5.0.11",
    "postcss-loader": "^0.8.0",
    "react-addons-test-utils": "^0.14.0",
    "react-hot-loader": "^1.2.9",
    "rimraf": "^2.4.3",
    "style-loader": "^0.13.0",
    "url-loader": "^0.5.6",
    "webpack": "^1.12.0",
    "webpack-dev-server": "^1.12.0"
  },
  "dependencies": {
    "core-js": "^2.0.0",
    "history": "^1.17.0",
    "normalize.css": "^3.0.3",
    "react": ">=0.14.0",
    "react-bootstrap": "^0.28.2",
    "react-datepicker": "^0.23.0",
    "react-day-picker": "^1.2.0",
    "react-dom": ">=0.14.0",
    "react-router": "^1.0.3",
    "superagent": "^1.7.1",
    "react-tether": "0.3.2"
  }
}

I think the problem is that you're storing the date in startDate, but the state you're passing to the DatePicker is date.  If you change them to match I think it will work!

ah this is awkward, thank you

No problem, glad it was something simple =P

authors: Atenna rafeememon


text:
Created Dijkstra_eg

What the program do?
It is an example of how to use Dijkstra's Algorithm.
In what programming language it is written?
It is written in C.

This pull request do not contains files in specific folders. Please fix it and reopen


text:
dependencies upgrade

Migrated plugin to latest grafana-toolkit and upgraded frontend and backend dependencies to their current versions:

grafana/* = 10.0.3
gocql: v1.5.2
grafana-plugin-sdk-go: v0.172.0

Tested in grafana versions:

7.5.17
8.5.27
9.5.7
10.0.3

That is a totally amazing job ❤

authors: HadesArchitect unflag


text:
A Default Ruleset

When I use a config file I have to set every single ruleset in my config for this tool to work properly.
Doing this causes me some trouble:

I don't know which values to use
I don't know each ruleset's name

At RuleSet class __contructor we have an array that suggests a default list of ruleset and I can use that to config the yml properly.
Obviously, this is not something as easy as it should be.
Perhaps this ruleset list should in fact be a default list and then we would merge this at the __contructor.
This seems obvious to me but as there are tests that will fail, I rather ask you first instead of PR right away.

Yes, ruleset definition could be injected with another object / config file, in order to centralize definitions and reuse them everywhere.

@fonsecas72 what do you think about #207 ?

Fixed by #207 . I close this issue


text:
Quaternion from Mat4?

Is there a way to use a LookAt function and end up with a quaternion? I know HMM_LookAt gives you a mat4, but I don't see a way to convert a mat4 to a quaternion.
Ultimately, I'm trying to find a way to construct a quaternion and specify it's Up vector. LookAt seems to be the only available function that does that.

No, you're right. I think we should have a LookAt for quaternions. I'll get back to you on that one...

Something interesting i found:
https://d3cw3dd2w32x2b.cloudfront.net/wp-content/uploads/2015/01/matrix-to-quat.pdf

I guess I could just run a LookAt matrix through that and call it a day...I'll ponder that.

Yes, that's a good solution. The pdf you found is quite nice.

authors: Nairou RandyGaul StrangeZak bvisness

repo: HandmadeMath/Handmade-Math


text:
Weekly paper - 5 | Liao‘s Blog

https://hanlongliao.github.io/2020/03/17/Weekly-paper-5/#more
汇报日期：2020.03.21 2:00 pm   汇报简介:目前，微服务架构已经成为现代应用程序开发的主流。微服务架构通过容器化的部署方式实现了应用的可扩展性，分散治

This is a COMMENT TEST!


text:
🛑 Helite US Site is down

In ff3537c, Helite US Site (https://www.heliteus.com) was down:

HTTP code: 403
Response time: 381 ms

Resolved: Helite US Site is back up in 4bed68d.

repo: Hansen-Distribution/upptime


text:
🛑 Google Scholar is down

In d1fd3d1, Google Scholar (https://scholar.haoqiyun.tk/) was down:

HTTP code: 403
Response time: 719 ms

Resolved: Google Scholar is back up in e7b08b1.


text:
🛑 AI对话 is down

In 4f57af2, AI对话 (https://haoqi7-question.hf.space/) was down:

HTTP code: 503
Response time: 305 ms

Resolved: AI绘画 is back up in ea46b0d.


text:
🛑 AI对话 is down

In ee4171f, AI对话 (https://haoqi7-question.hf.space/) was down:

HTTP code: 503
Response time: 337 ms

Resolved: AI绘画 is back up in 7e01b88.


text:
🛑 Google Scholar is down

In 961b4c6, Google Scholar (https://scholar.haoqiyun.tk/) was down:

HTTP code: 403
Response time: 1253 ms

Resolved: Google Scholar is back up in be2e16b.


text:
add happyx V.S. jester section in readme

Hey, I hope you doing OK
I think it would be informative to have this in your readme, since jester is well-known among Nim programmers.

Solved in https://github.com/HapticX/happyx/commit/cceaec2b43c8748d6e14b9c62c76095f14ae6df8

repo: HapticX/happyx


text:
'Eraser' can't be found ???

发现一个问题：Cocoapods引入后，Eraser 使用时会报这个error。手动引入工程的话没有问题。

你提供的example换成pod 引入也存在这个问题：

Make Eraser class to open in Brush.swift file

// Eraser class
open class Eraser: Brush {

    /// only a global eraser needed
    public static let global = Eraser()

    private init() {
        let texture = MLTexture(image: BundleUtil.image(name: "point")!.cgImage!)
        texture.gl_blend_enabled = false
        super.init(texture: texture)
        pointSize = 10
        opacity = 1
        forceSensitive = 0
    }

    // color of eraser can't be changed
  override open var color: UIColor {
        get {
            return .clear
        }
        set {
            // set color of eraser will do nothing
        }
    }
}

fixed in 2.0

authors: Harley-xk Theak13 chiefky

repo: Harley-xk/MaLiang


text:
Finish SubNav Dropdown

Implement dropdown for sub navigation bar.

https://github.com/HausDAO/daohaus-monorepo/pull/502

Have Mobile variant and Dropdown refactor in branch for Create In-app Navigation Component#254. Help to keep PR smaller and update the references used in apps before refactor.

repo: HausDAO/daohaus-monorepo


text:
Code cleanups.

Description

Cleaning up compilation warnings.
Simplifying initialization logic.

Checklist:

[X] I confirm that my submission adheres to the Code of Conduct.
[X] I have tested that the code works with sample data and verified all tests are passing
[X] I have verified that any tests that I have supplied with this Pull Request work and I have fixed any code which caused pre-existing tests to fail.
[X] I have updated the README with any changes in dependencies/configuration values.
[X] I have linted my code to ensure that it is formatted correctly.

Codecov Report

Merging #87 (120e2d6) into main (41e5c93) will increase coverage by 0.66%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main      #87      +/-   ##
==========================================
+ Coverage   22.75%   23.41%   +0.66%
==========================================
  Files          26       26
  Lines         567      551      -16
==========================================
  Hits          129      129
+ Misses        438      422      -16

Impacted Files
Coverage Δ

...unctions/Functions/Ingestion/ProcessTransaction.cs
0.00% <0.00%> (ø)

Functions/Implementations/Azure/BlobStorage.cs
0.00% <0.00%> (ø)

Functions/Implementations/Azure/QueueStorage.cs
0.00% <0.00%> (ø)

Functions/Implementations/Azure/TableStorage.cs
0.00% <0.00%> (ø)

Functions/Startup.cs
0.00% <0.00%> (ø)

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 41e5c93...120e2d6. Read the comment docs.

authors: codecov-commenter stebet


text:
using a proxy for download

Hello,
is it possible to use a proxy to download, if yes, how can it be done?
Thanks Meike

Sure, that’s normally something you’d configure within your own network environment though.

Sorry for replying lately. Yes, we have a Proxy in our network, but how do I tell this the downloader tool to use this proxy? Are ther any configration options - have nothing found in the documentation.
Thanks Meike

authors: meikestone troyhunt

repo: HaveIBeenPwned/PwnedPasswordsDownloader


text:
Update 13-debugging.tex

Making it more obvious that debug is a function

Thanks!

authors: RichardBray markknol

repo: HaxeFoundation/HaxeManual


text:
[新機能]コメントの差分アップデート

この要望は何らかの問題に起因するものですか？
すでにDLしたコメントがあるにもかかわらず、毎回全てのコメントをDLするのは冗長。
どのようなご要望ですか？
res_fromフラグの活用などを検討すべき。
ご要望を実現することが出来なかった場合、受け入れ可能な代替案はありますか？
実装する！
Additional context
Add any other context or screenshots about the feature request here.

#532 で実装

repo: Hayao-H/Niconicome


text:
fix: Use Scroll API instead of findAll

to avoid ES index max_result_window excess error

SonarQube is reporting a bug in the implementation of the RestHighLevelClient

authors: CaiWillis DorisWongNHS


text:
some settings not working

the "background dim" and "background blur" option is not working. can you see if you are able to fix the problem? thanks.

It seems to work fine for me, I tested on Microsoft Edge on Windows 11 as well as on Firefox on my Android phone. Try resetting the settings or using another web browser?

I play this during school hours on my chromebook so I only have the chrome browser option,

That's odd, I tried using Chrome just now and dim/blur works on that too.
IDK if this'll lead to anything but try this:

Load up any beatmap
Press F12 to open the browser dev tools
Make sure you're on the Elements tab

Hit CTRL + F and search for "Beatmap Background"
It should bring you to this <img /> element, which is the background image that uses the dim and blur settings:

After you select this element, look down in the Styles tab and at element.style. Do you see the filter property?

Check the numbers in the brightness() and blur() functions. brightness() should get a number from 0 to 1 and blur() should get a positive number in px. Try changing them manually and seeing if the background image changes.

Closing due to inactivity. Feel free to reopen if this is still an issue

authors: HecticKiwi diamondmen

repo: HecticKiwi/Web-Osu-Mania


text:
ace editor value watch function

Great project, but i've found a small bug in your value watch function, nextProps is undefined.
Should this be pos.cursorStart?
'value': function(newVal, oldVal) {
        if (this.editor && this.editor.getValue() !== newVal) {
          // editor.setValue is a synchronous function call, change event is emitted before setValue return.
          this.silent = true;
          const pos = this.editor.session.selection.toJSON();
          this.editor.setValue(newVal, nextProps.cursorStart);
          this.editor.session.selection.fromJSON(pos);
          this.silent = false;
        }
 },

@Hector101 still an issue..

@jkosonen I've merged your PR. Thanks for raising this issue.

Did you release a version with the fix?

@mbana I had fixed the error on my project, but have been quite tied up to update on npm.
You can check it out, I've published the fix.
The recent version is version 2.0.2.
Sorry for the inconvenience I may have cause you. I'm opened to more suggestions

authors: Hector101 RussNZ jkosonen mbana


text:
分, 厘, 毛, ...

小数を表す漢数字に対応
https://ja.wikipedia.org/wiki/命数法#小数
console.log(num_ja.num_ja(0.123456789]))
// => 〇・一分二厘三毛四糸五忽六微七繊八沙九塵

滅多に使うことがないため対応しない


text:
Leverage the useForm everywhere-Signin,Signup,Secret-creation [fixes #118]

Leverage the useForm everywhere [fixes #118]

Signin
Signup
Secret-creation

Tested locally, and everything is working as expected 🚀

Changes Made!

authors: bjarneo najeebkp


text:
Create pt

Please move pt translate to pt folder and rename

Oh, yes, did not even think of this. New release coming: https://github.com/HemmeligOrg/Hemmelig.app/releases/tag/v5.12.1

authors: bjarneo lucianomilani


text:
The scrapper fails more ofter as of recently

Hello! recently, i noticed that the scrapper fails more often.
Here is a video showing what i mean: https://www.dropbox.com/s/bfn858cbaqo7b6m/video for youtube scrapper.mov?dl=0
When i have time, i will try to investigate this issue.

I had some time on my hands and did some tests.
It seems like the html returned now comes in two (or more) types. i made two files one. One contains html that is parsed successfully using your current method, called Goodhtml, and one that fails, called Badhtml.
here : https://www.dropbox.com/s/mwv8fbe6ctx9y4x/ytseachhtmlexamples.zip?dl=0

Alright, yeah it looks like a different format of html.
window["ytInitialData"] = {
   ...
};
window["ytInitialPlayerResponse"] = null;

vs
var ytInitialData = {
   ...
};

So looks like there need to be two methods or a more generic way of grabbing data from the html file to parse

And it also seems that the page parameter is not working anymore. It works only now and then, but more often not...

And it also seems that the page parameter is not working anymore. It works only now and then, but more often not...

That's interesting, from what I see, YouTube search results have infinite loading, but the page query still works on their website.

Yes, but if you try several times, finally will fail. It also works for me from time to time, but eventually it fails.

There is a temporary fix available.
html
  .split("ytInitialData = ")[1]
  .split("</script>")[0]
  .replace("// scraper_data_end", "")
  .replace(";", "");

this will be returning ytInitialData as string it can be parsed with JSON.parse().

Yes, but keep in mind that at the moment youtube pages also return the old version. So basically, you need to test before which version you have and then apply one pattern or the other.
        const txt = html.replace(/[\n\r]/g, '');
        const p1 = /^.*ytInitialData"[ ]*\][ ]*=[ ]*(.*);[ ]*window[ ]*\["ytInitialPlayerResponse"\].*$/;
        const p2 = /^.*ytInitialData[ ]*=[ ]*(.*);[ ]*\/\/ scraper_data_end.*$/;
        let jsonTxt = txt.replace(p1, '$1');
        if (!txt.match(p1)) {
            jsonTxt = txt.replace(p2, '$1');
        }
        const json = JSON.parse(jsonTxt);

Yes, but keep in mind that at the moment youtube pages also return the old version. So basically, you need to test before which version you have and then apply one pattern or the other.
        const txt = html.replace(/[\n\r]/g, '');
        const p1 = /^.*ytInitialData"[ ]*\][ ]*=[ ]*(.*);[ ]*window[ ]*\["ytInitialPlayerResponse"\].*$/;
        const p2 = /^.*ytInitialData[ ]*=[ ]*(.*);[ ]*\/\/ scraper_data_end.*$/;
        let jsonTxt = txt.replace(p1, '$1');
        if (!txt.match(p1)) {
            jsonTxt = txt.replace(p2, '$1');
        }
        const json = JSON.parse(jsonTxt);

Thanks, I've taken the initial idea here and made commit to fix issue. There is a PR #35  to merge into develop when I'm able to test later.

@HermanFassett you can have a look at: https://github.com/SoulHarsh007/youtube-scrape/blob/master/scraper.js, Hope it helps you 😄

@HermanFassett you can have a look at: https://github.com/SoulHarsh007/youtube-scrape/blob/master/scraper.js, Hope it helps you 😄

I have to say, i love how you optimized this code. Very elegant.

I see that in the new implementation you only display the first page of the results? Because my problem right now is that the page parameter is not working anymore.

https://github.com/FashionCStar/youtube-scrape
I also customized your scraper and now it's working well on page 1
but it returns the same result as page 2

@HermanFassett
When I run your project on my local, I am getting blank results.
{"results":[],"version":"0.1.1","parser":"json_format"}
so I changed the version to 0.1.2
but after a few times of request, it returns a blank results again.
{"results":[],"version":"0.1.2","parser":"json_format"}

@HermanFassett
When I run your project on my local, I am getting blank results.
{"results":[],"version":"0.1.1","parser":"json_format"}
so I changed the version to 0.1.2
but after a few times of request, it returns a blank results again.
{"results":[],"version":"0.1.2","parser":"json_format"}

Is there a specific example that causes it to run blank? Or just continued results? Any exception message you could see? I couldn't get it to return blank after a few minutes of testing.

@cosminadrianpopescu @FashionCStar okay, will check out pages in issue #36

@HermanFassett
http://youtube-scrape.herokuapp.com/api/search?q=angular&page=1
I got a blank result after this request 2 times
and when I run your project on my local, I am getting a blank result too
localhost:3000/api/search?q=angular&page=1

Okay, yeah my heroku deploy was old version 0.1.1 since I haven't merged to master yet, so I would expect that. I pushed changes and now I see consistent results. You're running locally on the latest develop branch change 0.1.2?

of course, I am running version 0.1.2 on my local

but after 2 or 3 times of api call request, it returns blank result

@HermanFassett
of course, I am running version 0.1.2 on my local

Okay, I asked because I did not expect you to get "parser":"json_format" in the results you posted previously. I expected either "parser": "json_format.scraper_data" or "parser": "json_format.original".

so should I change the parser to "json_format.scraper_data" ?

json["parser"] = "json_format.scraper_data";
like this @HermanFassett ?

so should I change the parser to "json_format.scraper_data" ?

You shouldn't need to make the changes if you pull the development branch down to your local machine. That branch has all the changes. I'll be merging those changes into master soon.
If you think you have all the changes and you've checked out development branch, run git log and verify the top commit says Fix youtube json parsing (#35) (30297509bd72979c596328303fb802ffea420115).

Cool
I will pull from development branch
BTW, did you find a solution for page number?

@cosminadrianpopescu @FashionCStar potential update coming to fix the page issue (#36) with initial work in eb6cc42c050bd1c326b18667c872dac96febe6a9 on secondary branch. Will need more work before merging to develop.
If this issue on intermittent failures appears to be fixed for you guys with the changes currently on develop, I can work on merging to master and closing this issue.

For me the current issue is solved. No problem with the fix from develop.

@cosminadrianpopescu
Did you fix the page number issue?

Did you fix the page number issue?

No, I was just saying that the current issue is solved. I will have a look at the PR that @HermanFassett  was talking about and see if this fixes the page issue. But at the moment, the page issue is there.

@HermanFassett
How are you doing?
Any good news for the page number issue?
Regards

@HermanFassett
How are you doing?
Any good news for the page number issue?
Regards

I'm out of town atm so I can't really work on changes. You can try out the branch update-pagination for my change that should give you a pageToken and key to use for next page results, but I need to clean it up more before I merge into develop and master. I don't think it's possible to have the code work with the page=n query string it used to use.

@HermanFassett
I am running your update-pagination branch and it's working well
I have one question
How can I get the channel title and channel URL of each video in the parseVideoRenderer function?

@HermanFassett
I am running your update-pagination branch and it's working well
I have one question
How can I get the channel title and channel URL of each video in the parseVideoRenderer function?

The result of that method is an object with a video child object and a uploader child object. You can get data for the channel like uploader.username and uploader.url associated with that video result.

oh...
uploader.username  and uploader.url is the info of channel ?

I've tested the update-pagination branch and it works for me.

Hello @HermanFassett and thank you for your efforts. Just wanted to give you heads up that starting last Wednesday, 28 Oct 2020, youtube returns the new format only so all responses from the current repo return with parser = .scraper_data.
I suggest that you tweak the code to skip the check for the old html_format and check for .scraper_data first before the  .original to optimize the code.
Best regards.

authors: FashionCStar HermanFassett MhmdSalah SoulHarsh007 cosminadrianpopescu

repo: HermanFassett/youtube-scrape


text:
Not able to select a Race

When I try to create a character with Hero Creation Tool I get the following issue: When I'm at the Race tab I can only choose None. He doesn't show the races I have.
In the Comendium Sources I have selected the following Race Compendia:

DDB Races (Imported from the DDB Importer Module)
Races (SRD)
Races (Custom)

Please advise what I do wrong

Hi @Dearion7 ! If this is with the latest version of 5e that has integrated Race items, unfortunately I was not able to work on them yet. I am in need of some long holiday to get this back on track unfortunately. I will be posting an update as soon as I can.

No problem at all. Yes I run the latest version of 5e with integrated Race items. I just wanted to let you know. I will patiently wait for your update after your holiday.

bumping since we are affected for when @Dearion7 gets a long holiday :)

bumping since we are affected for when @Dearion7 gets a long holiday :)
EDIT: Let me know if there is anything I could work on to help with. I'm a full-stack developer but don't have experience with foundry modules.

Just a heads up. We are waiting on @ccjmk for when he get’s a long holiday to fix this. He is the developer for this module.
I’m just a person using the module and found this issue.

Yup, thanks for the correction, wasn't thinking when I tagged :)

So... to summarize, the module is completely useless until someone has time to fix this? Sorry to sound excessively negative, I'm new to Foundry and I'm just trying to get everything working. Maybe there is some not-latest version of the 5e SRD races I can use?

Well I can spoil that I am actually working on this!

But it will still take some time for a new version to be available as it's a big change behind the curtains. I haven't tried what you suggest as workaround but I expect to find some errors anyway because of things that changed inside the system that this module was relying on. I will give this a try asap and let you know if it's a valid workaround.

Well, sending telepathic espresso shots your way.  LMK if I can help, I'm a pretty Typescript developer.

Well I certainly appreciate the offer! :D right now the code is a "little" absolute mess that I'm trying to clean up but if I can get it to a state where I think it'd be easy and reasonable to parallelize some work I might reach you back!

I am also affected by this

Hi @ccjmk , any updates on this? I guess we are many to be able to help, maybe you can provide a draft PR from where we can go on?
Regards

When I try to create a character with Hero Creation Tool I get the following issue: When I'm at the Race tab I can only choose None. He doesn't show the races I have.
In the Comendium Sources I have selected the following Race Compendia:

DDB Races (Imported from the DDB Importer Module)
Races (SRD)
Races (Custom)

Please advise what I do wrong

I am also having an issue using this in Foundry v12 as no matter what I do no races appear for me to select.

Agreed with what @tomsihap said. I'm sure there are quite a few of us that could help. This is a blocker for me as well. Considering pulling the code and just fixing it myself since its been 5 months and no word from @ccjmk.

If I knew something besides python I'd tag in on this... I assume the race fix is abandoned

@gregoryn22 @tomsihap @vampiregoat699 @Brandin-Canterbury sorry for the long delay, somehow I got my email notifications turned off.
This project has being discontinued, as you might have guessed, but part of why it was not updated is because someone else took over and redid most of the logic from scratch on a new project, Actor Studio, taking what was strictly necessary from here and having the benefit of a clean slate to handle things I was having trouble retrofitting into the existing module (mostly, Advancements)
I honestly forgot to post some update here pointing here towards that, but I will soon. Sorry again for the delay, and I hope you guys can use Actor Studio for your needs!

repo: HeroCreationLab/hero-creation-tool


text:
Blade manager firmware version

This change is

Reviewed 5 of 5 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable

Reviewed 5 of 5 files at r2.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable

Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable

authors: bsoutham danielreed ffdarkpenguin llvieira

repo: HewlettPackard/oneview-redfish-toolkit


text:
[fix] k8s - django maintenance resolver

This fix simply adds maintenance host to resolv for 127.0.0.1, avoiding nginx failure when starting k8s pod
Logs when error occurs:
[root]@[mymachine]:[~]# kubectl logs django-b89b5bf97-4qrs2 -c nginx -n squest
2024/01/05 15:44:41 [emerg] 1#1: host not found in upstream "maintenance:80" in /etc/nginx/squest/nginx.conf:48
nginx: [emerg] host not found in upstream "maintenance:80" in /etc/nginx/squest/nginx.conf:48

Hi thx for the PR. Actually the maintenance container is not placed in the django pod. And so not available as 127.0.0.1.
I think here the problem is due to the fact that django is deployed before the maintenance pod.

Hi thx for the PR. Actually the maintenance container is not placed in the django pod. And so not available as 127.0.0.1. I think here the problem is due to the fact that django is deployed before the maintenance pod.

Oh wow! I'm sorry for this confusion, haven't looked into the whole picture.
I could work on that fix too, you reckon I should close this PR and open a new one, or commit changes to this existing PR?

It's up to you. I don't mind if you keep this PR. You can force push once you've done working on it.
But I'm not sure if we really have a bug here. As the maintenance pod finally comes up. I think you only have this log at the bootstraping. Because the django container is not up soon enough for the nginx container. And so the nginx container use the backup config that point to maintenance pod which is not there too at this point 😅.
But this error log should disappear once everything is started.

Closing this one as it seems to not fix the deployment

authors: Sispheor thiagolinhares

repo: HewlettPackard/squest


text:
rework heap allocation api

Fixes UB when heap allocation fails
When no memory cap is passed, attempts to allocate 1 TiB, and steps down the size until the allocation succeeds
Simplifies the heap allocation API; there are now two main functions:

Heap::new_exact, which takes a size in words, and is a useful low-level API for testing/programmatic contexts
Heap::new is useful for user-controlled heap allocations; it takes an optional size in bytes, and falls back to the try-1-TiB-and-go-down-from-there approach

@FranchuFranchu can you confirm that running hvmc with no arguments works on your machine, still?
Also, @FranchuFranchu thoughts on this new API?

can you confirm that running hvmc with no arguments works on your machine, still?

Works fine, and blazing fast.

thoughts on this new API?

It's correct and I believe it covers all usecases we have right now.

authors: FranchuFranchu tjjfvi

repo: HigherOrderCO/hvm-core


text:
Footer bug and interactions enhancement

Navbar elements improved the hover effect and added animations. Overall size. Changed the color of the word "Future" to make it look appealing.
Added interactions in the About section and fixed the size of elements.
Fixed the footer section bug and improved the UI. Enhanced interactions. Improved icon hover effect.
fixes #290

@HimanshuNarware, due to some unresolved merge conflicts, made the changes again. Plz, check.

@PSS2134

Please let me know if changes made by me do not look good or needs to be modified @HimanshuNarware @PSS2134

plz add labels


text:
Support for UnityModule namespace when using umm/npm

see for example
https://github.com/shadowmint/unity-package-template/blob/master/docs/npm.md
There isn't much following for using npm with unity yet though, I just made this for testing.

Firebase SDK doesn't do this, so no UnityModule namespace must work fine.

repo: HiveMP/SDK-Generator


text:
MediaRule sealed

Hi,
Why is MediaRule sealed? There is no way to access property SelectorText.
Will you make it open or I have to fork project?
Thanks

@glararan - It looks like this is how it was when I bought the project over.
One of the reasons I created this project was because the original was too tight on access control and Tyler wasn't updating the project or bringing in pull requests.
Please create a pull request and I will merge / release a new version to NuGet.

authors: HockeyJustin glararan


text:
🛑 LinkerAPI Service is down

In 56e77e1, LinkerAPI Service (https://az-hxg.hexabase.com/linkerapi/health_check) was down:

HTTP code: 503
Response time: 134 ms

Resolved: LinkerAPI Service is back up in c5b84eb.

repo: Hokutosei/HexaUptime


text:
[RFC] UrlComparerTrait::normalize including action parameters?

I have a navbar with 4 links, 3 of them are links to the Pages Controller (to display different pages)
Up to the 3.1.0 launch the url detection worked well, after the update all PagesController link are marked as visited.
Example (simplified w/o icons)
echo $this->Navbar->beginMenu();
echo $this->Navbar->link(__('Home'), [
    'controller' => 'Pages',
    'action' => 'display', 'home'
]);
echo $this->Navbar->link(__('Apartments'), [
    'controller' => 'Apartments',
    'action' => 'index'
]);
echo $this->Navbar->link(__('FAQ'), [
    'controller' => 'Pages',
    'action' => 'display', 'faq'
]);
echo $this->Navbar->link(__('General Conditions'), [
    'controller' => 'Pages',
    'action' => 'display', 'general-conditions'
]);
echo $this->Navbar->endMenu();

I can submit a PR to fix this, but some tests breaks, some are obvious, some others not like
1) Bootstrap\Test\TestCase\View\Helper\UrlComparerTraitTest::testFullBase
/cakephp/cakephp/admin/users/edit/1 != /cakephp/admin/users/edit
Failed asserting that false is true.

I think it should pass, but then I think how useful is a very specific link in a navbar...
Should I submit the PR? I would like have some consensus about it.

This was something I was worried about when designing the URL comparer, but when you use pass parameters in your action

This was something I was worried about when designing the comparer, unfortunately both your parameters (faq, home, ...) and the edit parameters (1) are treated in the same way by Cake...
One possibility would be to allow full or partial comparison, I will see if I can come up with something.

I have just pushed a "fix" to the master branch (not the 3.1.0 tag), you can try it by requesting the dev-master branch.
The new behavior is basically:

UrlComparerTrait::compareUrls now check if the left URL is a parent of the right URL.

This should solve both issue because:

/pages/home is not a parent of /pages/faq;
/admin/users/edit is a parent of /admin/users/edit/1.

Let me know if it solves your problem without creating new ones... ;)

Thank you, It works :clap: :clap:
It could be better if you could specify such parent-checking in the 4th parameter of NavbarHelper::link()
So one could do this
echo $this->Navbar->link(__('Dashboard'), [
    'controller' => 'Moderators',
    'action' => 'dashboard'
]);
echo $this->Navbar->link(
    __('Apartments'),
    [
        'controller' => 'Apartments',
        'action' => 'index'
    ],
    // I managed this way since the very firsts days of NavbarHelper
    [], // ['class' => $this->name == 'Apartments' ? 'active' : ''],
    [
        'escape' => false,
        'active-sub-url' => true, // add "active" class if matches /apartments/*
    ]
);

Anyway, You can close the issue. Thanks again

I have pushed another commit to add more flexibility. The default behavior of the autoActiveLink is to compare whole parts of the URL, so (right column is X if comparison returns true):

Link URL
Normalized
Current URL
Normalized

['controller' => 'Pages', 'action' => 'display', 'faq']
/pages/display/faq
/pages/faq
/pages/display/faq
X

['controller' => 'Pages', 'action' => 'display', 'faq']
/pages/display/faq
/pages/credots
/pages/display/credits

['controller' => 'Users', 'action' => 'edit']
/users/edit
/users/edit/1
/users/edit/1
X

But you can pass an array as the active options to the link method (the second param), typically:
echo $this->Navbar->link(
    __('Apartments'),
    [
        'controller' => 'Apartments',
        'action' => 'index'
    ],
    ['active' => ['action' => false, 'pass' => false]]
);

Now:

Link URL
Normalized
Current URL
Normalized

['controller' => 'Apartments', 'action' => 'index']
/apartments
/apartments/action
/apartments/action
X

The current URL will never be altered by the option, only the link URL is modified.
I will add more information to the documentation when I have time.

I have added this to the documentation:
http://holt59.github.io/cakephp3-bootstrap-helpers/navbar-helper/auto-active-link/
I am closing this, feel free to (re-)open if you have any troubles!


text:
golang not update to 1.23.0

brew doctor output
Warning: go 1.22.6 already installed

Verification

[X] My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update twice and am still able to reproduce my issue.
[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output
Warning: go 1.22.6 already installed

What were you trying to do (and why)?
Warning: go 1.22.6 already installed
What happened (include all command output)?
Warning: go 1.22.6 already installed
What did you expect to happen?
Warning: go 1.22.6 already installed
Step-by-step reproduction instructions (by running brew commands)
Warning: go 1.22.6 already installed

Please fill out the questions in the issue.

Also, @bing127, if you can help resolve the remaining issues with https://github.com/Homebrew/homebrew-core/pull/175310, that'll get your desired Go release out the door faster.
As a general rule, Homebrew takes days to roll out major releases of popular toolchains like Go, Rust and Python, simply because at least half of the dependent formulae will fail building and/or testing with the new toolchains.

authors: bing127 gromgit krehel

repo: Homebrew/brew


text:
shims: make CC shim callable without a symlink

Currently, the CC shim is only callable via its symlink in shims/mac/super:
https://github.com/Homebrew/brew/blob/master/Library/Homebrew/shims/mac/super/cc
In particular, it expects xcrun to be in the same directory:
https://github.com/Homebrew/brew/blob/02b0a45705b33e22475b98df9ebb4cd40d170848/Library/Homebrew/shims/super/cc#L473
This poses a problem for build systems such as Bazel that resolve symlinks during toolchain configuration.
Bazel seems to have a good reason for resolving symlinks, which is a bug in clang related to symlink handling:
https://github.com/bazelbuild/bazel/blob/a987b98ea0d6da2656c4115568ef9cbe8a164550/tools/cpp/unix_cc_configure.bzl#L312
Therefore, it seems preferable to make CC more-flexible in how it is called.
I do this by checking both possible locations for xcrun.
This change should enable using Bazel C++ rules in Brew, which will allow us to remove the shim bypass from the Bazel
formula and enable new formulas that use Bazel:
https://github.com/Homebrew/homebrew-core/blob/master/Formula/bazel.rb#L48

[X] Have you followed the guidelines in our Contributing document?
[X] Have you checked to ensure there aren't other open Pull Requests for the same change?
[X] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[X] Have you successfully run brew style with your changes locally?
[X] Have you successfully run brew typecheck with your changes locally?
[X] Have you successfully run brew tests with your changes locally?

If the comment was adjusted to specifically mention this bazel quirk, I'll likely be ok with it - but this behaviour should never happen otherwise.
The script in general relies heavily on symlinks. If someone were to perform readlink on the clang++ shim, or any linker, before calling it - the whole script would break. clang/gcc -> cc is about as far as you can get away with.

The script in general relies heavily on symlinks. If someone were to perform readlink on the clang++ shim, or any linker, before calling it - the whole script would break. clang/gcc -> cc is about as far as you can get away with.

With that in mind: I think this probably does more harm than good. I don't think we should be changing the global behaviour for this script for Bazel on Linux. I hate patching upstream software but I'd be more in favour of patching out this symlink resolution over this change in Homebrew/brew.

So I agree readlink is usually "at your own risk", and we should tolerate some breakage in tools that rely on it.
But Bazel uses readlink only because  clang can't find its own C++ standard library if called via symlink.
I can reproduce this behavior in the latest homebrew LLVM:
brew install llvm
ln -s /opt/homebrew/opt/llvm/bin/clang++ clang++
echo '#include<iostream>

int main() {
        std::cout << "hello world";
}' > test.cpp
./clang++ -no-canonical-prefixes test.cpp -v

...

/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/wchar.h:89:10: fatal error: 'stdarg.h' file not found
#include <stdarg.h>

So it's a tricky situation for Bazel, and I believe removing the readlink would break clang libc++ builds as things stand.
Is there a better workaround than readlink? I could pursue such a change in Bazel if so.

This doesn't seem like a bug in clang, but instead an intended effect of -no-canonical-prefixes. In my view, if you use it that way and clang breaks: you're not using it correctly.

authors: Bo98 MikeMcQuaid carlocab constinit


text:
formula: Remove reference to Homebrew/Homebrew

That repo is now defunct. Reference homebrew-core instead.
Signed-off-by: Bob W. Hogg rwhogg@linux.com

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew tests with your changes locally?

Thanks @rwhogg!

authors: MikeMcQuaid rwhogg


text:
Always output when tapping core

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew tests with your changes locally?

Hiding all output makes it look like Homebrew is hanging while the tap operation (which can take a long time!) is running.
Closes #3053.

Nice work @alyssais!

authors: MikeMcQuaid alyssais


text:
Issue with pdf2svg: -lgdk_pixbuf-2.0 not found

When trying to install pdf2svg, I get this:
ld: library not found for -lgdk_pixbuf-2.0
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [pdf2svg] Error 1

Here is the full report: https://gist.github.com/MrBrezina/861cfd8beecc0de12c38
Any ideas how to fix this? I am on Mac OS X 10.10.2 (14C109)

Please provide the whole Troubleshooting requested documentation.

Sorry, missed that. Here it is: https://gist.github.com/7da57dfceb79ccaf762b

Thanks, Appreciated!
Curious this failure is; I can't reproduce it locally, and the only differences between our systems are Xcode and your Python installation into /Library. Python seems to be have been called during the install process, which makes me wonder if that is the issue on this particular error. Thoughts @tdsmith?

Nah, red herring, I think. I've never seen that warning actually cause a problem; should probably remove it.
Does /usr/local/Cellar/gdk-pixbuf/2.30.8/lib/libgdk_pixbuf-2.0.dylib exist? Does brew reinstall gdk-pixbuf help?

Tried brew reinstall, that fixed gdk-pixbuf, but then there was similar problem with fontconfig. So, I tried to reinstall that too, and that fixed it. If I had to guess, I messed up the rights when moving machines.
Thank you!

You're welcome; glad to hear it!

@tdsmith Thanks for sorting this! Appreciated.

authors: DomT4 MrBrezina tdsmith


text:
Page with filled form text input is not copied properly

Copying a page that have a form text input filled does not work properly.
In the doc where the page is copied to, the text input value is show only when input is focused and is not printed.
If source pdf is saved and loaded again, the copy works fine
I created a proof of concept at https://jsfiddle.net/blikblum/n8gr5749/26/
It does some tests. In all of them, a templateDoc is loaded from https://pdf-lib.js.org/assets/dod_character.pdf and a text input is filled.

Save the templateDoc directly -> form text input is show properly
Copy the page from templateDoc -> form text input is NOT show properly
Save the templateDoc bytes, load the bytes again and copy from the new doc -> form text input is show properly
Before copying, flatten templateDoc  -> flattened form text input is show properly
Try to flatten the form after copying the templateDoc -> form text input is NOT show properly

See https://github.com/Hopding/pdf-lib/issues/417#issuecomment-620900368.

authors: Hopding blikblum

repo: Hopding/pdf-lib


text:
new io and std::net

I see a lot of breakage due to pieces of the new IO being stabilized... First range of changes. Don't merge yet.

this was a long one, but I think it can be merged now
handle_a_signal and active_object still need a bit of rewriting with the new std::io and std::net.
I have left the warnings active on purpose, so we remember they need to be fixed.

@pfalabella: You are totally awesome!

\o/

authors: Hoverbear aochagavia pfalabella

repo: Hoverbear/rust-rosetta

license: unlicense


text:
HubSpot Backport: HBASE-28842: TestRequestAttributes should fail when expected (#6255) (#6287)

Backport https://github.com/apache/hbase/commit/6fda6b2484d0993399aa3bc4e21da5a2010f67de#diff-14235153da9130646d7ff29f1834785d630a9ecb57bd3f837ff18ae624319533L355

This PR cannot be merged until https://github.com/HubSpot/hbase/pull/116 is merged

🚢

repo: HubSpot/hbase


text:
Elements missing from screenshot

I took a screenshot for a page, but it is missing elements (Photo). When i call the same page from a normal browser, it's there. I did't use any thing to hide the picture in the script oder something like this ...

Hard to say.  It could be that you are using a technology that isn't supported by PhantomJS.  It might also be a broken media query - I can only guess.
Let us know if you resolve your problem.

authors: ayoubabid jamescryer

repo: Huddle/PhantomCSS


text:
编辑器的控件和表单业务结合的可能性

What problem does this feature solve?
大佬，最近在找类似的在线类word编辑器，找了一大圈，就数您这个编辑器比较牛逼了，API也多，插件也丰富。首先感谢您能给大家开源这么牛逼的产品，还能持续更新！奉献上我的膝盖！
我是想做一个文档式表单。基于您这个控件方式可以和传统的业务表单进行结合，进行数据交互。
就是用给客户提供两种填写数据的方式，例如下列效果图，用户可选择一种。
通过API给您这个编辑器中的控件进行赋值或获取值。这样对用户交互体验来说更方便，对我们系统层面来说，方便获取编辑器中的数据到数据库，后续做结构化数据分析。
不知道是否可以实现或者给一些建议呢？

What does the proposed API look like?
正在构思……

使用编辑器的数据结构，绘制form表单？

使用编辑器的数据结构，绘制form表单？

绘制form估计难度比较大，初步思路是基于控件的方式。
1、新建页面室，在保存数据时，我们通过getControlList和getControlValue获取页面上所有控件的值，然后调用我们系统的接口，新增更新数据。编辑器的数据还是会独立再保存一份。
2、在编辑数据时，同步调用我们的接口以及executeSetControlValue接口给控件赋值
不知道这样说 是否说清楚了

可以


text:
Separation of "AnalysisTechniques" from "Techniques"

The term "AnalysisTechnique" should be reconsidered. We want to decouple more than just "analysis techniques" here.
What we want to extract is all computational techniques (except for imaging techniques which often involve some kind of computation in order to generate the image(s)). I think this terminology whatever we call it should contain simulation and modeling techniques. So that this terminology includes all techniques that are relevant for the computation extension schemas.
@apdavison @Peyman-N @aeidi89 @ehennestad I need your help here.
A) Should we rename "AnalysisTechnique" to something else? Please make suggestions (I would be okay with "ComputationTechniques")
B) Please go through the candidate list and add what you think is missing there or what should be kept in the "Techniques" terminology: https://docs.google.com/spreadsheets/d/1dh3VyZ2GzFUn9ROgWglf8O_Xbiv1xGC9PMEycyXPumE/edit?usp=sharing

data -> data computational
real -> data "measurement"
real -> real ???
data -> real actualization

are the criteria I would use, so anything that does data -> data should always be computational and data includes literally anything that is symbolic rather than trapped out in the real world, e.g. code also counts as "data" in this context
symbolic -> symbolic computational
physical -> symbolic "measurement"
physical -> physical ???
symbolic -> physical actualization

@tgbugs @apdavison we should find a common strategy here soon so that we can do the cleanup for EBRAINS.

Leave the terminology term for now to "AnalysisTechnique"

Go through list to claim "yes" "no" and "maybe" for separating techniques into that terminology

@apdavison @Peyman-N @aeidi89 @ehennestad  I went through the list and made first yes/no/maybe suggestions. https://docs.google.com/spreadsheets/d/1dh3VyZ2GzFUn9ROgWglf8O_Xbiv1xGC9PMEycyXPumE/edit?usp=sharing

authors: lzehl tgbugs


text:
GitHub Action to lint Python code

Did you test the changes?
Test results: https://github.com/cclauss/discdb/actions

Oh hi there! Sorry for not seeing this before I have been a little inactive lately. You are always free to DM me on discord in case I don't respond to PRs after 3 days. Anyways lemme review the code and merge it!

Yups seems like the changes are perfect lemme merge the PR!


text:
Add folder and template paths variables

It would be nice if there was a variable to add inside the template that contains the project template output path like imports.
example:
template_name:
  file.js
  inside_folder:
    datasource.js

if I select the template path inside the project realtive path src/,
inside the datasource.js would be two options to relative paths to the project

[FTTemplatePath] template output root path -> src/template_name (or src)
[FTRelativePath] template output file path -> src/template_name/inside_folder

so inside the datasource.js file I could use the relative path it has to import the file.js
import {foo, bar} from '[FTTemplatePath]/file.js';

Hey, sorry for taking a while to respond.
I think this is kind of tricky to implement.
for [FTTemplatePath] these things come to mind

src/<template_name> is an "absolute" notation that can resolve to very different things depending on the project
configuration IIRC. This would be problematic.
resolving the path relative to the current file should be possible.
This would result in you not getting src/template_name but ./ or ././ etc. depending on how deep you currently are in the template folder hierarchy

[FTRelativePath] doesn't make sense to me to be honest. It would be the same as a simple ./ or am I missing something here? Can you maybe give another example so I can understand better?

That would be nice to be implemented. In the file, we can have a path to file '../../../', however, you can create it in a different folder in the solution.

This would be useful. For example to define golang package name on each file using the name of the parent folder
project
  |- foo
  |      |- bar.go

// bar.go
package helpers

...

I'm not sure if this is the same thing or not, but I certainly think it would be useful to have a variable such as FTDirectory which points to the directory in which you are creating your template folder.
Similar to how VSCode snippets offers a TM_DIRECTORY variable.
This would allow me to include imports in my template files:
My Custom Template: // this is the template directory in .fttemplates
  index.ts
  other.ts

// in index.ts
import other from "<FTDirectory>/<FTName>/other";

I completely understand why this wouldn't be recommended for import paths, and I wouldn't recommend doing that, either.
However, a variable like this would be useful specifically for templating a Storybook file, or a Jest test file, when you or your team have decided to follow a convention of naming stories and/or tests based on their top-down directory paths.
Storybook
Not sure as of when, but Storybook explicitly disallows a dynamic value for the default export's title attribute of a story:
❌
const path = (__dirname.split("/src/app/")[1])

export default {
  title: path,

✅
export default {
  title: 'components/MyComponent',

so the ability to output the value of what the outputted file's __dirname variable would be in a template would be very helpful in this situation, both to get around this limitation, and because an outputted string would be easier to read anyway.
Jest
This could also be used for Jest test files. While Jest still allows this to be dynamic last I checked, eg:
✅
const path = (__dirname.split("/src/")[1])

describe(path, () => {

I'd, again, still prefer to be able to output it from a template:
describe('<FTDirectory>/<FTName>', () => {

Simply because the following outputted code would be easier to read:
describe('components/MyComponent', () => {

authors: Huuums jblossomweb lucas-labs nickiepucel stanimirt-vmware tmura-ido

repo: Huuums/vscode-folder-templates


text:
That was wrong.

I goofed.

Lol

authors: Alexia elifoster

repo: HydraWiki/Tilesheets


text:
Stage damage compute failing

This appears to be the problem line:

There are also several unit tests that are failing for the above reason.
I am not sure if this is caused by my recent changes to the structures or not.

is this related to #722?

Yes, this is the same issue. I vote we kill this one and keep #722

repo: HydrologicEngineeringCenter/HEC-FDA


text:
SPARK_HOME variable issue in Mist

I was running Mist on RHEL 7.4.
I have set SPARK_HOME in /etc/profile so that it can be available system wide.
The issue is i have to load once manually . /etc/profile before starting mist-master.
Kindly modify this behaviour or what is missing here.

It is not a mist's issue. It looks that your session/terminal doesn't use /etc/profile file. There is no difference where are trying to set up environment variable, if it set correctly (just check it echo $SPARK_HOME before running mist-master) mist will use it.

Ok @dos65 ...will check it..thanks for the suggestion.

repo: Hydrospheredata/mist


text:
Set up Jira/Feature widget through remoteCreate/remoteUpdate API

Feature
Set up Jira/Feature widget creation/updation through the remoteCreate/remoteUpdate API
Request Payload to auto created the Feature/Jira Widget is as follow
Use Case:
For E.g) Scrum Type
DashboardRemoteRequest request =  makeDashboardRemoteRequest(<>);
DashboardRemoteRequest.FeatureEntry validFeature = new DashboardRemoteRequest.FeatureEntry();
    validFeature.setToolName("Jira");
    validFeature.setDescription("Metrics Service Team");
    Map<String, Object> options = new HashMap<>();
    options.put("teamName", "MST");
    options.put("featureTool", "Jira");
    options.put("projectName", "Metrics Service Team");
    options.put("projectId", "15258144130");
    options.put("teamId", "15258144034");
    options.put("estimateMetricType", "count");
    options.put("listType", "issues");
options.put("sprintType", "scrum");

    Map<String, Object> showStatusOption = new HashMap<>();
showStatusOption.put("kanban", false);
showStatusOption.put("scrum", true);
options.put("showStatus", showStatusOption);

    validFeature.setOptions(options);
    entries.add(validFeature);

    request.setFeatureEntries(entries);

@Sbrenthughes
As discussed, please review and merge the PR as per.
The Issue link on the discussion is
https://github.com/Hygieia/Hygieia/issues/2420

Thanks for the PR we will review as soon as possible

@divashdr Can you update and push again? I am hoping to get this merged this week

@Sbrenthughes
The discussion here #2420 seems to be resolved. Would you review and merge as per? Thanks

The  new PR(https://github.com/Hygieia/Hygieia/pull/2580)  has incorporated the changes made as part of this particular PR.  Hence closing this.
Thanks to @Sbrenthughes & @subodhsbattina  for the support

authors: Sbrenthughes divashdr

repo: Hygieia/Hygieia


text:
The script use real IP for sending attack

Hello im tested the script on my own website
and i see all methods work proxyless, without proxies so the proxy function look not working.
Also the script is not abble to close the session and open new one when get error or can't pass the challenge
If the old sess keep opened just will spam your server cpu and ram
All generated sess is keeping opened and spam ram/cpu
Requests look fake on dstat because if u are attacking a real target (your own) and u check your cf acc you can see here is just 1 IP (your server) and all requests look invalid
the script work just on dstat because all type of req are allowed here
It is bad to use like for own API
Sugestion: remove the webdriver, make a function to callback to solver.js
solver.js use the puppeteer  just to pass challenge and store cookies
1, start the python script add the target
2, found challenge callback to solver.js
3, get challenge
4, close the session
5, return cookies on python script

Dos = ur real ip

Method without proxy = ur IP

Method without proxy = ur IP

The script is proxyless = use your server IP
The proxy function look not working im hiting my own server and i see just my server IP
also tested on iplogger and it get just my server ip, no proxies (on all methods not just on the method proxyless)

Method without proxy = ur IP

The script is proxyless = use your server IP The proxy function look not working im hiting my own server and i see just my server IP also tested on iplogger and it get just my server ip, no proxies (on all methods not just on the method proxyless)

what method u you?

Method without proxy = ur IP

The script is proxyless = use your server IP The proxy function look not working im hiting my own server and i see just my server IP also tested on iplogger and it get just my server ip, no proxies (on all methods not just on the method proxyless)

what method u use?

pxcfb, cfb, cfpro

Method without proxy = ur IP

The script is proxyless = use your server IP The proxy function look not working im hiting my own server and i see just my server IP also tested on iplogger and it get just my server ip, no proxies (on all methods not just on the method proxyless)

what method u use?

pxcfb, cfb, cfpro

you added a proxy to the file proxy.txt ?

Proxies are working, here is my result with IPLogger

 Proxies are working, here is my result with IPLogger

Yes i added, wich any method u tested?

use proxy method
proxy works well

repo: HyukIsBack/KARMA-DDoS


text:
Improve the docs of the filter() arguments

Please confirm that this PR has done the following:

~Tests Added~
[x] Documentation Added
~Name of contributors Added to AUTHORS.rst~
[x] Description in RELEASE_NOTES.md Added

Description of PR
This PR moves the documentation of the filter options/arguments to an own page of the docs rather that having them as part of the slice() docstring.

Thanks @phackstock - agree that we should extend the docs to include examples and I'll start an issue for it to be tackled before release 3.0, but for now, my aim was to get the docs out of core.py.

repo: IAMconsortium/pyam


text:
CMake overwrites CMAKE_SYSTEM_PROCESSOR when not explicitly cross-compiling

CMake overwrites CMAKE_SYSTEM_PROCESSOR which is set in iar-toolchain.cmake with detected PC architecture (e.g. AMD64). Therefore, the CSpy tests created using the function iar_cspy_add_test defined in iar-cspy-rl78.cmake fail. This is, because file names are created using the overwritten variable.
To fix this, CMAKE_SYSTEM_NAME should be set to Generic in the toolchain file. This keeps CMake from automatically detecting and overwriting CMAKE_SYSTEM_PROCESSOR.

Thanks for reporting this bug, Jonas. We will get it fixed soon.

authors: felipe-iar jofa-ph

repo: IARSystems/cmake-tutorial


text:
Build of chaincode_start.go fails

I have followed the instructions for the chaincode tutorial but at the point where it suggests to try building the start example, the build fails for me. Here are the first dozen or more lines of the output, which is over one hundred lines long...
AndysNecBookPro:start andyb$ go build .
github.com/hyperledger/fabric/vendor/golang.org/x/net/http2/hpack
fatal error: unexpected signal during runtime execution
[signal 0xb code=0x1 addr=0xb01dfacedebac1e pc=0xf0eb]
runtime stack:
runtime.throw(0x4971c0, 0x2a)
/usr/local/go/src/runtime/panic.go:547 +0x90
runtime.sigpanic()
/usr/local/go/src/runtime/sigpanic_unix.go:12 +0x5a
runtime.unlock(0x982540)
/usr/local/go/src/runtime/lock_sema.go:107 +0x14b
runtime.(*mheap).alloc_m(0x982540, 0x1, 0xa, 0xb8d668)
/usr/local/go/src/runtime/mheap.go:492 +0x314
runtime.(*mheap).alloc.func1()
/usr/local/go/src/runtime/mheap.go:502 +0x41
runtime.systemstack(0xc820467e58)
/usr/local/go/src/runtime/asm_amd64.s:307 +0xab
runtime.(*mheap).alloc(0x982540, 0x1, 0x1000000000a, 0xed8f)
/usr/local/go/src/runtime/mheap.go:503 +0x63
runtime.(*mcentral).grow(0x983c70, 0x0)
/usr/local/go/src/runtime/mcentral.go:209 +0x93
runtime.(*mcentral).cacheSpan(0x983c70, 0xc820486030)
/usr/local/go/src/runtime/mcentral.go:89 +0x47d
runtime.(*mcache).refill(0xaf4000, 0xa, 0xc820486000)
/usr/local/go/src/runtime/mcache.go:119 +0xcc
runtime.mallocgc.func2()
/usr/local/go/src/runtime/malloc.go:642 +0x2b
runtime.systemstack(0xc82046a4c0)
/usr/local/go/src/runtime/asm_amd64.s:291 +0x79
runtime.mstart()
/usr/local/go/src/runtime/proc.go:1051

I upgraded my Go environment to 1.7.5 and the problem went away. I suggest the instructions are updated accordingly as its clear that older versions of Go will not support this example.

repo: IBM-Blockchain/learn-chaincode


text:
Minor fixes in README.md

Add maven central badge
Change the dw Open link to the Java SDK page.

done

repo: IBM-Bluemix/gp-java-client


text:
CLI Docker installation problems

Summary
This problem was reported by @unipheas in the Kitura Slack group.

When installing the CLI through Homebrew a user will not be able to install if they already have Docker installed. I had to uninstall docker and rerun the command brew cask install ibm-cloud-cli

I am not sure of the tooling information, and will ask @unipheas to provide the below information.
Steps to reproduce
(include tooling version, platform, etc)
1.
Operating System
Specify: (MacOS, Linux, Windows)
Supporting details
(Logs, stack traces, images, etc.  Wrap in <detail> ... </detail> tags as appropriate)

Development "done" checklist

[ ] Test case to verify
[ ] Public Documentation updated
[ ] Change added to "release notes" as appropropriate
[ ] Notification to stakeholders (OM, other squads, etc)

Steps to reproduce
(include tooling version, platform, etc)

Manually install docker from https://download.docker.com/mac/stable/Docker.dmg
Using Homebrew, in terminal, type: brew cask install ibm-cloud-cli

Operating System
Specify: MacOS Mojave 10.14.4
Supporting details
Installation will fail because it detects Docker.app is already installed in the Applications folder.

authors: christiancompton unipheas

repo: IBM-Cloud/ibm-cloud-developer-tools


text:
Support for aarch64 architecture

It would be nice to have support for Mac M1 chips

Agreed. This would be great!

https://goreleaser.com/customization/builds/  shows examples supporting arm64 as a target arch, so you should be able to just update the .goreleaser.yaml at https://github.com/IBM-Cloud/redli/blob/master/.goreleaser.yml#L13
just add a
    - arm64

authors: alejandrotoga02 jimlindeman sudomateo

repo: IBM-Cloud/redli


text:
Support for template files organized in directories

The current implementation does not support templates organized in directories,
e.g. the following doesn't work:
try response.render("accounts/account.stencil", context: context).end()

This is a serious limitation.

@gmosx For me it works - please see the test in https://github.com/IBM-Swift/Kitura-Sample/pull/71

After the related issue #16 was fixed I don't have any further problems.

authors: gmosx vadimeisenbergibm

repo: IBM-Swift/Kitura-StencilTemplateEngine


text:
Conditional get

On non-range requests, kitura StaticFileServer will never send HTTP 304 NOT MODIFIED response, even if client already has the latest version of a resource. It will send the entire file instead, which is a waste of resources. Additionally, a documentation error regarding the max-age header parameter was fixed.
Description

A check was added to see if the file's Etag matched the request's corresponding "If-None-Match" parameter. If they are equal, the server will respond with HTTP 304 NOT MODIFIED. Otherwise it will still send the file.
Motivation and Context

See issue #1332. In some use cases, a browser may request the same resource on many different pages, or multiple times for a number of other reasons. Using the max-age parameter is inadequate because it does not allow the developer to update a resource at any time without clients continuing to use an outdated version of a resource.
How Has This Been Tested?

I have tested the code on a personal project (on a mac using a browser on the same computer). It should not affect other areas of the code.
Checklist:

[x] If applicable, I have updated the documentation accordingly.
[ ] If applicable, I have added tests to cover my changes.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @CalebKussmaul! Are you able to update this PR? We'd like to merge it :)

@ianpartridge It should be all set now, thank you!

@djones6 can you take another look please :)

Thanks @CalebKussmaul!  @djones6 - please rereview.

authors: CLAassistant CalebKussmaul ianpartridge

repo: IBM-Swift/Kitura


text:
build error

I am getting this error while running make docker-build command on a mac environment.
cd build/grpc-health-checker && make install-deps build-x86-64
glide -q install
[WARN]	The name listed in the config file (github.ibm.com/deep-learning-platform/grpc-health-checker) does not match the current location (github.com/IBM/FfDL/etc/dlaas-service-base/build/grpc-health-checker)
rm -rf bin/
CGO_ENABLED=0 GOOS=linux go build -ldflags "-s" -a -installsuffix cgo -o bin/grpc-health-checker
docker build -q -f Dockerfile.ubuntu -t dlaas-service-base:ubuntu16.04 .
sha256:6975b033728017afc0f9a2dd9978e76331411d323fef07c9b8600959cccdbf4a
docker tag dlaas-service-base:ubuntu16.04 docker.io/ffdl/dlaas-service-base:ubuntu16.04
docker build -q -f Dockerfile.alpine -t dlaas-service-base:alpine3.3 .
sha256:9e367f913da06d9758a26936bff18c23587e5eebfd424f9793a0cd488742e75b
docker tag dlaas-service-base:alpine3.3 docker.io/ffdl/dlaas-service-base:alpine3.3
(full_img_name=ffdl-metrics; \
		cd ./metrics/ && (if [ "minikube" = "minikube" ]; then eval $(minikube docker-env); fi; \
			docker build -q -t docker.io/ffdl/$full_img_name .))
Sending build context to Docker daemon  11.26MB
Step 1/6 : FROM dlaas-service-base:ubuntu16.04
pull access denied for dlaas-service-base, repository does not exist or may require 'docker login'
make[1]: *** [.docker-build] Error 1
make: *** [docker-build-metrics] Error 2```

It looks like you are using "minikube" as your build environment. If you want to build and run FfDL on your Minikube's Docker daemon. Then you need to run eval $(minikube docker-env) to point your Docker CLI to the Minikube's Docker daemon.
If you just want to build FfDL on your default Docker daemon, run export VM_TYPE=none to avoid the makefile building FfDL docker images with your Minikube's Docker daemon.

Sounds good. Modifying the developer guide to state that would be useful.

Thanks @visahak, we are still in early stage, so we will have a lot of documentation changes coming soon.

Thanks @visahak - please also submit a PR if you think mentioning this at a certain point in flow would be better.

I am getting error with one pod that gets into CrashLoopBackoff status. I have tried a few times with clean 'helm install' but get the same error.
ffdl-trainingdata-86c5578b75-v884m   0/1       CrashLoopBackOff   5          7m
Any suggestion, how to get past this error and have a clean deployment of this fabric? Thanks

@visahak can this be closed? Still running in build issues?

Resolved in #73

authors: Tomcli animeshsingh lingarajonline visahak

repo: IBM/FfDL