Resubmission Group 126: 2311070_2310574_2310548_2310993

Nguyễn Xuân Huy Hoàng    2311070
Trần Vĩnh Dũng                    2310574
Bùi Trọng Hiển                     2310993
Lê Quang Dũng                    2310548
Policy Description
1. First Fit Decreasing (FFD):

Description: This is a heuristic algorithm used for problems such as bin packing or cutting stock. In FFD, items are first sorted in decreasing order of size. Then, each item is placed into the first bin that has enough remaining space.
Advantages: Simple to implement and provides a reasonably good approximation for many problems.
Applications: Often used in manufacturing and logistics to minimize waste or optimize storage.

2. Actor Critic (AC):

Description: Actor-Critic is a reinforcement learning method that combines two components:

Actor: Responsible for selecting actions based on the policy.
Critic: Evaluates the actions taken by the actor and provides feedback (criticizes) to improve the policy.

Working Principle: The actor updates the policy directly using the feedback from the critic, which assesses the value function.
Advantages: Balances exploration and exploitation and is useful in continuous action spaces.
Applications: Widely used in robotics, game AI, and optimization problems.

Implementation Code
Code is implemented in main/student_submissions/s2210xxx/policy2311070_2310574_2310548_2310993.py
Result
Seed 8
1. (First Fit Decreasing) FFD

2. Actor Critic (AC)

I made this new PR to correct my old PR #476


Adds a rotation transform before calculating tephra depth at gridX, Y

