Need help: my eval process is running quite slow

As described in docs/execution.md, the entire evaluation process should be ready in a few second with greedy decoding. However, I noticed the process has kept test script running in 13 hrs with deepseek-6.7B-Base.
In my knowledge, it should call model.generate only once to calculate pass@1. But in the script codegen.py will call model.codegen and loop over n_more_samples times. Why do we need to this, is there any reason I missed?
Runtime env:
CPU cores: 4*26
GPU: NVIDIA A10 22G
evalplus: run in the local, I think I have got the latest version with git clone
script:
#!/usr/bin/bash
export PYTHONPATH="xxx/bin/python"
export HUMANEVAL_OVERRIDE_PATH="xxx/evalplus/evalplus/data/HumanEvalPlus.jsonl.gz"
export MBPP_OVERRIDE_PATH="xxx/evalplus/evalplus/data/MbppPlus.jsonl.gz"

python evalplus/evaluate.py --model "xxx/deepseek-coder-6.7b-base" --greedy --root "xxx/evalplus/eval_results" --dataset humaneval --backend hf --parallel 64

and it shows:
humaneval • 54% • •  88/164 • 13:47:34

Thanks in advance for your patience.

But in the script codegen.py will call model.codegen and loop over n_more_samples times.

I did get this. Can you clarify a bit more? e.g., adding some screen shot of the log may help.

looks like the generation is a bit slow. this might because you have a slow GPU, use a base model, and run on HuggingFace backend -- the EOS for the base model is sometimes limited that you are probably generating over the whole max_new_tokens.

My scripts run_codegen.sh is listed above, and here is the entire process:

Can you also paste one or two generated samples?
If they are consistently long, then the reason is likely to be what I just said.

Since the max_model_length of base model is 16K, I think is possibly to be the reason you said. So, can I limit the number of token generated with hf backend to speed up? I think most cases in humaneval is shorter than 16K tokens.

Okay, I checked it a bit. max_new_tokens is surely passed into model.generate. However, I think it should be also received from HuggingFaceDecoder which is inside __init__.py, where self.max_new_tokens is determined.

Hi, ganler, thanks for your detailed comment : ). I have solved the above problem by hardcode max_new_tokens=512 to speedup, however I only get 0.207 base score and 0.171 plus score with deepseek-6.7B-base model and the command above, which is far from the reported 47.6 base score and 39.6 plus score.
I took a look into results.json, which is like:
"HumanEval/16": [{"task_id": "HumanEval/16", "solution": "def count_distinct_characters(string: str) -> int:\n    \"\"\" Given a string, find out how many distinct characters (regardless of case) does it consist of\n    >>> count_distinct_characters('xyzXYZ')\n    3\n    >>> count_distinct_characters('Jerry')\n    4\n    \"\"\"\n    return len(set(string.lower())))", "base_status": "fail", "plus_status": "fail", "base_fail_tests": [], "plus_fail_tests": []}],

Is there any specific reason to print out like compilation error to debug or it is just because of different GPU?

I did not get your question unfortunately.

Sorry, I would like to find out reasons which make the pass@1 lower than leader board reported
so, the question is: How could I get the error log to debug this even with --test-details?

Try striping swallow_io in https://github.com/evalplus/evalplus/blob/master/evalplus/eval/init.py

太牛逼了吧 👍🏻👍🏻👍🏻👍🏻

太牛逼了吧 👍🏻👍🏻👍🏻👍🏻

Feel free to reopen if this issue still exists. I have been running a few new eval based HF and it seems fast.
Also one potential reason is likely you are running it on CPU -- you can fix that by setting --attn-implementation to flash_attention_2 or set the corresponding --device-map.


Change prism.js theme?

I'd like to change the theme of the prism code blocks. I don't think a yaml file is appropriate for this. Can I just import a css file and use it that way?

Closing this I got it.

@twhite96 can I ask how you changed it? I have a theme set, but the theme doesn't render the same between the gatsby develop and gatsby build tasks. I'm wondering if I've got it wrong somewhere. I initially changed it where it was imported in src/templates/PostTemplate.js, and that didn't work, then I found this article which said it should be required in gatsby-browser.js, and that doesn't seem to have worked either (so I removed it).
This is what it looks like locally when I'm running gatsby develop:

But this is what I see when it's been deployed and built with gatsby build:

I'm not sure what I'm doing wrong.


Use feature detection for incompatibility warning, not a whitelist

Describe the bug
'Incompatible' banner is displayed to users running compatible software.
To Reproduce
Steps to reproduce the behavior:

Use a non-Chrome browser based on Chromium v119 or later
Install some Penumbra provider
Visit minifront
See annoying 'Incompatible' banner

Expected behavior
Minifront should not warn the user about incompatible software, when they are using compatible software. Feature detection should be used to identify incompatibility, not a simple whitelist.

Heya, I had this issue myself. I was running Brave Browser on version 1.68.37, and got this big red banner at the top.


Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot
Dear adapter developer,
I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter multicast for common errors and appropiate suggestions to keep this adapter up to date.
Please see the result of the check below.
ioBroker.multicast
   -

ERRORS:

[ ] :heavy_exclamation_mark: [E026] "{'engines': {'node'>='16'}}" is required at package.json, "{'engines':{'node'>='18'}}" is recommened
[ ] :heavy_exclamation_mark: [E033] @iobroker/adapter-core 3.0.3 specified. 3.1.4 is required as minimum, 3.1.6 is recommended. Please update dependencies at package.json
[ ] :heavy_exclamation_mark: [E036] @iobroker/testing 4.1.0 specified. 4.1.3 is required as minimum,  4.1.3 is recommended. Please update devDependencies at package.json
[ ] :heavy_exclamation_mark: [E039] "keywords" within package.json must contain some keywords besides "ioBroker, template, Smart Home, home automation" related to adapter
[ ] :heavy_exclamation_mark: [E145] No "common.news" found for actual version 0.2.0-ALpha.1 in io-package.json
[ ] :heavy_exclamation_mark: [E150] No "common.connectionType" found in io-package.json
[ ] :heavy_exclamation_mark: [E152] No "common.dataSource" found in io-package.json
[ ] :heavy_exclamation_mark: [E160] "admin" is not allowed in common.dependencies
[ ] :heavy_exclamation_mark: [E162] js-controller dependency missing. js-controller 4.0.24 is required as minimum, 5.0.19 is recommended. Please add to dependencies at io-package.json.
[ ] :heavy_exclamation_mark: [E504] setInterval found in "main.js", but no clearInterval detected
[ ] :heavy_exclamation_mark: [E518] "@alcalzone/release-script" (>=3.0.0) is used, but ".releaseconfig.json" not found. Please create.
[ ] :heavy_exclamation_mark: [E603] NO "## Changelog" found in README.md
[ ] :heavy_exclamation_mark: [E866] file tsconfig.json found in repository, but not found in .npmignore

WARNINGS:

[ ] :eyes: [W046] devDependency should not require a specific version. Use "~1.2.3" or "^1.2.3" syntax. Please update "typescript:5.1.6"
[ ] :eyes: [W105] Missing suggested translation into uk of "common.titleLang" in io-package.json.
[ ] :eyes: [W109] Missing suggested translation into uk of "common.desc" in io-package.json.
[ ] :eyes: [W115] "common.tier" is required in io-package.json. Please check https://github.com/ioBroker/ioBroker.docs/blob/master/docs/en/dev/objectsschema.md#adapter.
[ ] :eyes: [W145] Missing suggested translation into uk of some "common.news" in io-package.json.
[ ] :eyes: [W170] "common.keywords" should not contain "iobroker, adapter, smart home" io-package.json
[ ] :eyes: [W181] "common.license" in io-package.json is deprecated. Please define object "common.licenseInformation"
[ ] :eyes: [W184] "common.main" is deprecated and ignored. Please remove from io-package.json. Use "main" at package.json instead.
[ ] :eyes: [W184] "common.materialize" is deprecated for admin >= 5 at io-package.json. Please use property "adminUI".
[ ] :eyes: [W184] "common.title" is deprecated and replaced by "common.titleLang". Please remove from io-package.json.
[ ] :eyes: [W202] Version of package.json (0.2.0-ALpha.1) doesn't match latest version on NPM (0.1.6)
[ ] :eyes: [W513] "gulpfile.js" found in repo! Think about migrating to @iobroker/adapter-dev package
[ ] :eyes: [W522] Please consider migrating to admin 5 UI (jsonConfig).
[ ] :eyes: [W853] .npmignore found - consider using package.json object "files" instead.

Please review issues reported and consider fixing them as soon as appropiate.
Errors reported by repository checker should be fixed as soon as possible. Some of them require a new release to be considered as fixed. Please note that errors reported by checker might be considered as blocking point for future updates at stable repository.
Warnings reported by repository checker should be reviewed. While some warnings can be considered as a suggestion and be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
@mcm1957 for evidence

This issue has been replaced by new isse #448
This issue can be closed.
your
ioBroker Check and Service Bot


Dataset Stats not Matching with Reported Stats in Paper

Hi,
Thanks for releasing the code and datasets of your paper. I downloaded the data and did some basic pre-processing. There seem to be some discrepancies in the stats of the dataset released and those reported in the paper.
Table 2 of the paper 51.4K questions and 8.7K dialogues in the train set. The released data has 63.5K questions and 10.8K dialogues. Are the train and dev set merged in the released dataset? The cumulative stats are also slightly different in the paper and released dataset - 81K questions and 13.7K dialogues reported in the paper and  80K questions and 13.6K dialogues in the released dataset. Is it due to some dataset cleaning after the paper was posted?

Hi -- Yes, the train and dev sets are merged. The (relative) minor difference in cumulative stats is because we rounded those to report in the paper.


Automatically create year month subfolders

I don't know if this is already possible, but if it is I couldn't find out how and please ignore the rest of this issue.
Would be nice to be able to create subfolders based on the file creation date. So if the file is for example created in January 2019, it should be automatically placed in a folder path like
.../2019/01/filename
I don't know if this is supported by Rclone?

Just for clarification: Would you like to see this as a display option? Or as an actual target folder structure when copying data?


4/11 Publish

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

breadcrumb/toc.yml
:white_check_mark:Succeeded

docs-ref-autogen/network/application-gateway/url-path-map.pycliyml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


rpcsrv: fix TestSubClientWaitWithMissedEvent

Close #2958

still have this but maybe connected with https://github.com/nspcc-dev/neo-go/issues/2956:

Don't pullute the PR comments with unrelated logs, otherwise we have a mess in logs and PRs/Issues links. It's a different test that is failing (TestFilteredNotaryRequestSubscriptions), and the reason is completely different from the current test failure. The reason looks more like https://github.com/nspcc-dev/neo-go/issues/3314. Create a separate issue for this test and try to solve it with the approach presented in https://github.com/nspcc-dev/neo-go/pull/3368.


Fix Ag version check

A version check intended to detect Ag versions < 0.25 was matching all minor versions < 25 regardless of major version. So 2.1.0 was matched, for example.

