[BUG] Create many files instead one when perform init sync with partition by used

Bug
[BUG] Create many files instead one when perform init sync with partition by used
Describe the problem
Create many files instead one when perform init sync with partition by used
Steps to reproduce
Have no idea. Just run sync with this lib.

Observed results

https://spark-history.palefat.fozzy.lan/history/spark-7045e7457b8d420696093ab2e61671e9/jobs/
DESCRIBE HISTORY  karmacvm_Loyalty.cclass__fact_chequeclassifier
5	2023-04-18 13:50:24.000			SET TBLPROPERTIES	{"properties":"{"delta.logRetentionDuration":"interval 7 days","delta.deletedFileRetentionDuration":"interval 7 days"}"}	[]	[]		4	Serializable	true	{}		Apache-Spark/3.3.2 Delta-Lake/2.2.0
4	2023-04-18 13:50:19.000			WRITE	{"mode":"Overwrite","partitionBy":"["partition_created_day"]","predicate":"1=1 AND created >= '2022-01-01T00:00:00.000' AND created < '2022-01-02T00:00:00.000' AND partition_created_day in ('2022-01-01')"}	[]	[]		3	Serializable	false	{"numAddedChangeFiles":"0","numCopiedRows":"0","numDeletedRows":"223428","numFiles":"1","numOutputBytes":"6023892","numOutputRows":"223428","numRemovedFiles":"1"}		Apache-Spark/3.3.2 Delta-Lake/2.2.0
3	2023-04-18 13:45:14.000			WRITE	{"mode":"Overwrite","partitionBy":"["partition_created_day"]","predicate":"1=1 AND created >= '2022-01-02T00:00:00.000' AND created < '2022-01-03T00:00:00.000' AND partition_created_day in ('2022-01-02')"}	[]	[]		0	Serializable	false	{"numAddedChangeFiles":"0","numCopiedRows":"0","numDeletedRows":"0","numFiles":"1","numOutputBytes":"9992106","numOutputRows":"388408","numRemovedFiles":"0"}		Apache-Spark/3.3.2 Delta-Lake/2.2.0
2	2023-04-18 13:45:13.000			WRITE	{"mode":"Overwrite","partitionBy":"["partition_created_day"]","predicate":"1=1 AND created >= '2022-01-01T00:00:00.000' AND created < '2022-01-02T00:00:00.000' AND partition_created_day in ('2022-01-01')"}	[]	[]		0	Serializable	false	{"numAddedChangeFiles":"0","numCopiedRows":"0","numDeletedRows":"223428","numFiles":"1","numOutputBytes":"6023892","numOutputRows":"223428","numRemovedFiles":"1"}		Apache-Spark/3.3.2 Delta-Lake/2.2.0
1	2023-04-18 13:45:08.000			WRITE	{"mode":"Overwrite","partitionBy":"["partition_created_day"]","predicate":"1=1 AND created >= '2022-01-03T00:00:00.000' AND created < '2022-01-04T00:00:00.000' AND partition_created_day in ('2022-01-03')"}	[]	[]		0	Serializable	false	{"numAddedChangeFiles":"0","numCopiedRows":"0","numDeletedRows":"0","numFiles":"1","numOutputBytes":"10681877","numOutputRows":"417736","numRemovedFiles":"0"}		Apache-Spark/3.3.2 Delta-Lake/2.2.0
0	2023-04-18 13:43:41.000			WRITE	{"mode":"Overwrite","partitionBy":"["partition_created_day"]","predicate":"1=1 AND created >= '2022-01-01T00:00:00.000' AND created < '2022-01-02T00:00:00.000' AND partition_created_day in ('2022-01-01')"}	[]	[]			Serializable	true	{"numAddedChangeFiles":"0","numCopiedRows":"0","numFiles":"1","numOutputBytes":"6023892","numOutputRows":"223428"}		Apache-Spark/3.3.2 Delta-Lake/2.2.0
Expected results

Further details

Environment information

Mirroring library version:
Spark version:
Scala version:

Willingness to contribute
The Delta Flow Community encourages bug fix contributions. Would you or another member of your organization be willing to contribute a fix for this bug to the Delta Flow code base?

[ ] Yes. I can contribute a fix for this bug independently.
[ ] Yes. I would be willing to contribute a fix for this bug with guidance from the Delta Flow community.
[ ] No. I cannot contribute a bug fix at this time.

