text:
fix upgrade?

Problem

Description of why you made this PR

Solution

And how do you fix that problem

PR Status

[ ] Code finished and ready to be reviewed/tested
[ ] The fix/enhancement were manually tested (if applicable)

Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

!testme


text:
Parserの再設計

概要

japanese_address_parser::parser::Parserを再設計する
返り値を変更する

現行のParseResultを返す作りから、Vec<Token>を返す作りに変更する
実行時にエラーが発生した場合は、ログとして出力するようにする(ParseResultにエラー情報も持たせるのはやめる)

フィーチャフラグではなく、引数でオプションを指定できるようにする

引数で渡すオプションで、データソースを選択できるようにする
#426 でデータソースとしてchimei-ruiju.orgを使用できるようにする予定だが、これを見越した作りにする

source: gharchive/issue

repo: YuukiToriyama/japanese-address-parser

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 Status server is down

In 40ee276, Status server (https://zeenkeystatus.ga) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Status server is back up in 1850fc5.

repo: ZEENKEY/statuspage


text:
🛑 Server 1 is down

In cd4e854, Server 1 (https://www.zeenkey.com) was down:

HTTP code: 500
Response time: 135 ms

Resolved: Server 1 is back up in b1060a7.


text:
Generate changelogs and release notes from a project's commit messages and metadata

New Feature Proposal
Description
Generate changelogs and release notes from a project's commit messages and metadata
https://github.com/conventional-changelog/conventional-changelog
Background
I always forget changing CHANGELOG.md file and I believe I'm not alone in it. It would be great to update this file automatically based on git history (commit messages) once a new release supposed to be delivered.

My experience with this is not so good - if you forget to use the changelog appropriately you will also forget to follow the conventions for the commit messages (if not you then someone else will fall that trap; so this is not a silver bullet).
Also while commit messages should be technically driven the changelog should be more high-level. Combining the two has advantages but also disadvantages.
All in all you guys need to decide - if the full team is in favor of it then I think it should be tried.

The first issue with following commit message rules efficiently is being simply resolved by https://github.com/conventional-changelog/commitlint.
I understand your thoughts that commit messages should be technically driven, but anyway it's not followed (mostly changelog listing just duplicates commit messages)
@boromo @magneticz @kotielnikov @IKolosynskyi your opinions?

I agree with @dimabory

I think we definitely could and should improve our commit messages, as we(at least I) usually don't put much thought in them. commitlint could be good starting point. I still see value in having separate changelog, as not every commit message needs to be added as changelog entry, but if we start creating good commit messages, then maybe we can revisit this

I hate changelog.md but am sure we need to update it manually. I agree that the changelog message is much high-level than commit message.
I think it is easier to write changelog than to follow commit message rules + GIT rules (like squashing).
As the alternative, if it's possible, I would like to propose to make the changelog.md as a required file to be changed in every commit in develop.

I think we shouldn't confound git commit with ctrl + s. A git log should be like reading a story. By reading the log, I should be able to understand in ~10s the whole file history.
Conventional commits will enforce it.
And as mentioned before, we mostly duplicate commit msg to changelog

By the way, just compare these two changelog files: conventional-changelog/standard-version and precise-ui.

authors: FlorianRappl IKolosynskyi dimabory kotielnikov magneticz

repo: ZEISS/precise-ui


text:
training backdoor model

hello. if i use only these commands and don't use the incremental training can i get the 98.48% attack success rate?
python IN_GE.py --hostname #exp_name --remark #remark yourself does this line automatically include the interference layer setting in your  code?
python trigger_generation.py
python backdoored_model.py -a vgg19_bn      as i used used the first line of command with incremental training and generated trigger and execute code for backdoored model but i did not get correct results.
| T-top1:  42.2700 | T-top5:  100.0000
Best epoch: 267
Best acc: tensor(71.1500, device='cuda:0')   for training backdoored model and when i evaluate the model it gives me
| T-top1:  0.0000 | T-top5:  39.6500
Test Loss:  2.30267096, Test Acc:  10.00, Test Wm Acc:  0.00

what are the exact commands that will give 98% attack success rate?

/netH_epoch_17,sumloss=558.155029,Hloss=319.674500.pth"   if i use model with these losses for trigger generation is it good?

repo: ZJZAC/Poison-Ink


text:
predict.py 报错TypeError: forward() missing 1 required positional argument: 'outputs'

python  predict.py
--image_path
example_images
--exp_opts
options/TiO-Depth/eval/tio_depth-swint-m_384_kitti.yaml
--model_path
TiO-Depth_384_bs8_kittifull/model/last_model.pth
报错ypeError: forward() missing 1 required positional argument: 'outputs'
readme中：
python predict.py
--image_path
--exp_opts
--model_path
exp_opts：如何选择了？

你好，这个问题你解决了吗？

在　 predict.py　代码中
def predict_one_image(network, inputs, visualizer, save_path, file):     outputs = network.(inputs, is_train=False)
应当替换为
def predict_one_image(network, inputs, visualizer, save_path, file):     outputs = network.inference_forward(inputs, is_train=False)
同时在def predict():函数中
inputs 应当传入两幅图像
            imgL,imgR = readImg(imgpath,f)             inputs['color_s'] = imgL.to(device)             inputs['color_o'] = imgR.to(device)

authors: hedaobaishui xiao-hua-sheng


text:
Why ''im = ori_im'' ？

Hi, Thanks for your great work.
I have some issues with image pre-processing:
            _, ori_im = self.vdo.retrieve()
            im = cv2.cvtColor(ori_im, cv2.COLOR_BGR2RGB)
            im = ori_im

Why is it like this? 'cv2.cvtColor' is worked?
Thank you!

Thank you. It is my mistake.
I have fixed this error.

authors: ZQPei chaipangpang


text:
請問這有辦法解析台灣站的資源嗎

可以解析台灣的資源嗎?
https://tw.iqiyi.com/v_19rsiyjj9g.html

不行，只能解析大陆资源，跟getvideo.apk一样。要下台湾资源，首先要搭台湾梯子，然后用维棠导入惶心的最新解析插件方可下载，而且只有首次下载才能成功，解析二次及以上均失败。要不然清理完电脑垃圾后重启系统再解析，或许能成功。

惶心的最新解析插件在哪可以下载

维棠官网> 第三方插件下载

台湾的资源我们大陆这边不好做，因为没有这个测试环境。

要付费梯子，不想给钱就放弃吧。免费又稳定的台湾梯子目前我还不晓得哪里有。

repo: ZSAIm/iqiyi-parser


text:
foreach() argument must be of type array|object

After some time it starts spamming this in log (and not notifying ofc):
Warning: foreach() argument must be of type array|object, false given in /usr/src/myapp/src/Main.php on line 35
No devices currently connected to the network.
Checking again in 60 seconds...
Warning: foreach() argument must be of type array|object, false given in /usr/src/myapp/src/Main.php on line 35
No devices currently connected to the network.
Checking again in 60 seconds...
Warning: foreach() argument must be of type array|object, false given in /usr/src/myapp/src/Main.php on line 35
No devices currently connected to the network.
Checking again in 60 seconds...
Warning: foreach() argument must be of type array|object, false given in /usr/src/myapp/src/Main.php on line 35
No devices currently connected to the network.
Checking again in 60 seconds...
Warning: foreach() argument must be of type array|object, false given in /usr/src/myapp/src/Main.php on line 35
No devices currently connected to the network.
Checking again in 60 seconds...
Warning: foreach() argument must be of type array|object, false given in /usr/src/myapp/src/Main.php on line 35
No devices currently connected to the network.
Checking again in 60 seconds...
Warning: foreach() argument must be of type array|object, false given in /usr/src/myapp/src/Main.php on line 35
No devices currently connected to the network.
Checking again in 60 seconds...

Strange, I've never had that issue. If it initially is working, but then after some time gives this error, I wonder if there is an issue with the client itself? Perhaps try adding this to see if this resolves the issue (to check if clients is an array):
        if ($clients === false) {
            echo "Error: Failed to retrieve clients from the UniFi Controller. Retrying in 60 seconds...\n";
            sleep(60);
            $unifiClient->logout();
            $unifiClient = createUnifiClient();
            continue;
        }

        // New section to add
        if (!is_array($clients)) {
            echo "Error in client data retrieval: Expected an array, received a different type. Attempting to reconnect to UniFi Controller...\n";
            sleep(60);
            $unifiClient->logout();
            $unifiClient = createUnifiClient();
            continue;
        }

Let me know if this works and I can add it to the current code.

Got a new notification after edit and restarting.
Monitoring.

Thanks, keep me posted, it sounds to me like something weird happens with the controller and a reconnect would fix it

Looks to be working fine.
No errors so far, tested moving my iPhone over WiFi networks, and notifications are triggered as expected.
New device found. Sending a notification.
Checking again in 60 seconds...
New device found. Sending a notification.
Checking again in 60 seconds...
No new devices found on the network.
Checking again in 60 seconds...
New device found. Sending a notification.
Checking again in 60 seconds...

Just pushed a fix for this. Thanks for the update! Let me know if you see any further issues.


text:
这怎么解决呢

2022-12-24 04:07:41,403 INFO main.py(11524) - Request took 13.741 seconds
INFO:     172.104.99.44:0 - "POST /generate-stream HTTP/1.1" 200 OK
INFO:     172.104.99.44:0 - "GET /_next/static/media/sparkles.b1e1a420.svg HTTP/1.1" 200 OK
INFO:     172.104.99.44:0 - "GET /_next/static/media/clipboard.579cb9e6.svg HTTP/1.1" 200 OK
INFO:     172.104.99.44:0 - "GET /_next/static/media/variations.d35c8a3a.svg HTTP/1.1" 200 OK
INFO:     172.104.99.44:0 - "GET /_next/static/media/save.36b86afc.svg HTTP/1.1" 200 OK
INFO:     172.104.99.44:0 - "GET /_next/static/chunks/157.4184b7ea2aeb8d93.js HTTP/1.1" 200 OK
100% 50/50 [00:18<00:00,  2.70it/s]
2022-12-24T04:10:33Z ERR  error="Incoming request ended abruptly: context canceled" cfRay=77e67c6b210825f2-NRT originService=http://localhost:6969
2022-12-24T04:10:33Z ERR Request failed error="Incoming request ended abruptly: context canceled" connIndex=2 dest=https://helping-massage-angeles-waste.trycloudflare.com/generate-stream ip=198.41.200.23 type=http
2022-12-24 04:10:35,163 INFO main.py(11524) - Request took 21.268 seconds

重试就好了

大佬大佬，这个后端能不能在自己电脑上运行呀，它老是断开

这个是线上版的哦，你可以去B站找找Naifu本地离线版的资源

好嘞，太谢谢您了，回答我那么多问题，感谢感谢

对了，网络不稳定最好把生图时间限制改为None

这就改一下


text:
add pre-commit config

It bit me a bunch of times that I didn't run tox before pushing minor changes, and tox -e check takes 13s on my system, so I've gradually recreated all the functionality from it in pre-commit + some other checks. So at this point it might be worth removing tox -e check entirely and transitioning the CI to use pre-commit as well. If you approve of the idea I'll implement the necessary gh CI changes as well & clean up tox.ini.
(though it currently won't pass until #87 is merged)
TODO:

Go through https://github.com/HypothesisWorks/hypothesis/blob/226028dcf62b7c7a239574af6f5d69559be0febc/requirements/tools.in#L5-L19 and crib any nice ones.

Sounds good to me; mark ready-to-review when... you know... and I'll be happy to merge.

I added https://pre-commit.ci/ to my fork, and it now passes on my mirror PR over there: https://github.com/jakkdl/flake8-trio/pull/1
The largest issue was that pyright requires internet connectivity to run, which the pre-commit ci does not support
There's a couple options to get around that:

Don't run pyright in pre-commit, but have a tox action for it. I'd prefer not to do this, since I want local pre-commit hooks to still run pyright when committing.
[current solution] skip pyright when run in ci, but have a separate tox environment that runs pre-commit run pyright --all-files. This environment is not included in the default envlist.

One downside is that pre-commit will still initialize all hook environments, even if only a single hook is specified, so there's a slight time penalty here.
This will necessarily have to check all files (unless the modified file list is piped from the gh ci action into tox somehow) so will be slower - but this is probably an upside since an unmodified file can depend on a type specified in a modified file.

Use https://pre-commit.ci/lite.html instead, so pre-commit is run as a GH action. Then it will have internet connectivity, but losing out on speed and automatic PR's that update hooks.
Use mypy instead of pyright :wink: (idk why you went with pyright from the beginning actually, but since I've had mypy enabled in my editor since previously it runs perfectly fine in mypy as well - though not with --strict (but most of those are function signatures not having -> None which pyright doesn't require so it's been inconsistently applied)

Various other considerations for this, or future PR's, or never:

Run minimal tox from pre-commit, so developers (me) don't accidentally push code with broken tests. Don't think it happens enough to bother figuring out the piping.
Don't run tests with coverage on any platform but py311-flake8_6. Running with coverage slows down considerably, and means extra # noqa's (I've hacked together some ugly aliases that mostly solves this locally)
flake8-eradicate still doesn't work with flake8-6, and I haven't found a way to tell pre-commit to exclude specific hook id's from autoupdating, so with the full CI service we'll likely have it nagging us that flake8 is out of date.
Do we want to disable autofix_prs? I haven't used pre-commit ci enough to know how handy vs irritating vs dangerous it is, but noticed that flake8-bugbear has it disabled.

But otherwise I think this should be good for merging

rebased on top of main

Renamed the check ci action to show that it's now solely for type-checking. I tried doing that previously but failed, but idk what I did different that time.

source: gharchive/pull-request

authors: Zac-HD jakkdl


text:
申请权限

用户名：bxz400
邮箱：457322242@qq.com

OK


text:
Set Ripples to select color from set list

Can someone help me figure out how to generate ripple colors from a set array of color values? I've tried doing it but can't seem to figure out how the color wheel works.
I have something like this
char colorOptions[3] = {'#FFA233', '#DC0000', '#8F00AB'};
and just want each ripple to randomly choose a color from this array.

Here are the code locations where colors are chosen:
randomPulse color generation
cubePulse color selection
starburst color selection
These all rely on baseColor, which is randomly generated on this line
If you switch out baseColor with a random selection from your array this should "work".
unsigned int baseColor = colorOptions[random(NUMBER_OF_COLORS)];

Minor correction to your array declaration:
    const int NUMBER_OF_COLORS = 3;
    const char* colorOptions[] = {'#FFA233', '#DC0000', '#8F00AB'};

repo: ZackFreedman/Chromance


text:
Review: Set up your Kanban board.

Dear Reviewer,
Please check this Kanban Board consisting 2 team members.

[x] Created an empty repository for group project.
[x] Opened GitHub project (Kanban board) in our team repo.
[x] Removed all cards with Team3 in the title.
[x] All cards on our Kanban board now have assignees.

We appreciate your kind effort.
Regards,
@Zafron047 @zuhebahmed88091

STATUS: APPROVED ✔ ✔
Hi @Zafron047 and @zuhebahmed88091,
✔ Tasks are complete and well assigned
Your project is complete!  There is nothing else to say other than... it's time to go ahead with the project :shipit:
Congratulations! 🎉
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the Issue thread if something is not 100% clear. And please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


text:
Declare version and support sending config to client

Requires https://github.com/Zarel/Pokemon-Showdown-Client/pull/441
Client will be aware of version and config.
Login server will be aware of version as well, which will allow replay server to server specific battle data/scripts files according to the version stored with the replay.

See Zarel/Pokemon-Showdown-Client#441

repo: Zarel/Pokemon-Showdown

license: mit

license_source: bigquery


text:
Don't trigger CrisisMonitor for nameblacklists in secret rooms

This makes it consistent with the behavior or /blacklist.

Is this necessary? Getting blacklisted by a trusted user for any reason is worrisome.

There's a reason I implemented it this way at first...

Dunno, that's a policy decision, I just made it consistent with the other punishment commands.
But isn't it the case that secret rooms can mostly blacklist and ban whoever they want?

Yes, mostly, but presumably with some semblance of the idea that they actually did something wrong.

authors: Zarel asgdf


text:
Modlog: Use connection.send for sending popup

This makes it clearer here that there is more popup elements than just |popup|

This was tested thoroughly this time :p


text:
🛑 Farmacia is down

In 3f926e2, Farmacia (http://excelencia.myqnapcloud.com:3002/ColmedFcia/ValidarNew.aspx) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Farmacia is back up in acb43d3 after 1 day, 13 hours, 41 minutes.

repo: ZarzueloM/status


text:
Investigate testnet network seems to be stuck

I noticed this in some PRs that we have open, when they get into obtaining Testnet checkpoints (which require a Testnet in sync):
https://github.com/ZcashFoundation/zebra/actions/runs/10720482113/job/29727718552?pr=8849
It was reported by different people (@daira , @nuttycom) that their Testnet nodes are stuck so we need to figure out what is going on.
One option is that nobody is mining. A bigger problem might be an issue with NU6. This ticket can be closed after we figure out and we have a solution or next steps sorted.

Update: From today arborist call we are going to be waiting on @str4d who is coming back to office tomorrow to resume the testnet network as it has the most knowledge about it. We should try to document the process.

I think @arya2 just started a miner in the testnet to fix this up so it wasn't a big deal but just no miner in the network.

repo: ZcashFoundation/zebra


text:
🛑 Dev Client init service health is down

In 7d678cd, Dev Client init service health (http://dev.zebr-a.com/client-init-service/v2/health) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dev Client init service health is back up in 246ebd9.

repo: Zebrainy/upptime


text:
Candy Store Html, CSS and JavaScript

Is your feature request related to a problem? Please describe.
I would like to add my Candy Store project to this repository. I'm GSSOC'22 participant kindly assign me this issue.
Here's my project link: Candy Store
Describe the solution you'd like
I created this website while learning web development. I used all the basic concepts of JS in this project and I want to share my project to help other learners to understand the basic concepts of JS. I made this project using HTML, Bootstrap and JS.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Describe as above.
Steps Followed✅
Check the box with [x] If you followed all the steps.

[x] Is your feature request related to a problem? Please describe.
[x] Describe the solution you'd like
[x] Describe alternatives you've considered
[x] Additional context

Code of Conduct✅

[x] I agree to follow this project's Code of Conduct.
[x] I checked the current issues for duplicate problems.
[x] I have gone through project README.

@Astrodevil kindly assign me this issue.


text:
🛑 Drive is down

In ea59cf8, Drive (https://drive.zxavier.com) was down:

HTTP code: 523
Response time: 171 ms

Resolved: Drive is back up in 4cc58f6.

repo: ZhangXavier/upptime


text:
🛑 Xavier's Blog is down

In 0926bfe, Xavier's Blog (https://www.zxavier.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Xavier's Blog is back up in e7070a2.


text:
Caianfa/dev

popper and clickout side

Coverage decreased (-2.5%) to 68.865% when pulling 3ccecc3c33bd083a6d5ea7780a9bb3b684da4789 on caianfa:caianfa/dev into f36be0c95e88653fc98de7046bb7a93a53c095a5 on ZhonganTechENG:dev.

authors: caianfa coveralls

repo: ZhonganTechENG/zarm


text:
RP2040 SPI HAL Improvements

Relatively minor improvements, but the highlights:

Minor renaming for clarity similar to my I2C PR
Support for all the different frame formats the peripheral supports
Support for all the different bit widths the peripheral supports
TX FIFO preloading for performance improvements:

Example transaction before:

Example transaction with preloading (no gap!):

Removed configuration of GPIO pins in peripheral driver

This actually had some immediate benefits, as the way the RP2040 peripheral controls the CSN pin automatically is a bit odd, it toggles CSN high after every byte when a GPIO is configured to .spi function:

- For the flash chip I tested this driver on, this would actually make it unusable was I forced to use this
- Instead, I manually drive CSN via a GPIO, which works perfectly well
- Not configuring the GPIOs within the peripheral driver gives users of the HAL this kind of flexibility
The full test suite I wrote for this driver can be found here:
https://github.com/haydenridd/microzig/tree/rp2040-spi

@ikskuh Requested changes applied!

For sure! I'll add an example then merge :)

repo: ZigEmbeddedGroup/microzig

license: Zlib


text:
🛑 nf.ljnb.top is down

In 4b4e0f6, nf.ljnb.top (https://nf.ljnb.top) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nf.ljnb.top is back up in 621e9d8.

repo: ZingLix/blog-mirror-uptime


text:
🛑 blog.zinglix.xyz is down

In 0c94974, blog.zinglix.xyz (https://blog.zinglix.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: blog.zinglix.xyz is back up in f446a01.


text:
Minor formatting fixes

First one still has issues (and has a similar one):

Not sure if still valid.

repo: Zlatkovsky/BuildingOfficeAddins


text:
Play again button

Perhaps a sticky bar at the top when the game has finished?
Could also be combined with stuff like watch replay and show information about how the game ended.

Could be put at the top of the PlayGame component

repo: Zomis/Games


text:
Export not working: TypeError: this._itemToArray is not a function

Doesn't work with book or paper (or others?) on Zotero Standalone 4.0.27.
(4)(+0000005): Translate: Parsing code for Better BibLaTeX (f895aa0d-f28e-47fe-b247-2ea77c6ed583, 2015-06-30 08:20:27)

(3)(+0000134): Translate: Beginning translation with Better BibLaTeX

(3)(+0000007): Item.itemID is deprecated -- use Item.id

(1)(+0000001): TypeError: this._itemToArray is not a function
	===== Stack Trace =====
	Zotero.BetterBibTeX.serialized.get@chrome://zotero-better-bibtex/content/serialized.js:69:1
	Zotero.BetterBibTeX.init/Zotero.Translate.ItemGetter.prototype.nextItem@chrome://zotero-better-bibtex/content/zotero-better-bibtex.js:797:16
	Zotero.Translate.Sandbox.Export.nextItem@chrome://zotero/content/xpcom/translation/translate.js:775:15
	Zotero.Translate.SandboxManager.prototype.importObject/attachTo[localKey]<@chrome://zotero/content/xpcom/translation/translate_firefox.js:527:29
	@chrome://zotero/content/xpcom/translation/translate_firefox.js:433:66
	Translator.nextItem@P:\Zotero\translators\Better BibLaTeX.js:3308:17
	doExport@P:\Zotero\translators\Better BibLaTeX.js:4217:17
	Zotero.Translate.Base.prototype._translateTranslatorLoaded@chrome://zotero/content/xpcom/translation/translate.js:1218:4
	Zotero.Translate.Base.prototype.translate/<@chrome://zotero/content/xpcom/translation/translate.js:1185:58
	Zotero.Translate.Base.prototype._loadTranslator@chrome://zotero/content/xpcom/translation/translate.js:1570:16
	Zotero.Translate.Base.prototype.translate@chrome://zotero/content/xpcom/translation/translate.js:1185:4
	Zotero.Translate.Export.prototype.translate@chrome://zotero/content/xpcom/translation/translate.js:2261:3
	Zotero.BetterBibTeX.init/Zotero.Translate.Export.prototype.translate@chrome://zotero-better-bibtex/content/zotero-better-bibtex.js:736:1
	Zotero_File_Exporter.prototype.save@chrome://zotero/content/fileInterface.js:96:3
	exportItems@chrome://zotero/content/fileInterface.js:178:3
	oncommand@chrome://zotero/content/standalone/standalone.xul:1:1
	=======================

Which version Zotero/BBT are you on?

Hi
I've got problems with export this morning too, but in firefox with today's update 0.13.11. There is no export URL (http://localhost:23119/better-bibtex/collection gives 'Could not export bibliography: no path')
Here's the line from debug console for me:
[JavaScript Error: "ReferenceError: zotero is not defined" {file: "chrome://zotero-better-bibtex/content/zotero-better-bibtex.js" line: 127}]
version => 4.0.27.1, platform => Linux x86_64, oscpu => Linux x86_64, locale => en-GB, appName => Firefox, appVersion => 38.0

@rian39 that is a different issue, but this is fixed in .12 (out just now)
@Dominik-K _itemToArray was deprecated between 4.0.26 and 4.0.27; it may be the case that you've upgraded to Zotero, but not yet to BBT 0.13.10 or later.

Ok, yes, looks like its different. Didn't want to multiply issues for you  ...

No worries, just indicating I could fix this separately. Your problem should be solved after upgrade to .12; I'm keeping this issue open to address the problem @Dominik-K is experiencing.

Oh, yes. You're right. I'm sorry. I just updated the translators, not the Addons. With updating to BBT 0.13.11, it worked.
Unfortunately, after restarting, BBT (just updated to 0.13.12) is disabled. I got the message (on startup):
Better BibTex has been disabled because it found Zotero 4.0.27.SOURCE, but requires 4.0.27 or later

@Dominik-K you're on the source build? I can fix that, but can you tell me how you build Zotero? I could use that info.

No. I updated Zotero Standalone within itself, i.e. "Help -> Check for updates".

That is really odd, Zotero standalone should not be reporting that version. They just released 4.0.27.1, can you try if the problem still occurs there? What platform are you on BTW?

I'm using Zotero Standalone on Windows 7. On the changelog: "Zotero 4.0.27.1 was released for Zotero for Firefox only." So, I don't get an update on standalone.

The linux version of standalone does indeed contain "4.0.27.SOURCE"; this is certainly a bug. I'll file a bug, should be fixed soon; in the mean while, .13 will allow source builds (or official builds that misidentify as a source build) with a warning at startup.

With .13, BBT is still disabled. I get both messages, the new warning and the disabled message.

Yeah, that was a screw-up on my part, see also #225. .15 ought to fix this; I'd appreciate if you could confirm it does for you.

Seems to work with .15 :-) Thanks for the quick fix.

authors: Dominik-K retorquere rian39

repo: ZotPlus/zotero-better-bibtex

license: unlicense


text:
1.13.1

server version: 1.13.1
plugin version: 4.9.1
plugin not working.. not load anything please help/fix thanks.

solved .. problem caused by config

repo: Zrips/Jobs


text:
List POI by columns instead of rows

Reading current list is hard: it is easier to browse the list column-wise. Maybe rotate the list? Account for scrolling: e.g. group by 3-4 rows. Like this:
1 4
2 5
3 6
7 9
8 10

Done in 0.1.4.

license: ISC


text:
I managed to rotate a building

It seems I managed to rotate this building with Every Door in changeset 132372976 9 months ago. I was kindly notified about it today. This is the only building affected in the changeset, I looked through all ways and relations.
Has this happened before? I couldn't find a similar issue, open or closed. Or did I miss anything?
This must have been on my Pixel 6 running Android 13

Thanks for the investigation guys :)


text:
How to handle literal text that contains a reserved word?

templ contact(link, text string) {

Contact { text } for more information.

}

This generates a templ compile error because of the for in "for more information":
for: unterminated (missing closing '{'): line 15, col 1

Thanks for raising this issue, it has in fact already been raised at #141
We're looking to improve the error messaging to suggest what @evanlurvey has written here, rather than allowing a potentially invalid for loop to be leaked to a frontend.

Now that the docs are updated, and the change has been released (https://github.com/a-h/templ/releases/tag/v0.2.408), I'm going to close this.
Thanks for raising the issue!

authors: a-h joerdav nics

repo: a-h/templ


text:
feat: handle HTTP errors more gracefully by catching them before deserialization

TODO:

Ensure that other implementations of the ConsensusRPC spec do not send error messages with status code 200, or handle them
Potentially use untagged enums to respond with more structured error responses so that the code and message can be "bubbled up"

Example improvement:
Old error: ERROR helios::consensus: sync failed err=could not fetch bootstrap: rpc error on method: bootstrap, message: missing field data at line 1 column 49
New error: ERROR helios::consensus: sync failed err=could not fetch bootstrap: rpc error on method: bootstrap, message: HTTP error 404 Not Found: LC bootstrap unavailable


text:
error[E0425]: cannot find value m_bIsScoped in module cs2dumper::client::C_CSPlayerPawnBase

error[E0425]: cannot find value m_bIsScoped in module cs2dumper::client::C_CSPlayerPawnBase
--> src/dma/context/mod.rs:106:77
|
106 |             batcher.read_into(pawn + cs2dumper::client::C_CSPlayerPawnBase::m_bIsScoped, &mut is_scoped);
|                                                                             ^^^^^^^^^^^ not found in cs2dumper::client::C_CSPlayerPawnBase
|
help: consider importing this constant
|
1   + use crate::dma::cs2dumper::client::C_CSPlayerPawn::m_bIsScoped;
|
help: if you import m_bIsScoped, refer to it directly
|
106 -             batcher.read_into(pawn + cs2dumper::client::C_CSPlayerPawnBase::m_bIsScoped, &mut is_scoped);
106 +             batcher.read_into(pawn + m_bIsScoped, &mut is_scoped);
|
For more information about this error, try rustc --explain E0425.
The following warnings were emitted during compilation:
warning: radarflow@0.2.3: no suitable 'git' command found!
warning: radarflow@0.2.3: VERGEN_GIT_COMMIT_DATE set to default
warning: radarflow@0.2.3: VERGEN_GIT_SHA set to default
error: could not compile radarflow (bin "radarflow") due to previous error

cs2_dumper::schemas::client_dll::C_CSPlayerPawn::m_bIsScoped

cs2_dumper：：schemas：：client_dll：：C_CSPlayerPawn：：m_bIsScoped

?

cannot find value m_bIsScoped in module cs2dumper::client::C_CSPlayerPawnBase
because
m_bIsScoped is in module cs2dumper::client::C_CSPlayerPawn

cs2_dumper：：schemas：：client_dll：：C_CSPlayerPawn：：m_bIsScoped

?

tldr: C_CSPlayerPawnBase was merged / renamed into C_CSPlayerPawn

authors: Coforgpaper M3351AN arrayffs


text:
Make detection work when MWK points to symbolic link.

If MWK is a symbolic link, then the detection of the directory fails at line 19. Added -H option to find so that it follows symbolic directories.

Closed because other find instances need fix, too, so will do those first then reissue pull request.


text:
Single example app

Problem
The current structure treats each package as an isolated project with its own example app, this approach makes the repo pretty big and makes sharing code between packages harder.
Solution
Creating one central example app for all the existing packages. The app will include all the packages as dependencies, it will include a screen for each package.
This makes it easy to add new packages and validate if package conflict with one another.

This might help https://www.youtube.com/watch?v=gCBtvsxMu9s


text:
feat: extend toc block

fix: title attribute was not settable
feat: add filter to block title output to increase flexibility for theme needs
fix: block icon was missing, added the same one used in Gutenberg's TOC block

Oops great point! Done 👍


text:
Add an example of the circuit breaker with Hystrix

As simple as it sounds - I need to add a Hystrix dependency and make it work.

Implemented, so, closing the ticket.


text:
Update .travis.yml

Small build update/cleanup

Hmm. For some reason this PR didn't trigger a build.
Please review and feel free to adjust.
I believe current build may fail because of caddy now using go modules.

repo: aablinov/caddy-geoip


text:
Steamroller Blues by James Taylor unsupported.

Check if issue with swaglyrics or whether song lyrics unavailable on Genius.

stripper -> James-Taylor-Steamroller-Blues

https://genius.com/James-taylor-steamroller-blues-lyrics

Should be getting lyrics 🤔

repo: aadibajpai/SwagLyrics-For-Spotify


text:
🛑 WSINGRESOS - OXXO is down

In 8c3ef4f, WSINGRESOS - OXXO (https://srvshyweb.yucatan.gob.mx/cgi-bin/wspd_cgi.sh/WService=wsingresos/internet/compartido/wspagosoxxo.r) was down:

HTTP code: 0
Response time: 0 ms

Resolved: WSINGRESOS - OXXO is back up in 3a00264.

repo: aafyyuc/upptime


text:
🛑 AAFY PDP is down

In d5d1480, AAFY PDP (https://pagos.yucatan.gob.mx) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AAFY PDP is back up in 2b05c3c.


text:
Install nextcloud on a existing web site as a subpath (http://example.com/nextcloud)

User may just want to install a nextcloud instance as a subfolder of another website /domain

@noplanman
I'm quite puzzled about this one. Specially with nginx.
I'm not sure it is possible to do it as easy as in Apache2, adding a directory.
I mean: changing the pattern to add the directory path is simple
but i'm not sure how to implement the resulting conf file into an already existing nginx configuration without breaking things.
You seems to know much more than me about web design & config.

It should be the same as on Apache, just put the config file into /etc/nginx/sites-available and then simlink it into /etc/nginx/sites-enabled.
That's also how Apache does it, right? (I'm not all too familiar with Apache 😄)

So Are you saying that nginx accept multiple server blocks with a identical server_name and port statements and will merge their conf ?
In fact, I did'nt well explained myself:
Let say that a user have some website configured to be served at http(s)://example.com
He wants to add a nextcloud instance on his server and wants it at http(s)://example.com/nextcloud or whatever the path could be...
How can the role add nextcloud to his existing configuration:

if he's using apache2 ?
if he's using nginx ?

without breaking things...
For apache2, an example has already be given in the nextcloud's doc
The nginx conf example  is a self contained server block and I'm not sure if adding another server block for the same port and server_name might work.
this may require other templates...

Ok, I understand now.
I think for that case the best would be to serve nextcloud on a separate internal port and then proxy the request, which would be added manually by the user in their existing config.
I guess it could be possible to add it with ansible with blockinfile, but it may be a bit difficult depending on the complexity of an existing configuration.

Than you for your response @noplanman .
I'm putting this one on hold, giving that it may be much more difficult than expected to add this feature.
I'll read some books on nginx in the following weeks, maybe i'll find something usefull...

@aalaesar I think I would also not invest time on it and close as wont do.

authors: aalaesar noplanman staticdev


text:
Adds support for Debian 10 Buster

Adds support for Debian Buster, via the existing vars import structure. Mostly the change is in the form of PHP7.0 -> PHP7.3. There's a special case on the php-<version>-mcrypt package, which does not exist in the Buster repos. On Debian Buster, installation of that package (and only that package) will be skipped.
Closes #80.

Hi there , thank you for the pull request
I just made a test install on Buster on my side this week end and noted the difference for php-mcrypt.
The story seems to be: libmcrypt is not maintained since a decade and has been marked as obsolete in php-7.1 and removed since php 7.2. So the package shouldn't even exist in other linux distributions.
This artice explain quickly why
So either we should change the condition from php 7.3 to > 7.2 or we move php-mcrypt to the specific packages for php 5 and maybe php 7.0 and 7.1  but the manual doesn't make reference to this php module since nextcloud 15 at least

So either we should change the condition from php 7.3 to > 7.2 or we move php-mcrypt to the specific packages for php 5 and maybe php 7.0 and 7.1

Sounds good. If you've no strong preference, then I'll take the latter approach, so folks running on older platforms will still pull in the package.

@aalaesar Pushed up a change that should accommodate. The role had already managed the PHP5 & 7.0 declarations well, so the diff is quite small in the second commit.
Let me know if you'd like any further changes!

Thanks for your helpful review, @aalaesar, and for maintaining a great role that's saved us a ton of time! :smiley:

authors: aalaesar conorsch


text:
Wrap lwt and Async?

Most native reason code is going to be wrapping opam libraries for doing things like http requests and database queries, and those native libraries are going to be using either lwt or Async. It would be great if you could, for example, have an http client library that used either bs-fetch or cohttp under the hood, depending on the platform, and exposed a common api for both. Is this something that it would make sense for repromise to do, or would it make more sense for that to be a separate library?

Hey @bobpoekert  @aantron !
I'm working on these at the moment all built with reason

Http Module
Cross-Platform fetch to make network requests.

At the moment these use lwt under the hood, but if all goes well, @aantron and I can converge on using Repromise promises. Or if repromise becomes lwt 5.0/6.0 i'd just keep depending on lwt and update w/e needs to be updated.

@kennetpostigo How are you implementing your cross-platform fetch? Do you have converters/wrappers from bucklescript promises to lwt promises and a stripped-down version of lwt that runs on bucklescript? Or do you have some other promise type that wraps both?

js side uses what bucklescript exposes, but native side uses unix pipes

@kennetpostigo but what's the common abstraction that cross-platform consumer code uses?

@kennetpostigo @bobpoekert is asking, I believe, what is the underlying synchronization primitive (e.g. promise implementation) that is being compiled to native and js, that lwt-node would build its isomorphic API over.
The answer to that is, I think, that lwt-node is not there yet.
Repromise has isomorphic native/js promises, but it is not yet compatible with Lwt (or Async).
lwt-node uses Lwt right now, and so presumably is native-only for the time being.

oh right, like I said before, right now for js we're using what bucklescript offers and for native we are using unix pipes.

There is now a super basic POC of Repromise/Lwt interop here.
Basically, Lwt_unix (the I/O part of Lwt) drives the process I/O loop, and calls into Repromise when I/O resolves a promise and triggers a callback.
There are also two functions for converting Lwt and Repromise promises between each other.
The test case has a simple wrapper around Lwt_unix.sleep, that turns it into a Repromise-friendly sleep.

Hey @aantron, this looks like a super-promising library, are there still plans for this?
Perhaps this would also be interesting from the previous discussion's perspective? https://github.com/anuragsoni/fetch/

Yep, still planning to look into this in great detail :)
From the other end, there is also https://github.com/aantron/luv, for rewriting Lwt over libuv (what's used by Node internally for I/O). That's what I've spent the most time on recently.
Most recently, though, I went on a small hiatus, but planning to come back to all this soon.

Oh, very interesting, there's lots of potential for making the community more approachable here!
Thanks for all your hard work, excited to follow the progress on these! 🙏

I'm going to close this issue to keep the repo tidy, because progress needs to be tracked in other repos that would drive Repromise:

repromise_lwt is a Repromise/Lwt interop demo, in which the native version of Repromise is being driven by Lwt (Lwt_engine inside Lwt_unix). That is, Lwt plays the role of Node.js, or the browser JS runtime.
Luv is a binding to libuv, the same C async I/O library that drives Node.js. It has an example where native Repromise, driven by Luv, is doing an HTTP GET (low-level version, not fetch). It has another example of native Repromise and Lwt coexisting in one process, because both are being driven by Luv.

Even though this issue is closed, further discussion is welcome!

authors: aantron bobpoekert kennetpostigo lessp

repo: aantron/repromise


text:
Locked up my Clacks

I added this to my Django project and it locked up my Clacks, gave me weird dreams, and then I was visited by a banshee in the middle of the night.
Is this a bug?  The banshee might be reproducible...

The Post Office Rules and Regulations must be revised for the century of the Fruitbat:
class ClacksMiddleware:

    def __init__(self, get_response):
        self.get_response = get_response

    def __call__(self, request):
        response = self.get_response(request)
        response['X-Clacks-Overhead'] = 'GNU Terry Pratchett'
        return response

authors: Alex-Mackie rrauenza

repo: aaronbassett/django-GNU-Terry-Pratchett


text:
🛑 Homepage is down

In aed46b1, Homepage (https://stjohn.edu.et) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Homepage is back up in 838b6e2.

repo: aaronkebede/sj-status


text:
Make ReleaseAndLog a method on Store

Permits removing the import of the layer package in some places.

We considered implementing this as a method of layer.Store, but the concern was that this would pollute the Store interface and add another function that any alternative Store implementation would have to implement. Since the function is independent of the Store implementation, it makes more sense to have it as a separate utility function than a method on the Store itself.
I agree it's a bit weird right now that this lives in the same package as the only Store implementation. In the future, the Store interface may move to a separate package from the implementation. In this case, the ReleaseAndLog utility function would move with the interface definition.
I'm going to close this for now, but thank you for making the suggestion. If we get more feedback that people prefer this approach, we can revisit it.

Ok that seems fair I figured it would be something like that
My main motivation was to make Get and ReleaseWithLog look more like the dual of each other, as it took me a while to realise the relationship between the calls when I saw code like:
l, err := daemon.layerStore.Get(layerID)
if err != nil {
	return nil, err
}
defer layer.ReleaseAndLog(daemon.layerStore, l)

It's a matter of taste though, I admit.

On reflection, I realised this is a case where methods on interfaces would be useful (I.e. to have ReleaseAndLog automatically implemented for all stores). Ah well!

authors: aaronlehmann aidanhs

repo: aaronlehmann/docker


text:
Privacy Policy Title

Feature request:
Currently in the Privacy Policy Screen, the title Privacy Policy seems to be too bland and empty in few sections while scrolling. If there was an Icon same as implemented in the Navigation Drawer, it would improve the overall Screen in various sections.
Current Privacy Policy Screen:

Privacy Policy in Navigation Drawer:

Maybe fixed on: #228 .

i want to do it

authors: Akash-Ramjyothi JUSsadiq

repo: aau-network-security/HosTaGe


text:
🛑 Dreamension is down

In d6e1343, Dreamension (https://dreamension.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Dreamension is back up in 3413021.

repo: abaertsoen/upptime


text:
Implement NoteItem component

Is your feature request related to a problem? Please describe.
According to issue #89 and issue #97 we will build components up to have a complete view.
Describe the solution you'd like
We will implement NoteItem component to be used in NoteList component.
This will contain first 10-15 characters of note and a button to remove it.

Removing note could be added later.

repo: abahmed/Deer


text:
ADT: abapGit is not supported in project xxx

I installed zabapgit_standalone programm (on premise S/4 HANA 2210) and used this successfully to pull the abapGit project from GitHub. I now can call ABAPGit with Gui using transaction ZABAPGIT.
I installed the ABAPGit Package in Eclipse as well.
But when I try to open the ABAPGit Window in Eclipse/ADT I see the error Message  "abapGit is not supported in project xxx"
Any hints what can be done?

The Eclipse plugin is not supported for on-premise systems. You have to use the standalone or dev version (ZABAPGIT).
See also https://github.com/abapGit/abapGit/issues/3141

Thanks. I saw issue #3141 but it was 4 years old and I wondered if there was an update.

Still the same 😃

authors: Nuube mbtools

repo: abapGit/abapGit


text:
Design and implement post-rendering validation

TL;DR
As a template developer, I want to be able to add checks after template rendering to make sure the resulting code is correct. If these validations fail, I want the CLI to show an error message to the user telling them that the template spec file that they're is buggy, and ask them to file a bug to the template owner.
Ideas for use cases:

Assert that the resulting code can build and compile
Assert that a given string or regex does or doesn't appear. For example, "template_replace_me" shouldn't appear because it should be replaced in rendering.
Assert that unit tests pass
EDIT: maybe also go mod tidy

One possible design: the template spec.yaml file could declare a list of validations, like:
- validations:
  - validator: 'go_lint'
  - validator: 'go_compile_and_test'
  - validator: 'strings_must_not_appear'
    strings:
      - 'template_replace_me'

Detailed design
No response
Alternatives considered
No response
Additional information
No response

Meeting note: I'm going to work on this, and @chloechien will contribute npm support. We will want a design doc.

How to validate a template could vary a lot. How about we leave it to the template repo GH workflow to do? My rough thoughts are:
I'm in my template repo. As a presubmit check, it would:

Use the abc CLI (either latest or head) to render the result into a folder
From this folder I could do various checks

The basic one: check if the content matches my "want" version - the CLI could provide this functionality since it's so common
Run lint and unit tests - the CLI doesn't need to worry about this; I get to choose what tools to use to run my test or lint
All kinds of other checks if needed

authors: drevell yolocs

repo: abcxyz/abc


text:
Switch to use beam sdk logger

Log severity is not correctly categorized in Dataflow when using pkg/logging. Switching to use beam/log causes logs to show up correclty. See https://github.com/abcxyz/pkg/issues/236 for additional context.

Hey @lock14 - can you try using the text logger instead of the JSON logger?
logger := logging.New(os.Stderr, slog.LevelDebug, logging.FormatText, true)

That should output a similar-ish format. I'm perplexed about how it's parsing those text strings; must be a custom fluentd parser.

Beam seems to log to a beam specific logging server. It would be quite unfortunately if we need to diverge on the logging story

I'm not sure if Dataflow changed something on there end, but I can't even get logs from pkg/logging logger to show up any more, only log messages from the beam/log are appearing
Code for logging test

Dataflow GCP log window:

Examinging the logs a bit more, the beam/log logger appears to have a lot more fields in the jsonPayload

Whereas the pkg/logging logger only has message and stream fields in it's jsonPayload:

This is super weird, but probably not worth spending more time debugging. Can you document why we're using a different logging inline in the code?

This is super weird, but probably not worth spending more time debugging. Can you document why we're using a different logging inline in the code?

done.

This is just a hunch, but I suspect that the beam sdk may be using this function to instantiate a specially configured  logger when launched on a dataflow runner:
https://github.com/apache/beam/blob/master/sdks/go/pkg/beam/log/log.go#L62
I don't have any concrete evidence for this, but I thought I'd mention it in case someone else ever want to come back to this and dig some more.

It seems beam uses a different entirely different logging API. I can't really tell at which stage the logs get converted and put into cloud logging.
Could you update https://github.com/abcxyz/readability/wiki/Go-Best-Practices#logging to call out dataflow would need to use beam logging instead (and probably link to this PR for the findings you got). Thanks!

Updated the docs.

authors: lock14 sethvargo yolocs

repo: abcxyz/github-metrics-aggregator


text:
Exact item values allows for infinite crafting

Hi! I just encountered a bug while using this mod and crafting items with it.
I found out that if you have an exact value of an item needed to craft another item (e.g. Crafting Wood Arrow with 8 Wood in the inventory or storage), it will allow you to infinitely craft that particular item because it does not remove the 8 Wood from the inventory/storage. This also applies to items which require multiple ingredients (e.g. Crafting Bronze with either 1 Copper or 1 Tin).
I've tested this with Wood Arrow, Bronze, and Carrot Soup and all have produced the same results.
OS: Windows 10 Pro
Valheim Version: 0.145.6
Mod Version: 1.0.1
Downloaded from: ThunderStore.io, Manual Download
Tested with the plugin as a standalone and with other plugins.

Woops! Indeed. I was shifting things around in the code before release, introduced this, and didn't test it. Will build and release now.

Fixed. Released on Thunderstore as 1.0.2. I will have to delete the repo as I seem to be hitting an access rights issue due to ownership transfer of the repo. Will create the same ticket and ping you.

authors: Riunia abearcodes

repo: abearcodes/Valheim


text:
Recycle Issues

Sometimes when recycling an item it will instead recycle a different item. Sometimes when even selecting the item alone it will deselect or select something different in a matter of moments to a couple seconds later.

Yeah, confirmed here. You can click to recycle item#1, then select item#2 before the crafting bar is done. This will recycle item#2, even if  you don't have the requirements for doing so.

authors: ElderSuccubus TwentyOneZ


text:
Another redis implementation

fixes https://github.com/abersheeran/asgi-ratelimit/issues/8
ok this is a WIP but I think it is a nice implementation, there is still some work to polish it (most importantly is the fact that the block feature happens to works by accident I think, but I have the feeling it can get added to the script easily), remove debug stuff etc but I wanted to show it to maybe talk with concrete examples about it.

[x] fix block
[ ] blocks in the script directly ?
[x] remove debug stuff

the key concept here is that there is just one script, that avoids calling redis twice per round-trip (one for increase limits, one for decrease) so it should be faster than the current implementation.
it implements a sliding window with sorted sets : I've been inspired by https://levelup.gitconnected.com/implementing-a-sliding-log-rate-limiter-with-redis-and-golang-79db8a297b9e that does the same but only for a single time window, this one is adapted to make it possible to run multiple independent sliding windows
let me know if that's something worth continuing. note also the failing tests are on the current redis implementation because of the /multiple tests added, it passes fine on the new implementation

Looks like a good change!

I implemented requested changes, added test for multiple rules only for the SlidingRedisBackend so that it does not fail on the RedisBackend and commented out the logging, just need to know if you want to keep it commented in the code or pasted here for future reference, it helped me a lot debugging the lua script so it might prove useful to someone elese in the future.

I had to poetry update to please the CI that failed in https://github.com/abersheeran/asgi-ratelimit/pull/10/commits/80157a0ebbc631d3d065b43a0ab39ee35f648902
this explains some changes in poetry.lock and black formatting since it upped the version

I had to poetry update to please the CI that failed in 80157a0
this explains some changes in poetry.lock and black formatting since it upped the version

😀It doesn't matter, this is an occasional issue on GitHub. In fact, re-running CI should bring it back to normal.

Do you still want to modify anything? If not, I will merge this PR.

Do you still want to modify anything? If not, I will merge this PR.

let's roll !

repo: abersheeran/asgi-ratelimit


text:
High-level API for multimodality

Is your feature request related to a problem? Please describe.
Current high-level implementation of multimodality is relying on a specific prompt format.
Describe the solution you'd like
Models like Obsidian work with llama.cpp server and have a different format. It would be nice to have a high-level API for multimodality in llama-cpp-python to be able to pass image/images as an argument after initializing Llama() with all the paths to required extra-models, without relying on a pre-defined prompt format such as Llava15ChatHandler.
Describe alternatives you've considered
Alternatively, a custom prompt format class that supports images can be implemented, where prompt string is passed as an argument.

I'll consider adding the multi-modal args to the Llama class but I'm worried about growing the API surface too much too quickly.
For now, I can definitely implement an Obsidian chat handler and maybe abstract out some of the Llava stuff to make it easier to make this generic in the future.
Also thank you for bringing that model to my attention, definitely have to give it a try now!

This seems like an apt place to ask this; How can I supply a local image file to use with multimodal images? Looks like the example assumes an image is being hosted at a url somewhere?

@JoshuaFurman good question, I'll update the docs to include this. It works the same as the OpenAI gpt-4-vision-preview you can pass the image as a base64 encoded data url:
import base64

def image_to_base64_data_uri(file_path):
    with open(file_path, "rb") as img_file:
        base64_data = base64.b64encode(img_file.read()).decode('utf-8')
        return f"data:image/png;base64,{base64_data}"

# Replace 'file_path.png' with the actual path to your PNG file
file_path = 'file_path.png'
data_uri = image_to_base64_data_uri(file_path)

Then just pass that in place of the data url

Oh fantastic thank you! And this can be done without running the server right? I'm looking to add this directly into an application

Yup, you just need  to pass the Llava15ChatHandler to Llama like in the README example so that the class knows how to format the chat with images.

Great thanks so much! Happy thanksgiving :)

@JoshuaFurman good question, I'll update the docs to include this. It works the same as the OpenAI gpt-4-vision-preview you can pass the image as a base64 encoded data url:
import base64

def image_to_base64_data_uri(file_path):
    with open(file_path, "rb") as img_file:
        base64_data = base64.b64encode(img_file.read()).decode('utf-8')
        return f"data:image/png;base64,{base64_data}"

# Replace 'file_path.png' with the actual path to your PNG file
file_path = 'file_path.png'
data_uri = image_to_base64_data_uri(file_path)

Then just pass that in place of the http url

Thanks this works

Closed this by mistake, though will be solved in #1147

authors: JoshuaFurman XcerontangX abetlen remixer-dec

repo: abetlen/llama-cpp-python


text:
Uncaught NotSupportedError: Failed to execute 'registerElement' on 'Document': Registration failed for type 'trix-toolbar'. A type with that name is already registered.

I have a Rails project that's being gradually ported over to React. I need to render a Trix editor in both the old Rails UI and the new React UI. React-trix-rte throws Uncaught NotSupportedError: Failed to execute 'registerElement' on 'Document': Registration failed for type 'trix-toolbar'. A type with that name is already registered. when require('trix') is present in application.js.
I can get around this by adding the check window.customElements.get("trix-editor")|| before r.registerElement("trix-editor") and window.customElements.get("trix-toolbar")|| before r.registerElement("trix-toolbar") in the minified JS but I can't seem to find where to add this check in the non-minified source of either this project or trix itself.
Thoughts on how to get around this issue? Thank you for your time!

@sarahstrong thanks for reporting the issue. I was able to reproduce the issue and I think removing require("trix") from application.js should resolve your issue. I tried adding Trix editor using Rails and via React-Trix-RTE and it works fine at both places.
React Trix RTE already adds trix dependency and since your application for old Rails UI and React will pipeline the trix via webpacker. It would be available in both cases and shouldn't cause any problems.
Please do let me know if I am missing anything here. 😊

Thanks so much for the quick response! I'm getting a non-editable text area with no errors in the console in my old Rails UI with require("trix") removed from my application.js. I believe that's what I'd expect to see if Trix wasn't being picked up at all. This is after yarn add react-trix-rte and confirming that works in the React part of my site.

Oh man, I wasn't requiring react-trix-rte in my application.js, only importing it in the React component itself. Requiring it pulls in the Trix for the rest of the site. Thank you for your help!

authors: abhaynikam sarahstrong

repo: abhaynikam/react-trix-rte


text:
Weather-App

Add weather app using HTML,CSS ,JS
Assign me under GSSOC'22
@abhijeet007rocks8

Hey @Atif0604 , You can work on this issue. I'll be assigning it to you.

@Atif0604 while creating PR please follow all the Contribution Rules which are mentioned in the issue #43 .

Okay


text:
Ecommerce trends Analysis

Pull Request for ML-Crate 💡
Issue Title:  #652

Info about the related issue (Aim of the project) :  to analyze ecommer trends data using ml algorithms
Name:  Aditya D
Email ID for further communication:  ibetanibex@gmail.com
GitHub ID:  https://www.github.com/adi271001
Idenitfy yourself:  VSOC Contributor

Closes: #issue number that will be closed through this PR #652
Describe the add-ons or changes you've made 📃
Give a clear description of what have you added or modifications made
Added folders containing models , images , results , requirements.txt
Type of change ☑
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested? ⚙
Describe how it has been tested
divided dataset into test and train , evaluated for test set
Describe how have you verified the changes made
i have verified the model for overfitting and underfitting via graphs
Checklist: ☑

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added things that prove my fix is effective or that my feature works.
[x] Any dependent changes have been merged and published in downstream modules.

While writing the Conclusion use bullet points, otherwise it's not looking that much eye-pleasing.

@abhisheks008 done please do check

While assigning your points in the VSOC, you email is not found there. @adi271001

While assigning your points in the VSOC, you email is not found there. @adi271001

Add your details in the Contributor-list channel in the VSOC server, otherwise your points will not going to be calculated from their end.

@abhisheks008 i have added the details in contributor list please inform me once points are added

@abhisheks008 i have added the details in contributor list please inform me once points are added

Added your points with respect to your email ID.


text:
🛑 Kota Pontianak is down

In 636f45c, Kota Pontianak (https://pontianak.go.id) was down:

HTTP code: 500
Response time: 1693 ms

Resolved: Kota Pontianak is back up in 746231e after 37 minutes.

repo: abimanyu/Kalbarnetworks


text:
Adição do Submódulo com dissertação sobre o limarka

Inclusão de submódulo com a dissertação sobre o limarka.

facilita o meu trabalho enquanto desenvolvendo a dissertação e testando a ferramenta
serve como exemplo (provavelmente será removido no futuro)

Não será implementado.

repo: abntex/limarka


text:
fixed assets issue

The issue with the assets's loading has been resolved. There are two parameters that the user must provide in order to obtain this which are used to represent the marker on the map.

Thank you @Sanat2002 , I'll. upload the new update to pub.dev


text:
implement python like dict

basically  a hashmap

it a rb tree rn. doesnt have python like syntax

repo: abooishaaq/sahl


text:
Add Quantuam Efficiency to galcheat

As discussed in the meeting yesterday, we so far have been assuming its 1 so electron = photons = photoelectrons. If not we can at least state this assumption explicitly in the documentation, etc.

I thought the end of the discussion was that QE is taken into account in the zeropoint computation from speclite(cc @mpaillassa) which end up computing a reference for 1 e-/second.
Since magnitudes are always computed relative to the band zeropoint, the prescription 1 photon = 1 e- is verified and is not just an assumption.
Do you agree @mpaillassa, @herjy ?

Yes I agree !

Yes that sounds good @aboucaud, in that case you can close this PR I think ?

Settled for now

authors: aboucaud ismael-mendoza mpaillassa

repo: aboucaud/galcheat


text:
Improve categorizer construction speed

It takes ~10 sec to read in the data for the relevance and sentiment categorizers and deserialize them. Currently, we're splitting the sentiment data into two chunks to avoid overflow.

Potentially separate the data down further into ... 4 chunks instead of two. A hypothesis -- I'll have to try it and see if it makes a difference.


text:
Add support for Spring boot integration

Me and my team are trying to integrate this into a project that includes Spring Boot, and whenever we run our FatJar we encounter multiple problems in the app bootprocess.
This is the current problems that we are facing:
java.lang.IllegalStateException: Failed to execute CommandLineRunner
	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:774) ~[spring-boot-2.7.4.jar!/:2.7.4]
	at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:755) ~[spring-boot-2.7.4.jar!/:2.7.4]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-2.7.4.jar!/:2.7.4]
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[na:na]
	at java.base/java.lang.reflect.Method.invoke(Method.java:577) ~[na:na]
	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) ~[loadgenerator.jar:na]
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) ~[loadgenerator.jar:na]
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) ~[loadgenerator.jar:na]
	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65) ~[loadgenerator.jar:na]
Caused by: java.nio.file.NoSuchFileException: /bin
	at jdk.zipfs/jdk.nio.zipfs.ZipPath.readAttributes(ZipPath.java:769) ~[jdk.zipfs:na]
	at jdk.zipfs/jdk.nio.zipfs.ZipPath.readAttributes(ZipPath.java:777) ~[jdk.zipfs:na]
	at jdk.zipfs/jdk.nio.zipfs.ZipFileSystemProvider.readAttributes(ZipFileSystemProvider.java:276) ~[jdk.zipfs:na]
	at java.base/java.nio.file.Files.readAttributes(Files.java:1851) ~[na:na]
	at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:220) ~[na:na]
	at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:277) ~[na:na]
	at java.base/java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:323) ~[na:na]
	at java.base/java.nio.file.FileTreeIterator.<init>(FileTreeIterator.java:71) ~[na:na]
	at java.base/java.nio.file.Files.walk(Files.java:3919) ~[na:na]
	at java.base/java.nio.file.Files.walk(Files.java:3974) ~[na:na]
	at us.abstracta.jmeter.javadsl.core.engines.JmeterEnvironment.installConfig(JmeterEnvironment.java:98) ~[jmeter-java-dsl-1.0.jar!/:1.0]
	at us.abstracta.jmeter.javadsl.core.engines.JmeterEnvironment.<init>(JmeterEnvironment.java:41) ~[jmeter-java-dsl-1.0.jar!/:1.0]
	at us.abstracta.jmeter.javadsl.core.engines.EmbeddedJmeterEngine.run(EmbeddedJmeterEngine.java:93) ~[jmeter-java-dsl-1.0.jar!/:1.0]
	at us.abstracta.jmeter.javadsl.core.DslTestPlan.run(DslTestPlan.java:121) ~[jmeter-java-dsl-1.0.jar!/:1.0]

This first stacktrace we solved by extracting the /bin/ folder in the org.apache.jmeter:ApacheJMeter_config:5.5 package and manually adding it to our resources folder.
However the second one seems to imply that there are code changes that need to be applied in order to properly get around it.
EDIT: I was able to gather the URL that seems to not be hierarchical, jar:file:/Users/myuser/my_fancy.jar!/BOOT-INF/lib/ApacheJMeter_components-5.5.jar!/
java.lang.IllegalStateException: Failed to execute CommandLineRunner
	at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:774) ~[spring-boot-2.7.4.jar!/:2.7.4]
	at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:755) ~[spring-boot-2.7.4.jar!/:2.7.4]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) ~[spring-boot-2.7.4.jar!/:2.7.4]
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[na:na]
	at java.base/java.lang.reflect.Method.invoke(Method.java:577) ~[na:na]
	at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) ~[loadgenerator.jar:na]
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) ~[loadgenerator.jar:na]
	at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) ~[loadgenerator.jar:na]
	at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65) ~[loadgenerator.jar:na]
