feat: migrate button on collection page

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[x] Feature
[ ] Refactoring

Needs Design check

@exezbcz please review

Context

[x] Closes #8650

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[x] My fix has changed UI

button is not centered, it moves depending on char number on collection title:

button is being shown even for burned/zero items collections: (can open followup for this one, please lmk)

mobile needs a small adjustment on smaller sizes(360p width)

could you please reuse this component we have on landing page?

better to have it consistent

could you make the green circle look the same as on landing page (pink circle) but in green

button is not centered, it moves depending on char number on collection title:
button is being shown even for burned/zero items collections: (can open followup for this one, please lmk)

could you please reuse this component we have on landing page?

updated

mobile needs a small adjustment on smaller sizes(360p width)

I hide it on mobile

best migration UX in world, no irony.
Thanks!
pay 50 usd

😍 Perfect, I’ve sent the payout
💵 $50 @ 7.59 USD/DOT ~ 6.588 $DOT
🧗 1xjvRADwdJcnmUCLWerEHR4iGCT5EBTm4D4fzLLg4LcAC9p
🔗 0x1d24aab3c1cffdccaba948df2dcdc1cfbadaa45c628d7626daf9b15a96a497c9
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


fix(explore): metric label disappearing in some scenarios

SUMMARY
When user added an adhoc metric, then opened a popover to edit that metric and clicked "Save" without doing any changes, the metric label would disappear. This PR adds a check if old and edited metric are equal - if they are, no actions are taken.
Basically what happened was that when we saved a metric without any changes, we didn't call coerceAdhocMetrics (which converts an object to AdhocMetric), but we did call onChange. The result was that we passed a normal object instead of AdhocMetric instance to value renderer, and in value renderer we checked for instanceof AdhocMetric
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before: see linked issue
After:
https://user-images.githubusercontent.com/15073128/129003100-1701671f-b658-49ad-bb2e-3ed13c0e5207.mov
TESTING INSTRUCTIONS

Enable dnd
Create a chart and add an adhoc metric
Open a popover to edit that metric and click save without doing any changes
The metric label should stay as it was, no changes should happen

ADDITIONAL INFORMATION

[x] Has associated issue: fixes https://github.com/apache/superset/issues/16184
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

CC @jinghua-qa @junlincc

/testenv up FEATURE_ENABLE_EXPLORE_DRAG_AND_DROP=true

🏷 2021.31


[EN DateTimeV2.Timezone] Add coverage for missing timezone names

Partially covers https://github.com/Microsoft/Recognizers-Text/issues/474


Update Test Drive docs with Identity