Steps to reproduce
Run the library
force_partition==True
generate_column==True
generated_column_name==partition_created_day
generated_column_type==date
generated_column_exp==cast(to_utc_timestamp(created, 'Europe/Kiev') '
write_partitioned==True
mode==overwrite
calc_min_dt==2022-01-01
calc_max_dt==2022-01-02
dtflt==created
s3a://spark-mirroring-jars/DeltaFlow-assembly-1.0.7-spark3.3.2-scala2.12.10.jar

The bug does not show up on a permanent basis. The frequency and causes of the bug are not clear to the applicant.


Adding the one-click functionality to clear the log. Button can be fo…

Since log can fill up pretty easily and deleting log items one-by-one is a long and boring task I've added an extra button to clear the log with one click. Button can be found next to the Export and it has confirmation window (similar way as the single delete).
Initial pull request can be found here:
https://github.com/concrete5/concrete5/pull/9805

Thank you!

! I didn't realize that you copied and pasted the code for checking "delete log entries" from our other delete log entries controller, which has the same issue with the "isRegistered()" class I mentioned earlier. Sorry about that – we should have given you a better example to work from! I'll fix that code in the delete.php controller.


Exposing Rules.{Utxo,Utxow,Utxos} modules

We (cardano-wallet / wip cardano-balance-tx lib) were highly curious about reusing the ledger rules and/or smaller helpers like shelleyWitsVKeyNeeded both for testing and implementation.
It seems the modules were made hidden some while ago, e.g.:
https://github.com/input-output-hk/cardano-ledger/blob/master/eras/babbage/impl/cardano-ledger-babbage.cabal#L43-L46
Would it be possible for them to be exposed again?

All of the rules modules are re-exported from the top level Cardano.Ledger.[Era].Rules module, so all you need to do is import Cardano.Ledger.Shelley.Rules (shelleyWitsVKeyNeeded) :wink:
Eg. https://github.com/input-output-hk/cardano-ledger/blob/3b1a42163c007afdef0a7ce49d3cf0236c554e23/eras/babbage/impl/src/Cardano/Ledger/Babbage/Rules.hs#L1-L7
Feel free to reopen the ticket and let me know if I misunderstood your question somehow.

Doh! 👍  thanks!


update test template

Update test template
topaz directory test template
{
  "assertions": [
  	{"check": {"object_type": "", "object_id": "", "relation": "", "subject_type": "", "subject_id": ""}, "expected": true}
  ]
}

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 26.489%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
1236

Relevant Lines:
4666

💛  - Coveralls


Bug 2181432: fix unreachable instancetype in vm details

📝 Description
Handle vm instance type error.
For non-priv user the instance-type can be unreachable
Fix also the Operating System and Hostname error handling.
If useK8sWatchResource raise an error, the loaded variable remain false.

/lgtm

/cherry-pick release-4.13


views: methods configuration addition and sphinx fix

Signed-off-by: Leonardo Rossi<EMAIL_ADDRESS>

Coverage remained the same at 100.0% when pulling 9b111c1b4da01895802198c61d3936abe252686c on hachreak:methods_on_config into 8a3ee41b9584c7264ca12c379411635f1e36c2c3 on inveniosoftware:master.

Coverage remained the same at 100.0% when pulling 9b111c1b4da01895802198c61d3936abe252686c on hachreak:methods_on_config into 8a3ee41b9584c7264ca12c379411635f1e36c2c3 on inveniosoftware:master.


dashboard: allow multiple allowed authentication domains

In some situations, it could be useful to share access to the dashboard to multiple authentication domains. The current GlobalConfig format doesn't really allow it so this deprecates the existing field and add a new slice of allowed authentication domains.

It seems to be the best candidate for the Friday evening deployment!

In some situations, it could be useful to share access to the dashboard to multiple authentication domains. The current GlobalConfig format doesn't really allow it so this deprecates the existing field and add a new slice of allowed authentication domains.


Right clicking an action removes it, but right clicking again in the box without moving the mouse crashes the game

Description

Right clicking an action will remove it, as it should, but right clicking again in the empty box crashes the game.
Reproduction

Right click the PDA in the action bar on the left.
Right click in the empty box again.

Screenshots

Additional context

dammit emogarbage

no longer happens


Conflict where no Conflict exists

I should be able to create this recurring annual event but cannot due to an apparent conflict (error).

I'm not "killing you". There are just a few bugs related to recurring events that are similar.

Should be fixed,  you can now specify what date.  This specific fix has been pushed to calendar already.


Adding basic CircleCI configuration.

Trying out CircleCI in earnest since Travis throttles us every day.
Most of our tooling is Travis centric, so this alone is insufficient, but it's worth seeing if we can at least go green on Circle CI.
I have been working on https://github.com/dhermes/ci-diff-helper in the last few weeks, so hopefully I can factor out our Travis-dependent code and replace it with more generic "help me in any CI" code.
/cc @omaray @jgeewax @jonparrott

Bump!
All our PR builds are red right now. Is there a way we could just run both to get this in and then maybe bring up dropping travis if we're happy with circleci?

This is failing to upload to coveralls.io for some reason. From the first successful merge build:
...
coveralls runtests: commands[18] | coveralls
Submitting coverage to coveralls.io...
Coverage submitted!
Couldn't find a repository matching this job.
'url'
ERROR: InvocationError: '/home/ubuntu/google-cloud-python/.tox/coveralls/bin/coveralls'
___________________________________ summary ____________________________________
ERROR:   coveralls: commands failed

scripts/coveralls.sh returned exit code 1

Turns out I had to manually add the repo token: https://circleci.com/docs/code-coverage/#coveralls
Done via https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/edit#env-vars


Add optional parameters for devex

It's annoying to have to do data.currentUser({}) with an empty object since no additional fields are getting fetched.  Added the option to not provide the argument at all to a few methods.

+1


http status 404 when session expires

Gitea version (or commit ref): 1.11.1
Git version: 2.1.4
Operating system: Linux (Ubuntu)
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
When a session expires and the page is reloaded, we get an http status 404. Multiple clicks are then required after the login form to get back to the page I just wanted to access/reload.
Instead of the 404 error page, I would expect to see a page with a login form, and that, after I login, I land on the page I wanted to access/reload.

Because we do not want to expose information that private repos exist we have to return 404 if you try to look at them and you don't have access.
What we should do however is make it easy to login from the 404 page.

How would you expose information that private repos exist ?

If you return 404 only when something does not exist and 403 or redirect to login when it does but you are logged out then you're exposing the existence of that repo etc.

I understand now why the 404 page is shown, even though it is inconvenient.


Add configurable queue name

Adds possibility to obtain queue's name from app settings file.

Just wanted to send you a note and mention that I tested this functionality on one of my applications that use Name Resolving and it works. Hoping this makes it to the main build soon!


Feature Request - Live Updates

It would be nice to implement a service that continually retrieves the status of a VM (refreshes every 60 seconds...)
I am building a VMWare reporting dashboard that uses this feature, If you would like to collaborate and implement this feature I would be willing to share source code.
Best,
Jesse

I'd definitely like to collaborate on that. Let's take this discussion to https://gitter.im/reedog117/node-vsphere and talk details there.


[Support] Pivpn installer not working on Ubuntu Server

{please fill the checkboxes, e.g: [X]}

[X] I have read and understood the contributors guide.
[X] The issue I am reporting can be replicated.
[X] The issue I am reporting can be is directly related to the pivpn installer script.
[X] The issue I am reporting isn't a duplicate (see FAQs, closed issues, and open issues).

Console output of      curl -L install.pivpn.dev | bash
  curl -L https://install.pivpn.io | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   162  100   162    0     0    372      0 --:--:-- --:--:-- --:--:--   372
100 83088  100 83088    0     0  14340      0  0:00:05  0:00:05 --:--:-- 19021
:::
::: sudo will be used for the install.
::: Did not detect perfectly supported OS but,
::: Continuing installation at user's own risk...
::: Did not detect perfectly supported OS but,
::: Continuing installation at user's own risk...
::: Hostname length OK
::: Verifying free disk space...
:::
::: Checking apt-get for upgraded packages.... done!
:::
::: Your system is up to date! Continuing with PiVPN installation...
:::    Checking for git... already installed!
:::    Checking for tar... already installed!
:::    Checking for wget... already installed!
:::    Checking for curl... already installed!
:::    Checking for grep... already installed!
:::    Checking for dnsutils... already installed!
:::    Checking for whiptail... already installed!
:::    Checking for net-tools... not installed!
:::    Checking for bsdmainutils... not installed!
:::    Checking for iptables-persistent... not installed!
:::    Failed to install net-tools!
:::    Failed to install bsdmainutils!
:::    Failed to install iptables-persistent!

### Have you taken any steps towards solving your issue?

Only sort of work around is to manually apt install whatever packages it fails to automatically install.

Is there any kind of work around to this? The moment it touches items that aren't installed it immediately fails to install them.

Duplicate of: https://github.com/pivpn/pivpn/issues/1204
Closing.


Client Mutual TLS support for ingress controller

Need to support users who want to enable mutual tls in ingress controller, where the client info needs to be specified via annotations- just like standard kubernetes ingress.

Issue moved to istio/istio #1364 via ZenHub


Calculations of mean mIoUs in S3DIS

Hello Antao,
Is the mean mIoUs and OA in S3DIS, the average of all 6-fold validation?
Best regards

Yes


Add simple docker build script

I'm working from different machines across Linux, Windows and macOS. For me it's quite convenient to have the build dependencies in a Dockerfile so that I don't have to deal with platform specific quirks during dependency setup on every individual system.
If you think this might be useful to others, please let me know whether you'd like any changes to be incorporated (file naming for example).

I've forked the docker image that I initially used and updated its base to ubuntu 22.04. I am now able to reproduce the failing build that I saw in https://github.com/solderparty/i2c_puppet/pull/17 so I think it would be good to use my fork instead. This allows us to get the same results locally as we get in workflows.


Parachain node stalled syncing with error StateDatabase("Too many sibling blocks inserted")

Node stalled syncing with this error
2021-12-12 20:42:47.916  WARN tokio-runtime-worker sync: [Parachain] 💔 Error importing block 0xb084174ffe4172f2557cd1ca2757910d1f87445cc1342c29731b4e9abfb36da2: Err(Other(ClientImport("State Database error: Too many sibling blocks inserted")))
StateDatabase("Too many sibling blocks inserted")

This happened on one of the node for our internal parachain testnet. Also received reports for Karura.

Temporary solution is to revert some blocks.

The parachain was having block production issue. Restart some nodes got it back working.
I guess it could be indeed to many sibling blocks due to the block production issue, but it shouldn't prevent syncing old blocks.

I guess it could be indeed too many sibling blocks due to the block production issue, but it shouldn't prevent syncing old blocks.

If the synced block is on the same height, it could be. However, the underlying problem of not pruning of blocks that are "dead" is known and needs to be fixed.

Ok. Is there a tracking issue of the not pruning blocks bug that I can send people to?

https://github.com/paritytech/cumulus/issues/432


MediaPicker doesn't work with new Android 5.1.1 security.

With Android 5.1.1, only the Activity that launches the photo library intent has permission to read the content:// Uri that it returns when a user selects a photo.  Since the MediaPicker component has an internal MediaPickerActivity that actually launches the photo library intent instead of the calling app, only the MediaPickerActivity can read the Uri.  Currently, MediaPickerActivity just forwards the content Uri back to the calling app which results in a security exception on Android 5.1.1.
My proposal is to change the GetPickPhotoUI method to accept options just like the GetTakePhotoUI does.  The user can pass in a Name and Directory where he wants the selected photo to be copied to.  Then when the MediaPickerActivity receives the content Uri, it can read that Uri (since it is the only thing that has permission to do so) and copy it to the user specified file path.  Then that file path is returned back to the calling app Activity.

I have a fix in my media plugin here to run an initial copy on the activityresult:
https://github.com/jamesmontemagno/Xamarin.Plugins/commit/611af3cde5be8c88feacfc55bbdb25a72ec365f7
The issue is a change from here as described: http://stackoverflow.com/questions/30572261/using-data-from-context-providers-or-requesting-google-photos-read-permission

I have finished  a full implementation. I will do a PR for xamarin.mobile.


Docker ARM-version

Many servers and the RaspberryPi run on an ARM-CPU. It'd be nice if you could build a respective docker image. (linux/arm64/v8)

I have composed a working docker file.  If you tell me how you'd like it submitted, I'll open a pull request.

Could you also provide a how-to-guide?
thank you

I have moved this into a pull request. You may find the appropriate Dockerfile there.

Ok, but I have no idea how to run docker.


delete undeleted globals due to cython; fixes #78

Can you fix the merge conflicts?

Nice! This looks great. Thanks for the PR.


Add ignore_introspection to opentelemetry extension

This seems to be a point of frustration for a few folks as the introspection polling causes a very noisy trace log. Going to open this up to start a discussion on if this should be added and what you think the proper way to do it is.
Refs:
https://github.com/async-graphql/async-graphql/issues/841

Added in 13a66a50

Added in 13a66a5013f05a691c5d042850548fde9f941f0a

Thank you!


How setGlobalFromScript works and what it is for

What is your question?
How setGlobalFromScript works and what it is for

Basically, you can set a global variable value from another script. for example, u have a global variable named speed in script 1, u can then set the value of that variable in script 2 or any other scripts

Thanks


error

hey @nailshakurov, can u share the full traceback?
Are u sure authentication works with basic auth? or do you have other requirements for the jira server?

hey @nailshakurov, can u share the full traceback?
Are u sure authentication works with auth provided? or do you have other requirements for the jira server like oauth or something else? You can also try to use basic_auth instead of auth in line 22 of the script.

Thanks for the answer, it worked like that. Thanks for the script. Good luck!

cool thx for feedback, added a link to auth modes in the user config section

ah it seems with jira 3.0.1 this is a required thing so i'm going to change the default for everyone, see also https://github.com/pycontribs/jira/issues/1035


Moved react to peerDependencies, and reactify to devDependencies

React I believe should be a peerDependencies item since I believe this qualifies as a plugin component. This will help reduce this chance of duplicates in the bundle. Also, I believe reactify is only for dev.

Thanks for the help! I'm kinda new to all the browserify/bower/npm stuff, so I really appreciate that you're taking the time to help out! Things are starting to make sense now ;-)

Sweet, very glad to help out.


Non-sequential update

Hi,
So we have two clusters under one CHI, and it seems whenever we apply changes, the operator will update (reconcile) the host one by one, sequentially. This takes a long time when we just want to update one of cluster (maybe the second cluster) because it needs to scan through all the pods in the first cluster.
Is there a way to skip the first cluster during the update if it's not changed, or is there other way, like parallellize the update, to speed up the whole reconciliation process? We are OK with >1 pods interrupted budget.
Thanks

Not addressing the "NOOP when there aren't changes" part of your question,

or is there other way, like parallellize the update, to speed up the whole reconciliation process

Is exactly what I was pitching in #1109 (now closed, and now on 0.21.1 (thanks to the maintainers!)

@zcross awesome, thank you! is there gonna be some flag to control that concurrency or is it gonna be automatic?

The new behavior is opt-in and done via configuration:
https://github.com/Altinity/clickhouse-operator/blob/dcd13781246dba98ad2273f1d08c631fdcccabce/pkg/apis/clickhouse.altinity.com/v1/type_config_chop.go#L260
Note that there is knob for how many goroutines may be used (how much capacity for parallelism there is) and another for what percentage of shards must be kept up/untouched at all times (defining the maximal level of parallelism applied regardless of capacity).
BTW, if you use this on any medium to large installations, you'll likely run into the default k8s client burst and QPS limits, in the form of some client side throttling that undermines the speed gains of the concurrent reconcile. In the PRs I proposed for #1109, I solved for that by allowing users to override these limits by setting the following env vars on the container running their CH operator:
OPERATOR_K8S_CLIENT_QPS_LIMIT
OPERATOR_K8S_CLIENT_BURST_LIMIT

Hi @zcross , I have performed tests on the modified functionality in 0.21.1.
When deploying the operator, I used the following command:
kubectl apply -f https://raw.githubusercontent.com/Altinity/clickhouse-operator/release-0.21.1/deploy/operator/clickhouse-operator-install-bundle.yaml

Scenario 1 (separate ClickHouseInstallation for each cluster):
apiVersion: "clickhouse.altinity.com/v1"
kind: "ClickHouseInstallation"
metadata:
  name: "alpha"