Caused by: java.lang.IllegalArgumentException: URI is not hierarchical
	at java.base/java.io.File.<init>(File.java:420) ~[na:na]
	at us.abstracta.jmeter.javadsl.core.engines.JmeterEnvironment.getClassJarPath(JmeterEnvironment.java:85) ~[jmeter-java-dsl-1.0.jar!/:1.0]
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197) ~[na:na]
	at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1707) ~[na:na]
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[na:na]
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[na:na]
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) ~[na:na]
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:na]
	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) ~[na:na]
	at us.abstracta.jmeter.javadsl.core.engines.JmeterEnvironment.updateSearchPath(JmeterEnvironment.java:69) ~[jmeter-java-dsl-1.0.jar!/:1.0]
	at us.abstracta.jmeter.javadsl.core.engines.EmbeddedJmeterEngine.runInEnv(EmbeddedJmeterEngine.java:107) ~[jmeter-java-dsl-1.0.jar!/:1.0]
	at us.abstracta.jmeter.javadsl.core.engines.EmbeddedJmeterEngine.run(EmbeddedJmeterEngine.java:93) ~[jmeter-java-dsl-1.0.jar!/:1.0]
	at us.abstracta.jmeter.javadsl.core.DslTestPlan.run(DslTestPlan.java:121) ~[jmeter-java-dsl-1.0.jar!/:1.0]

