Error /assets/js/dist/*.min.js not found

NOTE: Before you start, the following should be completed.

Read Wiki to understand the usage and the correct effect of functional design.
Make sure no similar issue(including closed ones) exists.
Try to find the answer on Jekyll Forum and StackOverflow.

Description
just run bundle exec jekyll s in localhost,
F:\jekyll-theme-chirpy>bundle exec jekyll s
Configuration file: F:/jekyll-theme-chirpy/_config.yml
 Theme Config file: F:/jekyll-theme-chirpy/_config.yml
            Source: F:/jekyll-theme-chirpy
       Destination: F:/jekyll-theme-chirpy/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
                    done in 9.802 seconds.
 Auto-regeneration: enabled for 'F:/jekyll-theme-chirpy'
    Server address: http://<IP_ADDRESS>:4000/
  Server running... press ctrl-c to stop.

something error ...

[2023-05-22 16:06:19] ERROR `/assets/js/dist/home.min.js' not found.
[2023-05-22 16:06:20] ERROR `/assets/js/dist/post.min.js' not found.
[2023-05-22 16:06:24] ERROR `/assets/js/dist/home.min.js' not found.
[2023-05-22 16:06:26] ERROR `/assets/js/dist/post.min.js' not found.
[2023-05-22 16:06:28] ERROR `/assets/js/dist/home.min.js' not found.
[2023-05-22 16:06:32] ERROR `/assets/js/dist/post.min.js' not found.
[2023-05-22 16:06:33] ERROR `/assets/js/dist/home.min.js' not found.
[2023-05-22 16:07:14] ERROR `/assets/js/dist/post.min.js' not found.
[2023-05-22 16:07:17] ERROR `/assets/js/dist/home.min.js' not found.

And Github Action will failed

just run bash tools/init

I renamed .github folder, commented out _check_status and _check_init and re-ran script, got same error when trying to run on fresh pull from release repo
><EMAIL_ADDRESS>prebuild
> npx rimraf assets/js/dist

/home/chief/chirpy-v6.0.1/jekyll-theme-chirpy/node_modules/minimatch/dist/cjs/ast.js:86
    #fillNegs() {
             ^

SyntaxError: Unexpected token '('
    at wrapSafe (internal/modules/cjs/loader.js:915:16)
    at Module._compile (internal/modules/cjs/loader.js:963:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/home/chief/chirpy-v6.0.1/jekyll-theme-chirpy/node_modules/minimatch/dist/cjs/index.js:9:18)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)

just run bash tools/init

It also happened in GitHub action.

I tried that solution as I was having the same issue, getting "Error: Commit unstaged files first, and then run this tool again." even when running bash tools/init --no-gh

try git commit -m "xxx", commit files first and try again.

I have the same question, I use GitHub action auto deploy to pages.

I have solved this problem with the following solution.
https://github.com/cotes2020/jekyll-theme-chirpy/issues/942#issuecomment-1479552757

I renamed .github folder, commented out _check_status and _check_init and re-ran script, got same error when trying to run on fresh pull from release repo
><EMAIL_ADDRESS>prebuild
> npx rimraf assets/js/dist

/home/chief/chirpy-v6.0.1/jekyll-theme-chirpy/node_modules/minimatch/dist/cjs/ast.js:86
    #fillNegs() {
             ^

SyntaxError: Unexpected token '('
    at wrapSafe (internal/modules/cjs/loader.js:915:16)
    at Module._compile (internal/modules/cjs/loader.js:963:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/home/chief/chirpy-v6.0.1/jekyll-theme-chirpy/node_modules/minimatch/dist/cjs/index.js:9:18)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)

+1 to this case. Any solutions?


Use AtomicU64 instead RwLock for tracking snapshot size.

It's easy to write bug for tracking snapshot size with RwLock, especially for now rustc is not smart enough to deconstruct LockGuards ASAP. For example, in function Snap::save_cf_files the lock won't be released until the file crc32 is calculated. If the file is large, it will take a long while so that maybe block raftstore thread.
This PR fix this issue by replace RwLock with AtomicU64.

LGTM. BTW I think rust will never deconstruct LockGuard ASAP because you can use scopes or drop to manually deconstruct it if necessary?

PTAL @siddontang .

/run-integration-tests

@hicqu maybe we can do a scale benchmark, I guess this can reduce the QPS shake.

Ok, I will test it.


gene expression

We've had some discussion about this before, but we
think it would be useful to add a new high-level term
'gene expression'. Perhps like this:
biological process
---[i] gene expression ; GO:new
------[p] transcription
------[p] translation
------[p] regulation of gene expression ; GO:new
---------[i] regulation of gene expression,
post-translational ; GO:new
any thoughts?
Reported by: jl242
Original Ticket: "geneontology/ontology-requests/3148":https://sourceforge.net/p/geneontology/ontology-requests/3148

thanks www.movied.org


NewsBlur API: Creating circular parent-child relationships causes folders to be deleted, subscriptions to appear lost

The following actions via the NewsBlur API cause folders to be deleted and cause subscriptions to disappear from the NewsBlur web interface.

Create two folders:

curl -H "Authorization: Bearer [redacted]" -d "folder=folder1&parent_folder=" https://newsblur.com/reader/add_folder
curl -H "Authorization: Bearer [redacted]" -d "folder=folder2&parent_folder=" https://newsblur.com/reader/add_folder

Put folder2 inside folder1:

curl -H "Authorization: Bearer [redacted]" -d "folder_name=folder2&in_folder=&to_folder=folder1" https://newsblur.com/reader/move_folder_to_folder

Subscribe to two feeds, putting each feed in its own folder. These may need to be feeds to which you are not already subscribed:

curl -H "Authorization: Bearer [redacted]" -d "url=https://www.goldenhillsoftware.com/feed/&folder=folder1" https://newsblur.com/reader/add_url
curl -H "Authorization: Bearer [redacted]" -d "url=https://www.goldenhillsoftware.com/unread/feed/&folder=folder2" https://newsblur.com/reader/add_url

Retrieve the list of feeds:

curl -H "Authorization: Bearer [redacted]" https://newsblur.com/reader/feeds | python -m json.tool

Confirm that it reflects the folder structure configured above:
    "folders": [
        4649022,
        54158,
        6113020,
        {
            "folder1": [
                {
                    "folder2": [
                        6778553
                    ]
                },
                2621913
            ]
        }
    ],

…

	"6778553": {
		"active": true,
		"average_stories_per_month": 2,
		"favicon_border": "907d5f",
		"favicon_color": "c0a77f",
		"favicon_fade": "e3caa2",
		"favicon_fetching": false,
		"favicon_text_color": "white",
		"favicon_url": "https://s3.amazonaws.com/icons.newsblur.com/6778553.png",
		"feed_address": "https://www.goldenhillsoftware.com/unread/feed/",
		"feed_link": "https://www.goldenhillsoftware.com/",
		"feed_opens": 0,
		"feed_title": "https://www.goldenhillsoftware.com/unread/feed/",
		"fetched_once": true,
		"id": 6778553,
		"is_newsletter": false,
		"is_push": false,
		"last_story_date": "2019-06-17 20:52:10",
		"last_story_seconds_ago": 5448903,
		"min_to_decay": 240,
		"ng": 0,
		"not_yet_fetched": false,
		"nt": 0,
		"num_subscribers": 2,
		"ps": 0,
		"s3_icon": true,
		"s3_page": false,
		"search_indexed": null,
		"stories_last_month": 0,
		"subs": 2,
		"subscribed": true,
		"updated": "3 hours",
		"updated_seconds_ago": 12086
	}

…

	"2621913": {
		"active": true,
		"average_stories_per_month": 2,
		"favicon_border": "907f63",
		"favicon_color": "c1aa84",
		"favicon_fade": "e4cda7",
		"favicon_fetching": false,
		"favicon_text_color": "white",
		"favicon_url": "https://s3.amazonaws.com/icons.newsblur.com/2621913.png",
		"feed_address": "https://www.goldenhillsoftware.com/feed/",
		"feed_link": "https://www.goldenhillsoftware.com/",
		"feed_opens": 0,
		"feed_title": "Golden Hill Software",
		"fetched_once": true,
		"id": 2621913,
		"is_newsletter": false,
		"is_push": false,
		"last_story_date": "2019-06-17 20:52:10",
		"last_story_seconds_ago": 5448903,
		"min_to_decay": 240,
		"ng": 0,
		"not_yet_fetched": false,
		"nt": 0,
		"num_subscribers": 26,
		"ps": 0,
		"s3_icon": true,
		"s3_page": false,
		"search_indexed": true,
		"stories_last_month": 0,
		"subs": 26,
		"subscribed": true,
		"updated": "3 hours",
		"updated_seconds_ago": 12251
	},

Put folder1 inside of folder2:

curl -H "Authorization: Bearer [redacted]" -d "folder_name=folder1&in_folder=&to_folder=folder2" https://newsblur.com/reader/move_folder_to_folder | python -m json.tool

Note the following response:
{
    "authenticated": true,
    "code": 1,
    "folders": [
        4649022,
        54158,
        6113020
    ],
    "result": "ok",
    "user_id": 380808
}

Retrieve the list of feeds again:

curl -H "Authorization: Bearer [redacted]" https://newsblur.com/reader/feeds | python -m json.tool

Note that:

"folder1" and "folder2" are gone.
The feeds are listed in the "feeds" section of the response, but are not in the "folders" section – even as top-level feeds.

Log into the NewsBlur web interface, and note that neither feed is visible.

Clearly an API client should never attempt to make one folder both a parent and a child of another, but it is possible that a client has out-of-date sync data and therefore not know about the first parent-child relationship before creating the second.
I am mitigating the risk of this in Unread by making a request to /reader/feeds and confirming that I am not creating a circular parent-child folder relationship before calling /reader/move_folder_to_folder, but this requires an extra server call that could be avoided if the server performed this validation.

Excellent writeup, I'll try to mitigate this in the code.


loading private custom dataset script - authentication error

Describe the bug
Train model with my custom dataset stored in HuggingFace and loaded with the loading script requires authentication but I am not sure how ?
I am logged in in the terminal, in the browser. I receive this error:
/python3.8/site-packages/datasets/utils/file_utils.py", line 566, in get_from_cache
raise ConnectionError(f"Couldn't reach {url} ({repr(head_error)})")
ConnectionError: Couldn't reach https://huggingface.co/datasets/fkov/s/blob/main/data/s/train/labels (ConnectionError('Unauthorized for URL https://huggingface.co/datasets/fkov/s/blob/main/data/s/train/labels. Please use the parameter **use_auth_token=True** after logging in with **huggingface-cli login**'))
when I added: use_auth_token=True and logged in via terminal then I received error:
or the same error in different format:
raise ConnectionError(f"Couldn't reach {url} (error {response.status_code})")
ConnectionError: Couldn't reach https://huggingface.co/datasets/fkov/s/blob/main/data/s/train/labels (error 401)
Steps to reproduce the bug

cloned transformers library locally:
https://huggingface.co/docs/transformers/v4.15.0/examples :

git clone https://github.com/huggingface/transformers
cd transformers
pip install .
cd /transformers/examples/pytorch/audio-classification
pip install -r requirements.txt

created loading script

https://huggingface.co/docs/datasets/dataset_script  added next to dataset:

uploaded private custom dataset with loading script to HuggingFace

https://huggingface.co/docs/datasets/dataset_script

added dataset loading script to local directory in the above cloned transformers library:

cd /transformers/examples/pytorch/audio-classification

logged in to HuggingFace on local terminal with :

huggingface-cli login

run the model with the custom dataset stored on HuggingFace with code:  https://github.com/huggingface/transformers/blob/main/examples/pytorch/audio-classification/README.md
cd /transformers/examples/pytorch/audio-classification

python run_audio_classification.py
--model_name_or_path facebook/wav2vec2-base
--output_dir l/users/flck/outputs/wav2vec2-base-s
--overwrite_output_dir
--dataset_name s
--dataset_config_name s
--remove_unused_columns False
--do_train
--do_eval
--fp16
--learning_rate 3e-5
--max_length_seconds 1
--attention_mask False
--warmup_ratio 0.1
--num_train_epochs 5
--per_device_train_batch_size 32
--gradient_accumulation_steps 4
--per_device_eval_batch_size 32
--dataloader_num_workers 4
--logging_strategy steps
--logging_steps 10
--evaluation_strategy epoch
--save_strategy epoch
--load_best_model_at_end True
--metric_for_best_model accuracy
--save_total_limit 3
--seed 0
--push_to_hub
--use_auth_token=True

Expected behavior
Be able to train a model the https://github.com/huggingface/transformers/blob/main/examples/pytorch/audio-classification/ run_audio_classification.py with private custom dataset stored on HuggingFace.
Environment info

datasets version:                2.12.0
transformers version: 4.30.0.dev0
Platform: Linux-5.4.204-ql-generic-12.0-19-x86_64-with-glibc2.17
Python version: 3.8.12
Huggingface_hub version: 0.15.1
Safetensors version: 0.3.1
PyTorch version (GPU?): 2.0.1+cu117 (True)

Versions of relevant libraries:
[pip3] numpy==1.24.3
[pip3] torch==2.0.1
[pip3] torchaudio==2.0.2
[conda] numpy                     1.24.3                   pypi_0    pypi
[conda] torch                     2.0.1                    pypi_0    pypi
[conda] torchaudio                2.0.2                    pypi_0    pypi

This issue seems to have been resolved, so I'm closing it.


memory_file_system_test is flaky

pkg/front_end/test/memory_file_system_test is flaky, failing with "Timeout".
see here: https://build.chromium.org/p/client.dart/builders/analyzer-win7-release-be/builds/6448/steps/analyze pkg tests/logs/stdio
FAILED: dart2analyzer-none release_x64 pkg/front_end/test/memory_file_system_test
Expected: Pass
Actual: Timeout
CommandOutput[dart2analyzer]:

Command[dart2analyzer]: set DART_CONFIGURATION=ReleaseX64 & out\ReleaseX64\dart-sdk\bin\dartanalyzer.bat --supermixin --ignore-unrecognized-flags --packages=E:\b\build\slave\analyzer-win7-release-be\build\sdk\.packages --format=machine --no-hints E:\b\build\slave\analyzer-win7-release-be\build\sdk\pkg\front_end\test\memory_file_system_test.dart
Took 0:04:00.046002

Short reproduction command (experimental):
    python tools/test.py -m release -c dart2analyzer -r none --use-sdk pkg/front_end/test/memory_file_system_test

Done dart2analyzer-none release_x64 pkg/front_end/test/memory_file_system_test: fail

I've tried to reproduce this error locally on a Windows machine but I am unable to.
Given the age and lack of activity on this issue I think we'll have to declare this obsolete.
If however this issue pops up again, please feel free to re-open.


Update Chokidar to v3.3.0

Description of the Change

update to v3.3.0
npm audit --fix
simplify our code due to changelog v3.1.0:

Dotfiles are no longer filtered out by default. Use ignored option if needed.

Coverage decreased (-0.002%) to 92.72% when pulling c783140bd0f2bb242da28fb2fa5a590e9780bfb3 on juergba/chokidar into e4e126f184e95a38b135f554616f9c028427f588 on master.

cc: @geigerzaehler


Issue description
Hello,
I encountered an issue when running npm run test in the Baklava project. The following error occurs:
`><EMAIL_ADDRESS>pretest
> npm run build

><EMAIL_ADDRESS>build
> del-cli dist/ && npm run analyze && npm run generate-react-exports && tsc --emitDeclarationOnly && node scripts/build.js && npm run generate-vue-types

><EMAIL_ADDRESS>analyze
> cem analyze

[11:46:16 PM] @custom-elements-manifest/analyzer: Created new manifest.

><EMAIL_ADDRESS>generate-react-exports
> node scripts/generate-react-exports.js

file:///Users/bugrahanyunt/Developer/baklava/scripts/generate-react-exports.js:6
import prettierConfig from "../.prettierrc.json" assert { type: "json" };
                                                 ^^^^^^

SyntaxError: Unexpected identifier 'assert'
    at compileSourceTextModule (node:internal/modules/esm/utils:337:16)
    at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:166:18)
    at callTranslator (node:internal/modules/esm/loader:437:14)
    at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:443:30)
    at async ModuleJob._link (node:internal/modules/esm/module_job:106:19)

Node.js v22.9.0
`

To troubleshoot, I replaced "assert { type: "json" }" with "with { type: "json" }" in generate-react-exports.js. This allowed me to run the tests successfully, but I cannot commit this change.
Could you please provide guidance on how to resolve this issue?
Thank you.
Media & Screenshots
No response
Baklava Version
No response
Operating system

Browser [e.g. chrome, safari]: chrome
Node.js version: 22.9.0
npm version: 10.8.3
Operating system: macOS

Priority this issue should have
Low (slightly annoying)
Please review the checkboxes that are applicable.

[ ] This issue is directly related to React

You can use it with Node 20, it seems that Node 22 is likely causing some issues


Improve setup

Currently setup requires a manual run before automation can be set up, wack

Stale & unneeded with pypi rework! Closing.


client/network: Use request response for light client requests

This is the last step to close https://github.com/paritytech/substrate/issues/6968, namely to use libp2p-request-response introduced in https://github.com/paritytech/substrate/pull/6634 for light client requests. The patch is similar to the block request changes done in https://github.com/paritytech/substrate/pull/7478.
Given that the list of changes required is already large, this pull request is scoped to refactorings within client/network for now. Once merged, this pull request enables many more refactorings, especially around light-client logic initialization outside of client/network.

Marking as ready for review for CI to run. I will post here once more once the pull request is actually ready to be reviewed.

Marking as ready for review for CI to run. I will post here once more once the pull request is actually ready to be reviewed.

With https://github.com/paritytech/substrate/pull/7895/commits/5d1d68218922ac2554557ac6f65e950cfa6a4aff I have rewritten .maintain/sentry-node and renamed it to ./maintain/local-docker-test-network. One can now spin up a test environment with two validators, one light client, Prometheus and Grafana via docker-compose -f .maintain/local-docker-test-network/docker-compose.yml up.
Bug that @svyatonik spotted, namely that polkadot.js/apps only reports "Remote fetch failed" is fixed with https://github.com/paritytech/substrate/pull/7895/commits/6da6207562d5b99fec6053a34c6f2b17e11adc3d. UI is still facing issues fetching data via light-client request API. Same issues appear on current master. I need to investigate this further, as it might as well be due to my setup.

With https://github.com/paritytech/substrate/pull/7895/commits/5d1d68218922ac2554557ac6f65e950cfa6a4aff I have rewritten .maintain/sentry-node and renamed it to ./maintain/local-docker-test-network. One can now spin up a test environment with two validators, one light client, Prometheus and Grafana via docker-compose -f .maintain/local-docker-test-network/docker-compose.yml up.
Bug that @svyatonik spotted, namely that polkadot.js/apps only reports "Remote fetch failed" is fixed with https://github.com/paritytech/substrate/pull/7895/commits/6da6207562d5b99fec6053a34c6f2b17e11adc3d. UI is still facing issues fetching data via light-client request API. Same issues appear on current master. I need to investigate this further, as it might as well be due to my setup.

So do I understand correctly that this should only be merged after https://github.com/paritytech/substrate/pull/7957 and possibly after https://github.com/paritytech/substrate/pull/7958 (or an equivalent solution)? Or is https://github.com/paritytech/substrate/pull/7958 not considered blocking for this PR?

So do I understand correctly that this should only be merged after https://github.com/paritytech/substrate/pull/7957 and possibly after https://github.com/paritytech/substrate/pull/7958 (or an equivalent solution)? Or is https://github.com/paritytech/substrate/pull/7958 not considered blocking for this PR?

So do I understand correctly that this should only be merged after #7957 and possibly after #7958 (or an equivalent solution)? Or is #7958 not considered blocking for this PR?

Correct. Paraphrasing the above. This pull request should not be merged before #7957. In addition this pull request should not be merged before finding a solution for the LightClientRequestHandler to be able to issue reputation changes with #7958 being one possible solution.

So do I understand correctly that this should only be merged after #7957 and possibly after #7958 (or an equivalent solution)? Or is #7958 not considered blocking for this PR?

Correct. Paraphrasing the above. This pull request should not be merged before #7957. In addition this pull request should not be merged before finding a solution for the LightClientRequestHandler to be able to issue reputation changes with #7958 being one possible solution.

I have tested this once more via the docker-compose setup. All outstanding comments and TODOs are addressed. I will go ahead and merge this pull request. Thanks @svyatonik @romanb @tomaka for the help!

bot merge


Both minify and sourcemaps settings are invalid

Both minify and sourcemaps settings are invalid
Describe the bug
I set minify to true and sourcemaps to false in the swcrc file, but it is still not compressed after packaging, and there is a map file
Input code
Config
module.exports = {
entry: {
'vue-custom-hooks': __dirname + "/lib/index.js",
},
output: {
path: __dirname + "/dist",
},
};
{
  "sourceMaps": false,
  "jsc": {
    "minify": {
      "compress": true,
      "mangle": true
    },
    "loose": true
  },
  "minify": true,
  "module": {
      "type": "umd",
      "strict": false,
      "strictMode": true,
      "lazy": false,
      "noInterop": false
    }
}

Expected behavior
No map file is generated and JS is compressed
Version
The version of @swc/core:
"@swc/core": "^1.2.81"
Additional context
Add any other context about the problem here.

Can you share more info?
I can't reproduce it.

你能分享更多信息吗？
我无法重现它。

package.json
{
"name": "swc-demo",
"version": "1.0.0",
"description": "",
"scripts": {
"test": "echo "Error: no test specified" && exit 1",
"build": "spack.config.js"
},
"author": "",
"license": "ISC",
"dependencies": {},
"devDependencies": {
"@swc/cli": "^0.1.49",
"@swc/core": "^1.2.81"
},
"resolutions": {
"terser": "npm:@swc/core"
}
}
This is the only file left.
Is there a possible cache problem?

.swcrc does not work with "terser": "npm:@swc/core".
.swcrc is a config file for swc.transform

I just deleted "terser": "NPM: @ SWC / core", and then added minify in the options of pack.config.js. The compression was successful. However, the sourcemaps configuration is still invalid.Can I remove the mapping file through configuration?
module.exports = {
entry: {
'vue-custom-hooks': __dirname + "/lib/index.js",
},
output: {
path: __dirname + "/dist",
},
options:{
"minify": true,
"sourceMaps": false
}
};

.swcrc does not work with "terser": "npm:@swc/core".
.swcrc is a config file for swc.transform

I just deleted "terser": "NPM: @ SWC / core", and then added minify in the options of pack.config.js. The compression was successful. However, the sourcemaps configuration is still invalid.Can I remove the mapping file through configuration?
module.exports = {
entry: {
'vue-custom-hooks': __dirname + "/lib/index.js",
},
output: {
path: __dirname + "/dist",
},
options:{
"minify": true,
"sourceMaps": false
}
};

same here.
spark command still create source maps even sourceMaps: false and more in js.map sources field with absolute path.
i guess should be relative.


Fix flow collection issues

Fix two issues related to the flow collection:

A race condition where a flow record can change while cached.
A invalid drop message for a packet that is accepted by policy.

Codecov Report

Merging #217 into master will increase coverage by 0.01%.
The diff coverage is 7.69%.

@@            Coverage Diff             @@
##           master     #217      +/-   ##
==========================================
+ Coverage   49.15%   49.16%   +0.01%
==========================================
  Files          33       33
  Lines        4321     4322       +1
==========================================
+ Hits         2124     2125       +1
  Misses       2000     2000
  Partials      197      197

Impacted Files
Coverage Δ

enforcer/datapath_tcp.go
37.52% <0%> (ø)
:arrow_up:

cmd/remoteenforcer/remotecollector.go
85.71% <100%> (+1.09%)
:arrow_up:

Continue to review full report at Codecov.

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


All the page content will be highlighted if the ssh is selected on detail page

Steps to reproduce:

On the ssh keys detail page, select the ssh key value to make it be highlighted
Go back to the previous page

Result:
While going back to the previous page, all the page content will be highlighted

Validated

Back to cause other problems, back code

Validated


[bug]: 3.2.0 - Recalling LoRa Settings does not remove additional LoRas

Is there an existing issue for this?

[X] I have searched the existing issues

OS
macOS
GPU
mps
VRAM
32
What version did you experience this issue on?
3.2.0
What happened?
In 3.2.0 the following Feature was added:

LoRAs are now able to be recalled with the "Use All" function

However restoring Settings this way will not remove any LoRas from the current selection, thus leading to a different
LoRa setup if additional/ different LoRas were used previously.
Screenshots
No response
Additional context
No response
Contact Details
No response

https://github.com/invoke-ai/InvokeAI/pull/4639


Added information on how to achieve it using visual studio

Explanation on how to do it using Visual Studio
Summary
Describe your changes here.
Fixes #11647 (if available)

@shankargurav Can you accept the remaining suggestion? Then, this is ready to merge.

@shankargurav Can you accept the remaining suggestion? Then, this is ready to merge.

yes, I think it should be ok now.

@shankargurav I apologize for missing those last updates. I approved your PR, and I'll :shipit: now.

@shankargurav I apologize for missing those last updates. I approved your PR, and I'll :shipit: now.

Np! thanks @BillWagner  for PR review and approval.


Real connection status

From the MySQLConnection isn't possible to access the real mysql connection status. The isConnected property only relies on the presence of a reference to the MYSQL object given by C connector. This makes all the package unusable unless you don't create a new connection each time it's needed. In fact it's not possible to know if the connection has been closed for some other reason that aren't in control of Swift server. For example in my case MySql server drops the connection after a period of inactivity, but the pool of connection provided gives the connection basing the choice only on a mutual exclusion rule.

@russanto Fixed in 0.13.1 . Thanks.


MNT: Re-rendered with conda-build 24.5.0, conda-smithy 3.36.0, and co…

…nda-forge-pinning 2<IP_ADDRESS>.02.50

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

I think this PR has served its purpose to debug the failures related to the MSVC ATL components. Closing.


Ci: Install Rust via dtolnay/rust-toolchain@master rather than rustup

The original way to install rust dependency will not check if rust is already installed, thus it would require rustup be installed on the ci machine already while self-hosted CI machine may not.
We use dtolnay/rust-toolchain to install rust installations because actions-rs has not been maintained for over 1 year.

@Xynnn007 See also: https://github.com/confidential-containers/confidential-containers/issues/230#issuecomment-2393222060

@BbolroC @mythi Hi, the PR is ready for review for now.


Update attachment_office_remote_doc_template.yml

Tightening regex scope

@morriscode i don't see any files changed here

Helps to commit

mimic failure is on a phishing test, investigating now to make sure i didn't tighten it too hard

gtg here


Complex Cases

[ ] https://github.com/neo4j/neo4j/commit/d3533c1a0716ca114d294b3ea183504c9725698f

Dir: community/server/src/main/java/org/neo4j/server/security/

ssl/SslCertificateFactory.java
ssl/Certificates.java

MultiMappings must be discussed. @tsantalis

@pouryafard75
What is the issue here?

@tsantalis
Inline Method Refactoring private ensureFolderExists(path File) : void is reported and the bodyMapper is also correct but the statement containing method invocation call is not matched. In other words, the following statements can also be mapped:

Line 92 parent => Line 74 child
Line 93 parent => Line 75 child

[ ] https://github.com/JetBrains/intellij-community/commit/04397f41107bd6de41b31d45a4e8e2ed65628bbe
There is a recursive method  checkForTestRoots. @tsantalis  Should we match
Line 139 parent commit testFolders.addAll(ModuleRootManager.getInstance(srcModule).getSourceRoots(JavaSourceRootType.TEST_SOURCE));
with Line 140 child commit testFolders.addAll(ModuleRootManager.getInstance(module).getSourceRoots(JavaSourceRootType.TEST_SOURCE));?

Line 139 parent is already matched with Line 132 child.

ensureFolderExists(certificatePath.getParentFile());
ensureFolderExists(privateKeyPath.getParentFile());

should match with
certificatePath.getParentFile().mkdirs();
privateKeyPath.getParentFile().mkdirs();

@pouryafard75
In case of duplicate mappings, as in case 1
we have a rule to discard the mappings involving a call to extracted or inlined method.
So, in this case the mappings shown in https://github.com/pouryafard75/RM-ASTDiff/issues/21#issuecomment-1418240311 will be discarded.
However, what we need is a sub-expression mapping between the expression passed as argument, which then becomes the expression used to call mkdirs()
We can generate these sub-expression mappings directly in the Extract/Inline Method refactoring objects,
without making mappings at statement level.

@tsantalis For case 2, the mappings are correct in my opinion.
I will add it to the test cases.

@pouryafard75
Case2 : L139 -> R132 is an exact match. Thus it should have higher priority than the inexact match L139 -> R140
The diff is correct.


Minor fixes, image updates, and grammar

Included grammatical edits, added/replaced extra imagery for context, & small content additions.

Hey Brian! Thanks for reviewing this, just made those edits :)


[Bug]

Describe the bug
When generating the code using just or flutter_rust_bridge_template the dart result doesn't compile:
flutter_rust_bridge_codegen -r native/src/api.rs -d lib/bridge_generated.dart

Codegen logs with RUST_LOG=debug environment variable
flutter pub get
Running "flutter pub get" in flutter_rust_bridge_template...        724ms
flutter_rust_bridge_codegen --rust-input native/src/api.rs --dart-output lib/bridge_generated.dart --c-output ios/Runner/bridge_generated.h --c-output macos/Runner/bridge_generated.h --dart-decl-output lib/bridge_definitions.dart --wasm
[2022-11-25T16:36:43Z DEBUG flutter_rust_bridge_codegen] configs=[Opts { rust_input_path: "/home/karl/Development/stroke/flutter_rust_bridge_template/native/src/api.rs", dart_output_path: "/home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_generated.dart", dart_decl_output_path: Some("/home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_definitions.dart"), c_output_path: ["/home/karl/Development/stroke/flutter_rust_bridge_template/ios/Runner/bridge_generated.h", "/home/karl/Development/stroke/flutter_rust_bridge_template/macos/Runner/bridge_generated.h"], rust_crate_dir: "/home/karl/Development/stroke/flutter_rust_bridge_template/native", rust_output_path: "/home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated.rs", class_name: "Native", dart_format_line_length: 80, skip_add_mod_to_lib: false, llvm_path: ["/opt/homebrew/opt/llvm", "/usr/local/opt/llvm", "/usr/lib/llvm-9", "/usr/lib/llvm-10", "/usr/lib/llvm-11", "/usr/lib/llvm-12", "/usr/lib/llvm-13", "/usr/lib/llvm-14", "/usr/lib/", "/usr/lib64/", "C:/Program Files/llvm", "C:/msys64/mingw64"], llvm_compiler_opts: "", manifest_path: "/home/karl/Development/stroke/flutter_rust_bridge_template/native/Cargo.toml", dart_root: Some("/home/karl/Development/stroke/flutter_rust_bridge_template"), build_runner: true, block_index: BlockIndex(0), skip_deps_check: false, wasm_enabled: true, inline_rust: false }]
[2022-11-25T16:36:43Z DEBUG lib_flutter_rust_bridge_codegen::source_graph] Trying to parse "/home/karl/Development/stroke/flutter_rust_bridge_template/native/src/api.rs"
[2022-11-25T16:36:43Z DEBUG lib_flutter_rust_bridge_codegen::source_graph] Trying to parse "/home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated.rs"
[2022-11-25T16:36:43Z WARN  lib_flutter_rust_bridge_codegen::source_graph] Skipping unresolvable module web (tried /home/karl/Development/stroke/flutter_rust_bridge_template/native/src/web.rs, /home/karl/Development/stroke/flutter_rust_bridge_template/native/src/web/mod.rs, /home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated/web.rs, /home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated/web/mod.rs, )
[2022-11-25T16:36:43Z WARN  lib_flutter_rust_bridge_codegen::source_graph] Skipping unresolvable module io (tried /home/karl/Development/stroke/flutter_rust_bridge_template/native/src/io.rs, /home/karl/Development/stroke/flutter_rust_bridge_template/native/src/io/mod.rs, /home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated/io.rs, /home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated/io/mod.rs, )
[2022-11-25T16:36:43Z DEBUG lib_flutter_rust_bridge_codegen::parser] parse_function function name: Ident(platform)
[2022-11-25T16:36:43Z DEBUG lib_flutter_rust_bridge_codegen::parser] parse_function function name: Ident(rust_release_mode)
[2022-11-25T16:36:43Z DEBUG lib_flutter_rust_bridge_codegen::tools] Guessing toolchain the runner is run into
[2022-11-25T16:36:43Z DEBUG lib_flutter_rust_bridge_codegen::commands] execute command: bin=sh args="-c \"flutter\" \"--version\"" current_dir=None cmd="sh" "-c" "\"flutter\" \"--version\""
Flutter 3.3.9 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b8f7f1f986 (3 days ago) • 2022-11-23 06:43:51 +0900
Engine • revision 8f2221fbef
Tools • Dart 2.18.5 • DevTools 2.15.0
[2022-11-25T16:36:44Z DEBUG lib_flutter_rust_bridge_codegen::commands] command="sh" "-c" "\"flutter\" \"--version\"" stdout= stderr=
[2022-11-25T16:36:44Z DEBUG lib_flutter_rust_bridge_codegen::tools] Checking presence of ffi in dependencies at /home/karl/Development/stroke/flutter_rust_bridge_template
[2022-11-25T16:36:44Z DEBUG lib_flutter_rust_bridge_codegen::tools] Checking presence of ffi in dependencies at /home/karl/Development/stroke/flutter_rust_bridge_template
[2022-11-25T16:36:44Z DEBUG lib_flutter_rust_bridge_codegen::tools] Checking presence of ffigen in dev_dependencies at /home/karl/Development/stroke/flutter_rust_bridge_template
[2022-11-25T16:36:44Z DEBUG lib_flutter_rust_bridge_codegen::tools] Checking presence of ffigen in dev_dependencies at /home/karl/Development/stroke/flutter_rust_bridge_template
[2022-11-25T16:36:44Z INFO  lib_flutter_rust_bridge_codegen] Picked config: Opts { rust_input_path: "/home/karl/Development/stroke/flutter_rust_bridge_template/native/src/api.rs", dart_output_path: "/home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_generated.dart", dart_decl_output_path: Some("/home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_definitions.dart"), c_output_path: ["/home/karl/Development/stroke/flutter_rust_bridge_template/ios/Runner/bridge_generated.h", "/home/karl/Development/stroke/flutter_rust_bridge_template/macos/Runner/bridge_generated.h"], rust_crate_dir: "/home/karl/Development/stroke/flutter_rust_bridge_template/native", rust_output_path: "/home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated.rs", class_name: "Native", dart_format_line_length: 80, skip_add_mod_to_lib: false, llvm_path: ["/opt/homebrew/opt/llvm", "/usr/local/opt/llvm", "/usr/lib/llvm-9", "/usr/lib/llvm-10", "/usr/lib/llvm-11", "/usr/lib/llvm-12", "/usr/lib/llvm-13", "/usr/lib/llvm-14", "/usr/lib/", "/usr/lib64/", "C:/Program Files/llvm", "C:/msys64/mingw64"], llvm_compiler_opts: "", manifest_path: "/home/karl/Development/stroke/flutter_rust_bridge_template/native/Cargo.toml", dart_root: Some("/home/karl/Development/stroke/flutter_rust_bridge_template"), build_runner: true, block_index: BlockIndex(0), skip_deps_check: false, wasm_enabled: true, inline_rust: false }
[2022-11-25T16:36:44Z INFO  lib_flutter_rust_bridge_codegen] Phase: Parse source code to AST, then to IR
[2022-11-25T16:36:44Z DEBUG lib_flutter_rust_bridge_codegen::source_graph] Trying to parse "/home/karl/Development/stroke/flutter_rust_bridge_template/native/src/api.rs"
[2022-11-25T16:36:44Z DEBUG lib_flutter_rust_bridge_codegen::source_graph] Trying to parse "/home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated.rs"
[2022-11-25T16:36:44Z WARN  lib_flutter_rust_bridge_codegen::source_graph] Skipping unresolvable module web (tried /home/karl/Development/stroke/flutter_rust_bridge_template/native/src/web.rs, /home/karl/Development/stroke/flutter_rust_bridge_template/native/src/web/mod.rs, /home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated/web.rs, /home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated/web/mod.rs, )
[2022-11-25T16:36:44Z WARN  lib_flutter_rust_bridge_codegen::source_graph] Skipping unresolvable module io (tried /home/karl/Development/stroke/flutter_rust_bridge_template/native/src/io.rs, /home/karl/Development/stroke/flutter_rust_bridge_template/native/src/io/mod.rs, /home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated/io.rs, /home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated/io/mod.rs, )
[2022-11-25T16:36:44Z DEBUG lib_flutter_rust_bridge_codegen::parser] parse_function function name: Ident(platform)
[2022-11-25T16:36:44Z DEBUG lib_flutter_rust_bridge_codegen::parser] parse_function function name: Ident(rust_release_mode)
[2022-11-25T16:36:44Z INFO  lib_flutter_rust_bridge_codegen] Phase: Transform IR
[2022-11-25T16:36:44Z INFO  lib_flutter_rust_bridge_codegen] Phase: Generate Rust code
[2022-11-25T16:36:44Z INFO  lib_flutter_rust_bridge_codegen] Phase: Generate Dart code
[2022-11-25T16:36:44Z DEBUG lib_flutter_rust_bridge_codegen::generator::dart] distinct_input_types=[]
[2022-11-25T16:36:44Z DEBUG lib_flutter_rust_bridge_codegen::generator::dart] distinct_output_types=[Primitive(Bool), Primitive(I32), Delegate(PrimitiveEnum { ir: IrTypeEnumRef { name: "Platform" }, repr: I32 })]
[2022-11-25T16:36:44Z DEBUG lib_flutter_rust_bridge_codegen::commands] execute format_rust path=["/home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated.rs", "/home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated.io.rs", "/home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated.web.rs"]
[2022-11-25T16:36:44Z DEBUG lib_flutter_rust_bridge_codegen::commands] execute command: bin=rustfmt args="/home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated.rs /home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated.io.rs /home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated.web.rs" current_dir=None cmd="rustfmt" "/home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated.rs" "/home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated.io.rs" "/home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated.web.rs"
[2022-11-25T16:36:44Z DEBUG lib_flutter_rust_bridge_codegen::commands] command="rustfmt" "/home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated.rs" "/home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated.io.rs" "/home/karl/Development/stroke/flutter_rust_bridge_template/native/src/bridge_generated.web.rs" stdout= stderr=
[2022-11-25T16:36:44Z INFO  lib_flutter_rust_bridge_codegen] Phase: Generating Dart bindings for Rust
[2022-11-25T16:36:44Z DEBUG lib_flutter_rust_bridge_codegen::commands] execute cbindgen rust_crate_dir=/home/karl/Development/stroke/flutter_rust_bridge_template/native c_output_path=/tmp/.tmpnxjqI0.h
[2022-11-25T16:36:44Z DEBUG lib_flutter_rust_bridge_codegen::commands] cbindgen config: Config {
        header: None,
        includes: [],
        sys_includes: [
            "stdbool.h",
            "stdint.h",
            "stdlib.h",
        ],
        after_includes: None,
        trailer: None,
        include_guard: None,
        pragma_once: false,
        no_includes: true,
        autogen_warning: None,
        include_version: false,
        namespace: None,
        namespaces: None,
        using_namespaces: None,
        braces: SameLine,
        line_length: 100,
        tab_width: 2,
        line_endings: LF,
        language: C,
        cpp_compat: false,
        style: Both,
        sort_by: None,
        usize_is_size_t: false,
        parse: ParseConfig {
            parse_deps: false,
            include: None,
            exclude: [],
            expand: ParseExpandConfig {
                crates: [],
                all_features: false,
                default_features: true,
                features: None,
                profile: Debug,
            },
            clean: false,
            extra_bindings: [],
        },
        export: ExportConfig {
            include: [],
            exclude: [],
            rename: {},
            pre_body: {},
            body: {},
            prefix: None,
            item_types: [],
            renaming_overrides_prefixing: false,
            mangle: MangleConfig {
                rename_types: None,
                remove_underscores: false,
            },
        },
        macro_expansion: MacroExpansionConfig {
            bitflags: false,
        },
        layout: LayoutConfig {
            packed: None,
            aligned_n: None,
        },
        function: FunctionConfig {
            prefix: None,
            postfix: None,
            must_use: None,
            args: Auto,
            rename_args: None,
            swift_name_macro: None,
            sort_by: None,
            no_return: None,
        },
        structure: StructConfig {
            rename_fields: None,
            derive_constructor: false,
            derive_eq: false,
            derive_neq: false,
            derive_lt: false,
            derive_lte: false,
            derive_gt: false,
            derive_gte: false,
            derive_ostream: false,
            associated_constants_in_body: false,
            must_use: None,
        },
        enumeration: EnumConfig {
            rename_variants: None,
            rename_variant_name_fields: SnakeCase,
            add_sentinel: false,
            prefix_with_name: false,
            derive_helper_methods: false,
            derive_const_casts: false,
            derive_mut_casts: false,
            cast_assert_name: None,
            must_use: None,
            derive_tagged_enum_destructor: false,
            derive_tagged_enum_copy_constructor: false,
            derive_tagged_enum_copy_assignment: false,
            derive_ostream: false,
            enum_class: true,
            private_default_tagged_enum_constructor: false,
        },
        constant: ConstantConfig {
            allow_static_const: true,
            allow_constexpr: true,
            sort_by: None,
        },
        defines: {},
        documentation: true,
        documentation_style: Auto,
        documentation_length: Full,
        pointer: PtrConfig {
            non_null_attribute: None,
        },
        only_target_dependencies: false,
        cython: CythonConfig {
            header: None,
            cimports: {},
        },
    }
[2022-11-25T16:36:45Z DEBUG cbindgen::bindgen::parser] Parsing crate native
[2022-11-25T16:36:45Z INFO  cbindgen::bindgen::parser] Take native::Platform - opaque (Enum is not marked with a valid #[repr(prim)] or #[repr(C)].).
[2022-11-25T16:36:45Z INFO  cbindgen::bindgen::parser] Take native::DartPort.
[2022-11-25T16:36:45Z INFO  cbindgen::bindgen::parser] Take native::DartPostCObjectFnType.
[2022-11-25T16:36:45Z INFO  cbindgen::bindgen::parser] Take native::store_dart_post_cobject.
[2022-11-25T16:36:45Z INFO  cbindgen::bindgen::parser] Take native::WireSyncReturnStruct.
[2022-11-25T16:36:45Z INFO  cbindgen::bindgen::parser] Take native::wire_platform.
[2022-11-25T16:36:45Z INFO  cbindgen::bindgen::parser] Take native::wire_rust_release_mode.
[2022-11-25T16:36:45Z INFO  cbindgen::bindgen::parser] Take native::free_WireSyncReturnStruct.
[2022-11-25T16:36:45Z WARN  cbindgen::bindgen::ir::cfg] Missing `[defines]` entry for `target_family = "wasm"` in cbindgen config.
[2022-11-25T16:36:45Z WARN  cbindgen::bindgen::ir::cfg] Missing `[defines]` entry for `target_family = "wasm"` in cbindgen config.
[2022-11-25T16:36:45Z WARN  cbindgen::bindgen::ir::cfg] Missing `[defines]` entry for `target_family = "wasm"` in cbindgen config.
[2022-11-25T16:36:45Z WARN  cbindgen::bindgen::ir::cfg] Missing `[defines]` entry for `target_family = "wasm"` in cbindgen config.
[2022-11-25T16:36:45Z WARN  cbindgen::bindgen::ir::cfg] Missing `[defines]` entry for `target_family = "wasm"` in cbindgen config.
[2022-11-25T16:36:45Z WARN  cbindgen::bindgen::ir::cfg] Missing `[defines]` entry for `target_family = "wasm"` in cbindgen config.
[2022-11-25T16:36:45Z DEBUG lib_flutter_rust_bridge_codegen::commands] execute ffigen c_path=/tmp/.tmpnxjqI0.h dart_path=/tmp/.tmpFdTtoQ llvm_path=["/opt/homebrew/opt/llvm", "/usr/local/opt/llvm", "/usr/lib/llvm-9", "/usr/lib/llvm-10", "/usr/lib/llvm-11", "/usr/lib/llvm-12", "/usr/lib/llvm-13", "/usr/lib/llvm-14", "/usr/lib/", "/usr/lib64/", "C:/Program Files/llvm", "C:/msys64/mingw64"]
[2022-11-25T16:36:45Z DEBUG lib_flutter_rust_bridge_codegen::commands] ffigen config:
            output: '/tmp/.tmpFdTtoQ'
            name: 'NativeWire'
            description: 'generated by flutter_rust_bridge'
            headers:
              entry-points:
                - '/tmp/.tmpnxjqI0.h'
              include-directives:
                - '/tmp/.tmpnxjqI0.h'
            comments: false
            preamble: |
              // ignore_for_file: camel_case_types, non_constant_identifier_names, avoid_positional_boolean_parameters, annotate_overrides, constant_identifier_names

            llvm-path:
               - '/opt/homebrew/opt/llvm'
               - '/usr/local/opt/llvm'
               - '/usr/lib/llvm-9'
               - '/usr/lib/llvm-10'
               - '/usr/lib/llvm-11'
               - '/usr/lib/llvm-12'
               - '/usr/lib/llvm-13'
               - '/usr/lib/llvm-14'
               - '/usr/lib/'
               - '/usr/lib64/'
               - 'C:/Program Files/llvm'
               - 'C:/msys64/mingw64'

[2022-11-25T16:36:45Z DEBUG lib_flutter_rust_bridge_codegen::commands] ffigen config_file: NamedTempFile("/tmp/.tmpxVJNV4")
[2022-11-25T16:36:45Z DEBUG lib_flutter_rust_bridge_codegen::tools] Guessing toolchain the runner is run into
[2022-11-25T16:36:45Z DEBUG lib_flutter_rust_bridge_codegen::commands] execute command: bin=sh args="-c \"flutter\" \"pub\" \"run\" \"ffigen\" \"--config\" \"/tmp/.tmpxVJNV4\"" current_dir=Some("/home/karl/Development/stroke/flutter_rust_bridge_template") cmd="sh" "-c" "\"flutter\" \"pub\" \"run\" \"ffigen\" \"--config\" \"/tmp/.tmpxVJNV4\""
Running in Directory: '/home/karl/Development/stroke/flutter_rust_bridge_template'
Input Headers: [/tmp/.tmpnxjqI0.h]
[SEVERE] : Header /tmp/.tmpnxjqI0.h: Total errors/warnings: 1.
[SEVERE] :     /tmp/.tmpnxjqI0.h:1:10: fatal error: 'stdbool.h' file not found [Lexical or Preprocessor Issue]
Finished, Bindings generated in /tmp/.tmpFdTtoQ
[2022-11-25T16:36:50Z DEBUG lib_flutter_rust_bridge_codegen::commands] command="sh" "-c" "\"flutter\" \"pub\" \"run\" \"ffigen\" \"--config\" \"/tmp/.tmpxVJNV4\"" stdout= stderr=
[2022-11-25T16:36:50Z INFO  lib_flutter_rust_bridge_codegen] Phase: Running build_runner
[2022-11-25T16:36:50Z INFO  lib_flutter_rust_bridge_codegen] Phase: Formatting Dart code
[2022-11-25T16:36:50Z DEBUG lib_flutter_rust_bridge_codegen::commands] execute format_dart path=["/home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_generated.dart", "/home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_definitions.dart", "/home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_generated.web.dart", "/home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_generated.io.dart"] line_length=80
[2022-11-25T16:36:50Z DEBUG lib_flutter_rust_bridge_codegen::commands] execute command: bin=sh args="-c \"dart\" \"format\" \"--line-length\" \"80\" \"/home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_generated.dart\" \"/home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_definitions.dart\" \"/home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_generated.web.dart\" \"/home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_generated.io.dart\"" current_dir=None cmd="sh" "-c" "\"dart\" \"format\" \"--line-length\" \"80\" \"/home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_generated.dart\" \"/home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_definitions.dart\" \"/home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_generated.web.dart\" \"/home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_generated.io.dart\""
Formatted /home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_generated.dart
Formatted /home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_definitions.dart
Formatted /home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_generated.web.dart
Formatted /home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_generated.io.dart
Formatted 4 files (4 changed) in 0.29 seconds.
[2022-11-25T16:36:50Z DEBUG lib_flutter_rust_bridge_codegen::commands] command="sh" "-c" "\"dart\" \"format\" \"--line-length\" \"80\" \"/home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_generated.dart\" \"/home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_definitions.dart\" \"/home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_generated.web.dart\" \"/home/karl/Development/stroke/flutter_rust_bridge_template/lib/bridge_generated.io.dart\"" stdout= stderr=
[2022-11-25T16:36:50Z INFO  lib_flutter_rust_bridge_codegen] Success!
[2022-11-25T16:36:50Z INFO  flutter_rust_bridge_codegen] Now go and use it :)
cd native && cargo fmt
dart format .
Formatted 8 files (0 changed) in 0.30 seconds.

To Reproduce
Step 1: Clone repository
git clone https://github.com/Desdaemon/flutter_rust_bridge_template

cd flutter_rust_bridge_template

When opening a emulator and running flutter run the Project compiles correctly.
Step 1.2 pub get
flutter pub get

Step 2.1 Run just
just

The first thing which is noticable is that git status reports that all generated files have changed which is weird because we didn't change anything inside of the project and the files where already generated correctly.
The generated files now do no longer compile see the generated files below.
Step 2.2
Alternative to running just, running flutter_rust_bridge_codegen -r native/src/api.rs -d lib/bridge_generated.dart
Leads to similar result with everything in one file.
Expected behavior
Running just or flutter_rust_bridge_codegen should create dart files that compile.
Generated binding code
// in bridge_generated.io.dart:

// AUTO GENERATED FILE, DO NOT EDIT.
// Generated by `flutter_rust_bridge`@ 1.50.0.
// ignore_for_file: non_constant_identifier_names, unused_element, duplicate_ignore, directives_ordering, curly_braces_in_flow_control_structures, unnecessary_lambdas, slash_for_doc_comments, prefer_const_literals_to_create_immutables, implicit_dynamic_list_literal, duplicate_import, unused_import, prefer_single_quotes, prefer_const_constructors, use_super_parameters, always_use_package_imports, annotate_overrides, invalid_use_of_protected_member, constant_identifier_names, invalid_use_of_internal_member

import "bridge_definitions.dart";
import 'dart:convert';
import 'dart:async';
import 'package:flutter_rust_bridge/flutter_rust_bridge.dart';
import 'bridge_generated.dart';
export 'bridge_generated.dart';
import 'package:meta/meta.dart';
import 'dart:ffi' as ffi;

class NativePlatform extends FlutterRustBridgeBase<NativeWire> {
  NativePlatform(ffi.DynamicLibrary dylib) : super(NativeWire(dylib));
// Section: api2wire

// Section: finalizer

// Section: api_fill_to_wire

}

// ignore_for_file: camel_case_types, non_constant_identifier_names, avoid_positional_boolean_parameters, annotate_overrides, constant_identifier_names

// AUTO GENERATED FILE, DO NOT EDIT.
//
// Generated by `package:ffigen`.

/// generated by flutter_rust_bridge
class NativeWire implements FlutterRustBridgeWireBase {
  /// Holds the symbol lookup function.
  final ffi.Pointer<T> Function<T extends ffi.NativeType>(String symbolName)
      _lookup;

  /// The symbols are looked up in [dynamicLibrary].
  NativeWire(ffi.DynamicLibrary dynamicLibrary)
      : _lookup = dynamicLibrary.lookup;

  /// The symbols are looked up with [lookup].
  NativeWire.fromLookup(
      ffi.Pointer<T> Function<T extends ffi.NativeType>(String symbolName)
          lookup)
      : _lookup = lookup;

  void store_dart_post_cobject(
    int ptr,
  ) {
    return _store_dart_post_cobject(
      ptr,
    );
  }

  late final _store_dart_post_cobjectPtr =
      _lookup<ffi.NativeFunction<ffi.Void Function(ffi.Int)>>(
          'store_dart_post_cobject');
  late final _store_dart_post_cobject =
      _store_dart_post_cobjectPtr.asFunction<void Function(int)>();

  void wire_platform(
    int port_,
  ) {
    return _wire_platform(
      port_,
    );
  }

  late final _wire_platformPtr =
      _lookup<ffi.NativeFunction<ffi.Void Function(ffi.Int64)>>(
          'wire_platform');
  late final _wire_platform =
      _wire_platformPtr.asFunction<void Function(int)>();

  void wire_rust_release_mode(
    int port_,
  ) {
    return _wire_rust_release_mode(
      port_,
    );
  }

  late final _wire_rust_release_modePtr =
      _lookup<ffi.NativeFunction<ffi.Void Function(ffi.Int64)>>(
          'wire_rust_release_mode');
  late final _wire_rust_release_mode =
      _wire_rust_release_modePtr.asFunction<void Function(int)>();

  void free_WireSyncReturnStruct(
    WireSyncReturnStruct val,
  ) {
    return _free_WireSyncReturnStruct(
      val,
    );
  }

  late final _free_WireSyncReturnStructPtr =
      _lookup<ffi.NativeFunction<ffi.Void Function(WireSyncReturnStruct)>>(
          'free_WireSyncReturnStruct');
  late final _free_WireSyncReturnStruct = _free_WireSyncReturnStructPtr
      .asFunction<void Function(WireSyncReturnStruct)>();
}

typedef bool = ffi.NativeFunction<ffi.Int Function(ffi.Pointer<ffi.Int>)>;

Error after running codegen:
is the same as above just in one file (i guess that pretty obvious),
for a better idea of the generated code see the linked github repo.
Github Fork with generated files.
Full Code see : https://github.com/kistenklaus/flutter_rust_bridge_template_not_working for generated code.
branch after_just contains the flutter_rust_bridge_template after running just.
branch after_flutter_rust_bridge_codegen contains the flutter_rust_bridge_template after running:
flutter_rust_bridge_codegen -r native/src/api.rs -d lib/bridge_generated.dart --c-output ios/Runner/bridge_generated.h

OS
Manjaro
Version of flutter_rust_bridge_codegen
1.50.0
Flutter info
[✓] Flutter (Channel stable, 3.3.9, on Manjaro Linux 5.15.76-1-MANJARO, locale en_GB.UTF-8)
    • Flutter version 3.3.9 on channel stable at /home/karl/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b8f7f1f986 (3 days ago), 2022-11-23 06:43:51 +0900
    • Engine revision 8f2221fbef
    • Dart version 2.18.5
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /home/karl/Android/Sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /home/karl/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /sbin/google-chrome-stable

[✓] Linux toolchain - develop for Linux desktop
    • clang version 14.0.6
    • cmake version 3.24.2
    • ninja version 1.11.1
    • pkg-config version 1.8.0

[✓] Android Studio (version 2021.2)
    • Android Studio at /home/karl/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/212.5712.43.2112.8815526
    • Flutter plugin version 71.0.2
    • Dart plugin version 212.5744
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] Android Studio (version 2021.3)
    • Android Studio at /home/karl/.local/share/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335
    • Flutter plugin version 71.0.3
    • Dart plugin version 213.7433
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Ultimate Edition (version 2022.2)
    • IntelliJ at /home/karl/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.4345.14
    • Flutter plugin version 71.0.5
    • Dart plugin version 222.4345.14

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Manjaro Linux 5.15.76-1-MANJARO
    • Chrome (web)    • chrome • web-javascript • Google Chrome 106.0.5249.91

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

If you wan't you close this issue otherwise here is a link to the troubleshooting page for others having the same problem:
https://github.com/fzyzcjy/flutter_rust_bridge/blob/master/book/src/troubleshooting.md

So it is solved now? Happy to hear that


coveralls // goals

added project goals and code coverage badge to readme
added configuration for coveralls.io to integrate for travis with dev dependency

Changes Unknown when pulling c4dd8c8fd5ebbb316d51b827075c191213a0ed2e on jidoka1902:master into ** on barbieswimcrew:master**.


added ImportPathRoot config

Up until now the assumption sourcegraph repo path == git remote URI == go import path was usually true. If we want to break this assumption, then we'll need some mapping between repo path and go import path. This mapping then needs to be used for creating the synthesized gopath (implemented in this PR) and for mapping other repositories' import paths back to the repo path (not yet implemented).

LGTM


feat(test): introduced a base class for all ContractNegotiationStore

variants
What this PR changes/adds
Adds a base class for all (integration) tests of the ContractNegotiationStore.
Why it does that
to have a common test specification for all stores, and to provide consistent behaviour.
Further notes

the InMemory implementation now supports leases as well
the schema.sql was moved to the test resources, and given a unique name.

Linked Issue(s)
Closes #1940
Checklist

[x] added appropriate tests?
[x] performed checkstyle check locally?
[ ] added/updated copyright headers?
[x] documented public classes/methods?
[x] added/updated relevant documentation?
[x] assigned appropriate label? (exclude from changelog with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report

Merging #1952 (16ff855) into main (bbd8ab7) will increase coverage by 0.02%.
The diff coverage is 68.42%.

@@            Coverage Diff             @@
##             main    #1952      +/-   ##
==========================================
+ Coverage   62.78%   62.81%   +0.02%
==========================================
  Files         781      781
  Lines       16608    16637      +29
  Branches     1080     1086       +6
==========================================
+ Hits        10428    10450      +22
- Misses       5729     5733       +4
- Partials      451      454       +3

Impacted Files
Coverage Δ

...store/CosmosContractNegotiationStoreExtension.java
0.00% <0.00%> (ø)

...ipse/dataspaceconnector/spi/persistence/Lease.java
0.00% <0.00%> (ø)

...otiation/store/CosmosContractNegotiationStore.java
65.06% <68.42%> (+1.67%)
:arrow_up:

...tiationstore/InMemoryContractNegotiationStore.java
89.74% <76.47%> (-5.91%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Collapse: events not working

Following events are not firing:

data-on-drop
data-on-up
data-on-dropdown-create

It looks like none of the Collapse events are working

Metro 4 - v4.3.2. Built at: 20/10/2019 17:53:59

May i ask if there has been a relevant change related to events?
Several DOM-defined events cited in the documentation are not working (see Listview, Collapse, and possibly others?)

Collapse component has three events: onExpand, onCollapse, onCollapseCreate
https://metroui.org.ua/collapse.html#_dropdown_options

Please see this sample: https://jsfiddle.net/s31Lnpy7/
Collapse events defined as attributes do not trigger

https://codepen.io/olton/pen/NWWwjLe

Ah the event names are different, so it's a documentation issue.
Thanks


[dv/dpi] tcpserver single connection and retry select on EINTR

Two small patches to the tcp_server code, used by other transactors such as jtagdpi and dmidpi. These improve the usability of the transactors in a shared, remote environment such as an emulator.

heads up @sameo

Closing this one as we merged them to master via the other PR.


Add sample trading strategy

@epns152 I believe you should discuss it with @rok-povsic .
I do not see any block for merge.


[Do not merge] Remove worldwide priority data

Delete all join table content for worldwide priorities

Edition relationships
Document relationships
Edition dependencies

Deletes the worldwide priorities
Deletes data before deleting tables, which will be in follow-up PR

https://trello.com/c/AtYGioxe/321-worldwide-priorities-deleting-the-format-medium
Depends on https://github.gds/gds/router-data/pull/535 being deployed.
Originally written as part of:
https://trello.com/c/UbEYd9y5/328-remove-worldwide-priorities-data-from-whitehall
Old PR: https://github.com/alphagov/whitehall/pull/2247
cc @boffbowsh

Tiny nitpicky comment, otherwise 👍


DO NOT MERGE: Clone #17252 for seed job

See #17252
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Seed Job


Implement User Authentication

Description: Develop a secure user authentication system using OAuth2. Implement login and registration functionalities.

Tasks:

Research and Choose OAuth2 Provider

Investigate and select a suitable OAuth2 provider (e.g., Google, GitHub, Microsoft).

Set Up OAuth2 Provider

Register the application with the chosen OAuth2 provider.
Obtain client ID and client secret.

Create Login Page

Design and implement a login page where users can initiate the OAuth2 login process.

Implement OAuth2 Flow

Integrate the OAuth2 flow in the backend to handle login and registration.
Store user information securely in the database.

Define User Model

Create a user model to store authenticated user details.
Implement database schema and migrations.

Session Management

Implement session management to maintain user authentication state.
Ensure secure session handling and storage.

Error Handling

Add error handling for authentication failures and invalid sessions.
Display appropriate error messages to users.

Unit Tests

Write unit tests for authentication endpoints and user model validations.
Ensure thorough test coverage for the authentication flow.

Documentation

Document the authentication setup process and usage instructions.
Provide code examples and configuration details.

These tasks should provide a more comprehensive roadmap for implementing user authentication in your project.

Remove all OAuth authentication logic.


babel-preset-react-app 6.1.0 not working

Laravel Mix Version: 4.0.6
Node Version: 10.14.1
NPM Version: 6.4.1 (I am using yarn 1.12.3)
OS: Mojave 10.14.2

Description:
I am trying to include babel-preset-react-app 6.1.0 for react purpose and put snippet below on .babelrc, but the merging is not working with presets config.
{
  "presets": ["react-app"]
}

But if I put snippet below with plugins config, it works.
{
  "plugins": ["@babel/plugin-proposal-class-properties"]
}

Steps To Reproduce:
Here is my config (I use js instead of react and it works well when I am using mix 2.1.14 with babel-preset-react-app 3.1.2. I just try to upgrade the dependency.
mix
  .js('resources/assets/app/js/app.js', 'public/js');

Same happening for me but with transform-vue-jsx.
The .babelrc file seems to be ignored. It was working with 2.x.
My .babelrc file:
{
  "presets": ["env"],
  "plugins": ["transform-vue-jsx"]
}

@JeffreyWay my config output looks like below
{
  presets:
<EMAIL_ADDRESS>      [Object]],
      '/Users/your_user/your_project/node_modules/babel-preset-react-app/index.js'],
  plugins:
<EMAIL_ADDRESS><EMAIL_ADDRESS>        [Object]]],
  cacheDirectory: true,
}


Extremely high ram usage

Description
After running for a bit (2 weeks) or less after heavy code sessions using coder I see heavy RAM usage. Usually I restart the instance after I see over 4 gigs or so. Today I was during some heavy coding, git usage + tracking then noticed that coder was unresponsive. I checked the RAM allocated (dynamic, instance has the ability to use all free RAM available on the hypervisor) which in this case happened to be 9058MB and realized that the coder had run out of RAM. Unfortunately, in my haste to kill the VM I forgot to check the coder logs. I did manage to grab a couple of a screenshots. This is behavior expected? Thanks!

@vincentchu37 which version is this on particular? We already solved some of the memory usage issues over in v2 so it might be you still using v1 which is really bad memory management

I'm using latest prod 1.1156. Cool thanks for the update though!!

Awesome, please try out v2 Preview since we have more compatibility and better memory optimization than v1 as well and let us know how it'll turn out.

yup .. I have 60gb ram .. sometimes like 5% chance, it takes 20gb xD like a memory leak or something.

yup .. I have 60gb ram .. sometimes like 5% chance, it takes 20gb xD like a memory leak or something.

Likewise, please try out v2. We've been using it internally and a lot of people switched to it as well so please use v2 from then on. We fixed the memory issues that most of you encountered in v1.

I think OP has managed to acknowledge my recommendation so I'll mark this closed for now.


[Bug Report] DISABLE_MISS_PENALTY no longer working

Checklist before creating an issue:

[X] I'm using the latest version of Apollo.
[X] I'm using the latest version of Lunar Client. (Relaunched in the last hour)
[X] I'm running Apollo on ONLY the backend server OR the proxy. (YOU CANNOT RUN IT ON BOTH)
[X] I do NOT have both Apollo and the LEGACY API installed on the same server. (YOU CANNOT RUN BOTH AT THE SAME TIME)
[X] I've gathered all screenshots, logs and appropriate information related to creating a bug report.

Issue Description
The plugin was working fine, and since a few days it does not work and the players can no longer enjoy the DISABLE_MISS_PENALTY feature.
I tested so much things in order to get it working but nothing works.
Tested on different spigots, tested it with or without plugins, and still it does not work
Can there be a conflict with the Badlion-API ? (edit : Not working without Badlion API anyway)
It does not work on Paper 1.8 (or any spigot), and only Apollo.
No error in the console at all.
Reproduction steps
1. Download Paper 1.8
2. Download latest Apollo
2b. Set disable-miss-penalty: true
3. Download https://www.spigotmc.org/resources/cps-alert-original.19181/
4. Download an autoclick that can go above 21 cps
5. Start server and game
6. Start autoclicking while hitting air with more than 21 cps, see that the server only see 20cps constantly (so the plugin is not working because we still have the miss penalty)
7. Go in creative mode and do the same thing
8. See that the cps go more than 21 cps

Code Snippet (If applicable, if not write N/A)
N/A
Versions
1.8
Platforms
Spigot / Bukkit
Server Version
1.8
Modules
Optifine
Screenshots
Only two plugins on Paper 1.8 :
https://www.noelshack.com/2024-41-2-1728423773-image.png

Clicking at 60 cps in the air while in survival mode only show 20 cps serverside (so the plugin is not working because we still have the miss penalty)
https://www.noelshack.com/2024-41-2-1728423773-image2.png

Clicking at 60 cps in the air while in creative mode show 60 cps serverside
https://www.noelshack.com/2024-41-2-1728423773-image3.png

Clicking at 60 cps on an entity while in survival mode show 60 cps serverside
https://www.noelshack.com/2024-41-2-1728423773-image4.png

Contact Information
Discord - foxley

Additional Context (Examples, Links, ETC)
No response

@theFoxley can you enable friend request on discord? (or you can add my account: "Trentin")

@theFoxley can you enable friend request on discord? (or you can add my account: "Trentin")

@theFoxley can you enable friend request on discord? (or you can add my account: "Trentin")

May I continue with this issue or will you wait for him?

@theFoxley can you enable friend request on discord? (or you can add my account: "Trentin")

May I continue with this issue or will you wait for him?

I contacted him on Discord, he provided me a test branch of Lunar in order to test a fix that will be released in a few days.
The fix was working so I hope it will be released soon !

Ok, thank you for the info!


feat(dropdown): introduce narrow version

Fixes IBM/carbon-components-react#1209.
Requires review by: @IBM/carbon-designers
Anybody - Feel free to suggest the naming!
Changelog
New

bx--dropdown--narrow CSS class for width:auto

Testing / Reviewing
Testing should make sure dropdown is not broken.

@asudoh can you spin up a code pen or something with a preview to review. (I'm still not great at pulling things down locally)

Hi @aagonzales here is a codepen. https://codepen.io/alisonjoseph/pen/QVmdKx
this doesn't actually change the styling at all, just allow the width of the dropdown to be equal to the width of the content inside it instead of being 100% width of the container. Does that make sense?

On second thought @asudoh I'm not sure the class name dropdown--narrow is the best word for this. dropdown--auto dropdown--auto-width 🤔 hmm

Thank you for your help creating the CodePen! I like the idea of auto-width and made a change as such with an update to README.md.


update(docs): version params

This PR:

Changes the order of how documentation versions are displayed under releases.
Moves the configuration for that into a separate file, where all required changes take place when archiving.
Adds an Available Documentation Versions page to display these inside the documentation.

Signed-off-by: Vicente J. Jiménez Miras<EMAIL_ADDRESS>
What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind translation

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area blog

/area documentation

/area videos

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: vjjmiras
Once this PR has been reviewed and has the lgtm label, please assign issif for approval by writing /assign @issif in a comment. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/cc @leogr

LGTM label has been added.  Git tree hash: b6c8d05dd4b3dd4142c38dfb8154a3d6efb2ea9a


[improvement](index compaction)Use tmp dir as the temporary index writer path

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run p0

run p0


Added better USA projection and debugged references

For review @beets @IanCostello @jeffreyoldham .

Comparison of old vs. new projection:


WIP: Update readme with description and how to

Need some help on the usage bits.

@ttk2 Good idea. I didn't focus much on the readmes and examples. As an addition what do you think of maintaining a decent docs inside source code that could be rendered nicely on docs.rs?

@mpapierski rustdoc is a good thing to do, but don't go overboard with it. We just want a short summary here for now.

so uh, how do we use clarity? :P


Cannot find data for protobuf-java

PURL: pkg:maven/com.google.protobuf/protobuf-java
Query Command:
select cpe from purl2cpe where purl = 'pkg:maven/com.google.protobuf/protobuf-java';

@TerrySunTW thank you for reporting this, the purl is now added to the dataset


added transformer files

Added what I'm calling "transformer" files. These take input data from a state and convert it to the standardized format found here.
Basic programming model is: subclass BaseTransformer (base_transformer.py) for each state. I have provided an example with the WATransformer (wa_transformer.py) class which works on the Washington example data in the repo.
I have also included a subclass template in state_transformer_template.py.
It is likely that our basic model will need some more work before it's ready to go. Writing this code has made me aware of the brittleness of using the usaddress package: there were several bad misses on human-readable addresses. I'll open an issue for this.
In addition, we need to have a comprehensive list of values for factor variables (e.g. political party).

Sounds good. Will make the change.


[ML-9941] Support both hdfs:/ and file:///

TODO: test HDFS

Let's add a helper method like:
from six.moves.urllib.parse import urlparse

def standardize_path(data_path):
  parsed = urlparse(data_path)
  scheme = parsed.scheme
  if scheme == '':
    scheme = 'file'
  return scheme + ':' + parsed.path

And at the beginning of make_spark_converter, add a line:
cache_dir = standardize_path(cache_dir)

Then it is fine. We don't need to change other code.

How to test HDFS delete ?

Update doc for make_spark_converter param cache_dir, say it support /a/b, file:///a/b, hdfs:///a/b/ url.
change the param name cache_dir to cache_url, represent it is a url which may include schema.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@3c03a1b). Click here to learn what that means.
The diff coverage is 87.3%.

@@            Coverage Diff            @@
##             master       #9   +/-   ##
=========================================
  Coverage          ?   85.25%
=========================================
  Files             ?       80
  Lines             ?     4285
  Branches          ?      674
=========================================
  Hits              ?     3653
  Misses            ?      514
  Partials          ?      118

Impacted Files
Coverage Δ

petastorm/reader.py
90.33% <77.77%> (ø)

petastorm/spark/spark_dataset_converter.py
93.68% <88.88%> (ø)

Continue to review full report at Codecov.

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

Update PR description.


Auto-tuned Rate Limiter

whether the rust-rocksdb support auto tuned rate limiter which was mentioned in this paper last year?
it item seems has an obviously impact on read/write latencies.

PTAL @huachaohuang

RocksDB supports that, we just need to add a wrapper for it, are you interested in adding one?

Of course!
I will submit a PR ASAP.

#257


Option list not displaying correctly

Time and Time are both dropdowns, but their "active" status is being hidden under other items.

Also placement seems off on android

Same problem. someone started working in one workaround for this?

@agrass I had commented in this issue pertaining to this dropdown issue:
https://github.com/facebook/react-native/issues/698
It appears that this cannot be achieved with the current implementation of react-native. I did have an idea of adding a component at the very end of my component hierarchy, and just moving that based off of what selector is pressed, but this seems like overkill. I'm still in development and hoping the issue is fixed before Alpha.

@alexprice91
I made pull request for this see https://github.com/alinz/react-native-dropdown/pull/38/commits/1064cee0c45ccd4a3d39faa07cbe9b723d1e7ff7
actually it's just easy step, just add background colour to the items.js file.  and the you have to check the Options List in the root tag.
See my example:
<ScrollView>
   <View>
          <Text style={styles.labelText} >Attendance Type</Text>
          <Select
            style={{width: 500}}
            width={500}
            ref="selectType"
            optionListRef={this._getOptionList.bind(this)}
            defaultValue="Select Type..."
            onSelect={this._change.bind(this)}
            >
            <Option>Roll Call</Option>
            <Option>Boys Awake</Option>
            <Option>Led Player</Option>
            <Option>Out For Mass</Option>
            <Option>Attendance</Option>
          </Select>

          <Text style={styles.labelText}>Time </Text>
          <DatePickerIOS
            date={this.state.date}
            mode="time"
            timeZoneOffsetInMinutes={this.state.timeZoneOffsetInHours * 60}
            minuteInterval={30}
            onDateChange={this.onDateChange}
          />

     </View>
     <OptionList style={{backgroundColor:'#fff'}} ref="optionType"/>
</ScrollView>

Great @purnomoeko , I'm going to test your workaround.
someone already solved the bad placement problem (to the right) in Android?

@purnomoeko ah great. I am on vacation until tomorrow. I will look it tomorrow. Thanks!

@purnomoeko I tried and this did not fix my problem. @agrass I cannot remember how I got it to work, but the android problem no longer seems to be there.

Changing the background color of the items works as @purnomoeko said
here a screenshot to show it:

I added a margin of 2 there (the white lines) that actually creates the same problem.
So the main problem there is the padding, the one in the method:

const renderedItems = React.Children.map(items, (item) => { ... }

that creates the gap, maybe it should be set as a property? and not have any default padding/margin set. Maybe it should be the same for the items' background colours?

Great, the other problem of the second image of @alexprice91 (bad placement problem to the right) it's fixed removing this styles that use the examplejustifyContent: 'center', alignItems: 'center' in the main view and changing it for padding or margin.

Yeah, but I am still seeing an issue with content rendered bellow the list, being placed above the list. (Image 1). I think (Image 2) is just a styling mishap on my end.


Want to add a beginner friendly Js project incrementinator 2.0 with a nice UI using CSS Flexbox

Is your feature request related to a problem? Please describe.
No, It's just a beginner friendly JS project with a nice UI using CSS flex box.
It uses:

functions() (function to increment  and reset)
DOM
document.getElementById() ( to get element using id )
innertext ( to change the text )

Languages Used

HTML
CSS (flexbox)
Js

Live Link
https://prat1k-gupta.github.io/incrementinator2.0/
Additional context

Screenshot of the project

completed this issue please check my PR

I want to work on this under GSSOC2022. Here is my discord profile DHANANJOY DEY | Contributor#7903


Fix running PhantomJS in Ubuntu 15.10

This fixes #314. Newer version of karma-phantomjs2-launcher can run tests in Ubuntu 15.10

it's now deprecated, you should upgrade to official karma-phantomjs-launcher

Agreed

@pgrzeszczak would you fix the merge conflict and the failing build?

Fixed, now it looks ok.

@pgrzeszczak - Thanks :)


Add left panel/navbar to the workflow editor workspace

Purpose
This PR adds the left panel/navbar to the workflow editor workspace to improve user experience with the workflow workspace.
This change was motivated by the feedback that the workflow editor workspace feels completely separated from the rest of Texera due to the change of UI, which can potentially harm user experience.
Changes
Add the workflow editor workspace as a child of the dashboard component in app-routing.module.ts.
Add the left panel/navbar in the workflow editor workspace.
Make the Texera logo a part of the left panel/navbar instead of the top bar.
Hide top bar in the workflow editor workspace as it has its own top bar and user icon.
Old UI
Previous workspace

Previous dashboard component (left panel + top bar)

New UI
New workspace with left panel

New dashboard component

For the "Previous workspace", show the complete screenshot.  Show it AFTER the "Previous dashboard component" screenshot.

Purpose
This PR adds the left panel/navbar to the workflow editor workspace to improve user experience with the workflow workspace. This change was motivated by the feedback that the workflow editor workspace feels completely separated from the rest of Texera due to the change of UI, which can potentially harm user experience.
Changes
Add the workflow editor workspace as a child of the dashboard component in app-routing.module.ts. Add the left panel/navbar in the workflow editor workspace. Make the Texera logo a part of the left panel/navbar instead of the top bar. Hide top bar in the workflow editor workspace as it has its own top bar and user icon. Rerender workspace's main canvas when the left panel collapse and uncollapse. Added Texera mini icon when the left panel is collapsed.
Workspace
Previous workspace  New workspace with left panel open  New workspace with left panel collapsed
Dashboard
Previous dashboard component (left panel + top bar)  New dashboard component

Please unify the name to "navbar" instead of left panel.

Please unify the name to "navbar" instead of the left panel.

I made the changes mentioned in the comments. Please take a look.
On a side note, I keep failing the github checks with the error "Cannot find module './labels-to-names'". Do you have any tips on how to fix it?

I made the changes mentioned in the comments. Please take a look. On a side note, I keep failing the github checks with the error "Cannot find module './labels-to-names'". Do you have any tips on how to fix it?

It looks good to me. Since you changed the components, please make changes to the test files (spec files).


Add starts_with and ends_with to hstring

Implements #907. Adds start_with and ends_with members similar to std::basic_string in C++ 20.

Reminder, we need some basic tests to complete this PR. You can just add a simple test to the test_cpp20 project that covers these new functions.

All good - the CI build unfortunately won't build remote branches but I've merged and run the internal build and all is green!


render unsupported commands and symbols as red source text

This provides feedback for users as to what going wrong without having to look at the console.  This is especially useful in interactive systems used by content creators.

As an option, presumably.

You bet.  There could be a color parameter too.

If you're feeling crafty, it could be like
handleError: (text) => `\color{red}{${text}}`

or something.

Showing other errors might be useful, but it might be annoying to see stuff like Expected '}', got 'EOF' at the end of rendering as you're typing.

MathJax seems to just shows your input in a box for errors like that. $\x{$ displays as:

That shouldn't be too difficult.

Input in a box easy enough with current API (catch error, put text in a span).  (Though a built-in option with default style could be handy.)
But accepting unknown \foo and going on with parsing would be a real advance.
(Of course it has to be optional — if I'm trying KaTeX and falling back to MathJax, I wan't an error for \foo in case MJ does handle it)


(slightly) more readable migration filenames?

What would you think about inserting an underscore between the date and time in the generated migration filenames?
for the odd occasion when typing (tab completing) in a terminal, i found it hard to scan the list of migrations to figure out which number to add to disambiguate and continue tab completing:
$ rm migrations/2016061<TAB>
20160612132127_add_foo/<PHONE_NUMBER>3422_add_bar/<PHONE_NUMBER>3204_add_baz/
20160614153823_add_quu/<PHONE_NUMBER>2959_add_quux/

vs something like?
20160612_132127_add_foo/      20160614_173422_add_bar/       20160615_123204_add_baz/
20160614_153823_add_quu/      20160615_122959_add_quux/

I'm pretty sure you can write it like 20160612-132127_add_foo or even 2016-06-12T13-21-27_add_foo. The 'version' is determined by the filename part before the first _.

Browsing through the migration code, it looks like for all entries in the migrations/ directory, migration_from(path) is called, which tries to build a tuple struct with (path, version), where the 'version' is determined by version_from(path). This is where it gets interesting: It just splits the string at the first _ and returns the first part:
.split("_")
.nth(0)

the dates are prepended by the cli when calling e.g. diesel migration generate foo.
indeed, as you've discovered, internally diesel seems to only use the first part:
table __diesel_schema_migrations
+----------------+----------------------------+
|        version | run_on                     |
|----------------+----------------------------|
|<PHONE_NUMBER>2127 | 2016-06-15 11:38:36.130818 |
|<PHONE_NUMBER>3823 | 2016-06-15 11:38:36.130818 |
|<PHONE_NUMBER>3422 | 2016-06-15 11:38:36.130818 |
|<PHONE_NUMBER>2959 | 2016-06-15 11:38:36.130818 |
|<PHONE_NUMBER>3204 | 2016-06-15 11:38:36.130818 |
+----------------+----------------------------+
SELECT 5
Time: 0.002s

hence this issue

Ah, got it. So you basically want to change the generate output, not the underlying migration organisation stuff.

yes, though having the identifiers in the migrations table also separated with an underscore might also be helpful i guess

I'm fine with improving the readability of these. I like @killercup's suggestion of using dashes instead of underscores. I'd like to continue to keep the rules of "what is the version" simple (and right now that rule is anything before the first underscore)

This can be close now that #827 has been merged :)


Allow setting op signature type on pk token creation

Before, we were assuming that the PK token was always being created with the oidp's ID token. That assumption changed in #48, but the code was still setting the signature type as oidc instead of oidc_gq. Therefore, the validator thought the provider's signature was non-gq and went through that flow where it failed because the signature was gq.
Relates to issue https://github.com/openpubkey/openpubkey/issues/62

Thanks for taking a look at this and figuring how the bug was introduced. How tricky would it be to unit test this so that we catch regressions?

Thanks for taking a look at this and figuring how the bug was introduced. How tricky would it be to unit test this so that we catch regressions?

Found a super easy way to do this. I just took our existing tests and had them check the provider's signature type instead of assuming it based on test data. d4fabf2


AWS.InvalidAssociate

Hi i am getting below error, i have regisetred with same email id for aws.amazon.com and affilicate.amazon.in but  gettting invalidassociate error while calling the search api. can you help me how to fix the isseu
{ Code: 'AWS.InvalidAssociate',
Message: 'Your AKIAIYDMPWR4MTDKSKIQ is not registered as an Amazon Associate. Please register as an associate at https://affiliate-program.amazon.com/gp/associates/join/landing/main.html.' },
RequestID: '4d8076ff-5a63-4f1a-adcb-f7a481c73d16' }

Sorry I cannot provide support for anything on Amazon's side, assuming your issue is that your account is actually not valid. If you're just setting some parameter incorrectly, I may be able to help, but I'll need you to post your code in that case. If you do, please reproduce the problem with a small amount of code and post that, not your full application.


The more information on Azure Diag extension is insufficient and out of date

The more information on Azure Diag extension is an old blog post and not authoratively sufficient for enterprise customers.

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

ID: d2de55b5-9d87-fdb9-3040-6bdf3cf8ff0b
Version Independent ID: 4e3fbc53-a0d2-182a-9d57-b94caba27fbf
Content: Azure VM extensions and features for Linux
Content Source: articles/virtual-machines/extensions/features-linux.md
Service: virtual-machines-linux
Product: unspecified
GitHub Login: @danielsollondon
Microsoft Alias: danis

@markmassad Thank you for your feedback! We have assigned this issue to the author to investigate further and take the right course of action.

@markmassad Thank you for your feedback! I'm circling back on some issues that were opened, where the article has been updated multiple times, but the issues were never closed. I think the issues have been addressed in this article, and there is also this article about the diagnostics extension: https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/diagnostics-linux
I'll close this for now, please reopen this issue or create another if you still have concerns.
#please-close


OCPEDGE-1126: feat: make lvms microshift aware during vgmanager mounting

readjusts the mount directory to /var/lib to not induce conflicts with ostree state management. paths are still synchronized from /etc/topolvm via a watch from /etc to /var/lib in microshift
See https://github.com/openshift/microshift/pull/3535#discussion_r1653042872 for the reasoning background and https://github.com/openshift/microshift/pull/3535/commits/a66137a80fc6952ebc959f7f661df4dc734886cf for adjustment on the implementation on microshift

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 57.88%. Comparing base (bf9fc3a) to head (0e150d3).

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #652      +/-   ##
==========================================
- Coverage   57.95%   57.88%   -0.08%
==========================================
  Files          53       53
  Lines        4212     4212
==========================================
- Hits         2441     2438       -3
- Misses       1529     1531       +2
- Partials      242      243       +1

Files
Coverage Δ

internal/controllers/vgmanager/lvmd/lvmd.go
55.31% <ø> (ø)

... and 3 files with indirect coverage changes

/lgtm


Admin As Boilerplate

Checklist

[X] There are no similar issues or pull requests for this yet.

Is your feature related to a problem? Please describe.
Hey,
The principal of FastAPI is to be SOLID, however I found this repo as not following SOLID.
The SQLAdmin is aware of framework and database, however it shouldn't be.
So how about shifting this project to a Boilerplate? or maybe as another repo? where you can clone it, and take benefit of the written code as a template?
Currently I'm doing something similar, after I found out that what i'm doing as well isn't solid and a good practice.
Describe the solution you would like.
generate a Boilerplate or template
Describe alternatives you considered
I don't see any
Additional context
No response

Hey,
I think my idea was to solve only one problem and I wanted to limit the framework and database.
Anyway I think it's a good suggestion, so what exactly do you think I can do?

I think my idea was to solve only one problem and I wanted to limit the framework and database.

but this isn't SOLID :(
we use FastAPI to have best experience of SOLID pattern design.
What you did was great job, but it's about how you represent it!
I was actually doing something you did until yesterday, to limit framework and database to make integration with fastapi "faster"
but we have a saying:

The only way to go fast is to go well.

so I took a look at this Boilerplate,
https://github.com/iam-abbas/FastAPI-Production-Boilerplate
and I was like "hmm, how about I write my library as Boilerplate template? with adding what I want?"
Boilerplate template gives you well-deserved and well-structured speed ;) Even seb himself wrote some boilerplates.
maybe that's something you can do, as another repo, or maybe with me, just take it as offer :)
btw it appears that you're Iranian, would be great if we can have you in our community!

Yeah, I'm open to improve this project, so any suggestion or contributions are welcome.
And about setting up a new project, I have some ideas for a refactor or a separate project based on this one, if you are interested we can talk through email so we can include your ideas in that.

btw it appears that you're Iranian, would be great if we can have you in our community!

Yes, I am and sure, I'll be honoured :)