When archiving a workflow template, ensure no orphan objects remain.

Clean up workflow template in k8s
Clean up any cron workflows in k8s
Clean up any workflow executions in k8s

Note that changes in https://github.com/onepanelio/core/pull/212 will only work if the WorkflowTemplate resource is deleted, otherwise the user gets a "Workflow template already exists" error.

Noting this for testing: ArchiveWorkflowTemplate also gets called in case WorkspaceTemplate creation fails:
https://github.com/onepanelio/core/blob/master/pkg/workspace_template.go#L445
https://github.com/onepanelio/core/blob/master/pkg/workspace_template.go#L459
https://github.com/onepanelio/core/blob/master/pkg/workspace_template.go#L464

It looks like workflow_template_versions are not archived. Below is an example of a workflow template that was recreated using the same name as an archived one and the versions of the previous template are still showing up.


Feat/gateway configuration for switching network

Config endpoint accept Hummingbot ethereum rpc url, ethereum chain, terra lcd url, terra chain and client id.
Instantiate Balancer(), Ethereum(), Terra() in route to load latest chain
Invalidate balancer/sor module cache upon chain switch
Moved Balancer address (Multi, Exchange Proxy, Subgraph URL), Uniswap router to protocol.json static
Remove dependancies on .env variables for chain setting
Load Balancer, Uniswap spenders proxy info from config file

@mifeng @vic-en You can test the config update endpoint using the Postman file (test/postman/Gateway.postman_collection.json). I'll update the client to add the ethereum chain switching based-on the global config.

The conf_global.yml allows us to switch network without restarting the Node server. It did added some complexity and requires re-instantiation of some classes. And it seems to slow down the endpoints from some observations. Due to the performance issue, I have reservations on whether it is worth the change.

@vic-en will recreate the PR with some additional updates to the code.


Add queue time information

We currently pull and parse information from Jenkins pipelines, but do not include the queue time (how long a job waits for a particular machine resource).  It will be useful to include this information in what we gather, and then make it available via the TRSS API (just like we do for test execution times) so that we might better forecast resource needs.

yes, I agree. I think we should use Jenkins API to get all the stage duration time that we have and display them in a logical way. (i.e., in descending order per stage, group by pipeline/platform, with machine name, etc)

Related: GSoC 2023 proposal to pull some of this information and consider how to best optimize machine usage

https://github.com/jenkinsci/pipeline-stage-view-plugin/tree/master/rest-api#get-jobjob-namewfapiruns

https://github.com/adoptium/aqa-test-tools/pull/784 is the initial step.


Can stingtie --merge generate *.tracking like cuffcompare?

I think it is very useful to have a statistic for the combined gtf during stringtie --merge
For example, the *.tracking file from cuffcompare does well.
Also, it will be better to output the number of supported sample number for each merged transcript.

Not sure what you are asking here (what kind of statistics?). The merge function of stringtie is meant to assemble transcript fragments which could be quite different in each sample, while cuffcompare (or the newer, more generic version of it, gffcompare) tracks only the identical transcripts/fragments in each sample. If you need the latter, or if you want to annotate transcripts, just run gffcompare..
Also, the request in your last sentence is not clear. How do you see that, practically, in the GTF output ? If the input has tens of samples, and a transcript was "merged" by fragments found in many of the samples, it would be rather impractical to add a GTF attribute listing all the contributing sample numbers (which I am guessing is what you suggested).. And most users might not even want to see that. That's where gffcompare can be used creatively, for example by providing the input samples and using the stringtie merge result as the "reference" annotation, then one could track the "containment" and "matching" overlaps for each merged transcript back to the sample transcripts/fragments that support it.

Thanks for you reply, May be I need to describe more clear.

I decide to identify transcripts in a species and in order to reduce the putative false positive from stringtie --merge, I decide to only keep the transcripts which were supported by at least two samples in the merged.gtf from stringtie. So I need to run gffread agian using the merged.gtf. But if stingtie --merge could generate the *.tracking, I can skip the gffread process.
As for the last sentence I wrote, I didn't wish to add anything to GTF files. Maybe the *.tracking format is enough.


[eslint-plugin-lit-a11y]: optional chaining breaking rules

html`
  Media
  Wikipedia
`;

The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/anchor-is-valid.md" eslint(lit-a11y/anchor-is-valid)

Whereas these pass:
html`
  Media
  Wikipedia
`;

Think this might be a missing case here:
https://github.com/open-wc/open-wc/blob/cf1c52709a58c1b560c69cef01f209b88a166f15/packages/eslint-plugin-lit-a11y/template-analyzer/util.js#L235
But frankly I'm strongly considering reverting the logic we have there, I'm not sure if its worth it

this was fixed in https://github.com/open-wc/open-wc/pull/1907


Votes

whoops :-)

Haha, during a live demo no less 😄

On Sep 19, 2018, at 13:54, Mano Marks<EMAIL_ADDRESS>wrote:
whoops :-)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.


Redraw Problem...

I have a function that draws data from a database... when I changed a setting to exclude a certain item for example day 2... it doesn't include day 2 as I expected... but when I delete day 2 from the database and when back to the chart the day 2 is still there... I'm using Ionic btw...
After entering data...

After excluding data via logic

After deleting data (DELETE FROM...)

What I needed to do is to refresh chrome (dev preview) to refresh the chart completely...
My UI for the data... the red one for delete... the blue one for exclude...

Seems not a problem with chartjs... needed to fix some of my logic now...


Define correct new_ems_path for each provider

Define correct new_ems_path for each provider

@skateman does this fix your issue?

:+1:


This package breaks hot reload

Steps to reproduce:
Install vue/cli: yarn global add @vue/cli
Create a new vue app: vue create test
Run vue-cli-service serve and check that hot reload works with no issues
Add vue3-perfect-scrollbar: yarn add vue3-perfect-scrollbar
Add import PerfectScrollbar from 'vue3-perfect-scrollbar' to main.js
Run vue-cli-service serve and see that hot reload no longer work

@fly3110 I have same problem in vue3, Looking for the solution. Thanks for creating issue here.

@fly3110 I also have the same problem, due to this I suffered a lot. after every changes I need to refresh the page like PHP.

As a workaround, I put import PerfectScrollbar from 'vue3-perfect-scrollbar to the very first line, before import {...}  from 'vue'

Hi guys, thank you for let me know, this plugin was created by community. I will find some time in a few days to reproduce and fix it.

@fly3110 i see the issue, for some reasons vue use umd file, but in classic way it should take esm. For now as a workaround please setup it this way:
import PerfectScrollbar from 'vue3-perfect-scrollbar/dist/vue3-perfect-scrollbar.esm'

Is this resolved?

This is still an issue. @mercs600 's workaround fixes the issue. Still should be addressed, it took me many hours to find this package was the issue.

Issue was fixed


C2Ladders site is down

The website is down and showing the error as mentioned below

No idea why this is happening, will update once fixed

Should be working now, idk why but all my db users expired suddenly, Had to re add that.

Cool, now it's working fine!!!


Artist unable to add NFTs to his collection

Artist unable to add NFTs to his rmrk2 collection. Just fiy his collection originally minted on rmrk1 then migrated to rmrk2. He wants to add NFT to rmrk2 collection.
RMRK1 collection: https://kodadot.xyz/rmrk/collection/362f9efe7813f79902-SIK
RMRK2 collection: same collection migrated to RMRK2: https://kodadot.xyz/ksm/collection/362f9efe7813f79902-SIK

one was rmrk1 and the other rmrk2 migrated
he is logged in with the collection owner ACC
unable to see his collection in the Select collection field:

you beat me to it :D for further questions cc
thanks luu


⚠ Bofrost.de has degraded performance

In b42a48e, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1643 ms

Resolved: Bofrost.de performance has improved in b01a0f5 after 26 minutes.


Rescheduling fails.

When an available date is found, I receive the notification through Pushover. But the automatic rescheduling always fails, with the following error message:
"Reschedule Failed!!! 2024-04-19 10:00
reason:

When an available date is found, I receive the notification through Pushover. But the automatic rescheduling always fails, with the following error message:
"Reschedule Failed!!! 2024-04-19 10:00 reason:


sqlpackage.exe is recreating non-clustered index and tables that should not

Problem description:
Cx is trying to publish DACPAC sqlpackage to Devops but user created non clustered indexes are being dropped and these indexes are being defined in the DACPAC. cx added arguments in the SQL package trying to avoid indexes to be recreated. the indexes are still being dropped even after cx tried with the new arguments /P: IgnoreIndexOptions=true, /P:IgnoreLockHintsOnIndexes=true, /P:IgnoreFillFactor=true, /P:BlockOnPossibleDataLoss=$(BlockonpPossibleDataLoss), IgnoreIndexPadding = true)
As a pattern, cx is seeing just the non-cluster indexes being recreated, not the cluster ones.
CX is also seeing now in the logs that tables are being re-built as well, not just indexes and want to know Why it's doing the re-build when nothing was changed?
Has this problem surfaced recently, or the issue has always existed? recently
Were there any changes around the time the issue started (i.e., any application, workload, schema, data or query changes)?  NO
Query:
"D:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\Extensions\Microsoft\SQLDB\DAC\150\SqlPackage.exe" /Action:Publish /SourceFile:"D:\Agent03_work\r472\a\drop\source.dacpac" /TargetServerName:"" /TargetDatabaseName:"" /TargetUser:"***" /TargetPassword:"********" /p:BlockOnPossibleDataLoss=true /p:IgnoreIndexOptions=True /p:IgnoreLockHintsOnIndexes=True /p:IgnoreFillFactor=True /p:IgnoreIndexPadding=True /TargetTimeout:120
DDL in the DACPAC
CREATE TABLE [CustomerDATA].[PRODUCT_APPLICATION_ACCOUNT]
(
……
)
go
CREATE UNIQUE NONCLUSTERED INDEX [PRODUCT_APPLICATION_ACCT_PK] ON [CustomerDATA].[PRODUCT_APPLICATION_ACCOUNT]
(
[PRODUCT_APPLICATION_ACCOUNT_ID]  ASC

)
go
CREATE UNIQUE NONCLUSTERED INDEX [PRODUCT_APPLICATION_ACCT_USI1] ON [CustomerDATA].[PRODUCT_APPLICATION_ACCOUNT]
(
[ACCESS_NUMBER]       ASC,

[APPLICATION_ACCOUNT_NUMBER],

[LINE_OF_BUSINESS_CODE],

[RECORD_TYPE]         ASC

)
go
CREATE CLUSTERED INDEX [PRODUCT_APPLICATION_ACCT_NUSI1] ON [CustomerDATA].[PRODUCT_APPLICATION_ACCOUNT]
(
[ETL_DATASET_TYPE]    ASC

)
go
The two Non clustered indexes are being rebuilt.