Current code sample being used:
testPlan(
    rpsThreadGroup()
        .maxThreads(100)
        .rampToAndHold(
            5,
            Duration.ofSeconds(60),
            Duration.ofSeconds(10))
        .children(sampler)
).run()

NOTE: sampler is a simple HTTPSampler to GET results from an endpoint.

Hello, thank you for asking about this matter and providing the info!
That logic is trying to solve jmeter search path which is used by jmeter to then properly load classes while executing the testplan.
I have generated uber jars with assembly plugin as described here under uber jar section.
As a side note: when I tried to use shade plugin, faced some limitations.
Spring boot uses a different mechanism to build jars, and in fact, as much as I remember from my springboot experience, uses a custom ClassLoader that allows it to solve classes in such jars (jars containing jars inside). This JMeter DSL logic, and JMeter itself, does not have support for such logic, and we would need to run experimentation to properly provide a solution, which might take a non trivial effort if we need to implement a custom classloader or something like that.
Now some questions 🙂 :

Any particular reason to use spring boot for packaging jmeter dsl?
Are you packaging performance tests alongside production code or something like that?
Do you think it might make sense to use maven assembly plugin as provided example?
Can you better describe what your are trying to achieve? why you want to have a jar with jmeter dsl? does the jar contains other things? How you plan to use it?
Can you provide a simple sample project/repo (with pom.xml & classes) that depicts the problem so we can reproduce locally and review potential workarounds?