@sfentress
This work isn't complete yet, but you can at least adjust the wind-direction in the controls and change the distrobution.
[#165290447]  Students can use a "set wind direction" block in their programs.
https://www.pivotaltracker.com/story/show/165290447

Added the wind direction block functionality.


Route53 - Reusable Delegation Sets

Fixes #3897
Fixes #3879

Codecov Report

Merging #4817 (0c99982) into master (2fd6f34) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #4817      +/-   ##
==========================================
- Coverage   95.05%   95.05%   -0.01%
==========================================
  Files         589      589
  Lines       62743    62813      +70
==========================================
+ Hits        59643    59704      +61
- Misses       3100     3109       +9

Flag
Coverage Δ

servertests
36.13% <55.40%> (+0.01%)
:arrow_up:

unittests
94.99% <100.00%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

moto/route53/urls.py
85.71% <ø> (ø)

moto/route53/exceptions.py
94.23% <100.00%> (+0.61%)
:arrow_up:

moto/route53/models.py
94.69% <100.00%> (+0.47%)
:arrow_up:

moto/route53/responses.py
97.18% <100.00%> (-0.03%)
:arrow_down:

moto/resourcegroupstaggingapi/models.py
83.66% <0.00%> (-0.58%)
:arrow_down:

moto/sns/models.py
96.82% <0.00%> (-0.40%)
:arrow_down:

moto/efs/models.py
88.21% <0.00%> (-0.36%)
:arrow_down:

moto/sqs/models.py
96.75% <0.00%> (-0.18%)
:arrow_down:

moto/config/models.py
99.21% <0.00%> (-0.14%)
:arrow_down:

... and 1 more

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 2fd6f34...0c99982. Read the comment docs.


Atttribute error in generating traces using chakra.et_converter.et_converter using Docker

python3 -m chakra.et_converter.et_converter --input_type Text --input_filename ../../../inputs/workload/ASTRA-sim-1.0/Resnet50_DataParallel.txt --output_filename ../../../inputs/workload/ASTRA-sim-2.0/Resnet50_DataParallel --num_npus 64 --num_dims 1 --num_passes 1
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/chakra/et_converter/et_converter.py", line 106, in main
converter.convert()
File "/usr/local/lib/python3.8/dist-packages/chakra/et_converter/text2chakra_converter.py", line 147, in convert
self.convert_data_parallel(f, num_layers)
File "/usr/local/lib/python3.8/dist-packages/chakra/et_converter/text2chakra_converter.py", line 202, in convert_data_parallel
self.add_parent(fwd_comp_node, layers[idx-1].fwd_comp_node)
File "/usr/local/lib/python3.8/dist-packages/chakra/et_converter/text2chakra_converter.py", line 136, in add_parent
child_node.parent.append(parent_node.id)
AttributeError: parent
Kindly help to solve this. Even with docker I am not able to generate the traces.

Could have more information about it. If I manually modify text2chakra_converter.py with the attribute check, I will have
AttributeError: Protocol message Node has no "parent" field.

this is the solution:  https://github.com/mlcommons/chakra-old/pull/74/commits/8e2f3b4e089c302fdd65a9b183671a5a4ebdfcef

Hello, I'm in/usr/local/lib/python3.8 / dist - packages/available/et_def/et_def proto according to your modifications, still hint AttributeError.what I should do?Looking forward to your reply.~

I am also facing the same problem. I have been trying this from past 1 week but couldn't resolve it.
Traceback (most recent call last):
File "/home/astra/Desktop/astra-sim/extern/graph_frontend/chakra/et_converter/et_converter.py", line 106, in main
converter.convert()
File "/home/astra/Desktop/astra-sim/extern/graph_frontend/chakra/et_converter/text2chakra_converter.py", line 147, in convert
self.convert_data_parallel(f, num_layers)
File "/home/astra/Desktop/astra-sim/extern/graph_frontend/chakra/et_converter/text2chakra_converter.py", line 202, in convert_data_parallel
self.add_parent(fwd_comp_node, layers[idx-1].fwd_comp_node)
File "/home/astra/Desktop/astra-sim/extern/graph_frontend/chakra/et_converter/text2chakra_converter.py", line 136, in add_parent
child_node.parent.append(parent_node.id)
AttributeError: 'Node' object has no attribute 'parent

python3 -m chakra.et_converter.et_converter --input_type Text --input_filename ../../../inputs/workload/ASTRA-sim-1.0/Resnet50_DataParallel.txt --output_filename ../../../inputs/workload/ASTRA-sim-2.0/Resnet50_DataParallel --num_npus 64 --num_dims 1 --num_passes 1
Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/chakra/et_converter/et_converter.py", line 106, in main converter.convert() File "/usr/local/lib/python3.8/dist-packages/chakra/et_converter/text2chakra_converter.py", line 147, in convert self.convert_data_parallel(f, num_layers) File "/usr/local/lib/python3.8/dist-packages/chakra/et_converter/text2chakra_converter.py", line 202, in convert_data_parallel self.add_parent(fwd_comp_node, layers[idx-1].fwd_comp_node) File "/usr/local/lib/python3.8/dist-packages/chakra/et_converter/text2chakra_converter.py", line 136, in add_parent child_node.parent.append(parent_node.id) AttributeError: parent
Kindly help to solve this. Even with docker I am not able to generate the traces.

The reason why you are facing this error is that there are issues with the connection of submodules with their corresponding repos. You can resolve this error just by replacing the **child_node.parent.append()** with **child_node.data_deps.append()**. Because the child_node doesnot have the attribute named parent in the et_def_pb2


Make jsonObfuscator concurrency-safe by internal state isolation

What does this PR do?
Isolates internal state when parsing a JSON payload, allowing to use jsonObfuscator concurrency-safe.
Describe how to test/QA your changes

[x] Reproduced in a unit test, included in this PR.

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

I measured the impact of allocating the new internal state struct and I found that it was significant (in bytes and nanoseconds scale):
main:
BenchmarkObfuscateJSON/elasticsearch.body.1-10                                           1381185               855.3 ns/op           384 B/op          7 allocs/op

This PR:
BenchmarkObfuscateJSON/elasticsearch.body.1-10                                           1000000              1053 ns/op             576 B/op         13 allocs/op
BenchmarkObfuscateJSON/obfuscate.mongo.json.keep_values-10                               1979707               606.8 ns/op           400 B/op         11 allocs/op

I applied two optimizations (out.Grow() and bytes.Trim() instead of strings.Trim()) that improved performance, setting it closer to the original implementation:
BenchmarkObfuscateJSON/elasticsearch.body.1-10                                           1268534               943.5 ns/op           440 B/op          9 allocs/op
BenchmarkObfuscateJSON/obfuscate.mongo.json.keep_values-10                               2123896               549.2 ns/op           312 B/op          7 allocs/op

PS: if we apply the optimizations to main, we see that the performance impact of the fix would be proportionally to the baseline, doubling allocation. At least it has been mitigated and set almost to the original implementation's performance.
BenchmarkObfuscateJSON/elasticsearch.body.1-10                                           1585716               754.8 ns/op           248 B/op          3 allocs/op

Optimizations and release notes splitted in separate PR #19682


[EPIC] Release Gravitino 0.5.0

Describe the proposal
Describe the proposal
This issue tracks all the works that should be done to release the Gravitino 0.5.0.
Task list

[x] branch cut and release preparation work. @yuqi1129
[x] License check @justinmclean
[x] source and package release @yuqi1129
[x] Image release and playground update @qqqttt123
[x] maven repo publish. @yuqi1129
[x] javadoc @yuqi1129
[ ] doc publish @ch3yne
[x] release notes @yuqi1129
[ ] Publish release message to Slack and other community channel @xunliu

As discussed with @xunliu offline, we plan to add python related codes in branch-0.5, and we also need to release python package to pypi. FYI @yuqi1129

@yuqi1129 please close this issue when everything is done.

@yuqi1129 please close this issue when everything is done.

Got it.


Sitemap XML generator

Create a sitemap xml generator.
Similar to: https://www.xml-sitemaps.com/

Hey @Bashamega,
I would like to work on this issue, can you assign it to me please?


User event DocPermissionResourceImpl.cascadeDocumentPermissions is not schema compliant

When setting permissions on an object (with cascade), an invalid event of type DocPermissionResourceImpl.cascadeDocumentPermissions is generated.
The error that occurs during processing is:
The content of element 'Update' is not complete. One of '{After}' is expected.

The event should use an After element, instead of Before.

I believe this has been fixed by #2839 and #2830

@p-kimberley are you happy to close this one as I think it has been covered by the other issues?


fix memory leaking caused by r.max and r.min

Interesting! Is it possible to add a test to catch this? I'm not sure if the ones that use valgrind are 100% accurate now that you found this

@aviggiano Valgrind should catch all memory leaks. It would be interesting to find out that it does not.

I found this memory leak via 'leak'
Have an awesome day
✉✉✉✉✉✉✉✉✉✉✉✉
Arthur lee
Sent from my iPhone

在 2021年7月13日，下午9:07，Daniel Lemire @.***> 写道：

@aviggiano Valgrind should catch all memory leaks. It would be interesting to find out that it does not.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

leaks reports that:
Path:            /Users/USER/*/redis-server
Load Address:    0x108432000
Identifier:      redis-server
Version:         ???
Code Type:       X86-64
Platform:        macOS
Parent Process:  tclsh8.5 [44989]

Date/Time:       2021-07-14 15:17:31.120 +0800
Launch Time:     2021-07-14 15:17:27.944 +0800
OS Version:      macOS 11.1 (20C69)
Report Version:  7
Analysis Tool:   /usr/bin/leaks

Physical footprint:         11.5M
Physical footprint (peak):  12.1M
----

leaks Report Version: 4.0
Process 46651: 30663 nodes malloced for 25584 KB
Process 46651: 6 leaks for 480 total leaked bytes.

    6 (480 bytes) << TOTAL >>

      2 (160 bytes) ROOT LEAK: 0x7fd24af72b10 [128]
         1 (32 bytes) 0x7fd24af72af0 [32]

      2 (160 bytes) ROOT LEAK: 0x7fd24af72c70 [128]
         1 (32 bytes) 0x7fd24af5f4b0 [32]

      2 (160 bytes) ROOT LEAK: 0x7fd24e02d070 [128]
         1 (32 bytes) 0x7fd24e02d050 [32]

I'm not sure why you guys did not found this leak by Valgrind, and leaks is also new to me.
But after I added call to RedisModule_AutoMemory, everything works well 😁

Cool, I didn't know about it.
In any case, it's much more probable that our Valgrind tests are not 100% correct, so I'll have to take a look at them. I'll just add some tests to catch this issue before merging this PR

Hi there
I just figured that the valgrind tests were disabled due to an old redis issue that's already been fixed.
In any case, after re-enabling it, I wasn't able to reproduce this leak, even though it is quite obvious that RedisModule_AutoMemory is missing here. I believe that, in order to reproduce it, there must be a specific sequence of commands that will lose the pointer reference.
The docs explains that auto memory eliminates the need of calling RedisModule_CloseKey, RedisModule_FreeCallReply and RedisModule_FreeString, so probably it has to do with creating a roaring bitmap, then calling max/min then deleting it??? Not sure...
If you have any ideas (or a sequence of commands to reproduce the bug) I'm happy to add more tests. Otherwise I'll just merge and add a new issue to make the tests more robust

The docs explain that auto memory eliminates the need of calling RedisModule_CloseKey, RedisModule_FreeCallReply and RedisModule_FreeString, so probably it has to do with creating a roaring bitmap, then calling max/min then deleting it??? Not sure...

LGTM,
/* Mark an object as freed in the auto release queue, so that users can still
 * free things manually if they want.
 *
 * The function returns 1 if the object was actually found in the auto memory
 * pool, otherwise 0 is returned. */
int autoMemoryFreed(RedisModuleCtx *ctx, int type, void *ptr) {
    if (!(ctx->flags & REDISMODULE_CTX_AUTO_MEMORY)) return 0;

... ...

}

And I have also investigated in RedisModule_AutoMemory. AFAIK, if this is option is switched off, module memory operation such as FreeString will not take effect, and memory free should be called manually.

Merging and opening a new issue here https://github.com/aviggiano/redis-roaring/issues/90 to improve Valgrind tests


[ja] update chart link

en PR https://github.com/kubernetes/website/pull/33615/files
/assign @atoato88
/assign @nasa9084

/lgtm

frozen by #36171 but I think k/website has already been unfrozen
/retest

/approve


0xC0000005 When opening a specific exe

Brief description of your issue
I created an exe file through Godot Engine that contains the game data. The so-called Embed PCK mode (PCK (game data) inside EXE).
If the embedded PCK was not encrypted, then there are no errors, if the embedded PCK was encrypted, then System Informer crashes.

Steps to reproduce (optional)
SystemInformer_WLEILCBPNVMIKXZ_DumpFile.zip
https://disk.yandex.com/d/Dbx0hY1583UCVA
Run TestEmbeddedEncrypted.exe from the archive along with System Informer to get the error.
Expected behavior (optional)
As well as TestEmbedded.exe TestEmbeddedEncrypted.exe should not cause System Informer crash.
Actual behavior (optional)
No response
Environment (optional)
Windows 10 Pro 22H2 19045.2846

Thanks, fixed in latest nightly 👍


[Accessible Pressables] Use CONST for accessibilityRole

Problem
We have plain-text accessibility roles across the app for all our accessible pressable components.
Solution
Use a CONST instead to prevent typos and make the available options more obvious to future developers.

Proposal
Please re-state the problem that we are trying to solve in this issue.
Update to USD button not showing when we are connecting to Bank Account while adding cards in Workspace
What is the root cause of that problem?
We don't show the button to update the currency to USD if the selected currency for the workspace is not USD
What changes do you think we should make in order to solve the problem?
We have hasUnsupportedCurrency variable in the ReimbursementAccountPage, we can use it to show the button that will update the currency to USD for a workspace.
What alternative solutions did you explore? (Optional)

@fedirjh Are you still owed payment for this PR review? https://github.com/Expensify/App/pull/21916


Automated cherry pick of #10967: fix(keystone): avoid panic when call logclient

Cherry pick of #10967 on release/3.7.
#10967: fix(keystone): avoid panic when call logclient

Codecov Report

Merging #10968 (7e35db1) into release/3.7 (0ff3997) will increase coverage by 5.20%.
The diff coverage is 0.00%.

@@               Coverage Diff                @@
##           release/3.7   #10968       +/-   ##
================================================
+ Coverage         5.98%   11.19%    +5.20%
================================================
  Files              848      147      -701
  Lines           131795    16923   -114872
================================================
- Hits              7887     1894     -5993
+ Misses          123206    14836   -108370
+ Partials           702      193      -509

Flag
Coverage Δ

aFlag
11.19% <0.00%> (+5.20%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/apis/const.go
0.00% <0.00%> (ø)

pkg/apis/input.go
0.00% <ø> (ø)

pkg/apis/list.go
0.00% <ø> (ø)

pkg/baremetal/tasks/baseprepare.go
0.00% <0.00%> (ø)

pkg/baremetal/tasks/bm_register.go
0.00% <0.00%> (ø)

pkg/baremetal/tasks/ipmiprobe.go
0.00% <0.00%> (ø)

pkg/baremetal/tasks/stop.go
0.00% <0.00%> (ø)

pkg/cloudcommon/validators/validators.go
62.39% <0.00%> (-0.69%)
:arrow_down:

pkg/monitor/alerting/conditions/reducer.go
77.27% <0.00%> (-13.94%)
:arrow_down:

pkg/util/imagetools/imagetools.go
40.50% <0.00%> (-2.74%)
:arrow_down:

... and 718 more

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 6c5a8f6...7e35db1. Read the comment docs.


Implement Kazuha CA, Fix Beidou C6, Kokomi A4/Skill, Ganyu Bloom, NA/CA/Plunge snapshot timing

Implement Kazuha CA
Fix Beidou C6, now start right after burst initial hit
Change Kokomi A4 to be dynamic
Change Ganyu Bloom to include CA travel time
Fix NA/CA/Plunge snapshot timing for most chars (expect catalyst and bow)
Raiden polearm CA don't share ICD with NA
Skyward/Prototype passive should start at cast, not after anim
Fix Electro Traveler skill particle (was Cryo)
Change Geo Traveler A2 to scale off NormalAttackDMG%
Allow Kokomi Skill to snapshot burst bonus if swapped out early (before 2nd tick)

The change from PostBurst to PreBurst I'm also not sure about because I don't know the actual timing of those things. Do we have evidence to support these changes?

maybe i should revert this change.. all i know is that the passive start on cast if the atk buff anim can be trusted.

Looked at most of it. The Kokomi changes I'm not sure about because I (still) don't know how she works.

Kokomi NA/CA don't snapshot A4. it is possible to buff NA when doing N1 > Q
as for Kokomi skill it used to keep the burst dmg bonus in sim, when swapping out after 2nd tick.
the skill snapshot window start at 1st and end a bit before 2nd tick, and it only snapshot the burst dmg bonus.
i'm not entirely sure about the timing, so for now i coded it to allow for N1 before swapping.
and the snapshot only happens if you swap out while in that window and have burst active.
https://library.keqingmains.com/evidence/characters/hydro/kokomi#snapshot-burst-dmg-bonus-onto-bake-kurage-by-switching


Remove unused usings.

Just a nonsense one here. I hopefully have some real stuff coming soon and don't want to lose anything in the noise.


PDO_SQLSRV Debian jessie

How to install driver in debian jessie?

Hi @netopvh ,
You can use PECL to install the drivers.
sudo pecl install sqlsrv-4.2.0preview
sudo pecl install pdo_sqlsrv-4.2.0preview

You can also download the binaries here  .

thanks

Feel free to re-open the issue if you still have questions.


Encryption

I have not found a way to encrypt in the Kotlin Multiplatform library like in the Android / iOS platform libraries.
Obviously this has not been implemented yet and we request to support this feature.

Thanks for the input. We already have an issue to track this #227. I have updated the description of that to actually indicate what is was about and will close this as a duplicate.


Method registration tiles: having three methods has extra padding on the third item

There's a regression where the third MFA method tile has extra padding on its row. The tiles display fine when there's two per row.

I feel like originally this third item did not stretch... Although we also used to show 3 in one row... You would only see one in a row on it's own when you had 5.

True you're right - it was designed to do this:

1
1, 2
1, 2, 3
1, 2, then 3, 4 in two rows
1, 2, 3, then 4, 5 in two rows
1, 2, 3, then 4, 5, 6 in two rows

Anyway, it's a regression and a super low impact bug


feat: allow AE as an enterprise feature

This PR introduces AE as an enterprise feature

Gravitee.io Automatic Deployment
🚀 A prerelease version of this package has been published on Gravitee's private artifactory, you can:

use it directly by updating your project with version: 4.5.0-feat-handle-ae-as-a-feature-SNAPSHOT
download it from Artifactory here

:tada: This PR is included in version 4.5.0 :tada:
The release is available on:

4.5.0
GitHub release

Your semantic-release bot :package::rocket:


Unable to start server with inlineDynamicImports in Nuxt 3.12.4 but works well with 3.12.3

Environment

Operating System: Darwin
Node Version:     v18.16.0
Nuxt Version:     3.12.4
CLI Version:      3.12.0
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      nitro, srcDir, modules, googleFonts, css, devtools, runtimeConfig
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
Package.json
{
  "name": "nuxt-app",
  "private": true,
  "type": "module",
  "scripts": {
    "build": "nuxt build",
    "dev": "nuxt dev",
    "generate": "nuxt generate",
    "preview": "nuxt preview",
    "postinstall": "nuxt prepare",
    "migration:generate": "drizzle-kit generate",
    "migration:apply": "drizzle-kit migrate",
    "drizzle:update": "drizzle-kit up"
  },
  "dependencies": {
    "@nuxtjs/google-fonts": "^3.2.0",
    "@nuxtjs/tailwindcss": "6.11.4",
    "@tailwindcss/forms": "^0.5.7",
    "@vee-validate/nuxt": "^4.13.1",
    "@vee-validate/zod": "^4.13.1",
    "@vueuse/core": "^10.11.0",
    "drizzle-kit": "^0.22.7",
    "drizzle-orm": "^0.31.2",
    "jsonwebtoken": "^9.0.2",
    "jwks-rsa": "^3.1.0",
    "nuxt": "^3.12.4",
    "nuxt-icon": "^0.6.10",
    "pg": "^8.12.0",
    "uncrypto": "^0.1.3",
    "vue": "^3.4.27",
    "vue-router": "^4.3.2",
    "zod": "^3.23.8"
  },
  "devDependencies": {
    "@types/pg": "^8.11.6"
  }
}

nuxt.config.ts
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  nitro: {
    experimental: {
      tasks: true,
    },
    inlineDynamicImports: true,
  },
  srcDir: 'src/',
  modules: ['@nuxtjs/tailwindcss', 'nuxt-icon', '@vee-validate/nuxt', "@nuxtjs/google-fonts"],
  googleFonts: {
    families: {
      "Noto+Sans": [400, 500, 600, 700],
      "Lato": [400, 500, 600, 700],
    },
    useStylesheet: true,
  },
  css: [
    '~/assets/css/style.css',
    '~/assets/css/additional-styles/utility-patterns.css',
  ],
  devtools: { enabled: true },
);

Describe the bug
When I do yarn dev or yarn build, following error is displayed. rolling back to 3.12.3 fixes the issue.
[1:48:44 PM]  WARN  [nuxt] could not import postcss plugin postcss-custom-properties with ESM. Please report this as a bug.

 ERROR  Nuxt Build Error: Cannot find module 'postcss-custom-properties'              1:48:44 PM
Require stack:
- /Users/amandesai/nirvana-labs/vidurjobs-v2/index.js

  Require stack:
  - index.js
  at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
  at Function.resolve (node:internal/modules/cjs/helpers:116:19)
  at Function._resolve [as resolve] (node_modules/jiti/dist/jiti.js:1:241814)
  at resolveModule (node_modules/@nuxt/kit/dist/index.mjs:2224:29)
  at requireModule (node_modules/@nuxt/kit/dist/index.mjs:2229:24)
  at resolveCSSOptions (node_modules/@nuxt/vite-builder/dist/shared/vite-builder.BohqozL_.mjs:1093:18)
  at async bundle (node_modules/@nuxt/vite-builder/dist/shared/vite-builder.BohqozL_.mjs:1579:14)
  at async bundle (node_modules/nuxt/dist/index.mjs:5606:5)
  at async Promise.all (index 1)
  at async build (node_modules/nuxt/dist/index.mjs:5478:5)

Additional context
No response
Logs
No response

Prod server is unable to start for all the 3 versions, 3.12.2, 3.12.3 and 3.12.4.
Dev server starts successfully in 3.12.2 and 3.12.3.
This happens when I use inlineDynammicImports.

Apologies for early commenting, removing inlineDynamicImports started the server but got the same issue as soon as I tried to load the page.

Never mind! I fixed the issue with npx nuxi upgrade -> Updated to latest version.


(pr only for testing): check if updater ci works on @v1

#skip-changelog

Works on @v1

@vaind seems like v2 breaks because of a token thing but v1 works.
But repo has CI_DEPLOY_KEY
Diff is long: https://github.com/getsentry/github-workflows/compare/v1...v2.8.1 (assuming this is what v1 to v2 does)
maybe the value was always wrong but didn't get used in v1?
new version has       api-token: ${{ secrets.CI_DEPLOY_KEY }}

@vaind seems like v2 breaks because of a token thing but v1 works.
failure:

The workflow is not valid. .github/workflows/update-deps.yml (Line: 14, Col: 11): Secret api-token is required, but not provided while calling. .github/workflows/update-deps.yml (Line: 20, Col: 18): Invalid secret, api_token is not defined in the referenced workflow.

Diff is long<EMAIL_ADDRESS>(assuming this is what v1 to v2 does) maybe the value was always wrong but didn't get used in v1? new version has  api-token: ${{ secrets.CI_DEPLOY_KEY }}
But repo has CI_DEPLOY_KEY (possibly is empty if I fucked it up somehow

No need to look at the diff between v1 and the latest v2. The release notes say what changed at as very first item https://github.com/getsentry/github-workflows/releases/tag/v2.0.0

Rename api_token secret to api-token (https://github.com/getsentry/github-workflows/pull/21)


Remove hash after return from grammar page

Remove hash after return from grammar page

unable to reproduce, @sonic16x could it be already fixed?

Yes, looks like an old bug. Thanks for checking, @jsantorek.
Join our Discord, just in case. We have #razvoj-ms-slovnika channel just in case you want to communicate about contributing to the app.


New fixtures

Introduces the script that generates the noir code with the fixture data
Changes max proof levels from 8 to 10
Adds tests for main/get_account that were impossible to write beforehand

Looks like I broke Noir. Again. My guess would be to add RAM on CI as it works locally


Setup

Changes

Setup repo with relevant build scripts, icon generation scripts and installed necessary dependencies

Add first set of icons as a test

[delete] branch

Can we add a post-transform step to auto prettier format the generated files too? This will make it easier to diff changes and avoid empty commits.
easiest is running npx prettier --write src post-build
or calling prettier programmatically from generate-icons.js
const prettier = require("prettier");
const config = await prettier.resolveConfig(process.cwd());
const formattedCode = prettier.format(jsxCode, config);


Add support for feature flags to ProjectService.

Coverage decreased (-0.08%) to 80.9% when pulling 88a60e2a4357b12c3554aa54b26e0545951fe3bf on jumarko:perf-tests into 8e613718354b01b791289cd8d2d2c51a545a3838 on martiner:master.

[ ] please replace AbstractGoodDataIT.readResource calls with ResourceUtils

[ ] add acceptance test for feature flags

Coverage decreased (-0.57%) to 80.41% when pulling cf2e64c5f0c9522b371ee0000f730229ae1c8d05 on jumarko:perf-tests into 8e613718354b01b791289cd8d2d2c51a545a3838 on martiner:master.

please rebase

Closing. I'll make another pull request from different branch.


pgpartman

Engineering team confirmed this extension is not supported, actions are to drop and create after the upgrade completed.

@kabharati
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Modify testing logic to immediately return if any of the simultaneous pings succeed

Currently the logic is "All addresses are pinged simultaneously. ... When all the requests complete with either success or failure, a check is made to see if the list contains at least one true boolean.". However if any of the hosts slow to respond (for example for some reason CloudFlare DNSes don't respond (https://github.com/komapeb/data_connection_checker/issues/10#issuecomment-736704451) then we have to wait a timeout (10 seconds, which is excruciating for a user, given that some pings may have already succeeded). In my opinion if any of the pings succeed then the test could already cut short any other pings and return immediately.

is this online?

is this online?

Unfortunately not, the PR is just sitting there. I'm waiting as well because I don't like to rely on my own fork (but that's what I do right now).

@RounakTadvi are you here?

Any updates?

Yes, it's available on pub.dev

Thank you

@MrCsabaToth Thank you

@RounakTadvi How can we change the interval where the checking for internet connection happens from 10 seconds to 5 second or so?

How can we change the interval where the checking for internet connection happens from 10 seconds to 5 second or so?

@abdimussa87 Can you open a StackOverflow question and link it here? I'll answer there.


Resources device name in Pod spec

Hi again,
In the demo, it has:
> kubectl describe node  |grep -A3 Allocatable
Allocatable:
  cpu:                                                     32
  ephemeral-storage:<PHONE_NUMBER>9
  fpga.intel.com/region-69528db6eb31577a8c3668f9faa081f6:  2

But inside the test-fpga-region.yaml, the specified device name is
fpga.intel.com/arria10.dcp1.2-nlb3-orchestrated: 1

I have watched the demo few times, could not figure it out where and how the name changed.
On my own K8s cluster environment, I replaced the device name in Pod spec with the one from the Allocatable output, the webhook refused the request:
Error from server: error when creating "test-fpga-orchestrated.yaml": admission webhook "fpga.mutator.webhooks.intel.com" denied the request: no such resource: "fpga.intel.com/region-38d782e3b6125343b9342433e348ac4c"

Did I miss something?
Cheers
Derrick

It's changed by webhook according to the mappings.
You can change mappings to reflect your devices interface and AFU ids if they differ from those in the example collection.
Please find more details about mappings in the webhook documentation.
Generally region(orchestration programmed) mode is much more difficult to setup. You can start from af(preprogrammed) mode if you just want to get familiar with the plugin.

Hi! I did change the mapping in the test-fpga-region.yaml to reflect what is mapped on our system.
I redeployed the plugin in af mode, new mapping name is generated. But the webhook still deny the resource request:
[root@r640-1-10 demo]# kubectl describe node  |grep -A3 Allocatable
--
Allocatable:
  cpu:                                                                    80
  ephemeral-storage:<PHONE_NUMBER>14
  fpga.intel.com/af-38d.d84.ONeC47YSU0O5NCQz40isTNhCTcSko8QT-J5DNoP5BAs:  1
[root@r640-1-10 demo]# kubectl create -f test-fpga-preprogrammed.yaml
Error from server: error when creating "test-fpga-preprogrammed.yaml": admission webhook "fpga.mutator.webhooks.intel.com" denied the request: no such resource: "fpga.intel.com/af-38d.d84.onec47ysu0o5ncqz40istnhctcsko8qt-j5dnop5bas"

My pod yaml looks like:
[root@r640-1-10 demo]# cat test-fpga-preprogrammed.yaml
apiVersion: v1
kind: Pod
metadata:
  name: test-fpga-preprogrammed
spec:
  containers:
  - name: test-container
    image: intel/opae-nlb-demo:devel
    imagePullPolicy: IfNotPresent
    securityContext:
      capabilities:
        add:
          [IPC_LOCK]
    resources:
      limits:
        fpga.intel.com/af-38d.d84.ONeC47YSU0O5NCQz40isTNhCTcSko8QT-J5DNoP5BAs: 1
        cpu: 1
        hugepages-2Mi: 20Mi

  restartPolicy: Never

You should use mapped name in the pod description. That's actually the purpose of the mappings - to use human-readable resource names in yamls, e.g. fpga.intel.com/ instead of fpga.intel.com/af-38d.d84.ONeC47YSU0O5NCQz40isTNhCTcSko8QT-J5DNoP5BAs.

Hi, thanks for providing more information. I realized that I have missed the big part here:
deployments/fpga_admissionwebhook/mappings-collection.yaml
I think the documentation implies system admin may need to deploy their own mappings according to their need.
My FPGA card looks like
[root@r640-1-10 intel-device-plugins-for-kubernetes]# fpgainfo fme
Board Management Controller, microcontroller FW version 26895
Last Power Down Cause: POK_CORE
Last Reset Cause: None
//****** FME ******//
Object Id                     : 0xEB00000
PCIe s:b:d:f                  : 0000:5E:00:0
Device Id                     : 0x09C4
Socket Id                     : 0x00
Ports Num                     : 01
Bitstream Id                  : 0x124000200000367
Bitstream Version             : 1.2.4
Pr Interface Id               : 38d782e3-b612-5343-b934-2433e348ac4c
Boot Page                     : user

I am not sure what the correct DCP version for setting up the FpgaRegion object. Or maybe it does not matter at all?
Thanks

I think the documentation implies system admin may need to deploy their own mappings according to their need.

Yes, the documentation states that example mappings collection can be used as an example for cluster mappings. This collection is not intended to be deployed as is, it should be used as a reference and example of your own cluster mappings

Hi! Yes, I managed to run the test pod and replicated the af demo! You may close this ticket.
thanks!


topic-counter: missing support for late-to-set alarm configurations

If there's any hope of using the counter API to implement a system timer (#2921, #12068, others), let alone correctly handling thresholds in an asynchronous event counter, there has to be some way of attempting to set an alarm and being informed that it's already been missed.
For example, I've got a counter with range 0..999 and I want to wake at value 100, but the counter is at 101 (or 100) at the point where the compare value is set.  I need to know that, so I don't lose 1000 events waiting for the compare to fire after the counter wraps.
A natural way to test for this is to reject the set attempt if the signed difference between the current counter value and the requested absolute compare value is zero or negative.  This would have to be done within the driver synchronous with setting the compare value.
Naturally, this feature must be optional.  One way to support this is to extend counter_alarm_cfg to have a flags field that records information such as whether the count value is absolute or relative, and whether late-to-check rejection is required.
Also for systems like Nordic RTC where there's a minimum offset necessary to guarantee the compare event fires there should be a flag saying what to do if the compare can't be guaranteed to fire if set for the requested value.

See https://github.com/zephyrproject-rtos/zephyr/pull/15510#issuecomment-492665490 for a use case that requires an API change to fully support late-to-set.


ReadRowsParser class

Implements the ReadRowsParser that converts CellChunk protos into Row objects.
Validated by running the automatically converted acceptance tests.
The converter script is included.
The parser directly takes CellChunks to simplify its logic. The grouping of
several chunks in a response will be handled separately in the ReadStream.
Note: this will be rebased once the Row gets in.

Looks like my tests are flaky, and I didn't notice this before pushing. I probably did something wrong in the test class setup.

Thanks for the reviews! Summary so far:

tests fixed (parser was missing its constructor)
most comments addressed, but:

Still to do:

add unit tests for easy cases and for failures
move generated tests to an .inc file
use cmake to generate them

Question: is it useful to have a separate ParseValidationFailed exception?

Question: is it useful to have a separate ParseValidationFailed exception?

Maybe consider UnexpectedResponseError or ProtocolError which as exceptions could be reused by other parts of the client that might have needs (validate messages coming from the server).  If you decide to use a specific exception, then make sure it derives from std::runtime_error, which represents errors that the application cannot prevent (i.e., the bug is elsewhere).
I also considered std::invalid_argument, or std::domain_error, indicating that the argument value (the Chunks) are outside the expected domain.  But since the application (really other parts of the Client library), would be passing the results from an RPC, I think it is incorrect to raise an exception that typically is used for "you did something wrong".

We need to hear from @mbrukman, though I think all his comments are addressed.  Meanwhile, please rebase your branch, and rename
bigtable/client/detail/readrowsparser_acceptancetests.inc to
bigtable/client/detail/readrowsparser_acceptance_tests.inc
notice the _ between acceptance and tests.


Miao0miao/flatcar jitsi automation

Making jitsi provisioning automated for Flatcar

Making jitsi deployment is fully configurable before provisioning, provisioning is automated for Flatcar. OS and Sysext update concepts are integrated and allow for customisation (during maintenance windows).
Also provisioning can be tested in a local qemu VM.

@miao0miao @tormath1 any updates on this?
The PR should be really straightforward to test, all you need is access to a DNS hoster for a Jitsi hostname. If it's not then this PR needs more work 😀
Maybe we could even convince Danielle to demo this at the August office hours?

Addressed review feedback:

generate_config.sh now allows specifying target architecture and now generates config.yaml from config.yaml.tmpl.
merged minor improvements and fixes proposed in review
updated README
squashed some commits and rebased, resolved conflicts with main branch


'master' displayed in the CLI when checking out 'main' via click

In sandbox mode, when checking out main by clicking on the branch name, the text that is output to the pseudo-CLI still displays git checkout master.

Looks like it's currently using the branch's id to generate the command string on line 470 of visBranch.js (see below)
var commandStr = 'git checkout ' + this.get('branch').get('id');

I noticed the getName method in that same visBranch class uses a regex to replace 'master' with 'main', and is presumably the code that generates the branch name in the graph view. A similar replacement in the onClick handler would resolve this issue.

Yeah that would totally work! Would you want to submit the PR for the fix?
(There's always a long tail of these direct branch ID references)

I'd be happy to! I'll have to set up my dev machine with yarn and gulp to build/run/test the fix (unless you think I can get away without on this one), so I might not get to it right away. In the meantime is there anything specific I should know about contributing to the project that isn't in the README?

Nope it’s all there! You could even put up the PR without building and I
could pull it down and test. That way you still become a contributor if it
merges.
On Thu, Apr 15, 2021 at 3:05 PM Christopher Brenberg <
@.***> wrote:

I'd be happy to! I'll have to set up my dev machine with yarn and gulp to
build/run/test the fix (unless you think I can get away without on this
one), so I might not get to it right away. In the meantime is there
anything specific I should know about contributing to the project that
isn't in the README?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pcottle/learnGitBranching/issues/821#issuecomment-820729798,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIVDH3KPEQDXZ6CS6XTMETTI5IJXANCNFSM4273XA2Q
.

--
-Sent from Gmail Mobile

@pcottle @cbrenberg seems to have been resolved


ReferenceError on Typescript Ambient Declarations

🐛 Bug Report
Jest does not include Typescript declaration files .d.ts from tsconfig.ts when running tests. This causes a ReferenceError for missing declarations.
To Reproduce
Steps to reproduce the behavior:

Create Typescript declarations files. Ex: "types.ts" and "types.d.ts"
Modify tsconfig to include the declarations:

"include": [
  "./src/types.d.ts",
  "./src/types.ts"
],

Verify project builds correctly:

npm run build

Observe project transpiles with declaration files from step 2. Verify ./dist folder:

ls -l dist/
total 24
-rw-rw-r-- 1 redacted redacted  69 May 26 12:30 index.d.ts
-rw-rw-r-- 1 redacted redacted 345 May 26 12:30 index.js
-rw-rw-r-- 1 redacted redacted 213 May 26 12:30 index.js.map
-rw-rw-r-- 1 redacted redacted  36 May 26 12:30 types.d.ts
-rw-rw-r-- 1 redacted redacted  73 May 26 12:30 types.js
-rw-rw-r-- 1 redacted redacted 132 May 26 12:30 types.js.map

Run Jest:

npm test

Observer reference errors for missing declarations

 FAIL  test/language.spec.ts
  Language
    ✕ Should return the local language code (2 ms)

  ● Language › Should return the local language code

    ReferenceError: ENGLISH_US is not defined

      2 |
      3 |     static getLocalized(): string {
    > 4 |         return ENGLISH_US;
        |         ^
      5 |     }
      6 |
      7 | }

      at Function.Language.getLocalized (src/index.ts:4:9)
      at Object.<anonymous> (test/language.spec.ts:5:39)

Git clone and npm install && npm test the repo provided in the Link to repo section below.

Expected behavior
Expected Jest to include Typescript declaration files from tsconfig.ts
Link to repo (highly encouraged)
Sample project where the issue is seen:
https://github.com/27352/ts/tree/master/jest-sample
git clone https://github.com/27352/ts.git
cd ts/jest-sample
npm install
npm test

envinfo
npx envinfo --preset jest:
  System:
    OS: Linux 5.6 Solus 4.1
    CPU: (4) x64 Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
  Binaries:
    Node: 12.16.3 - /usr/bin/node
    npm: 6.14.4 - /usr/bin/npm
  npmPackages:
    jest: ^26.0.1 => 26.0.1

This is expected, Jest does not actually read the tsconfig or do any sort of type checking by default, it just strips out the types like usual when TypeScript code is being compiled by the Babel compiler.
You can either manually adapt the Jest config to match your setup, e.g. extraGlobals, or you can see if ts-jest can cover your use case.


Link metadata-common package to binder build

Link instead of attempting to pull from online from npm since
dev packages are not published
Fixes #884
Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

try : https://mybinder.org/v2/gh/akchinstc/elyra-1/fix-binder?urlpath=lab/tree/binder-demo


Error on build_deploy_test.yaml

I get the following error on the build using composer 1.17.2 airflow 2.12:

airflow variables command error: argument COMMAND: invalid choice: 'dataflow_jar_file_test' (choose from 'delete', 'export', 'get', 'import', 'list', 'set'), see help above.
command terminated with exit code 2
usage: airflow variables [-h] COMMAND ...
ERROR: (gcloud.composer.environments.run) kubectl returned non-zero status code.

The solution was the same as #11 ,
-  args: ['composer', 'environments', 'run', '${_COMPOSER_ENV_NAME}', '--location', '${_COMPOSER_REGION}','variables', '-', '--set', 'dataflow_jar_file_test', 'dataflow_deployment_$BUILD_ID.jar']
+  args: ['composer', 'environments', 'run', '${_COMPOSER_ENV_NAME}', '--location', '${_COMPOSER_REGION}','variables','--', 'set', 'dataflow_jar_file_test', 'dataflow_deployment_$BUILD_ID.jar']

fixed in PR


Add default styling for disk module

This patch adds some default styling for the disk module, which previously did not have any styling specified. It uses a brown background since brown isn't used by any other modules.

Thanks!


text invisibility in scholarship section

Text is not visible on the cards. I want to fix this issue
Please assign this issue to me under gssoc-extd and hacktoberfest

@Kajalmehta29 sure go ahead

Make sure to join the discord server for further communication
Don't forget to star the repository
Complete the task in next 2 days and kindly mention your issue # in your pr like:
Closes #IssueNumber

Note: the level of the issue may change based on the quality of the PR code


use MultiGet in Prewrite

LGTM, please merge dependent PR in https://github.com/coocood/badger/pull/80 first.


[joy-ui][Textarea] Floating label overflow problem

Steps to reproduce
Link to live example:  https://codesandbox.io/p/sandbox/textarea-overflow-5szhnk?file=%2Fsrc%2FDemo.tsx
Steps:
1.Go to sandbox link
Current behavior
I passed maxRow prop for Textarea with floating label. When I scroll down, the text appears on the label. Do you have any idea for solution ?
screen-capture (1).webm
Expected behavior
No response
Context
No response
Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: floating label overflow

Is it right solution, i don't know but i solved this problem.
I wrote following code instead of React.Fragment in InnerTextarea:
 <div style={{ display: "flex", paddingTop: "1em" }}>
and I removed paddingBlockStart css from StyledTextarea styled component.
It solved my problem.


Update the troubleshooting page on the wiki based on issues found from GitHub Discussions (with some light bookkeeping), and also provide general troubleshooting advice.

This issue covers the following:

[ ] Update the troubleshooting page on the wiki based on solutions found from GitHub Discussions. Examples:

[ ] https://github.com/oppia/oppia/discussions/19238#discussioncomment-7939206
[ ] https://github.com/oppia/oppia/discussions/19354#discussioncomment-7954538
[ ] https://github.com/oppia/oppia/issues/19321#issuecomment-1868543872
[ ] https://github.com/oppia/oppia/discussions/19320#discussioncomment-7969735
[ ] https://github.com/oppia/oppia/discussions/17511#discussioncomment-5125522
[ ] https://github.com/oppia/oppia/discussions/16281#discussioncomment-3863892
[ ] https://github.com/oppia/oppia/discussions/19180
[ ] And others!

[ ]  Add a note on top of the troubleshooting page saying "This includes solutions from all GitHub Discussions that have a last-updated date before XXX".
[ ]  Add a note on top of the troubleshooting page saying "If you can't find your error here, try (a) searching for it on GitHub Discussions too and reading the corresponding threads, (b) searching for it on our issue tracker to see if there are any related threads, (c) searching for it on the Internet to see if others have encountered it and what they did to solve it."

Hey @seanlip I would like to work on this issue. Kindly assign me this. I will complete it by 9/1/24

@vaishnavi192 Per the guidance at https://github.com/oppia/oppia/wiki/Contributing-code-to-Oppia#choosing-a-good-first-issue, please provide an explanation of what your PR will do (with names of files you're changing, what you plan to change in each file, etc.). If it looks good, we can assign you to this issue.
Please also follow the other instructions on that wiki page if you have not yet done so. Thanks!

Yes I am working on it....will provide description soon

Hey @Ash-2k3
I think https://github.com/oppia/oppia/discussions/19180 is not answered : )

Hey


Replace dtsel date picker with native date picker

All browsers have an <input type="date"> and <input type="datetime-local"> nowadays. This makes it unnecessary to use the special script that we used for date and datetime selection.

Date has been replaced by the new date picker:

DateTime as well:

Clear button of the date picker tested. Works nicely and returns the value in the database to NULL.

Code implemented and tested. Old classes (js, css) and references to these classes removed.


API Endpoint - View Online Offline Calibration Data

Create GET endpoints (4) for Online Offline Calibration Data:
Testing Note:
Should include GET endpoints for both Global View and Workspace to fetch one individual record or a collection of records
Testing Reference Only:
Online Zero Reference Value (Text)
Online Upscale Reference Value (Text)
Offline Zero Reference Value (Text)
Offline Upscale Reference Value (Text)
Online Zero Measured Value (Text)
Online Upscale Measured Value (Text)
Offline Zero Measured Value (Text)
Offline Upscale Measured Value (Text)
Online Zero Calibration Error (Text)
Online Upscale Calibration Error (Text)
Offline Zero Calibration Error (Text)
Offline Upscale Calibration Error (Text)
Upscale Gas Level Code (Dropdown )
Online Zero APS Indicator (Dropdown)
Online Upscale APS Indicator (Dropdown)
Offline Zero APS Indicator (Dropdown)
Offline Upscale APS Indicator (Dropdown)
Online Zero Injection Date (Text+Datepicker)
Online Upscale Injection Date (Text+Datepicker)
Offline Zero Injection Date (Text+Datepicker)
Offline Upscale Injection Date (Text+Datepicker)
Online Zero Injection Hour (Dropdown 1-23)
Online Upscale Injection Hour (Dropdown 1-23)
Offline Zero Injection Hour (Dropdown 1-23)
Offline Upscale Injection Hour (Dropdown 1-23)

Online Offline Calibration - Official

Online Offline Calibration - Official with ID

Online Offline Calibration - Workspace

Online Offline Calibration - Workspace with ID

Test Case: TC1045
Test Passed


qBittorrent login failed with code 405

I see that there were two previous issues about this problem and the suggested solution was to make sure you're using the latest version. I just installed the newest version and I'm getting the error. I'm pretty new to this stuff, so I'm probably doing something wrong. Any ideas?
'http://<IP_ADDRESS>:9117/api/v2.0/indexers/oink/results/torznab/api?apikey=[REDACTED]&t=search&cat=&q='
  ],
  torrentDir: 'C:\\Users\\Jon\\AppData\\Local\\qBittorrent\\BT_backup',
  outputDir: 'H:\\Torrent Files\\PTP',
  includeNonVideos: false,
  includeEpisodes: false,
  fuzzySizeThreshold: 0.02,
  verbose: false,
  action: 'inject',
  qbittorrentUrl: 'http://admin:[REDACTED]@localhost:8080',
  delay: 10
}
2023-03-11 09:12:02 info: Validating your configuration...
2023-03-11 09:12:02 error: qBittorrent login failed with code 405

Cross-seed version?  Qbit version?

upgrade to the latest version. if docker, use docker tag ghcr.io/cross-seed/cross-seed


quick readme fix

Small update to the README to avoid variables etc re https://github.com/mortendahl/tf-encrypted/pull/114

waiting for @yanndupis to take a look since he worked on this

Look good to me!


Add support for reading Pymatgen-formatted VASP IO sets in Vasp calculator

Currently, the custom Vasp calculator (quacc.calculators.vasp) is based around the ASE Vasp calculator and therefore has no knowledge of how to read a Pymatgen-formatted VASP input set. We should add a new kwarg to the Vasp wrapper that uses Pymatgen's io.vasp.sets routines to parse an input set and populate the ASE calculator. Maybe something like pmg_input_set: str = None that could be set to pmg_input_set = "MPSCANRelaxSet" and would pull from the Pymatgen sets since Pymatgen is already a dependency and therefore the package data will always be locally available. Any parameters specified by the user would override this "parent" input set; for instance, if the user passed Vasp(pmg_input_set = "MPSCANRelaxSet", metagga = "M06L"), it would inherit from Pymatgen's "MPSCANRelaxSet" but override the R2SCAN meta-GGA with that of M06-L, as expected.
The main reason to do this is that it allows access to a wider range of pre-defined input sets, without having to duplicate anything. The entire quacc package is built around ASE calculators as the first-class calculation objects, but there is no inherent reason why we can't (optionally) support reading a Pymatgen-formatted input set and use those input parameters to instantiate the ASE Vasp calculator. Once completed, we can then have MP-compatible parameters without the user having to worry about incompatibilities.

We should take care of this once the Atomate2 sets are merged into Pymatgen.


Bring the Worker class back

Signed-off-by: Ricardo Koller<EMAIL_ADDRESS>

Current coverage is 88.58% (diff: 72.72%)

Merging #214 into master will increase coverage by 0.02%

@@             master       #214   diff @@
==========================================
  Files            85         86     +1
  Lines          3156       3162     +6
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           2795       2801     +6
  Misses          361        361
  Partials          0          0

Powered by Codecov. Last update c04d2ad...1a9ed72

Awesome! Thanks a lot!


Checker output not printed on error in DUMB terminal

Description
When lint-staged logs to a dumb terminal, output from the checks is not printed in case of error.
Steps to reproduce
Create a commit which will fail eslint or any other linter.

[SUCCESS] Preparing lint-staged...
[STARTED] Running tasks for staged files...
[STARTED] package.json — 1 file
[STARTED] src/**/*.{css,scss} — 0 file
[STARTED] src/**/*.json — 0 file
[STARTED] src/**/*.{ts,tsx} — 1 file
[SKIPPED] src/**/*.{css,scss} — no files
[SKIPPED] src/**/*.json — no files
[STARTED] eslint
[FAILED] eslint [FAILED]
[FAILED] eslint [FAILED]              <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< no output?
[SUCCESS] Running tasks for staged files...
[STARTED] Applying modifications from tasks...
[SKIPPED] Skipped because of errors from tasks.
[STARTED] Reverting to original state because of errors...
[SUCCESS] Reverting to original state because of errors...
[STARTED] Cleaning up temporary files...
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
husky - pre-commit hook exited with code 1 (error)

Same commit in regular terminal
yarn run v1.22.18
$ .bin/lint-staged
✔ Preparing lint-staged...
⚠ Running tasks for staged files...
  ❯ package.json — 1 file
    ↓ src/**/*.{css,scss} — no files [SKIPPED]
    ↓ src/**/*.json — no files [SKIPPED]
    ❯ src/**/*.{ts,tsx} — 1 file
      ✖ eslint [FAILED]
      ◼ prettier --write
↓ Skipped because of errors from tasks. [SKIPPED]
✔ Reverting to original state because of errors...
✔ Cleaning up temporary files...

✖ eslint:
Warning: React version not specified in eslint-plugin-react settings. See https://github.com/jsx-eslint/eslint-plugin-react#configuration .

  .src/components/ToastContainer.tsx
  17:10  error    Returning an awaited promise is not allowed in this context  @typescript-eslint/return-await
  17:34  error    Unexpected empty arrow function                              @typescript-eslint/no-empty-function

✖ 2 problems (2 errors, 0 warnings)
  1 error and 0 warnings potentially fixable with the `--fix` option.

Environment

OS: Linux Mint 20.3
Node.js: 14.17.1
lint-staged: 12.4.1

Thanks for the report. We do those separately from the listr2 output here:
https://github.com/okonet/lint-staged/blob/383a96e17a21d10278e91ecdb8d80385886ce82f/lib/index.js#L122
Not sure what causes it... maybe it's something to do with listr2 renderer config?


Update eyetv to 3.6.9_7517

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Thank you for the contribution. It was merged directly as 51d9c8b1443ece9d1b6c0de737357fd4a73f01e7. Your contribution is still credited to you.


service file doesn't get created on centos?

I didn't have time to completely debug this, but when I changed from gitea to forgejo the gitea binary was still used, I first tought that somehow the service template wasn't correctly regenerated for a change like this, since it was already in place, but I now noticed it skips generating the service file at all if the os is not Debian or Suse?
Running on a centos machine.

Yes, indeed. There was something with the systemd location in https://github.com/roles-ansible/ansible_role_gitea/commit/12f3c96af08d40733dd16468c52966a4b817d53a
I will have a look


Improve display of quotes for blockquote

Center the display of the quotes character(s) within blockquote > :first-child::before so it is not partially hidden. Normalized for Chrome and Firefox.

Thanks. :)


"codegen module" cannot add module to Orchard.sln

Hey everybody,
I'm currently learning about Orchard Modules using the Getting Started with Modules Course using Orchard v1.10.2 in VS2017 Community. When I try to run the command codegen module Orchard.LearnOrchard.FeaturedProduct, this command fails with the following message:
Error executing command "codegen module Orchard.LearnOrchard.FeaturedProduct"
Specified argument was out of the range of valid values.
Parameter name: startIndex
Exception Details: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: startIndex
Stack Trace:
[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: startIndex]
at System.String.Insert(Int32 startIndex, String value)
at Orchard.CodeGeneration.Commands.CodeGenerationCommands.AddToSolution(TextWriter output, String projectName, String projectGuid, String containingFolder, String solutionFolderGuid)
at Orchard.CodeGeneration.Commands.CodeGenerationCommands.IntegrateModule(String moduleName)
at Orchard.CodeGeneration.Commands.CodeGenerationCommands.CreateModule(String moduleName)

Command returned non-zero result: Fail
I noticed that this exception is thrown when the Orchard Command Line Interface is trying to add the project to the solution, when I run codegen module Orchard.LearnOrchard.FeaturedProduct /IncludeInSolution:false, then the command executes successfully.
I don't know if this is a bug that should belong in the official Orchard repo, or if I made something wrong. Before, I just created a new theme using Orchard.exe.

Have you renamed your Orchard.sln to something else?

No, I haven't.

Hmm looks like other people are seeing the issue (https://github.com/OrchardCMS/Orchard/issues/7699) so it's probably not a documentation problem as it used to work.
The structure of the sln file must have changed in some way that its not finding the right place to insert it any more.
Closing it on here as it's now referenced in the proper issue.


Custom Edit Directions

In the description where you explain how to create new edit directions you mention to create 2 files with large number of sentences (~1000), but there is no explanation of what those sentences should be exactly.
I tried to find out more details before opening this issue, but I could not figure out what the 2 files should contain exactly.
Thanks for the help and this amazing work!

Hi,
The src/make_edit_direction.py script expects each sentence file to have one sentence per line.
For instance, for the making a "banana" embedding, a "banana.txt" file should look something like this:
A ripe yellow banana sits on a surface, its curves contrasting with the straight lines around it.
The banana is the standout feature of the picture, its bright color drawing the eye.
The fruit's skin is slightly speckled, indicating its natural sweetness.
Shadows play across the surface of the banana, adding depth and dimension to the image.
The bright yellow color of the banana is a burst of happiness in an otherwise neutral background.
.
.
.

To generate these sentences, you could prompt your choice of language model (GPT3, ChatGPT, etc) with sentences like:
"Generate many sentences that describe a picture containing a {word}."
Please let us know if you run into any issues with generating custom directions!
Regards,
Authors

@pix2pixzero Hi, thanks for your detailed instructions and releasing the codes of your inspiring work. I have tried "cat2yawning cat" by constructing text files following "Generate many sentences that describe a picture containing a yawning cat." using chatGPT. However, this editing direction nearly unalter the provided cat image and could not reproduce the results like the paper. Could you give more suggestions or release more editing direction files to verify the effectiveness of other editing directions?

Yes, we plan to release a huggingface demo and a large list of directions soon.
Meanwhile, there are a couple of things you could try to improve the direction editing:

scale the direction vector to make the direction more prominent. i.e. in this file you can add a multiplier to the directions by changing construct_direction(args.task_name) to construct_direction(args.task_name)*1.5.

You can decrease the amount of cross-attention guidance with the flag --xa_guidance.

Please let us know if you still cannot get the results you want!
Regards,
Authors

OpenAI's api keeps freezing and on top of that doing this for several directions seems expensive. Is there any other way to generate such sentences?

I have generated edit directions for 100 classes in cifar100 - https://github.com/rahulvigneswaran/pix2pix-zero-directions

@rahulvigneswaran 404 Not Found. QAQ

Hi,
The src/make_edit_direction.py script expects each sentence file to have one sentence per line. For instance, for the making a "banana" embedding, a "banana.txt" file should look something like this:
A ripe yellow banana sits on a surface, its curves contrasting with the straight lines around it.
The banana is the standout feature of the picture, its bright color drawing the eye.
The fruit's skin is slightly speckled, indicating its natural sweetness.
Shadows play across the surface of the banana, adding depth and dimension to the image.
The bright yellow color of the banana is a burst of happiness in an otherwise neutral background.
.
.
.

To generate these sentences, you could prompt your choice of language model (GPT3, ChatGPT, etc) with sentences like: "Generate many sentences that describe a picture containing a {word}."
Please let us know if you run into any issues with generating custom directions!
Regards, Authors

Thank you so much！
And I would like to konw if I want to try a style change, for example, if I need “sketch”style, how should I use chatgpt3.5 to generate sentences describing this style？

I have generated edit directions for 100 classes in cifar100 - https://github.com/rahulvigneswaran/pix2pix-zero-directions

This link does not exist


Team feedback

Good project Joy
These are some things you can give attention to:

When linking images that have spaces in their names, you can use double quotes "" to remove the CSS errors. It is better to use dashes "-" in stead of empty spaces in filenames.
You can use percentages to adjust your images sizes for background images. It is also possible to add more than one background image to an element.

.about {   background-image: url(./Assets/illustration\ 2-about\ me\ mobile.svg), url(./Assets/Mask\ Group.svg);   background-repeat: no-repeat;   background-position: 0% 104%, 100% -12%; }
For the desktop version it is important to use a different

You've done really well with this project, however, there are some aspects I'd suggest you geave an attention to, they are:

The path to your contact background image isn't correct


possible to tap on slided view controller

I made [self.slidingViewController anchorTopViewToRightAnimated:YES];
after that you can see a little bit of that viewcontroller from the right. And you can press and touch UI elements there. Is it possible to fix?

If you start to drag a bit your view controller from the right to the left  and after that drag from right back to the left it will be a splash of that viewcontroller. I looked for other issues but answers didn't help.

Thank you

Having the same issue. Where can I change this?

Oh, turnes out it's quite simple!
self.slidingViewController.topViewAnchoredGesture = ECSlidingViewControllerAnchoredGestureTapping | ECSlidingViewControllerAnchoredGesturePanning;

@codepushr still can see the splash(


podmanV2: fix nil deref

Fix a typo when looking up a flag causing a nil deref and all commands
to fail.
Signed-off-by: Valentin Rothberg<EMAIL_ADDRESS>

@giuseppe @rhatdan we need to get this in asap. V2 is broken on master.
@baude @jwhonce FYI

/lgtm


Reading from buffer

Hello everyone,
I have an api that takes a excel file and I want to be able to read the buffer object in js-xlsx however I just keep getting errors.
I have tried the following
var workbook = XLSX.read(file.toString('utf-8'));
Error
Uncaught error: Unsupported file 161
var workbook = XLSX.read(file);
Error
Uncaught error: Object [object Object] has no method 'substr'
If i save the file to disk and then use xlsx.readFile with the file path it works fine..

If you have a Buffer object, you can pass it directly to XLSX.read() with no options:
var workbook = xlsx.read(file.buffer);
If you want to read from a string, it needs to be binary-encoded (but binary strings are deprecated in Node).

Hello,
I am using sails, where the file is uploaded and I am saving it into a buffer.
Passing this buffer is giving the following error
switch(state[state.length-1][0]) {
			                            ^

TypeError: Cannot read property '0' of undefined
    at parse_xlml_xml (/Users/xyz/node_modules/xlsx/xlsx.js:8815:32)
    at parse_xlml (/Users/xyz/node_modules/xlsx/xlsx.js:9170:25)
    at Object.readSync [as read] (/Users/xyz/node_modules/xlsx/xlsx.js:11393:21)
    at Upstream.<anonymous> (Controller.js:75:21)
    at emitNone (events.js:67:13)
    at Upstream.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:903:12)
    at doNTCallback2 (node.js:439:9)
    at process._tickDomainCallback (node.js:394:17)

is this issue solved..?i need help here.

Hi, this work for me.  (function fixdata and btoa are the keys).
<script>

    function fixdata(data) {
        var o = "", l = 0, w = 10240;
        for(; l<data.byteLength/w; ++l) o+=String.fromCharCode.apply(null,new Uint8Array(data.slice(l*w,l*w+w)));
        o+=String.fromCharCode.apply(null, new Uint8Array(data.slice(l*w)));
        return o;
    }

    $('document').ready(function(){

        $('#flExcel').change(function(){

            var arquivo = this.files[0];
            var fileReader = new FileReader();
            fileReader.readAsArrayBuffer(arquivo);

            fileReader.onload = function (e){
              var data = e.target.result;
              var arr = fixdata(data);
              var workbook = XLSX.read(btoa(arr), {type: 'base64'});
            }

        });

    });
</script>

Passing the buffer directly to read() worked, but this should really be documented. I tried converting to it various strings, and even tried https://github.com/mgcrea/node-xlsx which clearly supports buffers, but i needed this library's features.

The read functions can take the following input types, controlled by the type field of the options object when you call XLSX.read(data, options):

type
expected input

"base64"
string: base64 encoding of the file

"binary"
string:  binary encoded string (the n-th byte is data.charCodeAt(n))

"buffer"
nodejs Buffer

"array"
array: array of 8-bit unsigned numbers (the n-th byte is data[n])

"file"
string: filename that will be read and processed (nodejs only)

The underlying file type is guessed by inspecting the first few bytes of the file.  The error message

Uncaught error: Unsupported file 161

means that the read function saw a file it didn't know how to handle.  That number 161 is the first byte of the file, so the library thought the file started with 0xa1.  In general, it's best to make sure you explicitly state the type of data using that type field, but in nodejs the assumed input type is a Buffer.  In the browser, where Buffer is not available, the default is base64.
This will be added to the README.

This is in the Input Type subsection of the Parsing Options section in the README.

You can read data from buffers as follow
var workbook = XLSX.read(buffer, {type:"buffer"});

I am getting Error: End of data reached (data length = 17910, asked index = 28335). Corrupted zip?  when I run this through Lambda. Any suggestions?
`const buffers = [];
buff.on('data', (data) => { console.log('data', data); buffers.push(data); });
buff.on('end', () => {
console.log('ending');
const buffer = Buffer.concat(buffers);
console.log('buffer: ', buffer);
const workbook = XLSX.read(buffer);
console.log('workbook: ', workbook);

cb({ workbook })`

@tmzaragoza that looks like lambda is messing with the data.  Can you test by modifying your endpoint to read as base64 (XLSX.read(buffer.toString(), type: "base64")), base64-encoding a sample file and pushing it to your endpoint?

Having the same problem with Lambda.  @tmzaragoza did you solve this?  I'll post here if we find a solution.

@jzohrab We needed to use multer to parse the data

@tmzaragoza would you share your implementation? I parse data using req.file.buffer.toString('base64') and got the same trouble Error: End of data reached...

This worked for me:
import * as XLSX from "xlsx"

const workbook = XLSX.read(req.file.buffer, { type: "buffer" })

@tmzaragoza @jzohrab @tiagolabsit https://github.com/SheetJS/sheetjs/tree/master/demos/function#aws-lambda

When reading form data, be sure to include the necessary binary types on the AWS API Gateway console. To do this, navigate to the "Binary Media Types" section in the settings tab of the console. For reading a file, you may need to add "multipart/form-data". For downloading a file, you may need to add "application/vnd.ms-excel".


Implement the timeSeries class

Where do we stand with implementing the timeSeries class?
AFAIK, @kwilcox got it to the point of writing a netcdf file, but it was missing required metadata, correct?
@joefutrelle, are you working on that?

It would be great to show a notebook of pocean working for timeSeries at the IOOS meeting next week (Friday, Mar 17).    We might be able to get more contributors!

With a little guidance from @kwilcox about how to architect that code, I can work on it. The goal being to be able to use from_dataframe and get a bunch of reasonable global and variable attributes w/o having to construct them and pass them in.

Looks like step 1 is implementing nc_attributes which is used in to_dataframe to populate global and per-variable attributes, a question for @kwilcox  is how much is appropriate to include in that function, it's pretty minimal in the IncompleteMultidimensionalTrajectory implementation. For instance should we be defaulting attributes like axis or time units to reasonable values, or should pocean stay away from that kind of behavior and have the caller pass them in?

This might be a question for @cwingard as well.

nc_attributes was a placeholder until we can figure out the metadata problem https://github.com/pyoceans/pocean-core/issues/3. I'm going to play around with xarray and see if it will solve that for us and we can go from there...

Pending adopting xarray, would you accept a PR where I've implemented nc_attributes for om timeseries? It would help me in the short term for getting stuff into ERDDAP.

absolutely!


Support Air-Gapped environments

Is your feature request related to a problem? Please describe.
Frogbot does not support Air-Gapped environments.
Describe the solution you'd like to see
Allow downloading Frogbot, extractors, and project dependencies from Artifactory.
Describe alternatives you've considered
N/A
Additional context
This is just a suggestion.
Let's split the solutions into 2 parts:

Download Frogbot and extractors from Artifactory -
A. Create a virtual repository in releases.jfrog.io containing frogbot and oss-release-local
B. Create a new script getFrogbot.sh and upload it to the frogbot repository. The script should support an environment variable FROGBOT_REMOTE_REPO and the regular frogbot connection details variables. Suggestion - users can put this script in an accessible place. It is better if this script will have a version.
C. Add support for FROGBOT_REMOTE_REPO env var in frogbot to download Maven and Gradle extractors.
Download dependencies from Artifactory - support the same project yaml files as the CLI does. Ignore the server ID and read only the resolution server. Additionally, for simplicity, we can allow users who like to provide FROGBOT_RESOLUTION_REPO variable to download dependencies from Artifactory.

+1

@omerzi is working on adding this functionality to Forgbot these days. We're planning to introduce this functionality in the very near future.

Hi @EvertonSA, @Zoan112, @codanael, we just released Frogbot v2.6.0 with air-gapped environments support.

Adding to @omerzi  message above, Forgbot can now be configured to access Artifactory only. The Frogbot executable, as well the scanned project depedencies, can be downloaded through Artifactory. This requires creating the relevant repositories in Artifactory, and adding their names as variables in the Forgbot workflows.
See the two variables below. This information is included in the Forgbot templates in the documentation.
# [Optional]
# If the machine that runs Frogbot has no access to the internet, set the name of a remote repository
# in Artifactory, which proxies https://releases.jfrog.io/artifactory
# The 'frogbot' executable and other tools it needs will be downloaded through this repository.
# JF_RELEASES_REPO: ""

# [Optional]
# Frogbot will download the project dependencies if they're not cached locally. To download the
# dependencies from a virtual repository in Artifactory, set the name of the repository. There's no
# need to set this value, if it is set in the frogbot-config.yml file.
# JF_DEPS_REPO: ""

If your repository uses a frogbot-config.yml file, you can define the JF_DEPS_REPO value as the repository value inside the file.


[Bug] [MauiCompat] No net6.0 TFM support, breaks upgrade for netstandard assemblies

Description

I am attempting to upgrade a solution that has .NET Standard projects that reference Xamarin.CommunityToolkit. I would like to update the .NET Standard projects to .net 6.0 and have them reference Xamarin.CommunityToolkit.MauiCompat, so that they can be referenced in other projects that do not run on iOS or Android (unit tests, console apps, etc.) but still contain views for the Android and iOS apps.
It would be nice to be able to keep my old solution's architecture and continue to use the toolkit.
Stack Trace

Link to Reproduction Sample

Steps to Reproduce

Try to add Xamarin.CommunityToolkit.MauiCompat to a .NET 6.0 project.

Expected Behavior
The operation succeeds.
Actual Behavior
The operation fails.
Basic Information

Version with issue: 1.3.0-compat-alpha3
Last known good version: N/A
IDE: Microsoft Visual Studio Enterprise 2022 (64-bit) - Preview Version 17.1.0 Preview 1.1
Platform Target Frameworks:

iOS:
Android:
Windows:

Android Support Library Version:
Nuget Packages:
Affected Devices:
MAUI Version:

Microsoft Visual Studio Enterprise 2022
Version 17.1.0 Preview 1.1
VisualStudio.17.Preview/17.1.0-pre.1.1+31911.260
Microsoft .NET Framework
Version 4.8.04084
Installed Version: Enterprise
Visual C++ 2022   00476-80000-00000-AA742
Microsoft Visual C++ 2022
.NET Core Debugging with WSL   1.0
.NET Core Debugging with WSL
ADL Tools Service Provider   1.0
This package contains services used by Data Lake tools
ASA Service Provider   1.0
ASP.NET and Web Tools 2019   <IP_ADDRESS>097
ASP.NET and Web Tools 2019
ASP.NET Web Frameworks and Tools 2019   <IP_ADDRESS>097
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0   <IP_ADDRESS>097
Azure App Service Tools v3.0.0
Azure Data Lake Tools for Visual Studio   2.6.4000.0
Microsoft Azure Data Lake Tools for Visual Studio
Azure Functions and Web Jobs Tools   <IP_ADDRESS>097
Azure Functions and Web Jobs Tools
Azure Stream Analytics Tools for Visual Studio   2.6.4000.0
Microsoft Azure Stream Analytics Tools for Visual Studio
C# Tools   4.1.0-1.21551.6+e4419d6f6792da7011c8589ba118f59d830ca72f
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Extensibility Message Bus   1.2.6 (master@34d6af2)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.
Fabric.DiagnosticEvents   1.0
Fabric Diagnostic Events
Linux Core Dump Debugging   <IP_ADDRESS>903
Enables debugging of Linux core dumps.
Microsoft Azure Hive Query Language Service   2.6.4000.0
Language service for Hive query
Microsoft Azure Service Fabric Tools for Visual Studio   17.0
Microsoft Azure Service Fabric Tools for Visual Studio
Microsoft Azure Stream Analytics Language Service   2.6.4000.0
Language service for Azure Stream Analytics
Microsoft Azure Tools for Visual Studio   2.9
Support for Azure Cloud Services projects
Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft Library Manager   2.1.134+45632ee938.RR
Install client-side libraries easily to any web project
Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards   1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio Tools for Containers   1.2
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package
Mono Debugging for Visual Studio   17.1.4 (dc2a48c)
Support for debugging Mono processes with Visual Studio.
Node.js Tools   1.5.31027.1 Commit Hash:dac60d9b246a1d6a5daf23d223c933dbe1518465
Adds support for developing and debugging Node.js apps in Visual Studio
NuGet Package Manager   6.1.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
Razor (ASP.NET Core)   <IP_ADDRESS>2601+724154d925d7d9d26ebf8a73a66d5219aa320400
Provides languages services for ASP.NET Core Razor.
Snapshot Debugging Extension   1.0
Snapshot Debugging Visual Studio Extension Detailed Info
SQL Server Data Tools   17.0.62110.20190
Microsoft SQL Server Data Tools
Test Adapter for Boost.Test   1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test.  The use terms and Third Party Notices are available in the extension installation directory.
Test Adapter for Google Test   1.0
Enables Visual Studio's testing tools with unit tests written for Google Test.  The use terms and Third Party Notices are available in the extension installation directory.
ToolWindowHostedEditor   1.0
Hosting json editor into a tool window
TypeScript Tools   17.0.1029.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools   4.1.0-1.21551.6+e4419d6f6792da7011c8589ba118f59d830ca72f
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual C++ for Linux Development   <IP_ADDRESS>903
Visual C++ for Linux Development
Visual F# Tools   17.1.0-beta.21525.2+46af4a248255f4af2284883f48983fe7dd07a760
Microsoft Visual F# Tools
Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Container Tools Extensions   1.0
View, manage, and diagnose containers within Visual Studio.
Visual Studio IntelliCode   2.2
AI-assisted development for Visual Studio.
Visual Studio Tools for CMake   1.0
Visual Studio Tools for CMake
Visual Studio Tools for Containers   1.0
Visual Studio Tools for Containers
VisualStudio.DeviceLog   1.0
Information about my package
VisualStudio.Foo   1.0
Information about my package
VisualStudio.Mac   1.0
Mac Extension for Visual Studio
Xamarin   <IP_ADDRESS> (d17-1-p1@42933de)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Designer   <IP_ADDRESS> (remotes/origin/main@931878527)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
Xamarin Templates   17.1.8 (590388a)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
Xamarin.Android SDK   <IP_ADDRESS> (main/43243b4)
Xamarin.Android Reference Assemblies and MSBuild support.
Mono: c633fe9
Java.Interop: xamarin/java.interop/main@79744f61
ProGuard: Guardsquare/proguard/v7.0.1@912d149
SQLite: xamarin/sqlite/3.36.0@a575761
Xamarin.Android Tools: xamarin/xamarin-android-tools/main@a5194e9
Xamarin.iOS and Xamarin.Mac SDK   <IP_ADDRESS> (7b786db64)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Workaround

Reproduction imagery

duplicate of https://github.com/xamarin/XamarinCommunityToolkit/issues/1645


KSP 2.0.20-1.0.25 does not detect symbols annotated with EntityMetamodelFactory

Describe the bug
In EntityMetamodelFactoryProcessor, symbols annotated with org.komapper.core.dsl.metamodel.EntityMetamodelFactory are not being detected.
Expected behavior
The generated META-INF/services/org.komapper.core.spi.EntityMetamodelFactory contains the classes annotated with org.komapper.core.dsl.metamodel.EntityMetamodelFactory.
Actual behavior
The generated META-INF/services/org.komapper.core.spi.EntityMetamodelFactory is empty.
Steps to reproduce the problem
./gradlew :integration-test-jdbc:h2 --tests "integration.jdbc.JdbcEntityMetamodels.all"
Versions

Komapper: 2.2.2
Kotlin: 2.0.20
KSP: 2.0.20-1.0.25
JVM: 11
JDBC Driver or R2DBC Driver: both
Database: N/A
OS: macOS

I have added test-ksp-2.0.20-1.0.25 branch to test KSP 2.0.20-1.0.25 using the latest version of Komapper. You can observe the behavior changes by toggling the ksp.useKSP2 flag as shown below:
ksp.useKSP2=true
$ ./gradlew clean :test-ksp-2.0.20-1.0.25:build -Pksp.useKSP2=true

> Task :test-ksp-2.0.20-1.0.25:kspKotlin
w: [ksp] Running org.komapper.processor.factory.EntityMetamodelFactoryProcessor
w: [ksp] Symbols: []
w: [ksp] Running org.komapper.processor.factory.EntityMetamodelFactoryProcessor
w: [ksp] Symbols: []

ksp.useKSP2=false
$ ./gradlew clean :test-ksp-2.0.20-1.0.25:build -Pksp.useKSP2=false

> Task :test-ksp-2.0.20-1.0.25:kspKotlin
w: [ksp] Running org.komapper.processor.factory.EntityMetamodelFactoryProcessor
w: [ksp] Symbols: []
w: [ksp] Running org.komapper.processor.factory.EntityMetamodelFactoryProcessor
w: [ksp] Symbols: [_Box_Factory]

The expected behavior is as follows:

org.komapper.processor.entity.EntityProcessor generates the example._Box_Factory class from the example.Box class annotated with @org.komapper.annotation.KomapperEntity. The example._Box_Factory class is annotated with @org.komapper.core.dsl.metamodel.EntityMetamodelFactory.
org.komapper.processor.factory.EntityMetamodelFactoryProcessor reads the example._Box_Factory class, which is annotated with @org.komapper.core.dsl.metamodel.EntityMetamodelFactory.

However, when ksp.useKSP2=true, in the second process, the example._Box_Factory class cannot be retrieved using getSymbolsWithAnnotation.