This issue was there in a particular dacpac that does not have space for masked function with partial in the column where index is created on that column. The model.xml of this particular dacpac didnot had the space whereas in the dacpac generated using the latest sqlPackage.exe had space returned both from sql server 2022 as well as azure db. Therefore this particular dacpac looked different while publishing that caused the dropping and recreating of indexes and tables.
I tried creating a table without space in partial method of masking function applied to column, created a non clustered index on the same column, and took the dacpac and found that model.xml had space. I used latest sqlpackage.exe of version 16.0.6296.0.

Publishing this dacpac, did not had the issue of dropping and rebuilding the indexes and table


[Feature Request] Marking an area and type a brace/bracket/quote shall apply these to the area

When writing a string e.g. that needs quotes, but you forget to quote it when starting to type the string, it would be nice if you could mark the word and press ", which would apply the quotes to the word, instead of replacing the word with the ".
This behaviour is already realised in Kate.

I've written a plugin to implement this. I've got an open PR to add it to the official plugin-channel.
https://github.com/deusnefum/micro-quoter

The quoter plugin is now available through the official channel:
> plugin install quoter
quit and restart micro.
> set quoter.enable on
If this is a good enough solution, can you close this issue?


2307 supported ?

is 2307 controller actually supported?

Yes https://github.com/p00n00b/2307-badusb/blob/master/README.md

@p00n00b Can you confirm right now that it is working?

If yes, will buy today


[Activation] Separate concerns in CM part #1

Currently, consensus manager has too many responsibilities making it very difficult to unit test and maintain reliably going forward.
Please note that with this work there were NO logic changes.
@monsieurleberre and myself want to split off some of the responsibilities from CM so that they can be separately tested and maintained. We have a big issue with potentially many devs working on this code and we want to ensure that we can create boundaries around parts of CM that can "componitized".
As part of this the block downloading logic was pulled into ConsensusBlockDownloader and the shared block loading logic into ConsensusBlockLoader.
The individual methods on IConsensusManager has been extracted to individual visitor classes that "visits" consensus, makes changes to CHT and returns. This is a very basic visitor pattern implementation.
This PR will be split in 2 as part 2 further improves on the modularity and greatly improves he ease of writing unit tests for CM.

I'll review it tomorrow, don't merge.
PS
Didn't we agree that refactoring will be done after the component is ready, best case when we finish with the activation?
Why spending time now without even talking to anyone who was originally working on the component or anyone who is working on activation?

@fassadlr the visitor pattern is the pattern that typically solves the problem of double dispatching.
It's purpose is to add common functionality to a group of objects without having to derive from the same class and\or modify it.
Here is a good example of where this pattern is needed: https://www.codeproject.com/Articles/588882/TheplusVisitorplusPatternplusExplained
In case of this PR every visitor works ALWAYS with just one type. It would make sense if for example we would have smth like this for block downloaded visitor:
AcceptBlock(PoSBlock)
AcceptBlock(CompactPoSBlock)
AcceptBlock(PoWBlock)
AcceptBlock(CompactPoWBlock)

but that's not the case.
The pattern is being missuses and it's not justified here.
Since the whole PR is about using visitor pattern I think it's safe to discard it.

@noescape00 thank you for your constructive comments on this PR 💯 Lets continue the discussion here #1862 .


23358 - Fixed NR phone input

Issue #: /https://github.com/bcgov/entity/issues/23358
Changes:

Fixed the NR phone input to match what's in the current site

BRD currently in DEV:

New one here:

/gcbrun

The pnpm-lock.yaml file changed drastically after I did a pnpm install on my side. I'm guessing that's OK, right?

/gcbrun

Temporary Url for review: https://business-registry-dev--pr-28-eng2le6x.web.app

Temporary Url for review: https://business-registry-dev--pr-28-eng2le6x.web.app

The pnpm-lock.yaml file changed drastically after I did a pnpm install on my side. I'm guessing that's OK, right?

This is why:

There are 2 choices:

match the existing version
go with the new version and make sure everything works; I'd also say, make sure this project is "compatible" with other pnpm projects

Refs:
https://github.com/bcgov/business-dashboard-ui/blob/main/pnpm-lock.yaml
https://github.com/bcgov/namerequest/blob/main/app/pnpm-lock.yaml
I don't enough to make a decision. Ask Thor...?

The pnpm-lock.yaml file changed drastically after I did a pnpm install on my side. I'm guessing that's OK, right?

This is why:

There are 2 choices:

match the existing version
go with the new version and make sure everything works; I'd also say, make sure this project is "compatible" with other pnpm projects

Refs: https://github.com/bcgov/business-dashboard-ui/blob/main/pnpm-lock.yaml https://github.com/bcgov/namerequest/blob/main/app/pnpm-lock.yaml
I don't know enough to make a decision. Ask Thor...?

Great points. Sev, I spoke to Dietrich about this, he told me it should be totally fine. I can proceed with the lock file change. Worst case I can roll back. So I'm going to leave this as is for now.


cpeng: check for hugepages

Add try/catch around allocate call and if an exception is caught, then
compare the byte size requested to the syttem page size. If the amount
is bigger than system page size, print more info about maybe requiring
hugepages reserved.
Signed-off-by: Rodrigo Rojo<EMAIL_ADDRESS>

Coverage decreased (-0.06%) to 63.695% when pulling 94dd32cb0514b96bf18ed5678312bbc45f92234f on rrojo/cpeng-hgpage-check into 1763485d2c0d440862746008113b458a0e07546b on master.


USMilCoin UMC

USMilCoin UMC

Good day,
I have tried following the process to upload a logo to my token.
I think i have it all mixed up

Can i ask you where exactly did you read that this repo is correct place to upload the log ?.


[MNT] - Update plot functions

Minor updates of plot functions:

Updates the shader annotate functions to accept multiple shade regions
Updates style functions (drop_spines, invert_axes) to have the same API order as annotate functions
Moves around some plot utilities and style functions

Codecov Report

Merging #156 (a851044) into main (906bf36) will increase coverage by 0.00%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main     #156   +/-   ##
=======================================
  Coverage   98.54%   98.54%
=======================================
  Files          96       96
  Lines        3357     3363    +6
=======================================
+ Hits         3308     3314    +6
  Misses         49       49

Impacted Files
Coverage Δ

spiketools/plts/annotate.py
97.33% <100.00%> (+0.15%)
:arrow_up:

spiketools/plts/task.py
96.42% <100.00%> (ø)

spiketools/plts/trials.py
96.61% <100.00%> (ø)

spiketools/tests/plts/test_annotate.py
100.00% <100.00%> (ø)

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

Codecov Report

Merging #156 (538d758) into main (906bf36) will increase coverage by 0.00%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main     #156   +/-   ##
=======================================
  Coverage   98.54%   98.54%
=======================================
  Files          96       96
  Lines        3357     3365    +8
=======================================
+ Hits         3308     3316    +8
  Misses         49       49

Impacted Files
Coverage Δ

spiketools/plts/annotate.py
97.33% <100.00%> (+0.15%)
:arrow_up:

spiketools/plts/style.py
97.05% <100.00%> (+0.18%)
:arrow_up:

spiketools/plts/task.py
96.42% <100.00%> (ø)

spiketools/plts/trials.py
96.61% <100.00%> (ø)

spiketools/tests/plts/test_annotate.py
100.00% <100.00%> (ø)

spiketools/tests/plts/test_style.py
100.00% <100.00%> (ø)

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

Codecov Report

Merging #156 (9de1584) into main (906bf36) will increase coverage by 0.00%.
The diff coverage is 96.34%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@           Coverage Diff           @@
##             main     #156   +/-   ##
=======================================
  Coverage   98.54%   98.54%
=======================================
  Files          96       96
  Lines        3357     3366    +9
=======================================
+ Hits         3308     3317    +9
  Misses         49       49

Impacted Files
Coverage Δ

spiketools/plts/spatial.py
91.86% <40.00%> (ø)

spiketools/plts/annotate.py
97.33% <100.00%> (+0.15%)
:arrow_up:

spiketools/plts/spikes.py
100.00% <100.00%> (ø)

spiketools/plts/stats.py
100.00% <100.00%> (ø)

spiketools/plts/style.py
96.87% <100.00%> (ø)

spiketools/plts/task.py
96.42% <100.00%> (ø)

spiketools/plts/trials.py
96.61% <100.00%> (ø)

spiketools/plts/utils.py
96.55% <100.00%> (+0.12%)
:arrow_up:

spiketools/tests/plts/test_annotate.py
100.00% <100.00%> (ø)

spiketools/tests/plts/test_style.py
100.00% <100.00%> (ø)

... and 1 more

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


refactor: rework handler specialization

Current dependencies on/for this PR:

main

PR #129

PR #131   👈
PR #130

This comment was auto-generated by Graphite.

Merge Activity

Sep 27, 9:57 AM: @pevisscher started a stack merge that includes this pull request via Graphite.