Sounds like a really interesting problem.
Another workaround (instead of using maven assembly plugin) you may use is excluding such transitive dependencies from jmeter-java-dsl, copy them to a specific folder and add such folder to the classpath. That way the jar would not be inside another jar which is probably the reason for non hierarchical URI exception.
Hope to hear back soon 🙂 .

Hello 👋🏼
In first place thanks for the quick response 🥇
Answering to your questions:

Consistency across the board with all our stack
We have a load tests pipeline (currently via jmeter + jmx files, + some scripts in lua/rust) that we run from time to time, and we are trying to deprecate them to a more consistent way of doing stuff. So we do not have the need of having expertise along with multiple tech stacks.
We are using gradle atm, but I can see if there are any other alternatives for this.
Going to a bit more detail on what was said in 2, we want a JAR that can run a spring boot application & that submits some kind of load in our applications via HTTP, since we were using JMeter before (and company-wide), we saw no problem on continuing to that, but exploring a DSL like way (ence the reason why we are using this project 😄). NOTE: Currently it isn't feasible to use Junit + normal CI Pipeline for this IIRC. (As you suggested in the linked discussion) Anyway I might give it a try.
Sure thing, will try to arranje that as soon as possible.

About the workaround, that might actually be feasible, I will give it a try whenever possible.