spec:
  defaults:
    templates:
      podTemplate: pod-template
  configuration:
    clusters:
      - name: "alpha"
        layout:
          shardsCount: 2
          replicasCount: 2
  templates:
    podTemplates:
      - name: pod-template
        spec:
          containers:
            - name: clickhouse
              image: clickhouse/clickhouse-server:22.3-alpine
---
apiVersion: "clickhouse.altinity.com/v1"
kind: "ClickHouseInstallation"
metadata:
  name: "beta"
spec:
  defaults:
    templates:
      podTemplate: pod-template
  configuration:
    clusters:
      - name: "beta"
        layout:
          shardsCount: 2
          replicasCount: 2
  templates:
    podTemplates:
      - name: pod-template
        spec:
          containers:
            - name: clickhouse
              image: clickhouse/clickhouse-server:22.3-alpine
---
apiVersion: "clickhouse.altinity.com/v1"
kind: "ClickHouseInstallation"
metadata:
  name: "gamma"
spec:
  defaults:
    templates:
      podTemplate: pod-template
  configuration:
    clusters:
      - name: "gamma"
        layout:
          shardsCount: 2
          replicasCount: 2
  templates:
    podTemplates:
      - name: pod-template
        spec:
          containers:
            - name: clickhouse
              image: clickhouse/clickhouse-server:22.3-alpine
---
apiVersion: "clickhouse.altinity.com/v1"
kind: "ClickHouseInstallation"
metadata:
  name: "delta"
spec:
  defaults:
    templates:
      podTemplate: pod-template
  configuration:
    clusters:
      - name: "delta"
        layout:
          shardsCount: 2
          replicasCount: 2
  templates:
    podTemplates:
      - name: pod-template
        spec:
          containers:
            - name: clickhouse
              image: clickhouse/clickhouse-server:22.3-alpine

Scenario 2 (one ClickHouseInstallation with multiple clusters):
apiVersion: "clickhouse.altinity.com/v1"
kind: "ClickHouseInstallation"
metadata:
  name: "main"
spec:
  defaults:
    templates:
      podTemplate: pod-template
  configuration:
    clusters:
      - name: "alpha"
        layout:
          shardsCount: 2
          replicasCount: 2
      - name: "beta"
        layout:
          shardsCount: 2
          replicasCount: 2
      - name: "gamma"
        layout:
          shardsCount: 2
          replicasCount: 2
      - name: "delta"
        layout:
          shardsCount: 2
          replicasCount: 2
  templates:
    podTemplates:
      - name: pod-template
        spec:
          containers:
            - name: clickhouse
              image: clickhouse/clickhouse-server:22.3-alpine

Reconcile settings:
    ################################################
    ##
    ## Reconcile Section
    ##
    ################################################
    reconcile:
      runtime:
        # Max number of concurrent reconciles in progress
        threadsNumber: 100
        shardsThreadNumber: 20
        shardsMaxConcurrencyPercent: 100

In both scenarios, regardless of the configuration, the operator only performs reconcile for one pod of one ClickHouse cluster at a time.
What am I doing wrong?
I would like to mention that the operator in version 0.21.0 does not have this issue; it is able to reconcile four clusters in parallel. However, it does not parallelize this at the shard level.
PS.
I also tried setting:
OPERATOR_K8S_CLIENT_QPS_LIMIT
OPERATOR_K8S_CLIENT_BURST_LIMIT

without any positive result.

Hi @blafry ,
You're not actually doing anything wrong!
          shardsCount: 2
          replicasCount: 2

You're not seeing the benefits of parallelism because of a design decision I made when implementing the concurrent reconciliation option: to always ensure that the first shard of a cluster is reconciled (including all of its replicas) before beginning the parallel fan-out (within the cluster). So, if you use shardsCount greater than two, you'll start to see some benefit. I recognize that this doesn't help out people who are using two-shard clusters!
BTW, regarding the clusters, my change didn't add parallellism at the cluster level. You can still have the operator reconciling multiple installations via the long-standing threadsNumber config option, but clusters are still done sequentially within installations. In other words, I only added parallelism around the iteration of a given cluster's shards.


Failed to install Calibre (404)

I ran scoop install calibre and got this:
PS C:\WINDOWS\system32\WindowsPowerShell\v1.0> scoop install calibre
Installing 'calibre' (3.45.0) [64bit]
The remote server returned an error: (404) Not Found.
URL https://www.fosshub.com/Calibre.html/calibre-portable-installer-3.45.0.exe is not valid

Thanks in advance for the help 🙂.

Please run scoop update again, calibre update to 3.45.1...

@niheaven Thanks, that solved it. 🙂


Always in foreground and unresponsive after changing monitor configuration

My Setup

Operating System: Windows 10
App Version: 3.1.1
Installation type: exe

[x] I have tested with the latest version
[x] I can simulate the issue easily

Description
If I turn my monitor off and on again, the RocketChat window is always in the foreground and unresponsive, even if it was running in the tray before. The same happens if I change the monitor configuration, for example via Win+p.
Current Behavior
The window is in the foreground and unresponsive.
Expected Behavior
It should stay in the tray.

I experience the same behaviour after unlocking windows, or re-log on after user switch.
Closing the window and reopen it from tray makes it working again.
Windows 10, App version 3.0.6


Allow external NuGet packages to be used within WebSharper templates

Currently, it seems that only the base W# NuGet package can be included in W# templates, which means that external ones can't be used.
It would be better to allow external packages to be used too, perhaps by adding them into a packages.config so that they can be retrieved by package restore.
Required by #272.
(I'll do this, but can't assign myself)

Bitbucket: https://bitbucket.org/intellifactory/websharper/issue/273
Originally reported by: Simon Fowler
Originally created at: 2014-08-21T13:30:17.654

This was implemented when creating the Owin template.


Issue 473: Generic Http callback for failed jobs in Chronos

Seems like a good idea.
Can you please describe how it's been tested? The addition of unit tests would be appreciated as well.

Hi @brndnmtthws
I've manually tested this by setting up a small REST endpoint listening to a generic POST request. The endpoint received failure notifications from chronos with all the details.
I could not find any unit-tests for existing notification clients defined in https://github.com/mesos/chronos/tree/master/src/main/scala/org/apache/mesos/chronos/notification like SlackClient, RavenClient etc.
Would you suggest some approach on how to add unit-tests for notification clients?

Hi @brndnmtthws  / all,
Can one of you kindly accept this pull request, considering the use case is genuine (used by my team right now) and generic. Further, the code (libraries etc.) is in line with other notification clients.
Thanks and regards,

Thanks for the patch.

Thanks for merging, this feature is quite useful to us.


How to explicitly turn off identity

Upon generating my initial migration, all of my HasKey(...) properties will generate a primary key and assume SqlServerValueGenerationStrategy.IdentityColumn. I have not found a way to create a primary key without the column being set as an Identity Column.
Putting it very simply. I want to create a Primary Key column that does not have identity set.

See https://docs.microsoft.com/en-us/ef/core/modeling/generated-properties:
modelBuilder.Entity<Blog>()
    .Property(b => b.BlogId)
    .ValueGeneratedNever();

Thank you so much, I really did search and search - I couldn't find anything regarding identity generation options. That's the last place I would have looked.
I got squirrled looking at the generated code from the migration:
TableId = table.Column<int>(nullable: false)
    .Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),

Just curious though, wouldn't an option like that be better suited sitting under HasKey?
This makes more sense in my opinion:
b.HasKey(x => x.TableId)
    .HasName("PK_dbo.Table_TableId")
    .HasIdentity();  //Just indicates the usual default of IDENTITY(1,1) - include overloads for other options

Where HasIdentity() could also just simply be turned off?
I just feel like it would be wise to keep how Fluent API works as close to SQL Server or any other database really.
TableId NOT NULL IDENTITY(1,1) <-- this is easy to do and it's in one place.

@dyslexicanaboko Identity is associated with the property/column, not the key. A key may have one Identity property/column together with other non-Identity properties/columns.


How to pass custom Header

In my project i need to use dynamic header as sometime i need 'content-type:'application/json'' and some time i need 'content-type:'multipart/formdata''. this interceptor only using the first one and it is not dynamic. if anybody can help it would be much appreciated

In my project i need to use dynamic header as sometime i need 'content-type:'application/json'' and some time i need 'content-type:'multipart/formdata''. this interceptor only using the first one and it is not dynamic. if anybody can help it would be much appreciated

Thanks @am-abdullah  I'll look at this issue and try to resolve it ASAP.


Update to Go v1.22

ref: https://issues.redhat.com/browse/ACM-14251

This will be handled with the Gatekeeper version update.


Included program causes fixedpoint time to slowly climb rendering eve unresponsive (query without tag at fault?)

So I was trying to port an asteroids-like game from a Haskell example to get to grips with Eve (and help test it). I'm abandoning it for now due to this issue. Therefore please excuse that this bug probably isn't quite the minimum possible steps to reproduce but rather a before and after. See the two commits in this gist for the change: https://gist.github.com/frankier/bb00f2c4cd3d3435b84c0cf5bfd2be2a/revisions
Before:
Eve leaks about 4MB/sec but fixedpoint time is fairly stable
After:
Eve still leaks about the same but fixedpoint time climbs rapidly
Before the change typical console output:
fixedpoint in 0.001462 seconds, 21 blocks, [ 2 2 ] iterations, 30 changes to global, 30 maintains, 0.000687 seconds handler
A couple of minutes later it's climbed to:
fixedpoint in 0.045364 seconds, 21 blocks, [ 2 2 ] iterations, 30 changes to global, 35 maintains, 0.001162 seconds handler
and eve is unresponsive.

Frankier,
Can you confirm if this is still happening in 0.2?

Frankier, I'm going to go ahead and close this, because I don't think this should be happening with the new runtime.


Allow User creation after token validation.

Hi ! I've successfully set up a Django project that validates JWTs from AWS Cognito using the JWK_URL setting.
I ran into a problem though, which is the fact that users making requests to my API don't necessarily have a corresponding record in the local User table, so JWTAuthentication.get_user runs into problems. I would like to have the chance to create these users.
I ended up subclassing JWTAuthentication and made it work by overriding the get_user method.
I think this could be a good improvement to the library, and is probably a common requirement from users in positions like mine (using external auth).
With a bit of guidance as to how exactly this could/should be implemented, I'd be glad to work on a small PR.

Hi @cristobalmackenzie Good to hear! What you can do is create an import string that allows users to specify how to get the user. An example is the authentication rule callable. Then, in get_user itself, you can check the api settings to see if a callable was set. If it was, pass the data (from the validation) to the callable and return the result. If a callable was not set, you can run the code that is currently there. If that's confusing, create a PR of what you think we should we and we can discuss further :)