Thanks! ✨

I just checked and even Debian stable ships 1.0.2 already, so I removed the whole check now.

Even better :)


Error on Building sample app (As soon as it's imported into Android Studio)

android-dagger-to-hilt/app/build/tmp/kapt3/stubs/debug/com/example/android/dagger/di/AppSubcomponents.java:7: error: [Hilt]
public final class AppSubcomponents {
^
com.example.android.dagger.di.AppSubcomponents must also be annotated with @InstallIn.
[Hilt] Processing did not complete. See error above for details.
e: /home/ny/AndroidStudioProjects/DaggerHilt/android-dagger-to-hilt/app/build/tmp/kapt3/stubs/debug/com/example/android/dagger/di/StorageModule.java:7: error: [Hilt]
public abstract class StorageModule {
^
com.example.android.dagger.di.StorageModule must also be annotated with @InstallIn.
[Hilt] Processing did not complete. See error above for details.
w: warning: The following options were not recognized by any processor: '[dagger.hilt.android.internal.disableAndroidSuperclassValidation, kapt.kotlin.generated]'
e: /home/ny/AndroidStudioProjects/DaggerHilt/android-dagger-to-hilt/app/build/tmp/kapt3/stubs/debug/com/example/android/dagger/di/AppSubcomponents.java:7: error: [Hilt]
public final class AppSubcomponents {
^
com.example.android.dagger.di.AppSubcomponents must also be annotated with @InstallIn.
[Hilt] Processing did not complete. See error above for details.
e: /home/ny/AndroidStudioProjects/DaggerHilt/android-dagger-to-hilt/app/build/tmp/kapt3/stubs/debug/com/example/android/dagger/di/StorageModule.java:7: error: [Hilt]
public abstract class StorageModule {
^
com.example.android.dagger.di.StorageModule must also be annotated with @InstallIn.
[Hilt] Processing did not complete. See error above for details.
w: warning: The following options were not recognized by any processor: '[dagger.hilt.android.internal.disableAndroidSuperclassValidation, kapt.kotlin.generated]'
The error goes away when I remove all references to hilt in the module's build,gradle.

https://dagger.dev/hilt/compiler-options

https://dagger.dev/hilt/compiler-options
-Adagger.hilt.disableModulesHaveInstallInCheck=true.

where i put it?


Font rendering broken due to overfull PUA

The font rendering for http://doppelbauer.name/core-dump.pdf is broken. The console message Warning: Ran out of space in font private use area. is printed over 4200 times and sanitizer errors appear.

May I ask what you mean by “sanitizer”?
If you mean ASAN, MSAN or the like, then that is a potential security bug in the host application.

May I ask what you mean by “sanitizer”?

OpenType Sanitizer, see https://github.com/khaledhosny/ots/.

then that is a potential security bug in the host application.

Not here, since fonts rejected by OTS (in Firefox or Chrome) are dropped and thus not passed on to the OS.

@Snuffleupagus That’s a borked PDF then.  I suggest closing as Not a Bug.

That’s a borked PDF then.

Based on this particular PDF.js warning message, you simply cannot conclude that the PDF file itself is broken without any further analysis.
In this case, it's much more likely to be caused by limitations in the (current) PDF.js font parsing code.

I suggest closing as Not a Bug.

Considering that other PDF viewers have no trouble rendering this file, that suggestions does not seem like a good course of action in this case! Or in general really, since most PDF viewers (including PDF.js) will try to render even corrupt PDF files (which I don't think we're dealing with here, btw).

Fixed by #9340.


Add owner details to the output of connect.content.find()

for consistency with R connectapi package, the output of connect.content.find() should include an owner column with details of the content item owner(owner$guid, owner$first_name, owner$last_name and owner$username).
This would enable any audit functionality we are building in the cookbooks as we would be able to get both content and owner details in one function(something which can already be done in R).

@gsingh91 - Thanks for the feature request.  Would the following behavior suffice?
for item in connect.content.find():
    owner = item.owner
    print(owner.guid, owner.first_name, owner.last_name, owner.username)

yes, as long as owner is available in the output of the API call, it should be fine. thanks

@tdstein I think it would be better to include owner in the API call at the content level, as is done in connectapi or at least have an argument to include it in content. This way, API call per item wont be needed and it would speed up the process. Otherwise in the current implementation, this process would be really slow for a large Connect instance in a customer environment with possibly hundreds of items.

Ref: https://github.com/posit-dev/connect-cookbook/pull/7#discussion_r1554268858

Ok, made the update to improve performance. See
pip install git+https://github.com/posit-dev/posit-sdk-py.git@3e34626473f575ee3cbcd469c2614e70db3914fb
from posit.connect import Client

c = Client()

for item in c.content.find():
    print(item.owner)

Thanks @tdstein ! I am able to get the information I need for the cookbook now.


(android) date not visible on calendar month mode.

"react-native-big-calendar": "^1.0.4",

on some months last months are not visible
<Calendar
events={events}
mode={'month'}
date={current.toDate()}
height={500}
/>
but in iOS its working fine.

@acro5piano could you please suggest any fix.

Thanks for reporting!
I confirmed the issue on Android, but not find how to fix this now.

i need the week days in vertical mode! is it possible? @acro5piano

@JessyAngel07 What do you mean by "vertical mode"?


Exception decoding for RISC-V chips (ESP32-C3, C6, H2, etc)

Hi @dankeboy36, thanks a lot for effort you put into making this incredibly useful plugin! I would like to check if you have already looked into implementing exception decoding for RISC-V chips, such as ESP32-C3? I found one mention of C3 in the tests but it seems that the code required to convert ESP32-C3 register+stack dumps into backtraces is missing.
Do you have something like that in progress, do you plan on implementing this, or would you like anyone from Espressif to open a PR with this implementation?

For reference: on RISC-V chips, by default we can only dump the registers and the stack, not the backtrace. Unwinding the stack to produce the backtrace on the chip itself is not possible, unless CONFIG_ESP_SYSTEM_USE_EH_FRAME option is enabled. (It is disabled by default, since it significantly increases application binary size.)
To perform stack unwinding, a tool running on the host PC is required. In ESP-IDF, this is done using gdb_panic_server.py which acts as a GDB server. GDB is launched, it connects to the script acting as a server, the script feeds GDB information from the stack dump as if it was coming from the real target, and finally GDB decodes the backtrace (code here).
This is slightly more complex than decoding backtraces on Xtensa chips, but since we already have access to GDB in this plugin, looks like this should be doable.

Thank you for the feature request.

if you have already looked into implementing exception decoding for RISC-V chips, such as ESP32-C3?

No, I have not.

I found one mention of C3  in the tests

Great that you have looked into the code. :pray:

but it seems that the code required to convert ESP32-C3 register+stack dumps into backtraces is missing.

The tests cover the correctness of the gdb path lookup based on the FQBN. The decoding logic needs to be implemented.

Do you have something like that in progress,

No, I do not have anything.

do you plan on implementing this,

Of course, why not? Great idea.

or would you like anyone from Espressif to open a PR with this implementation?

I always appreciate any help you can give me.
I am neither a domain expert nor programming Arduino boards; I enjoy writing tooling and understand the Arduino ecosystem well, so any technical pointer, as you gave above, is welcome.
If you plan to contribute, developing a working prototype is sufficient, and I can help finalize the code. Please let me know if you decide so.
Otherwise, I am also happy to understand how it works and reimplement it, but it will be available later as I have other priorities. Also, I need to order a C3 board and look into the Python code. So please bear with me if you decide to wait.
I would be happy to have this new feature in the repository.

I would be very interested. I just realised I don't have a backtrace as I'm using an ESP32C3. I'm trying to find a way to see where my code causes a random Load access fault.

this is done using gdb_panic_server.py

It's a 404 now. Could you please share a permalink? Thank you!

Here it is @dankeboy36:
https://github.com/espressif/esp-idf-monitor/blob/fae383ecf281655abaa5e65433f671e274316d10/esp_idf_monitor/gdb_panic_server.py
The removal/replacement occurred here:
https://github.com/espressif/esp-idf-monitor/commit/dc672d682799e642aee2554f7733d38d4bbdba75

From https://github.com/dankeboy36/esp-exception-decoder/issues/31#issuecomment-2499792061:

I have a similar problem but this has nothing to do with the copy/paste. The decoder reports "Could not recognize stack trace/backtrace" after pasting the entire dump from the serial stack trace.
Board is ESP32-C3 (XIAO_ESP32C3). I also tried the Ardu Uno Rev 4 (that's also ESP32 based) but that comes back with a "Unsupported board: 'arduino:renesas_uno:unor4wifi'" error. 2 Conclusions: 1) the C3 seems supported (but does not work); 2) the Uno R4 should also be added since that would be the same core.
For pasting the stack I tried a number of things, paste only the stack trace without the registry dump, paste without the top error line, paste without the ELF SHA line and more, none of those worked.
For repro here's the code:
void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
  Serial.println("SETUP");
}

class a
{
public:
  int a = 323;
  int geta() {return a;}
};

void loop() {
  // put your main code here, to run repeatedly:
  Serial.println("LOOP");
  delay(2000);
  a* _a = 0;
  //a* _a = new a();
  Serial.println(_a->geta());
}

stack trace:
Guru Meditation Error: Core  0 panic'ed (Load access fault). Exception was unhandled.

 Exception was unhandled.

Any update on support for these ESP's? I'm having an ESP32-C6 here for which I was trying the decoder but also ending up in Could not recognize stack trace/backtrace


Update README.md

Created new section for Java

@Sahiljawale Can U merge it ? Because in code java file is present but in redme.md java section is not their.
So merge this PR
Thank You !


Prevent completions when in JSX nodes

Hi there :wave:
This contribution adds "JSXText", "JSXAttributeValue", "JSXOpenTag", "JSXCloseTag", "JSXSelfClosingTag" to dontComplete to ensure that we do not show JavaScript completions when in a JSX node.
Minimal Repro - Try Codemirror
Examples
export function MyComponent () {
  return
func|
/*              ^ cursor
 * I'm inside of a JSXText node, but it would
 * show `function` as a completion, which is
 * not very useful inside of a `JSXText`
 */

export function MyComponent () {
  return <p className="func|
/*                         ^ cursor
 * I'm inside of a JSXAttributeValue node,
 * but it would show `function` as a
 * completion, which is not very useful
 * inside of a `JSXAttributeValue`
 */

Screenshots - Before

Screenshots - After
https://github.com/user-attachments/assets/a2369900-2ce1-461a-b8db-4c240faa7985

Thanks, that looks like a good idea.


[iOS] zeroconf.close never invokes success/error callback

The behaviour of zeroconf.close() is inconsistent between Android and iOS. While Android sends a plugin result, iOS does not. As the Android version uses a background thread, it is necessary to rely on the callback to make sure the action has finished.
A simple solution would be to send a success plugin result in iOS as well.

ok I'll have a look sometime. thank you

@becvert I can PR today!

#53 is fixing the close method actually.
I think the same could be apply to stop indeed
@emcniece  go ahead with merging this into 1.3.0. thanks 👍


plantuml guide + fix for text overlap in kubernetes azure diagram

Hi Diego,
Thanks for the impressive work on kubernetes diagrams!
2 topics I'd like to discuss with you

plantuml guide
I am working with @Arnaud Roques (creator/owner of plantuml) on a guide for stdlib to be released next week.
I'd like to include one of your diagrams as it showcases the power of plantuml. i..e this page
https://crashedmind.github.io/PlantUMLHitchhikersGuide/kubernetes/kubernetes.html

the current diagram
https://github.com/dcasati/kubernetes-PlantUML/blob/master/samples/microservices-azure-aks.puml has a text overlap when using the plantuml server.

This can be fixed by adding  "skinparam linetype polyline"
thanks,
Chris

hey @Crashedmind -
All good with both topics. I'll include the skinparam linetype polyline (thanks!). The plantuml server doesn't seem to be able to render the https://github.com/dcasati/kubernetes-PlantUML/blob/master/samples/microservices-azure-aks.puml file anymore for some reason.


Compatibility with Node 12

v12.22.1
❯ npx expoize
npx: installed 51 in 6.944s
Cannot find module 'fs/promises'


bump required rust version

We started using the map_first_last feature a few commits ago.

I don't understand why all the clippy warnings weren't caught in the previous PR but ok... :confused:


启用rollupType时出错TypeScript version不兼容的问题

Describe the bug
TypeScript Version: 5.2.2
当启用rollupType:true时，生成d.ts时出错：
[vite:dts] Start rollup declaration files...
Analysis will use the bundled TypeScript version 5.0.4
*** The target project appears to use TypeScript 5.2.2 which is newer than the bundled compiler engine; consider upgrading API Extractor.

Reproduction
https://github.com/
Steps to reproduce
No response
System Info
System:
    OS: Windows 10 10.0.19044
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
    Memory: 5.69 GB / 15.84 GB
  Binaries:
    Node: 20.4.0 - D:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - D:\node_stores\npm\packages\yarn.CMD
    npm: 9.7.2 - D:\Program Files\nodejs\npm.CMD
    pnpm: 8.6.12 - D:\node_stores\npm\packages\pnpm.CMD
  Browsers:
    Chrome: 112.0.5615.138
    Edge: Spartan (44.19041.1266.0), Chromium (105.0.1343.42)
    Internet Explorer: 11.0.19041.1566

Validations

[X] Read the FAQ.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

这并不是错误，仅是 API Extractor 输出的一个提示语句，无报错时可忽略。


⚠ Realtime Client API Service has degraded performance

In eb0b852, Realtime Client API Service (https://api.ooica.net/feed/status) experienced degraded performance:

HTTP code: 200
Response time: 9224 ms

Resolved: Realtime Client API Service performance has improved in 58f9151 after 6 minutes.


[zh-cn] resync kubelet-in-userns.md

Resync this page by following the en revision of #34742, and fix some minor errors.
Preview: https://deploy-preview-35167--kubernetes-io-main-staging.netlify.app/zh-cn/docs/tasks/administer-cluster/kubelet-in-userns/

/lgtm
/approve


how to install srs-cloud on google cloud?

Hi,
I'm family with GG cloud, so I want to install the srs-cloud on GG cloud instead Digital Ocean! I tried to GG search for the guideline but haven't got anything...
Appreciate someone would shares the way to setup on GG cloud...

We're developing the CLI for installing srs-cloud on any linux, so please wait for about a month, we will release that.

You could install SRS on google cloud with aaPanel, please follow this tutorial.


Is the webpack peerDependency necessary?

Currently this package has webpack listed in its peerDependencies, and I'm wondering if that's necessary or if it's possible to find an alternate way of codifying the dependency on webpack.
The reason I ask is that I'm trying to write a webpack loader that "wraps" several other loaders, including this one. However, the peer dependency on webpack would require my loader to also include webpack as a dependency, even though any consuming project will already have it higher in its dependency tree.
Presumably the peer dep is there to show which version of webpack a given release is compatible with, which makes sense. And I'm also guessing my problem may be less of an issue when npm3 is out. In the meantime, is there any workaround (besides of removing the peer dep) for my case above?

you should include webpack as peerDependency in your thing.

That works! Thanks, didn't know peerDependencies looked across multiple levels like that.


Add @LoginConfig annotation to replace web.xml/login-config

Based on discussions around wanting to limit dependencies on servlet metadata descriptors, we decided a LoginConfig annotation that includes equivalent information would be the way to address this.

@starksm64 so where is this supposed to go? the JAX-RS resource?

This goes on the JAX-RS Application:
import org.eclipse.microprofile.jwt.LoginConfig;
import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;

@LoginConfig(authMethod = "MP-JWT", realmName = "TCK-MP-JWT")
@ApplicationPath("/")
public class TCKApplication extends Application {
}

The ultimate location is the org.eclipse.microprofile.auth package:
import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;

import org.eclipse.microprofile.auth.LoginConfig;

/**
 * A JAX-RS application marked as requiring MP-JWT authentication
 */
@LoginConfig(authMethod = "MP-JWT", realmName = "TCK-MP-JWT")
@ApplicationPath("/")
public class TCKApplication extends Application {
}


clusterctl move retry

Issue #, if available:
Description of changes:
Changes to enable retry of clusterctl move on networking-related failures.

Wrap clusterctl move in exponential backoff retrier with 30m timeout.
Unit test of retry on network-related failure.
Factor pseudo-consts declared in kubectl.go to constants.go when retries were implemented there, for use in other places (like clusterctl.go)

Near identical approach to retries of kubectl wait, recently added.
Testing (if applicable):
Unit test of retry functionality added.
Expected retry behavior also confirmed via debugger.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherrypick release-0.11

/lgtm

/approved

/approve

/approve


Added Sound Position and Surround

I added the sound position.
I could only test this on Windows using Sony WH-XB900N (btw it works perfectly fine on it! good job!), but the command seems to be the same for every headset in the app so I guess that this should work fine.

I also added the Surround while we're at it since it's the same command.
I added these two options in a new collapsing header called "Virtual Sound" (don't know how to call this).

Awesome! I'm planning to merge the Qt branch soon (next week or a bit later probably), so could you adapt it to it after it's merged?

Sure!

Awesome repo, can we have an update about this? Thanks!

Thank you.

@Arcant1 merged :)

Is the Sound Position/VPT a windows only feature? On the macOS version (v.13 from the release page) there is no new options available other than ambient sound related ones.

@EduardCM
It is currently an open pull request #73, but already working.
Compiled binary (might require login): https://github.com/Plutoberth/SonyHeadphonesClient/suites/6833272259/artifacts/263310936

Oh, I can confirm this one works, thanks!
The one from here https://github.com/Plutoberth/SonyHeadphonesClient/releases/download/v1.3/SonyHeadphonesClient-macOS.zip.zip must be an old binary. The one you linked is 109kb, the one I linked is 99kb.

@EduardCM
It is currently an open pull request #73, but already working.
Compiled binary (might require login): https://github.com/Plutoberth/SonyHeadphonesClient/suites/6833272259/artifacts/263310936

Oh, I can confirm this one works, thanks!
The one from here https://github.com/Plutoberth/SonyHeadphonesClient/releases/download/v1.3/SonyHeadphonesClient-macOS.zip.zip must be an old binary. The one you linked is 109kb, the one I linked is 99kb.

Awesome. I kinda forgot about the PR - I'll take a look and merge now.


Add ability to use type safe queries in SwiftUI

This PR adds functionality to @ObservedResults that allows you to filter your collection with the Swift Query syntax.

It would be nice to have at least one UI test, and may be helpful to update our example project with this new syntax.

Any chance on merging this? This would be a really useful feature, it's a shame this has been sitting here for months.

@LilaQ I'll try get to it this week

@leemaguire Thanks a bunch, looking forward to it!


Positioning is broken when [variableWidth = true], [infinite = false] and [centerMode=false]

Sandbox example
Seems that when the following settings are set, the initial positioning isn't correct (still centered), while the positioning when cycling through slides is entirely broken:
centerMode: false,
infinite: false,
variableWidth: true,

Expected Behaviour
On initialization, I would expect the first slide to be positioned to the left of the container. On changing of slides, the active slide should align itself to the left as well.

It is not present in version ^0.15.4, so untill the issue is resolved, you may use that version as a temporary alternative.
The calculation of initial left positiion has been changed quite a bit since 0.15.4 (diff compared to 0.19).
Also there's already a PR

Thanks @oleg-ch I'll look into that version, thanks for following up.

8b8b42c67704e855f1f907e9e256f9f8d0e75e8b

@laveesingh See https://github.com/akiran/react-slick/commit/8b8b42c67704e855f1f907e9e256f9f8d0e75e8b#r27930485 as there appears to be some unintended side effects from your commit.

I think that is intended effect. Following jquery slick demo reflects similar behavior: https://codesandbox.io/s/61wyv4xlr

Sure looks like it, thanks for clarifying that up!


Fix Kyma Environments Cleanup Job lifetime

Description
Changes proposed in this pull request:

limit job activity to 30 min before it's terminated and reported as failed.

Related issue(s)

/retest


[Live] add test helper

Q
A

Bug fix?
no

New feature?
yes

Tickets
Continuation of #821

License
MIT

use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Symfony\UX\LiveComponent\Test\InteractsWithLiveComponents;

class MyComponentTest extends KernelTestCase
{
    use InteractsWithLiveComponents;

    public function testThisComponent(): void
    {
        $testComponent = $this->createLiveComponent('my_component');
        $testComponent = $this->createLiveComponent(Component::class); // or use the FQCN

        (string) $testComponent->render(); // string - initial state html
        $testComponent->component(); // object - component instance at initial state

        $testComponent
            ->call('increase') // call a live action
            ->call('increase', ['amount' => 2]) // call a live action with arguments
            ->set('count', 5) // set a live prop
            ->emit('inceaseEvent') // emit a live event
            ->emit('inceaseEvent', ['amount' => 2]) // emit a live event with arguments
            ->refresh() // simply refresh the component
        ;

        (string) $testComponent->render(); // string - updated state html
        $testComponent->component(); // object - component instance at updated state

        /** @var Symfony\Component\HttpFoundation\Response $response */
        $response = $testComponent->call('actionThatRedirects')->response();
    }
}

TODO:

[x] handle action responses
[x] ->refresh() method?
[x] Docs
[x] Changelog

Again, with the system I describe in https://github.com/symfony/ux/issues/818#issuecomment-1527750014, we could make a really nice chainable test experience:
$this->createLiveComponent('my_component')
    ->html()
        ->assertSeeIn('div.count', 1)
        ->back()
    ->call('increase')
    ->html()
        ->assertSeeIn('div.count', 2)
        ->back()
    ->call('increase', ['amount' => 3])
    ->html()
        ->assertSeeIn('div.count', 5)
;

Hey @kbond, I am using this PR a lot to test my component and it's working great! Do you need a hand in order to finish it?

I am using this PR a lot to test my component and it's working great! Do you need a hand in order to finish it?

I was really just waiting for this feedback! Think it's current state is enough to start?

Think it's current state is enough to start?

I guess, I mean I didn't have a complex need yet but for my current need, it's working perfectly fine.

Ok, I'll add refresh()/response() methods + docs and I think we should be good to go here.

Ok, I believe this to be ready!

Thank you Kevin!


caching problems with FLASH data - a small reproducer

I have produced a small FLASH file which can be used to investigate this bug. Take the attached file, chk_0000.flash, and also copy it to the name chk_0001.flash. Using smart grouping, open the database of these two files. Choose a pseudocolor of the first variable, "dens", and also choose a single slice operator. Press the draw button. Then move the time slider to the right. You probably will find that the right half of the plot has disappeared. Move the time slider back to step 0.  This was with a downloaded x86_64 executable of version 2.2.0. I believe it has been doing this for a while, though. As Tomasz Plewa pointed out of the visitusers list, these problems can be avoided by hitting the "Clear Cache" button before moving the time slider. (On the visitdevelopers list, Brad (https://email.ornl.gov/pipermail/visitdevelopers/2011January/008783.html) asked if this may be a symptom of reuse of a cached domain nesting object.) P.S. - Out of a foolish consistency, I would suggest editting signalhandler_core in src/common/misc/DebugStreamFull.C to say "SIGABRT" instead of "SIGBRT"... P.P.S. During these tests, I noticed that there is no  section in FLASH.xml, so that there is no way to autorecognize FLASH files by extension. This might be intended, since the FLASH program does not, by default append an extension...
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 575
Status: Resolved
Project: VisIt
Tracker: Bug
Priority: Normal
Subject: caching problems with FLASH data - a small reproducer
Assigned to: Brad Whitlock
Category: -
Target version: 2.2.1
Author: Andrew Szymkowiak
Start: 01/31/2011
Due date:
% Done: 100%
Estimated time:
Created: 01/31/2011 02:54 pm
Updated: 02/24/2011 03:03 am
Likelihood: 3 - Occasional
Severity: 2 - Minor Irritation
Found in version: 2.1.0
Impact:
Expected Use:
OS: All
Support Group: Any
Description:
I have produced a small FLASH file which can be used to investigate this bug. Take the attached file, chk_0000.flash, and also copy it to the name chk_0001.flash. Using smart grouping, open the database of these two files. Choose a pseudocolor of the first variable, "dens", and also choose a single slice operator. Press the draw button. Then move the time slider to the right. You probably will find that the right half of the plot has disappeared. Move the time slider back to step 0.  This was with a downloaded x86_64 executable of version 2.2.0. I believe it has been doing this for a while, though. As Tomasz Plewa pointed out of the visitusers list, these problems can be avoided by hitting the "Clear Cache" button before moving the time slider. (On the visitdevelopers list, Brad (https://email.ornl.gov/pipermail/visitdevelopers/2011January/008783.html) asked if this may be a symptom of reuse of a cached domain nesting object.) P.S. - Out of a foolish consistency, I would suggest editting signalhandler_core in src/common/misc/DebugStreamFull.C to say "SIGABRT" instead of "SIGBRT"... P.P.S. During these tests, I noticed that there is no  section in FLASH.xml, so that there is no way to autorecognize FLASH files by extension. This might be intended, since the FLASH program does not, by default append an extension...
Comments:
(Initial bug description is out of sequence right half does not disappear until one moves back from TS1 to TS0). I note that if you ask for "File Information" it says "MetaData IS repopulated on state changes", so Brad's musing may not be exactly on. So, despite my best intentions of leaving this to experts, I've now managed to download the sources, and am able to perform builds with debugging symbols. I still can't quite puzzle out all the mysteries of when various destructors are invoked, exactly what happens during clearing of previous timesteps, and why the "Clear Cache" button is fixing things (the default ClearCache method is null, and the avtFLASHFileFormat.C doesn't seem to override it). But I do have one theory/piece of evidence to offer. In the debug log, I see that the generic database mentions that it is "freeing up resources". My theory, based upon some vague impressions while GDB'ing, is that somewhere it is deleting objects, but not invalidating the pointers, and that later it is trying to reuse those pointers. I have tested with a version where I commented out the call to "FreeUpResources" in avtGenericDatabase::UpdateInternalState, and the failure does not occur. When FreeUpResources is in, the ABRT seems to being called from malloc, called from vtkGarbageCollector, which is being triggered by a call to avtGenericDatabase::GetMesh when it is rereading the files since the timestep changed.Since I would probably have started the FLASH plugin by copying the flow in some existing file reader, I was wondering if any fix for FLASH files should also be considered for any related readers which may also be having sporadic ABRTs. Okay; I (think I) know what is wrong not sure what fix should be. Turns out that FLASH reader's GetAuxiliaryData routine returns NULL if asked for DATA_EXTENTS. The GetAuxiliaryData routine in avtGenericDatabase doesn't catch this condition, and something bad subsequently happens (maybe the VoidRefList goes back without having been filled in, so without a valid destructor function). The problem code is skipped if the "ignoreExtents" variable is set to true. I don't know if the correct fix is to make the FLASH reader be able to return DATA_EXTENTS, or to set "ignoreExtents" true. I didn't spend a lot of time trying but didn't manage to figure out how to make "ignoreExtents" default to true (since I wasn't sure this was the right answer, anyway).I would suggest that the following actions be taken:(1) Decide if the FLASH reader GetAux routine should return DATA_EXTENTS, and if so, implement it, or, have the database set ignoreExtents to true for the FLASH reader.(2) Consider adding an "else" clause to the "if (d != NULL)" logic at the end of avtGenericDatabase.C, to note the "no such data" condition, and raise an exception, or at least issue a debug message, so future generations can avoid these problems.(3) Near the beginning of avtVariableCache::ClearTimestep there is a block that begins like this:if (GetVTKObjectKey(0, 0, &objts, it>second.domain, 0, it>second.obj) && objts ts)My fear here might be based on outofdate info, but I thought one should not rely on lefttowrite evaluation of compound logic expressions I think this should be replaced with:if (GetVTKObjectKey(0, 0, &objts, it>second.domain, 0, it>second.obj)) if (objts ts)since the function call is changing objts. (the Redmine input box appears to have partially borked my typing in the last two fragments, the comparison operators disappeared; they both should say "objts 'equalsequals' ts";also, I had the second "if" statement in the correction indented, which also vanished mysteriously) (Sorry for the noise level in my updates). I must apologize for the above - turns out that my finger pointing at null for DATA_EXTENTS query was (probably) a red herring. I went back to look at it, and find, that while setting ignoreExtents to true does make it stop blanking out half the plot, there is still some memory corruption going on, which just manifests later during the run. More recently I have been curious if blockOrigin = 1 is being consistently handled in the FLASH reader everywhere, but haven't yet constructed a scheme that can explain the corruption... In avtFLASHFileFormat::ReadAllMetaData(), I suggest you zero out the patchesPerLevel vector, just after the "patchesPerLevel.resize(numLevels);" statement. I have seen it generate a visitIdx that pointed beyond the end of the visitIdToFLASHId array, I think because of ols values left in the patchesPerLevel vector. (I made a version with this fix, and it seems to have gotten rid of the memory corruption symptoms, though I'm not done exploring how).I also suggest that avtFLASHFileFormat::ReadIntegerScalars needs an "delete [] is;" at the end...(this has nothing to do with the corruption problems, is just something I noticed is leaking...) I applied Andrew's fixes to the FLASH reader.Initializing the values in patchesPerLevel guarantees we get sums that start from zero. I think before, vector::reserve was not initializing the values to zero so our sums contained bad values. The patchesPerLevel vector is used to inform the metadata, which is in turn used to create the SIL. It would seem that we were generating an invalid SIL, which would not match the domain nesting structure returned by the reader. That's probably where the crashes came into play.Good work Andrew!

0586_chk_0000.flash.zip


Require password complexity

Require password complexity: atleast 8 characters, one uppercase letter, one lowercase letter, and a digit.

@maartenba @blowdart @yishaigalatzer @qianjun22

Correct me if I'm wrong, but this only enforces that the password is secure on registration, right? This doesn't prevent users from resetting their password to something that's not allowed on the accounts page or by following the forgot my password flow, right?

The atleast should be updated, other than that LGTM

I'd be interested to hear answer to @scottbommarito's question above about password reset flow, other than that LGTM.

Good catch :)

In reply to: 240892895 [](ancestors = 240892895)

Added hints:

@harikmenon?

We should change the text to the below. Otherwise looks good.
Your password must be at least 8 characters, should include at least one uppercase letter, one lowercase letter and a digit

I think you're still missing the ResetPassword flow...
https://github.com/NuGet/NuGetGallery/blob/master/src/NuGetGallery/ViewModels/PasswordResetViewModel.cs#L14

Thanks!

In reply to: 241141008 [](ancestors = 241141008)

LGTM!

@yishaigalatzer @harikmenon , can I merge?

This is going to break existing users of the gallery, I would make this configurable. Thoughts?
I don't want this to sneak into a deployment, lets hold off until we can review this change with the directors next week

This change won't break users. Simply, the next time they create a password, the requirements will be more severe.

We are considering making password complexity configurable. This will allow users deploying gallery on their own servers to control the password complexity they require from their users.
There are 2 options:

Have a turn on/turn off flag to enforce complexity using regex as suggested in this PR (when turned off only password length will be required).
Have the regex used configurable.

Do you think this feature is important for our users? Should we enforce password complexity by default to make our customers more secure, even if they have their own deployments?
Which of the options above do you prefer?
@yishaigalatzer @robertmuehsig @maartenba @xavierdecoster @dtivel @qianjun22

An on/off flag would be useful for toggling the feature.  I think a configurable regex can be implemented later based on feedback.

The cost of implementing configuration is negligible, compared to a switch. Lets not push it out, either do it or not.

+1 on configurable regex with default value enforcing the rules outlined in this issue

a new version: password regex was made configurable. Please review again

Looks good.

:shipit:  When nit comments addressed


Fix L2 != CCE block width hash function

Thanks for contributing to BlackParrot! Check out the CONTRIBUTING guide, if this is your first
time. A few details to check:
Summary
This PR fixes a bug in the mapping of cache lines to L2 caches.
Area
DRAM hash functions in bp_me_cce_to_cache and bp_me_nonsynth_dram
Reasoning (outdated, confusing, verbose, etc.)
The DRAM hash function is intended to spread traffic to all L2 caches. This means alternating cache lines between L2 cache. However, we were using CCE block width for determining the offset of the hash. For a normal configuration of CCE block == L2 block, there is no problem. However for a configuration with a larger L2, this has aliasing issues.
Analysis
Bugfix, no PPA or performance implementation for default configs.
Verification
I tried a few non-default configs with small L1 and large L2 block sizes. Several beebs tests failed which pass with this fix. Manual inspection showed aliasing between L2 cache lines.
Additional Context
The acache parameterization changes here expose the bug. Before, having an acache with 512b block size actually implied that CCE block width is always 512, same as L2. Now, we only use acache in the CCE block width computation if there is an acache enabled.

Fixed names!


problem don't understand how to add seeds by mod

hello, i don't understand how to add a seed in game i made all he says on wiki nothing on game can you help me ?

i want to add uraninite seed, uraninite become to mod powah

You can learn how to use this mod by reading the documentation here:
https://mods.blakebr0.com/docs/mysticalcustomization


Ubuntu 24.04 Compatibility

Checklist

[X] I'm reporting a problem with Chatterino
[X] I've verified that I'm running the most recent nightly build or stable release
[X] I've looked for my problem on the wiki
[X] I've searched the issues and pull requests for similar looking reports

Describe your issue

The .deb version does not install: even activating Universe, the dependencies are not installed;
The Flathub version installs, it is possible to add the Twitch account but no splits are saved: when restarting, the only information saved is the Twitch account.

Any ideas about compatibility with Ubuntu 24.04?
Installed version: 2.5.1 (stable)
Screenshots
No response
OS and Chatterino Version
Chatterino 2.5.1 (commit eafcb941f modified) built with Qt 6.6.3 Running on KDE Flatpak runtime, kernel: 6.8.0-38-generic, running from Flatpak

For the .deb, is your problem the dependency libicu70 or so, because if so, I think we might be able to just change it to libicu74 for Ubuntu 24.04

There are multiple dependencies:

Those dependencies seem to be available in that version (just checked with apt search)
In my screenshot I checked with apt install ./Chatterino.deb instead of dpkg because apt I think resolves the dependencies and tries to install them if available.

"change it to libicu74 for Ubuntu 24.04 and add a build step for Ubuntu 24.04 in Docker."
To be honest, I have no idea how to do this.

That was not meant for you to do that was just a thought on how we might be able to fix it, I just wanted to make sure that you have the same problem that I reproduced.

Oh I understood. Well, thank you for your attention


Fix definition of the mean in gx2_params_norm_quad

Replace weight vector w by k, according to #1

Fixes #1


Managing Environments

Need to determine how we want python libraries to be managed and downloaded when people are either adding datasets or using existing scripts of the repo.
To complete this task there must be an environment which can be used to create a conda environment file.

See here for general info on conda env files, and see here for how to write the file


When an ArgError occurs, the actual must be a string for it to display as the message.

if (shouldThrow && false === res) throw new ArgError("Invalid arg: " + arg)
When arg is not a string it does not display.  Here we must call arg.toString if it has one.  I'm thinking have a function to preformat the unknown arg before it is concatenated.
i.e.
function toString (arg) {
  if (typeof arg.toString === "function") return arg.toString();
  else return require("util").inspect(arg);
}

so now we can have...
if (shouldThrow && false === res) throw new ArgError("Invalid arg: " + toString(arg))

That would be stepping outside of the projects business zone.  Checking if user code is a certain type is babying the use too much and unexpected things could happen to people who help too much.  Bad thinsajklsd;lkfajsdlja


Fix: Add mimeType to the File instance uploadFile()

Not having the File.type property present breaks fileUpload functionality for implementations that rely on the file mime type being set by the browser.
Was broken in release 2.1.0 by commit https://github.com/puppeteer/puppeteer/commit/6091a34a360b0b8aec4d67f6190f131d7e8e3300

Hi, this patch is what I was about to write by myself to solve an issue on my project.
It looks got paused over a month.
Who's responsible to proceed it?
And/or is there anything I can do for that?

@mathiasbynens Could you help the people out?

@paullewis, could you PTAL in light of #5654?

This is fixed as of 532ae573d29063ffd081ed9ee340d71b25320dec

Are you sure this is fixed?
I'm having an issue where when calling uploadFile seems to add files to the upload with no mime type.

Hi Simon, which version is this? The fix isn't in a release version yet, so to check you'd need to npm install https://github.com/puppeteer/puppeteer to get what's on master.

That's probably why, I assumed the fix was in yesterdays 3.0.0 release 🙂
It's always confusing when an issue is marked as closed but the fix isn't technically released yet 😛


Floating point support

is it possible to add support for real numbers to the library?

Merged in  dbdc144.


Passing explicit path to middleware instance

Currently middleware itself is responsible for determining path that is currently being accessed (let path = req.baseUrl.concat(req.route.path);). It would be helpful to be able to attach middleware to specific endpoints with predefined swagger path already filled during instantiation.
This is useful for Google Cloud Functions: while they seem to use Express under the hood and in general support swagger-style middleware, you can't attach middleware on app or router level and you don't have access to routing params, making usage of express-ajv-swagger-validation impossible.
Basically API could look like this:
app.post("/echo", validator.validate("post", "/echo"), (req, res, next) => {
  res.json({ output: req.body.input });
});

@idanto I could work on this if you think that it makes sense.

@kibertoad sure, I would love to add this feature to the package.
if you do that, please also think about an option to enable validation only for specific routes in the current way we configure it.

@idanto But current way is middleware per-route already; why can't user simply comment out or delete middleware for that particular route?

right, haven't thought about it like that. It was more like reading specific routes from the swagger file and not all of them but it's less critical.
feel free to go ahead with just your use case.


Using Log Analytics workspace in different subscription?

I have AKS Cluster is provisioned in one subscription. I am wondering is it possible to use Log Analytics in another subscription for Azure Monitor for containers. Currently I am not able to do this via the portal and I am wondering is this portal or real service limitation.
Both Log Analytics workspaces and AKS Cluster are located in same region. (North Europe)

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b8ad8413-d018-cf3f-a373-f9f287d2486a
Version Independent ID: 3f0ebc1d-7986-778d-e41b-61b1f3552923
Content: How to enable Azure Monitor for containers
Content Source: articles/azure-monitor/insights/container-insights-onboard.md
Service: azure-monitor
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@VOVELEE  Thanks for your comment. We are looking into it and we will update you soon.

@VOVELEE Are you using Azure Monitor container insights or Log Analytics solution?
Just an FYI:
Log Analytics workspace can be used to in different subscriptions within the same tenant.
Azure Monitor can be used to monitor containers within the same subscriptions
HTH

@VOVELEE Any update on this?

Thanks for the answer. I was able to configure AKS to send logs to LAws in different subscription in same tenant using AzCLI. However this was not possible using the portal.
You can close the issue :)


Fix wrong clippy warning

The new lint clippy::only_used_in_recursion is buggy when used in traits.
https://github.com/rust-lang/rust-clippy/issues/8560

bors merge


Updated example code indenting.

Also  removed unneeded <?php opening tag.

so there is a way to drop that damned opening tag.... finally.


Argument passthrough -- stops working in PowerShell since 2.40.0

Describe the bug
There is a regression in Azure Quantum CLI extension introduced by Azure CLI latest release (2.40.0).
The command below, which used to work with 2.39.0, is now complaining about "ERROR: unrecognized arguments: --submit-config-file".
> az quantum job submit --target-id echo-qci -- --submit-config-file .\SubmissionConfigFile.json
cli.knack.cli: Command arguments: ['quantum', 'job', 'submit', '--target-id', 'echo-qci', '--submit-config-file', '.\\SubmissionConfigFile.json', '--debug']

Our CLI extension passes through those arguments, which follow --, to invoke our executable underneath the CLI. With this regression, this argument pass through mechanism is not working any more.
az storage copy also supports -- notation (https://github.com/Azure/azure-cli/pull/20702) and it stops working:
> az storage copy -s source_file -d destination_container_url -- --block-size-mb=0.25 --check-length --debug
cli.knack.cli: Command arguments: ['storage', 'copy', '-s', 'source_file', '-d', 'destination_container_url', '--block-size-mb=0.25', '--check-length', '--debug']

Tested with a simple test.ps1:
echo $args

Apparently, -- is discarded by PowerShell:
> ./test.ps1 a -- b
a
b

Removing CXP attention label since this was created internally by the CLI team

@yonzhan / @jiasli Has this issue been fixed yet?

This issue should be fixed already, please verify.


Install warning<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>

Describe the bug
Adding the library to the project logs warning of incorrect peer-dependency -<EMAIL_ADDRESS>To Reproduce
Steps to reproduce the behavior:

yarn add @brainhubeu/react-carousel@^2
After the install is done, the warning could be seen on the console.

Expected behavior
Shouldn't show the warning.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment - linux-based os with node@^12

This breaks installation on newest versions of npm with the error.
The fix would be to update the peer dependencies to allow the newest version of react

npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@brainhubeu/react-carousel
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.`

Hi, same issue here:
$ npm i @brainhubeu/react-carousel
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@brainhubeu/react-carousel
npm ERR!   @brainhubeu/react-carousel@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
...

Too bad, it looked great

The same

It works on yarn, not in "npm i @brainhubeu/react-carousel". Try to install yarn and after that yarn add @brainhubeu/react-carousel.

I'm also getting the same error. My current react version is 18.1.0

I solve like this -> npm i @brainhubeu/react-carousel -legacy-peer-deps

Resuelvo así -> npm i @brainhubeu/react-carousel -legacy-peer-deps

Muchas GRACIAS !!!! PROBLEMA SOLICUIONADO

I solve like this -> npm i @brainhubeu/react-carousel -legacy-peer-deps

THANK YOU VERY MUCH!!!!!!!!


[FEAT] @daffodil/design API Docs Page

:bulb: Feature request
Feature Name
Design API Docs Page
The Desired Behavior

[x]  @daffodil/design should have its own API docs page that's navigated through tabs on each component page (depends on #3123)
[ ] Design examples API should not be rendered (i.e. @daffodil/design/callout/examples)
[ ] Every token/method should have a description and usage examples (depends on #2767)
[ ] How should the token/method page look? Each token/method might have a lot of docs/usage examples.

Your Use Case

Prior Work

Environment

Daffodil version: X.Y.Z
Angular version: X.Y.Z

For Tooling issues:
- Node version: XX
- Platform:

Others:

I think the URL should be /docs/design/... For all design related stuff

@griest024 tabs component has been merged so api tabs can be implemented now.

@xelaint okay I'll start on the implementation


Need to press "Done" button

On the end of user login process, the popup window does not close automatically until user press "Done" button (on iOS).
On console logs in auth frame I see this error:
http://localhost/callback#access_token=[...]&token_type=Bearer&expires_in=3600 Failed to load resource: Could not connect to the server.

After user press "Done" everything works as expected.
I am using ionic 2.1.0-beta.2
cordova-plugin-whitelist: 1.3.0
Also I am using cordova-plugin-wkwebview-engine.
ng2-cordova-oauth 0.0.6

The wkwebview plugin does not work with this library because you cannot listen to web events in the same fashion as the standard InAppBrowser.  The browser doesn't dismiss because it can't listen for the event.

Ohh, I think this could also solve my ticket? #30

@davorpeic The problem is to figure out where this should be fixed. I've created issue in cordova's wkwebview-engine  repository with request to add support of "web events" that @nraboy said is missing ( https://github.com/driftyco/cordova-plugin-wkwebview-engine/issues/58 ) Let's see

The bug was reported and a PR was submitted to InAppBrowser:
https://github.com/apache/cordova-plugin-inappbrowser/pull/187


Deprecated XMLHttpRequest

Hi, @ChaseFlorell I am facing this issue, is it fixed? or any ways to work around this?

I don't think there's a good way to deal with this without re-doing the entire API.


docs(repo_faq): create chart_repository_faq.md

Add FAQ for unsupported protocol scheme "" error
I couldn't find this anywhere in the Helm GitHub repo. I eventually found that someone had asked the same question in the helm-users chat room in the kubernetes.slack.com Slack org.

CLA signed

Anything that resembles a FAQ immediately is a +1 in my books. I'm all for this. 👍


xrefs serving: skip reading pages once at page_size [phab:D1278]

Created by schroederc at 2017-01-25 19:41:56:

zarko accepted this revision at 2017-01-25 20:01:21

schroederc closed via commit 2ea90450db75b9f6db0f50fe6adaf771228f4864 at 2017-01-25 20:02:01


[Tracking-issue] Indexer 2024 edition

Motivation
The current indexer architecture relies too much on temporary files written on disk. It is criticized for using too much disk space and not optimally using the machine's available CPU pool.
The goal of this refactor is to reduce the writing to temporary files as much as possible and make more efficient use of the available CPUs.
related resources:

primarily inspired by the ideas from this blog post.
https://github.com/meilisearch/meilisearch/issues/4793

TODO
Step 1 (P1): Recreate a feature-full indexer
Document addition

https://github.com/meilisearch/meilisearch/issues/4985
[ ] #5078
https://github.com/meilisearch/meilisearch/issues/4368

Settings update

https://github.com/meilisearch/meilisearch/issues/4987

Step 1 validation

[x] All the tests are green
[x] All Benchmarks are green
[x] The new indexer has been tested on cloud machines
[x] The memory usage is maintained under a defined threshold
[x] The pressure on the temporary folder must be reduced

Step 2 (P2): Reduce database usage growing linearly with the number of documents

[ ] Remove the docid fid facet value database and fetch it from the document directly.
[ ] Support compression of documents.
[ ] https://github.com/meilisearch/meilisearch/issues/4398

Step 3 (P3): Others

[ ] Move the tests out of the source files (to speed up Rust Analyzer).

Things for v1.12 are done 🎉


Add-SPOJavaScriptLink not allowing Site scope

Reporting an Issue or Missing Feature
using the latest version of the PnP Powershell i am trying to use the Add-SPOJavaScriptLink command to add javascript to the site. When using the switch -Site Site nothing happens. If i use -Site Web it works as expected and if i omit the -Site switch then the default of web is used.
I am using the -Name -Url and -Sequence switches at the same time.
Expected behavior
using the switch -Site Site should site scope the javascript file
Steps to reproduce behavior
Use with -Site Site
Have also tried lower case but get same results
What version of the PnP-PowerShell Cmdlets are you using?
Llatest version as of today
How did you install the PnP-PowerShell Cmdlets?
Installed via powershell command from home page.

Just to confirm i am using version 2.7.1609.3

I think i have figured it out. The issue may actually be a bug in the Get-SPOJavaScriptLink. If this is used without any parameters then it only returns web scoped items not all as the documentation states. Using Get-SPOJavaScriptLink -Scope Site returns and shows my site scoped items.
I seem to have a secondary issue with the ~sitecollection wildcard but i can probably live with that for now until i find out what is happening

Hi Paul,
Thank for your reporting this. It's not a bug as such in the cmdlet but an error in the documentation. I will fix that. By default the Get-SPOJavaScriptLink cmdlet returns Web scoped links. Changing that default behaviour could potentially break existing scripts. The documentation has been updated to state that the default behaviour is that it returns Web scoped links and I added appropriate examples.


qsStringifyOptions is not correctly forwarded to querystring.stringify

qs.stringify has signature (obj[, options]), while querystring.stringify has signature (obj[, sep][, eq][, options]) and seq', eq' can not be omitted.

Yep, it seems like it, although in my understanding of the syntax it shouldn't be that way. Also we have tests only for the qs module. What do you propose? I'm for removing the support for querystring from the docs althogether, because sep and eq will be just unnecessary complication to implement and then reason about.

querystring provide options for parsing/stringifying using specific charset encoding, while qs, it assumes that utf-8 is the only encoding.
This is an example found in node.js docs.
querystring.parse('foo=bar&baz=qux&baz=quux&corge')
// returns
{ foo: 'bar', baz: ['qux', 'quux'], corge: '' }

// Suppose gbkDecodeURIComponent function already exists,
// it can decode `gbk` encoding string
querystring.parse('w=%D6%D0%CE%C4&foo=bar', null, null, { decodeURIComponent: gbkDecodeURIComponent })
// returns
{ w: '中文', foo: 'bar' }

Thanks, good to know, however my point was a bit different. My question was how do you propose to implement those 3 parameters for querystring [, sep][, eq][, options] in case we allow only an options object atm, the qsStringifyOptions?
Generally that's a problem with lots of APIs that use parameters instead of object for parameters.


Tutorial does not run successfully

Project ID and name in the sample does not match the rest of the tutorial.
Need to update project artifact ID in pom.xml file under "complete" folder:
<groupId>com.example</groupId>
<artifactId>gs-spring-boot-docker</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>gs-spring-boot-docker</name>

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 200ae7a0-87fe-9d4d-db79-12495746fbd8
Version Independent ID: 0aaa8a60-4aec-ac05-a9bc-7d9a4883c637
Content: Deploy Spring Boot Application to the Azure Kubernetes Service - Azure Kubernetes Service
Content Source: articles/java/spring-framework/deploy-spring-boot-java-app-on-kubernetes.md
Service: multiple
GitHub Login: @KarlErickson
Microsoft Alias: brendm

Hi, @KarlErickson
Could you please assign this issue to @fangjian0423 ?

#assign:chenrujun

hi @shreyaaithal , thanks for reaching out.
I think everywhere about gs-spring-boot-docker in "Deploy the image to your Kubernetes cluster" section change to spring-boot-docker-complete is better.
We will update it ASAP.


Print button not working with disabled autoFetch and stream

Attach (recommended) or Link to PDF file here:N/A
Configuration:

Web browser and its version: Google Chrome - Version 78.0.3904.97 (Official Build) (64-bit)
Operating system and its version: Windows 10
PDF.js version: 2.2.228
Is a browser extension:No
Issue exists in all the browsers

Steps to reproduce the problem:

Set disableStream and disableAutoFetch # params to true.
Request PDF document through viewer.html by passing query parameters.
Below is the sample URL : web/viewer.html?file=http%3A%2F%2Flocalhost%3A8062%2Fhpesc%2Fapi%2Fdocument%2Fa00004882en_us#rangeChunkSize=256000&disableStream=true&disableAutoFetch=true

What is the expected behavior? (add screenshot)
Should able to print the PDF document.
What went wrong? (add screenshot)
After rendering intial pages as it's disableAutoFetch to true.
On clicking Print button, print not working and giving below issue in dev console.

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

That's hardly surprising, considering https://github.com/mozilla/pdf.js/blob/be02e679728d86709b31aebc7e89c863512af91a/web/base_viewer.js#L461

web/viewer.html?file=http%3A%2F%2Flocalhost%3A8062%2Fhpesc%2Fapi%2Fdocument%2Fa00004882en_us#rangeChunkSize=256000&disableStream=true&disableAutoFetch=true

For future reference: An example pointing to localhost isn't useful, since it's not possible for anyone else to actually reproduce that. Furthermore, there's also no hash parameter called rangeChunkSize.

@Snuffleupagus,
Thanks for your swift response :)
rangeChunkSize is our custom parameter, please ignore.
I couldn't able to show you this issue because pdfjs deployed in our non-public environment.
This issue can be reproduced by adding disableStream=true and disableAutoFetch=true hash parameters to viewer.
I tried to reproduce this issue by using https://mozilla.github.io/pdf.js/web/viewer.html but here hash prams are not accepting.
Kindly let me know if you can reproduce the issue by adding disableStream=true and disableAutoFetch=true hash parameters to viewer or else I have to find some way to show you the issue.


Suppress exceptions from failing to load HostingStartup assemblies

When using Visual Studio to launch a project (created from the MVC template) targeting .NET Core 2.0 preview 2 dev builds, the process immediately crashes with the below exception:
Unhandled Exception: System.AggregateException: One or more errors occurred. (Startup assembly Microsoft.AspNetCore.ApplicationInsights.HostingStartup failed to execute. See the inner exception for more details.) ---> System.InvalidOperationException: Startup assembly Microsoft.AspNetCore.ApplicationInsights.HostingStartup failed to execute. See the inner exception for more details. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore.ApplicationInsights.HostingStartup, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks, IntPtr ptrLoadContextBinder)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, IntPtr ptrLoadContextBinder)
   at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
   at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices(AggregateException& hostingStartupErrors)
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
   at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices(AggregateException& hostingStartupErrors)
   at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
   at NetCoreHub.Program.BuildWebHost(String[] args)
   at NetCoreHub.Program.Main(String[] args)

This is because the deps file is linked to the 2.0.0-preview1-002111-00 runtime, but the app is running in 2.0.0-preview2-25309-07 runtime. Thus the deps file isn't merged and the assembly is nowhere to be found when we try to load it.
I expect the HostingStartup to fail to load. What I don't expect is to be unable to launch my project with no idea how to fix it :). We should suppress and log these errors. I didn't do anything beyond just installing a preview runtime from https://github.com/dotnet/cli.

@davidfowl

By (bad) design:
https://github.com/aspnet/Hosting/blob/3485a04ea184cb7410d3432b497873af3f2d912c/src/Microsoft.AspNetCore.Hosting/WebHostBuilder.cs#L290
That this fails so easily for a default VS scenario shows we need to revisit this.

Offline discussion:
A) Change the design, always swallow HostingStartup exceptions, always.
B) Have VS check the runtime version before enabling the environment variables.  After we fix A this will only prevent an exception from being thrown & logged. @BillHiebert

Is there any workaround available at the moment?

You can disable Hosting Startup entirely by setting the WebHostDefaults.PreventHostingStartupKey. The following code would do it: builder.UseSetting(WebHostDefaults.PreventHostingStartupKey, "true") (where builder is your WebHostBuilder)

Note that this does not occur in IIS, because our default configuration suppresses this exception in IIS (that's the "By (bad) design" note above ;), we'll be suppressing the exception in all cases moving forward)

@muratg please triage and assign for preview2. This is a small code change.

🎉


Add column on an existing & populated table with not null constraint

CrateDB version
5.2.0
CrateDB setup information
No response
Steps to Reproduce
cr> create table test(a int);
CREATE OK, 1 row affected  (0.179 sec)
cr> insert into test(a) select generate_series(1, 5, 1);
INSERT OK, 5 rows affected  (0.054 sec)
cr> refresh table test;
REFRESH OK, 1 row affected  (0.002 sec)
cr> alter table test add b string not null;
ALTER OK, -1 rows affected  (0.035 sec)

Expected Result
from Postgres:
matriv=> alter table test add b varchar(10) not null;
ERROR:  column "b" of relation "test" contains null values

Actual Result
cr> select * from test;
+---+------+
| a | b    |
+---+------+
| 2 | NULL |
| 3 | NULL |
| 4 | NULL |
| 1 | NULL |
| 5 | NULL |
+---+------+
SELECT 5 rows in set (0.015 sec)

cr> update test set a = a + 1;
SQLParseException["b" must not be null]

Same goes for a normal check constraint, checking for null values:
cr> alter table test add b int check (b * 10 - 1 is not null);
ALTER OK, -1 rows affected  (0.031 sec)
cr> select * from test;
+---+------+
| a | b    |
+---+------+
| 5 | NULL |
| 3 | NULL |
| 4 | NULL |
| 1 | NULL |
| 2 | NULL |
+---+------+
SELECT 5 rows in set (0.002 sec)
cr> update test set a = a + 1;
SQLParseException[Failed CONSTRAINT doc_test_check_4fbedd878981 CHECK ((("b" * 10) - 1) IS NOT NULL) and values {a=6}]

where as postgres:
matriv=> alter table test add b int check (b * 10 - 1 is not null);
ERROR:  check constraint "test_b_check" of relation "test" is violated by some row

if there is not a null check, CrateDB:
cr> alter table test add b int check (b * 10 - 1 > 2);
ALTER OK, -1 rows affected  (0.044 sec)
cr> select * from test;
+---+------+
| a | b    |
+---+------+
| 1 | NULL |
| 2 | NULL |
| 3 | NULL |
| 4 | NULL |
| 5 | NULL |
+---+------+
SELECT 5 rows in set (0.002 sec)
cr> update test set a = a + 1;
UPDATE OK, 5 rows affected  (0.022 sec)

Postgres:
matriv=> alter table test add b int check (b * 10 - 1 > 2);
ALTER TABLE
matriv=> select * from test;
 a | b
---+---
 1 |
 2 |
 3 |
 4 |
 5 |
(5 rows)

matriv=> update test set a = a + 1;
UPDATE 5

So for this case CrateDB behaves correctly.

There could be an option to also enable DEFAULT clause for adding columns, but this means all existing table rows need to be updated with this default value for the new column which depending on its size can be a long process.

I think this is overall a similar case to adding indexed columns after initial table creation. The user needs to take care about implications on older data.
CREATE TABLE tab01 (obj OBJECT(IGNORED));
-- CREATE OK, 1 row affected  (0.448 sec)

INSERT INTO tab01 VALUES ({a = 1});
-- INSERT OK, 1 row affected  (0.105 sec)

SELECT obj FROM tab01 WHERE obj['a'] = 1;
+----------+
| obj      |
+----------+
| {"a": 1} |
+----------+
-- SELECT 1 row in set (0.124 sec)

ALTER TABLE tab01 ADD COLUMN obj['a'] INT;
-- ALTER OK, -1 rows affected  (0.119 sec)

SELECT obj FROM tab01 WHERE obj['a'] = 1;
+-----+
| obj |
+-----+
+-----+
-- SELECT 0 rows in set (0.026 sec)


fix(EventManager): cache interceptor

Done. I dont know how to change it directly here so another commit though


"Gift Shop" in the main README.md links to east/README.md

The correct link seems to be gift_shop/ instead.
Moreover, the directory name "east" appears to mean "Expression AST" given the link "Expression". Is it so?

Hi @l74d,
Thank you for letting us know!
We've updated the README.md link correctly now, thank you for pointing that out!
Regards,
The elara.ai team


Provide fn PgConnectOptions::get_host(&self)

Hi!
Similar to https://github.com/launchbadge/sqlx/blob/d0fbe7feff4b3a200cf0453417d5e53bd011643a/sqlx-postgres/src/options/mod.rs#L289
pub fn get_database(&self) -> Option<&str> {
    self.database.as_deref()
}

I'd like to see pub fn get_host(&self) -> Option<&str> to let my health checker construct a meaningful string for the database connection.

Closed by #2752


I can help you with evilginx2 installation, making phishlets and other

Paid consultations, evilginx2/vps/vds configuration, phishlets creation, soft coding, website creation and other.
Add me in telegram @GoUnix

Hi
Why the facebook phishlet page primary language isn't English?

hi I am needing help to configure evilginx2 on debian9 I have followed many tutorials but I am getting an error message when t comes to 'make'. please can you help me resolve this.


miniupnpc: 2.2.4 -> 2.2.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/miniupnpc/versions.
meta.description for miniupnpc is: A client that implements the UPnP Internet Gateway Device (IGD) specification
meta.homepage for miniupnpc is: https://miniupnp.tuxfamily.org/
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.2.5 with grep in /nix/store/rr7hz37ppkyi23swqf1f3215zzdi39r8-miniupnpc-2.2.5
found 2.2.5 in filename of file in /nix/store/rr7hz37ppkyi23swqf1f3215zzdi39r8-miniupnpc-2.2.5

Rebuild report (if merged into master) (click to expand)

57 total rebuild path(s)

57 package rebuild(s)

First fifty rebuilds by attrpath
aeon
aerc
alephone
atomic-swap
bitcoin
bitcoin-abc
bitcoin-unlimited
bitcoind
bitcoind-abc
bitcoind-knots
bitcoind-unlimited
dante
dogecoin
dogecoind
dolphin-emu
dolphin-emu-primehack
drawpile
eiskaltdcpp
elements
elementsd
elementsd-simplicity
flycast
fragments
gridcoin-research
groestlcoin
groestlcoind
haven-cli
hydrus
i2pd
libtransmission
libtransmission_4
litecoin
litecoind
lutris
lutris-free
masari
miniupnpc
monero-cli
monero-gui
namecoind
particl-core
pivx
pivxd
pshs
qodem
retroshare
swiften
torrential
transmission
transmission-gtk

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/rr7hz37ppkyi23swqf1f3215zzdi39r8-miniupnpc-2.2.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A miniupnpc https://github.com/r-ryantm/nixpkgs/archive/c957ca18cef708be6f1744573b4c06bd7b4934d5.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/c957ca18cef708be6f1744573b4c06bd7b4934d5#miniupnpc

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/rr7hz37ppkyi23swqf1f3215zzdi39r8-miniupnpc-2.2.5
ls -la /nix/store/rr7hz37ppkyi23swqf1f3215zzdi39r8-miniupnpc-2.2.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 45m and timed out

Maintainer pings

https://miniupnp.tuxfamily.org/ seems to be down.


[stable/fluent-bit] Add existing secret for ES credentials

What this PR does / why we need it:
This changest adds the possibility to use an existing K8S secret for ES credentials and certificate.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

lgtm

Looks like chart version is not correct.

@edsiper Corrected version. It was correct, when I filed the PR. :stuck_out_tongue:


Rename metric -> metrics

For consistency with, e.g. django.db.models, rest_framework.serializers

I'll wait until after #5 and #11 are merged before merging this.


Introducing Docker

As a further note, it might make sense to move all Docker related files into a new directory deployment, as there could be more Docker images in the future.

Thank you for promt reaction. I have changed many things.


gallery - Avoid rewriting unchanged files.

Rewriting unchanged files causes the ‘make html’ and sphinx to waste
time rebuilding every example page.   Added code to skip writing
unchanged files and associated UnitTest test case.
Diff got confused here, as I converted the existing test case from nose to UnitTest.
Now at MaxPR.

Put in with new pull request as gallery.py changed again.


Webview auth window is blank when the app is run on production

I'm using this package in my Flutter desktop app and its working fine in dev mode when we generate an exe shareable file for other users the web view auth window is blank every time unable to find any warnings and issue

Same issue on macos


Nicer error when CLI can't parse database URL

No idea I went with the most complicated way possible and tried to play human SAT solver. The code is much simpler now.


MLND-入门-微信防刷区：长期保留的话题和问题讨论帖

:trollface:

Hints:
Statistics

For plotting, it's called bar graph instead of histogram if it's categorical data and there will be spaces between columns to indicate this.


Incorrect link to TecoSigner documentation

Please describe the bug
After changing title from TecoSigner to Teco Signer on the main branch of teco-core, some links to the documentation are broken.
Explain the steps needed to reproduce the bug

Navigate to https://swiftpackageindex.com/teco-project/teco-core
Click on "Documentation"
From the top bar, choose "Documentation for main" and "Teco Signer".
404 Not found at https://swiftpackageindex.com/teco-project/teco-core/main/documentation/teco signer

What was the expected behaviour?
The link should point to https://swiftpackageindex.com/teco-project/teco-core/main/documentation/tecosigner
Screenshots

Additional context
The title is changed by a DocC directive called Metadata.DisplayName. The display name of a module is not necessarily identical to its name, which may be assumed by the infrastructure.
There’re some other display issues including missing module picker at https://swiftpackageindex.com/teco-project/teco-core/main/documentation/tecosigner, but that’s less pain.

Hi @stevapple , thanks for the report!
I think I know where this might be going wrong, I just hope we've got the correct data to resolve this at that point 😧

Sorry for the long delay, @stevapple! I'm taking a closer look at this now so you can hopefully revert that workaround at some point.

@stevapple – the fix is now live. You should be able to revert your workaround and use the proper title in your docs.


Update error-handling.md

@JamesNK  once you approve I'll merge into your branch. Just a few typos.

Internal previews

📄 File
🔗 Preview link

aspnetcore/grpc/error-handling.md
Error handling with gRPC

@JamesNK  darn, I have more changes, but I'll do another PR in 5 minutes.


context, timeout: configurable timeout for listing pods & ipPools

This addresses a left-over from PR #186 : we weren't using the configurable timeout when:

listing pods
listing IPPools

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 2 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 40.494%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/reconciler/iploop.go
0
2
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
443

Relevant Lines:
1094

💛  - Coveralls


Remove redundant text

Task/Issue URL: https://app.asana.com/0/0/1205786381684074/1205867917189068/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #3795   👈

This stack of pull requests is managed by Graphite.


Show basename for document names

Originally the whole path (which can be very long, and often includes the full account name) was shown for documents. Show only the basename.
Unfortunately there doesn't seem to be a Jinja basename filter, so I added a field to the document entries in the API.

Thanks @corani - I like the idea.
But to me this definitely is a "view" thing, which does belong into the templates, not the API. So I will move this into a filter.


Ecm/sdk api changes

Purpose
Type of PR

[ ] Bug Fix
[ ] Feature Work
[ ] Revert
[x] Refactor / Code Cleanup
[x] Other - Documentation/drafting readme

Short Description

Updating API and documentation. This is really just a stepping stone, but it seemed like a good smaller unit of work for code review before I get into bigger stuff. Reminder this is the google doc with API discussion
FYI This will wind up getting superseded by #32, in which I continued off of this branch into a larger refactor project.
Changelog / Code Overview

Renamed public API methods
Added phone as UserInfo identifier
Added Klaviyo.configure for setting apiKey and context, removed KlaviyoConfig from public view (seems simpler that way)
Updated to latest dokka and experimented with generating docs with it.

Closing: generated useful discussion but my work on #32 has made this branch irrelevant at this point.


mTLS authn method

Adds support for client TLS certificate validation at application layer in Authorino for connections with the protected service and Authorino raw HTTP authorization interface relying on Mutual Transport Layer Security (mTLS) for authentication.
Closes #8
Verification steps
Create a cluster, build and deploy the apps:
make local-setup FF=1

Create a CA certificate and store it in a secret to be discovered by Authorino:
openssl req -x509 -sha256 -days 365 -nodes -newkey rsa:2048 -subj "/CN=talker-api-ca" -keyout /tmp/ca.key -out /tmp/ca.crt
kubectl create secret tls talker-api-ca --cert=/tmp/ca.crt --key=/tmp/ca.key
kubectl label secret talker-api-ca authorino.kuadrant.io/managed-by=authorino app=talker-api

Redeploy Envoy acknowledging the CA cert and enabling client certificate validation:
(This steps sucks, but otherwise Envoy will not pass the client peer certificate to Authorino in the payload to external authorization. Effectively, we're adding redundant client cert validation – i.e. Envoy doing it at L4 and Authorino at L7. For a hope on finding a way to avoid this, see https://github.com/envoyproxy/envoy/issues/20563#issuecomment-1152242226.)
kubectl apply -f -<<EOF
apiVersion: v1
kind: ConfigMap
metadata:
  labels:
    app: envoy
  name: envoy
data:
  envoy.yaml: |
    static_resources:
      listeners:
      - address:
          socket_address:
            address: <IP_ADDRESS>
            port_value: 8000
        filter_chains:
        - transport_socket:
            name: envoy.transport_sockets.tls
            typed_config:
              "@type": type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext
              common_tls_context:
                tls_certificates:
                - certificate_chain: {filename: "/etc/ssl/certs/talker-api/tls.crt"}
                  private_key: {filename: "/etc/ssl/certs/talker-api/tls.key"}
                validation_context:
                  trusted_ca:
                    filename: /etc/ssl/certs/talker-api/tls.crt
          filters:
          - name: envoy.http_connection_manager
            typed_config:
              "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
              stat_prefix: local
              route_config:
                name: local_route
                virtual_hosts:
                - name: local_service
                  domains: ['*']
                  routes:
                  - match: { prefix: / }
                    route: { cluster: talker-api }
              http_filters:
              - name: envoy.filters.http.ext_authz
                typed_config:
                  "@type": type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthz
                  transport_api_version: V3
                  failure_mode_allow: false
                  include_peer_certificate: true
                  grpc_service:
                    envoy_grpc: { cluster_name: authorino }
                    timeout: 1s
              - name: envoy.filters.http.router
                typed_config: {}
              use_remote_address: true
      clusters:
      - name: authorino
        connect_timeout: 0.25s
        type: strict_dns
        lb_policy: round_robin
        http2_protocol_options: {}
        load_assignment:
          cluster_name: authorino
          endpoints:
          - lb_endpoints:
            - endpoint:
                address:
                  socket_address:
                    address: authorino-authorino-authorization
                    port_value: 50051
        transport_socket:
          name: envoy.transport_sockets.tls
          typed_config:
            "@type": type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext
            common_tls_context:
              validation_context:
                trusted_ca:
                  filename: /etc/ssl/certs/authorino-ca-cert.crt
      - name: talker-api
        connect_timeout: 0.25s
        type: strict_dns
        lb_policy: round_robin
        load_assignment:
          cluster_name: talker-api
          endpoints:
          - lb_endpoints:
            - endpoint:
                address:
                  socket_address:
                    address: talker-api
                    port_value: 3000
    admin:
      access_log_path: "/tmp/admin_access.log"
      address:
        socket_address:
          address: <IP_ADDRESS>
          port_value: 8001
---
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: envoy
  name: envoy
spec:
  selector:
    matchLabels:
      app: envoy
  template:
    metadata:
      labels:
        app: envoy
    spec:
      containers:
      - args:
        - --config-path /usr/local/etc/envoy/envoy.yaml
        - --service-cluster front-proxy
        - --log-level info
        - --component-log-level filter:trace,http:debug,router:debug
        command:
        - /usr/local/bin/envoy
        image: envoyproxy/envoy:v1.19-latest
        name: envoy
        ports:
        - containerPort: 8000
          name: web
        - containerPort: 8001
          name: admin
        volumeMounts:
        - mountPath: /usr/local/etc/envoy
          name: config
          readOnly: true
        - mountPath: /etc/ssl/certs/authorino-ca-cert.crt
          name: authorino-ca-cert
          readOnly: true
          subPath: ca.crt
        - mountPath: /etc/ssl/certs/talker-api
          name: talker-api-ca
          readOnly: true
      volumes:
      - configMap:
          items:
          - key: envoy.yaml
            path: envoy.yaml
          name: envoy
        name: config
      - name: authorino-ca-cert
        secret:
          defaultMode: 420
          secretName: authorino-ca-cert
      - name: talker-api-ca
        secret:
          defaultMode: 420
          secretName: talker-api-ca
---
apiVersion: v1
kind: Service
metadata:
  name: envoy
spec:
  selector:
    app: envoy
  ports:
  - name: web
    port: 8000
    protocol: TCP
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: ingress-wildcard-host
spec:
  rules:
  - host: talker-api-authorino.<IP_ADDRESS>.nip.io
    http:
      paths:
      - backend:
          service:
            name: envoy
            port: { number: 8000 }
        path: /
        pathType: Prefix
EOF

Create the AuthConfig:
kubectl apply -f -<<EOF
apiVersion: authorino.kuadrant.io/v1beta1
kind: AuthConfig
metadata:
  name: talker-api-protection
spec:
  hosts:
  - talker-api-authorino.<IP_ADDRESS>.nip.io
  identity:
  - name: mtls
    mtls:
      labelSelectors:
        app: talker-api
  authorization:
  - name: acme
    json:
      rules:
      - selector: auth.identity.Organization
        operator: incl
        value: ACME Inc.
EOF

Try the API with a TLS certificate signed by the trusted CA:
openssl genrsa -out /tmp/aisha.key 2048
openssl req -new -key /tmp/aisha.key -out /tmp/aisha.csr -subj "/CN=aisha/C=PK/L=Islamabad/O=ACME Inc./OU=Engineering"
openssl x509 -req -in /tmp/aisha.csr -CA /tmp/ca.crt -CAkey /tmp/ca.key -CAcreateserial -out /tmp/aisha.crt -days 1 -sha256

curl -k --cert /tmp/aisha.crt --key /tmp/aisha.key https://talker-api-authorino.<IP_ADDRESS>.nip.io:8000 -i
# HTTP/1.1 200 OK

Try the API with a TLS certificate signed by the trusted CA, though missing an authorized Organization:
openssl genrsa -out /tmp/john.key 2048
openssl req -new -key /tmp/john.key -out /tmp/john.csr -subj "/CN=john/C=UK/L=London"
openssl x509 -req -in /tmp/john.csr -CA /tmp/ca.crt -CAkey /tmp/ca.key -CAcreateserial -out /tmp/john.crt -days 1 -sha256

curl -k --cert /tmp/john.crt --key /tmp/john.key https://talker-api-authorino.<IP_ADDRESS>.nip.io:8000 -i
# HTTP/1.1 403 Forbidden
# x-ext-auth-reason: Unauthorized

Try the AuthConfig via raw HTTP authorization interface:
Expose the interface:
kubectl port-forward service/authorino-authorino-authorization 5001:5001 &

Consume the raw HTTP authorization interface with a TLS certificate signed by the trusted CA:
curl -k --cert /tmp/aisha.crt --key /tmp/aisha.key -H 'Content-Type: application/json' -d '{}' https://talker-api-authorino.<IP_ADDRESS>.nip.io:5001/check -i
# HTTP/2 200

Consume the raw HTTP authorization interface with a TLS certificate signed by a unknown authority:
openssl req -x509 -sha256 -days 365 -nodes -newkey rsa:2048 -subj "/CN=untrusted" -keyout /tmp/untrusted-ca.key -out /tmp/untrusted-ca.crt
openssl genrsa -out /tmp/niko.key 2048
openssl req -new -key /tmp/niko.key -out /tmp/niko.csr -subj "/CN=niko/C=JP/L=Osaka"
openssl x509 -req -in /tmp/niko.csr -CA /tmp/untrusted-ca.crt -CAkey /tmp/untrusted-ca.key -CAcreateserial -out /tmp/niko.crt -days 1 -sha256

curl -k --cert /tmp/niko.crt --key /tmp/niko.key -H 'Content-Type: application/json' -d '{}' https://talker-api-authorino.<IP_ADDRESS>.nip.io:5001/check -i
# HTTP/2 401
# www-authenticate: Basic realm="mtls"
# x-ext-auth-reason: x509: certificate signed by unknown authority

Revoke an entire chain of certificates:
kubectl delete secret/talker-api-ca

Even if the deleted root certificate is still cached and accepted at the gateway, Authorino will revoke access at application level immediately.
Try the API again with a previously accepted certificate to verify:
curl -k --cert /tmp/aisha.crt --key /tmp/aisha.key https://talker-api-authorino.<IP_ADDRESS>.nip.io:8000 -i
# HTTP/1.1 401 Unauthorized
# www-authenticate: Basic realm="mtls"
# x-ext-auth-reason: x509: certificate signed by unknown authority

Cleanup:
make local-cleanup

Reverted in #303
Reintroducing in #305


Ensure any PVC includes the custom tags

This PR adds the custom tags to the aws-ebs-csi-driver configuration to ensure any custom tags are added to volumes created by the cluster.

It addresses #32


AMQNET-595: Set and get group-id message property field

It should be possible to set group-id message property using IMessage interface.

Could this be its own jira.

@HavretGC can you check the field name used in openwire please for this. As in Java its actually JMSX not JMS as the prefix because it was an JMS extension property.

https://github.com/apache/activemq-nms-openwire/blob/master/src/main/csharp/Commands/ActiveMQMessage.cs
Please see NMS Extensions. Also can we make sure the other NMSX are named appropriately.


Flowbite refactor

Remove carbon and use Flowbite
This will consist of multiple PRs merged into a separate branch that will then be merged into main

closed by #862