Great, looking forward to see how this can be solved :).

So, after a while without being able to follow-up on this, I was able to properly setup a sample repo that demonstrates the problem.
You can run the application in IJ IDE, via gradle bootRun task, however if you compile using bootJar and run the standalone JAR it fails with the error above.

Hello, thank you very much for the detailed example!
Just adding this to the build.gradle.kts (and the proper import) I got it working:
tasks.named<BootJar>("bootJar") {
	requiresUnpack("**/ApacheJMeter_*.jar", "**/jmeter-plugins-*.jar")
}

Let me know if that solves your issues as well.
Side notes:

No need to invoke .method("GET") to do a GET request. By default httSampler does gets unless other method is specified.
You specified google.com, and should provide full url. Eg: https://google.com for request to be successful.

Closing this as the above solution seems quite simple. If you see any issue with it please let us know.

Hey 👋🏼
I would swear I have tested this before, but I think I might have forgotten to unpack with *, and only tried a couple of the jars 🤦🏼
Just tested your approach, and seems to be working, going to close the issue.
Much thanks for the help here 🙏🏼

authors: joaolrpaulo rabelenda

repo: abstracta/jmeter-java-dsl


text:
Update description

Signed-off-by: Peter Hunn code@peterhunn.com

This PR has been applied to the 0.20.0 branch

