text:
Update Documentation for "every option shown" .mocharc.yml

In the mocha documentation (https://mochajs.org/#configuration-format) we are pointed to this: https://github.com/mochajs/mocha/tree/master/example/config
One may then view https://github.com/mochajs/mocha/blob/master/example/config/.mocharc.yml
...where one is told: This is an example Mocha config containing every Mocha option plus others
There are two issues with https://github.com/mochajs/mocha/blob/master/example/config/.mocharc.yml
Issue One
Based on https://mochajs.org/api/mocha, it would appear that https://github.com/mochajs/mocha/blob/master/example/config/.mocharc.yml is out of date.
Firstly, .mocharc.yml shows property names that are different from what is listed at https://mochajs.org/api/mocha.
For example:
full-trace vs. fullStackTrace
reporter-option vs reporterOption
Secondly, .mocharc.yml does not have some of the property names listed at https://mochajs.org/api/mocha
For example:
enableTimeouts
useInlineDiffs
Issue Two
Including options that are "other" than those that are part of the mocha options without explanation is incredibly confusing. To give but one example, how is one supposed to know what the "file" option does when it is not listed at mocha?
If you are going to provide "other" options, there should be an explanation of what they are and where the documentation for them reside.

You are mentioning two different things: our CLI options and the Mocha constructor.
Yes, you are right, there are some confusing and even buggy facts about our options in <=v6.2.2, which should have been adressed in our current master branch, to be published with v7.0.0.
The option names have also been synchronized between CLI, Mocha constructor (and browser).

mocharc.yml: shows state of master. Use --help to see list of CLI options of your version.
This is an example Mocha config containing every Mocha option plus others: IMO all Mocha options are documented, but additionally you can set Node options via Mocha. We are not planning to document Node options.
--file: all Mocha options should be documented. --file is a CLI option and there is no sense in listing it in the Mocha constructor.

Part of the confusion is explained by the fact that "mocharc.yml" shows the state of master. I'm sorry about that, will be solved with v7.0.0.
Second please don't mess CLI options with Mocha constructor options.
You need CLI options when you launch Mocha via command line.
You use the `Mocha constructor options when you run Mocha programmatically.

I see, and thanks for the response. Then if I may suggest making it clear to the reader by keeping two sections in the mocha options with comments, like so:
# Mocha CLI options - complete list
# (use --help to see list of CLI options of your version of Mocha):
allowUncaught: true
...
useInlineDiffs

# Additionally, Node options can be set via the Mocha config file. Examples:
spec: foo/**/*.test.js
diff: true
extension:
   - txt
file:
   - src/**/calc.js
ignore:
   - blah/**/bar.test.js

Second please don't mess CLI options with Mocha constructor options.

This also should be made clear, with an example in the file. Thank you.

Please have another look at our documentation command-line-usage, where you find every Mocha CLI option documented.

repo: mochajs/mocha


text:
Code coverage doesn't cover files without tests

Pretty self-explanatory. I have 20 or so files in app/ with zero coverage, and one test in test/. None of the files without tests are showing up in coverage.html
test:
	mocha --reporter spec

coverage: app-cov
	CODE_COVERAGE=1 mocha --reporter html-cov > coverage.html

app-cov:
	jscoverage app app-cov

.PHONY: test

old; sounds like a jscoverage problem anyway

source: gharchive/issue

authors: boneskull jonursenbach

license: MIT

license_type: permissive

license_source: github-api


text:
upgrade assetgraph-builder with fixes

from @papandreou

@boneskull, I tried to update the lockfile, but it produces a huge number of changes: https://github.com/papandreou/mocha/commit/17ebed15394b5fc9e6e7445876d0de4770fde5a4
I used npm@5.6.0 to update it -- do you remember which version the lockfile was generated with? Maybe it'll help if I use that.

Additioanally, buildProduction took much longer than before this PR in my local.
before:
 ✔ 0.006 secs: reviewSubResourceIntegrity
 ✔ 47.618 secs: buildProduction
 ✔ 1.595 secs: writeAssetsToDisc

after:
 ✔ 2.965 secs: reviewSubResourceIntegrity
 ✔ 307.252 secs: buildProduction
 ✔ 2.071 secs: writeAssetsToDisc

I didn't test it with @papandreou 's commit.

@outsideris, thanks, will look into the undefined thing.
I'm aware that it's still slower than ag-b 5. I will get around to trace down the remaining performance regressions.

I confirmed undefined-1.d41d8cd98f is fixed.
However, it doesn't make static directory at all. So, every references under static/ are broken.

@outsideris, you're right, I can reproduce that. It's a problem with the --canonicalroot switch. Looking into it.

@outsideris, fixed now. Thanks for letting me know.

CI is failed.
npm ERR! cipm can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
npm ERR!
npm ERR!
npm ERR! Invalid: lock file's assetgraph-builder@5.9.1 does not satisfy assetgraph-builder@^6.3.4
npm ERR! Invalid: lock file's svgo@0.7.2 does not satisfy svgo@^1.0.5

@outsideris, I also ran into that and commented: https://github.com/mochajs/mocha/pull/3412#issuecomment-395909020

@papandreou I missed that comment.
The precache job ran under node v10, so npm version is 6.1.0.
You can see it in the job logs.
$ npm --version
6.1.0

In my local, npm ci --ignore-scripts is works with npm@6.1.0.

@outsideris, ah, thanks. I've updated package-lock.json now by running a fresh npm install with npm 6.1.0.
Still seems like an awful lot of changes, though.

Coverage increased (+0.05%) to 90.063% when pulling 0957f0172b4511674aa532e51a374b36ccbf9f22 on papandreou:fix/ag-b into eeccd053b18361c342dff02d4f728bd439c7f277 on mochajs:master.

Improved the performance further in assetgraph-builder, here's the current build time on my laptop:
 ✔ 117.447 secs: buildProduction

@outsideris, weird that it didn't improve more on your machine. I can't explain that.

@outsideris, thanks for trying. I guess that just means I'm not done yet ;)

@Munter, self-assign this one.

@papandreou, any status update on where this stands?

Assuming actual time is closer to what you see (than Outsider), my question was to see if there were any other related bugs to shake out?

I'm not aware of any other issues, no.

I'm going to close this and retry with the latest version.

source: gharchive/pull-request

authors: boneskull coveralls outsideris papandreou plroebuck


text:
Any() throws method must not be null

Hi,
I'm mocking spring repository with signature:
JpaRepository<Entity, Id> {
   <S extends Entity> S save(S entity);
}

Here is my try:
val mockRepository = mock<JpaRepository> {
            on { save(any()) } doThrow RuntimeException("Some exception")
        }

But then I got
Caused by: java.lang.NullPointerException: save(any()) must not be null
In order to fix this, I must do ugly thing, specyfing generic type like:
val mockRepository = mock<JpaRepository> {
            on { save(any<Entity>()) } doThrow RuntimeException("Some exception")
        }

And it works, but IDE (Intellij) is suggesting generic removal: Remove explicit type arguments
So I tried something else:
val mockRepository = mock<JpaRepository> {
            on { save(Mockito.any(Entity::class.java)) } doThrow RuntimeException("Some exception")
        }

and IDE is not complaining at all, but it looks ugly. Any better solution?

@mtwolak This is a java-kotlin interop issue I believe and is caused by javas missing null-safety.
Ty doThrow(IllegalStateException::class).whenever(mock).go().

@mtwolak I your scenario you can also use onGeneric instead of on. Then it should work without explicit type.
But I have a similar issue but I don't want/can specify the mock behavior when the mock is created, but only inside the test. So I usually use something like:
whenever(repository.save(any())).doReturn(entity)

But this also fails without specifying the type exlicitly in the any (any<Entity>()). Is there something similar to onGeneric but for the whenever workflow.
Any help or hint is appreciated.

authors: bohsen mtwolak usr42

repo: mockito/mockito-kotlin

license: mit

license_source: bigquery


text:
modal run -q option does not do what it says

Hello,
During development, I frequently run Modal applications like this:
@app.local_entrypoint()
def main():
    outputs = some_modal_function.remote()
    import ipdb; ipdb.set_trace()  # fmt: skip # noqa

That starts a debugging shell where the output can be inspected, etc. I have been using pdb and ipdb in this way for many years.
It is necessary to run a script like this with the -q option. That is, modal run -iq script.py is necessary, or else the Modal progress indicators get in the way of the debug shell.
modal run --help shows the following:
  -q, --quiet        Don't show Modal progress indicators.

But actually, modal run -q script.py doesn't just hide the Modal progress indicators, it also redirects all console output that remote functions print to stdout and stderr. To see this output, I have to open a browser tab to modal.com, which I usually have open anyway.
This is a bit annoying, but more importantly it deviates from the CLI's description of that argument. For me, if it honored the CLI description (hide Modal progress indicators but don't hide other output), that would be ideal. I suppose if that's a huge lift you could just edit the CLI description to say "Don't show Modal progress indicators or stdout/stderr from remote containers.", but for me that would not be preferred.
Thanks so much!

Hi, sorry about the misleading option description here. That said, I think most people would expect a --quiet flag to suppress all output rather than continuing to emit stdout/stderr. Maybe that's wrong -- but it's also the current behavior and might break people were it to change unexpectedly. So I think the action item here is probably to emend the description.

Hi, sorry about the misleading option description here. That said, I think most people would expect a --quiet flag to suppress all output rather than continuing to emit stdout/stderr. Maybe that's wrong -- but it's also the current behavior and might break people were it to change unexpectedly. So I think the action item here is probably to emend the description.

Totally makes sense! If you are willing to add another option that only omits the progress bar but still shows stdout/stderr, that would be a killer feature for me. Again, I want the progress bar rarely (since I use pdb/ipdb debugger, which is unusable with progress bar) but I want logs almost always.
If not able to prioritize this I understand! Keep up the amazing work.

@mwaskom thanks for the response! Looking forward to updates.

repo: modal-labs/modal-client


text:
Push from_name and lookup down into two intermediary temporary classes and change behavior slightly

This splits the way we do lookups into two ways based on the class

Functions and classes – these always require an object "tag"
All other objects – we assume these are always single-object apps

The intermediary classes are temporary – we're giong to push everything down into each specific subclass shortly. This is just some prep work that makes it easier.
It relies on some analytics I did which indicates that there's a strict correspondence between object types and lookup methods. If you analyze all calls to AppLookupObject, function & class lookups always have the "tag" set, but all other entities never have the "tag" set. This basically ends up enforcing this, and is a step towards specializing the implementation of each class (which later will allow me to remove the single-object app code from the client)

Passes all integration tests as well.

@prbot approve

Will revert this if it's causing issues. I'll start working on the server-side implementation of ClassGet and FunctionGet next.


text:
Spurious failure on leading_zeros

This failure only occurs with the next, not-yet-integrated version of CBMC (5.52.0). This may be related to https://github.com/diffblue/cbmc/pull/6703.
I tried this code:

fn main() {
    let x: u64 = 0;
    let _ = x.leading_zeros();
}

using the following command line invocation:
kani test.rs

with Kani version: 53f15955016 but with CBMC 5.52.0
I expected to see this happen: Verification successful

Instead, this happened: Verification failed:
CBMC 5.52.0 (cbmc-5.52.0)
CBMC version 5.52.0 (cbmc-5.52.0) 64-bit x86_64 linux
<snip>
Check 2: bit_count.1
         - Status: FAILURE
         - Description: "count leading zeros is undefined for value zero in __builtin_clz(var_3)"

Check 3: core::num::<impl u64>::leading_zeros.overflow.1
         - Status: SUCCESS
         - Description: "arithmetic overflow on unsigned to unsigned type conversion in (unsigned int)var_2"
<snip>

SUMMARY:
 ** 1 of 4 failed
Failed Checks: count leading zeros is undefined for value zero in __builtin_clz(var_3)

VERIFICATION:- FAILED

Running it with rustc produces no failures.

I'm afraid that I broke this in diffblue/cbmc@4d4f9e7d182643f8. Fixing PR forthcoming.

https://github.com/diffblue/cbmc/pull/6708 addresses this problem.

This is now merged in CBMC and will be part of the 5.53.0 release (due to be published 2022-03-17).

Opened #928 to disable the test since it was failing after CBMC was updated in homebrew. I will revisit this as part of #727 and re-enable the test once 5.53.0 is online.

authors: adpaco-aws tautschnig zhassan-aws

repo: model-checking/kani


text:
压测vllm接口报错

测试命令：
evalscope perf --url 'http://ip:port/v1/chat/completions' --parallel 1 --model 'Qwen2.5-14b' --log-every-n-query 10 --read-timeout=1200 --max-prompt-length 128000 --api openai --query-template '{"model": "%m", "messages": [{"role": "user", "content": "%p"}], "stream": true, "temperature": 0.1}' --prompt '你好'
其中prompt为固定的输入
报错：- perf - http_client.py - send_requests_worker - 564 - ERROR - Request: {'model': 'Qwen2.5-14b', 'messages': {'role': 'user', 'content': '你好'}, 'stream': True, 'temperature': 0.1} failed, state_code: 400, data: {"object": "error", "message": "[{'type': 'list_type', 'loc': ('body', 'messages'), 'msg': 'Input should be a valid list', 'input': {'role': 'user', 'content': '\u4f60\u597d'}}]", "type": "BadRequestError", "param": null, "code": 400}

好像没有对应的数据集吧

好像没有对应的数据集吧

设置了--prompt了
文档中写了  --prompt PROMPT       指定请求prompt，所有查询将使用此prompt

好像没有对应的数据集吧

设置了--prompt了 文档中写了 --prompt PROMPT 指定请求prompt，所有查询将使用此prompt

好像没有对应的数据集吧

设置了--prompt了 文档中写了 --prompt PROMPT 指定请求prompt，所有查询将使用此prompt

后面有解决吗？遇到一样的问题。开启debug看好像输入信息不对
2024-12-05 20:23:45,491 - evalscope - benchmark.py - send_requests_worker - 113 - ERROR - Request: {'messages': [{'role': 'user', 'content': '简单介绍LLM发展路径'}], 'model': 'default_model', 'max_tokens': 2048, 'min_tokens': 2048, 'seed': 42, 'temperature': 0.0} failed, state_code: 400, data: {"object": "error", "message": "[{'type': 'missing', 'loc': ('body', 'prompt'), 'msg': 'Field required', 'input': {'messages': [{'role': 'user', 'content': '简单介绍LLM发展路径'}], 'model': 'default_model', 'max_tokens': 2048, 'min_tokens': 2048, 'seed': 42, 'temperature': 0.0}}, {'type': 'extra_forbidden', 'loc': ('body', 'messages'), 'msg': 'Extra inputs are not permitted', 'input': [{'role': 'user', 'content': '简单介绍LLM发展路径'}]}]", "type": "BadRequestError", "param": null, "code": 400}

请问执行的命令是什么

evalscope perf
--number 1
--api openai
--url http://ip:port/v1/completions
--model default_model
--log-every-n-query 5
--connect-timeout 6000
--read-timeout 6000
--max-tokens 2048
--min-tokens 2048
--prompt '简单介绍LLM发展路径'
--temperature 0 --debug
我看测试的数据形式是：truncated_chunk='{"prompt": "hello", "model": "default_model"}'
提示报错的数据形式是：truncated_chunk='{"messages": [{"role": "user", "content": "简单介绍LLM发展路径"}], "model": "default_model", "max_tokens": 2048, "min_tokens": 2048, "seed": 42, "temperature": 0.0}'
区别在于后者少了prompt，多了messages

请使用v1/chat/completions接口

请使用v1/chat/completions接口

可以了～
但是压测不是推荐用 /v1/completions 吗？

speed benchmark请使用completion接口，其他数据使用chat/completion

authors: Devliang24 Yunnglin ZTurboX crystalww

repo: modelscope/evalscope


text:
evalscope 不存在 0.7.0 版本

pip install evalscope 不存在 0.7.0 版本

pip install evalscope 不存在 0.7.0 版本

已经发布到pypi了，参考： https://pypi.org/project/evalscope/#history

如果不是原生的pypi源，比如清华源、阿里云的源等，可能有一定延迟。


text:
电商分词模型 输出结果少字

input:东阳草肌醇复合物
output: 东阳 肌醇 复合物

我们目前已经发现了这个问题，下一个版本会修复。

1.1.x版本已经修复

authors: Jiangbiyu zzclynn

repo: modelscope/modelscope


text:
🛑 Sonarr is down

In 165dae2, Sonarr ($SONARR_URL) was down:

HTTP code: 521
Response time: 158 ms

Resolved: Sonarr is back up in 3848388.


text:
🛑 Pihole is down

In 42332fe, Pihole ($PIHOLE_URL) was down:

HTTP code: 403
Response time: 437 ms

Resolved: Pihole is back up in f91dc91.


text:
🛑 Pastebin is down

In aa8a6af, Pastebin ($PASTEBIN_URL) was down:

HTTP code: 523
Response time: 1350 ms

Resolved: Pastebin is back up in 96d0f2d after 12 minutes.


text:
Upload h2o data(for groupby and join queries) into AWS S3 storage

We need:

small dataset for testing (< 100 MB)

Uploaded into https://modin-datasets.s3.amazonaws.com/h2o/
Thanks @aregm !

repo: modin-project/modin


text:
Modin incompatibility with Seaborn boxplot

System information

Modin version (modin.__version__): 0.12.0+62.g3c740dbf
Python version: 3.7

Creating a boxplot using seaborn results in an error.
Source code
plt.figure(figsize=(10, 10))
sns.boxplot(y=df_1['Title'], x=df_1['Salary'],order=sorted_index_descent)
plt.ylabel('')
plt.title('Salaries for Data Science Positions')
plt.show()

Error message

@labanyamukhopadhyay could you please re-check if this still happens?

Seaborn and specifically sns.boxplot as in the example above are currently interoperable with Modin. Users will have to install seaborn from Github for its most recent updates: pip install "seaborn @ git+https://github.com/mwaskom/seaborn"

authors: labanyamukhopadhyay vnlitvinov


text:
FIX-#3276: fix ZeroDivision error during read_csv call

Signed-off-by: Alexander Myskov alexander.myskov@intel.com

What do these changes do?

[x] commit message follows format outlined here
[x] passes flake8 modin
[x] passes black --check modin
[x] signed commit with git commit -s
[x] Resolves #3276
[x] tests added and passing
[x] module layout described at docs/developer/architecture.rst is up-to-date

@amyskov you are changing the way define partitions for read_csv function only, but this problem is more general. It is necessary to generalize changes at least to all I/O functions.

@anmyachev , good notice! We have some places where num_splits is computed in depend on the length of columns. There might be an issue when reading empty frames from other files. @amyskov , can you check it?

@anmyachev , good notice! We have some places where num_splits is computed in depend on the length of columns. There might be an issue when reading empty frames from other files. @amyskov , can you check it?

Yes, num_splits check was moved to the higher level function, so now it affects all IO functions.

@amyskov please don't forget to update issue, since you are fixing a more global problem.

@amyskov , please, ping me when the PR is ready for review.

@YarShev , PR is ready for review.

@amyskov , please, consider the discussion from #3314.

authors: YarShev amyskov anmyachev


text:
🛑 STATUS.MOFE.IO is down

In 9e48db7, STATUS.MOFE.IO (https://status.mofe.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: STATUS.MOFE.IO is back up in c06ecb3.

repo: mofelee/upptime


text:
Bad Decrypt on Read after upgrading

HI there,
After upgrading from 3.1.1 to 3.1.2 I've encountered a strange error when I am trying to read data.
No implementation changed. I tried to uninstall the app, clear cache, cleared the data, but nothing worked.
Here are the logs:
Built build\app\outputs\apk\debug\app-debug.apk. E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): Failed to handle method call E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): java.lang.IllegalArgumentException: Unsupported value: javax.crypto.BadPaddingException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): 	at io.flutter.plugin.common.StandardMessageCodec.writeValue(StandardMessageCodec.java:293) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): 	at io.flutter.plugin.common.StandardMethodCodec.encodeErrorEnvelope(StandardMethodCodec.java:70) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.error(MethodChannel.java:199) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): 	at com.it_nomads.fluttersecurestorage.FlutterSecureStoragePlugin.onMethodCall(FlutterSecureStoragePlugin.java:92) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): 	at android.os.MessageQueue.nativePollOnce(Native Method) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): 	at android.os.MessageQueue.next(MessageQueue.java:379) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): 	at android.os.Looper.loop(Looper.java:144) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): 	at android.app.ActivityThread.main(ActivityThread.java:7425) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): 	at java.lang.reflect.Method.invoke(Native Method) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): 	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245) E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(31075): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)

Hi, sorry for later answer.
Have you tried to disable backup ?

Worked, thank you very much.

Hey @mogol  just coming from investigating the same issue. Maybe it could make sense to add the backup fix to the changelog or a prominent place in the README?
Thank you for the support and help!

@tom95 , it fully makes sense, I updated README.
Thanks!

@mogol Updated to 3.1.3 and set backup=false but facing the following exception
Launching lib\main.dart on SM G532G in debug mode...
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Note: D:\sdk\flutter\.pub-cache\hosted\pub.dartlang.org\connectivity-0.4.0+1\android\src\main\java\io\flutter\plugins\connectivity\ConnectivityPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: D:\sdk\flutter\.pub-cache\hosted\pub.dartlang.org\esys_flutter_share-0.0.7\android\src\main\java\de\esys\esysfluttershare\EsysFlutterSharePlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: D:\sdk\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.6.6\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: D:\sdk\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_auth-0.6.6\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: D:\sdk\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_core-0.2.5+1\android\src\main\java\io\flutter\plugins\firebase\core\FirebaseCorePlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: D:\sdk\flutter\.pub-cache\hosted\pub.dartlang.org\firebase_messaging-2.1.0\android\src\main\java\io\flutter\plugins\firebasemessaging\FlutterFirebaseInstanceIDService.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: D:\sdk\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_webview_plugin-0.3.0+2\android\src\main\java\com\flutter_webview_plugin\WebviewManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: D:\sdk\flutter\.pub-cache\hosted\pub.dartlang.org\image_jpeg-1.1.1\android\src\main\java\com\yangyxd\imagejpeg\ImageJpegPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Built build\app\outputs\apk\debug\app-debug.apk.
E/StorageCipher18Impl(25847): unwrap key failed
E/StorageCipher18Impl(25847): java.security.InvalidKeyException: Failed to unwrap key
E/StorageCipher18Impl(25847): 	at android.security.keystore.AndroidKeyStoreCipherSpiBase.engineUnwrap(AndroidKeyStoreCipherSpiBase.java:618)
E/StorageCipher18Impl(25847): 	at javax.crypto.Cipher.unwrap(Cipher.java:1707)
E/StorageCipher18Impl(25847): 	at com.it_nomads.fluttersecurestorage.ciphers.RSACipher18Implementation.unwrap(RSACipher18Implementation.java:47)
E/StorageCipher18Impl(25847): 	at com.it_nomads.fluttersecurestorage.ciphers.StorageCipher18Implementation.<init>(StorageCipher18Implementation.java:44)
E/StorageCipher18Impl(25847): 	at com.it_nomads.fluttersecurestorage.FlutterSecureStoragePlugin.<init>(FlutterSecureStoragePlugin.java:46)
E/StorageCipher18Impl(25847): 	at com.it_nomads.fluttersecurestorage.FlutterSecureStoragePlugin.registerWith(FlutterSecureStoragePlugin.java:33)
E/StorageCipher18Impl(25847): 	at io.flutter.plugins.GeneratedPluginRegistrant.registerWith(GeneratedPluginRegistrant.java:49)
E/StorageCipher18Impl(25847): 	at com.example.sketcherssuperadmin.MainActivity.onCreate(MainActivity.java:11)
E/StorageCipher18Impl(25847): 	at android.app.Activity.performCreate(Activity.java:6904)
E/StorageCipher18Impl(25847): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136)
E/StorageCipher18Impl(25847): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3266)
E/StorageCipher18Impl(25847): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3415)
E/StorageCipher18Impl(25847): 	at android.app.ActivityThread.access$1100(ActivityThread.java:229)
E/StorageCipher18Impl(25847): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1821)
E/StorageCipher18Impl(25847): 	at android.os.Handler.dispatchMessage(Handler.java:102)
E/StorageCipher18Impl(25847): 	at android.os.Looper.loop(Looper.java:148)
E/StorageCipher18Impl(25847): 	at android.app.ActivityThread.main(ActivityThread.java:7406)
E/StorageCipher18Impl(25847): 	at java.lang.reflect.Method.invoke(Native Method)
E/StorageCipher18Impl(25847): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
E/StorageCipher18Impl(25847): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
E/StorageCipher18Impl(25847): Caused by: javax.crypto.BadPaddingException
E/StorageCipher18Impl(25847): 	at android.security.keystore.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:482)
E/StorageCipher18Impl(25847): 	at android.security.keystore.AndroidKeyStoreCipherSpiBase.engineUnwrap(AndroidKeyStoreCipherSpiBase.java:616)
E/StorageCipher18Impl(25847): 	... 19 more
E/StorageCipher18Impl(25847): Caused by: android.security.KeyStoreException: Invalid argument
E/StorageCipher18Impl(25847): 	at android.security.KeyStore.getKeyStoreException(KeyStore.java:945)
E/StorageCipher18Impl(25847): 	at android.security.keystore.KeyStoreCryptoOperationChunkedStreamer.doFinal(KeyStoreCryptoOperationChunkedStreamer.java:224)
E/StorageCipher18Impl(25847): 	at android.security.keystore.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:473)
E/StorageCipher18Impl(25847): 	... 20 more
D/ViewRootImpl(25847): #1 mView = com.android.internal.policy.PhoneWindow$DecorView{941e3ea I.E...... R.....I. 0,0-0,0}
D/OpenGLRenderer(25847): Use EGL_SWAP_BEHAVIOR_PRESERVED: false
D/FirebaseApp(25847): Notifying auth state listeners.
D/FirebaseApp(25847): Notified 0 auth state listeners.
I/OpenGLRenderer(25847): Initialized EGL, version 1.4
D/Surface (25847): Surface::connect(this=0x9a8e2600,api=1)
D/mali_winsys(25847): new_window_surface returns 0x3000
D/Surface (25847): Surface::connect(this=0x9a8e2d00,api=1)
D/mali_winsys(25847): new_window_surface returns 0x3000
D/libGLESv1(25847): DTS_GLAPI : DTS is not allowed for Package : app.yazhiragu
I/[MALI][Gralloc](25847): [+]r_hnd(0xb437b420), client(61), share_fd(60)
D/GraphicBuffer(25847): register, handle(0xb437b420) (w:540 h:960 s:544 f:0x1 u:0x000b00)
D/ViewRootImpl(25847): MSG_RESIZED_REPORT: ci=Rect(0, 36 - 0, 0) vi=Rect(0, 36 - 0, 0) or=1
I/[MALI][Gralloc](25847): [+]r_hnd(0xb437b560), client(61), share_fd(63)
D/GraphicBuffer(25847): register, handle(0xb437b560) (w:540 h:960 s:544 f:0x1 u:0x000b00)
I/Timeline(25847): Timeline: Activity_idle id: android.os.BinderProxy@d6afc8c time:14548009
I/FA      (25847): Tag Manager is not found and thus will not be used
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): Failed to handle method call
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): java.lang.IllegalArgumentException: Unsupported value: javax.crypto.BadPaddingException: error:1e06b065:Cipher functions:EVP_DecryptFinal_ex:BAD_DECRYPT
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): 	at io.flutter.plugin.common.StandardMessageCodec.writeValue(StandardMessageCodec.java:293)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): 	at io.flutter.plugin.common.StandardMethodCodec.encodeErrorEnvelope(StandardMethodCodec.java:70)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.error(MethodChannel.java:208)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): 	at com.it_nomads.fluttersecurestorage.FlutterSecureStoragePlugin.onMethodCall(FlutterSecureStoragePlugin.java:92)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:200)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): 	at android.os.MessageQueue.next(MessageQueue.java:323)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): 	at android.os.Looper.loop(Looper.java:135)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): 	at android.app.ActivityThread.main(ActivityThread.java:7406)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
E/MethodChannel#plugins.it_nomads.com/flutter_secure_storage(25847): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Hi @rajeshjeshar,
can you delete the app and install again? is the error still there?

@mogol sorry for the late reply,i have tried but nothing solved the issue,and i'm reverting back to sharedpreferences without happy,

authors: mogol pasotee rajeshjeshar tom95


text:
Unicode strings with codepoints at or below \u00ff are encoded as \x?? rather than \u00??

This is a different facet of the unicode encoding issue mentioned in #129, which is unfortunately not solved by PR #142. This is because of two issues:

Python chooses to represent \u00?? codepoints as \x??, which is not supported by OrientDB.
on Python 2, pyorient uses str values internally, which are implicitly encoded with ascii and therefore cannot correctly represent all of Unicode.

To reproduce, add a unicode value that contains the \u00c5 character (latin capital letter a with ring above, AKA Angstrom unit symbol normalized) and attempt to write it to OrientDB.

Can i close?

Ah yes I think this was fixed. Closing.

repo: mogui/pyorient


text:
Binary parser broken in serializations.py

The _parse_binary method of the OrientSerializationCSV class is missing a self argument in the definition. Or, if it was intended to be a static method, it is missing the @staticmethod decorator.

Tnx for the pull request.
I close

authors: Ostico devspacenine


text:
Integer stream parsing

I have a long sequence of bytes encoding multiple messages, each message is encoded as its length (using leb128) and then the message body itself.
With the current API, I can not simply pass a too large array to the library to parse the first bytes as length, so I do it manually:
# returns a tuple of the message bytes and the number of bytes consumed (including the leb128 encoding and the message body)
def decode_length_and_message(bytes: bytes) -> tuple[bytes, int]:
    length_bytes_num = 1
    while bytes[length_bytes_num - 1] >= 0x80:
        if length_bytes_num >= len(bytes):
            raise Exception("length bytes num is too large")
        length_bytes_num += 1
    if length_bytes_num > 10:
        raise Exception("length bytes num is too large")

    msg_len = leb128.u.decode(bytes[:length_bytes_num])
    message_bytes = bytes[length_bytes_num : length_bytes_num + msg_len]

    return message_bytes, length_bytes_num + msg_len

It would be great if the library could provide a function the decode integer without consuming the whole buffer.
Such function will highly simplify my code. Possible implementation:
def decode_leb128(bytes: bytes) -> tuple[int, int]:
    length_bytes_num = 1
    while bytes[length_bytes_num - 1] >= 0x80:
        if length_bytes_num >= len(bytes):
            raise Exception("length bytes num is too large")
        length_bytes_num += 1
    if length_bytes_num > 10:
        raise Exception("length bytes num is too large")

    val = leb128.u.decode(bytes[:length_bytes_num])
    return val, length_bytes_num

I think this is fairly common use case, what do you think?
Thanks for the support! This library is awesome and useful :)

Stream parsing is already supported. You can use the following API:
leb128.u.decode_reader(stream)

thanks!

Is it possible to throw a unique exception in case the stream is empty? currently ord(r.read(1)) fails

I can't do that because I don't know what error will occur when the stream is empty. You should handle this exception yourself since you are the owner of the stream.

The strean itself doesnt raise an exeption when its empty, rather its returns an empty byte stream, and the convertion in the library will fail

I just released v1.0.8. When the reader returns an empty string it will now trigger an EOF error, which should help you.
https://github.com/mohanson/leb128/commit/d53bf789601d12ad9bf6c3dee9bda1c4cb38bff5

Thanks! I appreciate the help :)

authors: barakugav mohanson


text:
Use _.runInContext

When extending lodash in node you should use runInContext to avoid extending the primary lodash package.

Thanks for suggesting this. I'll do it
What is the best of dealing with browser vs node.js stuff for lodash mixins?

UMD is tricky. You can always punt and have devs browserify/webpack it to use it in the browser.

I need to do this right. I'm learning about UMD at the moment. BTW it should be easier! This is too much for just exporting my module!


text:
Newer Version Than 1.5

Could the most current version be made available at maven central?
1.5 appears to be the most current version available but the documentation implies there is a 3.0-SNAPSHOT available, too?
Or, is the new version available at a different plugin repository?

3.0.0 has been released today, should soon be on Maven Central

authors: gesker slachiewicz

repo: mojohaus/sql-maven-plugin


text:
fix ua asserts issue without tap

Summary
This PR addresses an issue with TestUserAgent where several assertion methods, such as .jsonIs(), did not work when using the native node:assert/strict module, specifically due to missing assertion methods like assert.same().
Fix

Implemented missing assertion methods to ensure compatibility with node:assert/strict, such as replacing assert.same() with assert.deepStrictEqual() for deep equality checks.
Updated the code to support both tap and node:assert/strict modes in the TestUserAgent to provide flexibility in testing.

Changes

Mapped _assert methods to TestUserAgent to support the required assertions:

assert.equal → assert.strictEqual
assert.not → assert.notStrictEqual
assert.match → assert.match
assert.notMatch → assert.doesNotMatch
assert.ok → assert.ok
assert.notOk → custom implementation for negated assert.ok
assert.same → assert.deepStrictEqual

Updated tests to validate assertion compatibility in both tap and node:assert/strict modes.

Caveat
This fix maps node:assert/strict methods to their tap counterparts. This could give the impression that we are prioritizing the tap API over the native node:assert API.
If preferred, we can consider making node:assert/strict the primary module for assertions in TestUserAgent and refactor the code accordingly.

Yes, node:assert should be the priority.

Hi, just checking if you had any further feedback on this approach after the refactor prioritizing node:assert. Let me know if there's anything else you'd like me to address

Thanks, that seems like a reasonable solution.

authors: dmanto kraih


text:
Support for Redcarpet 2.0

The Redcarpet 2.0.0 has out of beta, and I think it's good to merge it into the trunk.
As I mentioned in #444, the first benefit of Redcarpet 2.0 is that the renderer object can be initialized.  There is no need to initialize it each time a Markdown file is going to be converted.
In addition, this patch is compatible with the current config file -- there is no need to change the config file.
Update:
It is also possible to supply renderer options to Redcarpet's HTML renderer.  Put the render_options array inside the redcarpet hash.  For example, in the _config.yml :
redcarpet:
  extensions:
    # array of ...
  render_options:
    - with_toc_data # add HTML anchors to each header in the output HTML for hyper linking
    - hard_wrap      # translate \n to <br>

Oops, I found that the smart extension is deprecated, it is implemented as an module, instead.  I'll monkey-patch the extension array.

OK, I've put back the SmartyPants.

Also added an option to specify render options, which is also a new feature of RedCarpet 2.0. See updated description on the top.

Tests pass for me on 1.9.2 and ree on OS X.
I might rename @converter @redcarpet_converter, but this looks good to me reading through the diff.

+1

:shipit:

+1

What they said

authors: chitsaou ctshryock jbrains mixonic mtodd scottkf

repo: mojombo/jekyll


text:
Correct way to use mojs with promise/async?

I want to play an animation and wait until it finishes. I checked the docs and tutorials and I did not find an API that returns a promise or something.
It seems there's no related discussion here so I would like it to ask if there's a standard way of doing this?
What I am doing now is wrapping it in a promise and it works fine:
const burstPromise = new Promise(resolve => {
    const burst = new mojs.Burst({
        radius: {30: 120},
        count: 10,
        children: {
            duration: 3000,
        },
        onComplete() {
            resolve();
        }
    });
    burst.play();
});

await burstPromise;

I haven't seen anything else, so I think this solution is the way to go. Mojs is not (to my knowledge) promise based at all, instead relies on callback functions. But maybe it could be a interesting feature. I personally never have needed something similar.
In what use case do you need this promise to resolve? Maybe we should always return a promise when the animation is finished?

USE CASE: I am designing a game and using frontend technology for rapid prototyping (similar to Zelda creating a 2D version for testing before implementing a full-fledged 3D version). An entity plays a burst animation once hit and only after that animation is done, the next animation shall be played.
I am using animejs as well and it supports waiting by returning a promise, so I can do await someAnimation.finished. This feature could be nice for mojs as well.
So instead of the code above, I can do:
const burst = new mojs.Burst({
 radius: {30: 120},
 count: 10,
});

await burst.play().finished;

Thanks for the use case (and interesting use of the library 🙂).
But yeah, then I can understand it's a bit easier to to sequencial code if you can use it that way. We'll look into it.

I confirm I am using a Promise too with the onComplete event of mojs if I need to wait for the animation to complete because it does not support Promise for now 😉

authors: Sandstedt uduse xavierfoucrier

repo: mojs/mojs


text:
Added duetone icon

Icon is designed to be used on websites. It's TailwindCSS friendly. It's duotone.
I created it because currently, there is no icon that can be used well with TailwindCSS.
The differences between the official Logo and this icon are small, as I didn't want to interfere too much.
Hope this will be useful. I'm waiting for your feedback and thoughts.
In example below I applied some kind of green color.

Hi, thank you! Could you prettify or send an uncompressed svg here so I can take a look at the source pls? ☺

Hi, thank you! Could you prettify or send an uncompressed svg here so I can take a look at the source pls? ☺

This one in unoptimized

Hmmmm... Now I think It could be done better. I see that empty space between "nails" and "skin" when image is in big scale.

It's TailwindCSS friendly

I have limited experience with Tailwind, sorry, could you clarify this?

I have limited experience with Tailwind, sorry, could you clarify this?

In short: it's a very popular library to stylize your websites. I would say it's the most popular library (looking at React world).
When you want to place someone's logo on a website, it's good for it to be scalable (here I'm thinking about the SVG format), and to be able to do something more with it (such as applying a color with CSS).
If the SVG has predetermined colors, overwriting it with CSS style will cause it to be entirely in one color.
Web developers using React typically use icon libraries such as Iconify, while other libraries like TailwindCSS allow them styling icons easily.
Let's say you don't want to apply color. Let's take current logo.svg and put it on website with dark theme. It will be almost invisible, because logo is mostly black. The only option will be to add bright background under logo to keep contrast and make it visible.
The icon I added provides more possibilities.

Thanks for adding it. I wish to make this icon better in the future (when I return to playing with vector graphics again).

authors: Avaray molefrog

repo: molefrog/wouter

license: Unlicense


text:
how to substitute the variable from different file

if i have this variable in the appsettings file
"AuthenticationType": "${MiddlewareConfig_DefaultServiceAuthentication_AuthenticationType}",
and i want to read the value of MiddlewareConfig_DefaultServiceAuthentication_AuthenticationType from a different file, is it possible ?

Yes it's possible but it has nothing to do with this library. You need to have a configuration source that points to this file, then it'll just work.

authors: AakritiLahoti molinch

repo: molinch/ConfigurationSubstitutor


text:
Version 2.10.6 is missing at cdnjs.com

Can you please upload latest version of moment to cdnjs.com? Currently latest version is 2.10.3 (http://cdnjs.com/libraries/moment.js/) and I need some of the new features in version 2.10.5 ASAP.

Closed in favor of cdnjs/cdnjs#5162

repo: moment/moment


text:
moment('2020-07-21').toISOString() and .format('YYYY-MM-DD') return 2020-07-22 via VS Code Remote SSH

Describe the bug
Both toISODate and format('YYYY-MM-DD') are returning 2020-07-22 when the specified moment object has a date of 2020-07-21
To Reproduce
Steps to reproduce the behavior:

Assign the date 2020-07-21 to a variable as a moment object:

let startDate = moment('2020-07-21');

Evaluate startDate:

startDate
Moment {_isAMomentObject: true, _i: '2020-07-21', _f: 'YYYY-MM-DD', _isUTC: false, _pf: {…}}

Format startDate as an ISO string with toISOString():

startDate.toISOString()
'2020-07-22T00:00:00.000Z'

Format startDate with .format('YYYY-MM-DD'):

startDate.format('YYYY-MM-DD')
'2020-07-22'

Expected behavior
Both toISOString() and format('YYYY-MM-DD') should return the correct date ('2020-07-21')
Desktop (please complete the following information):

OS: MacOS Catalina 10.15.5 VS Code remote ssh session on Ubuntu 18.04 in NodeJS app
Browser N/A
Version [e.g. 22]

Moment-specific environment
Ubuntu date: Tue Jul 21 08:36:28 UTC 2020
Tue Jul 21 08:36:28 UTC 2020
Many, but not applicable

Please run the following code in your environment and include the output:
(new Date()).toString(): Tue Jul 21 2020 08:37:55 GMT+0000 (Coordinated Universal Time)
(new Date()).toLocaleString(): 7/21/2020, 8:37:55 AM
(new Date()).getTimezoneOffset(): 0
navigator.userAgent: N/A
moment.version: 2.27.0

Additional context
This appears to be unique to the date 2020-07-21.  Other tested dates (2020-07-16) return the correct date:
startDate = moment('2020-07-16')
Moment {_isAMomentObject: true, _i: '2020-07-16', _f: 'YYYY-MM-DD', _isUTC: false, _pf: {…}}
startDate.toISOString()
'2020-07-16T00:00:00.000Z'

Strangely, this issue does NOT occur when the same code is run directly on the same server.
My concern is that OTHER dates may be affected by this during development/debugging!

I couldn't reproduce it. Some steps seem unclear, what's the purpose of evaluating the moment object? Are you perhaps serializing the moment object and evaluating on the server?

I can't reproduce this either

Unfortunately I cannot reproduce it.  Perhaps the remote server has a very strange timezone.
You can use https://momentjs.com/docs/#/parsing/utc/ if it works for you.

authors: MinusFour donCarlosOne dwheale marwahaha


text:
Collections default ttl is broken (sorted sets)

When incrementing an element in a sorted set, if you don't pass in a ttl, we should be using the default ttl. For unary operations, we check to make sure that the request ttl isnt 0, and if it isnt we use it, else we use the default client configured ttl
func (c *DefaultScsClient) Set(ctx context.Context, request *CacheSetRequest) error {
	if err := isCacheNameValid(request.CacheName); err != nil {
		return err
	}
	ttlToUse := c.defaultTTL
	if request.TTL != time.Duration(0) {
		ttlToUse = request.TTL
	}

We need to perform a similar check for sorted sets ttls. These ttls are a bit different since they are more than just a duration, they also have a boolean flag to determine if we should refresh the ttl of the item or not CollectionTTL: utils.CollectionTTL{RefreshTtl: true, Ttl: 60 * time.Second},.
This code below should be respecting the default 60 second ttl that was set for the cache client, however items are getting evicted immediately.
client, err := incubating.NewScsClient(&momento.SimpleCacheClientProps{
	Configuration:      config.LatestLaptopConfig(),
	CredentialProvider: credProvider,
	DefaultTTL:         60 * time.Second,
})
if err != nil {
	panic(err)
}

response, err := client.SortedSetIncrement(ctx, &incubating.SortedSetIncrementRequest{
		CacheName:   cacheName,
		SetName:     "game1",
		ElementName: momento.StringBytes{Text: "Allen"},
		Amount:      2,
	})

	if err != nil {
		panic(err)
	} else {
		switch r := response.(type) {
		case *incubating.SortedSetIncrementResponseSuccess:
			fmt.Println(fmt.Sprintf("new value %f", r.Value))
		}
	}

As a part of this ticket, we should also audit other collections apis to make sure they also respect the default ttl

Try it with the latest main, please.

authors: bruuuuuuuce schwern

repo: momentohq/client-sdk-go


text:
feat: implement sorted set fetch by score

Implements sortedSetFetchByScore. A future PR will implement the other features of this API, including min/max inclusive vs exclusive flags, limit, and count; as well as testing.

Implements sortedSetFetchByScore. A future PR will implement the other features of this API, including min/max inclusive vs exclusive flags, limit, and count; as well as testing.

we decided not to expose those inclusive/exclusive flags unless we get a request.

repo: momentohq/client-sdk-nodejs


text:
fix: update text component styling

Description
Update text styles to make sure consumers can override the styles in the text component.
Links
https://jira-eng-gpk2.cisco.com/jira/browse/MOMENTUM-416

Fresh PR is created instead of this. Hence, closing this one.

repo: momentum-design/momentum-design


text:
feat(components): added notification-system component

Description

Added NotificationSystem component
Added utils and exposed them as part of the compound component pattern
Added unit tests using RTL for better confidence
Added sample stories for the usage of the NotificationSystem
NOTE: NotificationTemplate sub-component is not exposed and only used for storybook. Every consumer can create their notification templates on their own and inject them.

Links
Jira
Tech breakdown

Could you try to make this warning go away:

authors: cscheffauer torgeadelin


text:
fix(storybook): added lumos theme to storybook

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots:
Before (If applicable):

After:

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation update
[x] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Are we ok with not having a dark background with dark mode?

Are we ok with not having a dark background with dark mode?

For now - yes. Lena is working on theme switch gradually. this is the first and the easiest step

authors: elenagiere helen-v yananym

repo: momentum-design/momentum-ui


text:
fetal MRI

def: magnetic resonance imaging of the developing fetus in utero.

added MAXO:0001478

authors: LCCarmody pnrobinson

repo: monarch-initiative/MAxO


text:
NTR: Parainfluenza Infectious Disease

Preferred term label:
Parainfluenza Infectious Disease
Synonyms

parainfluenza
parainfluenza (disorder)
human parainfluenza viruses
human parainfluenza virus
HPIV

Definition (free text, please give PubMed ID, if applicable, in format PMID:#######)
Human parainfluenza viruses (HPIVs) are single-stranded, enveloped RNA viruses of the Paramyoviridaie family. There are four serotypes which cause respiratory illnesses in children and adults.
Definition copied from abstract: PMID:27486735
Parent term (use OLS, or your favorite ontology browser)
Paramyxoviridae infectious disease (MONDO_0005896)
Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?
Parainfluenza virus type 3 infectious disease (MONDO_0042974)
DbXRefs:
SCTID:12188008; OMOP:4008269
Your nano-attribution (ORCID)
If you don't have an ORCID, you can sign up for one here
https://orcid.org/0000-0002-8169-9049

@cmungall I don't see a term in NCIB taxon that corresponds to this virus - there is:

Human parainfluenza virus HCM-2015
Human parainfluenza virus Hue-2015

These are not in the same hierarchy as 'Human respirovirus 3' (child of  Respirovirus)

@callahantiff I'm not sure if Parainfluenza virus type 3 infectious disease (MONDO_0042974) is a child, based on what I said above. (Let me know if you need further clarification).
I added  human virus as a related synonym - unless you purposely wanted this class to be constrained to humans?

Here are the annotations, let me know if you'd like any changes:

@callahantiff I'm not sure if Parainfluenza virus type 3 infectious disease (MONDO_0042974) is a child, based on what I said above. (Let me know if you need further clarification).
I added human virus as a related synonym - unless you purposely wanted this class to be constrained to humans?

HI @nicolevasilevsky - thanks for your help adding this. I think the way that you have represented this looks great. I agree that at least for now, being more general and not limiting to only humans probably makes the most sense!

If I have to add human parainfluenza virus 1, 2, and 4. Should I create a separate ticket or add the required information for each to this ticket? I figured it was worth asking since this is still open? 😄

to do:

[ ] write to author of paper and ask if they think the NCBI taxonomy should be changed (https://pubmed.ncbi.nlm.nih.gov/27486735/)

to do:

[ ]  write to author of paper and ask if they think the NCBI taxonomy should be changed (https://pubmed.ncbi.nlm.nih.gov/27486735/)

Is there anything I can do to help with this? I'm happy to help gather additional evidence or literature if you think it would be useful!

need to add a tag with a design pattern
add comment that it is deliberately unaxiomitized b/c it does not align with NCBI taxonomy
@callahantiff I am talking to Chris right now, I'll let you know if we need more help- thanks!

Did anyone ask taxonomy directly?  A question, with the citations, should likely come from MONDO and not me:

go to https://www.ncbi.nlm.nih.gov/taxonomy
click on support center at the right below the thick blue line.

the FAQ does not say whether anyone can request a tax_id and whether the substrain needs to be defined by sequence

@maglott I am going to read the paper that Tiffany shared, and then I will likely ask NCBI Taxonomy about adding this class.
https://pubmed.ncbi.nlm.nih.gov/27486735/

If I have to add human parainfluenza virus 1, 2, and 4. Should I create a separate ticket or add the required information for each to this ticket? I figured it was worth asking since this is still open? 😄

Either way is fine, @callahantiff. (Sorry for the delay in answering this question)

If I have to add human parainfluenza virus 1, 2, and 4. Should I create a separate ticket or add the required information for each to this ticket? I figured it was worth asking since this is still open? 😄

Either way is fine, @callahantiff. (Sorry for the delay in answering this question)

No problem at all, I am sorry to give you more to do! I will hold off on adding anything until we know what will happen with adding this term. If I can do anything in the meantime, don't hesitate to let know.
Thanks so, so much for looking into this. I really appreciate it 🙏 🙇♀

@callahantiff I can go ahead and add human parainfluenza virus 1, 2, and 4 now.
I sent a request to NCBI Taxonomy to add these taxon terms.

@callahantiff I created these terms on PR #2109
Do you want me to add xrefs to OMOP and/or SNOMED, and do you have syns you'd like me to add?
Do you know how to edit in Protege? You are also welcome to edit my PR in Protege :)

Happy to add these, thanks for the invite! Is it OK with your timing if I get that information added by Wednesday?

@callahantiff yes, that timing is fine, whatever works for you. :) Let me know if you need help with editing, I am happy to train you. Editing Mondo is a bit more complicated than other ontologies I've worked on. You don't have to edit though, I am happy to make all the changes for you- whatever you prefer.

@callahantiff yes, that timing is fine, whatever works for you. :) Let me know if you need help with editing, I am happy to train you. Editing Mondo is a bit more complicated than other ontologies I've worked on. You don't have to edit though, I am happy to make all the changes for you- whatever you prefer.

OK, synonyms and dbxrefs added as new commit to PR #2109. Happy to make any needed changes!

authors: callahantiff maglott nicolevasilevsky

repo: monarch-initiative/mondo


text:
Implement RPC api calls for integrated address

Hello. I am new to Monero, but I was measuring myself today with the implementation of the payment system. I looked through the monero-wallet-rpc documentation and these two features were missing, so I added them. Perhaps it is possible to do it "around". but after adding these functions the payment prototype looks more or less like this:
pub async fn payments_system_xmr_test() -> anyhow::Result<()> {
    //start this before rust application: ./monero-wallet-rpc --disable-rpc-login --wallet-file /home/user/Monero/test_wallet --password 123123 --rpc-bind-port 18089 --daemon-address http://node.monerooutreach.org:18081 --untrusted-daemon --rpc-bind-ip 127.0.0.1 --confirm-external-bind --log-level 4

    let rpc_client = monero_rpc::RpcClientBuilder::new()
        .build("http://127.0.0.1:18089")?;

    let wallet_client = rpc_client.wallet();

    let price = Amount::from_xmr(1.0)?;

    let invoice = wallet_client.make_integrated_address(None, None).await?;
    let integrated_address = invoice.0;
    let payment_id = invoice.1;

    loop {
        let typed_payment_id = PaymentId::from_str(&payment_id)?;

        let payments = wallet_client.get_payments(typed_payment_id).await?;

        let mut paid = false;

        for payment in payments {
            if payment.amount.as_xmr() >= price.as_xmr() {
                paid = true;
                break;
            }
        }

        if paid {
            println!("invoice has been paid");
        } else {
            println!("send {}xmr to {}", price.as_xmr(), integrated_address);
        }

        tokio::time::sleep(Duration::from_millis(5000)).await;
    }
}

Some types may not quite match, but I'm not very familiar with this project yet.

done. should be okay.

done. should be okay.

Is this new API good in your use case ? If yes then LGTM and we can go ahead with this impl

done. should be okay.

Is this new API good in your use case ? If yes then LGTM and we can go ahead with this impl

rather good, but I haven't yet used any code related to it in production. in general, it's a bit of a shame that you can't receive information about new payments via websocket and just setting up monero-wallet-rpc is bothersome but it's probably my fault because I didn't use docker

repo: monero-rs/monero-rpc-rs


text:
Add hook for monkey-patching pymongo's Collection

Depends on #4

I made one more change which will result in all methods with the __target__ attribute being automatically patched onto the target classes.

repo: mongodb-labs/mongo-arrow


text:
atlas networking containers list throws error

Describe the bug
Attempted to execute atlas networking containers list after auth login.
I get the following error back
Error: template: output:2:31: executing "output" at <.RegionName>: can't evaluate field RegionName in type interface {}
Desktop (please complete the following information):
atlas --version output
atlascli version: 1.9.1
git version: 730ed8bebeaa69592c31ef47539795ac4a18291f
Go version: go1.19.10
   os: windows
   arch: amd64
   compiler: gc

Additional context
First time trying the atlas cli, I just wanted to find out what network containers existed.
In my case, there were no containers when I queried the http api myself without specifying a provider.

Thank you for reporting issue. We are working for the fix.
As workaround we recomend to use -o JSON to get output of the command in JSON format

We have made a fix for the issue. It will be included in the next release of the atlas CLI.

The issue has been fixed in the latest release.

authors: laurencee wtrocki

repo: mongodb/mongodb-atlas-cli


text:
test: adds tests for atlas data lake

NODE-2691

@mbroadst I've put out a fix for all the things mentioned here except for a viable solution to the contradictory ping exceptions.

repo: mongodb/node-mongodb-native


text:
refactor(NODE-3356): Remove logs that duplicate command monitoring functionality

Description
NODE-3356

LGTM but one of the Logger tests is failing in CI.

Oh that's weird, I could have sworn I saw them pass earlier; I'll look into it, thanks for the catch! @emadum


text:
STITCH-529 Fix continueTask method of StitchTasks in iOS SDK

Made StitchTask into an actual Promise system, not just a pseudo-callback system.

@mpobrien PTAL

repo: mongodb/stitch-ios-sdk


text:
Feature/sre 000 fix broken watch

Fix the watch method. Having a for call is mandatory.

Sorry. I have been busy and didn't notice this quickly.
I think this is great!!
I will go through it in a few days time to see how it can be merged safely.
Thanks

Haha, I actually accidentally opened it against the main repo, I was supposed to raise against our forked one, at Rokt.
But of course, by any means if you feel that these changes are making it better, happy to contribute.
It is a great component, we like it. So we are making it more stable in our fork for teams to use it.

Sorry. I have been busy and didn't notice this quickly.
I think this is great!!
I will go through it in a few days time to see how it can be merged safely.
Thanks

I will close this one and open a separate one from the master branch. that has the changes with the metrics.

Sorry. I have been busy and didn't notice this quickly. I think this is great!! I will go through it in a few days time to see how it can be merged safely.
Thanks

@alphashaw Opened a new PR with all changes made in our fork, would really appreciate your review - https://github.com/monimesl/istio-virtualservice-merger/pull/4

authors: activehigh alphashaw

repo: monimesl/istio-virtualservice-merger


text:
Update sbt-sonatype to 3.11.2 in series/4.x

About this PR
📦 Updates org.xerial.sbt:sbt-sonatype from 3.9.12 to 3.11.2
📜 GitHub Release Notes - Release Notes
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.xerial.sbt", artifactId = "sbt-sonatype" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.xerial.sbt", artifactId = "sbt-sonatype" }
}]

labels: sbt-plugin-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #1859.

repo: monix/monix


text:
Render context

I'm not sure exactly what the purpose of the context parameter is when rendering templates. In the API reference, the only note on this parameter is:

This will pass through every component hierarchy

Does this mean any descendant components initialised in the rendered template will have the context data passed to it as well?
My first thought was that context provided a way of passing in extra "global" properties that could be used in templates. After looking through the source I realised this wasn't the case, so I modified my update methods in all my components like so:
update(state)
{
	Object.assign(this.state, state)
	super.update(Object.assign({}, this.context, this.state))
}

Is this an appropriate use of the context parameter?

Looking into some examples, I see context is generally used to hold actions for state management (redux). This is a much better idea.

Hi,t
You are right, context is for passing some context (😃 ) through component hierarchy.
It's same as reacts contexts: https://facebook.github.io/react/docs/context.html

Ah okay, thanks! I've never used React before, and as far as I know there's no explicit controlling of component context in Vue. Cheers for the link!

authors: benjamminf elfet

repo: monkberry/monkberry


text:
Add developer.li nostr relay

Happy to help with another relay I manage!
I am experienced running servers and glad to mantain a good public relay

thank you @piraces !

authors: monlovesmango piraces

repo: monlovesmango/astral


text:
System.EntryPointNotFoundException

Receiving System.EntryPointNotFoundException from a C# (P/Invoke) generated binding library on an iOS device.  I don't have access to the C++ source code, only the headers, so I don't know if the problem is with the library or my settings.
fwiw the C++ binary is embedded in a Xamarin binding library with a build action of ObjcBindingNativeLibrary and my DllImport is using a dllName of "__Internal", which is an approach I've successfully used for other C++ binaries that I've wrapped in Objective-C wrappers.
OS: Windows using binary distro CppSharp-vs2013-master-878
Used settings
Target: MSVC
Other settings
Stack trace or incompilable generated code
[FAIL] DoIt : System.EntryPointNotFoundException : ??0CriteriaGroup@clientscore@utils@sdk@digipass@vasco@com@@QAE@XZ
at (wrapper managed-to-native) __Internal.com.vasco.digipass.sdk.utils.clientscore.CriteriaGroup+Internal:ctor_0 (intptr)
at __Internal.com.vasco.digipass.sdk.utils.clientscore.CriteriaGroup..ctor () [0x0002e] in C:\dev\xamarin-ios-bindings\ClientScoreSDK\CriteriaGroup.cs:113
at DigipassSample.Test.ClientScoreSDK.ClientScoreSdkTest.DoIt () [0x00001] in C:\dev\xamarin-ios-bindings\DigipassSample.Test\ClientScoreSDK\ClientScoreSdkTest.cs:12
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00038] in /Users/builder/data/lanes/3234/d8bedd03/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:295

MSVC only works on Windows. You need the correct settings for iOS - target tripe, ABI and so on.

@ddobrev is right, you need to change your settings.
Set your target triple to iOS, you can check some examples of target triples here: https://github.com/mono/mono/blob/master/tools/offsets-tool/MonoAotOffsetsDumper.cs#L141
In your case, I'd say you want to start with something like arm-apple-darwin10 and set your ABI mode to Itanium instead of MSVC.

@ lprichar I'm doing some research on vasco.digipass but I can't find a .net version. Can you give me the version you have?

@lprichar
I'm doing some research on vasco.digipass but I can't find a .net version. Can you give me the version you have?

authors: checklx ddobrev lprichar tritao

repo: mono/CppSharp


text:
SKImage.FromData (SKData data)

We should provide an overload that does not require the SKRectI, so that the size is automatically computed, this is achieved by passing a null on the second parameter (will require another PInvoke signature)

Implemented

repo: mono/SkiaSharp


text:
Save as PNG, where to set DPI ?

I'm using this code to render a svg into a png of a specific size. The png is then used as a toolbar-button image in a WPF app.
Unfortunate the resulting png doesn't have the dpi-tag set properly and I also didn't find a way to set a value.  It should be set to the current Windows screen-resolution to prevent additional scaling from Windows. But where or how?

public static byte[] SvgToPngBytes(Stream svgfilestream, int size)
{
	var svg = new SkiaSharp.Extended.Svg.SKSvg();
	svg.Load(svgfilestream);

	var ii = new SKImageInfo(size, size);
	using (var newSurface = SKSurface.Create(ii))
	{
		using (var canvas = newSurface.Canvas)
		{
			canvas.Clear(SKColors.Transparent);

			// calculate the scaling need to fit to size
			float scalew = size / svg.CanvasSize.Width;
			float scaleh = size / svg.CanvasSize.Height;
			var scale = Math.Min(scalew, scaleh);
                        // scale and center in size
			var matrix = SKMatrix.MakeScale(scale, scale);
			matrix.TransX = (size - svg.CanvasSize.Width * scale) / 2;
			matrix.TransY = (size - svg.CanvasSize.Height * scale) / 2;

			canvas.DrawPicture(svg.Picture, ref matrix);
			canvas.Flush();

			// https://stackoverflow.com/questions/48372772/saving-canvas-to-device-memory-in-xamarin-forms
			var data = newSurface.Snapshot();
			var pngImage = data.Encode();
			using (var ms = new MemoryStream())
			{
				pngImage.SaveTo(ms);
				return ms.ToArray();
			}
		}
	}
}

https://forums.xamarin.com/discussion/102644/skbitmap-and-dpi

Thanks for responding @neodynamic. I believe that this is still the case:

Well, I'm already scaling the bitmap to simulate the dpi resolution but the problem here is that setting should be stored in the output png image file itself which is useful for printing purposes. Looking at the web, it seems that PNG spec supports it http://www.libpng.org/pub/png/spec/1.2/PNG-Chunks.html#C.pHYs
I'll try change those bytes through code after getting the byte array from Skia codec. By the way, it seems that Skia does not support it https://groups.google.com/forum/#!searchin/skia-discuss/dpi|sort:relevance/skia-discuss/nY4tLHvjkVs/8vcioy_e8z4J

I am closing this as "not supported" until skia gets a feature to do this.

authors: TomQv mattleibow neodynamic


text:
Fix quick start example in the README

The quick start example in the README was a copy pasta derived from the ./examples folder, and it had bugs (sorry). Closes #20

Perfect, thanks!

repo: monzo/aws-nitro-util


text:
Feature Request: Add example of adding handlers/commands to demo app

Could an example of how to add additional handlers/commands be added to the demo app so consumers of the new architecture (as a package) know how they can add their own items that aren't core to the Response package?
More of a question, as an side to this, would consumers be able to override certainly handlers/actions? For example, at the moment we have a custom channel name convention for incidents -- instead of an incrementing number as the default channel name, we switched to date time to work around the issue in a development environment where the channels already existed.

Yes, I really like this idea - better than documentation, as we can write tests for it and check that new releases haven't regressed anything.

More of a question, as an side to this, would consumers be able to override certainly handlers/actions? For example, at the moment we have a custom channel name convention for incidents -- instead of an incrementing number as the default channel name, we switched to date time to work around the issue in a development environment where the channels already existed.

Definitely. We have this in the Monzo private fork, so we'll definitely need to port this over to the response package - I'm thinking of some kind of callback/hook that lets users plug in their own logic.
An even cooler feature I had an idea for was automatically generating a channel name from the incident name, prefixed by date - e.g. "External API latency high" could become #inc-jul15-ext-api-lat or something - we've found that there is a minute or two wasted at the beginning of incidents by having to rename the channel

authors: AshleyPoole milesbxf

repo: monzo/response


text:
proto fails to install rust tools

What version?
0.21.0
Which command?
proto install rust
What happened?
Fails to install rust. Notice how my home dir is /home/prabirshrestha and the tool complains about not finding the binary because ~/prabirshrestha/. that should be interpreted as /home/prabirshrestha/prabirshrestha thus not finding the binaries.
I was able to install other tools such as moon, node, pnpm except rust so could be isolated to rust.
Any logs?
info: uninstalling toolchain '1.73.0-x86_64-unknown-linux-gnu'
info: toolchain '1.73.0-x86_64-unknown-linux-gnu' uninstalled
info: syncing channel updates for '1.73.0-x86_64-unknown-linux-gnu'
info: latest update on 2023-10-05, rust version 1.73.0 (cc66ad468 2023-10-03)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
 13.8 MiB /  13.8 MiB (100 %)   8.9 MiB/s in  1s ETA:  0s
info: downloading component 'rust-std'
 24.7 MiB /  24.7 MiB (100 %)  10.7 MiB/s in  2s ETA:  0s
info: downloading component 'rustc'
 61.6 MiB /  61.6 MiB (100 %)  10.4 MiB/s in  6s ETA:  0s
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
 13.8 MiB /  13.8 MiB (100 %)   6.3 MiB/s in  2s ETA:  0s
info: installing component 'rust-std'
 24.7 MiB /  24.7 MiB (100 %)  11.6 MiB/s in  2s ETA:  0s
info: installing component 'rustc'
 61.6 MiB /  61.6 MiB (100 %)  13.7 MiB/s in  4s ETA:  0s
info: installing component 'rustfmt'

  1.73.0-x86_64-unknown-linux-gnu installed - rustc 1.73.0 (cc66ad468 2023-10-03)

info: checking for self-update
Error: proto::execute::missing_bin

  × Unable to find an executable binary for Rust, expected file ~/prabirshrestha/.rustup/toolchains/1.73.0-x86_64-unknown-linux-gnu/bin/cargo
  │ does not exist.

Operating system?
Linux
Architecture?
x64

@prabirshrestha I actually just fixed this, can you try deleting your plugins and trying again.
https://github.com/moonrepo/rust-plugin

It doesn't work. I have even tried downgrading the proto.
This is what it is currently downloading by default in v0.19
rust-latest-6b9fbcfd275c682980ea898e1777a6d749a61dcf9e30b212ee40a90196141fbc.wasm in v0.20.1 it is downloading rust-latest-60a37814e98773bf129cd3d7cb94d30fb7b3f7e36853a15e94b31d5f1ed8b0cb.wasm.
I moved to a working commit in the past and tried it but still seems to be failing. Is there some kind of lock files for the plugins too. I'm a huge fan of reproducable builds which means even if I come back 20yrs later it if compiled now it should 20 years later.

This is what my `.prototools is. Is this the correct way to force using the plugin?
moon = "1.15.3"
rust = "1.73.0"

[plugins]
moon = "source:https://raw.githubusercontent.com/moonrepo/moon/master/proto-plugin.toml"
rust = "source:https://github.com/moonrepo/rust-plugin/releases/download/v0.3.1/rust_plugin.wasm"

Here is the log. It does say it is loading v0.3.1 for the rust plugin.
/home/prabirshrestha/code/objstor$ proto use
━━         Installing 4 tools: moon, node, pnpm, rust                   [ INFO 2023-10-22 15:02:15] proto::commands::install  Node.js has already been installed at ~/.proto/tools/node/18.18.2
━━━━       Installing 4 tools: moon, node, pnpm, rust                   [ INFO 15:02:15] proto::commands::install  pnpm has already been installed at ~/.proto/tools/pnpm/8.9.2
info: uninstalling toolchain '1.73.0-x86_64-unknown-linux-gnu'
━━━━━      Installing 4 tools: moon, node, pnpm, rust                   [ INFO 15:02:15] proto::commands::install  moon has already been installed at ~/.proto/tools/moon/1.15.3
━━━━       Installing 4 tools: moon, node, pnpm, rust                   info: toolchain '1.73.0-x86_64-unknown-linux-gnu' uninstalled
info: syncing channel updates for '1.73.0-x86_64-unknown-linux-gnu'
━━━━━━━━━  Installing 4 tools: moon, node, pnpm, rust                   info: latest update on 2023-10-05, rust version 1.73.0 (cc66ad468 2023-10-03)
info: downloading component 'cargo'
━━━━━━━━   Installing 4 tools: moon, node, pnpm, rust                   info: downloading component 'clippy'
━━━━       Installing 4 tools: moon, node, pnpm, rust                   info: downloading component 'rust-docs'
 13.8 MiB /  13.8 MiB (100 %)  10.6 MiB/s in  1s ETA:  0s
/home/prabirshrestha/code/objstor$ proto install rust --log trace
[DEBUG 2023-10-22 15:03:01] proto  Running proto v0.20.1  args=["proto", "install", "rust", "--log", "trace"]
[TRACE 15:03:01] starbase::app  Running startup phase with 1 systems
[TRACE 15:03:01] starbase::app  Running analyze phase with 1 systems
[TRACE 15:03:01] starbase::app  Running execute phase with 2 systems
[DEBUG 15:03:01] proto_core::tool_loader:install  Traversing upwards to find a configured plugin  tool="rust"
[DEBUG 15:03:01] proto_core::tools_config:install  Loading .prototools  file="/home/prabirshrestha/code/objstor/.prototools"
[TRACE 15:03:01] starbase_utils::fs:install  Reading file  file="/home/prabirshrestha/code/objstor/.prototools"
[TRACE 15:03:01] warpgate::loader:install  Creating plugin loader  cache_dir="/home/prabirshrestha/.proto/plugins"
[TRACE 15:03:01] warpgate::loader:install  Loading plugin rust  plugin="rust" locator="source:https://github.com/moonrepo/rust-plugin/releases/download/v0.3.1/rust_plugin.wasm"
[TRACE 15:03:01] warpgate::loader:install  Plugin already downloaded and cached  plugin="rust" path="/home/prabirshrestha/.proto/plugins/rust-d0d646f5b4baf2b767808443480d2aa1c02fade424ec252e063073562ab8ad3a.wasm"
[DEBUG 15:03:01] proto_core::tool_loader:install  Loading WASM plugin  source="/home/prabirshrestha/.proto/plugins/rust-d0d646f5b4baf2b767808443480d2aa1c02fade424ec252e063073562ab8ad3a.wasm"
[TRACE 15:03:01] proto_core::tool_loader:install  Storing tool identifier  id="rust"
[TRACE 15:03:01] proto_core::tool_loader:install  Storing user configuration  config={"auto_clean":false,"auto_install":false,"node_intercept_globals":true}
[TRACE 15:03:01] proto_core::tool_loader:install  Storing proto environment  env={"arch":"x64","os":"linux","home_dir":{"path":"/home/","virtual_prefix":"/home","real_prefix":"/home/prabirshrestha"},"proto_dir":{"path":"/home/.proto","virtual_prefix":"/home","real_prefix":"/home/prabirshrestha"}}
[DEBUG 15:03:01] proto_core::tool:install  Creating tool rust and instantiating plugin
[DEBUG 15:03:01] proto_core::tool_manifest:install:load  Loading manifest.json  file="/home/prabirshrestha/.proto/tools/rust/manifest.json"
[DEBUG 15:03:01] proto_core::tool:install  Created tool rust and its WASM runtime
[TRACE 15:03:01] warpgate::plugin:install  Calling plugin function register_tool  plugin="rust" input={"id":"rust"}
[TRACE 15:03:01] proto_wasm::get_env_var:install  Reading environment variable from host  name="RUSTUP_HOME" value=""
[TRACE 15:03:01] proto_wasm::exec_command:install  Executing command from plugin  command="ldd" args=["--version"] env_vars={}
[TRACE 15:03:01] proto_wasm::exec_command:install  Executed command from plugin  command="ldd" exit_code=0 stderr_len=0 stdout_len=267
[TRACE 15:03:01] warpgate::plugin:install  Called plugin function register_tool  plugin="rust" output={"default_version":"stable","inventory":{"disable_progress_bars":true,"override_dir":"/home/prabirshrestha/.rustup/toolchains","version_suffix":"-x86_64-unknown-linux-gnu"},"name":"Rust","plugin_version":"0.3.1","self_upgrade_commands":[],"type":"Language"}
[DEBUG 15:03:01] proto_core::tool:install  Resolving a semantic version or alias  tool="rust" initial_version="latest"
[DEBUG 15:03:01] proto_core::tool:install  Loading available versions  tool="rust"
[TRACE 15:03:01] starbase_utils::fs:install  Reading file metadata  file="/home/prabirshrestha/.proto/tools/rust/remote-versions.json"
[TRACE 15:03:01] warpgate::plugin:install  Calling plugin function load_versions  plugin="rust" input={"context":{"tool_dir":{"path":"/home/prabirshrestha/.rustup/toolchains/latest-x86_64-unknown-linux-gnu","virtual_prefix":"/home","real_prefix":"/home/prabirshrestha"},"version":"latest"},"initial":"latest"}
[TRACE 15:03:01] proto_wasm::exec_command:install  Executing command from plugin  command="git" args=["ls-remote", "--tags", "--sort", "version:refname", "https://github.com/rust-lang/rust"] env_vars={}
[TRACE 15:03:02] proto_wasm::exec_command:install  Executed command from plugin  command="git" exit_code=0 stderr_len=0 stdout_len=15032
[TRACE 15:03:02] warpgate::plugin:install  Called plugin function load_versions  plugin="rust" output={"latest":"1.73.0","aliases":{"latest":"1.73.0"},"versions":["1.0.0","1.0.0-alpha","1.0.0-alpha.2","1.0.0-beta","1.1.0","1.2.0","1.3.0","1.4.0","1.5.0","1.6.0","1.7.0","1.8.0","1.9.0","1.10.0","1.11.0","1.12.0","1.12.1","1.13.0","1.14.0","1.15.0","1.15.1","1.16.0","1.17.0","1.18.0","1.19.0","1.20.0","1.21.0","1.22.0","1.22.1","1.23.0","1.24.0","1.24.1","1.25.0","1.26.0","1.26.1","1.26.2","1.27.0","1.27.1","1.27.2","1.28.0","1.29.0","1.29.1","1.29.2","1.30.0","1.30.1","1.31.0","1.31.1","1.32.0","1.33.0","1.34.0","1.34.1","1.34.2","1.35.0","1.36.0","1.37.0","1.38.0","1.39.0","1.40.0","1.41.0","1.41.1","1.42.0","1.43.0","1.43.1","1.44.0","1.44.1","1.45.0","1.45.1","1.45.2","1.46.0","1.47.0","1.48.0","1.49.0","1.50.0","1.51.0","1.52.0","1.52.1","1.53.0","1.54.0","1.55.0","1.56.0","1.56.1","1.57.0","1.58.0","1.58.1","1.59.0","1.60.0","1.61.0","1.62.0","1.62.1","1.63.0","1.64.0","1.65.0","1.66.0","1.66.1","1.67.0","1.67.1","1.68.0","1.68.1","1.68.2","1.69.0","1.70.0","1.71.0","1.71.1","1.72.0","1.72.1","1.73.0"]}
[TRACE 15:03:02] starbase_utils::json:install  Stringifying JSON  file="/home/prabirshrestha/.proto/tools/rust/remote-versions.json"
[TRACE 15:03:02] starbase_utils::fs:install  Writing file  file="/home/prabirshrestha/.proto/tools/rust/remote-versions.json"
[TRACE 15:03:02] warpgate::plugin:install  Calling plugin function resolve_version  plugin="rust" input={"context":{"tool_dir":{"path":"/home/prabirshrestha/.rustup/toolchains/latest-x86_64-unknown-linux-gnu","virtual_prefix":"/home","real_prefix":"/home/prabirshrestha"},"version":"latest"},"initial":"latest"}
[TRACE 15:03:02] warpgate::plugin:install  Called plugin function resolve_version  plugin="rust" output={}
[DEBUG 15:03:02] proto_core::tool:install  Resolved to 1.73.0  tool="rust" version="1.73.0"
[DEBUG 15:03:02] proto_core::tool:install  Checking if tool is installed  tool="rust" install_dir="/home/prabirshrestha/prabirshrestha/.rustup/toolchains/1.73.0-x86_64-unknown-linux-gnu"
[DEBUG 15:03:02] proto_core::tool:install  Tool has not been installed  tool="rust"
[DEBUG 15:03:02] proto::commands::install:install  Installing Rust with version latest
[DEBUG 15:03:02] proto_core::tool:install  Installing tool natively  tool="rust"
[TRACE 15:03:02] warpgate::plugin:install  Calling plugin function native_install  plugin="rust" input={"context":{"tool_dir":{"path":"/home/prabirshrestha/.rustup/toolchains/1.73.0-x86_64-unknown-linux-gnu","virtual_prefix":"/home","real_prefix":"/home/prabirshrestha"},"version":"1.73.0"},"install_dir":{"path":"/home/.proto/temp/rust/1.73.0-1698012182036","virtual_prefix":"/home","real_prefix":"/home/prabirshrestha"}}
[TRACE 15:03:02] proto_wasm::exec_command:install  Executing command from plugin  command="which" args=["rustup"] env_vars={}
[TRACE 15:03:02] proto_wasm::exec_command:install  Executed command from plugin  command="which" exit_code=0 stderr_len=0 stdout_len=39
[TRACE 15:03:02] proto_wasm::exec_command:install  Executing command from plugin  command="ldd" args=["--version"] env_vars={}
[TRACE 15:03:02] proto_wasm::exec_command:install  Executed command from plugin  command="ldd" exit_code=0 stderr_len=0 stdout_len=267
[TRACE 15:03:02] proto_wasm::log:install  Installing target 1.73.0-x86_64-unknown-linux-gnu with rustup
[TRACE 15:03:02] proto_wasm::exec_command:install  Executing command from plugin  command="rustup" args=["toolchain", "list"] env_vars={}
[TRACE 15:03:02] proto_wasm::exec_command:install  Executed command from plugin  command="rustup" exit_code=0 stderr_len=0 stdout_len=149
[TRACE 15:03:02] proto_wasm::log:install  Detected a broken toolchain, uninstalling it
[TRACE 15:03:02] proto_wasm::exec_command:install  Executing command from plugin  command="rustup" args=["toolchain", "uninstall", "1.73.0"] env_vars={}
info: uninstalling toolchain '1.73.0-x86_64-unknown-linux-gnu'
info: toolchain '1.73.0-x86_64-unknown-linux-gnu' uninstalled
[TRACE 15:03:05] proto_wasm::exec_command:install  Executed command from plugin  command="rustup" exit_code=0 stderr_len=0 stdout_len=0
[TRACE 15:03:05] proto_wasm::exec_command:install  Executing command from plugin  command="rustup" args=["toolchain", "install", "1.73.0", "--force"] env_vars={}
info: syncing channel updates for '1.73.0-x86_64-unknown-linux-gnu'
info: latest update on 2023-10-05, rust version 1.73.0 (cc66ad468 2023-10-03)
info: downloading component 'cargo'                                      info: downloading component 'clippy'
info: downloading component 'rust-docs'
 13.8 MiB /  13.8 MiB (100 %)  11.2 MiB/s in  1s ETA:  0s
info: downloading component 'rust-std'
 24.7 MiB /  24.7 MiB (100 %)  11.2 MiB/s in  2s ETA:  0s
info: downloading component 'rustc'
 61.6 MiB /  61.6 MiB (100 %)  11.2 MiB/s in  5s ETA:  0s
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
 13.8 MiB /  13.8 MiB (100 %)   7.0 MiB/s in  1s ETA:  0s
info: installing component 'rust-std'
 24.7 MiB /  24.7 MiB (100 %)  12.3 MiB/s in  2s ETA:  0s
info: installing component 'rustc'
 61.6 MiB /  61.6 MiB (100 %)  14.8 MiB/s in  4s ETA:  0s
info: installing component 'rustfmt'

  1.73.0-x86_64-unknown-linux-gnu installed - rustc 1.73.0 (cc66ad468 2023-10-03)

info: checking for self-update
[TRACE 15:03:27] proto_wasm::exec_command:install  Executed command from plugin  command="rustup" exit_code=0 stderr_len=0 stdout_len=0
[TRACE 15:03:27] warpgate::plugin:install  Called plugin function native_install  plugin="rust" output={"installed":true,"skip_install":false}
[DEBUG 15:03:27] proto_core::tool:install  Successfully installed tool  tool="rust" install_dir="/home/prabirshrestha/prabirshrestha/.rustup/toolchains/1.73.0-x86_64-unknown-linux-gnu"
[DEBUG 15:03:27] proto_core::tool:install  Cleaning up temporary files and downloads  tool="rust"
[DEBUG 15:03:27] proto_core::tool:install  Locating binaries for tool  tool="rust"
[TRACE 15:03:27] warpgate::plugin:install  Calling plugin function locate_bins  plugin="rust" input={"context":{"tool_dir":{"path":"/home/prabirshrestha/.rustup/toolchains/1.73.0-x86_64-unknown-linux-gnu","virtual_prefix":"/home","real_prefix":"/home/prabirshrestha"},"version":"1.73.0"}}
[TRACE 15:03:27] warpgate::plugin:install  Called plugin function locate_bins  plugin="rust" output={"bin_path":"bin/cargo","fallback_last_globals_dir":true,"globals_lookup_dirs":["$CARGO_INSTALL_ROOT/bin","$CARGO_HOME/bin","$HOME/.cargo/bin"],"globals_prefix":"cargo-"}
[DEBUG 15:03:27] proto_core::tool:install  Found a binary  tool="rust" bin_path="/home/prabirshrestha/prabirshrestha/.rustup/toolchains/1.73.0-x86_64-unknown-linux-gnu/bin/cargo"
[TRACE 15:03:27] starbase::app  Running shutdown phase with 1 systems
Error: proto::execute::missing_bin

  × Unable to find an executable binary for Rust, expected file ~/prabirshrestha/.rustup/toolchains/1.73.0-
  │ x86_64-unknown-linux-gnu/bin/cargo does not exist.

Ah I actually have another fix in proto itself that should help here too. Our virtual path of /home was conflicting with the actual home folder. Let me publish it right now.

Ok try 0.20.2.

proto install rust seems to work now.
But when using moon setup  or moon run it fails.
info: installing component 'rustfmt'
⠒ Downloading and installing tools...
⠓ Downloading and installing tools...                                                                                1.73.0-x86_64-unknown-linux-gnu installed - rustc 1.73.0 (cc66ad468 2023-10-03)

info: checking for self-update
Error: proto::execute::missing_bin

  × Unable to find an executable binary for Rust, expected file ~/prabirshrestha/.rustup/toolchains/1.73.0-x86_64-unknown-linux-gnu/bin/cargo
  │ does not exist.

Seems like proto install rust use a different version of rust wasm moon as I can verify there are two rust wasm in the plugins folder.

I'll need to patch moon to pull in the proto fixes, will do.

@milesj I still have some troubles with rust installation
$ proto install rust
Error: plugin::failed

  × Call failed
  │
  │ Caused by:
  │     0: error while executing at wasm backtrace:
  │            0: 0xc741 - <unknown>!<wasm function 190>
  │            1: 0x45aef - <unknown>!<wasm function 680>
  │     1: Failed to update permissions for /proto/temp/rustup-init.sh.
  │     2: No such file or directory (os error 2)

Running on macOS 13.6
proto: 0.20.2

Work for me. Thanks for the quick fix! Will leave it open in case you want to discuss the other issue mentioned but I don't seem to have any issues.

@maastrich Can you try 0.20.4

authors: maastrich milesj prabirshrestha

repo: moonrepo/proto


text:
mention

How to set up a channel, how to mention

You can use n!setchannel #channel_name
When you type # and start writing the name of the channel, Discord will give you autocomplete suggestions.

oh ，thanks

authors: kajqoa moonstar-x

repo: moonstar-x/discord-free-games-notifier


text:
msrt_tool.py: Allow to list languages

Allow ro list languages available in msrt file. Expected syntax:
msrt_tool.py MSRT_FILE list

I would like to elaborate a bit more about this feature. I expect it to be further developed to show completion percentage for each language.
I.e. it will count the total amount of segments in MSRT file and also for each particular language (it is possible some language have not all segments translated). And then percentage is shown:
$ msrt_tool.py morevna-ep3.msrt list
eng (100%)
rus (100%)
jpn (1%)

Now possible via 6cbdaac5 with this command msrt_tool.py --list MSRT_FILE
Thanks to @scribblemaniac!
Should I leave this open or open a new issue for percentage feature? ^__^

Just leave it open, I'm planning to add the percentage feature very soon.

authors: morevnaproject scribblemaniac

repo: morevnaproject/subtitles-translation


text:
Proofread morevna-ep4, pass 1

In previous translations I mostly focused on technical correctness. In this proofreading, I have taken a slightly more aggressive approach to reduce the number of wordy phrases in the text. I'll add some comments to this PR for some of the perhaps more contentious changes.

Looks awesome! Thank you! ^__^


text:
Connect on create bug

Thanks for the great package. I'm mocking out tests for our next app, but I am unable to connect on create with this setup.
I create a user earlier in the test and it seems to work fine. I am able to see the user in the first log below.
export const create_ticket = async (user_id: number, type: TicketType): Promise<Ticket> => {
  return prisma.ticket.create({
    data: {
      type,
      user: { connect: { user_id }}},
    include: {
      user: true
    }
  })
}

......
const user = await prisma.user.findUnique({where: { user_id: 1 }})
  console.log(user)

  const res = await create_ticket(1, 'free')
  console.log(res)

  const ticket = await get_ticket_by_id(1)
  console.log(ticket)

{
id: 1,
user_id: null,
user: null
... other fields as expected, like created and updated
}

The above object is what the last two logs print when trying to get the ticket. the connection isn't made in prismock, only when connecting to our database.
I did some digging around in the source code. When connecting, the user_id is passed as null to connectOrCreate in prismock.
I found a way to get the user_id on the item itself without having to directly pass it in the create object
for (const relation of field!.relationFromFields!) {
              accumulator[relation] = connect[relation]
            }

but even when that value is on item, the logic for finding the user didn't seem to be working. It seems to be hitting this block in create.ts
if (field!.relationFromFields!.length > 0) {
    const connected = findOne({ where: connect }, subDelegate, delegates);

connected is always null. Connect is passed to where as expected with the user_id. Further debugging showed that checking the User delegate (using .getItems()) returned no items, even though in my test code it returns the users I created. This is about as far as I got.
Relevant models:
model User {
  user_id            Int                   @id @default(autoincrement())
  tickets            Ticket[]
  tickets_gifted_by  Ticket[] @relation("gifted_by_user")
  tickets_gifted_to  Ticket[] @relation("gifted_to_user")
  ....
}

model Ticket {
  id Int @id @default(autoincrement())
  type TicketType
  gifted_to Int?
  gifted_to_user User? @relation(name: "gifted_to_user", fields: [gifted_to], references: [user_id])
  user_id Int
  user User @relation(fields: [user_id], references: [user_id])
  ...
}

Hello @bogannathan I've not been able to reproduce this bug. Can you let me know if the test added in https://github.com/morintd/prismock/pull/957 correspond to your use-case?
Otherwise, would you be able to add one that reproduce your problem, which I can use to try and find what's going on?

Sorry for the delay, just moved. Looks like I had an extra line in my file that was re instantiating prisma with a separate prismock client. Thanks for the help 👍

authors: bogannathan morintd

repo: morintd/prismock


text:
CSS Modules breaks theming

Using CSS modules and passing imported styles it is breaking theme. Unfortunately cant do a codepen because css modules isn't supported.
import React from 'react'
import Autosuggest from 'react-autosuggest'

import styles from './AutoComplete.module.css'

class AutoComplete extends React.Component {
   ...
  render() {
    const { value, suggestions } = this.state

    const inputProps = {
      placeholder: 'Type an address or venue name',
      value,
      onChange: this.onChange,
    }

    return (
      <Autosuggest
        suggestions={suggestions}
        onSuggestionsFetchRequested={this.onSuggestionsFetchRequested}
        onSuggestionsClearRequested={this.onSuggestionsClearRequested}
        getSuggestionValue={getSuggestionValue}
        renderSuggestion={renderSuggestion}
        inputProps={inputProps}
        theme={styles}
        alwaysRenderSuggestions
      />
    )
  }
}

Will produce this html when rendering the suggestion list. Missing the classes.
<input type="text" value="Can" autocomplete="off" role="combobox" aria-autocomplete="list" aria-owns="react-autowhatever-1" aria-expanded="true" aria-haspopup="true" placeholder="Type an address or venue name">

australian restaurant near Çan, Çanakkale, Turkey

australian goods store near Çan, Çanakkale, Turkey

Screenshots:

If I remove theme={styles} then I see the correct classes.

My mistake. You need to make your styles suggestionsContainer instead of suggestions-container

repo: moroshko/react-autosuggest


text:
Update GetReceiptsFilter.cs

fix AppendDate

https://github.com/morpher-ru/Yandex.Checkout.V3/pull/57
https://github.com/morpher-ru/Yandex.Checkout.V3/pull/58

Thanks for this PR. How was AppendDate() broken?

Aha! I've added a test which highlights the problem: a253c2c6e94678fb526f87c41fc9a8314c11e684
This code wasn't tested enough.
You PR should fix it. Thanks!

You PR should fix it.

And indeed it did: before, after.

authors: bzaar zamap


text:
Big refactor

Once the refactor is done, going to do a big merge.

Ok, think I'm ready for the merge. Big refactor is more or less done, making progress on settings now.
Big remaining things are logging out/switching users, more settings, profile editing,
feed discovery, search, and the labeler interface.

repo: morpho-app/Morpho


text:
URL not found

I am getting:
huggingface_hub.utils._errors.HfHubHTTPError: 404 Client Error: Not Found for url: https://huggingface.co/api/models/mosaicml/mpt-7b-chat

Could you provide some more details here? Where was this? What were you trying to do?

Hi @dariocazzani , I think this is a transient HF Hub error, their API occasionally goes down. Could you try it once more? I am seeing success when I visit that URL:
{"_id":"64544621ce1cc3ed5fe64629","id":"mosaicml/mpt-7b-chat","modelId":"mosaicml/mpt-7b-chat","author":"mosaicml","sha":"fa9345560420e2111498f87799ea7dd31cbd647e","lastModified":"2023-05-06T13:46:24.000Z","private":false,"disabled":false,"gated":false,"pipeline_tag":"text-generation","tags":["pytorch","mpt","text-generation","dataset:jeffwan/sharegpt_vicuna","dataset:Hello-SimpleAI/HC3","dataset:tatsu-lab/alpaca","dataset:Anthropic/hh-rlhf","dataset:victor123/evol_instruct_70k","arxiv:2205.14135","arxiv:2108.12409","arxiv:2010.04245","transformers","Composer","MosaicML","llm-foundry","license:cc-by-nc-sa-4.0","has_space"],"downloads":11793,"library_name":"transformers","widgetData":[{"text":"My name is Julien and I like to"},{"text":"My name is Thomas and my main"},{"text":"My name is Mariama, my favorite"},{"text":"My name is Clara and I am"},{"text":"My name is Lewis and I like to"},{"text":"My name is Merve and my favorite"},{"text":"My name is Teven and I am"},{"text":"Once upon a time,"}],"likes":219,"model-index":null,"config":{"architectures":["MPTForCausalLM"],"model_type":"mpt"},"cardData":{"license":"cc-by-nc-sa-4.0","datasets":["jeffwan/sharegpt_vicuna","Hello-SimpleAI/HC3","tatsu-lab/alpaca","Anthropic/hh-rlhf","victor123/evol_instruct_70k"],"tags":["Composer","MosaicML","llm-foundry"],"inference":false},"transformersInfo":{"auto_model":"AutoModelForCausalLM","pipeline_tag":"text-generation"},"spaces":["mosaicml/mpt-7b-chat","h2oai/h2ogpt-chatbot","h2oai/h2ogpt-chatbot2","lukesteuber/textual","AlekseyKorshuk/model-evaluation","wsvn53/mpt-7b-chat"],"siblings":[{"rfilename":".gitattributes"},{"rfilename":"README.md"},{"rfilename":"adapt_tokenizer.py"},{"rfilename":"attention.py"},{"rfilename":"blocks.py"},{"rfilename":"config.json"},{"rfilename":"configuration_mpt.py"},{"rfilename":"generation_config.json"},{"rfilename":"hf_prefixlm_converter.py"},{"rfilename":"meta_init_context.py"},{"rfilename":"modeling_mpt.py"},{"rfilename":"norm.py"},{"rfilename":"param_init_fns.py"},{"rfilename":"pytorch_model-00001-of-00002.bin"},{"rfilename":"pytorch_model-00002-of-00002.bin"},{"rfilename":"pytorch_model.bin.index.json"},{"rfilename":"special_tokens_map.json"},{"rfilename":"tokenizer.json"},{"rfilename":"tokenizer_config.json"}]}

@abhi-mosaic
Thank you, it seems like it was the case :)

authors: abhi-mosaic codestar12 dariocazzani

repo: mosaicml/llm-foundry