Addresses part of #600
- Summary
Updates the Test Drive docs to use the updated Kaldi template with Netlify Identity and Git Gateway integrated.
- Test plan
You can check the GitHub rendering at
https://github.com/netlify/netlify-cms/blob/test-drive-identity/docs/test-drive.md
(Note that the links to Intro and Quick Start at the end of the doc will not work in this view, due to issues discussed in #511)
I've also pushed a temporary branch to netlify-cms-www to test rendering on netlifycms.org:
https://test-drive-test--netlify-cms-www.netlify.com/docs/test-drive/
- Description for the changelog
Update the Test Drive doc to use the newest Kaldi template and Netlify Identity instructions.
- A picture of a cute animal (not mandatory but encouraged)

Note that PR #52 in netify-cms-www will need to be merged before this PR to ensure proper image display on netlifycms.org.

I followed the test drive guide to the letter and works fine. See one small comment about use of "clone" in https://github.com/netlify/netlify-cms/pull/626/commits/a890e0da298ec4e6de3daaf93e2bf14e76474044. Looks good!

@verythorough great work on this! In the future we need to delineate more clearly between backend/auth options, as it isn't clear between this section and quick start that two different backends are being used, and what the differences are.
Besides @eamonnbell's comment, this looks good to me.

Codecov Report

Merging #626 into master will increase coverage by 3.74%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #626      +/-   ##
==========================================
+ Coverage   16.37%   20.12%   +3.74%
==========================================
  Files         149      152       +3
  Lines        3188     3394     +206
==========================================
+ Hits          522      683     +161
- Misses       2666     2711      +45

Impacted Files
Coverage Δ

src/actions/entries.js
30% <0%> (-0.34%)
:arrow_down:

src/actions/editorialWorkflow.js
17.02% <0%> (-0.19%)
:arrow_down:

...ets/Markdown/MarkdownControl/VisualEditor/index.js
0% <0%> (ø)
:arrow_up:

...rkdown/serializers/remarkEscapeMarkdownEntities.js
100% <0%> (ø)
:arrow_up:

...arkdown/MarkdownControl/VisualEditor/components.js
0% <0%> (ø)
:arrow_up:

...Widgets/Markdown/serializers/remarkImagesToText.js
100% <0%> (ø)
:arrow_up:

src/components/Widgets/ObjectControl.js
0% <0%> (ø)
:arrow_up:

...s/Markdown/MarkdownControl/VisualEditor/plugins.js
0% <0%> (ø)
:arrow_up:

...idgets/Markdown/MarkdownControl/RawEditor/index.js
0% <0%> (ø)
:arrow_up:

src/lib/regexHelper.js
78.57% <0%> (ø)

... and 5 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 1f06885...e7a934d. Read the comment docs.

@erquhart Yeah, kinda fits with the Identity/GG update plan (#600), as well as the overall docs re-org (#598).
@eamonnbell Thanks for checking! I struggled with the description in that paragraph. I wanted to let the user know what's happening, but also didn't want to get too bogged down in the details on something that is supposed to be very simple and require very little of the user. Using "clone" was a cheat to save words, but it could cause more confusion than clarity. lmk what you think of the re-wording.

I want to have a whoa! emoji reaction option for that Codecov comment. 😆

Yeah Jessica if you could dramatically increase our coverage as a part of this docs PR that'd be great


Fix some problems

miss debug info in assembly code
RISC-V-spike-htif_GCC
LDFLAGS add arch and abi info for linker
for riscv64-unknown-elf multilib, if there is no arch and abi
info, will link to default lib and have below error
target emulation elf32-littleriscv' does not match elf64-littleriscv'
use CFLAGS to replace ASFLAGS when compile assembly code
because DEBUG flag is added in CFLAGS, if we use ASFLAGS to compile
assembly code, there is no debug info in assembly code objfile

binutils 2.39 ld warn 'has a LOAD segment with RWX permissions'
RISC-V-Qemu-virt_GCC
RISC-V-spike-htif_GCC
RISC-V_RV32_QEMU_VIRT_GCC

fix build fail
RISC-V_RV32_QEMU_VIRT_GCC

Signed-off-by: Eric Chan<EMAIL_ADDRESS>
Description

Test Steps

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@e14002270 Hello there. Thanks for the contribution. Can you share which toolchain you are using so I can reproduce the issue?

@e14002270 Hello there. Thanks for the contribution. Can you share which toolchain you are using so I can reproduce the issue?

Hi @paulbartell , I use https://github.com/riscv/riscv-gnu-toolchain, tag: 2022.12.17 and build the tool-chain.
Here is some tool-chain infomation.
$ riscv64-unknown-elf-gcc -v Using built-in specs. COLLECT_GCC=riscv64-unknown-elf-gcc COLLECT_LTO_WRAPPER=/opt/riscv/libexec/gcc/riscv64-unknown-elf/12.2.0/lto-wrapper Target: riscv64-unknown-elf Configured with: /home/eric/riscv-gnu-toolchain/gcc/configure --target=riscv64-unknown-elf --prefix=/opt/riscv --disable-shared --disable-threads --enable-languages=c,c++ --with-pkgversion=g2ee5e430018 --with-system-zlib --enable-tls --with-newlib --with-sysroot=/opt/riscv/riscv64-unknown-elf --with-native-system-header-dir=/include --disable-libmudflap --disable-libssp --disable-libquadmath --disable-libgomp --disable-nls --disable-tm-clone-registry --src=/home/eric/riscv-gnu-toolchain/gcc --enable-multilib --with-abi=lp64d --with-arch=rv64imafdc --with-tune=rocket --with-isa-spec=2.2 'CFLAGS_FOR_TARGET=-Os   -mcmodel=medlow' 'CXXFLAGS_FOR_TARGET=-Os   -mcmodel=medlow' Thread model: single Supported LTO compression algorithms: zlib gcc version 12.2.0 (g2ee5e430018)
$ riscv64-unknown-elf-ld -v GNU ld (GNU Binutils) 2.39
$ riscv64-unknown-elf-as -v GNU assembler version 2.39 (riscv64-unknown-elf) using BFD version (GNU Binutils) 2.39
GNU Binutils 2.39 Released
https://lists.gnu.org/archive/html/info-gnu/2022-08/msg00002.html


Add ScheduledTask Permissions

This PR adds dedicated permissions for the ScheduledTask model rather than relying on permissions to the Task model, since their handling is different in various circumstances.

LGTM

Rebased to resolve conflicts.


In-situ testing method?

Great project. I am looking forward to using it extensively once I get it working.
Can you recommend a method by which I can do an exhaustive in-situ test on the hardware target for my implementation?
I am still in the debugging phase (getting extremely large block numbers), but I have to manually construct cases to comb for errors.
I don't quite see how to easily map the test suite into a single monolithic embedded application that I can run to do all the same exercises. But that would be a pretty useful thing to have ...

Okey dokey, here's my crummy attempt at it:
https://github.com/apullin/littlefs/blob/monolithic_test/tests/monolithic.sh
which then requires ./tests/test.py << pre_gen_tests.txt, then manually moving the contents of the C file.

This is a great idea!
I wonder if we can make it a python script that parses the test_blah.sh files.

I am sure we can ... but maybe a less custom unit testing framework could be used, and everything could be ported to that?
Although, the mechanics and reality of unit testing for embedded targets is still a mystery to me.
But there must be a solution.

Also I just noticed you're injecting all of the tests in your monolithic script. I don't think you want to run all of the tests since some of them are quite dependent on the testing configuration. Sorry I didn't comment earlier (I wasn't able to access github this past week).
Tests worth running on a device:

test_dirs
test_files
test_seek
test_truncate
test_parallel - note this is not multithreaded and I should change the name
test_paths

Tests not worth running on a device:

test_format - depends on being able to simulate corrupt blocks
test_alloc - depends on the exact size of the block device to create OOM situations, this should be taken from the config but it currently doesn't work well
test_orphan - depends on being able to simulate corrupt blocks
test_move - depends on being able to simulate corrupt blocks
test_corrupt - depends on being able to simulate corrupt blocks

As far as Unit testing is concerned. We're using CppuTest for development of our embedded System quite successfully.
When used in combination with fff (a function mocking framework) it allows for very easily understandable unit tests.
Regards, Simon

Oh, great, sounds good. I was looking at Unity, since it seems pretty feature rich.
I don't believe function mocking is needed for this test setup? Just to port it from the custom way it is implemented now. In something that is plain C, or C and the test metas/macros.
Then set up a general test environment to pull in the user's implementation, so the test suite(s) can be run on an embedded target.


How to add custom text to the diagram

Hi,
I'm currently trying to adde  custom text within the bar chart diagram. What's the best way to do so?
Are there already some internal functions available?
Thanks for you support
Sven

It depends what text you want to add and where. There is labels, values text, and ChartMarker to let you display some custom text when you tap the bar; of cause you could write your own code to display the chart markers when the chart is loaded.

I'd like to plot three histograms into one diagram and add a text field (description) above each bar chart. It is just a label which I'd like to position at any place in the diagram.
I saw a function called  '''drawExtras''' . Is that the right place to add custom drawings?

Technically, as long as you know how it works, you can draw whatever you like on the canvas. Just keep it easy for you to maintain if any version upgrade;
There is legend, chart marker, here for you. But looks like you need to override and calculate the right position. For ultimate flexibility, I would consider create a chart marker; Anyway, just pick one you feel comfortable to use.


No implementation available for apiRef{plugin.jira-dashboard} for JiraUserIssuesViewCard

Describe the bug
I'm met with an error when trying to run the latest and greatest of the jira-dashboard and put the homepage component on the landing page.
**Error**
NotImplementedError

**Message**
No implementation available for apiRef{plugin.jira-dashboard}

**Stack Trace**
NotImplementedError: No implementation available for apiRef{plugin.jira-dashboard}
    at useApi (webpack-internal:///../../node_modules/@backstage/core-plugin-api/dist/apis/system/useApi.esm.js:30:11)
    at JiraUserIssuesCard (webpack-internal:///../../node_modules/@axis-backstage/plugin-jira-dashboard/dist/components/JiraUserIssuesCard/JiraUserIssuesCard.esm.js:38:81)
    at renderWithHooks (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:15486:18)
    at updateFunctionComponent (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:19612:20)
    at mountLazyComponent (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:19983:17)
    at beginWork (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:21627:16)
    at beginWork$1 (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:27460:14)
    at performUnitOfWork (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:26591:12)
    at workLoopSync (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.js:26500:5)
    at renderRootSync (webpack-internal:///../../node_modules/react-dom/cjs/react-dom.development.

To reproduce
Just followed the guide to set up the plugin and its backend. For me i got versions 1.13.3 for frontend and 4.0.2 for backend. I did not add anything to adapt to the new frontend system because i don't use it.
Screenshots

Environment

Stack trace or logs: Pasted above.
OS and version: Linux Mint Veronica
Version:

Backstage: 1.32.5
NodeJS: v20.18.1 installed with nvm

In that case you have to register the "api" manually, something like this from the statuspage plugin.
But that's not possible at the moment with the Jira plugin since that does not export the "JiraClient". I can create a review later today to export what's needed.
// packages/app/src/apis.ts:

createApiFactory({
    api: statuspageApiRef,
    deps: {
      discoveryApi: discoveryApiRef,
      fetchApi: fetchApiRef,
    },
    factory: ({ discoveryApi, fetchApi }) =>
      new StatuspageClient({ discoveryApi, fetchApi }),
  }),```

Sounds good, this should really be in the docs. :)

1.13.4 has been published!

I'll giv eit a go tomorrow! :)

Worked as a charm!


Add functionality to retrieve active findings from CSCC.

Use filter attribute of list API to retrieve active findings from CSCC.

We have a work around for this at this time.

#3567 fixes this.


What format is data stored in for IoT Hub routing to Blob Storage?

I was looking at the doc page here:
https://docs.microsoft.com/en-us/azure/iot-hub/tutorial-routing
But, I could not find any information about what format data is stored in. Does it use Avro or something else? It should be mentioned.

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

ID: f233412c-4242-e9a6-e09d-c5b07775dd00
Version Independent ID: 3a940d2c-77bb-b8ff-8864-9fc6ef16c122
Content: Configure message routing with Azure IoT Hub (.NET)
Content Source: articles/iot-hub/tutorial-routing.md
Service: iot-hub
GitHub Login: @robinsh
Microsoft Alias: robinsh

Hello @olavt . The format used is Avro. See the following doc: Query Avro data by using Azure Data Lake Analytics
@robinsh can we add a note on this doc mentioning that the format used is Avro?
Thanks!

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


unexpected addon ID / 403 Forbidden (CurseForge old API shutdown)

Could not find anything on this error, neither in issues nor with search engines.
Wondering if CurseForge just now changed their API, or if it is a temporary issue.
When attempting to install CurseForge mods using packwiz, I get these errors:
$ packwiz cf get pehkui
unexpected addon ID in CurseForge response: 319596/0
$ packwiz cf get origins-forge
unexpected addon ID in CurseForge response: 474438/0
$ packwiz cf get bucolic-origins
unexpected addon ID in CurseForge response: 596305/0

The old CurseForge API that current versions of packwiz use has been shut down; see the announcement in the packwiz Discord server. I'm in the process of updating it to use the new CurseForge API now.

The packwiz CLI and packwiz-installer have now been updated to support the new CurseForge API!

@comp500 I updated to the latest version and I am still having this issue. Any idea why this would be?
packwiz cf install xaeros-minimap
unexpected addon ID in CurseForge response: 263420/0

The error message has been changed in the latest version, you are not using the latest version. Where did you download packwiz from?

I ran go install github.com/packwiz/packwiz@latest

My bad, i had a 2nd copy of packwiz on my path which was the old version. Thanks for your help :)


[Branch] Create 1.12.2 branch

Branch to 1.12.2 in prep for 1.13 version

done: https://github.com/satyrnidae/wolfarmor/tree/versions/1.12


Adding helm --history-max support

Is your feature request related to a problem?
I'm using a helm chart in my devspace setup and currently devspace creates multiple helm revisions in the kubernetes secrets. This causes that the Rancher UI gets slower from time to time.
Helm does have a CLI setting --history-max which limits the maximum number of revisions saved per release.
It seems devspace does not even use 10 (the default), it seems to be set to 0 / unlimited. Currently I am having more than 500 stored Helm revisions on my kubernetes project. The Rancher UI /namespacedsecrets request has a response body of over 100MB and that's always be loaded when selecting the project in the UI. Depending on the internet connection this can really take some time, in my case the UI needs 10-20 seconds to load now.
Which solution do you suggest?
Add an option to the devspace.yml config to set the history-max value for Helm.
Which alternative solutions exist?
Additional context
Thank you! ❤

/kind feature

I've seen there is a upcoming change which changes the SDK to the CLI.
https://github.com/devspace-cloud/devspace/commit/14156db548822ed6d96049557be1c2d8083f571c
Maybe that fixes the issue already that at least the default of 10 should work now. I can imagine that since it's currently using the SDK and go has a default of 0 on integers we might have found the reason why there is no limit at the moment.

@BirknerAlex yes this will be fixed with the new release. Furthermore you'll be also able to override this during the upgrade command via a custom argument. The new release will be ready in the next days

@BirknerAlex should work now with v5.2.0

upgradeArgs:
  - "--history-max=5"

works fine, thanks!


Create Required Inputs HLD

Pull Request
🤨 Rationale
HLD for #2100
👩💻 Implementation
Wrote HLD.
🧪 Testing
N/A
✅ Checklist

[x] I have updated the project documentation to reflect my changes or determined no changes are needed.

@msmithNI do you mind buddying?

fyi @m-akinc merging is blocked on menu story instability, see https://github.com/ni/nimble/issues/1479#issuecomment-2341882851


why always flush my chrome

During i access my website deployed on my ubuntu server, the main page  always refresh. and the info attached here. Thanks.

It seems like the pagefind cause the bug.
I fix this bug at the new version v3.1.0


Unable to edit users

Laravel Version: 5.7.26
PHP Version: 7.1.9
Laravel-admin: 1.6.9

Description:
I have extended user model as below:

This is my new model:
   class CustomAdministrator extends Administrator
    {
         public function __construct(array $attributes = [])
         {
              parent::__construct($attributes);
              array_push($this->fillable, 'university_id');
         }
        public function university()
        {
             return $this->belongsTo(University::class);
         }

    }

made this changes to config/admin.php
// User tables and model.
'users_model' => \App\Models\CustomAdministrator::class,

defined model binding in the boot method in "app\Providers\RouteServiceProvider.php"
Route::bind('admin-user', function ($value) {
      if (is_numeric($value)) {
          return CustomAdministrator::findOrFail($value);
      } else {
          return CustomAdministrator::where('username', $value)->firstOrFail();
      }
  });

and added my route as below in "app\admin\routes.php"
  Route::group([
  'prefix'        => config('admin.route.prefix'),
  'namespace'     => config('admin.route.namespace'),
  'middleware'    => config('admin.route.middleware'),
   ], function (Router $router) {

  Route::resource('auth/admin-users', AdminUserController::class);

  });

Steps To Reproduce:
Everything works fine, I can see users list and create new one but I can't delete or edit any user. whenever I want to edit a user I get this error:
BadMethodCallException In Macroable.php line 100 :
Method Illuminate\Database\Eloquent\Collection::setAttribute does not exist.

What about remove the model binding step?

What about remove the model binding step?

What do you mean by that? How can I remove the binding model?
Isn't it enough to define new model binding in the boot method in "app\Providers\RouteServiceProvider.php"?
Can you explain more. Thanks

Route::bind('admin-user', function ($value) {
      if (is_numeric($value)) {
          return CustomAdministrator::findOrFail($value);
      } else {
          return CustomAdministrator::where('username', $value)->firstOrFail();
      }
  });

Remove the above code in your RouteServiceProvider.php

Route::bind('admin-user', function ($value) {
      if (is_numeric($value)) {
          return CustomAdministrator::findOrFail($value);
      } else {
          return CustomAdministrator::where('username', $value)->firstOrFail();
      }
  });

Remove the above code in your RouteServiceProvider.php

Thank you so much. It did work, although I don't understand why binding new model was the problem

If the route model is bound, the first parameter passed into the update and delete action is a CustomAdministrator instance instead of the user id, which breaks the conventions for delete and update methods.


Small fix for aPLib detection

Remove count(characteristic(calls from)): 2 or more to detect aPLib compression used in BlackMatter v3.0.
Also the linting fails with B43FCA5283BFC7022553EFF663683834 cause capa throws UnsupportedFormatError, so I removed it from the rule. Lmk if you guys want me to add it back.

Thanks for the contribution!
The B43FCA5283BFC7022553EFF663683834 lint seems to pass for me, where are you getting the error?
Do you know if the expected calls are inlined here or if the algorithm works differently?

Hmm it's not really inlined cause the the patterns from the rules are inside a function, and that function is definitely called more than 2 times. Not sure why the existing rule doesn't detect it unless I remove that.

I'm not sure why this rule isn't matching either and show-features lists all the features that we expect to see in this function. So, I'd like to triage why matching isn't working before merging this PR.

ah, nevermind, the rule specifies 2x "call from" (not 2x "call to" that i screenshotted above).
confirmed that there are no calls from function 0x413074 in 757139E76FAE876AE50DD2C3AC11D5D8. i will next find out if the expected function calls have been inlined.

with calls vs inlined variants:

nice investigation, can we pull some features from the called/inlined functions maybe?

recommend that we make the calls from feature optional.
i think we can also add the following features:

shl 8
shr 1

these features are found in all 3 sample binaries that we have.
while some compilations use pusha/popa, the dll distributed with aplib 1.1.1 does not use this.

added logic, seems to work

please review @mr-tz  @cdong1012 and then i'd be happy to merge

Just pulled it down and tested it. The new logic looks good to me, and everything works nicely! Thank you for your work on this!


Getting database bazzar not found

How install database from migration,

How to migrate database?

I am getting error
Cannot use 'Object' as class name as it is reserved in F:\xamp\htdocs\bazzar\vendor\yiisoft\yii2\base\Object.php on line 77

yii migrate\fresh worked


fix iop status update issue.

resolve: https://github.com/istio/istio/issues/20021

@morvencao: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

lint_operator
6522c726abec1e2a2c053ab55cf1ab2d46b9b4a8
link
/test lint_operator

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@morvencao: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

lint_operator
6522c726abec1e2a2c053ab55cf1ab2d46b9b4a8
link
/test lint_operator

test_operator
6522c726abec1e2a2c053ab55cf1ab2d46b9b4a8
link
/test test_operator

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@morvencao: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

lint_operator
6522c726abec1e2a2c053ab55cf1ab2d46b9b4a8
link
/test lint_operator

test_operator
6522c726abec1e2a2c053ab55cf1ab2d46b9b4a8
link
/test test_operator

e2e_operator
6522c726abec1e2a2c053ab55cf1ab2d46b9b4a8
link
/test e2e_operator

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@morvencao: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

e2e_operator
04811e52b7e4d0d179cb7311028ee4e6f9f84a39
link
/test e2e_operator

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

I know this is not caused by this PR but rather the CRD, but I don't think this is the way to go. Status should always go into the Status part of the CR, never into the spec

+1

This also fixes e2e_operatortest.

Raised a PR to move status fields out of IstioOperator spec: https://github.com/istio/api/pull/1231 @ostromart PTAL

Moved status out of spec:
# kubectl get iop -o yaml
apiVersion: v1
items:
- apiVersion: install.istio.io/v1alpha1
  kind: IstioOperator
  metadata:
    annotations:
      kubectl.kubernetes.io/last-applied-configuration: |
        {"apiVersion":"install.istio.io/v1alpha1","kind":"IstioOperator","metadata":{"annotations":{},"name":"example-istiocontrolplane","namespace":"default"},"spec":{"profile":"demo"}}
    creationTimestamp: "2020-01-11T01:51:06Z"
    finalizers:
    - istio-finalizer.install.istio.io
    generation: 1
    name: example-istiocontrolplane
    namespace: default
    resourceVersion: "1540"
    selfLink: /apis/install.istio.io/v1alpha1/namespaces/default/istiooperators/example-istiocontrolplane
    uid: f52c3b52-53ea-43bd-8c87-bc84abfa4525
  spec:
    profile: demo
  status:
    component_status:
      Addon:
        status: 3
        status_string: HEALTHY
      Base:
        status: 3
        status_string: HEALTHY
      Citadel:
        status: 3
        status_string: HEALTHY
      EgressGateways:
        status: 3
        status_string: HEALTHY
      Galley:
        status: 3
        status_string: HEALTHY
      IngressGateways:
        status: 3
        status_string: HEALTHY
      Pilot:
        status: 3
        status_string: HEALTHY
      Policy:
        status: 3
        status_string: HEALTHY
      SidecarInjector:
        status: 3
        status_string: HEALTHY
      Telemetry:
        status: 3
        status_string: HEALTHY
kind: List
metadata:
  resourceVersion: ""
  selfLink: ""


💄style: various style changes for consistency and aesthetics

missing  to close the

https://github.com/welpo/tabi/blob/978af11495face1127dc30946989ecac78257207/templates/tags/list.html#L9-L19
{% for term in terms %}

            <svg class="tags-item-icon" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"
                fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                <path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"></path>
                <line x1="7" y1="7" x2="7.01" y2="7"></line>
            </svg>

                {{ term.name }} ({{ term.pages | length }} post{{ term.pages | length | pluralize }})

 {% endfor %}

Also, since it's a merge for fixing styles, might be good to also fix the social icons when on light mode
https://github.com/welpo/tabi/blob/978af11495face1127dc30946989ecac78257207/sass/parts/_footer.scss#L46-L48
maybe something like this would work
[data-theme="light"] {
      .social {
        &:hover {
          &>img {
            filter: invert(1);
          }
        }
        &>img {
          filter: none;
        }
      }
    }

Fixed both issues! Thanks~


Sketch to Mirror Files

Sketch for CashCtrlAPIClient.mirror_files()
CashCtrlAPIClient.mirror_files(root: (str | Path))
Param root: path of the local directory to mirror

Preparation: get list of local_files and remote_files as pd.DataFrame

Delete remote files
to_delete = ~remote_files['path'].isin(local_files['path'])
Delete all remote_files.loc[to_delete, 'id'] on API

remote_files = remote_files.loc[~ to_delete,:]

Sync categories between local_files and remaining remote_files

Upload new or modified files
Probably fetch category list again to ensure newly created categories are present.
to_upload = ~remote_files['path'].isin(local_files['path']) | locally modified later than remote modified
Upload all local_files.loc[to_upload, 'path']

Implemented as CashCtrlClient.mirror_files()


iOS scaling bug

I have created a JSFiddle to demonstrate the issue: http://jsfiddle.net/Q48cw/8/
Normally, uploading a photo will result in a value for 'Bytes uploaded' after the upload. However, for some reason, on iOS when using the following example photo, it stays at zero:
http://auto-expire.s3.amazonaws.com/bug/upload.JPG
If you run this script locally and check the server request, the POST data would be empty.

I hope it's not bad etiquette to post in this old issue here, but it seemed to be the most fitting one. I need to disable this resize behavior. For my use case I'd rather not display the preview image at all instead of resizing it. Also, does anyone know if these restrictions are still in place in newer iOS devices?
I am aware that I can implement my own code for thumbnail generation, but the fine uploader implementation is really fast and performant.


RNDatePickerDialogFragment.java uses or overrides a deprecated API. error when build as release with react-native -v 0.60.5

<EMAIL_ADDRESS>uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
FAILURE: Build failed with an exception.

Hey @Swaagie,
this appears to be an issue can we get confirmation on when this will be resolved? We will have to find an alternative date picker package for the time being. Thank you

This issue exists for months without resolution. Don't bet any money on a fix.

Okay we’ll just have to fork the repo and fix it ourselves then. If the authors are going to be unresponsive they should just say so on the read me that the repo is no longer maintained as opposed to just ignoring everyone

The problem mostly comes from this plugin not using androidx.
Installing jetifier, cleaning node_modues/caches and manually running npx jetify helped. The react cli should to that automatically, but it is quite buggy and unstable.

@ventr1x i added a postinstall script for npx jetify so it'll run automatically post npm install

we're using androidX now so this should not be a problem any more. please open a new issue if problem persists


NCDAP tests fail on Windows

After fixing the compile issues in https://github.com/Unidata/netcdf-c/issues/95, the following tests are failing on Windows:

ncdap_test_nstride_cached
ncdap_t_misc
ncdap_test_varm3

Investigating.

I've confirmed that this issue wasn't present in v4.3.3-rc2; I'm working on narrowing down where this was introduced.

It appears that the bug was introduced at some point in the pull request for ncf-177.  I'm trying to figure out where exactly it was introduced.  Unfortunately it appears that the compilation issue may have been introduced at the same time.  Trying to sort out a script I can use to automate a git bisect run, but unfortunately this will probably spill over into tomorrow at least.

On Jan 12, 2015, at 4:54 PM, Ward Fisher<EMAIL_ADDRESS>wrote:
It appears that the bug was introduced at some point in the pull request for ncf-177. I'm trying to figure out where exactly it was introduced. Unfortunately it appears that the compilation issue may have been introduced at the same time. Trying to sort out a script I can use to automate a git bisect run, but unfortunately this will probably spill over into tomorrow at least.

Hmm, let me know if it's related to my changes and I'll try to figure out the problem.  But, it might be somewhat tricky for me, since I don't think I've got any easy access to a Windows development environment...

Quincey=

Will do; it's not entirely clear yet, we'll see what git bisect has to say. Off hand I'd say probably not, since it's in an area of the code you didn't directly touch (I think), but the interleaving of merges and other interspersed issues means it will take a bit to pick through :)
Sent from my iPhone

On Jan 12, 2015, at 4:06 PM, Quincey Koziol<EMAIL_ADDRESS>wrote:

On Jan 12, 2015, at 4:54 PM, Ward Fisher<EMAIL_ADDRESS>wrote:
It appears that the bug was introduced at some point in the pull request for ncf-177. I'm trying to figure out where exactly it was introduced. Unfortunately it appears that the compilation issue may have been introduced at the same time. Trying to sort out a script I can use to automate a git bisect run, but unfortunately this will probably spill over into tomorrow at least.

Hmm, let me know if it's related to my changes and I'll try to figure out the problem. But, it might be somewhat tricky for me, since I don't think I've got any easy access to a Windows development environment...
Quincey=
—
Reply to this email directly or view it on GitHub.

I've been able to track down the compilation issue from issue #95 to commit f423f27, on December 24th.  Going to correct those in the detached head and see if the test issues were also introduced as well.

Tracked the issue down to two places in commit f423f27: First, there is an assertion that:
sizeof(long) == sizeof(void*)

which does not hold true under 64-bit MSVC. Second, the following assertion in ocinternal.c fails:
OCASSERT(state->curlflags.cookiejar != NULL);

This second issue is being caused by an error in ocmktmp() when a temporary file is created in Windows.  As a result, state->curlflags.cookiejar is NULL and this assertion fails.
I'll correct these issues and see what else pops up.

Fixed in commit 393db0018e36bab41a4a19eb9f06ed9804021f8b.


[BUG] No id after rok update

Describe the bug
When copying the information, the scanner will truncate the last digit of players that have KP that is 11 digits,   IE:  27,123,456,789 will be saved as  2,712,345,678
I ran 3 scans and all 3 scans produced the same results, none of the players scanned had a modified background from SVIP 19.
Also When recording the player ID's  it will randomly use -3 for the payer ID and it will also truncate the ID, sometimes the start, sometimes the end, can be 1 digit or 3 that are missing
(This can not be duplicated for the same players to have errors on the ID numbers)

Your Setup (please complete the following information):

OS:Windows 11
Bluestacks Version: <IP_ADDRESS>3 N64
Android of Bluestacks: Nougat 64-bit
Tracker Version: v5.0.0

Additional context
Add any other context about the problem here.

Overall this is a duplicate of #110 but the mention of a different background for svip is also important. I am very sure that a change in the background would also mess up the scan. Do people actually use it? If that is the case I need to find a person that uses the other background and start experimenting with settings.

Prior to the update, last couple of weeks, we have multiple accounts with the flames type background.  Only on one account did I run into an issue on the recording of the KP, the account has 27 billion KP and the scanner would add a "1" between the 2 & 7 and be recorded as 217 billion. This was only an issue on the one account, those that were 1x billion were recorded properly.

Ah that is good to hear, then probably no changes are needed. (The added 1 is probably a typical ocr issue again)

Not sure if i just update this or make a new post, but the first bug issue from my original post is still there.
I am using v5.0.1 and the issue with KP for players over 10B is still there,  it truncates the last digit of any KP value with 11 characters.   So 12,345,678,901   is recorded as 1,234,567,890.
Also the log says "kills don't check out and need to be manually checked" for every account scanned.  I checked about 20 accounts and the recorded t4&t5 kills were correct and matched the KP recorded ( other then those with 11 digit kp values)
kingdom-scanner.log

Oh, my bad, I have missed that part of the issue. I need to move the scan area a bit more to the right in that case. I'll test that and then push another release.

This should be fixed with version 5.0.2. I am closing this issue, but feel free to reopen it if there are still problems with it.


Add permission for src/bin/cleanup.js

In package.json, add cleanup script.
    "cleanup": "DEBUG=* ./superscript/lib/bin/cleanup.js --mongo PhillyLogicDB",

Expected Behavior
All data in mongodb is dropped.
Current Behavior
Get an error.
$ npm run cleanup

><EMAIL_ADDRESS>cleanup /root/git/chatbot-mvp/philly-logic
> DEBUG=* ./superscript/lib/bin/cleanup.js --mongo PhillyLogicDB

sh: 1: ./superscript/lib/bin/cleanup.js: Permission denied

npm ERR! Linux 3.13.0-86-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "cleanup"
npm ERR! node v6.9.1
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>cleanup: `DEBUG=* ./superscript/lib/bin/cleanup.js --mongo PhillyLogicDB`
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>cleanup script 'DEBUG=* ./superscript/lib/bin/cleanup.js --mongo PhillyLogicDB'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the philly-logic package,

Possible Solution
Add exec permissions.
Steps to Reproduce (for bugs)
Context

Your Environment

Version used:
Environment name and version (e.g. PHP 5.4 on nginx 1.9.1):
Server type and version:
Operating System and version:
Link to your project:

Coverage decreased (-0.04%) to 65.448% when pulling 3d3be78f38ae196bc1dc6e9657b1d4a1d08548ad on Samurais:v1.0.0 into ffef2e23d9221433f30236cfb216818f42178f8a on superscriptjs:v1.0.0.

Coverage decreased (-0.04%) to 65.448% when pulling 3d3be78f38ae196bc1dc6e9657b1d4a1d08548ad on Samurais:v1.0.0 into ffef2e23d9221433f30236cfb216818f42178f8a on superscriptjs:v1.0.0.

Coverage decreased (-0.04%) to 65.448% when pulling 3d3be78f38ae196bc1dc6e9657b1d4a1d08548ad on Samurais:v1.0.0 into ffef2e23d9221433f30236cfb216818f42178f8a on superscriptjs:v1.0.0.

Good catch - thanks!


Invalidate a http session on a successful response from Hub

Invalidate the http session after a successful egress from Gateway to the Government Service.

To do tomorrow:

Invalidate session also for the two error mappers
Or ideally invalidate only in place for all exit paths
Test that session gets invalidated in all three scenarios


⚠ Processors has degraded performance

In 92eaece, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 78 ms

Resolved: Processors performance has improved in bc3ecb0.


How to contribute a new style?

I'd like to contribute a new style for Nord, but couldn't find an obvious way by looking through the code (grepped for lovelace, monokai, etc.). Could you point me in the right direction?

cheat.sh doesn't do theming itself. It uses a combination of pygments and direct calls to colored.

Ah got it, thanks.


[Linux][HIDSharp] System hangs while I2C read

HIDSharp problem?
repro code
using System;

using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Console;

using Smdn.Devices.MCP2221;

var services = new ServiceCollection();

services.AddLogging(
  builder => builder
    .AddSimpleConsole(static options => options.SingleLine = true)
    .AddFilter(static level => LogLevel.Trace <= level)
);

await using var device = await MCP2221.OpenAsync(services.BuildServiceProvider());

var address = new I2CAddress(0x20); // MCP23017

await device.I2C.WriteByteAsync(address, 0x12); // GPIOA

var buffer = new byte[2];

await device.I2C.ReadAsync(address, buffer); // System hangs here

Console.WriteLine(BitConverter.ToString(buffer));

dotnet build /p:UsbHidDriver=HIDSharp && stdbuf -o0 dotnet run --no-build &> test.log
log
test.log:
(no log recorded)

/var/log/syslog:
(no log recorded)

env
.NET SDK (global.json を反映):
 Version:   5.0.202
 Commit:    db7cc87d51

ランタイム環境:
 OS Name:     ubuntu
 OS Version:  20.04
 OS Platform: Linux
 RID:         ubuntu.20.04-x64
 Base Path:   /usr/share/dotnet/sdk/5.0.202/

Host (useful for support):
  Version: 5.0.5
  Commit:  2f740adc14

i have test read and write function, it is some time ok for i2c
Buffer[0] = 0x00;
Buffer[1] = 0x00;
device.I2C.Write(wlcadd,Buffer,0,2);
int num = device.I2C.Read(wlcadd,Buffer,0,16);
Console.WriteLine("Read {0}",num);
Console.WriteLine(BitConverter.ToString(Buffer));

@wulinzhou Thank you for testing and reporting!


[bug] This document requires 'TrustedScript' assignment.

when you browser some websites. which contains an iframe dynamically loaded by javascript. It will throw an error This document requires 'TrustedScript' assignment.

What URL does the iframe load? It doesn't work with data: but should be fine with any other.

I think is javascript:

I was able to reproduce the behavior described. The sequence of loading a javascript: URL in an iframe is like this:

<iframe src=about:blank>
Navigates it to the javascript: URL

The content script of Untrusted Types is configured with match_about_blank so it is injected for <iframe src=about:blank>, but the navigation happens too fast so the injected JavaScript doesn't have a chance to run.
I'll investigate if it's possible to ensure the JavaScript has run before injecting the meta tag.

Actually forget what I said. It's quite the opposite. Chrome doesn't inject content scripts for <iframe src=javascript:> .The iframe, since is on the same origin, inherits the parent's CSP settings. Hence it doesn't have a default policy. I'm not sure if it's fixable but I'll keep investigating.


Decouple sharding logic from internal classes to SDK

This is a feature or change request
Problem

There are currently three sharding types/interfaces used across several classes:

ShardingParams: input by consumer when creating a node to configure it for sharding (part of ProtocolCreateOptions)
ShardInfo: represents cluster ID and shard indexes supported by a node. Encoded/decoded from/to the ENR, used for metadata and peer discovery.
SingleShardInfo: similar to above but only ever specifies a single shard index. Used to create message encoder/decoders and subscriptions.

ShardingParams is used in all the functions for creating nodes via the SDK, as well as all the constructors for Waku, BaseProtocol, Relay, Filter, Store, and LightPush. In these constructors, the logic is basically identical: the ShardingParams are used to validate and generate pubsub topics. Once the pubsub topics are generated, they are stored in the class and the ShardingParams are no longer used.
If any changes need to be made to ShardingParams or the logic of how pubsub topics are generated, it potentially needs to be updated in 6 constructors, even though internally all these classes just use pubsub topics and do not store sharding information in any form.
Proposed Solutions

Remove conversion of ShardingParams from Waku, BaseProtocol, Relay, Filter, Store, and LightPush. Instead, just pass the pubsub topics in the constructor.
This may involve removing the shardInfo field from ProtocolCreateOptions and instead using an additional argument for each createX function in the SDK.
Notes
The main motivation behind this change is to separate responsibility of handling sharding settings from the core protocol classes, as these should be able to change independently of one another.

Agree with this approach! Will help manage state internally.


CIS scan tool support for cis v 1.5

What kind of request is this (question/bug/enhancement/feature request): enhancement
CIS Scan tool must support scan for CIS benchmark v 1.5

These are the current pending failing tests that need to be looked into. Some of them can use the fixes from rke-cis-1.4 directly, others are totally new.
|   |   |   |   |
-- | -- | -- | -- | -- | --
Open accordion | Fail | 1.1.13 | Ensure that the admin.conf file permissions are set to 644 or more restrictive (Scored)Remediation: Run the below command (based on the file location on your system) on the master node. For example, chmod 644 /etc/kubernetes/admin.conf | Skip |
Open accordion | Fail | 1.1.14 | Ensure that the admin.conf file ownership is set to root:root (Scored)Remediation: Run the below command (based on the file location on your system) on the master node. For example, chown root:root /etc/kubernetes/admin.conf | Skip |
Open accordion | Fail | 1.1.15 | Ensure that the scheduler.conf file permissions are set to 644 or more restrictive (Scored)Remediation: Run the below command (based on the file location on your system) on the master node. For example, chmod 644 /etc/kubernetes/scheduler.conf | Skip |
Open accordion | Fail | 1.1.16 | Ensure that the scheduler.conf file ownership is set to root:root (Scored)Remediation: Run the below command (based on the file location on your system) on the master node. For example, chown root:root /etc/kubernetes/scheduler.conf | Skip |
Open accordion | Fail | 1.1.17 | Ensure that the controller-manager.conf file permissions are set to 644 or more restrictive (Scored)Remediation: Run the below command (based on the file location on your system) on the master node. For example, chmod 644 /etc/kubernetes/controller-manager.conf | Skip |
Open accordion | Fail | 1.1.18 | Ensure that the controller-manager.conf file ownership is set to root:root (Scored)Remediation: Run the below command (based on the file location on your system) on the master node. For example, chown root:root /etc/kubernetes/controller-manager.conf | Skip |
Open accordion | Fail | 1.2.34 | Ensure that encryption providers are appropriately configured (Scored)Remediation: Follow the Kubernetes documentation and configure a EncryptionConfig file. In this file, choose aescbc, kms or secretbox as the encryption provider. | Skip |
Open accordion | Fail | 3.2.1 | Ensure that a minimal audit policy is created (Scored)Remediation: Create an audit policy file for your cluster. | Skip |
Open accordion | Fail | 4.1.1 | Ensure that the kubelet service file permissions are set to 644 or more restrictive (Scored)Remediation: Run the below command (based on the file location on your system) on the each worker node. For example, chmod 644 $kubeletsvc | Skip |
Open accordion | Fail | 4.1.2 | Ensure that the kubelet service file ownership is set to root:root (Scored)Remediation: Run the below command (based on the file location on your system) on the each worker node. For example, chown root:root $kubeletsvc | Skip |
Open accordion | Fail | 4.1.3 | Ensure that the proxy kubeconfig file permissions are set to 644 or more restrictive (Scored)Remediation: Run the below command (based on the file location on your system) on the each worker node. For example, chmod 644 $proykubeconfig | Skip |
Open accordion | Fail | 4.1.4 | Ensure that the proxy kubeconfig file ownership is set to root:root (Scored)Remediation: Run the below command (based on the file location on your system) on the each worker node. For example, chown root:root $proxykubeconfig | Skip |
Open accordion | Fail | 4.1.7 | Ensure that the certificate authorities file permissions are set to 644 or more restrictive (Scored)Remediation: Run the following command to modify the file permissions of the --client-ca-file chmod 644  | Skip |
Open accordion | Fail | 4.1.8 | Ensure that the client certificate authorities file ownership is set to root:root (Scored)Remediation: Run the following command to modify the ownership of the --client-ca-file. chown root:root  | Skip |
Open accordion | Fail | 4.1.9 | Ensure that the kubelet configuration file has permissions set to 644 or more restrictive (Scored)Remediation: Run the following command (using the config file location identied in the Audit step) chmod 644 $kubeletconf | Skip |
Open accordion | Fail | 4.1.10 | Ensure that the kubelet configuration file ownership is set to root:root (Scored)Remediation: Run the following command (using the config file location identied in the Audit step) chown root:root $kubeletconf | Skip |
Open accordion | Fail | 4.2.12 | Ensure that the RotateKubeletServerCertificate argument is set to true (Scored)Remediation: Edit the kubelet service file $kubeletsvc on each worker node and set the below parameter in KUBELET_CERTIFICATE_ARGS variable. --feature-gates=RotateKubeletServerCertificate=true Based on your system, restart the kubelet service. For example: systemctl daemon-reload systemctl restart kubelet.service | Skip |
Open accordion | Fail | 5.1.5 | Ensure that default service accounts are not actively used. (Scored)Remediation: Create explicit service accounts wherever a Kubernetes workload requires specific access to the Kubernetes API server. Modify the configuration of each default service account to include this value automountServiceAccountToken: false | Skip |
Open accordion | Fail | 5.3.2 | Ensure that all Namespaces have Network Policies defined (Scored)Remediation: Follow the documentation and create NetworkPolicy objects as you need them. | Skip |
Open accordion | Fail | 5.6.4 | The default namespace should not be used (Scored)Remediation: Ensure that namespaces are created to allow for appropriate segregation of Kubernetes resources and that all new resources are created in a specific namespace. | Skip

On a cluster run CIS 1.5 Hardened profile run(hardened cluster)
Only Failures seen:
5.1.5 - Ensure that default service accounts are not actively used. (Scored)
5.6.4 - The default namespace should not be used (Scored) - currently on master-head Admin is not able delete default namespace
error seen:
5.3.2 - Ensure that all Namespaces have Network Policies defined (Scored)
Fixes for 5.1.5 and 5.6.4 fixes have been added; For 5.3.2 steps from hardening guide should be followed.

The API supports running CIS v1.4

I tested this with CIS-1.5 using the API in v2.4.4 and it seems that the Scan 5.3.2 will always fail as it hasn't the audit script yet.
Ensure that all Namespaces have Network Policies defined (Scored)Remediation: Follow the documentation and create NetworkPolicy objects as you need them.

https://github.com/rancher/security-scan/blob/master/package/cfg/rke-cis-1.5/policies.yaml#L95

Related UI issues:
https://github.com/rancher/rancher/issues/27867
https://github.com/rancher/rancher/issues/27866

Verified on 2.4-head - commit id: b7ab53e95 and on master-head - commit id: 80bd60a89

Default CIS scan version run on a k8s 1.18 cluster is CIS 1.5 when done through View In API --> runSecurityScan
On the UI, default scan version available is RKE CIS 1.5 for a k8s 1.18 cluster


Help with @kotlinx.serialization.Serializable as Nav Argument

Current version: 1.8.38-beta, ksp 1.8.10-1.0.9
Hey,
I'm currently trying to have a Serializable class as a nav argument.
@Destination
@Composable
fun ArticleDetailScreen(articleResource: ArticleResource) {...}

@Serializable
data class ArticleResource(
    val id: String,
    val title: String,
    val author: String,
    val content: String,
    val publishDateTime: LocalDateTime
)

But the generated Destination class is not taking the articleResource into account.
public object ArticleDetailScreenDestination : ArticlesDirectionDestination {

    public operator fun invoke(): Direction = this

    @get:RestrictTo(RestrictTo.Scope.SUBCLASSES)
    override val baseRoute: String = "article_detail_screen"

    override val route: String = baseRoute

    @Composable
    override fun DestinationScope<Unit>.Content() {
		val dependencyContainer = buildDependencies()
		ArticleDetailScreen(
			articleResource = dependencyContainer.require()
		)
    }

}

Or maybe I'm missing something here:
navController.navigate(ArticleDetailScreenDestination() within navGraph)
How can I achieve this?

Can you try removing publishDateTime from that class? just to see if lib will consider it then?
I also noticed within navGraph.. do you have a multi module app? Is ArticleResource in the same module of ArticleDetailScreen ?

I do have a multi module app, and ArticleResource is actually in another module.
I have app (navigation) -> feature (screen) -> data (model).
I tried removing the publishDateTime and no luck.
(I also noticed that if I instead extend java.io.Serializable in ArticleResource, the generated class will add the argument, so it appears to be something to do with kotlinx Serializable)

I'll close this issue then. We'll have better support for multi module coming this year :)

@Wrakor I've got the same issue, I tried to include the library in every module and to add the Serializable annotation on every object I used: I even tried to convert every list in ArrayList after reading another issue here. The project still gives me:
[ksp] com.ramcosta.composedestinations.codegen.commons.IllegalDestinationsSetup: Composable 'NameOfMyScreen': annotated function cannot define arguments of navigation type if using a 'navArgsDelegate' class. (check argument 'level'

@raamcosta I encountered the same problem now with one single screen. Version 1.9.52
I am trying to pass the same argument to various kinds of screens. On all of them I can do
@Destination() @Composable fun ScreenB(     level: Level,
and then I pass the Level object as a parameter by doing navController.navigate(ScreenBDestination(level)). In my "Screen C" I'm doing the same
@Destination() @Composable fun ScreenC(     level: Level,
but I can't find the right constructor when I try to do so.

Again, if I try to pass this object as NavArgs it tells me the problem I told you before in my last message. What am I doing wrong?
Thanks!

Did you rebuild the app?

I cleaned it, rebuilt it, I'm trying to read the Destination file and then I'll try another version of the library.

Can you link your previous message?

If you use navArgsDelegate = SomeClass::class
then do
data class SomeClass(val level: Level)
Does it work?

Then it tells me the same error of @davidmarinangeli .
[ksp] com.ramcosta.composedestinations.codegen.commons.IllegalDestinationsSetup: Composable 'AttributionDetailScreen': 'navArgsDelegate' cannot have arguments that are not navigation types. (check argument 'level')
even if the same class is passed as argument in the same project on different screens.

What is Level class? Is it an enum or Serializable or why do you think it is a nav argument type?

It's a serializable object with all Arraylists, Strings, Ints, and one enum. It's also used in other screen and passed as an argument in the "Screen B" I wrote above. ☹

Ok no worries thanks 😄
is it declared in a different module?

ScreenC screenB and the Level class are all on the same module?

Nope!

Can you tell me which are on which modules?
I think that the module where you’re describing screen C doesn’t see the class Level as Serializable.

Yeah Screen C is on another module of Screen B but the class Level is on another module of both of them. Could it be a dependency problem on the project?

Btw if your Level class all fields are also navigation types, then you don’t need to make it serializable.  (And if you do make it serializable and you declare it as its own navigation argument, then it doesn’t really matter what types it has internally, I.e you can use normal Lists instead of ArrayLists for example).
You can do navArgsDelegate = Level::class and instead of ending up with one navigation argument with a complex type you’ll have each field of Level class as its own navigation argument.
I think it may solve your issue.

Yeah Screen C is on another module of Screen B but the class Level is on another module of both of them. Could it be a dependency problem on the project?

Yes it could. Probably module where screen C is declared doesn’t use kotlinx serialization? 🤔 let me know if you figure it out, I’d like to check if I can improve the error message for your particular case.

I'll check it out. It could definitely be because ScreenC is on a brand new module.
Thanks!

Solved by adding the kotlinx dependency on the new module ( where ScreenC is ). Thanks a lot and sorry for the objects and screens shenanigans.

Great!
No worrries at all! Sorry if I sounded annoyed I wasn’t! I was just quick answering on the phone ahah 😝
glad it was fixed!

No you were not, no worries and thanks for the lightning speed of response ⚡


Add Ghost-CLI version range to package.json

Ghost-CLI 1.3.0 and above will check this field to determine if the ghost version is compatible with it.
This allows for breaking changes (such as the coming knex-migrator 3.0 change) to be added without worrying about CLI breakage for older versions.

Will merge with #9199 beginning of next week. Thanks 👍


Deprecation of an ElasticSearchView (resource panel > Advanced View > Deprecate button) yields a blank page

Nexus Delta v1.8.0-M2
Nexus Fusion 1.7.1
Chrome 101.0.4951.41
Staging environment
Description
Steps to reproduce:

in Admin
open Browse panel
filter by type ElasticSearchView
open one in resource panel
open Advanced View
click Deprecate button => you land on a blank page.

Resulting blank page URL (as seen in the video below): https://staging.nise.bbp.epfl.ch/nexus/bbp/samuel/resources/https%3A%2F%2Fstaging.nexus.ocp.bbp.epfl.ch%2Fv1%2Fresources%2Fbbp%2Fsamuel%2F_%2Ffab7eac5-101a-4ed5-bfa1-64a1773e46bb?rev=2

@bilalesi please test this one on M16, it might be fixed thanks to #3691


[BUG] Running on a CPU without CUDA compiler

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
After some small changes to setup.py I managed to install torchsparse on osx arm64 (M1). Some more changes to avoid hardcoded device="cuda:0" and cuda calls in backends.init has test.py finally fail with
AttributeError: module 'torchsparse.backend' has no attribute 'build_kernel_map_subm_hashmap'

Looking at pybind_cpu.cpp and pybind_cuda.cu this is not surprising, since only the CUDA version defines build_kernel_map_subm_hashmap.
Similarly, examples/backbones.py fails with AttributeError: module 'torchsparse.backend' has no attribute 'GPUHashTable', which is only defined in pybind_cuda.cu again.
Can torchsparse be used on a machine without nvcc, considering there doesn't seem to be a CPU implementation for these functions?
Expected Behavior
No response
Environment
- GCC: Apple clang version 14.0.3 (clang-14<IP_ADDRESS>.1)
- NVCC: N/A
- PyTorch: 2.1.0
- PyTorch CUDA: N/A
- TorchSparse: 2.1.0

Anything else?
Potentially related to #255.

Hi @tilmantroester . Thank you for your interest in TorchSparse! TorchSparse v2.1 is not designed for CPU-only use cases. If you want to run TorchSparse without nvcc, I would suggest you use TorchSparse v1.4/2.0 instead.

Hi @ys-2020, are there any plans to add a (unoptimised) CPU implementation to allow for local development and testing?

Hi! The optimizations we applied in v2.1 are mostly GPU-oriented. Thus I think starting from v1.4/2.0 might be a better choice for local development and testing for CPU implementation.


Undocumented Features and Use Case of this Python Package

It would be helpful to find a bit more information on this software in its README.
As I see it, it can provide a Python-only alternative to extracting the gpmf metadata using ffmpeg.
Would there be a reason for using this over ffmpeg and - let's say - pygpmf (see on Github | PyPI)?
Maybe for debugging if the 'high level' tools have problems reading and interpreting the data?
Besides:
The library hachoir3 was renamed to just hachoir: https://github.com/vstinner/hachoir

pygpmf is 5mo old, this is 3 years... back then this was what I could get working for the use-case I had (batch extracting GPS and accelerometer data from hero5 black videos).
If/when I needed this functionality again I would probably check out the current alternatives and either use them or update this to be more current (probably also use kaitai instead of hachoir etc, depending on full ffmpeg just to parse the fourcc streams is a bit bloated)

Thanks for your response! This clarifies things nicely!


[FAB-18252] Documentation should reference Java chaincode support

Signed-off-by: pama-ibm<EMAIL_ADDRESS>Key concept Blockchain topic still says that only Go and Node.js chaincode is supported.
Type of change

Documentation update

Description
Changed text to say "Currently, Go, Node.js, and Java chaincode are supported."
Related issues
FAB-18252

@Mergifyio backport release-2.3

@Mergifyio backport release-2.3

@Mergifyio backport release-2.2

@Mergifyio backport release-2.2


IItemstack Compatibility

Hey o/
Would it be possible to add a method (IItemStack, IItemStack, optional IItemstack) in addition to the existing ones? I'm attempting to make Chopping recipes in bulk, most importantly Plank to Slab conversion, and that would be a lot easier with IItemStacks.
I hope you'll consider it :)

Ah yeah, probably.  Its setup defensively (not all blocks have an item form) since it has to convert directly to IBlockState.

Ah I see, I hope there's a safe-ish way around that. IIngridient would be a good alternative to IItemStack, if that's preferable to make.

IIngredient would be even more difficult, as its a Predicate<ItemStack>, while this mod needs a Predicate<IBlockState>.  The conversion from itemstack -> blockstate doesn't always happen nicely, but I can work wrapping IItemStack into the function lists.

HitWithAxe-1.1.0 pending, hopefully those functions work properly.

Thank you, I'll check it out asap!

It works, woo!

👏


[Revise subclass] "spondyloepimetaphyseal dysplasia, Isidor-Toutain type" (MONDO:0032885)

Mondo term (ID and Label)
"spondyloepimetaphyseal dysplasia, Isidor-Toutain type" (MONDO:0032885)
Suggested revision and reasons
add superclass
spondyloepimetaphyseal dysplasia (MONDO:0100510)
Your nano-attribution (ORCID)
If you don't have an ORCID, you can sign up for one here

Dear @ValWood,
Thank you for reaching out to the Mondo Disease Ontology, part of the Monarch Initiative!
We have received your ticket and will review it as soon as possible.
If you have any additional information or updates relevant to your inquiry, please add them in a comment on this ticket. Your input is valuable in helping us understand and resolve the issue effectively.
Thank you for your patience and for your contributions to Mondo!
Sincerely,
The Mondo Team

Hi @ValWood,
We have added spondyloepimetaphyseal dysplasia as a superclass to spondyloepimetaphyseal dysplasia, Isidor-Toutain type, along with the PMID:23956136 as evidence for this mapping.
Thank you,
Yousif


materialization comment in metadata

I just want to add the possibility to write the comment in materialization metadata in Clickhouse
Tested it and it can be done by adding a few lines of code, for example, in view materialization right after as ( {{ sql }} ) like that:
...
  as (
    {{ sql }}
  )
    {% set comment = config.get('comment') %}
    {% if comment %}
      COMMENT '{{ comment }}'
    {% else %}
      COMMENT 'DBT'
    {%- endif %}
...

And with the customised comment in schema.yml it will be in CH
version: 2
models:
  - name: MODEL_NAME
    config:
      comment: SOME CUSTOM COMMENT

I can add it by myself and request a merge, but I'm totally new to contributing to anything at all so will be glad if somebody can guide how to contribute correctly :)

I guess adapter already supports docs. See example tests here https://github.com/ClickHouse/dbt-clickhouse/tree/main/tests/integration/adapter/persist_docs.
description field from model should be saved to COMMENT section

@simpl1g adapter supports docs for sure, but there is no option to write to Clickhouse-specific COMMENT field in table's or view's metadata
Not sure that dbt's description and Clickhouse's comment should be equalized here - comment is by definition a more broader and free-form field without specific function, while description serves one exact goal.

@dstsimokha

Not sure that dbt's description and Clickhouse's comment should be equalized here

They are already equalized, this is what persist docs does. It saves description in comment via MODIFY COMMENT, code is here

Not from the first try, but I got the persist_docs functionality


Script for deploying multiple RHDH instances

For test day we will need to setup multiple RHDH instances.
It would be nice to have a script that deployed multiple RHDH instances into separate OpenShift namespaces using the setup  described in RHDH Getting Started guide.
It should not do any configuration options, just start it with the default config.
For example ./deploy-test-rhdh.sh 5 would deploy 5 RHDH instances using helm chart in namespaces rhdh-{1..5}

@kadel I made an initial script and put it in a github gist: https://gist.github.com/Zaperex/8c4be128dec545742272319f14727a61

I had to change REPO_NAME to HELM_REPO_NAME on lines 27 and 30 to make it work.
While testing this I realized that for test day we will have to figure out how to manage pull secret. We should not add our personal pull secrets to the cluster that multiple people will share.

@kadel Ah my bad, I updated the script to fix the typo.
As for the personal pull secrets, can we potentially create a robot account for the rhdh organization with read-only permissions and let everyone use the pull secret of the robot account instead of their own pull secrets?

As for the personal pull secrets, can we potentially create a robot account for the rhdh organization with read-only permissions and let everyone use the pull secret of the robot account instead of their own pull secrets?

👍
this could work, after test day we can just remove/invalidate the robot account to make sure that even if the secret leaks no-one can use it.


Bug fab event activity

Fixes #748
Changes: Changed margin from 8dp to 16dp using @dimens file.

I did what you said, rebased and then added commit.
Could you help me in detail?

You deleted old branch. Wait till evening and I'll post instructions

git checkout development
git pull upstream development
git checkout -b fab_margin

Here, do your changes. Your changes are few so do them manually
git add .
git commit -m "fix: Standardize FAB margin"
git push origin fab_margin

Create pull request

I did the same thing before, and tried again, getting the same bug! More than 50 commits along mine.

That means you have changed your dev branch from the upstream. Try cloning again

This issue is already updated in development. How's that possible?
I cloned the whole repo again and found the issue already solved.

Because your development branch has been mutilated. It is not the same as upstream development branch. You pushed a commit on your dev branch changing it from the upstream one.
To fix it
git checkout development
git reset --hard HEAD~50
git pull upstream development

If that doesn't work, delete your fork and fork again

Your dev branch is behind upstream as well. So after pulling the changes, remain on the dev branch and git push origin development
And then follow the steps I mentioned a few comments back
If it still doesn't work, you can contact me on gitter and I'll help on TeamViewer

Thanks!
Also every time I need to do this to make forked repo updated?

No, you should always work on new branch and keep development branch updated. This will never happen


Add MediaDevicesError event for use local participant

Hi.
Bug Description
Currently, if there is a problem with the microphone or camera after requesting access from the browser, the component using useLocalParticipant will not be aware of that and will not update the UI (until another event is called).
Fix
This change causes the useLocalParticipant hook to be updated in case of a problem accessing the microphone or camera (MediaDevicesError event) and deliver the relevant errors in the output.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.mpnri seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi!
thanks for the PR first of all.
We already have a onMediaDeviceFailure callback on the LiveKitRoom component.
Is that something that would work for your use case already?

Hmm, I think since this problem is related to re-rendering, using a context API or a state manager like redux could probably work with that callback.
However, since @livekit/components-react already uses context API, and the useLocalParticipant hook and the ObserverParticipantMedia function are responsible for providing data about the camera and microphone, such as if they are active or not, I thought it would be better to add MediaDevicesError event to the observer, and return the errors as react states in useLocalParticipant. This also makes the component (that uses the hook) re-render when we get an error while creating a local track.

make sense to me!
@Ocupe any objections?

make sense to me! @Ocupe any objections?

Nope, looking good! Thank you @mpnri 🙏


Remaining tabs are not resized when closing tabs

Windows Terminal version (or Windows build number)
1.8.1032.0
Other Software
No response
Steps to reproduce
Open a bunch of tabs, close all but a few with the keyboard.
Expected Behavior
I expect tabs to be restored to their original size when the space allows for it.
Actual Behavior
Tabs remain compacted indefinitely. The only way to get the tabs back to their expected size seems to be to grab the mouse and hover over the tab bar and then move the mouse off the tab bar again.

I understand the tabs remain fixed in size until the mouse leaves the tab bar like what was mentioned in #8030, but this makes no sense when closing tabs with the keyboard or even when just exiting shells while the mouse is nowhere near the tab bar.

We suspect that this is an issue with MUX 2.5 :|

Should I report this issue at microsoft/microsoft-ui-xaml or hold off until you are sure?

Oh, sorry -- I'll move this issue report over there. I wasn't very clear on that. :)

Thank you! And thanks for Windows Terminal, it's awesome! :)

I've moved this upstream to /dup https://github.com/microsoft/microsoft-ui-xaml/issues/4971. Thanks!

close in https://github.com/microsoft/microsoft-ui-xaml/pull/6160
@zadjii-msft

@beervoley Are we sure that https://github.com/microsoft/microsoft-ui-xaml/pull/6160 fixed this? I just whipped up a Terminal build with 2.8 and this doesn't seem like it's fixed.

(the numberbox at the start of the gif shows that I've definitely got 2.8, b/c #13495 is fixed)
As I close tabs, they still don't seem to resize. Maybe it's a side effect of how we're removing the tab items from the list?
https://github.com/microsoft/terminal/blob/7976e48195a569c87e37b7ca4861dfdcb7db0d7c/src/cascadia/TerminalApp/TabManagement.cpp#L532-L534
But that seems... pretty straightforward.

IDK why I looked at this, the email cought my eye, but this is also not correct: https://github.com/microsoft/microsoft-ui-xaml/blob/9670f769069535175490ee611e8a1ddf3fffd094/dev/TabView/TabView.cpp#L780  It means that if your mouse happens to be over tab item one in the tab strip when you use keyboard to close tab 7 they wont resize.  I don't think its the issue you are seeing though @zadjii-msft. @ranjeshj

@beervoley Are we sure that microsoft/microsoft-ui-xaml#6160 fixed this? I just whipped up a Terminal build with 2.8 and this doesn't seem like it's fixed.

(the numberbox at the start of the gif shows that I've definitely got 2.8, b/c #13495 is fixed)
As I close tabs, they still don't seem to resize. Maybe it's a side effect of how we're removing the tab items from the list?
https://github.com/microsoft/terminal/blob/7976e48195a569c87e37b7ca4861dfdcb7db0d7c/src/cascadia/TerminalApp/TabManagement.cpp#L532-L534
But that seems... pretty straightforward.

yup, seeing the same
as @StephenLPeters outlined in a comment above - there's still a bug that if the cursor is over tabs and a tab is removed via keyboard - it still won't resize but that doesn't look what you're seeing.

not sure why this doesn't kick in: your pointer is clearly not over tabs so tabs width update should be triggered
@StephenLPeters any thoughts? going over it with debugger should point the issue right away

I didn't see anything wrong with my cursory review, but maybe has to do with xaml island stuff? maybe we don't get a pointer exited because the tab well goes to the edge of the island?

@ranjeshj the fix for this particular problem (not when cursor is still over tabs and a tab is closed via keyboard) is to change line 782 to UpdateTabWidths() instead of UpdateTabWidths(true, false). This will force TabView to use all the available width to size the tabs. I don't know why we need fillAllAvailableSpace bool in UpdateTabWidths at all. Passing false to shouldUpdateTabWidths will "achieve" the same result in case we don't need to resize tabs while user's cursor is still located over them.
So to summarize:

Update line 782 to UpdateTabWidths() to resize the tabs properly on keyboard close.
Keyboard close should be a distinct event from mouse click close because if the user's cursor is located on the tabs and a tab is closed via keyboard - tabview won't resize.

Upstream: https://github.com/microsoft/microsoft-ui-xaml/issues/8358


fix: hmr css with filename

Summary

Test Plan

Require Documentation?

[ ] No
[ ] Yes, the corresponding rspack-website PR is __

!canary


Supports JSON format custom headers.

Please describe your use case / problem.
I want to put log a custom header because I want to put in a microservices trace log.
If you look here, the JSON format is hardcoded.
https://github.com/datawire/ambassador/blob/acfc1467ad33655b542f1241b2aa058b6f167135/python/ambassador/envoy/v2/v2listener.py#L714-L738
Describe the solution you'd like
Is it possible to customize the JSON format like Envoy?
https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log#format-dictionaries

Looks like this was addressed by b61635fdbb929badb41c4173472ceb79145bcd4c


Update .travis.yml for C# test

Use pull request to kick Travis-CI test.

Awesome! I'm currently fixing other parts of the travis config 👍


Execute with Input Connect Flag

This change allows the connect flag to be passed to executes with input.

:+1:


date command seems to be needed for given data load notebook sample

The given sample for loading data via notebook is as follows:
%%sql
INSERT INTO retail_mil.customer VALUES (1,'2021-02-18',1022,557,101,'Tailspin Toys (Head Office)','Waldemar Fisar',90410,466);
but I get an error when running as follows:
Error: Cannot write incompatible data to table 'retail_lake_database.Customer':
- Cannot safely cast 'CustomerEstablishedDate': string to date
it works for me when adding the date  command -
%%sql
INSERT INTO retail_mil.customer VALUES (1,date('2021-02-18'),1022,557,101,'Tailspin Toys (Head Office)','Waldemar Fisar',90410,466);
shouldn't that be edited on the page?

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

ID: 1799ff8d-f974-4435-bdb2-28d98c40d730
Version Independent ID: 5de98352-0a14-0eda-6f3e-243cd5a84fd5
Content: QuickStart on Azure Synapse lake database and database templates - Azure Synapse Analytics
Content Source: articles/synapse-analytics/database-designer/quick-start-create-lake-database.md
Service: synapse-analytics
Sub-service: database-editor
GitHub Login: @gsaurer
Microsoft Alias: gesaur

Hi @roalexan , thanks for the feedback! I have assigned the issue to the content author to evaluate and update this doc as appropriate.

@roalexan you are right the query doesn't run without the date conversion. I made the change in the above PR.

#please-close

#assign:@SnehaGunda


Enable tests on .NET 6.

Ensure that we have pipelines setup to run tests on .NET 6.

See https://github.com/Azure/azure-sdk-for-net/pull/24260

Closing; tests are running on net6


Design System > Components > Invoice Detail Receipt> Default >Dark theme text is not display proper

Describe the bug
Dark theme text is not display proper.
Steps to reproduce bug

Go to 'https://dev-react.raaghu.ai/ & https://stage-react.raaghu.ai/'
Navigate to 'Design System > Components > Invoice Detail Receipt> Default'

Actual result-
Dark theme text is not display proper.
Screenshots
stage

dev

Expected result-
Dark theme text should be display proper.
Desktop (please complete the following information):
-OS: [Windows 10 Enterprise]
-Browser [ edge]
-Version [ 125.0.2535.92]

Fixed on stage or dev


Update problem: missing navigation

When switching from Pure to Blogme after updating from v0.7.2 to v1.0 the sidebar with the navigation is missing.
But perhaps this is a misunderstanding because its a blog theme: This happens only with pages (also with a fresh installation).

Permalink pages (both posts and pages) won't show the sidebar. Since this theme is based on Future Imperfect, and is made by Diego himself perhaps that is how he intended it to be.

Yeap, the posts and pages doesn't have navigator bar, but you can enable it, remove the lines 33 and 40, from the file blogme/index.php


Find the difference between two sets of text with JavaScript

Example:

Original text: I had aweesome breakfast tooday.
Edited text: I had awesome breakfast today.

Given these two sets of text, we should be able to find the difference with JavaScript. And show the difference in UI. This way, it'll be easy to see how the original text has been edited.
In this case, it should look like this: I had awe<e>some breakfast to<o>day.
(Where <e> and <o> have strikethrough over them)

Hi @ykdojo . Can I be assigned to this please ?
And, I think, added characters in the edited text should also be highlighted with maybe something like greenish background color.
Original text: I had aweesome breakfast tooday.
Edited text: I had an awesome breakfast today.

So it may give an output like this:

I had an aweesome breakfast tooday.
Where the appended words/chars are wrapped in a span with class .appended, and deleted words/chars are wrapped in a  span with class .deleted.

That sounds perfect! I'll assign this to you :)

Found this library, but not sure if it would be a good fit for this: https://github.com/jhchen/fast-diff

Maybe it would be better/simpler to just implement this ourselves? That way, it'll be easier to tweak it as we go, too. I just don't like how most of these libraries are really complex to read and edit... Anyway, I'll think about this some more.

Started working on this today.
Pretty raw and it might be hard to read, but I have some code here already: https://github.com/ykdojo/text_difference_finder

Hey @ykdojo did you look at my pull request ((24])?

@JustaFrank hey sorry I thought I'd submitted my comments already. I just sent them again.

I was thinking of implementing something on my own and comparing it to yours.

Here are some examples for testing, in English:

Hello I’m looking of the group for learn english.
-> Hello, I’m looking for a group to learn English with.

what book are you reading ? i want to start this one… what do you think about ?
-> What book are you reading? I want to start this one… What do you think about it?

who helps me for improving my English?
-> Can anyone help me improve my English?

I am waiting for snow from this morning until now.
-> I’ve been waiting for snow since this morning.

even I have French nationality. I still make mistake when I write my own sentences .
-> Even though I’m French, I still make mistakes when I write in French.

And some test cases in Japanese:

日本語でも英語でもドラマよく見ている。
-> 日本語でも英語でもドラマをよく見ています。
きのうのばんごはんはとてもおいしかたです。
-> きのうのばんごはんはとてもおいしかったです。
わたしのしごとのま、わたいはそうだいなけしきをみました
-> しごとのあいまにきれいなけしきをみました。
知らない人とお喋りのが怖いです。
-> 知らない人とお喋りするのが怖いです。
Duolingoは本とに凄いアプリです。
-> Duolingoは本当に凄いアプリです。
今朝はとても寒い！冬ははやく来る。
-> 今朝はとても寒いですね！冬がもうすぐ来そうです。

I changed a few lines of code, which split the strings by character. Having the option to split by words or character should be enough to cover most languages, I think.

Should I submit another pull request?

Sure, that sounds perfect.
I made my own version here, so I might pick yours or mine, or try merge them later on.
So one of the reasons I wanted to make my own version is because I wanted to learn how it works myself, and another reason is just because I wanted to make a video about it.
Anyway, I think it's good to have multiple solutions available to choose from :)

Solved this in my last video. I'll close this issue for now. https://youtu.be/4SP_AY7GGxw

Also thanks for your code, @JustaFrank. I got a lot of inspiration from your code for that video.


Add hyper-visual

Checklist for submitting a resource to awesome-hyper:

[x] Title: The title for the addition uses its npm title (hyper-example) or the resource's title.
[x] Link: The link for the addition uses the npmjs.com link (https://www.npmjs.com/package/hyper-example) or the resource's full URI.
[x] Repository: The package.json file of the resource contains repository information.
[x] Visual: There is a visual representation of what the addition does in its source repository.
[x] Location: The awesome addition is in the correct category or sub-category.

If it's a plugin or resource, put your awesome item at the BOTTOM of the correct section.
If it's a theme, insert it according to the ALPHABETICAL order.

[x] Description: I've written a short (one sentence) description for the addition in the README.md.
[x] Downloads: I've added a download stats badge in the second column ([![npm](https://img.shields.io/npm/dm/hyper-example.svg?label=DL)]())

How can I get it merged?

@linonetwo project's desc is Frequently Used CLI command now listed in a clickable GUI.. what do you mean by Frequently Used CLI command?

@iamstarkov  This is a drop-in replacement for hyper-history, which can't run properly in hyper 2.0.
So the usage is basically the same as hyper-history: load commands from your shell history.


⚠ Website Unmer has degraded performance

In e0a5c90, Website Unmer (https://unmer.ac.id/) experienced degraded performance:

HTTP code: 200
Response time: 15718 ms

Resolved: Website Unmer performance has improved in 4d04313.


[Feature-8985][UI-Next] Add a new option of 'thisMonthBegin into the options of the month select for the dependent task.

Purpose of the pull request
This PR will close #8985 .

Brief change log

Verify this pull request
This change added tests and can be verified as follows:

Manually verified the change by testing locally.
The test results are illustrated below:

Codecov Report

Merging #9004 (d8fcc26) into dev (7d94ada) will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##                dev    #9004   +/-   ##
=========================================
  Coverage     39.75%   39.75%
- Complexity     4262     4263    +1
=========================================
  Files           808      808
  Lines         32551    32551
  Branches       3649     3649
=========================================
+ Hits          12941    12942    +1
  Misses        18381    18381
+ Partials       1229     1228    -1

Impacted Files
Coverage Δ

...dolphinscheduler/remote/future/ResponseFuture.java
83.60% <0.00%> (+1.63%)
: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 7d94ada...d8fcc26. Read the comment docs.


2D shapes demo flickers

Bevy version
v0.12.1
Relevant system information

cargo 1.74.1 (ecb9851af 2023-10-18)
Arch Linux
Hyprland (Wayland)
AdapterInfo { name: "AMD Radeon Graphics (rembrandt, LLVM 16.0.6, DRM 3.54, 6.6.3-zen1-1-zen)", vendor: 4098, device: 0, device_type: Other, driver: "", driver_info: "", backend: Gl }
bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux 20230625.0.160437 Arch Linux", kernel: "6.6.3-zen1-1-zen", cpu: "AMD Ryzen 9 6900HX with Radeon Graphics", core_count: "8", memory: "23.2 GiB" }

What you did
cargo run --features wayland --example 2d_shapes
What went wrong
https://github.com/bevyengine/bevy/assets/878458/0959d365-77a8-4a56-92eb-1ee9afa869b2
Additional information
There is a warning in the log:
2023-12-09T07:52:55.988086Z  WARN bevy_pbr::ssao: ScreenSpaceAmbientOcclusionPlugin not loaded. GPU lacks support: TextureFormat::R16Float does not support TextureUsages::STORAGE_BINDING.

I can't test x11 because cargo run --features x11 --example 2d_shapes fails at runtime with:
2023-12-09T07:51:08.177244Z  INFO bevy_winit::system: Creating new window "App" (0v0)
2023-12-09T07:51:08.178137Z  WARN log: XRandR reported that the display's 0mm in size, which is certifiably insane
2023-12-09T07:51:08.178381Z  INFO log: Guessed window scale factor: 1
2023-12-09T07:51:08.239390Z  INFO bevy_render::renderer: AdapterInfo { name: "AMD Radeon Graphics (rembrandt, LLVM 16.0.6, DRM 3.54, 6.6.3-zen1-1-zen)", vendor: 4098, device: 0, device_type: Other, driver: "", driver_info: "", backend: Gl }
2023-12-09T07:51:08.610113Z  WARN bevy_pbr::ssao: ScreenSpaceAmbientOcclusionPlugin not loaded. GPU lacks support: TextureFormat::R16Float does not support TextureUsages::STORAGE_BINDING.
2023-12-09T07:51:08.612960Z  INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux 20230625.0.160437 Arch Linux", kernel: "6.6.3-zen1-1-zen", cpu: "AMD Ryzen 9 6900HX with Radeon Graphics", core_count: "8", memory: "23.2 GiB" }
2023-12-09T07:51:08.660015Z ERROR log: surface configuration failed: incompatible window kind
thread 'main' panicked at /home/m1cha/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-0.17.2/src/backend/direct.rs:771:18:
Error in Surface::configure: Validation Error

Caused by:
    Invalid surface

note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Encountered a panic in system `bevy_render::view::window::prepare_windows`!
thread 'main' panicked at crates/bevy_render/src/pipelined_rendering.rs:145:45:
called `Result::unwrap()` on an `Err` value: RecvError

Hey. I've faced the same bug while migrating from 0.11.3 to 0.12.1. For me, spawning single shape like this:
            commands.spawn(MaterialMesh2dBundle {
                mesh: meshes.add(shape::Quad::new(
                    Vec2::new(100., 100.)
                ).into()).into(),
                material: materials.add(ColorMaterial::from(resource.border_color)),
                transform: Transform::from_translation(Vec3::new(
                    calc_x,
                    calc_y,
                    0.
                )),
                ..default()
            });

works as expected. But if I add another spawn command, It starts its weird blinking. Moreover, when I had added mouse support for marking shapes It looked like shapes were switching places.
https://github.com/bevyengine/bevy/assets/27972409/7325dc93-2846-4beb-b693-b3699197acba
I'm currently using SpriteBundle as a temporary solution for testing purposes :)

Well, for me I don't see any output from running the 2D shapes example or my own extremely similar implementation on the latest branch (0.12.1 as of now). 0.12.0 works just fine, it's just 0.12.1 that does not.
0.12.1:

0.12.0:

Seems similar to #152? Though that was a loooooong while ago, so most likely a completely different reason.
OS: Windows 11 22H2 build 22621.3007
Rust ver: 1.75.0
bevy version: 0.12.1
CPU: Intel i5 8250U
GPU: Intel UHD Graphics 620

I have the same issue. Any custom or standard material2d causes flickering. Sprites work.
Running Wayland on Arch.
cargo 1.75.0
bevy 0.12.1
2024-02-02T20:35:43.139661Z ERROR log: XDG Settings Portal did not return response in time: timeout: 100ms, key: color-scheme
2024-02-02T20:35:43.179693Z  INFO bevy_render::renderer: AdapterInfo { name: "AMD Radeon RX 6800 XT (radeonsi, navi21, LLVM 16.0.6, DRM 3.56, 6.7.2-arch1-1)", vendor: 4098, device: 0, device_type: Other, driver: "", driver_info: "", backend: Gl }
2024-02-02T20:35:43.224529Z  WARN bevy_pbr::ssao: ScreenSpaceAmbientOcclusionPlugin not loaded. GPU lacks support: TextureFormat::R16Float does not support TextureUsages::STORAGE_BINDING.

Example for Colormaterial:

I noticed, that the flickering only occures, when at least 2 meshes of the same kind a present on screen.
It feels like z-index fighting, but without sharing screen space.

So far I can confirm, that this bug only happens on the GL Backend. Switching to vulkan
makes this disappear.
WGPU_BACKEND=vulkan cargo run --features wayland --example 2d_shapes

I met the same issue as well, though in my case the overlapped three shapes are at the position of one of them, depending on which has the lowest z-value.

This seems to be a bug in bevy, the reason it was not reproducing for me previously is it requires gpu_preprocesssing to be enabled which is dependent on the set of bevy features you use.


Add guest blog post on the power of upstream support

What an awesome piece of work @lblomenkemper - thanks so much. And you did it all, making the whole thing work, without a bit of support.
I had some weird problems with the graphic, I guess it was characters that looked like hyphens that weren't.
I made some slight changes to the text and would appreciate your review.
A full generated preview is at https://20230827-lblomenkemper-why-d.ddev-com-front-end.pages.dev/blog/unleashing-php-development-with-ddev/

Thanks! I like the changes, ok to merge from my side

Do you mind if I change the title to "Why our agency became a major supporter of DDEV ... and yours should too" ?

fine with that, go ahead

It's live, thanks so much! https://ddev.com/blog/unleashing-php-development-with-ddev/


[requires.io] dependency update on master branch

Coverage remained the same at 100.0% when pulling<PHONE_NUMBER>1b09c80e96b777a2ac8b4418e69ad8 on requires-io-master into f1000e8bc720793599c30af84ec9b6bc32ac650c on master.


Cannot start karma - no provider for jasmine

Hey Guys:
I'm having an issue with getting karma running (on a non angularJS project) - I've installed all dependencies with npm and ran the karma init my.conf.js 2 times. When I try and run karma start my.conf.js, here's the output:
/usr/local/lib/node_modules/karma/node_modules/di/lib/injector.js:9
  throw error('No provider for "' + name + '"!');
        ^
Error: No provider for "framework:jasmine"! (Resolving: framework:jasmine)
    at error (/usr/local/lib/node_modules/karma/node_modules/di/lib/injector.js:22:68)
    at Object.parent.get     (/usr/local/lib/node_modules/karma/node_modules/di/lib/injector.js:9:13)
at get (/usr/local/lib/node_modules/karma/node_modules/di/lib/injector.js:54:19)
at /usr/local/lib/node_modules/karma/lib/server.js:27:14
at Array.forEach (native)
at start (/usr/local/lib/node_modules/karma/lib/server.js:26:21)
at invoke (/usr/local/lib/node_modules/karma/node_modules/di/lib/injector.js:75:15)
at Object.exports.start (/usr/local/lib/node_modules/karma/lib/server.js:178:12)
at Object.<anonymous> (/usr/local/lib/node_modules/karma/bin/karma:19:39)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.runMain (module.js:492:10)
at process.startup.processNextTick.process._tickCallback (node.js:275:11)

I have karma-jasmine and karma-phantomjs-launcher in node_modules, is there something else that I'm doing wrong? What else can I check?
Thanks,

Vann

I'm getting this error with Node v0.12.0 and v0.10.36
Does anyone know how I can fix this?

@aleclarson can you post your karma.config.js

// karma.config.js

module.exports = function(config) {
	config.set({
		basePath: "",
		frameworks: ["jasmine"],
		plugins: [require("karma-webpack")],
		files: ["build/**/*.js"],
		exclude: ["node_modules"],
		preprocessors: {
			"build/**/*.js": ["webpack"]
		},
		reporters: ["progress"],
		port: 9876,
		colors: true,
		logLevel: config.LOG_DEBUG,
		autoWatch: true,
		browsers: ["Chrome"],
		singleRun: false
	});
};

@aleclarson remove property plugins(then karma will by default load all plugins from node_modules by pattern karma-*) or add to it karma-jasmine.
plugins: [require("karma-webpack"), require('karma-jasmine')],

@maksimr Oh I get it. Thanks!

I faced same error and tried to resolve for couple of hours.
Finally I figured out the issue.  Which is "Karma module need to install LOCALLY not Globally"  But you can have Karma-cli module can be installed globally.

@arunkumarg Thanks for your sharing! It really helpful!

@arunkumarg Your methods are really helpful!


WFLY-7108 UNSYNCHRONIZED extended persistence context associated but not joined with JTA transaction and target component is persistence context of SYNCHRONIZED, IllegalStateException should be thrown

This pr is for https://issues.jboss.org/browse/WFLY-7108.  Since this fix introduces a compatibility issue, I think that we will also need a form of the https://issues.jboss.org/browse/WFLY-7075 change, that allows the current application behaviour.  This pull request shouldn't be merged until we have a WFLY-7075 pull request to go with it.
We will have product jiras after we get further along on this change.

as part of fixing this, I also reported WFLY-7130, which blocked me from passing properties to @PersistenceContext, a good bug to fix.  I'm closing this and will reopen a pr with the three related git commits.


Create data model for tables + insert/update functions in utils

fyi: i did some additional work on this PR https://github.com/flashbots/mev-inspect-rs/pull/59 including tables and sql migrations https://github.com/mattsse/mev-inspect-rs/blob/new-database-model-and-inspect-reduce-api/migrations/00000000000000_initial_setup/up.sql

This issue is solved by our schemas in mev_inspect/schemas, DB models in mev_inspect/models, and migrations in alembic


can we move state storage to localStorage?

It's bothering me a little that each monterey session starts blank. Can we move the open projects state to localStorage or implement a "restore last session" command?

Yeah, the session storage isn't working right (it's using cookies right now if I remember correctly). So we need an alternative yep

I was thinking along the same lines when pondering about GitHub repo choser, which should have his own "history of recently visited repositories"
I am not sure what is localStorage - you may look at https://github.com/jviotti/electron-json-storage as one example. Alternatively check this https://github.com/fxding/greader/blob/master/app/render/db.js

+1 for https://github.com/jviotti/electron-json-storage

In that same vein, let's use appdirectory as well

we have to change these functions to use https://github.com/jviotti/electron-json-storage


Database scanner: Allow individual category

The used category for databases can only be the table name or 'database'. I think it shouldn't be a problem if it would be an arbitrary name. But the special value 'database-table-name' could be left as it is, since it is very unlikely that one needs this as a category.

Database feat. is great! Unfortunately, If you "optimize" all database translation will be deleted :-(