Hi @cristobalmackenzie I'm running into this as I want to use auth0, and was curious how you went about solving this in the end.
Cheers.

I solved this by overriding get_user in a subclass of django_rest_framework_simplejwt.authentication.JWTAuthentication. My get_user validates application-specific claims, resolves any conflict with existing users on user identifiers, and creates users if necessary. Our custom user model captures the iss and sub claims as a unique identifier tuple for the user.
Some gotchas you might encounter:

email claim: Django normalizes email addresses via get_user_model().objects.normalize_email(). Domains are case insensitive and local portion is case sensitive (shouldn't matter but in some situations it might).
iss and sub are case sensitive claims. If you are saving these fields in your database to query against later, make sure those fields are using a case-sensitive collation.

@cristobalmackenzie, @dcopso . I've been trying setup AWS Cognito using JWK_URL, but not working, can you give me a example, please, how you did this setup.
My settings.py
SIMPLE_JWT = {
    "JWK_URL": "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_XXXXXXX/.well-known/jwks.json",
    "ALGORITHM": "RS256",
    "AUDIENCE": "<my cognito app client>",
    "ISSUER": "https://cognito-idp.us-east-1.amazonaws.com/us-east-1_XXXXXXX",
}

Tks in advance, :)


using darcula as base for dark theme

does not result in apparent changes, but helps plugins having ui changes depending on if a dark theme is used or not (such as rainbow brackets).

Neat! Where did you see this in the documentation? I can't find any reference to it.

Where did you see this in the documentation?

Me neither. I found it when debugging why the "rainbow brackets" plugin goes automatically with unfitting colors for the brackets when using solarized dark. Then comparing what we have here, versus what e.g. the matieral theme has. Some good old "digging through code" 🙈


Incorrect location for Access Keys in instructions

[Enter feedback here]
In the Portal instructions it says, "Under Settings, select Access keys." Instead, it should say, "Under Security + networking, select Access keys."

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

ID: 3463d1c7-f458-738a-2317-b756a1be7de0
Version Independent ID: 40f9e40a-0f2f-f510-7ee4-39e55158c99e
Content: Manage account access keys - Azure Storage
Content Source: articles/storage/common/storage-account-keys-manage.md
Service: storage
GitHub Login: @tamram
Microsoft Alias: tamram

@littlerufe Thank you for your feedback! We will review and update as appropriate.

@littlerufe Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused. Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

@littlerufe - Thanks for your feedback. This appears to have been updated.
#please-close


Bruno/gherkin/ident c210 sign in with email from connect

Manditory Checks

[ ] I added new tests for the issue I fixed or the feature I built
[ ] I ran npm test for the package I'm modifying
[ ] I used npm run commit instead of git commit

 UAT7 Sign in with email from Connect


Add force option to overwrite view

Add force option to overwrite file if file already exists.

Thanks! :smile:


Clad improvements

Two changes:

When sending a note with the clad monad, you may include a path which gets appended on the wire.  This is used exclusively for documentation purposes, to counteract the negative effects of continuation-based programming on inspectability by |verb.
I extracted the essential character of the clad monad's evaluator into a pure function in +clad.  Now, +take:eval:clad deals with the specifics of the monad (eg accumulating effects, implementing the %cont handling that ensures the associativity of +bind, etc).  Thus, +take-commit and +take-merge only have to deal with the imperative parts (fetching the transaction from our global state and writing it back) and the results when the transaction finishes.

Additional generalizations that I expect to happen at some point:

Generalize +clad to be completely non-specific to Clay, and move it into zuse.  I think all that's necessary is parameterizing the move, sign, note, and input types.

Make a core that manages all running transactions within one opaque piece of state, so you don't have to duplicate +take-merge and +take-commit.

These will happen as soon as I have a good reason to do them, because I don't believe in generalizing without an external reason to do so.
Note: this is targeted against #1169 because I didn't want to push new features directly to #1169 because it's already been reviewed.  I also don't want to interfere with #1169 hitting master -- that shouldn't be blocked on this PR.

The code itself looks good, though, so I'll approve this once I understand the move flopping.

The flopping outside of +clad happens twice: once in +emil, again in +abet. It looks like the +clad interpreter is just emitting moves in the order it expects them to be run.

Yes, the interpreter produces a list of moves in "natural order".  A list of moves is in natural order if we expect the head of the list to be the first move evaluated.
It's common in cores to internally keep moves in reverse order and flop it at the end because that makes it easier to add a single event to the end of the list.  If you're doing that, you should be very careful and should perhaps document it.  But if we see something accept or produce a list of moves, we assume that it's in natural order.
If you're storing moves in natural order (uncommon in cores), then +emit (which should add a move to be evaluated after all the previously-emitted moves) is =.  moves  (flop [new-move (flop moves)]).  But +emil (which should emit a list of moves in natural order after previous moves) is simple: =.  moves  (weld moves new-moves).
If you're storing moves in reverse order, as in +de, then +emit is very simple: =.  reverse-moves   [new-move reverse-moves].  +emil is slightly more complex, and I think there's a couple places where we get this wrong: =.  reverse-moves  (weld (flop new-moves) reverse-moves).
In both cases, you could define +emil in terms of +emit:
|-  ^-  +>.^$
?~  moves
  +>.^$
=.  +>.^$  (emit i.new-moves)
$(moves t.moves)

We usually store moves in reverse order, but this should be entirely abstracted away by +emit and +emil.  Unless you're writing those functions themselves, any time you see a list of moves, you should expect it to be in natural order.

Note: this is targeted against #1169 because I didn't want to push new features directly to #1169 because it's already been reviewed. I also don't want to interfere with #1169 hitting master -- that shouldn't be blocked on this PR.

Feel free to merge this one into #1169, given the fellas' reviews -- I can merge the whole clay & clad goodness into master tomorrow.  Or since you know I plan on doing it anyway, you can. 😄

Will do so once @belisarius222 is satisfied with the move order.


The inactive state of mediated deposit workflow supersedes the visibility settings for the object

 Issue by blancoj
Wednesday Sep 21, 2016 at 17:25 GMT
Originally opened as https://github.com/projecthydra/sufia/issues/2728

When mediated deposit is enabled, and a work is in inactive state because it is in the mediated deposit workflow and has not yet been approved, but the work has been marked as visible to other user(s), the work should not be visible by those user(s) and those user(s) should not yet receive a notification that the work is available.

 Comment by mjgiarlo
Friday Oct 28, 2016 at 22:18 GMT

@vantuyls and I believe this is a better ticket for CC, since this is not mediated deposit-centric. @jcoyne confirm/deny?

 Comment by mjgiarlo
Friday Nov 04, 2016 at 21:57 GMT

@vantuyls Should we defer this to Phase 2, operating under the assumption that Phase 1 is for 0-step?

 Comment by mjgiarlo
Monday Dec 05, 2016 at 17:42 GMT

@vantuyls how much do we really care about this one? I'm moving it to phase 2 for now, but it'd be good to see if this is still relevant and highly desired. (I wonder if this can collapse into the "editing an object sends it back through workflow" story?)

 Comment by vantuyls
Monday Dec 05, 2016 at 18:19 GMT

If we're sure that the object will remain hidden from view when it is in the workflow, then OK. Otherwise, this needs to be an issue we address explicitly.

 Comment by mjgiarlo
Monday Dec 05, 2016 at 18:32 GMT

If user A shares an in-workflow work with user B, the work will be hidden from B in search results and the show view assuming B lacks permission to advance the work from its current workflow state. I'm not sure if it's also hidden from B's dashboard. This would be worth testing/QAing. Might you have cycles for this, @vantuyls?

@vantuyls Can you find a few minutes to test/QA this to see if it's a problem or not?

pinging @scholarworks because i think he'd been seeing bad behavior on this a week or so ago.

@vantuyls @scholarworks what's the status of this ticket?

@jcoyne going to test/qa this today.

Here's what I did:

New test app
Create 3 users:
-- Admin
-- Depositor
-- generic (no roles)
-- create default admin set and assign one-step-mediated deposit workflow
-- Depositor submits and item and it lands in workflow
-- Depositor can no longer edit the item
-- Admin logs in and shares (but does not approve) the item with the no role user
-- login as no role user, the item isn't viewable or findable.
-- log back in as admin and approve
-- item is now discoverable.

@vantuyls  I believe this ticket can be closed. If I missed a use case, please let me know.

@scholarworks thanks! Looks like we're all set.


Prepare Base Model

[x] Update Config.yaml
[x] research or analysis
[x] Update Entitity
[x] Update Configuration Manager in src Config
[x] Update Component
[x] Update the Pipeline

issue in some packages installment but solved and commited


Some modifications of mine

I had to do those modifications to adapte the component in my project.
I put them here, if it usefull.
Note : i force the always-float-label in the composant (due to design in my project)

I'll take a look at the pull request. On a cursory examination I did note you changed the event delimiter/name spacing from dot to slash. I'm going to keep the default as dot but enable modification to this declaratively using a public property because of this issue
https://github.com/ellipticaljs/paper-autocomplete/issues/9#issuecomment-226946152
although I think I go with event-delimiter as the prop name.

This pull request is not a very "request", it was the simpiest way for me to show differences i made in the project.
I had to change the event naming because of :
listeners: {
'myinput.autocomplete.change':'_myInputChange'
}
Event goes wrong...because of the dot.

"Take a look at the pull request" simply means I'll look it over as a candidate for merging with this repo. Your pull request doesn't fix a current bug. It looks like it adds additional functionality. I will have to test that. If I do merge, I will back out the hard-coded "slash" in the events, instead going with a configurable public property that can be declaratively set in a tag attribute.

Manually merged floating label behavior by default.


Backport 2.1: Fix unsafe bounds check in ssl_load_session()

Summary: This is the backport to Mbed TLS 2.1 of #2131 fixing #659.
Internal Reference: IOTSSL-1046.

@AndrzejKurek I was waiting for approval for the main PR before adapting the backports - sorry for not mentioning that. Please re-review.

The only CI failure is about the missing doxygen script, which is a know issue that has been fixed in the mean time, so it's as good as a pass.


ISPN-15984 OutdatedTopologyException is not properly marshalled

https://issues.redhat.com/browse/ISPN-15984

Thanks, @pruivo!


How To Use Blazor With MVC

From @Sheko007 on July 9, 2018 2:14
Feature request?:
Description of the problem:
Can't Use Blazor With MVC
Microsoft.AspNetCore.App
Copied from original issue: aspnet/Mvc#8033