dataTable - addColumn with sorting.

Summary of problem or feature request
dataTable - addColumn with sorting.
Code snippet of problem
 public function dataTable($query)
    {
        $dataTable = new EloquentDataTable($query);
        $columns = array_column($this->getColumns(), 'data');
        $dataTable = $dataTable
            ->editColumn('name', function ($earning) {
                return getLinksColumnByRouteName([$earning], "restaurants.edit", 'id', 'name');
            })
            ->addColumn('total_orders', function ($earning) {

                $foodIds = $earning->foods->pluck('id')->all();
                $total_orders = FoodOrder::join("orders", "orders.id", "=", "order_id")
                    ->join("payments", "payments.id", "=", "orders.payment_id")
                    ->whereIn('food_id', $foodIds)
                    ->where('payments.status', "Paid")
                    ->whereBetween('payments.created_at', [$this->from_date, $this->to_date])
                    ->count();

                // $earning->total_orders = $total_orders;

                return $total_orders;
            })....

return $dataTable;
}

 protected function getColumns()
    {
        $columns = [
            [
                'data' => 'name',
                'title' => trans('lang.earning_restaurant_id'),

            ],
            [
                'data' => 'total_orders',
                'title' => trans('lang.earning_total_orders'),
                'searchable' => false,
            ],...

        return $columns;
}

 public function query(Restaurant $model)
    {
            return $model->newQuery()
                ->with("foods")
                ->select('restaurants.*');
     }

System details

Operating System = Windows 10
PHP Version = 7.3.30
Laravel Version = 5.8.38
Laravel-Datatables Version = "yajra/laravel-datatables-oracle": "8.|9."

FYI: addColumn disables search & sort by default since the package treat this as a computed column. It breaks the SQL most of the time if left enabled.
Try using this instead:

Use editColumn
Set the column as searchable false

You can use orderColumn and handle sorting via SQL level.

Which mean I have 5 new column, I need to add 5 editColumn (display data) and 5 orderColumn (specific the the column for sorting) ?

It depends on your requirements and setup. For example, you can use withCount('relation') and sorting will work out of the box but searching will not work. I suggest you do the total/count on the query level if possible.

What if I have multiple new columns not in the datatable like sum of something. I can do all in query level, can you give me a sample code? Or you have any suggestion?

Hi @yajra , I facing this issue as well.
I have opened, clicked columns in SQL, but I need to use addColumn for opened_rate and clicked_rate for percentage calculation. After I have added the 2 columns, I was unable to sort and search.
As you mentioned above: addColumn disables search & sort by default.
But, how can we use orderColumn as you suggested to display as a new column?
Please advice.
Thank you.

@js-limitless-factor  You can display the new column by setting the name key:
// php
->addColumn('opened_rate',  fn($x)...)
->orderColumn('opened_rate', fn($q, $dir) ...)

// js
{data: 'opened_rate', name: 'opened_rate'}

This snippet will allow ordering but searching is still disabled.

If computation was done on SQL level, sorting works w/o the need for addColumn:
// js
{data: 'opened_rate', name: 'opened_rate', searchable: false}

thanks @yajra ! I got the idea now : )


update date of diagnosis to new column

instead of fetching the date of birth from these columns: sct_432213005_y, sct_432213005_m, sct_432213005_d as separated dates, we only fetch the date of diagnosis from this column: sct_432213005 in YYYY-MM-DD format


New hook onLog()

Enabling:

Control what Vike logs, most notably what warnings are shown
Completely silence Vike
More precise error tracking
Error tracking regardless of server integration (important for upcoming middleware packages such as express-vike).

See also:

Previous discussion: https://github.com/vikejs/vike/issues/1013
https://vike.dev/errors

Instead of having three different hooks (onLog() / onClientLog() / onServerLog()), a consideration is to have +onLog.js / +onLog.server.js / +onLog.client.js. (The suffixes would automatically change the env of + files.)

Sweet!!


[WIP] Revert dispatcher tests

I think what we need is TODO them until Jonathan succeeds with his new dispatching framework

Can you please specify what will be the best way to do it? I don't see anything related to TODO in spectest.data, do you mean marking tests as todo using Test routines?