authors: jeromesimeon peterhunn

repo: accordproject/cicero-template-library


text:
(chore) Up Ergo 0.0.61

Signed-off-by: Jerome Simeon jeromesimeon@me.com

Coverage remained the same at 94.65% when pulling 3e5800fbb6d36718b09e5e8698e5049410d8c173 on jeromesimeon:js-chore-ergo-0.0.61 into 37f5d331d1c03a70558d2f8b34dfcf82d60dd33d on accordproject:master.

authors: coveralls jeromesimeon

repo: accordproject/cicero


text:
Removed backticks from mermaid code

Closes #

Changes
Removed backticks from mermaid code
Fix - https://github.com/accordproject/concerto/issues/665
Flags

Screenshots or Video

Related Issues

Issue #
Pull Request #

Author Checklist

[ ] Ensure you provide a DCO sign-off for your commits using the --signoff option of git commit.
[ ] Vital features and changes captured in unit and/or integration tests
[ ] Commits messages follow AP format
[ ] Extend the documentation, if necessary
[ ] Merging to main from fork:branchname

Hey @sanketshevkar, is this solution meaningful or are there any changes needed?

@subhajit20 Could you sign your PRs please? https://github.com/dcoapp/app#how-it-works

Signed-off-by: Subhajit Ghosh subhajitstd07@gmail.comn