@Sheko007, what are the issues you're facing? What version of ASP.NET Core are you trying to use it with?
/cc @danroth27, @rynowak

@Sheko007 Blazor is a client-side framework similar to existing JS frameworks like React or Angular. You can use Blazor with any backend framework that you'd like, including ASP.NET Core. To create an Blazor app with an ASP.NET Core backend you can use the Blazor (hosted) template.


Refactoring suggestion: making GDScript an own library

Another wild suggestion: It seems like some people are reluctant to use GDScript for the reason that they can't reuse it elsewhere.
So why not make it its own library so they actually can reuse it in their own engines or games? They'd even have game specific functionality, like built in vector types.
I guess that'd require

[ ] moving/generalizing too Godot-specific features
[ ] packaging it
[ ] ???
[ ] profit

As mentioned in the particle issue, I'm not even using Godot atm, so, yeah, I'm quite the Idea Guy™ here, sorry.

I remember some months ago @reduz proposed doing this. The conclusion was that doing so is kind of pointless since we already have Python. GDScript seems easier to bind though.

@sauer2 ~ Note that both of your issues fall to different extend under the first and last points of the "Great idea" question in the FAQ

@neikeq That was a pretty bad conclusion that time, to be honest. Because Python

is only remotely similar to GDScript,
is hard to sandbox (aka "comes with batteries included"),
you can only have one instance (Referring to CPython, but as far as I know, TinyPy is completely outdated and unmaintained, jia-mini-python is some obscure thing aimed at ObjectiveC mobile apps and MicroPython aims at embedded boards and its API is a mess, so there is no such thing as mpython, compared to mruby.) and
the CPython developers don't seem to care for startup times and raw single threaded performance in general

@bojidar-bg That's ok. That said, the first point on this list is somewhat broadly vague and could even cover bug fixes.

@neikeq I'd close this. If in the future somebody steps up who sees value in doing this and wants to do it, it can be reopened. As it is, there was no discussion for ~1.5 years.

Yeah, I don't see any added value in doing this, just a lot of work.


Add a first-class debugger to EVM

This patch begins to add a first-class debugger to the EVM. As we are starting to run real transactions from the blockchain, it's becoming more and more important that we can walk through the execution of these contracts to understand the effects as they are run. I expect this debugger to grow into a full first-class debugger (imagine being able to change code inline as you debug it, move the PC, set more interesting breakpoints, etc). This debugger is currently working and lets you set and walk through breakpoints on live code.

This could use a bit of user interface improvements, but it should be good to use now. It's pretty easy to create a breakpoint and use now:
EVM.Debugger.enable()
    EVM.Debugger.break_on(address: <<188, 31, 252, 22, 32, 218, 20, 104, 98, 74, 89, 108, 184, 65, 211, 94, 107, 47, 31, 182>>)

and here's what it looks like in the REPL.
Breakpoint #1 triggered

What would you like to do? (h) for help.
>> h
next (n) - Run this operation and break on next operation.
continue (c) - Stop debugging and continue operation of program.
information (i) - Show detailed environment information.
stack (s) - Show current program stack.
pc (p) - Show current program pc.
help (h) - Show this help screen.
>> p
pc: 0
>> pc
pc: 0
>> s
[]
>> stack
[]
>> next
>> pc
pc: 3
>> stack
[4]
>> c

12:57:44.261 [debug] Executing (and ignoring) unimplemented operation: codecopy

12:57:44.263 [debug] Executing (and ignoring) unimplemented operation: codecopy

Closing in lieu of #3 since this is against the wrong base branch


SmothCamWorld.points to ArrayList

Just tested it and it looks good, thanks a lot for your contribution!


Bump version to v0.1.1

Pull Request Test Coverage Report for Build 29

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 77.075%

Totals

Change from base Build 25:
0.0%

Covered Lines:
195

Relevant Lines:
253

💛  - Coveralls

looks fine. The only thing I would add is that iex fix is not exactly a fix but more of a change and one that perhaps the developer would not expect to happen in config.exs

@stephenmoloney yeah, test should have its own config ideally, but it does no harm them being the same.

@stephenmoloney are you able to Approve the PR?

@IanVaughan, just saw this today - I'm not able to approve.


shortcut-append.jpeg & "Error: The data couldn't be read because it isn't in the correct format."

Hello!
Apologies if this is a very simple question.
On the shortcut-append.jpeg, how do you configure the Shortcut Input for the first "if" statement? When I create a new ios shortcut and use Shortcut Input as an input, it requires me to receive an input from a certain location. I can't find a method to connect Scriptable outputs as an input to the ios shortcut.

I haven't configured the shortcut-append, shortcut-delete and shortcut-refresh shortcuts yet, but after completing all the steps prior to that, I'm getting this error on my widget:

Any help with these two issues will be really appreciated!
Thank you for the script!!

Looks like Shortcuts has changes in recent iOS version. This is what I have for mine right now:

Looks like it just changed to 'everything'.