Probably using the fudge mechanism (#?rakudo skip/#?rakudo todo directives).


Even better markdown conversion

Pull Request Checklist:

[ ] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes #xyz

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Documentation has been added / updated (for bug fixes / features)
[x] HISTORY.rst has been updated (with summary of main changes)

[x] Link to issue (:issue:number) and pull request (:pull:number) has been added.

[ ] bumpversion patch has been called on this branch
[ ] The relevant author information has been added to .zenodo.json

What kind of change does this PR introduce?

The converter function is now nearing a complete replacement for Pandoc for RST → MD conversion.

Does this PR introduce a breaking change?
No.
Other information:

Coverage increased (+0.009%) to 91.578% when pulling f4969d28142b20e5183e4869b5bb96a15e910d68 on even_better_markdown_conversion into 677ffcd7dfc29fb8cbecc0d04b81708d3b749b3f on master.


ReferenceError: navigator is not defined

Hello,
I came across your library and wanted to test drive it in my app.  However, after installing and running, I got this error:
Module../node_modules/react-audio-recorder/dist/getUserMedia.js
./node_modules/react-audio-recorder/dist/getUserMedia.js:1
> 1 | export default navigator.mediaDevices ?
  2 |     navigator.mediaDevices.getUserMedia :
  3 |     (navigator.getUserMedia ||
  4 |         navigator.webkitGetUserMedia ||```

Is there a solution for this?

I'm running it in next.js

Hello there,
Next.js runs all import files server side. You can use dynamic import to get around this problem. Dynamic Import - Next.js
For example:
`import dynamic from 'next/dynamic'
const AudioRecorder = dynamic(
() => import('react-audio-recorder'),
{ ssr: false }
)`


JFXDatePicker  display error

I'm using JFXDatePicker for a few months now. Today i tested a dialog ealier implemented and got wierd symbols displayed. A small basic application gets the same result, on other pc's everything works fine..
Anybody got a similar error or a solution for this problem?

Hello, try changing the date picker Chronology property.

Do you think it helps? How should I change it?
This error also appears with this simple example:
`public class Main extends Application {
@Override
public void start(Stage primaryStage) throws Exception{
    BorderPane root = new BorderPane( );
    primaryStage.setTitle("DatePicker Test");

    JFXDatePicker datePickerFX_ = new JFXDatePicker( );
    root.setCenter( datePickerFX_ );

    primaryStage.setScene(new Scene(root, 300, 275));
    primaryStage.show();
}

public static void main(String[] args) {
    launch(args);
}

}`
I found out that all Strings are shiftet in ascii table about 2 chars. So a C is shown as A, D as B,...
When debugging the strings are correctly passed to the labels, so I don't know what else could be wrong...

you can change chronology using the method setChronology


Update milmove-cypress image tag

Description
Updates the milmove-cypress image so that we're using one that has some updates we need.
Reviewer Notes
I used the commit hash in the tag, was that correct? Had to think back and remember things about docker images.

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against a258f71f52eff0f9ec203c9cb40dd667d020726e


Added Discord Server

Link doesn't work, i'm getting redirected to the discord.me homepage.

I just fixed the link - it seems like there's a typo in the actual URL.


ignore

Before filing a new issue, be sure to check the FAQ for answers to many common questions about Dinghy.

Sorry, Error !


Etcd Members don't have a persistent storage identity

Steps to reproduce:

Create an EtcdCluster that uses PersistentVolumes

apiVersion: "etcd.database.coreos.com/v1beta2"
kind: "EtcdCluster"
metadata:
  name: "example-etcd-cluster"
spec:
  size: 3
  pod:
    persistentVolumeClaimSpec:
      storageClassName: default
      accessModes:
      - ReadWriteOnce
      resources:
        requests:
          storage: 1Gi

Delete a member of the cluster: kubectl delete <pod_name>
Etcd operator creates a new Pod to replace the deleted one

Video Footage: https://www.youtube.com/watch?v=pYyqDs1piG8&feature=youtu.be
What I expect to happen:
The new member should get the PersistentVolume of the deleted one.
What happens:
The new member got a new, empty PersistentVolume.
Why this is a problem:
Pod deletes happen in Kubernetes even without user error.
For example, draining a node will cause Pods on the node to be deleted.
New members of etcd should get the PV of an old member, if it exists.
StatefulSet already handles this.

Same here, I'd like to be able to recover the cluster without restoring from a backup (sometimes not possible to restore valid data) even with manual intervention. I could achieve that with proper persistent storage.
Would it be ok to start a PR using Statefulsets or at least build reclaim logic from a PVC?

A PR that swaps the current custom controller with StatefulSets would probably require a major refactor of the codebase.
However, StatefulSets have come a long way and I feel they are a good fit for running etcd.
This operator was developed during the very early Kubernetes days and had to implement a lot of things that are now included out-of-the-box with StatefulSets.
Extending the current code to handle this scenario could be done, but it is something that StatefulSets already do successfully and is well-tested.
I believe it would be a better solution to start clean and leverage StatefulSets as well as a modern framework for writing operators, like kubebuilder or operator-sdk.
It would greatly simplify the current codebase and make it easier for new people to contribute.

I agree with @yanniszark. Also I see most of the organizations are anyways relying on StatefulSets features anyhow with custom bootstrapper and teardown scripts.

/cc @alaypatel07

I believe it would be a better solution to start clean and leverage StatefulSets as well as a modern framework for writing operators, like kubebuilder or operator-sdk.
It would greatly simplify the current codebase and make it easier for new people to contribute.

I think that this is really the question, at which point do we move to SDK framework?

It's true that I'm mixing up 2 orthogonal things here:

The issue is that deleting a Pod results in the loss of its PV, which should not happen.
The proposed solution is to use StatefulSets, to solve the problem and simplify the code. This solution requires major refactoring.
A new operator-framework would greatly simplify the code and offer new features (OpenAPI validation, admission webhooks). This requires major refactoring.

Since both require major refactoring and both simplify the code greatly, I'm kind of grouping them together, which may be kinda wrong.

@hexfusion I think now would be a good time move to SDK. Especially because, as @yanniszark pointed out, it would give us an opportunity to simplify the codebase.
@yanniszark @raoofm I have developed a proof of concept etcd operator using the operatorSDK's --type=Ansible to check any issues around using StatefulSets for managing etcd. Please feel free to check it out, here, and share thoughts. Thanks

I'm not too sure about using Ansible.
This would present an extra barrier for existing contributors since they would have to also learn how Ansible works.

Because of the aforementioned reasons, I think an implementation in Go makes more sense for this project.

@yanniszark I am sorry if it sounded like I was suggesting to refactor this project in Ansible, it would be an insane thing to do. I prototyped the POC in Ansible, to figure out the corner cases of using the StatefulSet resource.
Refactoring this project with SDK and StatefulSet will be a lot of work. Just wanted to have a quick jab at the pitfalls of the approach for folks to try out before a similar implementation for this project can be planned.

@alaypatel07  Ahh makes much more sense now!
That's great, please do share your findings! :smile:
Did you encounter any major roadblocks?

For some reason, I cannot get readinessProbes to work. My understanding is that for a 3 pod cluster, the StatefulSet controller only rolls out pod-1 if pod-0 is ready and pod-0's readinessProbe will not succeed until all the three pods are up and have formed a quorum, leading to a deadlock. I could be wrong, feel free to try it out.

The startup script is a little unreadable IMO, but it can be easily taken out and implemented as an initContainer. The logic embedded(hopefully written in go) in the initContainers can be tested and hence, it is a predictable way of doing things.

Initially, I used the preStop hook to remove the pod as an etcd member before deleting, but I noticed that on kubectl delete pods -l app=etcd all the pods will be removed from the etcd cluster. Following that, even if the StatefulSet controller re-creates the pods, the cluster can be in an unpredictable state. Hence, I think removing the member from the operator is a better way than using preStop hook. It will keep the cluster stable even on an accidental delete of pods as well as pods being rescheduled (because of node draining for instance).

Overall, I would say there isn't a real roadblock(up to now) that would hamper the use of StatefulSet. Having said that, the refactor is a huge task, we need to be careful and think this one through. I am still trying to figure out other major issues like deploying cluster using TLS certs, making Backup and Restore work, etc. Once I feel confident, I would go ahead and sum up the key learnings in a proposal.

related issue: https://github.com/coreos/etcd-operator/issues/1984
Make pod name stable like statefulset is the key point.


Cache-Control flag for fallback image

When a fallback image is used, it has no special information regarding the cache like implemented for #319. This means a fallback image could be cached aggressively even though the image could have been not available due to an intermediate failure.
For fallback image, add another envvar to allow a smaller Cache-Control age than a normal image.

I guess IMGPROXY_FALLBACK_IMAGE_TTL is what you are looking for


[WIP] Add a new return code signaling an invalid api key.

This is a work in progress.
I have started the pull just to indicate how far work has come along and to make it easier to discuss.

While reading I came across this function (send_heartbeat() in main.py) which looks to be storing the HTTP API response in the response object.
And looking at the API docs I can see that any 50x error means service unavailable which is what we will see if we are not connected to the internet. The other codes are not related to connectivity it seems.
Correct me if I have gotten anything wrong. :weary:
So I am thinking we can return three values from here. One for a failed request, one for accepted and one for all 50x responses.
The value returned from there to execute() can be then checked using if...elif...elif here and returning SUCCESS, API_ERROR or NO_INTERNET accordingly.
Did I understand it correctly? :weary: It's 2 in the night here, so I'll try writing some code implementing the above tomorrow evening.

I can do the wakatime core changes, which will look like:
            status = send_heartbeat(**kwargs)
            if status == SUCESSS:
                queue = Queue()
                while True:
                    heartbeat = queue.pop()
                    if heartbeat is None:
                        break
                    status = send_heartbeat(
                        project=heartbeat['project'],
                        entity=heartbeat['entity'],
                        timestamp=heartbeat['time'],
                        branch=heartbeat['branch'],
                        hostname=kwargs['hostname'],
                        stats=json.loads(heartbeat['stats']),
                        key=args.key,
                        isWrite=heartbeat['is_write'],
                        plugin=heartbeat['plugin'],
                        offline=args.offline,
                        hidefilenames=args.hidefilenames,
                        entity_type=heartbeat['type'],
                        proxy=args.proxy,
                        api_url=args.api_url,
                        timeout=args.timeout,
                    )
                    if status != SUCCESS:
                        break
                return SUCCESS

            return status

and inside def send_heartbeat replace return True with return SUCCESS and replace return False with return API_ERROR, then these changes on line 383:
                if response_code == 401:
                    log.error({
                        'response_code': response_code,
                        'response_content': response_content,
                    })
                    return UNAUTHORIZED_ERROR


Feedback for “Legal Research API”

Here are some small proposals on where to improve the documentation:

parameters: write whether they are required or optional (fastMode is optional as far as I know), what they default to if omitted, or how they can be bypassed
confidence should include a description about their values (a range, maybe some more detailed meaning; is the range 0 to 100 or 1 to 1000? is confidence 100 legally binding or just saying "there won't be a better answer without more context"?)
error needs some clarification, is it an error code or a full message, if a code then what do they mean? if it's HTTP codes, then mentioning that would suffice.
the link for the authentication is broken (is: /authentication, should probably be: authentication.mdx (searches in parent directory currently, and without the ending..))

Hey ! thanks for the feedback

I removed the fastMode to create less confusion , and added more information of the parameters optionality
the "confidence score" is not reliable at the moment, the range is from 0 to 100, but we are working on making it more usefull. I add a flag experimental , will use this flag for other new features in the future
the error is a string as a message, not an error code. Added more information in the doc


Navigation bar are not properly aligned with action slider

I have used a fixed margin to align the navigation bar with the action slider.
But this only aligns the navigation bar in fullscreen.

Mhhh, this seems outdated. Or I don't know what I meant.


fix: cURL not detecting the right body type

Description
This commit fixes the bug https://github.com/appsmithorg/appsmith/issues/13978 and changes two files:

CurlImporterServiceTest.java
CurlImporterServiceCEImpl.java

Additionally this commit fixes the Body type detection for REST APIs with GET method  when imported from cURL.
Fixes https://github.com/appsmithorg/appsmith/issues/13978
Type of change

Bug fix (Now the cURL import will be able to detect the right body type)

How Has This Been Tested?

This PR has been tested:
* Manually
* Junit

As the Junit coverage is adequate, we don't require Cypress test case for this PR.

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Closing in favour of #16549


Add native googleplus login

Angular wrapper for google login.
Plugin: https://github.com/EddyVerbruggen/cordova-plugin-googleplus

Look great!

@pbernasconi Thanks! You can have a look at a demo and docs of the working plugin here:  https://github.com/SiddharthaRRamesh/ionic-starter-oauth


How to add rules to detect two exclusive classes

Hi,
I am doing a object detection project for two exclusive classes A and B. For some ground truth image both two classes will be detected.
May I know is there any way to add some rules on evaluation process, like once class B is detected, all the class A proposals will be eliminated to increase the mAP. I have checked the documentation but didn't find any relevant resource, any suggestions would be appreciated. Thanks in advance.

Yes, you can modify the post process so that upon an instance of a certain class is detected for an image then you discard the other artificially. The other way is to add a loss to constrain the model to predict only one class.


feat(annotations): add command containers

This is the first part of the introduction of annotation processing to cloud. A new @CommandContainer annotation has been introduced, which can be placed on classes to have the annotation parser automatically construct & parse the classes when AnnotationParser.parseContainers() is invoked.
A future PR will introduce another processor that will scan for @CommandMethod annotations and verify the integrity of the annotated methods (visibility, argument annotations, etc.).

My god, this feature is awesome!


xits-math font doesn't show Russian letters.

On the preview window there are russian letters, but when I run the app there is no such.May be I'm thinking in a wrong way or smth?

Currently there is no support for non-english languages. See #27 for ideas on how it could be implemented.

@kostub Thanks for answering!!


toBeObservable errors with of(undefined)

Hello,
I get a Cannot read property 'length' of undefined at isCharacterwhen running a test where the observable has a value of `undefined``
Here are two examples:
let values = {
    u: undefined,
    n: null,
}
// ✅ Passes with "null"
expect( cold( "n", values ) ).toBeObservable( cold( "n", values ) )

// 🛑 Fails with "undefined" -> Cannot read property 'length' of undefined
expect( cold( "u", values ) ).toBeObservable( cold( "u", values ) )

I'll see if I can fix that :)

Should be fixed in 2.4.1. Please confirm.

Perfect, it works 👍


use regexp_parser?

hi!
nice gem! and a really good blog post (which is how i found it).
would you be interested in using regexp_parser for the parsing part?
i know you've probably invested a lot of love into the parsing functions.
on the other hand, more people might be able to benefit from the knowledge you've aquired along the way if you're interested in contributing to regexp_parser -- and perhaps some other gems that can be used on their own.
this could also improve regexp-examples a bit. i had a quick look around, and here are just a few things that regexp_parser handles more correctly or would allow to implement more easily:
/\u{10FFFF}/.examples     # => NoMethodError; should be ["\u{10FFFF}"]
/\u{61 62}/.examples      # => NoMethodError; should be ["ab"]
/[[:^ascii]]/.examples    # => []; should be ["\u0080", "\u0081", ...] or so
/\X/.examples             # => ["X"]; should be all kinds of stuff [1]
/(a)\g<1>/.examples       # => easy with regexp_parser's #referenced_expression
/(a)(?(1)b|c)/.examples   # => NoMethodError; doable but complicated [2]
/\0/.examples             # => []; should be ["\u0000"]
/[a-&&]/.examples         # => ["a", "&"]; should be []
/(?u:\w)/.examples        # => NoMethodError; should be unicode word chars
/(?a)[[:word:]]/.examples # => NoMethodError; should be ascii word chars

[1] [2]
then there are some other gems (cough by me cough) that might be helpful and would benefit from contributors:
regexp_property_values reads out the codepoints matched by property or posix expressions directly from Ruby via a C API. might allow getting rid of the versioned codepoint databases in this gem. also works with old Rubies.
character_set calculates matched codepoints, e.g. of bracket expressions, in C. could be a performance boost or at least abstract away that part.
all three of these gems can be seen in use in js_regex.
i'll understand if you want to keep regexp-examples without dependencies, but feel free to take a look around this stuff.

Hi Janosch, thank you for the comments.
Firstly, I think I should start by saying that this project was originally created 5 years ago (!!), with the original intent of being a small personal challenge to generate examples for a very limited subset of regexp - e.g. /a*b*c?/ ... Over time, it gradually evolved into this "complete" solution!
In retrospect yes, if I were to write the whole thing again today, I would almost certainly try to utilise some other library like regexp_parser rather than attempt to build my own -- but you have to understand the context in which this was written (i.e. my younger self, wanting to figure out the intricacies of regular expressions).
And in addition, in hindsight, the test suite could be far more comprehensive by directly using the onigmo specs! (If this library "misbehaves" for a regexp which that Onigmo itself does not test, it should probably be documented there first!)
I've seriously considered a major rewrite of the library to use some dependencies, for a few years now, like you suggested, and release a v2.0 of this gem.
I haven't been super motivated to use regexp_parser as the various parser issues - like you mentioned -are very obscure. I believe >99.9% of real-world use cases of this gem are already handled perfectly well.... But I'd certainly welcome a PR, and may even look into it myself one day when I have the time.
The issues surrounding named properties and character sets, however, have bugged me for a while - I haven't seen your libraries until today (they are much newer than this gem!), and at a glance they may be a long-overdue solution to the problem! If you don't have time for PR yourself, I'll definitely take a closer look myself later -- thanks! 😄

Right now, regexp-examples can install without a natively compiled component.
For me, that is a prerequisite to using it.
Grüße, Carsten

@tom-lord i can relate well to the background of this gem. it's just how i started with js_regex, asking myself, how much work can it be? answer: a lot 😂
i could perhaps provide a PR to integrate regexp_parser, or maybe just integrate it for some syntax features to get an impression of what it would look like.
regarding the other libraries, using character_set might make most sense together with regexp_parser as character_set can only parse the most basic bracket expressions on it's own - no intersections, types, properties, posix classes etc.
using regexp_property_values on the other hand should probably be as simple as replacing CharSets::NamedPropertyCharMap with RegexpPropertyValues. as a side note, this would add support for some more spellings that are permitted by Onigmo, such as \p{symbol currency}, and would make updates to deal with new properties in future Rubies obsolete.
@cabo can you elaborate? are you using a non-C Ruby? regexp_parser is a pure Ruby library and the others include Ruby fallback code, so should work in all environments (although i've only tested jruby; other Rubies might require minor tweaks).

Hi Janosch,
I’m trying to provide a software distribution that is used on Windows PCs as well as UNIX/Linux gear, not necessarily by dev types.  Doing a native compile increases the complexity of getting this going significantly, so I have resolved to only use Ruby libraries.
Yes, that means limitations such as using REXML instead of Nokogiri etc…
Unfortunately, it is not sufficient that it “should work”, it has to actually work!
Using any library that has a native dependency therefore is problematic for me.
Now I read “ragel” and thought that might be used to build a native library.
It doesn’t look that way when I just install regexp_parser, but I didn’t have time to look at the libraries in detail.  Sorry if I raised a false alarm.
(I still need a parser/translator from W3C regexps into Ruby’s…  Unless I find anything, I probably will write that in the next few weeks.)
Grüße, Carsten

On Jul 29, 2019, at 10:12, Janosch Müller<EMAIL_ADDRESS>wrote:
@cabo can you elaborate? are you using a non-C Ruby? regexp_parser is a pure Ruby library and the others include Ruby fallback code, so should work in all environments (although i've only tested jruby; other Rubies might require minor tweaks).

(I still need a parser/translator from W3C regexps into Ruby’s… Unless I find anything, I probably will write that in the next few weeks.)

Well, more than a hundred weeks actually.
The project is now called iregexp, and you can find it at https://github.com/cabo/iregexp

@cabo congratulations on your progress!
it is an interesting project that i imagine could be of interest in more domains, not just jsonpath.
a bit off-topic, but one quick thought on it:
supporting unicode properties in iregexp feels a bit like a "backup" made necessary by not supporting char-type escapes such as \d. i understand the interoperability reasons beyond the latter decision, but i'm wondering about the practicality. the char type escapes are very well-established, and property escapes are little-known among developers. maybe extra rules for the translation to other flavors, such as replacing \d with an appropriate char set or property where necessary, would be acceptable to support them? unicode properties can also be a major drag on inter-operability, and even where they are supported, they are not 100% inter-operable anyway, as various environments tend to be on different unicode versions...
anyway, to get back on topic:
at some point in these past 4 years, i had quick a look at using regexp_parser in regexp-examples.
my impression was that it would be more work than building a similar example-generating tool from scratch, at least for me.
so from my point of view, this issue can be closed :)
if you ever end up using character_set or regexp_property_values @tom-lord, note that these do include C-extensions. the extensions are optional, and the fallback code has successfully been used in some non-C-Ruby environments, but I wouldn't vouch for them to work in every exotic setup, so a major version bump might be appropriate.
cheers!
J


Fix robocopy sentence formatting and grammar

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


Added Magdeburg-Stendal University of Applied Sciences

Added "Hochschule Magdeburg-Stendal" aka "Magdeburg-Stendal University of Applied Sciences"
student-email addresses<EMAIL_ADDRESS>website: https://www.h2.de/en/home.html

@silas-prototype First stage of verification passed, official domain is h2.de as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.


How can partials be minified?

Description
UUF verbatim:

Need more info for "Load minified partial view TagHelper". How can partials be minified? That isn't discussed anywhere, just stated as if it's well known, it isn't.

Page URL
https://learn.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/authoring?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/mvc/views/tag-helpers/authoring.md
Document ID
9a0cbaa2-65c9-1618-1003-5fd2e7f6192f
Article author
@Rick-Anderson

Use a minification tool, the same as JavaScript, css, etc.
@inject IWebHostEnvironment env
@if (env.IsProduction())
{
    <partial name="_MyPartialView.min" />
}
else
{
    <partial name="_MyPartialView" />
}


(bar2vtk) Allow arbitrary read/write values

Allow for reading in arbitrary binary files with arbitrary ordering of data. Namely for SST velbar files, which include the TKE and Omega in them.
Allow for explicitly declaring the order of the components of a binary array by a comma-separated string, and have automatic treatment of those values.
Standard processed values:

String
Value

u, v, w
(Mean) Velocity components

p
(Mean) pressure

uu, vv, ww, uv, uw, vw
(Mean) Velocity product (to calculate Reynolds stress by <u'u'> = <uu> - <u><u> )

Any other values parsed will simply be passed to the vtm file.
Examples:

Example
String

Standard velbar file
'u,v,w,p'

Standard stsbar file
'uu,vv,ww,uv,uw,vw'

SST velbar file
'u,v,w,p,k,omega'

Psuedocode/snippets:
def parseArbitraryInput(input: str):
    collist = input.split(',')
    velmap = ['u', 'v', 'w']
    reystrmap = ['uu', 'vv', 'ww', 'uv', 'uw', 'vw']
    velindx =  [-1]*3
    reystrindx = [-1]*6
    other = {}
	for i, col in enumerate(collist):
        if col in velmap:
            velindx[velmap.index(col)] = i
        elif col in reystrmap:
            reystrindx[reystrmap.index(col)] = i
        else:
            other[col] = i
    return velindx, reystrindx, other

# npnts defined somewhere else
data = {}
for input, file in zip(inputs, files):
    velindx, resystrindx, other = parseAribtraryInputs(input)
	ncols = len(velindx) + len(reystrindx) + len(other)
    rawdata = readBinaryArray(file, ncols)

    if not all([-1 == n for n in velindx]):
		if not 'Velocity' in data.keys(): data['Velocity'] = np.zeros((npnts,3))
		for i, idx in enumerate(velindx):
			if not idx == -1:
				data['Velocity'][i,:] = rawdata[idx,:]
	# Repeat for reynolds stress
    if other:
		for label, idx in other.items():
			data[label] = rawdata[idx,:]

data is now a dictionary of the "Velocity", "ReynoldsStress", and other random labels.


flutter run crashes when running on ios Simulator

Flutter crash report; please file at https://github.com/flutter/flutter/issues.
command
flutter run
exception
ProcessException: ProcessException: Process "/usr/bin/xcrun" exited abnormally:
An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=1):
This app could not be installed at this time.
Failed to load Info.plist from bundle at path /Users/karthikc/Library/Developer/CoreSimulator/Devices/F74D00B0-4A37-4AC2-831A-FF1C81392317/data/Library/Caches/com.apple.mobile.installd.staging/temp.WIipxB/extracted/Payload/Runner.app
Failed to load Info.plist from bundle at path /Users/karthikc/Library/Developer/CoreSimulator/Devices/F74D00B0-4A37-4AC2-831A-FF1C81392317/data/Library/Caches/com.apple.mobile.installd.staging/temp.WIipxB/extracted/Payload/Runner.app
Underlying error (domain=MIInstallerErrorDomain, code=35):
Failed to load Info.plist from bundle at path /Users/karthikc/Library/Developer/CoreSimulator/Devices/F74D00B0-4A37-4AC2-831A-FF1C81392317/data/Library/Caches/com.apple.mobile.installd.staging/temp.WIipxB/extracted/Payload/Runner.app
Command: /usr/bin/xcrun simctl install F74D00B0-4A37-4AC2-831A-FF1C81392317 /Users/karthikc/Studies/WORKSPACE/CHARGEBUNK/creek/build/ios/iphonesimulator/Runner.app
#0      runCheckedAsync (package:flutter_tools/src/base/process.dart:251:5)
<asynchronous suspension>
#1      SimControl.install (package:flutter_tools/src/ios/simulators.dart:125:16)
#2      IOSSimulator._setupUpdatedApplicationBundle (package:flutter_tools/src/ios/simulators.dart:396:31)
<asynchronous suspension>
#3      IOSSimulator.startApp (package:flutter_tools/src/ios/simulators.dart:308:15)
<asynchronous suspension>
#4      FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:289:54)
#5      _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#6      _rootRunUnary (dart:async/zone.dart:1132:38)
#7      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#8      _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#9      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#10     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#11     Future._complete (dart:async/future_impl.dart:476:7)
#12     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#13     _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#14     _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#15     getApplicationPackageForPlatform (package:flutter_tools/src/application_package.dart)
#16     _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#17     _rootRunUnary (dart:async/zone.dart:1132:38)
#18     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#19     _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#20     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#21     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#22     Future._complete (dart:async/future_impl.dart:476:7)
#23     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#24     _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#25     _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#26     FlutterProject.fromDirectory (package:flutter_tools/src/project.dart)
#27     _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#28     _rootRunUnary (dart:async/zone.dart:1132:38)
#29     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#30     _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#31     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#32     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#33     Future._complete (dart:async/future_impl.dart:476:7)
#34     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#35     _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#36     _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#37     FlutterProject._readManifest (package:flutter_tools/src/project.dart)
#38     _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#39     _rootRunUnary (dart:async/zone.dart:1132:38)
#40     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#41     _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#42     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#43     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#44     Future._complete (dart:async/future_impl.dart:476:7)
#45     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#46     _rootRunUnary (dart:async/zone.dart:1132:38)
#47     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#48     _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#49     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#50     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#51     Future._complete (dart:async/future_impl.dart:476:7)
#52     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#53     _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async/runtime/libasync_patch.dart:33:20)
#54     _rootRun (dart:async/zone.dart:1124:13)
#55     _CustomZone.run (dart:async/zone.dart:1021:19)
#56     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#57     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#58     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#59     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#60     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)

flutter doctor
[✓] Flutter (Channel stable, v1.0.0, on Mac OS X 10.14.2 18C54, locale en-IN)
    • Flutter version 1.0.0 at /Users/karthikc/Softwares/flutter
    • Framework revision 5391447fae (2 months ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/karthikc//Library/Android/sdk
    • Android NDK at /Users/karthikc//Library/Android/sdk/ndk-bundle
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/karthikc//Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.6.0

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 31.3.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] VS Code (version 1.30.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.22.3

[✓] Connected device (1 available)
    • iPhone XR • F74D00B0-4A37-4AC2-831A-FF1C81392317 • ios • iOS 12.1 (simulator)

• No issues found!

Flutter crash report; please file at https://github.com/flutter/flutter/issues.
command
flutter run
exception
ProcessException: ProcessException: Process "/usr/bin/xcrun" exited abnormally:
An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=1):
This app could not be installed at this time.
Failed to load Info.plist from bundle at path /Users/karthikc/Library/Developer/CoreSimulator/Devices/F74D00B0-4A37-4AC2-831A-FF1C81392317/data/Library/Caches/com.apple.mobile.installd.staging/temp.XeCugh/extracted/Payload/Runner.app
Failed to load Info.plist from bundle at path /Users/karthikc/Library/Developer/CoreSimulator/Devices/F74D00B0-4A37-4AC2-831A-FF1C81392317/data/Library/Caches/com.apple.mobile.installd.staging/temp.XeCugh/extracted/Payload/Runner.app
Underlying error (domain=MIInstallerErrorDomain, code=35):
Failed to load Info.plist from bundle at path /Users/karthikc/Library/Developer/CoreSimulator/Devices/F74D00B0-4A37-4AC2-831A-FF1C81392317/data/Library/Caches/com.apple.mobile.installd.staging/temp.XeCugh/extracted/Payload/Runner.app
Command: /usr/bin/xcrun simctl install F74D00B0-4A37-4AC2-831A-FF1C81392317 /Users/karthikc/Studies/WORKSPACE/CHARGEBUNK/creek/build/ios/iphonesimulator/Runner.app
#0      runCheckedAsync (package:flutter_tools/src/base/process.dart:251:5)
<asynchronous suspension>
#1      SimControl.install (package:flutter_tools/src/ios/simulators.dart:125:16)
#2      IOSSimulator._setupUpdatedApplicationBundle (package:flutter_tools/src/ios/simulators.dart:396:31)
<asynchronous suspension>
#3      IOSSimulator.startApp (package:flutter_tools/src/ios/simulators.dart:308:15)
<asynchronous suspension>
#4      FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:289:54)
#5      _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#6      _rootRunUnary (dart:async/zone.dart:1132:38)
#7      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#8      _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#9      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#10     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#11     Future._complete (dart:async/future_impl.dart:476:7)
#12     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#13     _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#14     _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#15     getApplicationPackageForPlatform (package:flutter_tools/src/application_package.dart)
#16     _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#17     _rootRunUnary (dart:async/zone.dart:1132:38)
#18     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#19     _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#20     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#21     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#22     Future._complete (dart:async/future_impl.dart:476:7)
#23     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#24     _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#25     _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#26     FlutterProject.fromDirectory (package:flutter_tools/src/project.dart)
#27     _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#28     _rootRunUnary (dart:async/zone.dart:1132:38)
#29     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#30     _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#31     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#32     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#33     Future._complete (dart:async/future_impl.dart:476:7)
#34     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#35     _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#36     _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#37     FlutterProject._readManifest (package:flutter_tools/src/project.dart)
#38     _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#39     _rootRunUnary (dart:async/zone.dart:1132:38)
#40     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#41     _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#42     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#43     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#44     Future._complete (dart:async/future_impl.dart:476:7)
#45     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#46     _rootRunUnary (dart:async/zone.dart:1132:38)
#47     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#48     _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#49     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#50     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#51     Future._complete (dart:async/future_impl.dart:476:7)
#52     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#53     _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async/runtime/libasync_patch.dart:33:20)
#54     _rootRun (dart:async/zone.dart:1124:13)
#55     _CustomZone.run (dart:async/zone.dart:1021:19)
#56     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#57     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#58     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#59     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#60     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)

flutter doctor
[✓] Flutter (Channel stable, v1.0.0, on Mac OS X 10.14.2 18C54, locale en-IN)
    • Flutter version 1.0.0 at /Users/karthikc/Softwares/flutter
    • Framework revision 5391447fae (2 months ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/karthikc//Library/Android/sdk
    • Android NDK at /Users/karthikc//Library/Android/sdk/ndk-bundle
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/karthikc//Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.6.0

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 31.3.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[✓] VS Code (version 1.30.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.22.3

[✓] Connected device (1 available)
    • iPhone XR • F74D00B0-4A37-4AC2-831A-FF1C81392317 • ios • iOS 12.1 (simulator)

• No issues found!

Got the same issue again in 5 minutes time

@ckarthickit

ProcessException: ProcessException: Process "/usr/bin/xcrun" exited abnormally:
An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=1):
This app could not be installed at this time.
Failed to load Info.plist from bundle at path /Users/karthikc/Library/Developer/CoreSimulator/Devices/F74D00B0-4A37-4AC2-831A-FF1C81392317/data/Library/Caches/com.apple.mobile.installd.staging/temp.XeCugh/extracted/Payload/Runner.app

It seems to be a pure iOS problem where the info.plist is missing,henceforth fail the simctl install command.
Please consider asking support questions in one of the other channels listed at http://flutter.io/support . Maybe: https://stackoverflow.com/questions/40327935/failed-to-load-info-plist-from-bundle
Feel free to comment below, we will reopen it if it turn out to be a flutter problem.

Faced Similar issue:
Running in iOS 13.3 simulator , but initial crash in 10.3.1 simulator
flutter --version
Flutter 1.13.9-pre.59 • channel master • https://github.com/flutter/flutter.git
Framework • revision ab36346af6 (2 days ago) • 2020-01-11 14:20:05 -0500
Engine • revision 3d37d39d95
Tools • Dart 2.8.0 (build 2.8.0-dev.0.0 395daaa3ec)

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):

[✓] Flutter (Channel master, v1.13.9-pre.59, on Mac OS X 10.15.2 19C57, locale en-NP)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.41.1)
[✓] Connected device (2 available)

• No issues found!

flutter run
More than one device connected; please specify a device with the '-d <deviceId>' flag, or use
'-d all' to act on all devices.

iPhone 11 • 4C8E9273-21A2-4302-A573-2C7AFBC2930F • ios •
com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator)
iPhone 5  • 3C476A01-6AE5-4663-BDA5-F8DF2B2273DA • ios •
com.apple.CoreSimulator.SimRuntime.iOS-10-3 (simulator)