@subhajit20 Could you sign your PRs please? https://github.com/dcoapp/app#how-it-works

Hey Done that.

hey @sanketshevkar I think this commit can removes backticks from properties

Can you please share some sample model and its output mermaid diagram on this editor
Also @mttrbrts should we add a test case to validate this?

PR LGTM!
@mttrbrts @dselman can you please review the PR once?

Thanks for your contribution, @subhajit20 . The output is now looking much better! 🤩
When I render one of the test cases in a mermaid editor I see that the properties are rendered without backticks, but that enum declarations values still have them. Can you make a similar change for that node too, please?

@sanketshevkar

hey @mttrbrts done that.
Thanks!!f

Good job @subhajit20 !! :)
LGTM!

Let's wait for @mttrbrts's approval.

Nice work @subhajit20. When are back ticks required? I.e. what characters does Mermaid require to be escaped with back ticks?
Can you please test this with our "kitchen sink" model and check the rendered output?
https://github.com/accordproject/concerto-codegen/blob/main/test/codegen/fromcto/data/model/hr.cto

hey @sanketshevkar @dselman is there anything further I have to do in this pr?

I just run the mentioned by @dselman  test using npx mocha and log the output  and all the properties of classes and enums are rendered without backticks here are two screenshots

enum

class

And here is the mermaid editor output

authors: dselman ekarademir mttrbrts sanketshevkar subhajit20

repo: accordproject/concerto-codegen


text:
Add Contract Parties & Obligations

A contract can have a list (possibly an empty list!) of participants.
I use the composer concept Participant as a synonym for party in this context. The alternative would be to add a top AccordParty type that extends Participant and to replace all uses of Participant in this library with AccordParty.
I also add two base obligation types for logical payment and notification obligations to be emitted as events by contracts. These obligations should be handled and configured client-side to determine the channel (e.g. Email / Slack / Letter etc) for the fulfilment of the obligation.
Refer to https://hyperledger.github.io/composer/latest/reference/cto_language for description of the built-in participant and event types.

@dselman That is exactly what I wanted to model. Perhaps the template spec should also allow technical events too. This would mirror the behaviour of HL Composer, but in the case where the event really is an obligation we can use a more specific type to signal to downstream systems

The template logic is emitting an electronic message (event) that will trigger an external system that will cause a contractual obligation to be fulfilled. I don't think we should call that event an obligation it's confusing IMO.

Understood. I've revised the model to use Notice instead. I think that this better captures the fact that this is really a notification that a party has an obligation rather than the obligation itself.

authors: dselman mttrbrts

repo: accordproject/models


text:
feat(filter-by-cicero) adds ability to filter by Cicero Version

Closes #67
Signed-off-by: goanpixie priyanka3007@gmail.com
Changes
Adds ability to filter by Cicero versions
Flags

Could use unit testing

Screenshots or Video

Related Issues

Issue https://github.com/accordproject/web-components/issues/67

Author Checklist

[x] Commits messages follow AP format
[x] Merging to master from fork:branchname
[ ] Manual accessibility test performed

[ ] Keyboard-only access, including forms
[ ] Contrast at least WCAG Level A
[ ] Appropriate labels, alt text, and instructions

@jeromesimeon @mttrbrts Could use your review. It was a fun exercise and hoping to contribute more regardless.
Cheers,
PS

Ok. What's the best way to access cicero version for each template?

-Ok. What's the best way to access cicero version for each template?
-Well it could be integrated into the search bar. I kept the dropdown because it looked consistent with the checkboxes for type of file on the top.

To be honest, I'm not exactly sure what the right approach is! The library component does not know anything about Cicero, so I presume that version number will have to be passed in the items data in the first place. This might work better with a more generic filtering capability, but I will let the maintainers (@irmerk @DianaLease) comment on that.

Not sure integrating into the search bar is a good approach. A dropdown allows the user to not need to format in a valid semantic versioning.
As for the cicero version, I believe the templates have metadata for both version and ciceroVersion keys. So I think it would just be renaming version to ciceroVersion. Will have to look at what we get back from templates.accordproject.org to make sure.

I was reading the interface for Item props here and I could not find that we were passing ciceroVersion as key. Is that optional? Is it safe to assume that it will be there? Do we need to modify the README page?
https://github.com/accordproject/web-components/blob/master/packages/ui-components/src/lib/Library/README.md#values
If we are talking about purely renaming it, then I can re-work this PR. I would also suggest we can address this rename as a separate PR if that's is alright.

@jeromesimeon so you're saying this component should only care about version and expect whatever service provides the list of items to pass the correct data?

Another thought I have is that the dropdown should be below the checkboxes so as to make that section no wider than the template cards below it.

Any update on this @goanpixie? Also @jeromesimeon pinging you about my previous question.

@irmer: The pr is filtering based on version key right now, if that is correct property to filter on, I can modify dropdown placement. I am yet to hear back on ciceroVersion key and where to find it in the code, it does not seem to be a part of  Item props. I am keen to getting this pr merged with correct review, since it is was fun working on it.

@jeromesimeon so you're saying this component should only care about version and expect whatever service provides the list of items to pass the correct data?

@jeromesimeon so you're saying this component should only care about version and expect whatever service provides the list of items to pass the correct data?

I'm saying the component doesn't know about templates (it could be other things in it) so... I suppose the answer to your question is yes: we need to either assume there always will be a version, or make sure the filter works if the version is missing.

@goanpixie would you still like to work on this or should we close this PR?

Closing due to inactivity

authors: dselman goanpixie irmerk jeromesimeon mttrbrts

repo: accordproject/web-components


text:
Rule IDs with spaces cannot be skipped

terrascan version: 1.4.0
Operating System: Docker and Darwin

Description
I am trying to skip the following but the rule id has spaces in it so it does not work.
	Description    :	Ensure CloudWatch logging is enabled for Route53 hosted zones.
	File           :	route53.tf
	Line           :	66
	Severity       :	MEDIUM
	Rule Name      :	route53LoggingDisabled
	Rule ID        :	AWS.Route53 query logs.Logging.Medium.0574
	Resource Name  :	dns
	Resource Type  :	aws_route53_zone
	Category       :	Logging

	-----------------------------------------------------------------------

What I Did
I added the following to the resource
ts:skip=AWS.Route53 query logs.Logging.Medium.0574 Only works with public route53

Also seeing this behavior. Should we fix the rule skipper to support spaces, or rename policies to not have spaces in their reference_id?

We are seeing the same issue with rules of the form AC_AWS_078 or AC_AWS_070.

@MrMickS, Can you please share an example of your IaC file with us? Just want to reproduce it on my own?

@adamjohnson01 @MrMickS
Sorry for causing confusions and the issues, which were due to inconsistency in nomenclature of reference_id. With PR #786 we are intending to standardize the Rule IDs.
Even though we have added support for spaces while skipping rule, we highly recommend everyone to refer newly added id instead of reference_id for the scanning or suppressing of specific policy.
Please feel free to re-open this issue if it doesn't work as expected. Thanks.

terrascan version: 1.4.0
Operating System: Docker and Darwin

Description
I am trying to skip the following but the rule id has spaces in it so it does not work.
	Description    :	Ensure CloudWatch logging is enabled for Route53 hosted zones.
	File           :	route53.tf
	Line           :	66
	Severity       :	MEDIUM
	Rule Name      :	route53LoggingDisabled
	Rule ID        :	AWS.Route53 query logs.Logging.Medium.0574
	Resource Name  :	dns
	Resource Type  :	aws_route53_zone
	Category       :	Logging

	-----------------------------------------------------------------------

What I Did
I added the following to the resource
ts:skip=AWS.Route53 query logs.Logging.Medium.0574 Only works with public route53

The corresponding id for this policy is AC_AWS_0204. Please let us know if this works for you.

AC_AWS_078

Please use the following corresponding id values:
AC_AWS_0497 instead of AC_AWS_078
AC_AWS_0480 instead of AC_AWS_070
Please confirm if this solves your purpose.

Hi there, we're having a similar issue. We're trying to suppress AC_AWS_0320, whose id field has the same name.
We've tried
#ts:skip=AC_AWS_0320 Allow SSH

and also
#ts:skip=networkPort22ExposedToprivate Allow SSH

just for good measure, but neither worked.
As a shot in the dark, terrascan flagged the issue inside an aws_security_group_rule so that's where we placed the comment. Is this supposed to go inside an aws_security_group resource instead?

@sarahc23
It would be better for us to understand if you could please attach some reference of where exactly you are putting the comment.
We need to put the comment inside the resource block which is violating the policy.  Refer this.
Do let us know if this helped.

authors: MrMickS adamjohnson01 fetep kanchwala-yusuf nasir-rabbani sarahc23