As for the other part, the issue would be that you'd need to have the server component running somewhere – to which my instance is likely not running any more (I stopped using notion a while back).
There is this PR (https://github.com/kevinjalbert/notion-toolbox/pull/37), that I haven't fully vetted, but it would be leveraging the official API (as there wasn't an official one when I built this). That would be your best bet moving forward! Good luck and let me know if that PR worked out for you.

Closing this issue out, but do let me know if that PR's branch works out, and I'll just merge it in and make it the official way forward with this repo.

Thanks for the info! PR #37 works as a general widget and the new task function also works fine. However, the refresh functionality and the ability to mark tasks as completed aren't. Been trying to debug it but haven't found a solution yet.


Plugins Options: filename is undefined

Do you want to request a feature or report a bug?
Bug.
This is due to the wrong property name being used in _utils.js on line 550. Instead of fileInfo.filename, it should be fileInfo.sourceFileName.
What is the current behavior?
The filename property is undefined when passed to plugins. This was noticed while using styled-jsx-plugin-postcss.
If the current behavior is a bug, please provide the steps to reproduce and possibly a minimal demo or testcase in the form of a Next.js app, CodeSandbox URL or similar
Inspect the options object passed to plugins. The result is always:
{
  babel: {
    ...
    filename: undefined
    ...
  }
}

What is the expected behavior?
The filename property should be defined.
Environment (include versions)

OS: macOS 10.12.6
Browser: N/A
styled-jsx (version): 3.1.0

Did this work in previous versions?
N/A

PR #510 opened to fix this issue.


Cannot destructure from super

TypeScript Version:  master's HEAD
Code
class K {
  m() { }
}
class C extends K {
  m2() {
    let { m: f } = super; // error
    let { m } = this; // ok
  }
}

Expected behavior: No error when destructuring from super.
Actual behavior: Error: 'super' must be followed by an argument list or member access.

Never mind, this is a limitation imposed by the ecmascript spec. It's external.


MSID: 95599 Version: 1 DOI: 10.1101/2<IP_ADDRESS>1868

MSID: 95599
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>1868
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=95599
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>1868

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/95599v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>1868
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/95599/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

duplicate content in reference, otherwise fine to QC

Thanks @rkcook312! I've uploaded a  corrected package. Should be up in the next few hours


removed all good2go s

Codecov Report

Merging #528 into master will decrease coverage by 0.10%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #528      +/-   ##
==========================================
- Coverage   89.60%   89.50%   -0.11%
==========================================
  Files          22       22
  Lines        1722     1715       -7
==========================================
- Hits         1543     1535       -8
- Misses        179      180       +1

Flag
Coverage Δ

#unittests
89.50% <100.00%> (-0.11%)
:arrow_down:

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

Impacted Files
Coverage Δ

lineage/tHMM.py
87.36% <ø> (ø)

lineage/tests/test_BaumWelch.py
100.00% <100.00%> (ø)

lineage/tests/test_tHMM.py
100.00% <100.00%> (ø)

lineage/LineageTree.py
90.10% <0.00%> (-1.10%)
: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 d082baa...7d9e4e9. Read the comment docs.


About UDP block

Hello,
I got some problems when i use UDP blocks you provided .
Problems

Is there any examples to show how to use this block?

The package format of mine is different from yours, does it means that i can not use this block? If it does,what can i do to fix it  and how?

If i just want to capture UDP package as source,how can i make it?

Looking forward to your reply!
Lee

Is there any examples to show how to use this block?

You can find an example of how udp_capture can be used in a pipeline here:
https://github.com/epic-astronomy/EPIC/blob/master/LWA/LWA_bifrost.py
The FEngineCaptureOp class is the one that calls/wraps udp_capture.

The package format of mine is different from yours, does it means that i can not use this block? If it does,what can i do to fix it and how?

Currently the only packet format supported in the main bifrost repo is the CHIPS format.  You could either modify what is current there or you could look at my fork here:
https://github.com/jaycedowell/bifrost/tree/disk-readers
which provides an abstraction layer for adding in different packet formats.

If i just want to capture UDP package as source,how can i make it?

I'm not sure I understand the question.

Ok ,thank you for your reply .And i have browsed the examples you given. It helps me a lot.
The last questions i mentioned means i just want to capture UDP package with UdpCapture block .
But after i knew the message you provided , i think i could not use this block directly ,some changes should be done. And my questions have been solved ,i will close this issue.
Sincerely thank you  @jaycedowell  again.


[bug] Installation error, cannot find @storybook/expect@storybook-jest.

Describe the bug
Installing throws error, npm ERR! notarget No matching version found for @storybook/expect@storybook-jest.
To Reproduce
npm i @storybook/jest throws the error above. I am not sure why in the package.json the dependency is written this way:
"dependencies": {
"@storybook/expect": "storybook-jest",
I do not see a version named storybook-jest in the @storybook/expect repo.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
System
<EMAIL_ADDRESS>Additional context
Add any other context about the problem here.

Okay I see that, confusing. Why use the tag rather than just specify the version? Installing it still isn't working for me.
@Storybook/test does though, I will try and use that first. Thanks!

Hey everyone! In Storybook 8, this package functionality has been integrated to a new package called @storybook/test, which uses Vitest APIs for an improved experience. This issue should be solved or maybe it's not applicable anymore.
When upgrading to Storybook 8 with npx storybook@latest upgrade, you will get prompted and will get an automigration for the new package. Please migrate when you can! Thanks a lot <3


Add logging for each controller method

make the logging have a provider to send to third-party provider (same setup as the controller actions)

controllers have loggers setup.  but example of overrides are needed


Spotfire 12.4.0 is not available anymore

Need a workaround to pass the version when building.
Actual version is 12.5.0

I saw versions.mk file listing Spotfire versions. Will try modify and run again.

Release 1.5.0  supports the following application versions. I recommend using this release of the CDK over modifying version.mk for an older CDK release.

TIBCO Spotfire Server 12.5.0
TIBCO Spotfire Web Player 12.5.0
TIBCO Spotfire Automation Services 12.5.0
TIBCO Enterprise Runtime for R - Server Edition 1.16.0
TIBCO Spotfire Service for Python 1.16.0
TIBCO Spotfire Service for R 1.16.0

@rodrigoeiras Thanks for filing the report. I will be closing this issue now.


Message texts shouldn't have transparency in their default color

Change the color of the text in TextMessage.scss to fit the current color and set opacity to 1.0.

This was fixed.


[Docs] Kubernetes Platform Documentation | Tanzu Community Edition Rethinking the "Getting Started" Section

Description
Currently the "Getting Started" section refers to two primary topics - "Managed Clusters" and "Standalone Clusters". Each of these sections include documentation for a few tasks such as installing TCE (through a couple of different methods), creating a cluster on any of the four IaaSes, installing a Tanzu Package.
This ends up making the Getting Started guides quite long. The purpose I think of Getting Started guides is to take an opinionated approach to quickly getting the user up and running. There's also duplication of certain sections across "Getting Started" and "Installation" sections such as "Installing TCE"
Proposal
My proposal is to slightly refactor this section to instead reflect certain tasks that the user might need to do.

Create a managed cluster
Create a unmanaged cluster
Install a Tanzu Package

We can also reference the "installing TCE" step as part of 1 & 2 here to the existing page in the "Installation guide" for it.
This will also create room for new getting started guides such as "Create a workload" that will become available over the next few months.
Happy to collaborate on this!

@kartiklunkad26 one item of note, the standalone getting started guide is going away in favor of unamange-cluster:
https://github.com/vmware-tanzu/community-edition/pull/2820
@kcoriordan can you consider this change and the feedback above. Let us know how you'd like to proceed!

thanks @kartiklunkad26 - some great suggestions here. I plan to action these in conjunction with other restructure after v0.10.0 is releases

Hey @kcoriordan hope we can work on this now! Happy to pair.

@kartiklunkad26 thanks - once versioning is gone through on #882 - I'll work on this


[SPARK-21896][SQL] Fix StackOverflow caused by window functions inside aggregate functions

What changes were proposed in this pull request?
This PR explicitly prohibits window functions inside aggregates. Currently, this will cause StackOverflow during analysis. See PR #19193 for previous discussion.
How was this patch tested?
This PR comes with a dedicated unit test.

Test build #91363 has started for PR 21473 at commit 646a96d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/3741/
Test PASSed.

Test build #91363 has finished for PR 21473 at commit 646a96d.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/91363/
Test FAILed.

Test build #91419 has started for PR 21473 at commit 185aba1.

Test build #91419 has started for PR 21473 at commit 185aba1.

Test build #91420 has started for PR 21473 at commit d06f282.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/3780/
Test PASSed.

Test build #91419 has finished for PR 21473 at commit 185aba1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/91419/
Test PASSed.

Test build #91420 has finished for PR 21473 at commit d06f282.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/91420/
Test PASSed.

thanks, merging to master!

Hello!
Is there anyway this can be backported in 2.3?


default advisories with list mode

When preparing releases, sometimes we have new nightlies, when new bugs/builds need to be attached to advisories. In this case we don't want to use sweep, but still be able to provide a list of bugs to be attached. For that we have list mode.
In sweep mode we have filtering to determine which bugs go where (rpm component, extras components), which is not present in list. This change brings that to list mode
elliott -g openshift-4.8 find-bugs --mode list --id 1981871,1970975,1981633,1982250,1982252,1980788,1981871 --into-default-advisories --dry-run

Codecov Report

Merging #216 (d752b1f) into master (73ddc52) will increase coverage by 30.41%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           master     #216       +/-   ##
===========================================
+ Coverage        0   30.41%   +30.41%
===========================================
  Files           0       48       +48
  Lines           0     4521     +4521
  Branches        0      968      +968
===========================================
+ Hits            0     1375     +1375
- Misses          0     3066     +3066
- Partials        0       80       +80

Impacted Files
Coverage Δ

elliottlib/cli/find_bugs_cli.py
24.50% <0.00%> (ø)

elliottlib/cli/advisory_impetus_cli.py
0.00% <0.00%> (ø)

elliottlib/cli/advisory_images_cli.py
0.00% <0.00%> (ø)

elliottlib/cli/validate_rhsa.py
0.00% <0.00%> (ø)

elliottlib/cli/find_builds_cli.py
24.07% <0.00%> (ø)

elliottlib/rpmcfg.py
60.00% <0.00%> (ø)

elliottlib/gitdata.py
19.88% <0.00%> (ø)

elliottlib/__init__.py
44.44% <0.00%> (ø)

elliottlib/bzutil.py
56.71% <0.00%> (ø)

... and 39 more

Continue to review full report at Codecov.

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


Possible SQL Injection

How do you want me to report an injection attack?

How do you want me to report an injection attack?

-i want injection .but am not confirmed

I saw that you leaved a comment but i cant read it :(

Can you please report the issue here?

The issue is somewhere here: https://github.com/mrcrypster/mysqly/blob/main/mysqly.php#L26
Where the bind values are not escaped and passend into the prepared statement.
You can exploit this if you pass an unescaped $_GET parameter into the method which doesnt contain a single value but a http array to you can set the keys of that array.

Actually, that foreach generates placeholders in SQL ($in[] = ":{$k}_{$i}";) and then uses prepared statement to pass actual values that are escaped automatically by Mysql ($params[":{$k}_{$i}"] = $sub_v;).


Handling special characters in output staging

In some cases output files might have special characters in the name which causes trouble for SCP protocol to handle. This fix will rename those files

@machristie thanks for the review. passThroughTransfer is obsolete right now. This is should be replaced with MFT integration in future.

@DImuthuUpe sounds good, thanks for the explanation


A11y_AzureDataStudio_Connect to a SQL Server_Usability: Screen Reader is not announcing the status of a server is connected successfully or not

GitHub Tags:
#A11yMAS; #A11yUsable; #A11yTCS; #A11ySev4; #DesktopApp; #BM-AzureDataStudio-Win32-Feb2022; #Azure Data Studio; #WCAG4.1.3; #Win32; #AINotInScope; #Status Messages; #Narrator.
Environment Details:
Windows Version: Windows 11 Enterprise
Application name: Azure Data studio
Repro Steps:
1.Turn on Narrator
2. Launch Azure Data Studio.
3. Select the Connections icon (if not already selected) from left bar.
4. Hover over the 'Servers' header and select the 'New Connection' icon.
5. Provide server and windows authentication details, then click 'Connect'.
6. Validate in left menu that server has been successfully connected.
7. Verify status messages after the server is connected successfully is announced by narrator or not.
Note:
Similar issues can be observed in the following in the following:

Delete.
Conformation.

Actual Result:
Screen Reader is not announcing the status of a server is connected successfully or not.
Expected Result:
Screen Reader should be announced the status of a server is connected successfully.
Attachment:

bulk closing the usability level issues since we are not planning to work on it anytime soon.


Specifying deviceId as a string stops plugin from starting

Describe the bug
If you use the Homebridge Plugin Setting UI to specify the device ID of a feeder (or set of feeders), it will, by default, save the value as a string to the config file. However, the HTTP response returned by the PetKit servers contains the same ID, but it is a number, and not a string. Unfortunately, in this situation, the current plugin code does not find a matching device and the plugin fails to start as a result. Simply changing the deviceId from a string to a number directly in the config file fixes the issue, but I imagine most users do not have their debug logs on to see the entire http response and may not as easily come to this conclusion.
I would recommend one of two approaches to fix this issue:

Save the deviceId as a number when setting it up via the Homebridge Plugin Setting UI
Use a fuzzy match comparison (==) when matching the deviceIDs.

Detailed Information

NodeJS version: v14.16.0
Homebridge version: v1.3.4
Plugin version: v2.0.2
Example of configure(REMOVE sensitive info!):

    platforms: [
        {
            "log_level": 1,
            "devices": [
                {
                    "headers": [
                        {
                            "key": "X-Session",
                            "value": "<redacted>"
                        }
                    ],
                    "location": "north_america",
                    "model": "FeederMini",
                    "deviceId": "<id as string>",
                    "enable_http_retry": false,
                    "http_retry_count": 3,
                    "DropMeal_name": "Bowie Manual Meal",
                    "MealAmount_name": "Bowie Meal Amount",
                    "FoodStorage_name": "Bowie Low Food",
                    "DesiccantLevel_name": "Bowie Desiccant",
                    "ManualLock_name": "Bowie Push Button",
                    "LightMode_name": "LightMode",
                    "Battery_name": "Bowie Feeder Battery",
                    "enable_polling": true,
                    "polling_interval": 60,
                    "enable_desiccant": true,
                    "alert_desiccant_threshold": 3,
                    "enable_autoreset_desiccant": false,
                    "reset_desiccant_threshold": 1,
                    "enable_manualLock": true,
                    "enable_lightMode": false,
                    "reverse_foodStorage_indicator": true,
                    "fast_response": false
                },
                {
                    "headers": [
                        {
                            "key": "X-Session",
                            "value": "<redacted>"
                        }
                    ],
                    "location": "north_america",
                    "model": "FeederMini",
                    "deviceId": "<id as string>",
                    "enable_http_retry": false,
                    "http_retry_count": 3,
                    "DropMeal_name": "Finley Manual Meal",
                    "MealAmount_name": "Finley Meal Amount",
                    "FoodStorage_name": "Finley Low Food",
                    "DesiccantLevel_name": "Finley Desiccant",
                    "ManualLock_name": "Finley Push Button",
                    "LightMode_name": "Finley Feeder Light",
                    "Battery_name": "Finley Feeder Battery",
                    "enable_polling": true,
                    "polling_interval": 60,
                    "enable_desiccant": true,
                    "alert_desiccant_threshold": 3,
                    "enable_autoreset_desiccant": false,
                    "reset_desiccant_threshold": 1,
                    "enable_manualLock": true,
                    "enable_lightMode": false,
                    "reverse_foodStorage_indicator": true,
                    "fast_response": false
                }
            ],
            "platform": "petkit_feeder_mini"
        }
    ]

Logs(REMOVE sensitive info and homebridge debug mode):

2021-03-30 19:23:55.378  homebridge-697d8cdfd6-mflh8  homebridge  [3/30/2021, 7:23:55 PM] [petkit_feeder_mini] [INFO] initializing Petkit Feeder device.
2021-03-30 19:23:55.378  homebridge-697d8cdfd6-mflh8  homebridge  [3/30/2021, 7:23:55 PM] [petkit_feeder_mini] [DEBUG] request device info from Petkit server.
2021-03-30 19:23:55.950  homebridge-697d8cdfd6-mflh8  homebridge  [3/30/2021, 7:23:55 PM] [petkit_feeder_mini] [DEBUG] http request success
2021-03-30 19:23:55.951  homebridge-697d8cdfd6-mflh8  homebridge  [3/30/2021, 7:23:55 PM] [petkit_feeder_mini] [DEBUG] {"result":{"d4":{"enable":0},"devices":[{"data":{"name":"Finley’s Feeder","createdAt":"2019-12-07T21:19:38.210Z","id":<redacted numeric id>,"state":1,"relation":{"petIds":["<redacted string value>"],"userId":"<redacted string id>"},"status":{"batteryPower":4,"batteryStatus":0,"desiccantLeftDays":0,"errorPriority":0,"feeding":0,"food":1,"ota":0,"overall":1,"pim":1,"runtime":24261,"wifi":{"bssid":"<redacted hex value>","rsq":-51,"ssid":"<redacted>"}},"desc":"Next feeding time: 21:00"},"type":"FeederMini"},{"data":{"name":"Bowie’s Feeder","createdAt":"2019-10-18T07:21:42.364Z","id":<redacted numeric id>,"state":1,"relation":{"petIds":["<redacted>"],"userId":"<redacted string id>"},"status":{"batteryPower":4,"batteryStatus":0,"desiccantLeftDays":0,"errorPriority":0,"feeding":0,"food":1,"ota":0,"overall":1,"pim":1,"runtime":40835,"wifi":{"bssid":"<redacted hex value>","rsq":-36,"ssid":"<redacted>"}},"desc":"Next feeding time: 21:00"},"type":"FeederMini"}],"cozy":{"gearsTotal":6,"enable":1,"tempunit":1,"sTempMin":50,"isShowDeviceSafetyClause":0,"gearsOffset":3,"sTempMax":108},"feeder":{"isShowDeviceSafetyClause":0},"k2":{"enable":1},"go":{"hasMarks":0,"maxMarksPerRoute":30,"markEnabled":1},"feedermini":{"isShowDeviceSafetyClause":0},"tools":[{"type":"walkpet","data":{}},{"type":"weight"},{"type":"remind","data":{}}],"t3":{"enable":1},"d3":{}}}
2021-03-30 19:23:55.953  homebridge-697d8cdfd6-mflh8  homebridge  [3/30/2021, 7:23:55 PM] [petkit_feeder_mini] [ERROR] seems that you ownd more than one feeder, but the device id you set is not here.
2021-03-30 19:23:55.953  homebridge-697d8cdfd6-mflh8  homebridge  [3/30/2021, 7:23:55 PM] [petkit_feeder_mini] [ERROR] do you mean one of this:
2021-03-30 19:23:55.954  homebridge-697d8cdfd6-mflh8  homebridge  [3/30/2021, 7:23:55 PM] [petkit_feeder_mini] [ERROR] initialize Petkit Feeder failed: could not find supported device.

Thank you for your report and suggestions.
I've located this bug, after some test an update will release.

Verified working in v2.0.3 - closing this out.


Unable to use HTTP in v1.9.1

What happened?
Setting properties  "secure" : false, "protocol": "http:" in config file raises an error:
Parse Error: Expected HTTP/

A different combination of properteis ("secure" : false, protocol": "https:") will raise a diffeent error:
Protocol "https:" not supported. Expected "http:"

If use  only "protocol": "http:" (withou secure property) following error occurs:
Protocol "http:" not supported. Expected "https:"

System Information
Running xst info --config redaktor.xstrc raises the same errors. Without configuration:

Build: eXist-6.2.0 (c8fa4958b6d4a50bd0cba7f3e76a150226414187)
Java: <IP_ADDRESS> (Microsoft)
OS: Windows 10 10.0 (amd64)

Relevant shell output
No response

Remove the secure option. The protocol is enough. I tried to make that point clear in the readme.
But it should fail with an actionable error.

It's either the deprecated option "secure" or "protocol"

Using only "protocol": "http:" value different error will occur: Protocol "http:" not supported. Expected "https:"
I don't have HTTPS on my laptop.

Did you set the correct port to use, because the default is 8443?
{
  "connectionOptions": {
    "basic_auth": {
        "user": "admin",
        "pass": ""
    },
    "protocol": "http:",
    "host": "localhost",
    "port": 8080
  }
}

The error indicates that you have a standard exist-db setup listening on both 8080 ('http:') and 8443 ('https:').

@daliboris what happens if you only set
{
  "connectionOptions": {
    "basic_auth": {
        "user": "admin",
        "pass": ""
    }
}

Re-reading your issue I am confident that you are really only missing to set the port to 8080. If that works for you I will close the issue.

It turns out that v1.9.0 was used and the issue is fixed with https://github.com/eXist-db/xst/commit/cf75c70844d839342e20030b540cc4ef40c5316a


Unmainteined libraries

What happens in this case? Should we remove it from the list or just add a note?
By example, vue-datepicker is unmaintained hilongjw/vue-datepicker#124 since January. Even npm package isn't up to date hilongjw/vue-datepicker#115 hilongjw/vue-datepicker#102 hilongjw/vue-datepicker#109.

We can use a note for each one that wasn't update for at least 6 months.

@mariomka resolve in https://github.com/vuejs/awesome-vue/pull/1772


[Feature] Added float editor text edit options.

Added missing text edit option to float editor (ie, text color, bold, italic etc)
Improved clickable area of text edit option dropdowns in float editor.
Improved visual effect of the edit option dropdown.

Preview

Nice PR, will investigate & merge later.


Missing translation warnings despite default values provided if no i18n translation exists

https://github.com/cncf/dot-org-hugo-theme/blob/a614d0d4fd67ae2365c2d80f0ce93ec99bcab3ef/layouts/partials/blog/byline.html#L13
https://github.com/cncf/dot-org-hugo-theme/blob/a614d0d4fd67ae2365c2d80f0ce93ec99bcab3ef/layouts/partials/footer/social-links.html#L15

Despite these warnings I believe the default values are used. Creating a /i18n/en.yaml with these keys (and values) removes the warnings.
Also, why is it only en translations that are missing if this theme can support multiple languages?

Similar to #28 these WARN messages could have their severity lowered to INFO if a /i18n/en.yaml is not provided by default.

I also think that social_link_title should be renamed to social_link_tooltip to better reflect what it is.

The strings can be translated if the user wishes. Defaults are set on the strings in the code, no need to add it to the languages.yml. If you wish to change the debug level of the Hugo serve command that’s up to you. A theme has to have an opinion and approach. This is ours.

A theme has to have an opinion and approach. This is ours.

Of course. I was raising what I thought was a potential issue but you have now explained that it is not.


Cookie Based Locale W/O Changing the URL - like Facebook

How can I implement the following scenario:

New user browses
Get a dialog to select the language OR use the default language
The selected language stored in a cookie (already implemented)
User change the locale from the locales menu
Stay in the same url but different language.

Note: I use SS3.6, willing to use SS4 :)

Hi, thanks for taking the time to post to our issue tracker.
The issue tracker is reserved for reporting bugs and we don't provide support via the issue tracker. There are great community support options where you can get help including our forum, Stack Overflow (remember to tag as silverstripe) and even Slack.
Sorry we can't be of more help and good luck resolving your problem!


My sub-directory pages show up as blank pages

Sorry, this isn't a good issue.
I'm kind of lost, there are no errors or warnings, and it doesn't fall into the error page, I'm kind of lost.
Any clue as to why this would be?
I'm running vite with the latest stable wouter.
        <Router base='/test-dir/'>
            <Switch>
                <Route path='/'>{home}</Route>
                <Route path='/demo'>{demo}</Route>
                <Route path='/:rest'>{err}</Route>
            </Switch>
        </Router>

I was having links without a / prefix and that meant I needed base to end with a trailing slash, which was the issue.
Fixing my links and removing the trailing slash solved this.
In case this helps anyone.


support for Messenger Platform

Not sure what's the best place to ask, but it would be really awesome to support this new platform! https://messengerplatform.fb.com/

We saw the keynote. Stay tuned :)

❤
On Wed, Apr 13, 2016 at 12:43 AM -0700, "Steven Ickman"<EMAIL_ADDRESS>wrote:
We saw the keynote. Stay tuned :)

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/Microsoft/BotBuilder/issues/100#issuecomment-209286022

Please vote on this over on UserVoice:
https://feedback.botframework.com/forums/354219-bot-connector/suggestions/13398783-will-support-be-added-for-newly-released-fb-messen


A simple and expandable way to work with scenes.

Implement a simple and expandable way to load and move between scenes.

Could do with a way to hold a chain of previous scenes in memory. This way the game can then revert back to them when required. E.g. a pause screen. There should also be an option to clear the chain and cleanup all the undeeded scenes.


Exception thrown on widget testing

Scenario:
I am trying to unit test one of my widgets for my SignInForm screen. Code is exactly like the LoginForm code provided in the bloc firebase login tutorial
testWidgets(
        'should have 2 email/password text fields',
        (WidgetTester tester) async {
      await tester.pumpWidget(
        BlocProvider.value(
          value: signInBloc,
          child: SignInForm(),
        ),
      );

      final emailTextField = find.widgetWithText(TextFormField, 'Email');
      final passwordTextField = find.widgetWithText(TextFormField, 'Password');

      expect(emailTextField, findsOneWidget);
      expect(passwordTextField, findsOneWidget);
    });

but it throws the following exception:
The following assertion was thrown building Listener:
'package:flutter/src/painting/basic_types.dart': Failed assertion: line 223 pos 10: 'textDirection
!= null': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially
more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=BUG.md

The relevant error-causing widget was:
  ListView
  file:///**/**/presentation/widgets/sign_in_form.dart:68:22

When the exception was thrown, this was the stack:
#2      textDirectionToAxisDirection (package:flutter/src/painting/basic_types.dart:223:10)
#3      Viewport.getDefaultCrossAxisDirection (package:flutter/src/widgets/viewport.dart:134:16)
#4      Viewport.createRenderObject (package:flutter/src/widgets/viewport.dart:145:58)
#5      RenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5366:28)
#6      MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5943:11)
#7      _ViewportElement.mount (package:flutter/src/widgets/viewport.dart:196:11)
...     Normal element mounting (123 frames)
#130    SingleChildWidgetElementMixin.mount (package:nested/nested.dart:223:11)
...     Normal element mounting (9 frames)
#139    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#140    Element.updateChild (package:flutter/src/widgets/framework.dart:3214:18)
#141    ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4527:16)
#142    _InheritedProviderScopeElement.performRebuild (package:provider/src/inherited_provider.dart:387:11)
#143    Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#144    ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#145    ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
...     Normal element mounting (7 frames)
#152    SingleChildWidgetElementMixin.mount (package:nested/nested.dart:223:11)
...     Normal element mounting (7 frames)
#159    SingleChildWidgetElementMixin.mount (package:nested/nested.dart:223:11)
#160    Element.inflateWidget (package:flutter/src/widgets/framework.dart:3446:14)
#161    Element.updateChild (package:flutter/src/widgets/framework.dart:3211:20)
#162    RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1148:16)
#163    RenderObjectToWidgetElement.update (package:flutter/src/widgets/binding.dart:1126:5)
#164    RenderObjectToWidgetElement.performRebuild (package:flutter/src/widgets/binding.dart:1140:7)
#165    Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#166    BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2627:33)
#167    AutomatedTestWidgetsFlutterBinding.drawFrame (package:flutter_test/src/binding.dart:1006:18)
#168    RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:284:5)
#169    SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1113:15)
#170    SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1052:9)
#171    AutomatedTestWidgetsFlutterBinding.pump.<anonymous closure> (package:flutter_test/src/binding.dart:879:9)
#174    TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:72:41)
#175    AutomatedTestWidgetsFlutterBinding.pump (package:flutter_test/src/binding.dart:866:27)
#176    WidgetTester.pumpWidget.<anonymous closure> (package:flutter_test/src/widget_tester.dart:441:22)
#179    TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:72:41)
#180    WidgetTester.pumpWidget (package:flutter_test/src/widget_tester.dart:438:27)
#181    main.<anonymous closure>.<anonymous closure> (file:///Users/GeoVin/workspace/the_dollop_app_project/the_dollop_app/test/features/login/presentation/widgets/sing_in_form_test.dart:23:20)
#182    testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:140:29)
<asynchronous suspension>
#183    testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart)
#184    TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:703:19)
<asynchronous suspension>
#187    TestWidgetsFlutterBinding._runTest (package:flutter_test/src/binding.dart:683:14)
#188    AutomatedTestWidgetsFlutterBinding.runTest.<anonymous closure> (package:flutter_test/src/binding.dart:1083:24)
#194    AutomatedTestWidgetsFlutterBinding.runTest (package:flutter_test/src/binding.dart:1080:15)
#195    testWidgets.<anonymous closure> (package:flutter_test/src/widget_tester.dart:133:24)
#196    Declarer.test.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:172:27)
<asynchronous suspension>
#197    Declarer.test.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart)
#198    Invoker.waitForOutstandingCallbacks.<anonymous closure> (package:test_api/src/backend/invoker.dart:246:15)
#203    Invoker.waitForOutstandingCallbacks (package:test_api/src/backend/invoker.dart:243:5)
#204    Declarer.test.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/declarer.dart:170:33)
#209    Declarer.test.<anonymous closure> (package:test_api/src/backend/declarer.dart:169:13)
#210    Invoker._onRun.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:test_api/src/backend/invoker.dart:400:30)
(elided 37 frames from class _AssertionError, class _FakeAsync, class _RawReceivePortImpl, class _Timer, dart:async, dart:async-patch, and package:stack_trace)

════════════════════════════════════════════════════════════════════════════════════════

Update:
If I wrap it with a MaterialAppWidget like this
await tester.pumpWidget(
        MaterialApp(
          home: BlocProvider.value(
            value: signInBloc,
            child: SignInForm(),
          ),
        ),
      );

I get a new error: (I think the issue is related to having a TextFormField inside a Listview for my SignInForm widget)
╞═══════════════════════════════════════════════════════════
The following assertion was thrown building TextField(controller:
TextEditingController#93d22(TextEditingValue(text: ┤├, selection: TextSelection(baseOffset: -1,
extentOffset: -1, affinity: TextAffinity.downstream, isDirectional: false), composing:
TextRange(start: -1, end: -1))), enabled: true, decoration: InputDecoration(icon:
Icon(IconData(U+0E0BE)), labelText: "Email", floatingLabelBehavior: FloatingLabelBehavior.auto,
alignLabelWithHint: false), keyboardType: TextInputType(name: TextInputType.emailAddress, signed:
null, decimal: null), autocorrect: false, dirty, state: _TextFieldState#def8e):
No Material widget found.
TextField widgets require a Material widget ancestor.
In material design, most widgets are conceptually "printed" on a sheet of material. In Flutter's
material library, that material is represented by the Material widget. It is the Material widget
that renders ink splashes, for instance. Because of this, many material library widgets require that
there be a Material widget in the tree above them.
To introduce a Material widget, you can either directly include one, or use a widget that contains
Material itself, such as a Card, Dialog, Drawer, or Scaffold.
The specific widget that could not find a Material ancestor was:
TextField
The ancestors of this widget were:
...
TextFormField
RepaintBoundary
IndexedSemantics
NotificationListener
KeepAlive
...
The relevant error-causing widget was:
TextFormField
file:///Users/GeoVin/workspace/the_dollop_app_project/the_dollop_app/lib/features/login/presentation/widgets/sign_in_form.dart:78:19
When the exception was thrown, this was the stack:
#0      debugCheckHasMaterial. (package:flutter/src/material/debug.dart:28:7)
#1      debugCheckHasMaterial (package:flutter/src/material/debug.dart:50:4)
#2      _TextFieldState.build (package:flutter/src/material/text_field.dart:951:12)
#3      StatefulElement.build (package:flutter/src/widgets/framework.dart:4619:28)
#4      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4502:15)
#5      StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4675:11)
#6      Element.rebuild (package:flutter/src/widgets/framework.dart:4218:5)
#7      ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4481:5)
#8      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4666:11)
#9      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4476:5)
...