flutter run -d 3C476A01-6AE5-4663-BDA5-F8DF2B2273DA
Launching lib/main.dart on iPhone 5 in debug mode...
Running Xcode build...
 ├─Assembling Flutter resources...                           2.5s
 └─Compiling, linking and signing...                         4.3s
Xcode build done.                                            8.5s
            PackageType = Developer;
            SimulatorRootPath = "/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 10.3.simruntime/Contents/Resources/RuntimeRoot";
            SimulatorUserPath = "/Users/office/Library/Developer/CoreSimulator/Devices/3C476A01-6AE5-4663-BDA5-F8DF2B2273DA/data";
        }
        state->old_bundle: /Users/office/Library/Developer/CoreSimulator/Devices/3C476A01-6AE5-4663-BDA5-F8DF2B2273DA/data/Containers/Bundle/Application/1DFF7DC2-C7C1-4847-B05B-05969E4A9CC2/Runner.app
        state->new_bundle: /Users/office/Documents/flutter_practise/flutter_saving_data/build/ios/iphonesimulator/Runner.app
        state->dst_bundle: /Users/office/Library/Developer/CoreSimulator/Devices/3C476A01-6AE5-4663-BDA5-F8DF2B2273DA/data/Library/Caches/com.apple.mobile.installd.staging/temp.rBxgha/extracted/Payload//Runner.app, binaryDiff flag: FALSE
                dst_ipa: /Users/office/Library/Developer/CoreSimulator/Devices/3C476A01-6AE5-4663-BDA5-F8DF2B2273DA/data/Library/Caches/com.apple.mobile.installd.staging/temp.rBxgha/extracted
            CFBundleIdentifier = "com.example.flutterSavingData";
            PackageType = Developer;
            SimulatorRootPath = "/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 10.3.simruntime/Contents/Resources/RuntimeRoot";
            SimulatorUserPath = "/Users/office/Library/Developer/CoreSimulator/Devices/3C476A01-6AE5-4663-BDA5-F8DF2B2273DA/data";
        })
            arguments =     (
                "--enable-dart-profiling",
                "--enable-checked-mode",
                "--verify-entry-points",
                "--observatory-port=0"
            );
            environment =     {
                TERM = "xterm-256color";
            };
        }
                retryTimeout: 120.000000 (default write com.apple.CoreSimulatorBridge LaunchRetryTimeout <value>)
                bootTimeout: 300.000000 (default write com.apple.CoreSimulatorBridge BootRetryTimeout <value>)
                bootLeeway: 120.000000 (default write com.apple.CoreSimulatorBridge BootLeeway <value>)
                Note: Use 'xcrun simctl spawn booted defaults write <domain> <key> <value>' to modify defaults in the booted Simulator device.
        Simulator booted at: 2020-01-13 05:25:27 +0000
        Current time: 2020-01-13 09:27:11 +0000
        Within boot leeway: NO