repo: accurics/terrascan


text:
🛑 Mattermost is down

In 7c207ef, Mattermost (https://mattermost.acdh.oeaw.ac.at/login) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mattermost is back up in bdcf6f2 after 54 minutes.

repo: acdh-oeaw/status


text:
chore(package): update typescript-eslint-parser to version 14.0.0

Closes #102

Coverage remained the same at 100.0% when pulling 6fdd747dce0d0c5c069f25e0b479f039df7f9971 on greenkeeper/typescript-eslint-parser-14.0.0 into 5afacaac3f958525d54d6f2a98d4b5381851291e on master.

Coverage remained the same at 100.0% when pulling 6fdd747dce0d0c5c069f25e0b479f039df7f9971 on greenkeeper/typescript-eslint-parser-14.0.0 into 5afacaac3f958525d54d6f2a98d4b5381851291e on master.

Coverage remained the same at 100.0% when pulling 6fdd747dce0d0c5c069f25e0b479f039df7f9971 on greenkeeper/typescript-eslint-parser-14.0.0 into 5afacaac3f958525d54d6f2a98d4b5381851291e on master.

Coverage remained the same at 100.0% when pulling 6fdd747dce0d0c5c069f25e0b479f039df7f9971 on greenkeeper/typescript-eslint-parser-14.0.0 into 5afacaac3f958525d54d6f2a98d4b5381851291e on master.

authors: JaKXz coveralls

repo: acdlite/flux-standard-action


text:
🛑 AceBlock Swagger UI is down

In 7ab2941, AceBlock Swagger UI ($ACEBLOCK_SWAGGER_UI) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AceBlock Swagger UI is back up in 2d4dd09.

repo: aceblockID/monitoring


text:
🛑 AceBlock Swagger UI is down

In d37dcf8, AceBlock Swagger UI ($ACEBLOCK_SWAGGER_UI) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AceBlock Swagger UI is back up in 0328823.


text:
support quoting your own messages

dunno how this works with the new "Replied to you:" quoting

Looks great, I was going to put "Replied to me:" for self-replies, I can add that in and merge this tmrw


text:
glfw windows

To make glfw run on Windows

I'm going to close this for now:

I integrated all the underlying changes to the main branch and the GLFW branch now contains just GLFW code.
This upstreams everything you need to play with this further, you could grab the code out of the GLFW branch and use it directly for prototyping.
I'm happy for GLFW support to be upstreamed but I noticed on macOS that resizing the window failed, so I think it needs stabilization work before it can be upstreamed.

Please feel free to open a new PR if you're able to get a more stable implementation than what's in the GLFW branch!

authors: aclysma uhuntu

repo: aclysma/skulpin


text:
🛑 Hacker News is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Hacker News is back up in 4dc8878.

repo: acolintech/iron-upptime


text:
No GPS data for P|I recordings

 if recording.type in ("N", "E", "M"):
This avoids importing .gps files for some recordings.
Not having any .gps file is problematic for the popular Dashcam Viewer. It requires .gps data on all files to work properly (bug on their part).
I suppose importing these .gps files was caising issues since you added this condition, but in that case, would it be possible to add something like this?
if recording.type in ("P", "I"):
    touch recording.base_filename+".gps"

not sure if there are other events than N, E, M, P, I.

I'm sorry, i had not noticed this issue had been created.
I was not aware of the camera producing gps files for parking and impact, but I could have been mistaken.
Will follow-up shortly.

Many thanks for this bug report. should be fixed now.

authors: Sungray acolomba

repo: acolomba/blackvuesync


text:
Modify ExecuteComputation to create status_RECEIVED file when request is received

Summary
Modify ExecuteComputation to create status_RECEIVED file when request is received
Purpose
Because executing GetComputationResult before the status file is generated will result in an exception of any status file not found
This exception should be raised by a request with a non-existent jobUUID
Contents
Add a new status, RECEIVED
Add function to {create,delete} status_RECEIVED
Add function to request other parties to {create,delete} status_RECEIVED
Modify existing tests
Add test
Testing Methods Performed
CI
Execute GetComputationResult immediately after the job request

@arukuka
Thanks for the review!
I have corrected the points you mentioned.
Please check it

@arukuka
Please check it again.

repo: acompany-develop/QuickMPC


text:
Migrate from Prefect Cloud 1 --> Prefect Cloud 2 by July 15th, 2023

Context: https://www.prefect.io/guide/blog/freezing-legacy-prefect-cloud-1-accounts-on-starter-and-standard-plans/
We use Prefect Cloud 1 at the moment. I believe this is a separate task from updating our workflows from Prefect 1 to Prefect 2, which requires significant code changes

Need to make a go/no-go decision on whether or not to continue running scrapers? Probably contingent on data landscape after May 11th

repo: act-now-coalition/can-scrapers


text:
how to get session id on webhook with action-on-google lib

question is also asked on stackoverflow as well: https://stackoverflow.com/questions/46368359/how-to-get-session-id-on-webhook
I'm making assistant app for google home and mobile assistant
I'm using action-on-google library on webhook which is recommended and handy
in my specific case I want to make userEntity from webhook which requires Session Id but I am unable to get the sessionid on webhook
according to api.ai document it sends Json to webhook like this:
{
                    "lang": "en",
                    "status": {
                        "errorType": "success",
                        "code": 200
                    },
                    "timestamp": "2017-02-09T16:06:01.908Z",
                    "sessionId": "1486656220806" "result": {
                        "parameters": {
                            "city": "Rome",
                            "name": "Ana"
                        },
                        "contexts": [],
                        "resolvedQuery": "my name is Ana and I live in Rome",
                        "source": "agent",
                        "score": 1.0,
                        "speech": "",
                        "fulfillment": {
                            "messages": [
                                {
                                    "speech": "Hi Ana! Nice to meet you!",
                                    "type": 0
                                }
                            ],
                            "speech": "Hi Ana! Nice to meet you!"
                        },
                        "actionIncomplete": false,
                        "action": "greetings",
                        "metadata": {
                            "intentId": "9f41ef7c-82fa-42a7-9a30-49a93e2c14d0",
                            "webhookForSlotFillingUsed": "false",
                            "intentName": "greetings",
                            "webhookUsed": "true"
                        }
                    },
                    "id": "ab30d214-f4bb-4cdd-ae36-31caac7a6693",
                    "originalRequest": {
                        "source": "google",
                        "data": {
                            "inputs": [
                                {
                                    "raw_inputs": [
                                        {
                                            "query": "my name is Ana and I live in Rome",
                                            "input_type": 2
                                        }
                                    ],
                                    "intent": "assistant.intent.action.TEXT",
                                    "arguments": [
                                        {
                                            "text_value": "my name is Ana and I live in Rome",
                                            "raw_text": "my name is Ana and I live in Rome",
                                            "name": "text"
                                        }
                                    ]
                                }
                            ],
                            "user": {
                                "user_id": "PuQndWs1OMjUYwVJMYqwJv0/KT8satJHAUQGiGPDQ7A="
                            },
                            "conversation": {
                                "conversation_id": "1486656220806",
                                "type": 2,
                                "conversation_token": "[]"
                            }
                        }
                    }
                }

and ofcourse it is sending it correctly but on webhook we handover the request object to action-on-google and it returns an object with a bunch of methods like ask, askWithCarousel, askWithList and etc (documented here)
the problem is that there is not method to get conversation id documented
then how do i get that session id:
my source code for reference:
/index.ts
import * as admin from 'firebase-admin';
import * as functions from 'firebase-functions';
import { Request, Response } from "express"; //interfaces
const ActionsSdkApp = require('actions-on-google').ApiAiAssistant;

import db from '../db';

// API.AI Action names
import {
inputWelcome
} from './actions'

const WELCOME_INTENT = 'input.welcome';

export const webhook = functions.https.onRequest(async (request: Request, response: Response) => {

console.log("request.body: ", request.body);
console.log("request.body.sessionId: ", request.body.sessionId);

const app = new ActionsSdkApp({ request: request, response: response });

let actionMap = new Map();
actionMap.set(WELCOME_INTENT, inputWelcome);
app.handleRequest(actionMap);
})//end of webhook http trigger

/actions/index.ts
import * as request from 'request';

export function inputWelcome(app: any) {

//I WANT SESSION ID HERE

console.log("app.conversation(): ", app.conversation());
console.log("app.AppRequest: ", app.AppRequest);
console.log("app.AppRequest.conversation: ", app.AppRequest.conversation);

console.log("app.AppRequest(): ", app.AppRequest());
console.log("app.AppRequest().conversation: ", app.AppRequest().conversation);

console.log("app.getUser().accessToken;: ", app.getUser().accessToken)
const accessToken = app.getUser().accessToken;

// MAKE USER ENTITY WITH THESE DATA:
    //     "sessionId": "current conversation id here",
    //     "name":"city",
    //      "extend":false,
    //     "entries": [
    //         {
    //             "name": "option1",
    //             "entries": [
    //                 {
    //                     "value": "option1",
    //                     "synonyms": [
    //                         "first",
    //                         "option one"
    //                     ]
    //                 }
    //             ]
    //         },
    //         {
    //             "name": "option2",
    //             "entries": [
    //                 {
    //                     "value": "option2",
    //                     "synonyms": [
    //                         "second one",
    //                         "second option"
    //                     ]
    //                 }
    //             ]
    //         },
    //         {
    //             "name": "option3",
    //             "entries": [
    //                 {
    //                     "value": "option3",
    //                     "synonyms": [
    //                         "third one",
    //                         "third option"
    //                     ]
    //                 }
    //             ]
    //         },
    //         {
    //             "name": "help",
    //             "entries": [
    //                 {
    //                     "value": "help",
    //                     "synonyms": [
    //                         "help",
    //                         "need help",
    //                         "ditn't get",
    //                         "need support"
    //                     ]
    //                 }
    //             ]
    //         }
    //     ]
    // }

// AND THEN ASK THE USER WITH SUGGESTION CHIPS
app.ask(app.buildRichResponse()
        .addSimpleResponse({
            speech: 'Hi you can start with these things',
            displayText: 'Hi you can start with these things'
        })
        .addSuggestions(['option1', 'option2', 'option3', 'Help'])
    )

Hi,
If I understand your request correctly.
I use the NPM library body-parser.
So....
const app = express();
app.use(bodyParser.json());
app,post('/', function(request, response) {
...
// Get the SessionId
let sessionId = request.body.sessionId;
Hope helps.
Shaun

@littleyellowspider I appriciate your effort but my question was different, I'm using firebase and not the express, and request object is not available in the actual function where is need the session so there is no way to extract session id from request object

any update officials? is it even possible in v2?

There isn't a wrapper build in to retrieve the session for v2 still, but it should be easier to retrieve it from the raw body.
Should be conv.body.session for Dialogflow v2 and conv.body.sessionId for v1.

conv.body.conversation.conversationId