Yes. Having it in both Material App and Scaffold widget seems to fix the issue. I guess it just lacks better logs to resolve the issue.
"or we should provide substantially
more information in this error message to help you determine and fix the underlying cause." :)

@geovin89
the log says
To introduce a Material widget, you can either directly include one, or use a widget that contains
Material itself, such as a Card, Dialog, Drawer, or Scaffold.

closing as solved


Incorrect nullable handling with implicit operators

Describe the bug
When mapping from a nullable type (either struct or class) to a type that has an implicit operator, mapperly incorrectly generates null handling checks. This occurs both when mapping directly, as in the example below, or when mapping a class with properties of this type.
As the implicit operator can take a nullable type, I would expect the nullable value to be passed in without the null check.
In cases where the implicit operator can't take a nullable type (e.g., int? to TrackedProperty in the example below), the current behaviour of generating the null check is correct.
Declaration code
using Riok.Mapperly.Abstractions;

[Mapper]
public partial class Simple1
{
    public static partial TrackedProperty<int?> ToFoo(int? source);
}

[Mapper]
public partial class Simple2
{
    public static partial Dst ToFoo(Src source);
}

public class Src
{
    public int? Foo { get; set; }
}

public class Dst
{
    public TrackedProperty<int?> Foo { get; set; }
}