Jan 13 15:12:11 Offices-MacBook-Pro com.apple.CoreSimulator.SimDevice.3C476A01-6AE5-4663-BDA5-F8DF2B2273DA[3678] (UIKitApplication:com.example.flutterSavingData[0x6fef][3700][33530]): Program specified by service does not contain one of the requested architectures:
            description = "The request to open "com.example.flutterSavingData" failed.";
            failureReason = "The request was denied by service delegate (SBMainWorkspace) for reason: Unspecified.";
            underlyingError = <NSError: 0x78e6e570; domain: FBSOpenApplicationErrorDomain; code: 1 (Unspecified)> {
                description = "The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.)";
            };
        }
ProcessException: Process exited abnormally:
com.example.flutterSavingData: -1

_An error was encountered processing the command (domain=FBSOpenApplicationServiceErrorDomain,
code=1):
The request to open "com.example.flutterSavingData" failed.
The request was denied by service delegate (SBMainWorkspace) for reason: Unspecified.
Underlying error (domain=FBSOpenApplicationErrorDomain, code=1):
        The operation couldn’t be completed. (FBSOpenApplicationErrorDomain error 1.)
  Command: /usr/bin/xcrun simctl launch 3C476A01-6AE5-4663-BDA5-F8DF2B2273DA
  com.example.flutterSavingData --enable-dart-profiling --enable-checked-mode
  --verify-entry-points --observatory-port=0
