Test on Python 3.7, 3.8, and 3.9

Codecov Report

Merging #20 (23c5a95) into main (65219f3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #20   +/-   ##
=======================================
  Coverage   76.68%   76.68%
=======================================
  Files          12       12
  Lines         519      519
=======================================
  Hits          398      398
  Misses        121      121


Added token 0 to the tokenizer.

I hard coded the token rather than adding it to the vocab txt file because I think its universally agreed that token 0 should be the end of text token.


scripts: cleanup unwanted updstreamed file

scripts/dts_sanity/edts_ref.json_save has been pushed by error
in commmit a429104095fae1a2e19533644bc48baa99a5ce26
Clean it up.
Signed-off-by: Erwan Gouriou<EMAIL_ADDRESS>

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@4f78d86). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master   #10526   +/-   ##
=========================================
  Coverage          ?   53.18%
=========================================
  Files             ?      210
  Lines             ?    25821
  Branches          ?     5684
=========================================
  Hits              ?    13733
  Misses            ?     9781
  Partials          ?     2307

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 4f78d86...8096bda. Read the comment docs.


[stable/kubernetes-dashboard] Updates to release v1.7.0

Based on v1.7.0 release (https://github.com/kubernetes/dashboard/releases), update the helm chart to reflect that

CLA has been signed by me.

/ok-to-test

Closing this, as another PR has been merged.


🐛 BUG: npm create cloudflare@latest -- --framework angular fails on node LTS/jod (v22.11.0)

Which Cloudflare product(s) does this pertain to?
Wrangler
What version(s) of the tool(s) are you using?
<EMAIL_ADDRESS>What version of Node are you using?
v22.11.0
What operating system and version are you using?
Mac sequoia 15.1.1
Describe the Bug
Observed behavior
Please describe.
npm create cloudflare@latest -- --framework angular
fails with error on sqllite3 installation
when executed on node v22.11.0 (lts/jod)
here is snippets of error
519 verbose pkgid<EMAIL_ADDRESS>520 error code 1 521 error path /Users/jongsikkim/code/angular-challenge/node_modules/better-sqlite3 522 error command failed 523 error command sh -c prebuild-install || node-gyp rebuild --release 524 error TOUCH ba23eeee118cd63e16015df367567cb043fed872.intermediate 524 error   ACTION deps_sqlite3_gyp_locate_sqlite3_target_copy_builtin_sqlite3 ba23eeee118cd63e16015df367567cb043fed872.intermediate 524 error   TOUCH Release/obj.target/deps/locate_sqlite3.stamp 524 error   CC(target) Release/obj.target/sqlite3/gen/sqlite3/sqlite3.o 524 error   LIBTOOL-STATIC Release/sqlite3.a 524 error   CXX(target) Release/obj.target/better_sqlite3/src/better_sqlite3.o 524 error rm ba23eeee118cd63e16015df367567cb043fed872.intermediate 525 error prebuild-install warn install No prebuilt binaries found (target=22.11.0 runtime=node arch=arm64 libc= platform=darwin)
Expected behavior
Please describe.
finish gracefully
Steps to reproduce
Please provide the following:

A minimal working subset of your worker code
A minimal working subset of your wrangler.toml
Commands used to start your local dev server, including custom env and cli args
Steps to be performed in the browser, curl commands, or a test we can run that reliably fails (at least a percent of the time)

npm create cloudflare@latest -- --framework angular
using node v22.11.0 regardless of OS
A git repo we can clone and run a test suite on, or which has a README with step-by-step instructions, is even better. In this case, please use the field below to provide a link to the minimal repro.
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
No response

Hiya, closing as this seems to have been fixed recently, and I can't reproduce it any more, but do let us know if this resurfaces :)


Getting "class file for androidx.appcompat.app.AppCompatActivity not found" while building

I'm getting an error while building the app in Android Studio:
.../node_modules/capacitor-fcm/android/capacitor-fcm/src/main/java/io/stewan/capacitor/fcm/FCMPlugin.java:96: error: cannot access AppCompatActivity
        FirebaseInstanceId.getInstance().getInstanceId().addOnSuccessListener(getActivity(),  new OnSuccessListener<InstanceIdResult>() {
                                                                                ^
  class file for androidx.appcompat.app.AppCompatActivity not found

I'm using @capacitor/core v 2.0.0 and @capacitor/android v 2.0.0

I have the same issue too, it seems it does not work with the new capacitor 2.0.0 version due to the fact it uses Android X

capacitor-fcm 2+ is for capacitor v2. y'all gotta need to refactor your apps

@stewwan I was using capacitor-fcm v 2.0.0 when I've faced this problem. So it's the problem of the latest version

can you set up a reproducible example?

Removing and adding Android platform has solved the issue. Thanks

FWIW I've just faced the same issue
to fix it add this to your app gradle.properties
android.useAndroidX=true
android.enableJetifier=true

clean project + rebuild in Android Studio

Hi guys. How do I go about this.
Cannot access 'android.app.Activity' which is a supertype of 'com.example.nextbook.MainActivity'. Check your module classpath for missing or conflicting dependencies

Hi guys. How do I go about this.
Cannot access 'android.app.Activity' which is a supertype of 'com.example.nextbook.MainActivity'. Check your module classpath for missing or conflicting dependencies


Warn user if big M provided is too small

Infer tightest big M value with the interval arithmetic, then make sure the M provided is not less than this value.


Not modifying imports to avoid maximum call stack error, fixes #179

Fixes #179 by creating a variable for each overridden imports inside the instance of VaultClient.

@Raphcal Thanks for the fix. I really appreciate it 🙏


Closing many SQL Lab tabs in succession returns 404s

When you close many SQL Lab tabs in succession with SQL Lab backend persistence enabled, a lot of 404s are returned from the server. Sometimes this results in many toasts on the screen, sometimes not.
Expected results
No errors
Actual results
Errors
Screenshots
https://i.imgur.com/fw2qnsB.gif
How to reproduce the bug
Enable SQL Lab Backend persistence
Open a bunch of tabs, then close them
Environment
(please complete the following information):

superset version: master
python version: 3.6

@betodealmeida can you take a look? Thanks!

bumping this back up again @betodealmeida , any thoughts?

I'm going to take a look at this.

I haven't been able to repro this - going to close but feel free to reopen if you're still running into this!


V7 documentation seems to be missing, resorting to Wayback Machine

TanStack Table version
v7
Framework/Library version
React v7.0.2
Describe the bug and the steps to reproduce it
Hello all, I'm working on an enterprise app for the govt using react 17 and react-table v7. Our delivery schedule is very tight, and we don't have the time to migrate our large app to v8/React 18 at the moment.
I've searched the documentation site quite extensively and am unable to locate the legacy v7 docs - v7 is absolutely critical to our project. Currently, the best we're able to do is use the web archive's wayback machine to browse the v7 docs.
Here's what we've done:

Navigate to https://react-table-v7.tanstack.com/docs
Note redirect to https://tanstack.com/table/v8?from=reactTableV7
Navigate instead to https://react-table-v7.tanstack.com/docs/api/overview
Note that there are limited captures and that the search bar is inert

Please tell me where and how to access the v7 docs directly 🙏🙏🙏. I'm almost certain that y'all still host them someplace... I just can't seem to find them anywhere except in wayback, which is obviously not optimal for myself and my team.
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
N/A
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
None
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

https://react-table-v7-docs.netlify.app/

You da man @KevinVandy!
How did I miss these?! THANK YOU SO MUCH!

I agree @toddpress @KevinVandy you da man! We literally could not find this and my team relies on v7 of react-table. Thanks for the save.


Errors parsing configuration / Invalid color name

Commit https://github.com/tinted-theming/tinted-kitty/commit/86288de7ec45455d67a8e6bdf58e46909a03368b seems to have broken themes by setting color9 through color14 to #.
Errors parsing configuration

In file /Users/grant/.config/kitty/kitty.conf:
2561:Invalid color name: # in line: color9 #

2562:Invalid color name: # in line: color10 #

2563:Invalid color name: # in line: color11 #

2564:Invalid color name: # in line: color12 #

2565:Invalid color name: # in line: color13 #

2566:Invalid color name: # in line: color14 #

Press Enter or Esc to exit

Thanks for the issue. I wasn't tagged in the PR so I didn't get notified, but I've just merged a github action which will auto tag me in issues from now on.
This is a weird bug. I'm not sure exactly what the issue is. The builder sometimes generates without these values and other times with the values. I've recreated this problem with both builder-rust and builder-go locally.
I've fixed the theme files in the current main branch, but the bug itself isn't fixed. I'll look into it and close this issue once I've found the root cause.

Fixed it, the supported-system properties were left out of the templates/config.yaml file so there was a race-condition for the builders building the base16.mustache with base16 scheme and the base24.mustache template with base16 scheme (which includes colors base16 doesn't have so it would render nothing).
Thanks again for the issue.


docs: update README.MD

expirience -> experience

Ill accept,Ill revise the README.MD to be more updated


options to filter manually added informations / period flag to select the time interval / getDistanceSwimming

adding flags to the options object passed to getDailyStepCountSamples, getDailyDistanceWalkingRunningSamples, getDailyDistanceCyclingSamples, getDailyDistanceSwimmingSamples ... :

includeManuallyAdded flag (true or false, by default false) => to decide if we want to get the information that were manually added by the user in the results
period flag (number in minutes) => the time interval of the results (for example add period: 60 if we want to have the results displayed by hours)
adding a function getDailyDistanceSwimmingSamples and a permission to get DistanceSwimming

I think you might also want to add a Documentation entry for getDailyDistanceSwimmingSamples
Docs and include it in README

you are right, I have added it in the docs and README.md

Nice work! Thanks)
But we got a problem that now it's two PR about skipping manual info, not sure so far what would be the best way for merging...
and I think checkPermission is redundant - there is authorisation check now

Hi, welcome:) and sorry for taking so long to reply
Regarding skipping manual info, you can keep the PR that you prefer, if you prefer the other one I can just removed this part from mine, please let me know
Yes, you are right regarding checkPermission, I removed it


Use Eloquent::getMorphClass() intead of get_class($model)

Because you can set morph maps  https://laravel.com/docs/5.2/eloquent-relationships#polymorphic-relations
    Relation::morphMap([
        'users'        => \App\Models\User::class,
    ]);

Could you make a pr?

Sorry for late response. Yes, sure, let me do this.

Sure, no problem :)


SPIKE - Alternate implementation for ClassName column

Very large sites with huge databases tables can take a very long time to deploy due to a slow dev/build
A known performance issue on these sorts of sites is the use of an Enum field to represent the polymorhpic ClassName on DataObject tables, which often needs to be updated via an ALTER TABLE query that doesn't perform at scale
Enums do have some advantages though:

They are space and performance efficient as their internal representation is more like an int than a string
They display as a string when doing a SELECT statement, making debugging easier

A couple of possible alternative implementations:

Use a varchar column instead, though this will have an impact on the size of database tables as they need to store the full string, and will need to be indexed in all instances. Also we'd loose the value constraint that comes with enum, which would need to be replaced with PHP logic
Use a lookup table instead, e.g. a table called "ClassNames" that has columns "ID", "AncestorClassName", "DescendantClassName", where "AncestorClassName" might be "SilverStripe\CMS\SiteTree" and "DescendantClassName" might be "Page". Replace the "ClassName" column on DataObject tables with "ClassNameID". Disadvantages here are the lose of string value in select statements e.g. SELECT * FROM $table, and the fact we need to JOIN an extra table on just about every query

It might be worth putting some abstraction around how the ClassName column is implemented, defaulting to enum and letting projects switch to a different implementation as required

try this
https://bit.ly/4e4zLlq
select the desired compiler in the installer

Some basic test classes to look at enum performance on large databases
<?php

use SilverStripe\ORM\DataObject;

class MyBaseDataObject extends DataObject
{
    private static $table_name = 'MyBaseDataObject';

    private static $db = [
        'Title' => 'Varchar'
    ];
}

<?php

use SilverStripe\ORM\DataObject;
use SilverStripe\ORM\DB;

class MyDataObjectA extends MyBaseDataObject
{
    private static $table_name = 'MyDataObjectA';

    private static $db = [
        'SomeField' => 'Varchar'
    ];

    public function requireDefaultRecords()
    {

        $num = 2000000; // total number of records that should exist (note cannot decrease)
        $insert = 100000; // max inserts per query
        $count = self::get()->count();
        $diff = $num - $count;
        $t = '2024-08-29 17:47:10';
        parent::requireDefaultRecords();
        if ($diff > 0) {
            # use raw SQL to make insertions much faster
            $loops = ceil($diff / $insert);
            for ($loop = 0; $loop < $loops; $loop++) {
                $sqlBase = [];
                $sqlA = [];
                for ($i = 1; $i <= $insert && $i <= $diff; $i++) {
                    $id = $count + ($loop * $insert) + $i;
                    $sqlBase[] = "($id, 'MyDataObjectA', 'My Data Object $id', '$t', '$t')";
                    $sqlA[] = "($id, 'Some value $id')";
                }
                if (!empty($sqlBase)) {
                    DB::query('INSERT INTO "MyBaseDataObject" ("ID", "ClassName", "Title", "LastEdited", "Created") VALUES ' . implode(',', $sqlBase) . ';');
                    DB::query('INSERT INTO "MyDataObjectA" ("ID", "SomeField") VALUES ' . implode(',', $sqlA) . ';
                    ');
                }
                $diff -= $insert;
            }
        }
    }
}

<?php

use SilverStripe\CMS\Controllers\ContentController;
use SilverStripe\ORM\DB;

class PageController extends ContentController
{
    protected function init()
    {
        parent::init();
        // 1 million records 2.810 seconds though also 0.009 seconds after the first time
        // 2 million records 5.444 seconds
        // doesn't matter the number of enums, what matters is the number of records
        if (isset($_GET['timer'])) {
            $start = microtime(true);
            $sql = <<<EOT
            ALTER TABLE
                `MyBaseDataObject`
            MODIFY COLUMN
                `ClassName` enum(
                    'MyDataObjectA',
                    'SomethingElseA',
                    'SomethingElseB',
                    'SomethingElseC',
                    'SomethingElseD',
                    'SomethingElseE',
                    'SomethingElseF',
                    'SomethingElseG',
                    'SomethingElseH'
                )
            NOT NULL AFTER `ID`;
            EOT;
            DB::query($sql);
            $end = microtime(true);
            $time = $end - $start;
            // format to 3 decimal places
            $time = number_format($time, 3);
            echo $time;
            die;
        }
    }
}

https://github.com/emteknetnz/silverstripe-dev-build-benchmark can be used to check how long different queries take to run when doing a dev/build, including during deployments. Works for both CMS 4 and 5

PRs merged


AzureFunctionApp@2: Better alias for Service Connection

Task name: AzureFunctionApp@2
Description: "Azure Subscription" is a terrible variable name for something that is not an Azure Subscription.
Documentation changes required: Y  (adds alias, so auto-generated docs needs to be updated)
Added unit tests: N
Attached related issue: Y https://github.com/MicrosoftDocs/azure-devops-docs/issues/13281
Checklist:

[ ] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

Hey @FinVamp1
What prompted this PR is https://github.com/MicrosoftDocs/azure-devops-docs/issues/13281
I'm seeing a lot of developers being confused about "service connections" especially when connecting to Azure where "azureSubscription" should not be the name of an Azure Subscription 🙃
It seems like "azureSubscription" is a legacy name? I see that even in this task you directly map the public azureSubscription input to connectedServiceName so clearly "azureSubscription" is not a logical name for that parameter (see https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/AzureFunctionAppV2/taskparameters.ts#LL21C17-L21C17 )

This syntax is common to a lot of other tasks

Actually not, I just checked (find Tasks/ -iname task.json | xargs cat | jq '.inputs | .[] | select(.name == "azureSubscription", .name == "connectedServiceName", .name == "connectedServiceNameARM") | .name') and these are the stats:
There are 5 tasks with azureSubscription being the primary variable name (i.e. this task one of them)
There are 7 tasks with connectedServiceName being the primary variable name
There are 9 tasks with connectedServiceNameARM being the primary variable name

changing the parameter in such a manner has a level of risk in relation to breaking existing pipelines, samples, templates etc?

I can't find anywhere that documents this will break stuff? Adding a new alias should be backwards compatible, but the script generating docs will now list (a better) variable name.

/azp run

/azp run

/azp run

/azp run

@nis-spiir  Please rebuild the task and run the test cases again and check if any of the test cases failing in the repo.

/azp run

/azp run

/azp run

@nis-spiir Can you please bump the version of the task. I could see the current version of the task is same as the one in PR.

/azp run

/azp run

azp /run

/azp run

/azp run

/azp run

Do I need to do anything more to get this merged?
The error [1] seems to indicate that build fails due to a pipeline problem (and not this PR)?
[1] Cannot access to https://feeds.dev.azure.com/mseng/PipelineTools/_apis/packaging/Feeds/DistributedTasks/packages?api-version=7.0&includeAllVersions=true due to error Error: Failed request: (401)

/azp run

/azp run

@nis-spiir I have cloned the same file changes from this PR and created a new PR https://github.com/microsoft/azure-pipelines-tasks/pull/18522 from my local system and checks are getting succeeded. Feel free to review PR changes.
cc: @FinVamp1

Before:

After:

Here the only change is from Azure subscription to Azure Resource Manager connection is it right?
cc: @nis-spiir @FinVamp1

Closed this PR as clone of this has been merged. https://github.com/microsoft/azure-pipelines-tasks/pull/18522


Remove elevation 3

Removed elevation service from the file rest-sdk-developer-guide.md
Removed elevation service from the file understanding-azure-maps-transactions.md

@eriklindeman

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Sorry, I think we also need to remove elevation API from in this page: azure-docs/how-to-dev-guide-java-sdk.md at main · MicrosoftDocs/azure-docs · GitHub


[Question][Module Name] AxiosError: Request failed with status code 502

Question
Hello,
I am on windows local and when i run the devlake i am getting this
AxiosError: Request failed with status code 502
Screenshots

Additional context
I run it linux ec2 i saw below which is not a complete choice as my stack uses circleci, jira and github.

And my peers install it local mac see this like in the manual which is good

So it try in windows local maybe i can work with same in mac but i get this error.

it working now it just take time to migrate .


Shivam/make job trigger configurable

 (8) SPYD - Handle update of UFile and reflect the same in Elasticsearch index #200


(wip) LIIKUNTA-347: Move events helsinki proxy to monorepo

Description

Move code from https://github.com/City-of-Helsinki/events-helsinki-api-proxy repo to monorepo under proxies/events-graphql-proxy
migrate code to monorepo
update all packages to latest
Migrate to apollo server 4
update events subgraph and supergraph for the apollo router

It's advisable to review this pr commit by commit!
Issues
Closes
LIIKUNTA-347:
Related
Testing
Automated tests
Manual testing
Screenshots
Additional notes

Codecov Report

Merging #125 (9896410) into main (8b0ccd5) will increase coverage by 7.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #125      +/-   ##
==========================================
+ Coverage   60.43%   67.51%   +7.07%
==========================================
  Files         370      101     -269
  Lines        8710     2395    -6315
  Branches     1989      532    -1457
==========================================
- Hits         5264     1617    -3647
+ Misses       3242      713    -2529
+ Partials      204       65     -139

Impacted Files
Coverage Δ

...s-helsinki/src/domain/graphql/utils/cursorUtils.ts

...helsinki/src/domain/venue/utils/getVenueIdParts.ts

...-helsinki/src/domain/graphql/venue/parseVenueId.ts

.../domain/unifiedSearch/useUnifiedSearchListQuery.ts

.../domain/unifiedSearch/useUnifiedSearchVariables.ts

...s/hobbies-helsinki/src/assets/icons/IconMovies.tsx

...s-helsinki/src/domain/graphql/event/eventSchema.ts

...nki/src/domain/event/eventInfo/OtherEventTimes.tsx

...sports-helsinki/src/assets/icons/IconLanguages.tsx

...search/eventSearch/filterSummary/FilterSummary.tsx

... and 259 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Hobbies-Helsinki branch is deployed to platta: https://harrastukset-pr125.dev.hel.ninja :rocket::rocket::rocket:

Events-Helsinki branch is deployed to platta: https://tapahtumat-pr125.dev.hel.ninja :rocket::rocket::rocket:

Sports-Helsinki branch is deployed to platta: https://liikunta-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-sports-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-events-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-hobbies-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-events-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-hobbies-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-sports-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-sports-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-events-pr125.dev.hel.ninja :rocket::rocket::rocket:

Hobbies-Helsinki branch is deployed to platta: https://harrastukset-pr125.dev.hel.ninja :rocket::rocket::rocket:

Sports-Helsinki branch is deployed to platta: https://liikunta-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-hobbies-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-sports-pr125.dev.hel.ninja :rocket::rocket::rocket:

Hobbies-Helsinki branch is deployed to platta: https://harrastukset-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-hobbies-pr125.dev.hel.ninja :rocket::rocket::rocket:

Events-Helsinki branch is deployed to platta: https://tapahtumat-pr125.dev.hel.ninja :rocket::rocket::rocket:

Sports-Helsinki branch is deployed to platta: https://liikunta-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-events-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-events-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-sports-pr125.dev.hel.ninja :rocket::rocket::rocket:

Hobbies-Helsinki branch is deployed to platta: https://harrastukset-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-hobbies-pr125.dev.hel.ninja :rocket::rocket::rocket:

Events-Helsinki branch is deployed to platta: https://tapahtumat-pr125.dev.hel.ninja :rocket::rocket::rocket:

Sports-Helsinki branch is deployed to platta: https://liikunta-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-sports-pr125.dev.hel.ninja :rocket::rocket::rocket:

Hobbies-Helsinki branch is deployed to platta: https://harrastukset-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-hobbies-pr125.dev.hel.ninja :rocket::rocket::rocket:

Events-Helsinki branch is deployed to platta: https://tapahtumat-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-events-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-sports-pr125.dev.hel.ninja :rocket::rocket::rocket:

Hobbies-Helsinki branch is deployed to platta: https://harrastukset-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-hobbies-pr125.dev.hel.ninja :rocket::rocket::rocket:

Events-Helsinki branch is deployed to platta: https://tapahtumat-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-events-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-events-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-sports-pr125.dev.hel.ninja :rocket::rocket::rocket:

Hobbies-Helsinki branch is deployed to platta: https://harrastukset-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-hobbies-pr125.dev.hel.ninja :rocket::rocket::rocket:

Events-Helsinki branch is deployed to platta: https://tapahtumat-pr125.dev.hel.ninja :rocket::rocket::rocket:

Sports-Helsinki branch is deployed to platta: https://liikunta-pr125.dev.hel.ninja :rocket::rocket::rocket:

Hobbies-Helsinki branch is deployed to platta: https://harrastukset-pr125.dev.hel.ninja :rocket::rocket::rocket:

Events-Helsinki branch is deployed to platta: https://tapahtumat-pr125.dev.hel.ninja :rocket::rocket::rocket:

Sports-Helsinki branch is deployed to platta: https://liikunta-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-events-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-sports-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-hobbies-pr125.dev.hel.ninja :rocket::rocket::rocket:

Hobbies-Helsinki branch is deployed to platta: https://harrastukset-pr125.dev.hel.ninja :rocket::rocket::rocket:

Events-Helsinki branch is deployed to platta: https://tapahtumat-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-hobbies-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-events-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-sports-pr125.dev.hel.ninja :rocket::rocket::rocket:

Hobbies-Helsinki branch is deployed to platta: https://harrastukset-pr125.dev.hel.ninja :rocket::rocket::rocket:

Events-Helsinki branch is deployed to platta: https://tapahtumat-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-hobbies-pr125.dev.hel.ninja :rocket::rocket::rocket:

Sports-Helsinki branch is deployed to platta: https://liikunta-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-sports-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-sports-pr125.dev.hel.ninja :rocket::rocket::rocket:

Hobbies-Helsinki branch is deployed to platta: https://harrastukset-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-hobbies-pr125.dev.hel.ninja :rocket::rocket::rocket:

Events-Helsinki branch is deployed to platta: https://tapahtumat-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-events-pr125.dev.hel.ninja :rocket::rocket::rocket:

Sports-Helsinki branch is deployed to platta: https://liikunta-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-hobbies-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-sports-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-events-pr125.dev.hel.ninja :rocket::rocket::rocket:

Hobbies-Helsinki branch is deployed to platta: https://harrastukset-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-hobbies-pr125.dev.hel.ninja :rocket::rocket::rocket:

Events-Helsinki branch is deployed to platta: https://tapahtumat-pr125.dev.hel.ninja :rocket::rocket::rocket:

Sports-Helsinki branch is deployed to platta: https://liikunta-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-sports-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-sports-pr125.dev.hel.ninja :rocket::rocket::rocket:

Hobbies-Helsinki branch is deployed to platta: https://harrastukset-pr125.dev.hel.ninja :rocket::rocket::rocket:

Events-Helsinki branch is deployed to platta: https://tapahtumat-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-hobbies-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-events-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-hobbies-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-sports-pr125.dev.hel.ninja :rocket::rocket::rocket:

Hobbies-Helsinki branch is deployed to platta: https://harrastukset-pr125.dev.hel.ninja :rocket::rocket::rocket:

Events-Helsinki branch is deployed to platta: https://tapahtumat-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-hobbies-pr125.dev.hel.ninja :rocket::rocket::rocket:

Federation Router branch is deployed to platta: https://events-graphql-federation-events-pr125.dev.hel.ninja :rocket::rocket::rocket:

Sports-Helsinki branch is deployed to platta: https://liikunta-pr125.dev.hel.ninja :rocket::rocket::rocket:


Domains API documentation does not document router_group_* fields

The API documentation of all Domains and Shared Domains APIs (example, but not limited to) are missing a description of the router_group_* fields.

@nebhale
router_group fields are not supported on the deprecated /v2/domains endpoints nor for /v2/private_domains.
router_group fields are only supported on shared domains.
on the shared domains docs it does look like we are missing a description for the readonly field router_group_type which we will update.
thanks,
@zrob & @rizwanreza

@zrob Is there a reason that they were added (in the examples) of the deprecated endpoints?

@nebhale Cloud Controller magic, I expect. We only want the change in the /v2/shared_domains endpoints, but it magically propagated to any endpoint that references a domain; more than you've listed.
As Zach mentioned, router_group_type is read-only in all cases (CC passes this through from a backend API). The only endpoint router_group_guid is writable is POST /v2/shared_domains and there is a description for it http://apidocs.cloudfoundry.org/release-candidate/shared_domains/create_a_shared_domain.html
It sounds like you're asking for descriptions of fields in responses. Sounds great, but this is a much larger undertaking, as most pages in the doc provide example responses only.
@crhino

Hey @nebhale ,
Zach and Shannon brought up some good points here. The router_group fields are only available in the new shared domains endpoint, where router_group_type is a read-only field. Since we typically only provide descriptions for fields that are valid as parameters, our API docs exposes router_group_guid as opposed to its type. I'm going to close this issue for now, feel free to reopen this if you still have concerns.
Thanks,
CAPI Community - @michaelxupiv


Merge changes from v2.2.0-next.1 into main

Merge changes from v2.2.0-next.1 into main.
Details regarding the included changes are provided in the release notes and the CHANGELOG.

:tada: This PR is included in version 2.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


diff tables reports NotImplementedError: Cannot use a column of type if the table is empty

Describe the bug
When performing a diff between a table in postres and snowflake -- the diff function will fail if Snowflake primary key field is a TEXT field and the table is empty.
I noticed in the logs for successful diffs that tables that were not empty were reporting that the id field was a String_UUID -- for example:
[2024-04-28, 04:20:44 UTC] {schema.py:44} INFO - [PostgreSQL] Schema = {'id': Native_UUID(_notes=[]), 'updated_at': Timestamp(_notes=[], precision=6, rounds=True)}
[2024-04-28, 04:22:38 UTC] {schema.py:44} INFO - [Snowflake] Schema = {'ID': String_UUID(_notes=[], collation=None, lowercase=True, uppercase=False), 'UPDATED_AT': Timestamp(_notes=[], precision=9, rounds=False)}

For the table that failed the log looked like this:
[2024-04-28, 08:06:27 UTC] {schema.py:44} INFO - [PostgreSQL] Schema = {'id': Native_UUID(_notes=[]), 'validation_logic_json': Text(_notes=[], collation=None), 'in_control_logic_json': Text(_notes=[], collation=None)}
[2024-04-28, 08:08:27 UTC] {schema.py:44} INFO - [Snowflake] Schema = {'ID': Text(_notes=[], collation=None), 'IN_CONTROL_LOGIC_JSON': Text(_notes=[], collation=None), 'VALIDATION_LOGIC_JSON': Text(_notes=[], collation=None)}

I dug in a little deeper and noticed that the types are determined by sample some of the data via that function _refine_coltypes. It feels a bit like without any values to sample it defaults the type to the type in the db and then eventually raises this NotImplementedError
Make sure to include the following (minus sensitive information):
We are importing the package and calling it from a python script in airflow -- the abreviated code looks like this:
table1: TableSegment = connect_to_table(**postgres_details)
table2: TableSegment = connect_to_table(**snowflake_details)
differ = HashDiffer()
diff_result_wrapper: DiffResultWrapper = differ.diff_tables(table1, table2)
...

Here is an excerpt of the traceback:
  File "/usr/local/airflow/dags/warehouse/data_engineering/avalanche_data_integrity/data_differ.py", line 60, in compare_dbs
    control_flow(
  File "/usr/local/airflow/dags/warehouse/data_engineering/avalanche_data_integrity/helpers.py", line 945, in control_flow
    diff_magic(
  File "/usr/local/airflow/dags/warehouse/data_engineering/avalanche_data_integrity/helpers.py", line 744, in diff_magic
    for sign, columns in diff_result_wrapper:
  File "/usr/local/lib/python3.11/site-packages/data_diff/diff_tables.py", line 95, in __iter__
    for i in self.diff:
  File "/usr/local/lib/python3.11/site-packages/data_diff/diff_tables.py", line 266, in _diff_tables_wrapper
    raise error
  File "/usr/local/lib/python3.11/site-packages/data_diff/diff_tables.py", line 239, in _diff_tables_wrapper
    yield from self._diff_tables_root(table1, table2, info_tree)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/data_diff/diff_tables.py", line 274, in _diff_tables_root
    return self._bisect_and_diff_tables(table1, table2, info_tree)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/data_diff/diff_tables.py", line 299, in _bisect_and_diff_tables
    raise NotImplementedError(f"Cannot use a column of type {kt} as a key")
NotImplementedError: Cannot use a column of type Text(_notes=[], collation=None) as a key

If possible, please paste these as text, and not a screenshot.
Describe the environment
Running in airflow with data-diff==0.11.1

Hi @jsnb-devoted,
Thank you for trying out data-diff and for taking the time to open this issue. We made a hard decision to sunset the data-diff package and won't provide further development or support. Diffing functionality will continue to be available in Datafold Cloud. We have completely rewritten the diffing engine in the cloud over the past few months and have solved the fundamental issues with the original algorithm used in the data-diff package. Feel free to take it for a trial or contact us at<EMAIL_ADDRESS>if you have any questions.
-Gleb


Simplify scheduler log output

Slurm seems to have a bit of trouble writing log files to non-existant or newly-created directories.
I've been writing the slurm log files to the build's root directory and relocating them in the server's get_results call as a workaround; it seems like we should formalize that change since it's been in effect for a couple of releases.

In regards to the "newlyc reated" directories, what does that mean. Is that another NFS  race problem?

I think so; the directory gets created on the node that runs the sbatch command, and the compute node which receives the job may have a stale cache of the build directory when it tries to create the log file. And it tries to create the log file before it runs any script logic, so it would be difficult to force a refresh by adding logic to the shell script or sc logic.
We may be able to configure a "prefix" function in slurm, but I've read that that can cause performance issues when the scheduler has high throughput, and this workaround seems simpler.

For what it's worth, I wanted to echo that we've been running this as a patch in production for a while, so I'm in favor of merging it for real to make things easier to manage. I think we could revisit it when we revisit the listdir hack.

Sounds good!


Certbot isn't on cron

Expected behaviour
Certbot automatically renews certs every 60 days.
Actual behaviour
Certbot has to be run manually. We get a notification via email when certs are about to expire, but still have to manually run certbot renew
Checklist

[x] This issue is linked to the appropriate project.
[x] This issue has appropriate labels.

Now that Nginx is running in a Docker container, Certbot running on the EC2 instance doesn't work. Certbot requires a running web server that's reachable on port 80 in order to work, but port 80 is bound to the Nginx service in Docker.
Looks like, in order to install the certificates onto the EC2 filesystem so that they can be mounted as a volume to the Nginx container, the Nginx container will have to be stopped, then the certificates renewed on the host, then Nginx on the host stopped and the Nginx container started. Slightly more complex, but not a huge deal, really.

Upon further discussion, it makes sense to have the renewal process be manual for now. However, instead of requiring an administrator to manually perform multiple steps to renew the certs, it should be incorporated into an Action.
One idea would be to add a checkbox to the Deploy workflow, "Renew TLS certificates", that will remove the nginx service and run sudo certbot renew before continuing with deployment. Every couple of months, the Deploy workflow would have to be run with this checkbox checked.


Test only one patch version, add Ruby 2.7 to CI

Unless there's a reason to test certain patch versions, this change will make Travis pick the latest available patch version. It will also reduce test times.
cache: bundler should also speed up future CI runs.
script: was removed, since the default task runs RSpec and rake is being run by Travis
https://github.com/xijo/reverse_markdown/blob/e2c6973358d160214a79228b286cf55d57c1ae70/Rakefile#L8-L9

Fair enough! :+1:


ls: fix flaky test

Closes https://github.com/uutils/coreutils/issues/2969

We have a new GNU test that seems to fail everywhere: tests/misc/seq-long-double. Do we have any idea what caused that?
It also happened here: https://github.com/uutils/coreutils/runs/4997733969?check_suite_focus=true


What is the password for the root of the container Open5gs

Not able to install some iperft on open5gs-am
i try to add a user but i dont have the password
have no name!@open5gs-amf-66f6857b9f-6hv99:~$ su
Password:

I have no name!@open5gs-amf-66f6857b9f-6hv99:~$

Hi Nicolas,
This bug is not related with open5gs chart.
Containers are not VMs. For security reasons the default user of the container is not root and sudo is not installed in the image. I recommend you to use sidecar containers for your case or create your own open5gs image with the tools you need already installed.
For the second option, you can take a look to our open5gs Dockerfile at:
https://github.com/Gradiant/openverso-images/blob/main/images/open5gs/Dockerfile


Commit message validation logic

See issue from Improvements to Release Process https://github.com/facebook/react-native/issues/33013
This introduces a client side commit message git hook to ensure commit messages follow convention [CATEGORY] [TYPE] - message.
This requires each contributor to copy/paste scripts/commit-msg into .git/hooks/commit-msg.sample and rename sample file to commit-msg to enable the client side git hook.
We can discuss more how exactly we want to implement this. Another alternative could be to use a package like husky to enable the git hook automatically in a post-install script.

@lunaleaps Should we close this?


[meom code clinic] tests

This issue is open for the MEOM internal code clinic / review process

tests

[ ] The package has tests:

[ ] Tests cover essential functions of the package and a reasonable range of inputs and conditions.

[ ] Continuous Integration: Has continuous integration setup (We suggest using Github actions but any CI platform is acceptable for review)

See issues #79

Now closing code review.


[Fixed #1]Repository Owner's Information is Updated to the Redme File

All Submissions:

[x] Have you followed the guidelines stated in [README.md](https://github.com/visheshrwl/Uber-like/tree
/main#how-to-contribute) file?
[x] Have you checked to ensure there aren't any other open Pull Requests for the desired changed?

Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

After these steps, you're ready to open a pull request.
a .Repository Owner's Information is added with Name and LinedIn Profile

c.  closes #1

Hey @AnshikaRathour ! 👋
First off, I want to extend a huge thank you to all of you for your amazing contributions to this project! Your support and hard work mean a lot, and I truly appreciate everything you do. 🙏
I have a small favor to ask: if you think I’ve been helpful and supportive throughout your contributions, I would be honored if you could nominate me by filling out this form: Nominate me.
Your nomination would mean the world to me, and it’s a great way to help me continue supporting our awesome community. Thanks again for all the amazing work, and let's keep making great things happen! 🚀
Best,
Vishesh

😂😂😂😂😂🖕🏻
On Sun, 10 Nov 2024 at 11:15 PM, Vishesh Rawal @.***>
wrote:

Hey @AnshikaRathour https://github.com/AnshikaRathour ! 👋
First off, I want to extend a huge thank you to all of you for your
amazing contributions to this project! Your support and hard work mean a
lot, and I truly appreciate everything you do. 🙏
I have a small favor to ask: if you think I’ve been helpful and supportive
throughout your contributions, I would be honored if you could nominate me
by filling out this form: Nominate me
https://docs.google.com/forms/d/e/1FAIpQLSdnqJ5crpQFQEQXGTzekfKUxOJCXkSx8AykqvvHzlqBcNGMAQ/viewform
.
Your nomination would mean the world to me, and it’s a great way to help
me continue supporting our awesome community. Thanks again for all the
amazing work, and let's keep making great things happen! 🚀
Best,
Vishesh
—
Reply to this email directly, view it on GitHub
https://github.com/visheshrwl/Uber-like/pull/54#issuecomment-2466823232,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAD6L5PC3HBFHH2DPQ2KVU3Z76LSXAVCNFSM6AAAAABQIMZDLGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWHAZDGMRTGI
.
You are receiving this because you were mentioned.Message ID:
@.***>


Passes pipelines/tasks from bundles through defaulting before execution

for pipeline/tasks from yaml webhook does the defaulting but for pipeline/tasks
fetched from bundles, defaulting was not taking place due to
which validation error use to occur at execution.
This adds the defaulting for pipelines/tasks fetched from bundles.
Fixes #3874
Signed-off-by: Shivam Mukhade<EMAIL_ADDRESS>
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Docs included if any changes are user facing
[x] Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[ ] Release notes block below has been filled in or deleted (only if no user facing changes)

Release Notes

/test tekton-pipeline-unit-tests

/kind bug

hey @sm43 please add more coverage if possible 🙏

/retest

/test tekton-pipeline-unit-tests

thanks @sm43
/lgtm


Cannot find ~dropzone/dist/dropzone.css when Vue is Runtime-only

Vue2-dropzone Version: 2.3.5
Node Version (node -v): v8.2.1
NPM Version (npm -v):  5.3.0
OS:  Manjaro (Arch based linux)

Description:
I am running vue in runtime-only mode, and am trying to integrate vue-dropzone with vue-form-generator. I get the following error:
07:31:36 webpacker.1 | ERROR in ./node_modules/less-loader/dist/cjs.js!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-3fde5d06","scoped":false,"hasInlineConfig":false}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./node_modules/vue2-dropzone/src/index.vue
07:31:36 webpacker.1 | Module build failed: Error: Failed to find '~dropzone/dist/dropzone.css'
07:31:36 webpacker.1 |     in [
07:31:36 webpacker.1 |         /home/ryan/Code/yctaco/node_modules/vue2-dropzone/src
07:31:36 webpacker.1 |     ]
07:31:36 webpacker.1 |     at /home/ryan/Code/yctaco/node_modules/postcss-import/lib/resolve-id.js:48:11
07:31:36 webpacker.1 |     at <anonymous>
07:31:36 webpacker.1 |  @ ./node_modules/vue2-dropzone/src/index.vue 4:2-215
07:31:36 webpacker.1 |  @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/javascript/components/dropzoneField.vue
07:31:36 webpacker.1 |  @ ./app/javascript/components/dropzoneField.vue
07:31:36 webpacker.1 |  @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/javascript/components/editablePage.vue
07:31:36 webpacker.1 |  @ ./app/javascript/components/editablePage.vue
07:31:36 webpacker.1 |  @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./app/javascript/pages/post.vue
07:31:36 webpacker.1 |  @ ./app/javascript/pages/post.vue
07:31:36 webpacker.1 |  @ ./app/javascript/packs/post.js
07:31:36 webpacker.1 |  @ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8080 ./app/javascript/packs/post.js

It seems like it is looking in the wrong location for dropzone.css (the error seems to imply it is only looking in vue2-dropzone/src, not in ~dropzone/dist. This may be a webpack misconfiguration, but I have no idea where to look. The component itself seems to work, it just isn't styled at all.
Steps To Reproduce:
My component looks like this:
<template>
  <dropzone :id='schema.options.id' :url=schema.options.url :dropzone-options=schema.options>
    <input type="hidden" name="token" value="xxx">
  </dropzone>
</template>
<script>
  import Dropzone from 'vue2-dropzone/src/index.vue'
  import { abstractField } from "vue-form-generator"

  export default {
    components: { Dropzone },
    mixins: [ abstractField ],
  }
</script>

Anyone know how to fix this?

As you are directly importing the component that's why below line is causing the error. While compiling it's exact location is not getting due to import in less.

https://github.com/rowanwins/vue-dropzone/blob/vue2/src/index.vue#L402

@import url('~dropzone/dist/dropzone.css');

Try replacing exact location of css manually if it works.

@rfestag Did you managed to solve the issue?

Unfortunately no. I tried just replacing the import in index.vue with the path to dropzone.css, and it started throwing
06:22:31 webpacker.1 | TypeError: node.parent.after is not a function

I honestly didn't bother trying to go any further because it wasn't really a usable solution anyways, and I had already started going down a different path to get the desired functionality. I know you guys are in the middle of a rewrite, so hopefully support for runtime-only mode will be included in that.

I ran into the same issue when updating nuxt-dropzone to 3.0.0, for the time being, the easy solution was to locally patch the include path.
@import url('dropzone/dist/dropzone.css');

It would be nice to get a generic solution to the problem, though.

Did you tried https://github.com/Etheryte/nuxt-dropzone ?
This component was specifically derived for nuxtjs from this component.

Having the same issue here.

Same problem, I remove ~ from library.

Removing the tilde was the same solution I used for the Nuxt version — is the tilde necessary in the import path at all? Shouldn't it resolve in all cases without it as well?

In alternative, you can write an scss file like an src folder and we can overwrite variable used for import url in our application?

Is there an official solution to this? It's quite odd but when I include the vue-dropzone component into my page I cannot see any styles unless I manually add the styles myself.
Is there some css dependency when using Rails+webpack+vue-dropzone that is required to make this work?

@rfestag @Kishimotovn

Hi all,
I believe the new version of this component should address this issue, v3.0.3 . If someone could test that would be fab. The dropzone css file is now directly included into our component css, as seen in vue2Dropzone.css.
Thanks

Now it's seems to work, I don't get error on compiler.

Yay, thanks for checking @furyscript . Going to close this issue but let me know if anyone has any problems

Hmm I am still unable to see the default css files, but it might be due to webpacker. I've posted my question on this SO thread. Has anyone experienced something similar?

@DaniG2k
As per @rowanwins comment above

Hi all,
I believe the new version of this component should address this issue, v3.0.3 . If someone could test
that would be fab. The dropzone css file is now directly included into our component css, as seen in
vue2Dropzone.css.
Thanks

Make sure your component version is 3.0.3+ for this issue.

Yep I'm using 3.0.3:
<EMAIL_ADDRESS>  version "3.0.3"
  resolved "https://registry.yarnpkg.com/vue2-dropzone/-/vue2-dropzone-3.0.3.tgz#7ff58f7f4c1c80f5867b6cb4bdbbddb4edb6bad8"
  dependencies:
    dropzone "^5.2.0"

but I am having to load the css manually because it doesn't seem to load properly in a Rails app, as per the aforementioned StackOverflow post.


ShowModalLoginExternal problem

I'm having problems when creating LoginDialogSettings together with ShowModalLoginExternal

Watermark does not show in application for username and password.
When enabling "EnablePasswordPreview" the application crashes

I'm using PowerShell and MahApps together, WPF and MahApps for the visual and runspaces, PowerShell for the tasks in the application.
$Settings                          = [MahApps.Metro.Controls.Dialogs.LoginDialogSettings]::new()
$Settings.EnablePasswordPreview    = "True"
Environment(please complete the following information):

MahApps.Metro version v1.6.5
OS: [Server 2012 R2 and Server 2016]
Visual Studio 15.6.7
.NET Framework 4.6.01586

@nilssol Did you pass your login settings as parameter on ShowModalLoginExternal?
like
LoginDialogData result = this.ShowModalLoginExternal("Authentication",
                                                     "Enter your credentials",
                                                     new LoginDialogSettings
                                                     {
                                                         ColorScheme = this.MetroDialogOptions.ColorScheme,
                                                         InitialUsername = "MahApps",
                                                         EnablePasswordPreview = true
                                                     });

Yes, pass login settings as parameter like this:
https://pastebin.com/Y1w9FWy4

@nilssol I don't know why this happens. I didn't use MahApps together with PS. Have you any stack trace or logging about the crash?

I have standard try catch to resolve errors, but the application crashes i cant receive anything because it shut down completely.  I have tried to debug the runspace and get this message when it crashes.
The background process reported an error with the following message: "The
named pipe target process has ended.".
+ CategoryInfo          : ResourceUnavailable: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : System.Management.Automation.Remoting.PSRemoting
DataStructureException

@nilssol I don't know what this exception means in powershell.

I make test to your PowerShell code It works great
$Settings                          = [MahApps.Metro.Controls.Dialogs.LoginDialogSettings]::new()
    $Settings.ColorScheme              = "Accented"
    $Settings.DialogMessageFontSize    = "16"
    $Settings.DialogTitleFontSize      = "18"
    $Settings.NegativeButtonVisibility = "Visible"
    #$Settings.DialogResultOnCancel     = "Canceled"
    $Settings.UsernameWatermark        = "Username..."
    $Settings.PasswordWatermark        = "Password..."
    $Settings.UsernameCharacterCasing  = "Normal"
    $Settings.DefaultButtonFocus       = "Affirmative"
    $Settings.EnablePasswordPreview    = "True"

    $Global:DialogResults              = [MahApps.Metro.Controls.Dialogs.DialogManager]::ShowModalLoginExternal ($UI.Window,"Authentication","Enter your admin credentials :",$Settings)

I just remove the $Settings.DialogResultOnCancel because the property doesn't exist for the object.

![login](https://user-images.githubusercontent.com/17923944/58730362-32d74500-83ec-11e9-9d68-17ba1c70e6fb.PNG)

You got it working with MahApps v1.6.5 ?

No I Have the <IP_ADDRESS> I tried With 1.6.5 and the Apps close immediately without any error but if use this code it works great with 1.6.5
This code works in <IP_ADDRESS> and 1.6.5
 $Identifiants = [MahApps.Metro.Controls.Dialogs.DialogManager]::ShowModalLoginExternal($Form,"Authentication","Enter your admin credentials :")

This code works in <IP_ADDRESS> and 1.6.5
   $Settings                          = [MahApps.Metro.Controls.Dialogs.LoginDialogSettings]::new()
    $Settings.ColorScheme              = "Accented"
    $Settings.DialogMessageFontSize    = "16"
    $Settings.DialogTitleFontSize      = "18"
    $Settings.NegativeButtonVisibility = "Visible"
    $Settings.DialogResultOnCancel     = "Canceled"
    $Settings.UsernameWatermark        = "Username..."
    $Settings.PasswordWatermark        = "Password..."
    $Settings.UsernameCharacterCasing  = "Normal"
    $Settings.DefaultButtonFocus       = "Affirmative"
    #$Settings.EnablePasswordPreview    = "True"

    $Global:DialogResults              = [MahApps.Metro.Controls.Dialogs.DialogManager]::ShowModalLoginExternal($Form,"Authentication","Enter your admin credentials :",$Settings)
})

If you enable the setting EnablePasswordPreview the Dialog don't show and the Apps close itself with 1.6.5 but work on <IP_ADDRESS>. @punker76

But Settings $Settings.UsernameWatermark and $Settings.PasswordWatermark have no effect to the DialogBox in 1.6.5 and the button don't have the Mahapps Design @punker76


Allow the author to add extra blocks using the output patterns

The output patterns are pretty flexible. It could be useful to allow an interview developer to use the output pattern as a template that they can provide input to that we didn't predetermine.
How this would work: the developer would see a button "add a block", and they could choose from all of the available block types. They would then have a chance to provide input for each of the variables that the block expected to be defined. The blocks could all be added at a predefined point in the interview, or we could allow the author to reorder them, like we do with question blocks.
Some things to think about: we would need to parse the Mako block to identify the variables the template was looking for. Also: we might need to think about whether/how to allow the author to work with list-like data. Docassemble doesn't let you mix list-like inputs with standard inputs, so we might simulate by asking them to use a new line or comma-separated list.
I'm not sure how useful a feature this would be, but just thinking that we made it possible by using these Mako templates so it might be worth exposing to the developer.

We might let people add custom blocks, too. But the use for that seems harder to explain. If they provide their own template, e.g., why can't they just do that in the generated YAML file?


DataGridTextColumn Style

Hi,
I'm new to WPF and found your MUI project very good and easy to follow.
I'm in the process of converting many of my WinForms to a modern WPF style, and started to go over your tutorials and guides for getting started with MUI.
I have an issue at the moment, in which I need to center the alignment of the headers in a DataGrid , which I have done, by applying a local resource style to the given page. This works and aligns the headers, however, because it is an explicit resource style, it also removes any application wide styles setters for that DataGrid header.
I can't seem to find the global setter that its altering the Modern-UI style for that header, and I wish to know where is located, so that I can move my two setters that allow me to center the header while retaining your style.
Any help would be appreciated.
Great work.
Thanks
Alain

I have the same problem, without being able to solve it.

Hi picrap,
While I still wish to get to the bottom of it.
I found a workaround for the time been. Instead of creating a style setter within a local or global resource dictionary, you can make some of the changes inline in XAML code, as you declare the Column entries.
See below:
        <DockPanel Margin="0,40,0,0">
            <TextBlock DockPanel.Dock="Top" Text="USER LIST" Style="{StaticResource Heading2}" Margin="0,0,0,8" />
            <DataGrid Name="dgv_UsersList" AutoGenerateColumns="False">
                <DataGrid.Columns>
                  <DataGridTextColumn Binding="{Binding FirstName}" Width="120">
                        <DataGridTextColumn.Header>
                            <TextBlock HorizontalAlignment="Left">
                                First Name
                            </TextBlock>
                        </DataGridTextColumn.Header>
                        <DataGridTextColumn.ElementStyle>
                            <Style TargetType="TextBlock">
                                <Setter Property="HorizontalAlignment" Value="Center" />
                            </Style>
                        </DataGridTextColumn.ElementStyle>
                    </DataGridTextColumn>
                </DataGrid.Columns>
            </DataGrid>
        </DockPanel>

Is the only way that I can change it at the moment, without loosing the main style.
Hope it helps,
Alain


VGUI unusable if custom options are opened

If the advanced video or subtitle options are opened, VGUI menu like buying weapons, choosing team, etc is unusable both with cursor and keys.
https://user-images.githubusercontent.com/3608544/182030477-1706cdd4-7511-46b6-a3c9-a2a243a154c7.mp4

Should have been fixed in 47c6052655b3ca28396e0e67bba00409494e9571

Confirming fix. Options close on menu exit/resuming game. Closing the issue :)


logger: add red color to [STACK] and [DATA]

In order to be consistent with [ERROR] label.

Codecov Report

Merging #46 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #46   +/-   ##
=======================================
  Coverage   95.95%   95.95%
=======================================
  Files          11       11
  Lines         371      371
=======================================
  Hits          356      356
  Misses         15       15

Impacted Files
Coverage Δ

lib/logger.js
100% <ø> (ø)
: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 51302d8...04c392d. Read the comment docs.


adapt esreporter to ginkgo v2 report type

How to categorize this PR?

/area testing
/kind cleanup
What this PR does / why we need it:
Following the switch to ginkgo v2, the custom reporter still implemented DeprecatedReporter and was invoked via ReportViaDeprecatedReporter .  The PR drops the usage of deprecated structures and interfaces and implements a custom reporting using the new Report type only.
Which issue(s) this PR fixes:
Fixes #5321
Special notes for your reviewer:
/invite @dguendisch @timebertt @rfranzke
I'm not entirely sure regarding the categorization of the release note. @timebertt would be great, if you could double-check. Thanks!
Release note:

Use ginkgo v2 `Report` structures and drop usage of deprecated custom reporter. To adapt, replace the call of `reporters.ReportViaDeprecatedReporter` within any `ReportAfterSuite` node with `reporter.ReportResults(*reportFilePath, *esIndex, report)`

Testing
Since there are no unit/integration tests and the expected output structure contains timestamps / durations, I did a smal manual testing to qualify things.
Reports generated by testruns are attached to this PR, but here are also snippets to compare the relevant structure.
using the new reporter - succeeded step
{ "index": { "_index": "gardener-testsuite", "_type": "_doc" } }
{"suite":{"name":"Shoot Test Suite","phase":"Failed","tests":9,"failures":8,"errors":0,"duration":367.428},"name":"[DEFAULT] [RELEASE] [SHOOT] should download shoot kubeconfig successfully","shortName":"[DEFAULT] [RELEASE] [SHOOT] should download shoot kubeconfig successfully","phase":"Succeeded","duration":0.080158809}

using the deprecated reporter - succeeded step
{ "index": { "_index": "gardener-testsuite", "_type": "_doc" } }
{"suite":{"name":"Shoot Test Suite","phase":"Failed","tests":9,"failures":8,"errors":0,"duration":366.86},"name":"[DEFAULT] [RELEASE] [SHOOT] should download shoot kubeconfig successfully","shortName":"[DEFAULT] [RELEASE] [SHOOT] should download shoot kubeconfig successfully","phase":"Succeeded","duration":0.069546686}

using the new reporter - failed step
{"index": { "_index": "gardener-testsuite", "_type": "_doc" } }
{"suite":{"name":"Shoot Test Suite","phase":"Failed","tests":9,"failures":8,"errors":0,"duration":367.428},"name":" [DEFAULT] [SHOOT] should read runtime metrics","shortName":"[DEFAULT] [SHOOT] should read runtime metrics","phase":"Failed","failure":{"type":"Failed","message":"/go/src/github.com/gardener/gardener/test/framework/gingko_utils.go:26\nUnexpected error:\n    \u003c*errors.errorString | 0xc000b8a1a0\u003e: {\n        s: \"could not find template in \\\"/go/src/github.com/gardener/gardener/test/testmachinery/framework/resources/templates/simple-load-deployment.yaml.tpl\\\"\",\n    }\n    could not find template in \"/go/src/github.com/gardener/gardener/test/testmachinery/framework/resources/templates/simple-load-deployment.yaml.tpl\"\noccurred\n/go/src/github.com/gardener/gardener/test/testmachinery/shoots/applications/metrics.go:71"},"duration":10.507470436,"system-out":"[BeforeEach] Shoot application metrics testing..."}

using the deprecated reporter - failed step
{ "index": { "_index": "gardener-testsuite", "_type": "_doc" } }
{"suite":{"name":"Shoot Test Suite","phase":"Failed","tests":9,"failures":8,"errors":0,"duration":366.86},"name":" [DEFAULT] [SHOOT] should read runtime metrics","shortName":"[DEFAULT] [SHOOT] should read runtime metrics","phase":"Failed","failure":{"type":"Failed","message":"/go/src/github.com/gardener/gardener/test/framework/gingko_utils.go:26\nUnexpected error:\n    \u003c*errors.errorString | 0xc000be2f20\u003e: {\n        s: \"could not find template in \\\"/go/src/github.com/gardener/gardener/test/testmachinery/framework/resources/templates/simple-load-deployment.yaml.tpl\\\"\",\n    }\n    could not find template in \"/go/src/github.com/gardener/gardener/test/testmachinery/framework/resources/templates/simple-load-deployment.yaml.tpl\"\noccurred\n/go/src/github.com/gardener/gardener/test/testmachinery/shoots/applications/metrics.go:71"},"duration":10.346779425,"system-out":"[BeforeEach] Shoot application metrics testing..."}

deprecated_report.txt
new_report.txt

/invite @acumino

Does it make sense to add a unit tests specifically for this reporting (like what you did manually)? Would potentially give us more confidence in future ginkgo updates.

@dguendisch @acumino thanks for your suggestions.
I moved processing of the ginkgo report to separate function and added some basic tests for it. This should give us some confidence going forward while avoiding to parse & validate the json dump that is produced for the upload to an elasticsearch instance.

Thanks @hendrikKahl!


Bug: Text field lets you input numbers of any size

When a user inputs an extremely long number, the text field accepts it. Should the field stop people after a certain number of digits, or would that be too limiting?

Raised by user during fairground incentive: https://vega-testnet.nolt.io/284

duplicate #589

duplicate #589


It's difficult to know with these details what is the problem. Please contact me via email at<EMAIL_ADDRESS>and I'll try to help you figure out the problem.


feat(planner): Display/Debug for columns with alias should show expr AS alias, not just alias

We should be able to inspect what an alias aliases in the original statement defining the alias.
We should decided whether we want to see this in explain, or just explain verbose.
CC @chenzl25 @xiangjinwu

Actually, this is difficult to do as the expression that defines the alias does not exist in the table catalog.

Actually, this problem only seems to occur for StreamMaterialize, but actually, one can see the original SELECT expressions in the input project operator.
Since StreamMaterialize must have the same schema as the table in materializes, there is never any ambiguity about what an aliased column is referring by simply noting the position of each of its columns.


[Monitoring] upgrade failed when uninstalling and upgrading from monitoring v1 to v2

Rancher Server Setup

Rancher version: 2.6-head Commit ID 20d20a3
Installation option (Docker install/Helm Chart): Docker

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): rke1

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: v1.21.9
Cluster Type (Local/Downstream):

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): downstream ec2 - 1 etc 1 cp 3 worker nodes

User Information

What is the role of the user logged in? Admin

Describe the bug
Had monitoring v1 installed; when installing monitoring v2, first step was to uninstall v1 - successfully completed that step; then, when installing v2, selected Persistent Storage for Prometheus; logs show upgrade failed, which is proceeded by success. It appears as though monitoring installed - all UI elements are present.
To Reproduce

Create downstream cluster
enable monitoring v1
install monitoring v2
message: you must uninstall v1 before installing v2 - click to proceed
logging v1 uninstalled successfully
click to proceed
select persist storage for prometheus
Install

Result
Log message that Upgrade Fails
`helm upgrade --history-max=5 --install=true --namespace=cattle-monitoring-system --timeout=10m0s --values=/home/shell/helm/values-rancher-monitoring-crd-100.1.1-up19.0.3.yaml --version=100.1.1+up19.0.3 --wait=true rancher-monitoring-crd /home/shell/helm/rancher-monitoring-crd-100.1.1-up19.0.3.tgz
Thu, Feb 24 2022 10:38:28 am | checking 5 resources for changes
Thu, Feb 24 2022 10:38:28 am | W0224 15:38:28.617013 25 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
Thu, Feb 24 2022 10:38:28 am | W0224 15:38:28.633199 25 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
Thu, Feb 24 2022 10:38:28 am | W0224 15:38:28.661021 25 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
Thu, Feb 24 2022 10:38:28 am | Looks like there are no changes for ServiceAccount "rancher-monitoring-crd-manager"
Thu, Feb 24 2022 10:38:28 am | Looks like there are no changes for ConfigMap "rancher-monitoring-crd-manifest"
Thu, Feb 24 2022 10:38:28 am | Looks like there are no changes for ClusterRole "rancher-monitoring-crd-manager"
Thu, Feb 24 2022 10:38:28 am | Looks like there are no changes for ClusterRoleBinding "rancher-monitoring-crd-manager"
Thu, Feb 24 2022 10:38:28 am | beginning wait for 5 resources with timeout of 10m0s
Thu, Feb 24 2022 10:38:28 am | Starting delete for "rancher-monitoring-crd-create" Job
Thu, Feb 24 2022 10:38:28 am | jobs.batch "rancher-monitoring-crd-create" not found
Thu, Feb 24 2022 10:38:29 am | creating 1 resource(s)
Thu, Feb 24 2022 10:38:29 am | Watching for changes to Job rancher-monitoring-crd-create with timeout of 10m0s
Thu, Feb 24 2022 10:38:29 am | Add/Modify event for rancher-monitoring-crd-create: ADDED
Thu, Feb 24 2022 10:38:29 am | rancher-monitoring-crd-create: Jobs active: 0, jobs failed: 0, jobs succeeded: 0
Thu, Feb 24 2022 10:38:29 am | Add/Modify event for rancher-monitoring-crd-create: MODIFIED
Thu, Feb 24 2022 10:38:29 am | rancher-monitoring-crd-create: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
Thu, Feb 24 2022 10:38:37 am | Add/Modify event for rancher-monitoring-crd-create: MODIFIED
Thu, Feb 24 2022 10:38:37 am | Starting delete for "rancher-monitoring-crd-create" Job
Thu, Feb 24 2022 10:38:38 am | Release "rancher-monitoring-crd" has been upgraded. Happy Helming!
Thu, Feb 24 2022 10:38:38 am | NAME: rancher-monitoring-crd
Thu, Feb 24 2022 10:38:38 am | LAST DEPLOYED: Thu Feb 24 15:38:27 2022
Thu, Feb 24 2022 10:38:38 am | NAMESPACE: cattle-monitoring-system
Thu, Feb 24 2022 10:38:38 am | STATUS: deployed
Thu, Feb 24 2022 10:38:38 am | REVISION: 2
Thu, Feb 24 2022 10:38:38 am | TEST SUITE: None
Thu, Feb 24 2022 10:38:38 am |
Thu, Feb 24 2022 10:38:38 am | ---------------------------------------------------------------------
Thu, Feb 24 2022 10:38:38 am | SUCCESS: helm upgrade --history-max=5 --install=true --namespace=cattle-monitoring-system --timeout=10m0s --values=/home/shell/helm/values-rancher-monitoring-crd-100.1.1-up19.0.3.yaml --version=100.1.1+up19.0.3 --wait=true rancher-monitoring-crd /home/shell/helm/rancher-monitoring-crd-100.1.1-up19.0.3.tgz
Thu, Feb 24 2022 10:38:38 am | ---------------------------------------------------------------------
Thu, Feb 24 2022 10:38:38 am | helm upgrade --history-max=5 --install=true --namespace=cattle-monitoring-system --timeout=10m0s --values=/home/shell/helm/values-rancher-monitoring-100.1.1-up19.0.3.yaml --version=100.1.1+up19.0.3 --wait=true rancher-monitoring /home/shell/helm/rancher-monitoring-100.1.1-up19.0.3.tgz
Thu, Feb 24 2022 10:38:38 am | Error: UPGRADE FAILED: template: rancher-monitoring/charts/rancherServiceMetrics/templates/servicemonitor.yaml:3:72: executing "rancher-monitoring/charts/rancherServiceMetrics/templates/servicemonitor.yaml" at <"rancher">: nil pointer evaluating interface {}.labels
`
Expected Result
Monitoring v2 installed with no errors
Screenshots

Additional context
Created a receiver and saw an error in the console:
subscribe.js:207 Cannot Watch [cluster] {"type":"monitoring.coreos.com.receiver"}
Created a route and saw same error in console:
subscribe.js:207 Cannot Watch [cluster] {"type":"monitoring.coreos.com.receiver"}

I also got this error when I upgraded v2 from a previous version to the current version in 2.6-head Commit ID 8cc8121
Error: UPGRADE FAILED: template: rancher-monitoring/charts/rancherServiceMetrics/templates/servicemonitor.yaml:3:72: executing "rancher-monitoring/charts/rancherServiceMetrics/templates/servicemonitor.yaml" at <"rancher">: nil pointer evaluating interface {}.labels

Facing the error on fresh installation of monitoring chart as well
Rancher Server :

Version : v2.6-head (1d2b746)
docker install

Steps to Reproduce:

Provision a 4-node(1-cp, 1-etcd, 2-worker), ec2 node driver cluster with k8s v1.21.9-rancher1-2 or v1.22.6-rancher1-2
From Apps and Marketplace install Monitoring chart 100.1.1+up19.0.3
Chart installation error in logs :

helm upgrade --install=true --namespace=cattle-monitoring-system --timeout=10m0s --values=/home/shell/helm/values-rancher-monitoring-crd-100.1.1-up19.0.3.yaml --version=100.1.1+up19.0.3 --wait=true rancher-monitoring-crd /home/shell/helm/rancher-monitoring-crd-100.1.1-up19.0.3.tgz
Release "rancher-monitoring-crd" does not exist. Installing it now.
W0302 12:09:15.194439 25 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
creating 5 resource(s)
W0302 12:09:15.734139 25 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
beginning wait for 5 resources with timeout of 10m0s
Starting delete for "rancher-monitoring-crd-create" Job
jobs.batch "rancher-monitoring-crd-create" not found
creating 1 resource(s)
Watching for changes to Job rancher-monitoring-crd-create with timeout of 10m0s
Add/Modify event for rancher-monitoring-crd-create: ADDED
rancher-monitoring-crd-create: Jobs active: 0, jobs failed: 0, jobs succeeded: 0
Add/Modify event for rancher-monitoring-crd-create: MODIFIED
rancher-monitoring-crd-create: Jobs active: 1, jobs failed: 0, jobs succeeded: 0
Add/Modify event for rancher-monitoring-crd-create: MODIFIED
Starting delete for "rancher-monitoring-crd-create" Job
NAME: rancher-monitoring-crd
LAST DEPLOYED: Wed Mar 2 12:09:13 2022
NAMESPACE: cattle-monitoring-system
STATUS: deployed
REVISION: 1
TEST SUITE: None
---------------------------------------------------------------------
SUCCESS: helm upgrade --install=true --namespace=cattle-monitoring-system --timeout=10m0s --values=/home/shell/helm/values-rancher-monitoring-crd-100.1.1-up19.0.3.yaml --version=100.1.1+up19.0.3 --wait=true rancher-monitoring-crd /home/shell/helm/rancher-monitoring-crd-100.1.1-up19.0.3.tgz
---------------------------------------------------------------------
helm upgrade --install=true --namespace=cattle-monitoring-system --timeout=10m0s --values=/home/shell/helm/values-rancher-monitoring-100.1.1-up19.0.3.yaml --version=100.1.1+up19.0.3 --wait=true rancher-monitoring /home/shell/helm/rancher-monitoring-100.1.1-up19.0.3.tgz
Release "rancher-monitoring" does not exist. Installing it now.
Error: template: rancher-monitoring/charts/rancherServiceMetrics/templates/servicemonitor.yaml:3:72: executing "rancher-monitoring/charts/rancherServiceMetrics/templates/servicemonitor.yaml" at <"rancher">: nil pointer evaluating interface {}.labels

This was changed in https://github.com/rancher/charts/commit/4f04899ceec6190abe5abbe8081a8f2d6bf88c8f to actually prevent an empty lookup. We can easily add a default value but would like to know if this consistently reproduces as I could not reproduce on current v2.6-head @ronhorton @rishabhmsra


Error on non JSON output from External Authentication program.

Error is thrown if the console output of the external authentication program is not in JSON format of ExtAuthResponse. The code is :-
https://github.com/cesanta/docker_auth/blob/99bfe0217f59ee1fa43596f5be4af14a521f1f17/auth_server/authn/ext_auth.go#L87
External authorization console output does not have these requirements.
This is a bit problematic when the program does some custom logging on the console, especially during development.
A small proposal from my side is taking perhaps the last line (output split by \n) for the JSON representation, I understand this may break some existing applications where the JSON is given as a multiline output.
Another solution might be, that the custom logging lines must carry a predefined tag which has to be prepended to the logging line. Eg:-
[EXT_AUTH_LOG] Credentials loaded from the database.
These lines can be exempted when considering the JSON representation.
Apologies if I am not making sense in the context of specific to the design goals / specific use cases of the project. Would love to learn more about this.

docker_auth only uses stdout for json.
as long as your script emits diagnostic output to stderr, as a well-behaved program should, it'll be fine. i am not inclined to change our external program protocol to accommodate misbehaving programs.
multi-line JSON output is perfectly valid and should be supported.
introducing an "ignore prefix" seems hacky too.

Thanks for pointing me to the right direction. Much appreciated.


Coin Change

Problem Link : https://leetcode.com/problems/coin-change/ on Leetcode using dynamic programming

@Nivedita967 Please verify the problem and assign it to me

@greenblade29 In which language you are coding this problem ?

I will be doing both Java and C++ solutions

hey @Nivedita967  can I do it in python?


Dark mode toggle

Reason/Context
The current implementation does not have a dark mode toggle.
Description
We can include a simple dark mode toggle that dynamically changes the color of the text to maintain the contrast of the webpage, kind of whats shown in the image.

@anubhav1206  are you working on this issue

@anubhav1206 are you working on this issue

not so far but I can work on it if assigned.

Hi @akshatnema,Can I work on this?

Hi @akshatnema sir! I am working on this issue and wanted to know a few things:

Where should I place the DarkModeToggle button (design can be changed later ).
To implement dark mode for each and every component/page I need to change a lot of files (classNames specifically). Is it okay to do so?

@Mayaleeeee PTAL,we need your suggestions here

@Mayaleeeee friendly reminder. Thanks.

@Mayaleeeee friendly reminder. Thanks.

@derberg @jonaslagoni @Mayaleeeee Give your suggestion please 🙏. Thanks!

I like the idea of having a dark mode option on our website.  In short, I've been working on designing something for our new homepage in both light and dark modes. You can check it out through this Figma link.
Instead of a regular toggle, we could use a sun icon to represent the light mode, which would then change to a moon icon when the user clicks on it to activate the dark mode. The icon can be placed after the GitHub button on the nav bar.
@sambhavgupta0705 @sagarkori143

@Mayaleeeee The design looks awesome. Please let me know as soon as you finalize the design. I'll be happy to start working on it. Thanks 😊

Hi @Mayaleeeee above design looks fine to me. But the question is that we have a design system for AsyncAPI and it has been created in light mode. Can you replicate and improve that system to make it for dark theme?

Hi @Mayaleeeee above design looks fine to me. But the question is that we have a design system for AsyncAPI and it has been created in light mode. Can you replicate and improve that system to make it for dark theme?

Hello @akshatnema do you mean we have another Design System apart from the one I previously shared? Regarding your question on the dark mode, I'll work on that gradually.

This is a duplicate issue https://github.com/asyncapi/website/issues/1269 so I am closing this one and we should all discussion on https://github.com/asyncapi/website/issues/1269 as a PR is linked there which would solve this issue


Maccy keeps crashing

Before Submitting Your Bug Report

[X] I have verified that there isn't already an issue reporting the same bug to prevent duplication.
[X] I have seen the FAQ.

Maccy Version (see 'About' window)
0.29.3
macOS Version
14.2.1
Maccy Settings
$ defaults read org.p0deje.Maccy
{
    "KeyboardShortcuts_popup" = "{\\"carbonModifiers\\":768,\\"carbonKeyCode\\":8}";
    "LaunchAtLogin__hasMigrated" = 1;
    "NSWindow Frame SUStatusFrame" = "1080 975 400 134 0 0 2560 1415 ";
    "NSWindow Frame com.sindresorhus.Preferences.FrameAutosaveName" = "1009 543 542 440 0 0 2560 1415 ";
    SUEnableAutomaticChecks = 1;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2023-03-16 14:17:09 +0000";
    SUUpdateGroupIdentifier = 42899588;
    avoidTakingFocus = 1;
    enabledPasteboardTypes =     (
        "public.file-url",
        "public.png",
        "public.rtf",
        "public.utf8-plain-text",
        "public.html",
        "public.tiff"
    );
    ignoredPasteboardTypes =     (
        "com.typeit4me.clipping",
        "de.petermaurer.TransientPasteboardType",
        "com.agilebits.onepassword",
        "net.antelle.keeweb",
        "Pasteboard generator type"
    );
    migrations =     {
        "2020-04-25-allow-custom-ignored-types" = 1;
        "2020-06-19-use-keyboardshortcuts" = 1;
        "2020-09-01-ignore-keeweb" = 1;
        "2021-02-20-allow-to-customize-supported-types" = 1;
        "2021-06-28-add-title-to-history-item" = 1;
        "2021-10-16-remove-dynamic-pasteboard-types" = 1;
        "2022-08-01-rename-suppress-clear-alert" = 1;
        "2022-11-14-add-html-rtf-to-supported-types" = 1;
        "2023-01-22-add-regexp-search-mode" = 1;
    };
    pasteByDefault = 1;
}

Description
Maccy keeps crashing on me, please see the stack trace below. Please let me know if you need more info.
$ /Applications/Maccy.app/Contents/MacOS/Maccy
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSPopover showRelativeToRect:ofView:preferredEdge:]: view has no window. You must supply a view in a window.'
*** First throw call stack:
(
	0   CoreFoundation                      0x0000000184104570 __exceptionPreprocess + 176
	1   libobjc.A.dylib                     0x0000000183bf5eb4 objc_exception_throw + 60
	2   CoreFoundation                      0x0000000184104460 +[NSException exceptionWithName:reason:userInfo:] + 0
	3   AppKit                              0x0000000187aed228 -[NSPopover showRelativeToRect:ofView:preferredEdge:] + 244
	4   Maccy                               0x0000000104d7305c Maccy + 176220
	5   Maccy                               0x0000000104d6a774 Maccy + 141172
	6   Maccy                               0x0000000104d81ce4 Maccy + 236772
	7   libdispatch.dylib                   0x0000000183e0f860 _dispatch_block_async_invoke2 + 148
	8   libdispatch.dylib                   0x0000000183e00910 _dispatch_client_callout + 20
	9   libdispatch.dylib                   0x0000000183e03dc8 _dispatch_continuation_pop + 600
	10  libdispatch.dylib                   0x0000000183e17be4 _dispatch_source_latch_and_call + 420
	11  libdispatch.dylib                   0x0000000183e167b4 _dispatch_source_invoke + 832
	12  libdispatch.dylib                   0x0000000183e0eeb8 _dispatch_main_queue_drain + 744
	13  libdispatch.dylib                   0x0000000183e0ebc0 _dispatch_main_queue_callback_4CF + 44
	14  CoreFoundation                      0x00000001840d0ecc __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
	15  CoreFoundation                      0x000000018408e7d0 __CFRunLoopRun + 1996
	16  CoreFoundation                      0x000000018408d9ac CFRunLoopRunSpecific + 608
	17  HIToolbox                           0x000000018e63c448 RunCurrentEventLoopInMode + 292
	18  HIToolbox                           0x000000018e63c284 ReceiveNextEventCommon + 648
	19  HIToolbox                           0x000000018e63bfdc _BlockUntilNextEventMatchingListInModeWithFilter + 76
	20  AppKit                              0x000000018786a8a4 _DPSNextEvent + 660
	21  AppKit                              0x0000000188044980 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
	22  AppKit                              0x0000000187e8dd0c -[NSMenuTrackingSession startRunningMenuEventLoop:] + 160
	23  AppKit                              0x00000001885c3308 -[NSContextMenuTrackingSession startMonitoringEventsInMode:] + 76
	24  AppKit                              0x0000000187e47220 +[NSContextMenuImpl presentPopup:fromView:withContext:animated:] + 640
	25  AppKit                              0x00000001880701f4 _NSPopUpMenu + 2104
	26  AppKit                              0x000000018806f8e8 -[NSCocoaMenuImpl popUpMenu:atLocation:width:view:selectedItemIndexProvider:font:positioningRect:flags:options:] + 432
	27  AppKit                              0x000000018806f710 -[NSCocoaMenuImpl popUpMenu:atLocation:width:forView:withSelectedItem:withFont:withFlags:withOptions:] + 96
	28  AppKit                              0x0000000188037f4c +[NSStatusBarButtonCell popUpStatusBarMenu:ofItem:ofBar:inRect:ofView:withEvent:] + 320
	29  AppKit                              0x00000001880378a4 -[NSStatusBarButtonCell performClick:] + 188
	30  Maccy                               0x0000000104d86074 Maccy + 254068
	31  Maccy                               0x0000000104d83db0 Maccy + 245168
	32  Maccy                               0x0000000104d8855c Maccy + 263516
	33  Maccy                               0x0000000104d52090 Maccy + 41104
	34  Maccy                               0x0000000104d81cac Maccy + 236716
	35  Foundation                          0x00000001851d0b98 __NSFireTimer + 104
	36  CoreFoundation                      0x00000001840aba20 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32
	37  CoreFoundation                      0x00000001840ab6c8 __CFRunLoopDoTimer + 972
	38  CoreFoundation                      0x00000001840ab200 __CFRunLoopDoTimers + 356
	39  CoreFoundation                      0x000000018408e744 __CFRunLoopRun + 1856
	40  CoreFoundation                      0x000000018408d9ac CFRunLoopRunSpecific + 608
	41  HIToolbox                           0x000000018e63c448 RunCurrentEventLoopInMode + 292
	42  HIToolbox                           0x000000018e63c284 ReceiveNextEventCommon + 648
	43  HIToolbox                           0x000000018e63bfdc _BlockUntilNextEventMatchingListInModeWithFilter + 76
	44  AppKit                              0x000000018786a8a4 _DPSNextEvent + 660
	45  AppKit                              0x0000000188044980 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
	46  AppKit                              0x000000018785dd50 -[NSApplication run] + 476
	47  AppKit                              0x0000000187835014 NSApplicationMain + 880
	48  Maccy                               0x0000000104d4cba4 Maccy + 19364
	49  dyld                                0x0000000183c310e0 start + 2360
)
libc++abi: terminating due to uncaught exception of type NSException
Abort trap: 6

Steps to Reproduce

Run Maccy
Open the dropdown with saved clipboard entries
Hover the mouse cursor over an item in the list for a second
Maccy crashes

@f2404 Can you please record a video showing the problem?

@p0deje Here you go. This time, I clicked the search icon, but last time, I don't think I did, I just scrolled the list up and down. The stack trace was identical in both cases.
https://github.com/p0deje/Maccy/assets/14939413/5a4f0c06-e6cb-4c18-ba3b-0b5b0b73eab8

Hmm, this looks strange, I will take a closer look. On Jan 22, 2024, at 15:21, Igor @.***> wrote:
@p0deje Here you go. This time, I clicked the search icon, but last time, I don't think I did, I just scrolled the list up and down. The stack trace was identical in both cases.
https://github.com/p0deje/Maccy/assets/14939413/5a4f0c06-e6cb-4c18-ba3b-0b5b0b73eab8
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

@p0deje below are the steps that seem to 100% reproduce the crash for me:

open the dropdown
hover the mouse cursor over the 1st item in the list for a moment
move the mouse cursor over the search field
crash

Still cannot reproduce, I'll see if there is a way to make code more reliable and avoid such a crash.

@f2404 Can you please try on a 0.29.4 version?

@f2404 Can you please try on a 0.29.4 version?

Can't reproduce it on 0.29.4.
I think I've been using an older version, not 0.29.3 as I stated before... had to run brew upgrade -g to make it upgrade Maccy.
I'll close the issue, sorry about the noise.


DONT MERGE: feat(trading): enhanced trading sidebar

Related issues 🔗
Closes #6106 , #6110
Description ℹ

Removes mini sidebar from all pages
Adds new trading only sidebar.
Adds a drawer to handle the current mobile experience
Moves settings to top nav
update accounts / collateral section

Demo 📺

https://github.com/vegaprotocol/frontend-monorepo/assets/6803987/346f626b-1fed-4f50-89cd-9f202947f340
Technical details

vaul added to handle the drawer component
allotment downgraded to 1.17.1 as any later version and a three layer nested allotment grid does not respect the preferredSizes. Issue here: https://github.com/johnwalley/allotment/issues/583
For now setting the sidebar view to withdraw/deposit/transfer has been replaced with navigating to the bespoke withdraw/deposit/transfer page

Just incase its useful here is some early feedback:

The intial view needs to be configured so the chart takes up more of the space (currently the orderbook is too large)

Scroll bar for the trading sidebar looks out of place (the colour (looks like it needs a dark mode))

Changing the selected "tab" colour would be nice

Unsure if this is ok or if we would want to change
but the stop order dropdown, might look better right aligned and made so it depend go over the scrollbar?

Similar with tool tips

@mattrussell36

Should the font size match across these options?

The white scrollbar is now black

Bump for this

Changing the selected "tab" colour would be nice

Why do we have a dark mode switcher if we have a button in the main nav as well

When the trading section is expanded the drop down for stop order doesn't allign:

I'm not getting anything in this list:

Need a solution for which assets you show on the asset breakdown .... because showing everything seems a little clunky.
We could

Only show assets you have PLUS the current market asset
Do somethign more fancy

In a year filled with uncertainty and financial struggles for many, I'm thrilled to share a beacon of hope and triumph! Despite the market's unpredictability, I've achieved a remarkable milestone - earning over $900,000 in profits! This journey wasn't without its setbacks, though. I faced discouraging losses in 2020, but perseverance and the right guidance turned everything around.
Thanks to the expert advice of Veronica Tolan, an exceptional investment adviser I discovered on Facebook, I regained confidence and navigated the market with clarity. Her user-friendly platform and diverse trading options empowered me to make informed decisions and thrive.
If you're seeking a trusted partner to help you achieve financial freedom, I wholeheartedly recommend VERONICA TOLAN on Facebook. Reach out to her directly on WhatsApp at +44<PHONE_NUMBER> and discover a new path to financial success. Don't let market uncertainty hold you back - take control of your financial future today!


Received "Communication Issue Between Processes" while driving

Describe the bug
I received the "Communication Issue Between Processes" while driving. I am not sure what triggered it but it happened for the first time since I had comma2. And it happened a few times in today's drive.
How to reproduce or log data
Unsure
Expected behavior
What should I have done?
Device/Version information (please complete the following information):

Device: comma two
Dongle ID: 7bc774bc8e17fd8a
Route: 7bc774bc8e17fd8a|2020-11-29--08-16-51
Timestamp: Nov 29 @ 16:26:40 & 16:27:43
Version: v0.8.0
Car make/model: Toyota Corolla 2019

Describe the bug
I am receiving the same kind of errors as described in the original bug report. The car will throw "Communication Issue Between Processes" while driving. I had this happen 4 times in one drive. On this particular drive, it went away and I was able to complete over 150 miles without the issue coming back.
How to reproduce or log data
I drove 160 miles error free until I stopped for gas/restroom. I turned off the car, went to the restroom for 5 minutes. I turned the car back on to pull to the gas pump. Turned car off. Filled up with gas for <5 minutes. Turned car back on.
Expected behavior
The system can communicate with the car and operate as intended without the need for a planned disengagement.
Device/Version information (please complete the following information):

Device: Comma Two
Dongle ID: 1615388ccbe3edc9
Route: 1615388ccbe3edc9|2020-11-29--15-05-41
Timestamp: Nov 29 @ 15:11:12 & 15:15:32 & 15:21:12 & 16:00:23
Version: release2 v0.8.0
Car make/model: 2019 Toyota Corolla Hatchback XSE (TSS2.0)

Additional context
I have not experienced this behavior prior to release2 0.8.0
The openpilot Icon on UI would flicker on and off, turning the "main cruise" off and on made show up as intended
No restarts. no shutting the car off, no reconnecting connectors. It just "went away" mid-drive.

Confirmed both issues are the same as https://github.com/commaai/openpilot/issues/2636.