public readonly record struct TrackedProperty<T>
{
    private readonly T value;

    public TrackedProperty(T value)
    {
        this.value = value;
    }

    public static implicit operator TrackedProperty<T>(T value)
    {
        return new TrackedProperty<T>(value);
    }
}

Actual relevant generated code
// <auto-generated />
#nullable enable
public partial class Simple1
{
    [global::System.CodeDom.Compiler.GeneratedCode("Riok.Mapperly", "<IP_ADDRESS>")]
    public static partial global::TrackedProperty<int?> ToFoo(int? source)
    {
        return source == null ? throw new System.ArgumentNullException(nameof(source)) : (global::TrackedProperty<int?>)source.Value;
    }
}

public partial class Simple2
{
    [global::System.CodeDom.Compiler.GeneratedCode("Riok.Mapperly", "<IP_ADDRESS>")]
    public static partial global::Dst ToFoo(global::Src source)
    {
        var target = new global::Dst();
        if (source.Foo != null)
        {
            target.Foo = (global::TrackedProperty<int?>)source.Foo.Value;
        }
        return target;
    }
}

Expected relevant generated code
// <auto-generated />
#nullable enable
public partial class Simple1
{
    [global::System.CodeDom.Compiler.GeneratedCode("Riok.Mapperly", "<IP_ADDRESS>")]
    public static partial global::TrackedProperty<int?> ToFoo(int? source)
    {
        return (global::TrackedProperty<int?>)source;
    }
}

public partial class Simple2
{
    [global::System.CodeDom.Compiler.GeneratedCode("Riok.Mapperly", "<IP_ADDRESS>")]
    public static partial global::Dst ToFoo(global::Src source)
    {
        var target = new global::Dst();
        target.Foo = (global::TrackedProperty<int?>)source.Foo;
        return target;
    }
}

Environment (please complete the following information):

Mapperly Version: 3.6.0/4.0.0-next.3
Nullable reference types: enabled
.NET Version: .net framework 4.8/.net 8
Target Framework: .net standard 2.0/.net framework 4.8/.net 8
Compiler Version: 4.11.0-3.24365.8 (9e9c7c1d)
C# Language Version: 12
IDE: Visual Studio v17.10.5/Rider 2024.2.4
OS: Windows 11

Additional context
We have a partial workaround by declaring a user-implemented mapping, however we seem to be unable to create a generic user-implemented mapper.
    // This does not work
    public static TrackedProperty<T> UserMap<T>(T source) => source;

    // This does, but requires a separate function per type
    public static TrackedProperty<int?> UserMap(int? source) => source;

Is this issue in progress? If not I can handle with that

Not yet in progress, feel free to contribute.

I have just analysed this: It doesn't seem to be related to nullability, but to generics. Mapperly does not support open generic mappings yet. Closing in favour of https://github.com/riok/mapperly/issues/1285.


Service manager should support insecure calls to brokers

https://github.com/Peripli/service-manager/blob/master/api/osb/controller.go#L89 should be able to be configured with a transport that ignores tls

Fixed with #101