Error launching application on iPhone 5._


Watcher’s “Rushdown” Card Detected as “Madness”

While creating the card database for the Watcher character, I encountered an issue where the “Rushdown” card is incorrectly detected as “Madness” during gameplay.
Steps to Reproduce:
1.	Create a deck including the Watcher’s “Rushdown” card, which is defined in the code as RUSHDOWN. (The db of the cards its on my PR #12)
2.	Load the deck in the game.
3.	Observe that the game recognizes the “Rushdown” card as the “Madness” colorless card instead.
This issue may be related to the process used to encrypt or save game files. The card database setup for the Watcher character seems correct, so the issue might stem from how the game distinguishes between cards in the encrypted savefile.
/

This issue may be related to the process used to encrypt or save game files.

For now, I don't think this is the case, as 1) game can be loaded after new save is applied - means it's not broken and 2) the editor worked file with other cards.

so the issue might stem from how the game distinguishes between cards in the encrypted savefile

Yes, I lean towards this. My guess is that the game mismatch on treating the string Rushdown (and probably with Madess too, which in this case when we inject Madness card the game probably will show other card too).
The best way to solve this issue, I think, is to start a fresh run and play until we get a Rushdown card (and preferably also a Madness card). Save the game and print the whole plain save game structure. We will then know what string represent what card.

Hi @rahmatnazali, thanks for the reply. I tried also adding Madness to the deck (the mainly reason colorless cards were added hah), but its still showing madness in the deck after the changes in the savefile.


Hero assertion when transitioning routemaps

It's difficult to know if this is an issue inherent in what I am doing or if this is actually a flutter bug itself.  I'll let others decide I guess.
I've created a public app to demonstrate the issue and it's entirely reproducable.  Repo is at https://github.com/markphillips100/herotest. Let me know if you prefer code snippets posted in this issue itself.
The strategy of the app is to show how to switch between responsive layouts; one for mobiles with a single page navigator, and one for wider viewports with a splitview where the left side is the root page and the right side uses it's own page navigator stack (using StackPage).  Rotating the device would switch between the layouts and retain the existing route path.
Hero transitions should work within the mobile layout for all pages.  For the wider layout, the left side heros should be disabled, and the right side hero transitions should work inside of their own navigator stack.
This all seems to works fine.  Navigation okay, and heros isolated to their navigator stack okay.  Problem occurs only when rotating from wide layout to mobile layout, and only when the right side has pushed another page above the stack's default path.
The exception I get is an assertion in flutter's heroes.dart file:
      final Animation<double> initial = initialManifest.animation;
      assert(initial != null);
      final HeroFlightDirection type = initialManifest.type;
      assert(type != null);
      switch (type) {
        case HeroFlightDirection.pop:
          return initial.value == 1.0 && initialManifest.isUserGestureTransition
              // During user gesture transitions, the animation controller isn't
              // driving the reverse transition, but should still be in a previously
              // completed stage with the initial value at 1.0.
              ? initial.status == AnimationStatus.completed
              : initial.status == AnimationStatus.reverse;
        case HeroFlightDirection.push:
          return initial.value == 0.0 && initial.status == AnimationStatus.forward;
      }
    }()': is not true.

I've stepped through the assertion logic using Android Studio and it fails because the last line's initial.status is AnimationStatus.declined.
To reproduce just follow these steps:

Start an Android emulator (haven't tried iOS) and rotate to landscape mode.  Ensure the OS AutoRotate is enabled in settings.
Launch app.  Should see a split view with "Wide Layout" Page on left and Page Two on right.
Press "Select three".  Navigates right side to page three.
Rotate emulator to portrait.  App will respond and throw the exception above.

I've edited the SDK code as a test to include the "declined" status as being valid in the last line, so that the assert returns true.  I get no exception when I do this and no visual indication that something is broken.
Having said that, I'd like to understand if there's something fundamentally wrong with what I am doing that would cause this, and if there's something I can do to mitigate the assertion in the first place.
What I know so far:

No exceptions occur when a hero does not exist for the same tag on either Page One or Page Two, meaning no pair exists to do any transition.
Adding some tag prefix naming scope to the wider layout helps to avoid duplicate tags in subtrees but doesn't resolve this issue specifically.
The issue is triggered from a hero transition started by a push to Page Two using the material app controller scope, not the wide layout scope.

I've found a workaround and updated the herotest app to demonstrate it.
Basically there seems to be some conflict between SDK HeroController and Navigator.  The former makes the animation status assertion during it's void start(_HeroFlightManifest initialManifest) method without first filtering out offending toRoute parameters in its _maybeStartHeroTransition method - seems a likely spot to put it IMO.
And from the Navigator perspective, even though the route that causes the issues is an "add" rather than a "push" (because it's not a top-level page) the HeroController's didPush is still called which triggers the _maybeStartHeroTransition flow.
So, the workaround is to have a custom derived HeroController and override didPush and filter the toRoute animation status and don't call the super if status is already dismissed:
class CustomHeroController extends HeroController {
  CustomHeroController({ createRectTween })
  : super(createRectTween: createRectTween);

  static HeroController createMaterialHeroController() {
    return CustomHeroController(createRectTween: (Rect? begin, Rect? end) {
        return MaterialRectArcTween(begin: begin, end: end);
      },
    );
  }

  @override
  void didPush(Route<dynamic> route, Route<dynamic>? previousRoute) {
    if (route is PageRoute<dynamic> && route.animation?.status == AnimationStatus.dismissed) {
      return;
    }
    super.didPush(route, previousRoute);
  }
}

Then use the builder variant of RoutemasterDelegate.builder to provide a new hero controller scope and specify an instance of the new controller (instantiated outside of the build method):
class MyApp extends StatelessWidget {

  // Use this controller to support bypass possible hero animation if the toRoute animation is already dismissed.
  final mainHeroController = CustomHeroController.createMaterialHeroController();
  // Use this controller to show assertion.
  // final mainHeroController = MaterialApp.createMaterialHeroController();

  MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(
      title: 'Hero Rotation Demo',
      routeInformationParser: const RoutemasterParser(),
      routeInformationProvider: PlatformRouteInformationProvider(initialRouteInformation: const RouteInformation(location: "/layout")),
      routerDelegate: RoutemasterDelegate.builder(
        navigatorBuilder: (context, stack) {
          return HeroControllerScope(
            controller: mainHeroController,
            child: PageStackNavigator(
              stack: stack,
            ),
          );
        },
        routesBuilder: (context) {
....
        },
      ),
    );
  }
}

I've also submitted the issue with Flutter repo too.  It's been triaged so will see if they come up with something.


[BUG] Changing the image does not take effect. (nodeDriver)

Describe the bug

Changing the image of an existing template does not take effect
To Reproduce
Steps to reproduce the behavior:

Switch to rancher ui
Add a harvester node driver
Click global
Click Add Cluster, Choose harvester
add template => save
Delete all images in the harvester ui
Add an image
Modify the template just created in rancher ui，  => Select image
Check the template api, check whether the image value has changed

Expected behavior
Hope this image value changes
Log

Environment:

Harvester ISO version:
Installation Mode: ISO/app-mode
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630):

Additional context
Add any other context about the problem here.

Validated on master-head


bibclean: 3.03 -> 3.04

bibclean: 3.03 -> 3.04
Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/bibclean/versions.
meta.description for bibclean is: "Prettyprint and syntax check BibTeX and Scribe bibliography data base files"
meta.homepage for bibclean is: "http://ftp.math.utah.edu/pub/bibclean"
Updates performed:

Version update

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.04 with grep in /nix/store/rpbx7xdgdz4wpl72032jmv1v935jjzgs-bibclean-3.04

directory tree listing: https://gist.github.com/1ef2157e8d8bd163ec82bf033cdba280

du listing: https://gist.github.com/92aefff25e7a2bed243626cd2268444d

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

1 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
bibclean

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/rpbx7xdgdz4wpl72032jmv1v935jjzgs-bibclean-3.04 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

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

Result of nixpkgs-review 1

1 package built:
- bibclean

cc @dtzWill for testing.

Merging based on the fact that the diff looks good and the bot built all dependents.


How do i sign-in to afreeca in python code?

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.02.08. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2019.02.08

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[x] Feature request (request for a new functionality)
[x] Question
[ ] Other

How do i sign-in to afreeca in python code?
The document seems to be only for the cmd environment.
I could not find a way to sign-in to afreeca from the document.
youtube-dl is not support afreeca sign-in?

https://github.com/rg3/youtube-dl/blob/3e4cedf9e8cd3157df2457df7274d0c842421945/youtube_dl/YoutubeDL.py#L139-L140


v2.4.0 Maintainerr is not running on Synology (DSM7.2) Container Manager

Describe the bug
Maintainerr image updated on the 20th of December 2024 (v2.4.0), and maintainerr is no longer starting.
Maintainerr worked before this update (v2.3.1).
To Reproduce
Steps to reproduce the behaviour:

image: jorenn92/maintainerr:latest had been updated on the 20th of December
Container Manager is now showing the container as not runnable
Error message coming up as: Error: Format string 'PORT=%(ENV_UI_PORT)s,HOSTNAME=%(ENV_UI_HOSTNAME)s' for 'environment' contains names ('ENV_UI_PORT') which cannot be expanded. Available names: ENV_DEBUG, ENV_GIT_SHA, ENV_HOME, ENV_HOSTNAME, ENV_NODE_ENV, ENV_NODE_VERSION, ENV_PATH, ENV_TZ, ENV_UV_USE_IO_URING, ENV_VERSION_TAG, ENV_YARN_CACHE_FOLDER, ENV_YARN_GLOBAL_FOLDER, ENV_YARN_INSTALL_STATE_PATH, ENV_YARN_VERSION, group_name, here, host_node_name, numprocs, process_num, program_name in section 'program:ui' (file: '/etc/supervisord.conf')

Expected behavior
Maintainerr should run without any issues after the update.
Screenshots
N/A
Device (please complete the following information):

OS: Synology DSM
Version 7.2.2

Additional context
Rolling back to 2.3.1 resolved the issue.

I can't see any changes between 2.3.1 and 2.4.0 that would cause this issue, those environment variables were added in 2.3.0.
Does it start okay if you declare these environment variables:
UI_PORT=6246
UI_HOSTNAME=<IP_ADDRESS>

@benscobie This seems to be the fix. Strange that with the v2.3.1 I have not declared these variables in the YAML file.

I do wonder what other default environment variables are missing for you... would you be able to run this command inside your container and paste the output? printenv

@benscobie I only ran the default YAML with the path changes when created the Project in Container Manager.

Well the other environment variables are in there, so I'm not sure why those weren't 🤷


Error when i installing

Severity	Code	Description	Project	File	Line	Suppression State
Error	NU1107	Version conflict detected for Xamarin.GooglePlayServices.Base. Install/reference Xamarin.GooglePlayServices.Base 60.1142.1 directly to project App6.Android to resolve this issue.
App6.Android -> Xamarin.Forms.GoogleMaps 3.2.0 -> Xamarin.GooglePlayServices.Maps 60.1142.1 -> Xamarin.GooglePlayServices.Base (= 60.1142.1)
App6.Android -> Com.OneSignal 3.3.0 -> Xamarin.GooglePlayServices.Gcm 42.1021.1 -> Xamarin.GooglePlayServices.Base (= 42.1021.1).	App6.Android	C:\Users\Dev\source\repos\App6\App6\App6.Android\App6.Android.csproj	1

Could you try our sample apps?
https://github.com/amay077/Xamarin.Forms.GoogleMaps/tree/master/XFGoogleMapSample


Remove broken disable verify ssl synology

Description:
Disabling SSL verification for Synology camera's has been broken in 0.32 as reported in https://github.com/home-assistant/home-assistant/issues/4257. I don't have time for a proper fix right now so will just ensure now that it at least works with SSL verification enabled.
Related issue (if applicable): #4257

There are still issues with the cookies that are going to prevent the component from working.  It all stems from the switch to aiohttp.  I've got a working fix running on my own dev system, but need to cleanup the code and do some more testing before I can do a PR.
It looks like cookies and ssl_verify need to be set in the client connection, so I'm setting up my own instead of using hass.websessions

If you could PR this, that would be great 👍

http://aiohttp.readthedocs.io/en/stable/client_reference.html#basic-api cookies should work on request...

I thought so too, but I was getting error about an unexpected argument, cookies, until I created my own clientsession and passed it there.


This example is not working, I can't install it

https://chromestatus.com/feature/6398297361088512

Linux Google Chrome Version 131.0.6778.69 (Official Build) (64-bit)

follow this link is work: https://chromeos.dev/en/tutorials/getting-started-with-isolated-web-apps/1


always allow sending of IETF QUIC Version Negotiation Packets

Fixes #1458.
When receiving a packet with an IETF QUIC Header using an unsupported version, we should send a IETF QUIC Version Negotiation Packet, even if none of the supported versions is IETF QUIC.

Codecov Report

Merging #1486 into master will decrease coverage by 0.03%.
The diff coverage is 92.59%.

@@            Coverage Diff             @@
##           master    #1486      +/-   ##
==========================================
- Coverage   89.19%   89.15%   -0.03%
==========================================
  Files         121      121
  Lines        8443     8444       +1
==========================================
- Hits         7530     7528       -2
- Misses        619      622       +3
  Partials      294      294

Impacted Files
Coverage Δ

server_tls.go
77.78% <100%> (+0.21%)
:arrow_up:

server.go
87.11% <88.89%> (-2.08%)
:arrow_down:

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 58eae32...acb45c0. Read the comment docs.


MINOR: Make the state change log more consistent

Use logIdent to achieve this.
Also fixed an issue where we were logging about replicas going offline with
an empty set of replicas (i.e. no replicas had gone offline so no need to log).

Review by @hachikuji.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6481/
Test FAILed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6496/
Test PASSed (JDK 7 and Scala 2.11).

The failure is unrelated.

I updated the PR to make state change logging more consistent. Let me know what you think.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6516/
Test PASSed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6502/
Test PASSed (JDK 8 and Scala 2.12).

Thanks for the review. I'll take a look and see how much rephrasing will be needed.

Closing in favour of #3869, which has a more accurate branch name.


Image wrongly listed as unused

Hi,
I'm trying to use this plugin to sort through documents that are no longer used but the plugin shows an image as unused when it is on a page.
mkdocs.yml
site_name: xxx
repo_url: https://xxx/xxx/wiki/
edit_uri: edit/master/docs/
theme:
    name: 'material'
plugins:
    - search
    - awesome-pages
    - unused_files:
        dir: media
        file_types:
          - png
          - jpg
          - pdf
          - xlsx
          - docx
          - gv
markdown_extensions:
    - codehilite

Plugin output
INFO     -  The following files exist in the docs directory, but may be unused:
              - media/index.png

HTML code of the page using the image

Did I configure the plugin incorrectly?
Thank you in advance for your help.

Thanks for your feedback! That's some weird HTML code. Why is there Markdown code in the src part? It should be

With correctly formatted HTML code, the plugin should work.

Hi @wilhelmer
It's mkdocs that generates the HTML for the pages, so I don't know why it's worded that way.
Here is the original markdown code:

I think it should be ![devops](media/index.png) (without the leading slash, i.e., media instead of /media).
Does that solve the issue?

This syntax does not display the image in the HTML page anymore. It just print "devops".
The plugin output this
WARNING  -  Documentation file 'Developpement/Test-devops/test.md' contains a link to
        'Developpement/Test-devops/media/index.png' which is not found in the
        documentation files.

So your image file isn't in Developpement/Test-devops/media/? Where is it then?
I think it would be helpful if you could provide your test project as a ZIP file.

I cannot share the project because it contains confidential information.
The image files are at the root of the project in /media/

All image files must be in the docs_dir folder, which is docs by default. So they should be in docs/media.

Hello,
Sorry for not replying sooner, I'm overwhelmed with work right now. I have to take the time to read the procedure to provide a minimal reproduction.