Fix tabs view in package installation

Hi!
I noticed that bash scripts in package installation page is kinda broken. This changes should fix it.

Thanks for the fix!


Attach Node Script window use a wrong cached default Path value

Godot version
v4.1.stable.official [970459615]
System information
macOS Ventura 13.4.1 (c) (22F770820d)
Issue description
The Path in Attach Node Script window has a wrong default value. It used a cached value based on Node Tree level I think.
Steps to reproduce

Create a new project
Create a base node label
Save the project and scene
reopen the project
Delete the label node and create another node Sprite2D
Attach Node Script to the newly created node, and the default value for Path is res://label.gd, it should be res://Sprite2D.gd

Minimal reproduction project
N/A

Can't reproduce (Windows, tried v4.1.stable.official [970459615], v4.1.1.stable.official [bd6af8e0e] and custom master build). However the steps to reproduce aren't super clear, maybe I'm doing something differently. :thinking:

Pre:

Picked Label:

Deleted Label:

Added Sprite2D:

Attach Node Script window:

I managed to reproduce it with slightly different steps, feel free to take a look:
https://github.com/godotengine/godot/assets/84321760/b549fd82-55ca-4fcb-8f8e-2880258e2642
My system:

v4.1.1.stable.official.bd6af8e0e - Windows 10.0.19045 - Vulkan (Compatibility) - GeForce GT 540M- Intel Core i7-2670QM CPU @ 2.20GHz (8 Threads)

Can't reproduce (Windows, tried v4.1.stable.official [9704596], v4.1.1.stable.official [bd6af8e] and custom master build). However the steps to reproduce aren't super clear, maybe I'm doing something differently. 🤔

Pre:

Picked Label:

Deleted Label:

Added Sprite2D:

Attach Node Script window:

Sorry for the confusion. I don't know what happened. I test it again with my previous steps, it worked fine.
Based on @Ybaedbaenn 's reply, I test it again. I believe save the project and reopen the project is required to reproduce the bug. I updated the Steps to Reproduce. Sorry again.

Ok, I can reproduce now. No need to reload the project though, reloading the scene is enough:

Empty scene.
Add root node of type A.
Save the scene.
Reload the scene.
Delete root node.
Add root node of type B (different than A).
Attach script dialog suggests the name according to type A.


top bar button reversed in RTL

Dev Home version
<IP_ADDRESS>
🌐 Language
Arabic
❌ Actual phrase(s)
The top bar button is reversed in RTL. When I press close nothing happens, but when I click from left the program closes
✔ Expected phrase(s)
No response
Why is the current translation wrong
The arrangement is worng

Thank you for your input. To appropriately triage this issue, do you mind providing a screenshot?

https://task.ms/38444281


Updates dependencies

Updates package dependencies to their latest versions to patch security issues.

[x] Updated dependencies and devdependencies in package.json
[x] Updated the test coverage to nyc from instanbul
[x] Tests are passing

@perploug it looks like you'll need to update the Travis CI config files to be compatible with your changes (note the above build errors).  const and let weren't supported until at least Node v6.0.0.
You should consider updating this property in the .travis.yml:
node_js:
- '8.0.0'
- '7.0.0'
- '6.0.0'
- iojs

Of course you could also use more recent node versions as well...
https://node.green/

@marcellodesales
This PR resolves some nasty vulerabilities (which puts the ongoing use of this lib in question).  Any chance you could review this one?

@tallbrick I will get to it during hacktoberfest!

@tallbrick @perploug any interest in updating the travis build with the recent versions of node? I can merge this PR soon after the build passes...

Done on #16


Add documentation for DataReduction strategies, pagination, and dataVolume

https://github.com/Microsoft/PowerBI-visuals-tools/blob/c00546cc71e01c025696baedb186b0a68723da69/templates/visuals/.api/v1.7.0/schema.capabilities.json#L263
I'm writing a custom viz that needs to pull in more data than the default, which seems to be around 1k data-points. My initial cut used a 'window' dataReduction strategy to optimize which dimension was returned in full, but there wasn't any documentation on how to iterate the window through the dataset to request more chunks of data.
My second cut, which is working for the level of data I have now simply bumps the dataVolume to 6, which is the maximum value. In the client API here, the schema simply validates that it is a number between 1 and 6, and the documentation indicates the same, but that doesn't give any useful semantic information to a client. From the PBIClients source code, I can see that the default is 3 and that "High Volume" is 6, but even then I'm not sure what limitations are imposed by those settings.
The dataVolume attribute should indicate what thresholds and limitations it applies to retrieving data, and there should be some documentation on how to use the dataReduction strategies to iterate through large datasets.

Hello -
there's a bit of info in https://github.com/Microsoft/PowerBI-visuals-core/wiki/Capabilities#data-roles--dataview-mappings.
We'll work adding more adding documentation during the next two weeks.
thx!


getObjectAt only accepts one paramater

extra comma was breaking the code

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!


time formulated Values are not coming correctly

Excel
i am using GO 1.81, github.com/xuri/excelize/v2 v2.8.1-0.20230914145628-5a039f304529 and windows. using getRows function to import data from excel sheet

I'm taking information from Excel sheets. There are three columns: A and B show time in hours and minutes (like 01:30), and C should display the total time from A and B. When I use the "getRows" function to read the sheet, columns A and B are correct, but in column C, the hours are correct, but the minutes are always showing as 12.
Steps to reproduce the issue:

read excel sheet using getRows
print the value in consol log, to see the result

Describe the results you received:
if A=12:00, B=2:00 and C would be sum of A+B from the formula. C=14:00, but when i am reading it is  as 14:12
Describe the results you expected:
if A=12:00, B=2:00 and C would be sum of A+B from the formula. C=14:00, but when i am reading it is  as 14:12
Output of go version:
go version go1.19.5 windows/amd64
Excelize version or commit ID:
github.com/xuri/excelize/v2 v2.8.1-0.20230914145628-5a039f304529

Thanks for your issue. Your provided link is a webpage, could you provide a workbook as attachments without confidential info?

example.xlsx
A and B, is coming correct, but C is the months are coming incorrectly

Thanks for your feedback. I have fixed it, please try to upgrade the master branch code, and this patch will be released in the next version.


fix: a typo in yurtctl util.go which uses 'lable' as 'label'

What type of PR is this?
/kind documentation
What this PR does / why we need it:
fix a typo in yurtctl util.go which uses 'lable' as 'label'.
Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?

fix a typo in yurtctl util.go which uses 'lable' as 'label'.

other Note

/lgtm
Thanks.


Upgrade bleach

Upgrade bleach version in requirements.txt

I can take this @soumallyadev07

Great! I'll assign this to you @N15H4N7


[stable/rabbitmq-ha] issue Connection attempt from disallowed node

Bug description
Hi I have a RMQ helm chart deployed via Helm install cmd successfully and now trying to upgrade the RMQ image from 3.7-alpine to 3.7.14-alpine using this command. The command was successful however the pods are not coming up and the pod goes on restarting…Any idea if anyone has come across this issue? Appreciate your help in advance.
helm upgrade tkermqv3 rabbitmq-ha --kubeconfig my-kubeconf --reuse-values -f ha-test-values.yml --repo http://artifactoryblah.com/artifactory/cft-helm-snapshot-local --tiller-namespace default
Release "tkermqv3" has been upgraded. Happy Helming!
LAST DEPLOYED: Thu May 16 17:28:29 2019
NAMESPACE: jlupo-tst
STATUS: DEPLOYED
Version of Helm and Kubernetes:
helm version
Client: &version.Version{SemVer:"v2.13.0", GitCommit:"79d07943b03aea2b76c12644b4b54733bc5958d6", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.13.1", GitCommit:"618447cbf203d147601b4b9bd7f8c37a5d39fbb4", GitTreeState:"clean"}
Which chart:
rabbitmq-ha-1.20.1.tgz
chart.yml info below
apiVersion: v1
appVersion: 3.7.8
version: 1.20.1
What you expected to happen:
I expected the pods would go on a rolling restart and update itself with the new image. This is a rmq cluster with 2 nodes. and one of the pod successfully pulled the new image but does not come up successfully.
This is the error i see in the pod logs
2019-05-17 01:13:10.915 [error] <0.396.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:12.015 [error] <0.398.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:13.116 [error] <0.400.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:14.216 [error] <0.402.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:15.315 [error] <0.404.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:16.416 [error] <0.406.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:17.515 [error] <0.408.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:18.615 [error] <0.410.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:19.620 [error] <0.412.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:20.763 [error] <0.414.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:21.915 [error] <0.416.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:22.966 [error] <0.418.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:23.267 [warning] <0.266.0> Error while waiting for Mnesia tables: {timeout_waiting_for_tables,[rabbit_user,rabbit_user_permission,rabbit_topic_permission,rabbit_vhost,rabbit_durable_route,rabbit_durable_exchange,rabbit_runtime_parameters,rabbit_durable_queue]}
2019-05-17 01:13:23.268 [info] <0.266.0> Waiting for Mnesia tables for 30000 ms, 7 retries left
2019-05-17 01:13:24.050 [error] <0.421.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:25.115 [error] <0.423.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:26.120 [error] <0.425.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:27.215 [error] <0.427.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:28.220 [error] <0.429.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:29.315 [error] <0.431.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:30.415 [error] <0.433.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:31.420 [error] <0.435.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:32.515 [error] <0.437.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:33.519 [error] <0.439.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**
2019-05-17 01:13:34.524 [error] <0.441.0> ** Connection attempt from disallowed node<EMAIL_ADDRESS>**

BTW, I am specifying the new image version in values.yml file

Please provide the contents of your values.yaml. Most likely you have not set a static rabbitmqErlangCookie

values.txt
@steven-sheehy Apologize for late response. Here is my values.yml. Appreciate for taking a look at this.
Please rename values.txt to values.yml could not attach yml files

Like I said, you have not set a static value for rabbitmqErlangCookie. It is randomly generated each time you upgrade the chart.

Thanks @steven-sheehy it worked like a charm after setting the erlang cookie. Awesome! we can close this ticket. Excellent support as well.


Add ability to add comment for SchemaBuilder

Add ability for adding comment to SchemaBuilder
Somthing like:
$this->boolean()->notNull()->defaultValue(0)->comment('column comment')

Related to #8148

https://github.com/yiisoft/yii2/pull/9089

Implemented in fde8aa6bcbb902aaea10f02f07fa87e11e5d2d17


Custom add button location not triggering

As is explained in the guide for implementing an add button on a custom location.
I placed a button, but the event is not being triggered.
Am I missing additional steps?
HTML:
Add element to collection A

JavaScript:
$('.pageTranslations-collection').collection({
        prefix: 'parent',
        allow_up: false,
        allow_down: false,
        custom_add_location: true,
        children: [{
            selector: '.box-properties',
            prefix: 'child',
            add_at_the_end: true
        }]
    });

FormType:
$builder
            ->add('pageTranslations', CollectionType::class, array(
                'entry_type'    => PageTranslationType::class,
                'entry_options' => array(
                    'label' => 'Value',
                ),
                'label'         => 'Add, move, remove values and press Submit.',
                'allow_add'     => true,
                'allow_delete'  => true,
                'prototype'     => true,
                'prototype_name' => '__parent_name__',
                'required'      => false,
                'attr'          => array(
                    'class' => 'pageTranslations-collection',
                ),
            ))
        ;

Yes, data-collection="" should refer to the id of your collection, not its selector (I'll need to clarify the doc).
Please try with (assuming your form variable is named form):
data-collection="{{ form.vars.pageTranslations.id }}"

Thank you for your advice.
However changing my JavaScript to this seemed to make it work:
$('.pageTranslations-collection').collection({
        //prefix: 'parent',
        allow_up: false,
        allow_down: false,
        custom_add_location: false,
        children: [{
            selector: '.box-properties',
            prefix: 'child',
            add_at_the_end: true
        }]
    });

For some reason I had to set the "custom_add_location" property to "false" and remove the "prefix" property. Now I am able to use the custom button.

Hi @rubendehaas.
I think that classes of your anchor tag should contain prefix. So try to change your HTML to something like this:
Add element to collection A.
And revert your settings back:
prefix: 'parent', custom_add_location: true

The example is not working: https://symfony-collection.fuz.org/symfony3/options/buttons-custom-location

Thank you !
I will check once I will be on vacations.
Alain

The example is still not working

Sadly still not working. Even the workarounds didn't work for me.

The documentation on this is very unclear but I eventually figured it out. The class names on the custom button needed to be in the format of your_collection_id-collection-action. The collection id usually being the ID set on the same element as the prototype.
Example:

Add
Hope this helps!


Avoid throwing AggregateException when there is only one exception

The actual code is:
private void CreateAndThrowException()
    {
        var exceptions = new List<Exception>();

        if (_validationResult.HasError())
            exceptions.Add(new YeSqlLoaderException(_validationResult.ErrorMessages));

        if (_parser.ValidationResult.HasError())
            exceptions.Add(new YeSqlParserException(_parser.ValidationResult.ErrorMessages));

        if (exceptions.Count > 0)
            throw new AggregateException(exceptions);
    }

This code throws an AggregateException regardless if there is only one exception. In this case, it is better to throw YeSqlParserException or YeSqlLoaderException when there is only one exception.

AggregateException type also serves to represent one or more errors that occur during the execution of the application.


front camera

open front camera ，the preview is so dark that you can barely see yourself.
mobile： oppo A83

Somewhat happens me with as well, probably the library can provide exposure settings. Awesome library by the way!

yes , the library is very excellent.

yes , the library is very excellent.

@Jacky-Xu I am also facing the same issue, Front camera preview is very dark. Did you find a solution for this?


Correction for raw affiliation IEP-Aix, CHERPA, Aix-en-Provence,

Correction needed for raw affiliation IEP-Aix, CHERPA, Aix-en-Provence,
raw_affiliation_name: IEP-Aix, CHERPA, Aix-en-Provence,
new_rors: 0406m4x33
previous_rors:
works_examples: W4231808899
contact: 210cd57f3ae293cf9fadff7479995478:3d21f7ca1ad74aa129463663490d4b5516ec7bf250 @ recherche.gouv.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-18. The new affiliations should be visible within the next 7 days.


Throw error when using wrong arguments in methods

I have spent a long time debugging because some of the augmenters silently fail.
One example: Sequential(aug1,aug2,...) instead of Sequential([aug1,aug2,...])
the first, wrong, use of Sequential doesn't throw an error but simply doesn't execute aug2.
A great library nonetheless, super useful, thanks!

There are now some extra checks for Sequential and some other augmenters in master.
It should catch at least the case that you mentioned.


Latest version of pen test

I see the latest version of Azure Pen test is 2016. Do you have a more up to date link?

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

ID: 19cb71ec-6372-f406-8542-8058f59c7ec1
Version Independent ID: a3c05dfb-8f20-b364-526b-143f87582a18
Content: Pen Testing
Content Source: articles/security/fundamentals/pen-testing.md
Service: security
Sub-service: security-fundamentals
GitHub Login: @TerryLanfear
Microsoft Alias: barclayn

@psallis Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

@psallis - Thank you for your feedback. The 2016 version is the latest version. If the document is updated in the future, the link will be updated to point to the most current version.
#please-close


Support online de-compressing of shards on LocalDataset as it is already done for StreamingDataset

Support online de-compressing of shards on LocalDataset as it is already done for StreamingDataset
When one creates a mosaic dataset to be streamed from the cloud, using StreamingDataset, it is possible to delegate the online de-compression of the shard to an mds file to the library. This is however not supported for LocalDataset and if the same dataset were to be used on a local filesystem, the library does not automatically decompress it. Below is the error I get when I use a compressed shard dataset
In [1]: from streaming import LocalDataset

In [2]: ds = LocalDataset('/mnt/data-obsd/mosaic/dataset')

In [3]: ds[0]
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
Cell In[3], line 1
----> 1 ds[0]

File ~/.local/lib/python3.8/site-packages/streaming/base/array.py:90, in Array.__getitem__(self, at)
     88     if -self.size <= at < 0:
     89         at += self.size
---> 90     return self.get_item(at)
     91 elif isinstance(at, slice):
     92     items = []

File ~/.local/lib/python3.8/site-packages/streaming/base/local.py:77, in LocalDataset.get_item(self, sample_id)
     75 shard_id, index_in_shard = self.spanner[sample_id]
     76 shard = self.shards[shard_id]
---> 77 return shard[index_in_shard]

File ~/.local/lib/python3.8/site-packages/streaming/base/array.py:90, in Array.__getitem__(self, at)
     88     if -self.size <= at < 0:
     89         at += self.size
---> 90     return self.get_item(at)
     91 elif isinstance(at, slice):
     92     items = []

File ~/.local/lib/python3.8/site-packages/streaming/base/format/base/reader.py:257, in Reader.get_item(self, idx)
    248 def get_item(self, idx: int) -> Dict[str, Any]:
    249     """Get the sample at the index.
    250
    251     Args:
   (...)
    255         Dict[str, Any]: Sample dict.
    256     """
--> 257     data = self.get_sample_data(idx)
    258     return self.decode_sample(data)

File ~/.local/lib/python3.8/site-packages/streaming/base/format/mds/reader.py:121, in MDSReader.get_sample_data(self, idx)
    119 filename = os.path.join(self.dirname, self.split, self.raw_data.basename)
    120 offset = (1 + idx) * 4
--> 121 with open(filename, 'rb', 0) as fp:
    122     fp.seek(offset)
    123     pair = fp.read(8)

FileNotFoundError: [Errno 2] No such file or directory: '/mnt/data-obsd/mosaic/dataset/shard.00000.mds'

In [4]: !ls /mnt/data-obsd/mosaic/dataset/shard.00000.mds*
/mnt/data-obsd/mosaic/dataset/shard.00000.mds.zstd

Hi @sagnak , one can use StreamingDataset for streaming the data from cloud as well as loading the data from local. For example, if your dataset resides locally, you can simply run it as
dataset = StreamingDataset(local='/mnt/data-obsd/mosaic/dataset') # This will read the data directly from the $local directory
dataset = StreamingDataset(remote='/mnt/data-obsd/mosaic/dataset', local='/tmp/dataset') # This will copy the data from $remote to $local and read the data from $local

Hi @sagnak, does my above solution work for you? I am closing this issue for now. Please feel free to re-open if you are still seeing the issue. Thanks!


Indentation on yaml snippet incorrect

It's a tab space out so leaves the ``` code markup on the line below the yaml snippet, could be confusing to anyone new to pipelines/markdown and copying the code

Looks good; thanks for the fix, @stevensnicole.


Bug when rotating screen with API 28 (PIE)

As mentioned in THIS unity forum post, there's a bug when using this plugin and rotating the screen.
I've attached a repro-project (both unity project and the Android project for the plugin)
Status Bar Unity Test.zip
Unity version es 2018.3.1.f1
It have been tested on Android Emulator (Nexus 5X API 26) and real device (One Plus 3, Api 26 too 8.0.0). In emulator everything works as expected with the exception of API 28, that shows weird behaviour when rotating the screen.
Also added a precompiled apk
Status bar test.zip

I can confirm the ugly status bars on S9 and Pixel3XL (Android 9). Will see what could be done.
(the emulator may have own issues too)

I can confirm the ugly status bars on S9 and Pixel3XL (Android 9). Will see what could be done.
(the emulator may have own issues too)

Thanks a lot for taking the time to look into it :)

I've just created an empty project with the plugin and everything by default (transparent status bar), and it's working greatly on P20pro, Pixel3xl and S9. Must be an opaque status bar issue.

I have a Fatal error too on Pie prelaunch report
FATAL EXCEPTION: main Process: com.xxx.xxx, PID: xxx java.lang.RuntimeException: Unable to pause activity {com.xxx.xxx/com.unity3d.nostatusbar.UnityPlayerActivityStatusBar}: java.util.ConcurrentModificationException 	at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:4031) 	at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3986) 	at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3938) 	at android.app.servertransaction.PauseActivityItem.execute(PauseActivityItem.java:45) 	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145) 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70) 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808) 	at android.os.Handler.dispatchMessage(Handler.java:106) 	at android.os.Looper.loop(Looper.java:193) 	at android.app.ActivityThread.main(ActivityThread.java:6669) 	at java.lang.reflect.Method.invoke(Native Method) 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) Caused by: java.util.ConcurrentModificationException 	at i.put(:com.google.android.gms.dynamite_measurementdynamite<EMAIL_ADDRESS>(100400-223214910):101) 	at fo.a(:com.google.android.gms.dynamite_measurementdynamite<EMAIL_ADDRESS>(100400-223214910):44) 	at fl.onActivityPaused(:com.google.android.gms.dynamite_measurementdynamite<EMAIL_ADDRESS>(100400-223214910):53) 	at android.app.Application.dispatchActivityPaused(Application.java:248) 	at android.app.Activity.onPause(Activity.java:1731) 	at com.unity3d.player.UnityPlayerActivity.onPause(Unknown Source:0) 	at android.app.Activity.performPause(Activity.java:7329) 	at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1465) 	at androidx.test.runner.MonitoringInstrumentation.callActivityOnPause(MonitoringInstrumentation.java:190) 	at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:4021)

I've just created an empty project with the plugin and everything by default (transparent status bar), and it's working greatly on P20pro, Pixel3xl and S9. Must be an opaque status bar issue.
I have the same issue but on S8 and android 8.0

I've just created an empty project with the plugin and everything by default (transparent status bar), and it's working greatly on P20pro, Pixel3xl and S9. Must be an opaque status bar issue.

I am getting the same issue but in S8 and Android 8.0

I'm closing this as a duplicate of #19 .


Brackets that aren’t part of links do not take precedence

See https://spec.commonmark.org/0.30/#example-522

The corresponding unit test is testfiles/CommonMark_0.30/links/042.test:
%   ---RESULT--- "example": 522,
%
%
foo [bar baz]

%
%   ---\RESULT---

<<<
*foo [bar* baz]
>>>
documentBegin
emphasis: foo [bar
documentEnd

Here is the result of running git checkout commonmark; cd tests; ./test.sh "testfiles/CommonMark_0.30/links/042.test":
Testfile testfiles/CommonMark_0.30/links/042.test
  Format templates/plain/
    Template templates/plain/input.tex.m4
      Command pdftex   --shell-escape                  --interaction=nonstopmode  test.tex
*** test-expected.log	2022-12-22 11:52:18.647255130 +0100
--- test-actual.log	2022-12-22 11:52:25.267198152 +0100
***************
*** 1,3 ****
  documentBegin
- emphasis: foo [bar
  documentEnd
--- 1,2 ----

The issue seems related to the PEG patterns for parsing direct and indirect links and images (1, 2) and emphasis, which use the rules for Gruber's Markdown (3, 4, 5) rather than CommonMark (6, 7, 8). Fixing this issue may need changes to the walkable_syntax.Inline table, which determines the precedence of inline elements.


[bug] API get error forever, no exception appear.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior (please include the full Skyplane command you ran):
[gateway_api] After read_object_store_operator_0, chunk c6e0bcce8d9346609808699a6481057e, partition 0: not complete operators [] have uploaded out of defaultdict(<class 'list'>, {'0': ['send_operator_3']}). Required completitions = 1
08:59:10 [DEBUG]  Downloaded bf1e788afe37427e9b8a83d399b6c543 from
skyplane-guangzhou.obs.cn-south-1.myhuaweicloud.com
add queue mux_or_operator_2 65
[gateway_api] After read_object_store_operator_0, chunk bf1e788afe37427e9b8a83d399b6c543, partition 0: not complete operators [] have uploaded out of defaultdict(<class 'list'>, {'0': ['send_operator_3']}). Required completitions = 1
08:59:10 [DEBUG]  Downloaded 099d96da31e2457280577f649e740ae9 from
skyplane-guangzhou.obs.cn-south-1.myhuaweicloud.com
add queue mux_or_operator_2 66
[gateway_api] After read_object_store_operator_0, chunk 099d96da31e2457280577f649e740ae9, partition 0: not complete operators [] have uploaded out of defaultdict(<class 'list'>, {'0': ['send_operator_3']}). Required completitions = 1
08:59:10 [DEBUG]  Downloaded ed04a96d06dc4ccc8a7c769906a1c9bd from
skyplane-guangzhou.obs.cn-south-1.myhuaweicloud.com
add queue mux_or_operator_2 67
[gateway_api] After read_object_store_operator_0, chunk ed04a96d06dc4ccc8a7c769906a1c9bd, partition 0: not complete operators [] have uploaded out of defaultdict(<class 'list'>, {'0': ['send_operator_3']}).

Can you include the Skyplane command that you used?

it works after merge the latest commit


Test failure on python 3.11

The test test_shots_bits_edgecases() fails with a strange error to do with AST recursion limits on Python 3.11.

Duplicate of #25 .


Initialize logger and create root context in main.go

initialize logger and context in the main.go files
pass loggers via context
set controller-runtime logger if required
use cobra context to pass context

Kind
/kind cleanup
Release Note
NONE

/retest

@wallrj I moved the bugfix to a seperate PR: https://github.com/cert-manager/cert-manager/pull/6779

/approve


Recurring: check unexpected cases

What if a task is marked as done and then unmarked?
Can we check that the next task is not duplicated?

First point done.
About the second point, I don't see it doable to check that the next task is not duplicated.. So issue closed.


Implement tensor product for arbitrary amount of arguments.

Coverage remained the same at 0.0% when pulling 484a4f6720d0529ec56d72e1ee585809d9dce943 on tensorproduct into 0e722fb5f1d2b7cdb3017314b8f4c538855ebd98 on master.


Persist the metadata about the container image and its layers

Currently, the metadata about the image is collected but used only for untarring. This could be passed back via the metadata section and properties block.

Layer manifest information is now available in the metadata block for oci type scans. There is, however, a known limitation with scans involving multiple images where the last scanned image would essentially replace this section. I will keep this open unless someone screams about this limitation.


bundle-gen: Recognize $GITHUB_USER

...because my gh username isn't the same as my $USER and I'm annoyed at
having to specify it via a CLI flag.

/assign @abutcher

/lgtm


[Bug] Tiddlers filepath/fileInfo does not update when using $:/config/FileSystemPaths

While using the following $:/config/FileSystemPath tiddler:
[is[system]removeprefix[$:/]addprefix[_system/]]
[has[draft.of]addprefix[drafts/]]
[!is[system]!has[draft.of]tag[Glossary]addprefix[glossary/]]
[!is[system]!has[draft.of]addprefix[wiki/]]

When you update the filters in that tiddler, or when you create a new tiddler with the tag Glossary, the tiddlers remain where they were when Bob was started, or they are not placed in the correct directory. It seems my filter is not returning anything, but I'm not sure why, and it s a bit hard to debug the nested callbacks involved. TiddlyWiki core has a similar issue that I have addressed here:
https://github.com/Jermolene/TiddlyWiki5/pull/4630
Unfortunately, the wiki I am focusing on right now is complicated enough that I had to stop using Bob for a little while, and use TW node.js with my fix. Let me know if I can do anything to help debug or patch this. Mahalo (thanks).

I am running (check any that apply, put an x inside the [ ] to check a box, like this: [x]):

[x] Windows
[ ] OSX
[ ] Linux
[ ] Other

and using

[x] The nodejs version
[ ] The single file executable

Before posting I read issue guidelines and:

[x] I am using the newest version
[x] The answer to my question isn't listed in the documentation or this isn't
a question
[x] This is not a duplicate issue
[x] I have not done anything that required me to set acceptance to
I Will Not Get Tech Support For This

I have the same issue following the instructions from https://tiddlywiki.com/#Customising Tiddler File Naming

This issue and https://github.com/OokTech/TW5-Bob/issues/138 stops me from using Bob, through I really want to use Bob with my Github backuper.

Will your PR https://github.com/OokTech/TW5-Bob/pull/140 fixes this?

Ouch, I can't use my private wiki solution with bob...
I had to stop using Bob for a little while too...
Can the fix be merged soon?

I met the same issue, and can not install filesystem plugin to overcome bob.

@joshuafontany is this fixed? Seems your https://github.com/Jermolene/TiddlyWiki5/pull/5113 is merged


Use of pos_threshold

Hello, thank you for your work.
I am having a little bit of hard time determining the use of pos_threshold.
I saw in the code that use_for_errors is only true when a threshold is equal to pos_treshold.
So the error are only calculated for the corresponding AP of pos_treshold.
What is the link between those errors and the computation of the maP shouldn't the error be calculated at each threshold ?
Then how to choose pos_threshold ? In my case due to my application I usually have threshold between 0 and 0.3 when evaluating my maP. What pos_threshold should I use ?
Could you give more insight about this parameter ?

Hey, did you get the answer to your question?

Hello, sorry I never got an answer and move on from this project

Cries in sed open-source noise


[FLINK-30023][changelog] increase timeout in ChangelogStorageMetricsT…

…est#testTotalAttemptsPerUpload for improving stability
What is the purpose of the change
As the title said, increase timeout in ChangelogStorageMetricsTest#testTotalAttemptsPerUpload for improving stability. Previously shorter timeouts had a chance to cause the test to fail, such as FLINK-30023 showed.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: ( no )
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)

@flinkbot run azure

Hi @rkhachatryan , can you help review this pr ?

Hi @pnowojski , can you help me review this pr ?

Thanks @rkhachatryan !


Special turn restriction not considered

Only bike should be ignored in the restrictions but car turns left too:
https://graphhopper.com/maps/?point=52.529074%2C13.375382&point=52.528696%2C13.376756&ch.disabled=true
This is the relation: https://www.openstreetmap.org/relation/6594521

Ups, wrong parameter -> ch.disabled -> ch.disable


Fix .phar URL in README.md

get.insight.sensiolabs.com/insight.phar does not work and it took me some time to find the right URL...

Thanks!


Using sphinx toc functions

This PR refactors our navigation bar, sidebar, and table of contents logic to use Sphinx toc functions instead of our own custom parsers. However, the output shouldn't change because it uses beautifulsoup to parse the HTML that Sphinx gives us in order to add the right classes and structure.
In implementing this, I also noticed some other bugs that our old parsing code had, that we didn't notice. (e.g., in our demo page, clicking the api documentation sidebar link doesn't expand that page's children). This should fix those bugs too since we're just using the basic Sphinx sidebar functionality, nothing custom.
Pros

This code is (IMO) much, much simpler and more maintainable than using a ton of custom jinja templates + python code to parse docutils
We will be more resistant to bugs over time, because we depend on Sphinx for handling the logic of toc / sidebar / etc
We'll get more predictable behavior for "toctree" features (such as :numbered:)
This theme should now behave more consistently with other sphinx themes

Cons

We add a dependency on beautifulsoup (which I hope isn't too bad, since that is such a standard in the Python world)

@jorisvandenbossche would love to know what you think here
resolves #220 #110
also can resolve #218 #135 (but needs tests)

Friendly ping on this - this PR is also fixing a pretty big bug that we're experiencing in the Jupyter docs (pages that are > 2 levels deep don't show up in the sidebar). I could try to implement this fix with our current docutils approach but it seemed like this PR would actually be a simpler way to solve the bug and solve ourselves some headache in the future as well...

(I am only just back, will try to take a look at this tomorrow, but from the description I am not fully fond of the idea ... but maybe we should have a call about it one of the coming days to easier discuss it?)

I'm happy to take a call to chat it through. This PR was mostly borne out of me being frustrated with debugging issues over and over again in our custom docutils parsing code :-)

@jorisvandenbossche I just pushed an update to this PR that adds the ability for the get_nav_object function to return a raw BeautifulSoup object with minor modifications, in case theme editors would like to use it.
I also tested out how this could be used by a theme by trying it out in the sphinx-book-theme. You can see that in action in this PR: https://github.com/executablebooks/sphinx-book-theme/pull/130
In particular, see how I'm calling get_nav_object here:
https://github.com/executablebooks/sphinx-book-theme/pull/130/files#diff-95c3c14f442154a7a77462f1e36e81e7R56
I'm then just doing some minor editing to that BeautifulSoup object and then returning my own HTML.

Just a note that I'm just gonna implement this for the SBT theme. I'd really prefer to upstream this but I can't wait super long to get it in. Here's the PR that we can use for reference in the future:
https://github.com/executablebooks/sphinx-book-theme/pull/130
Note that as I was implementing that PR, I also realized that sphinx-style page / section numbering also doesn't work in this theme (unless we manually add it in), so we should document that (or get this PR merged)

Just a note that I'm just gonna implement this for the SBT theme. I'd really prefer to upstream this but I can't wait super long to get it in.

OK, no problem, that way it can be test drived in jupyter-book-theme before upstreaming it ;-)
Sorry for the delay, and leaving now for holidays. But as I said on our call: I am certainly on board with the idea! (but I haven't yet been able to test it with some other projects)

@jorisvandenbossche what are your thoughts on this? FWIW we've had this in jupyter book for a few months now and it has worked fine.

FWIW, this PR changed numpy document build time (without multiprocessing via -j) from 300 secs to 352 secs. Most of the time is spent in page writing. Is that expected?

I wouldn't expect much performance change unless beautifulsoup is being extremely inefficient somehow...that's weird

Enjoy your new life.

Something else I just realized is that I think we could deprecate our bespoke external links configuration if we used Sphinx's TOC function. This is because sphinx allows for external links in the toctree

@choldgraf sorry for the unresponsiveness here. I would like to get back to this, and will look into rebasing this. But I was also wondering: do you have an idea if there have been changes to the respective code in sphinx-book-theme that should ideally be added here as well?

@jorisvandenbossche mmm I imagine there likely are other things that I can upstream, in general I have tried to implement the simpler ones (e.g. #278) but have held off on the larger ones until I know that it's of interest here. I think that this one is the last major structural change though...I'll keep my eye out for anything else

TODO:

[ ] external links in navbar
[ ] show_toc_level option
[ ] sidebar html without skipping first level

thanks for the pushes! can you update your "to do" list to reflect the things that you've tackled here?

@jorisvandenbossche do you think that we can leave:

sidebar html without skipping first level

to another PR? It feels to me like a feature request whereas this PR is meant to be a more "under the hood" change that doesn't affect end functionality but makes the theme less buggy. Then we can just merge this one now so it's easier to iterate with smaller updates. What do you think?

@jorisvandenbossche do you think that we can leave:

sidebar html without skipping first level

to another PR? It feels to me like a feature request whereas this PR is meant to be a more "under the hood" change that doesn't affect end functionality but makes the theme less buggy. Then we can just merge this one now so it's easier to iterate with smaller updates. What do you think?

ping @jorisvandenbossche - I wanna get this PR merged before it goes stale again but I don't have the bandwidth to implement the extra logic for the sidebar right now...

ping @jorisvandenbossche - I wanna get this PR merged before it goes stale again but I don't have the bandwidth to implement the extra logic for the sidebar right now...

@choldgraf reviving this. This PR certainly doesn't need to do everything that is possible with the new functions.
Some things I noticed while now trying out further:

The TOC for a page with multiple top-level headers doesn't work anymore: https://pydata-sphinx-theme--219.org.readthedocs.build/en/219/demo/mult_headers.html. That's probably something we should fix here.
Currently toctree "captions" are not yet included in the output (so this doesn't yet resolve #135), and also if I include them, they are not styled appropriately at all. This can easily go in a follow-up PR.

@choldgraf reviving this. This PR certainly doesn't need to do everything that is possible with the new functions.
Some things I noticed while now trying out further:

The TOC for a page with multiple top-level headers doesn't work anymore: https://pydata-sphinx-theme--219.org.readthedocs.build/en/219/demo/mult_headers.html. That's probably something we should fix here.
Currently toctree "captions" are not yet included in the output (so this doesn't yet resolve #135), and also if I include them, they are not styled appropriately at all. This can easily go in a follow-up PR.

The TOC for a page with multiple top-level headers doesn't work anymore

This is actually something you fixed in https://github.com/executablebooks/sphinx-book-theme/pull/215, so copied that part of the PR here.

The TOC for a page with multiple top-level headers doesn't work anymore

This is actually something you fixed in https://github.com/executablebooks/sphinx-book-theme/pull/215, so copied that part of the PR here.

So it sounds like we are good to merge this, and then we'll need to re-implement https://github.com/pandas-dev/pydata-sphinx-theme/pull/135 using the new setup, right?

So it sounds like we are good to merge this, and then we'll need to re-implement https://github.com/pandas-dev/pydata-sphinx-theme/pull/135 using the new setup, right?

OK, this is merged ;)
I further removed the header-page CSS, renamed the new functions that returns the HTML to make the name more correct (generate_nav_html, like in sphinx book theme), and added a quick version of the old functions based on beautifulsoup for some backwards compatibility (we can see if we then want to deprecate them).

So it sounds like we are good to merge this, and then we'll need to re-implement #135 using the new setup, right?

Indeed, next steps are adding support for captions, and I also want to add support for collapsing subsections in the sidebar.
I have a messy branch experimenting with those on top of this PR, will try to extract some PRs from it.

OK, this is merged ;)
I further removed the header-page CSS, renamed the new functions that returns the HTML to make the name more correct (generate_nav_html, like in sphinx book theme), and added a quick version of the old functions based on beautifulsoup for some backwards compatibility (we can see if we then want to deprecate them).

So it sounds like we are good to merge this, and then we'll need to re-implement #135 using the new setup, right?

Indeed, next steps are adding support for captions, and I also want to add support for collapsing subsections in the sidebar.
I have a messy branch experimenting with those on top of this PR, will try to extract some PRs from it.

hooray! what a journey :-)
are there issues for collapsible sidebar items etc? We should make sure not to lose those threads (and many may be upstreamable from the book theme)

hooray! what a journey :-)
are there issues for collapsible sidebar items etc? We should make sure not to lose those threads (and many may be upstreamable from the book theme)

OK, this is merged ;)
I further removed the header-page CSS, renamed the new functions that returns the HTML to make the name more correct (generate_nav_html, like in sphinx book theme), and added a quick version of the old functions based on beautifulsoup for some backwards compatibility (we can see if we then want to deprecate them).

So it sounds like we are good to merge this, and then we'll need to re-implement #135 using the new setup, right?

Indeed, next steps are adding support for captions, and I also want to add support for collapsing subsections in the sidebar.
I have a messy branch experimenting with those on top of this PR, will try to extract some PRs from it.

Support for captions and collapsing subsections~ Wohh sounds wonderful. 👍


Bugfix/allow removal with altered state

Attempting to resolve #485

Pushing back staleness, just waiting for PR review


Remove execution team from trial per request

I've triggered a build for you. Click here to see all failures if there's any.


catalog_set yields both "ok" and "impossible"

When a catalog has its homepage already set, directly calling catalog_set(reckless="overwrite") updates the setting, but yields both "ok" and "impossible" results.
catalog_set(ok): catalog [Home page successfully set to: dataset_id=1234, dataset_version=latest.]
catalog_set(impossible): catalog [Home page already set: dataset_id=1234, dataset_version=2137.To overwrite this property, use '--reckless overwrite']
action summary:
  catalog_set (impossible: 1, ok: 1)
(...)
datalad.support.exceptions.IncompleteResultsError: Command did not complete successfully. 1 failed:
(...)

This is because when catalog_set() is called, yield does not terminate execution, and the code seems to be taking a shortcut / missing an else statement.
(although, when used inside another function, yield from catalog_set() would indeed stop at first yield.

Thanks for catching this @mslw ! I will fix it up and work it into the release.


chore(ci): Add buf format

New release of Buf adds the long-awaited format command.
Signed-off-by: Charith Ellawala<EMAIL_ADDRESS>

Codecov Report

Merging #797 (232e9db) into main (5228104) will increase coverage by 0.21%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #797      +/-   ##
==========================================
+ Coverage   54.52%   54.74%   +0.21%
==========================================
  Files          96       96
  Lines       10168    10168
==========================================
+ Hits         5544     5566      +22
+ Misses       4146     4126      -20
+ Partials      478      476       -2

Impacted Files
Coverage Δ

internal/engine/engine.go
69.97% <0.00%> (+0.80%)
:arrow_up:

internal/storage/index/builder.go
83.90% <0.00%> (+5.17%)
:arrow_up:

internal/compile/errors.go
55.55% <0.00%> (+15.87%)
:arrow_up:

Since I merged #789, I think we need to rebase this PR and run make clean-tools && make generate commands.


"data" is not found after executing the code on Github

Hello,
Could anybody please guide me that how I can run the standard BioGPT model by using the current below code?
import torch from fairseq.models.transformer_lm import TransformerLanguageModel m = TransformerLanguageModel.from_pretrained(         "checkpoints/Pre-trained-BioGPT",          "checkpoint.pt",          "data",         tokenizer='moses',          bpe='fastbpe',          bpe_codes="data/bpecodes",         min_len=100,         max_len_b=1024) m.cuda() src_tokens = m.encode("COVID-19 is") generate = m.generate([src_tokens], beam=5)[0] output = m.decode(generate[0]["tokens"]) print(output)
After running this, I always get the error that the data is not found. Not sure if I have to download the data from an external source separately or not.
Thanks

I am getting the same error

@thiptanawatp did you clone the repo itself? It contains the data.

I did both download in .ZIP file manually and git clone ... but the data didn't appear under the BioGPT/data folder except "bpecodes and dict.txt. Any suggestion?
Thanks so much

Did you cd to the repo before you run your script, or at least add path of repo to PATH of python?


doc: more RTD theme tweaks

Change logo and increase logo size, remove RTD links to github source,
add CSS for :kbd: role (keyboard key press), change logo link to project
home rather than doc home (via zephyr-custom.js). Update 404 error page
for wider page layout, force page break before footer, show URL that got
you to the 404 page.
Signed-off-by: David B. Kinder<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master    #9200   +/-   ##
=======================================
  Coverage   52.73%   52.73%
=======================================
  Files         201      201
  Lines       25296    25296
  Branches     5286     5286
=======================================
  Hits        13341    13341
  Misses       9826     9826
  Partials     2129     2129

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 c1bf735...9bfe02a. Read the comment docs.


Added Footer

Pull Request
Description
Added Footer
Type of change

[x] Website enhancement or fixes

Checklist:

[x] I read carefully CONTRIBUTING.md
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation

Screenshots (if appropriate):

Additional

Make the anchor text color white as well.

@jfmartinz Could you send me screenshot of anchor for which I have to change the color  ?


[BUG] Do you want to install the certificate when dont_install_cert: true

:information_source: Info
Using msix v3.12.2
:speech_balloon: Description
With the option in pubspec.yaml to be dont_install_cert: true I'm still prompted asking if I want to install the certificate??
Building package executable...
Built msix:create.
[     0.017s] parsing cli arguments
[     0.139s] validating config values
[     0.148s] running "flutter build windows"...
[    13.639s] building msix files...
[    13.640s] validating build files
[    13.648s] cleaning temporary files
[    13.660s] create app icons
[    13.661s] generating icons
[    20.909s] copying VC libraries
[    20.923s] getting certificate publisher
[    20.925s] getting certificate "Subject" by file certificate
[    21.242s] generate appx manifest
[    21.248s] generate package resource indexing files
[    21.360s] packing msix files...
[    21.361s] packing
[    23.687s] cleaning temporary files
[    23.979s] installing certificate
[    23.980s]
Do you want to install the certificate: "code.sign.certificate.pfx" ? (y/N) n <<<<<=== shouldn't this be silent ??
[ 1m 39.697s] signing
msix created: build/windows/runner/Release/myapp.msix
:scroll: Pubspec.yaml
msix_config:
logo_path: assets\icons\1024_trans.png
trim_logo: false
display_name: myapp
publisher_display_name: G Slender
identity_name: gslender
msix_version: <IP_ADDRESS>19
certificate_path: certificate.pfx
certificate_password: ######
dont_install_cert: true
We ask that you include your pubspec.yaml file as a common problem we have seen has been the pubspec.yaml file being incorrect

Hello
Look here
https://github.com/YehudaKremer/msix/blob/main/CHANGELOG.md#breaking-changes-3

I have still the same issue with v3.16.1
my pubspec:
msix_config:
display_name: xxx
publisher_display_name: xxx
identity_name: com.xx.xx
msix_version: <IP_ADDRESS>
logo_path: 'assets\xxx.png'
dont_install_cert: true
show_prompt: false

should I open a new issue?


Change active record template

rails destroy feature:install was not working.
Change isntall generator to take input from user so table name / class
name can be defined by user.
Adds specs for install template. Could not add migration spec. Had some
problems with timestamp

Coverage decreased (-59.6%) to 37.38% when pulling 7d693bc9ca83f9ea81eb3d3a5790326a1123aad1 on laertispappas:lp/generator_destroy_fix into 37ea89a1dfbb6a19f56d4e14212f67a36e7d8889 on mgsnova:master.


Subscription cleanup script

Added parameter handling and rewrote a bunch of other stuff.
Old PR: https://github.com/Azure/azure-sdk-tools/pull/533

@kurtzeborn do we still need this PR?


Fallback translated attribute

I am trying to create multiple forms for each locale. When I repopulate a model that is stored only in English, but the app locale is set to another language (e.g. French), all translatable attributes are null, even with getNameAttribute() and other accessors.
Has anybody an idea on how to create a fallback feature?
If $article->title is null in current locale, it'll use the fallback locale (usually en).
Thanks in advance.

Have you tried setting fallback to true in the configure file?

Can't believe I forgot about this. Should not ask questions at this time. :D Thank you!

It's okay, good that you solved it!


ValueError when trying to create a new classification model

So digits was running great up until yesterday afternoon. I was playing around with custom networks and and a situation very similar to #831 occurred. This morning I removed the faulty job like was recommended in #831 and the models are showing up again.
Now when I try to create a new classification model I get "ValueError too many values to unpack". The same thing happens when I try to clone a previous model.  There's nothing useful showing up in digits.log to give me any idea as to what's causing this. Also, I have no problems reaching any of the other network types, it's only classification that is throwing this error.
I'm using V5.1-dev

Here's the traceback:
 Traceback (most recent call last):
  File "/rgroup/dsig/pkgs/anaconda/envs/digits/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/rgroup/dsig/pkgs/anaconda/envs/digits/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/nas/rgroup/dsig/pkgs/DIGITS/digits/webapp.py", line 82, in decorated
    return f(*args, **kwargs)
  File "/nas/rgroup/dsig/pkgs/DIGITS/digits/utils/auth.py", line 55, in decorated
    return f(*args, **kwargs)
  File "/nas/rgroup/dsig/pkgs/DIGITS/digits/model/images/classification/views.py", line 85, in new
    multi_gpu=config_value('caffe')['multi_gpu'],
  File "/rgroup/dsig/pkgs/anaconda/envs/digits/lib/python2.7/site-packages/flask/templating.py", line 128, in render_template
    context, ctx.app)
  File "/rgroup/dsig/pkgs/anaconda/envs/digits/lib/python2.7/site-packages/flask/templating.py", line 110, in _render
    rv = template.render(context)
  File "/rgroup/dsig/pkgs/anaconda/envs/digits/lib/python2.7/site-packages/jinja2/environment.py", line 1008, in render
    return self.environment.handle_exception(exc_info, True)
  File "/rgroup/dsig/pkgs/anaconda/envs/digits/lib/python2.7/site-packages/jinja2/environment.py", line 780, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/nas/rgroup/dsig/pkgs/DIGITS/digits/templates/models/images/classification/new.html", line 7, in top-level template code
    {% extends "layout.html" %}
  File "/nas/rgroup/dsig/pkgs/DIGITS/digits/templates/layout.html", line 86, in top-level template code
    {% block content %}
  File "/nas/rgroup/dsig/pkgs/DIGITS/digits/templates/models/images/classification/new.html", line 517, in block "content"
    {% include "models/images/classification/partials/new/network_tab_standard.html" %}
  File "/nas/rgroup/dsig/pkgs/DIGITS/digits/templates/models/images/classification/partials/new/network_tab_standard.html", line 23, in top-level template code
    {% for network in form.standard_networks %}
  File "/rgroup/dsig/pkgs/anaconda/envs/digits/lib/python2.7/site-packages/wtforms/fields/core.py", line 429, in __iter__
    for i, (value, label, checked) in enumerate(self.iter_choices()):
  File "/rgroup/dsig/pkgs/anaconda/envs/digits/lib/python2.7/site-packages/wtforms/fields/core.py", line 451, in iter_choices
    for value, label in self.choices:
ValueError: too many values to unpack

You're using anaconda, so I bet the wrong version of some of the requirements. I'd check wtforms based on that traceback.

I tried creating a new environment and made sure the dependencies were all correct and I'm still getting the same error. Here is the output from conda list
packages in environment at /rgroup/dsig/pkgs/anaconda/envs/digits_test:

backports                 1.0                      py27_0
cycler                    0.10.0                    <pip>
decorator                 4.0.11                   py27_0
enum34                    1.1.6                    py27_0
Flask                     0.10.1                    <pip>
Flask-SocketIO            2.6                       <pip>
Flask-WTF                 0.12                      <pip>
get_terminal_size         1.0.0                    py27_0
gevent                    1.1.0                     <pip>
gevent-websocket          0.9.3                     <pip>
greenlet                  0.4.12                    <pip>
h5py                      2.6.0                     <pip>
ipython                   5.3.0                    py27_0
ipython_genutils          0.2.0                    py27_0
itsdangerous              0.24                      <pip>
Jinja2                    2.9.6                     <pip>
libpng                    1.6.27                        0
lmdb                      0.87                      <pip>
MarkupSafe                1.0                       <pip>
matplotlib                1.5.1                     <pip>
networkx                  1.11                      <pip>
numpy                     1.11.0                    <pip>
openssl                   1.0.2l                        0
path.py                   10.3.1                   py27_0
pathlib2                  2.2.1                    py27_0
pexpect                   4.2.1                    py27_0
pickleshare               0.7.4                    py27_0
Pillow                    3.1.2                     <pip>
pip                       9.0.1                    py27_1
prompt_toolkit            1.0.14                   py27_0
protobuf                  2.6.1                     <pip>
psutil                    3.4.2                     <pip>
ptyprocess                0.5.1                    py27_0
pydot                     1.0.29                    <pip>
pygments                  2.2.0                    py27_0
pyparsing                 1.5.7                     <pip>
pyside                    1.2.1                    py27_1
python                    2.7.13                        0
python-dateutil           2.6.0                     <pip>
python-engineio           1.5.4                     <pip>
python-socketio           1.7.5                     <pip>
pytz                      2017.2                    <pip>
PyWavelets                0.5.2                     <pip>
qt                        4.8.5                         0
readline                  6.2                           2
requests                  2.9.1                     <pip>
scandir                   1.5                      py27_0
scikit-fmm                0.0.9                     <pip>
scikit-image              0.13.0                    <pip>
scipy                     0.17.0                    <pip>
setuptools                20.7.0                   py27_0
shiboken                  1.2.1                    py27_0
simplegeneric             0.8.1                    py27_1
six                       1.10.0                   py27_0
sqlite                    3.13.0                        0
tk                        8.5.18                        0
traitlets                 4.3.2                    py27_0
wcwidth                   0.1.7                    py27_0
Werkzeug                  0.12.2                    <pip>
wheel                     0.29.0                   py27_0
WTForms                   2.1                       <pip>
zlib                      1.2.8                         3

I'm not very familiar with Flask or wtforms so I'm pretty lost on how to fix this.

I suggest actually following the installation instructions we provide. While you should be able to make it work with Conda, that's not an installation path that we officially support or provide instructions for.


consumed (previously with_input) parser combinator

This replaces #1127
This pull request adds a new parser combinator, similar to recognize. This combinator, called "consumed," returns the consumed input along with the parser result.
TODO:

[x] Implement combinator
[x] Write documentation
[x] Modify combinator list
[ ] Macro version.

Comments and feedback appreciated!

Coverage increased (+0.03%) to 87.583% when pulling bcf09c88617a992dda2120868cdcedf22f8ca9af on Alfriadox:master into b889d7c7e1879e3ff0a79bde61972f6662ed9ea7 on Geal:master.

@Geal I cannot create a proper macro version of this combinator similar to the one for recognize! because the output type conflicts with the one specified in named!. Otherwise this PR should be ready for merge. What are your thoughts?

I'm not a native English speaker. consumed is not very self describing in my opinion.

@Stargateur That's understandable! What would you suggest as a name -- I don't want to make it too verbose.

When this PR is merged I think it should close #1183. I don't have the permissions to link the issue right now though I think.

thank you for this new combinator!  Don't worry about the macro version, they're not used as much these days


GKE cluster appears Down

Using
Nexus 5x
Android 8.1.0
bitnami 0.4.2
Login with Google, I see my projects, select the one with the cluster and see the cluster and add it.
The cluster always seems down.
(I'm not the only one in my company seeing the same problem)

Nexus5x, 8.1. The same problem. Cluster have status down.
Also I see there is the same problem with Kubernetic.
Maybe it was some change in GKE api?

@Mistic92 which version of k8s are you on ?

1.9.2-gke.0

Oh yup, 1.9.2 is in beta.
Currently legacy but I'll be recreating cluster and will use RBAC

this works fine for me on iOS 11.2.2 with 1.9.2-gke.1

We are getting ready to release 0.5.0 where this should be fixed.


replication_type = "SYNCHRONOUS" coming after every apply

Hi,
We are using google provider version 3.39.0 and when running the plan off late the replication_type=SYNCHRONOUS comes
 settings {
2405            activation_policy           = "ALWAYS"
2406            authorized_gae_applications = []
2407            availability_type           = "ZONAL"
2408            crash_safe_replication      = false
2409            disk_autoresize             = false
2410            disk_size                   = 20
2411            disk_type                   = "PD_SSD"
2412            pricing_plan                = "PER_USE"
2413          + replication_type            = "SYNCHRONOUS"
2414            tier                        = "db-custom-1-3840"
2415            user_labels                 = {

Even though the apply goes well, for each and every plan this comes again. Any idea on how we can resolved the issue?

This sounds like a provider issue: https://github.com/hashicorp/terraform-provider-google


fix: LSDV-4539: Don't show history for wrong anno

Hi @hlomzik!
This PR was created in response to a PRs in upstream repo:

https://github.com/heartexlabs/label-studio-frontend/pull/1178

already merged by https://github.com/heartexlabs/label-studio/pull/3576


Skip tech lead updates on sprint kickoff Mondays

This PR adds some advice for skipping tech lead updates on Mondays where we've done a sprint kickoff since we've already covered this stuff. I also did some random cleanup, hope that's ok! This closes https://github.com/artsy/potential/issues/170.

@orta fixed with f9bf955 ❤


Handle automatically downranked abilities on lower levels

Abilities automatically downrank for the highest available rank for a lowbie character.
The easiest way would be just ignoring detections if the target is <=10 levels lower than the caster.

Looks like UnitLevel returns 0 for playername lookups of non-grouped members.
Dump: value=UnitLevel("target")
[1]=1
Dump: value=UnitLevel("Oldbeggar")
[1]=0
Dump: UnitLevel(UnitName("target"))
[1]=0


Switch to no-wheelhouse base image

NOTE: I've tested that the image builds successfully, but nothing more than that. Someone still needs to check that it actually works properly.

We can also go up to Python 3.10 if you want to, the CI tests 3.7-3.10

Switching to GHCR (or pushing to both GHCR and dockerhub) is definitely worth doing. Adding branch/PR builds would probably also be useful. I'll leave those things to you, though.
Happy to switch to 3.10. We should probably add 3.11 to the base image builds now that it's been out for a while.

Happy to upgrade psycopg2 version, as long as it's compatible with Django 3.2, we're not calling the library directly (just pinned for reproducable builds). Can also stay on Python 3.9 for now.

Closing this because I started https://github.com/praekeltfoundation/flow-results/pull/18


HAMT backed by Array

There is no significant difference in travis (-10%), but runs 2 times faster on my computer.

Great improvement!!
That shows that we can't rely on travis-ci for measuring performance. It is a cloud, cpu is utilized virtually - we don't know what other boxes are running on the same hardware and eating cpu in this virtual env.

I don't know... I tested it with data size = 100k instead of 5k on travis...

Thx!


Email job fails with authentication error

Hi,
i'm trying to enqueue a send_mail job as follows:
django_rq.enqueue(
       send_mail,
       newClaim.linkedOffer.commsPromoHeadline,
       msg_plain,
       settings.DEFAULT_FROM_EMAIL,
       [newRecipient.email],
       html_message=msg_html,
   )

this fails with an authentication error (see further down).
The following code block works however (no enqueueing):
send_mail(
    newClaim.linkedOffer.commsPromoHeadline,
    msg_plain,
    settings.DEFAULT_FROM_EMAIL,
    [newRecipient.email],
    html_message=msg_html,
)

Error produced when django-rq is being used is:
Traceback (most recent call last):
  File "/home/user1/webapps/dev_django_platform/ENV/lib/python2.7/site-packages/rq/worker.py", line 568, in perform_job
    rv = job.perform()
  File "/home/user1/webapps/dev_django_platform/ENV/lib/python2.7/site-packages/rq/job.py", line 495, in perform
    self._result = self.func(*self.args, **self.kwargs)
  File "/home/user1/webapps/dev_django_platform/lib/python2.7/Django-1.7.7-py2.7.egg/django/core/mail/__init__.py", line 62, in send_mail
    return mail.send()
  File "/home/user1/webapps/dev_django_platform/lib/python2.7/Django-1.7.7-py2.7.egg/django/core/mail/message.py", line 286, in send
    return self.get_connection(fail_silently).send_messages([self])
  File "/home/user1/webapps/dev_django_platform/lib/python2.7/Django-1.7.7-py2.7.egg/django/core/mail/backends/smtp.py", line 92, in send_messages
    new_conn_created = self.open()
  File "/home/user1/webapps/dev_django_platform/lib/python2.7/Django-1.7.7-py2.7.egg/django/core/mail/backends/smtp.py", line 59, in open
    self.connection.login(self.username, self.password)
  File "/usr/local/lib/python2.7/smtplib.py", line 622, in login
    raise SMTPAuthenticationError(code, resp)
SMTPAuthenticationError: (535, '5.7.3 Authentication unsuccessful')

Any ideas how I can get django-rq working for this? It's been suggested here http://stackoverflow.com/a/34642770/763880 that it's because a worker would not have access to all of the details to make a successful connection such as authentication details that might be contained in Django settings?

This is not a but in django-rq so I'm gonna close this issue. Try printing out all the SMTP related settings in your function and see if your worker correctly reads them.
You're running the worker with "python manage.py rqworker", right?


Display X-Axis values as time only, not date and time

Question: I add values to the bar plot as date/time, but I want the X-Axis to display as time only.
ScottPlot Version: 5.0.38/39
Code Sample: .plot.add.bar(, value>
And the x-axis display displays the date and the time, I want just the time.

https://scottplot.net/cookbook/5.0/DateTimeAxes/DateTimeAxisCustomFormatter/

I found that, but can't figure out how to implement it in VB.Net.  I can set a variable to .RenderManager.RenderStarting, but can't figure out how to get my code called.  Any tips?

https://scottplot.net/faq/render-starting/#customizing-automatic-ticks

According to ChatGPT:

Documentation for a C# library says there is an event called RenderStarting. I am using this library in my VB.NET application. How can I invoke that event?

In VB.NET, you can handle events from a C# library in a similar way to handling events in VB.NET libraries. You don't "invoke" events directly, but you can subscribe to them and write code to run when they are raised by the library. Here’s how you can subscribe to the RenderStarting event in your VB.NET application:
Step 1: Add a Handler for the Event
Assuming RenderStarting is an event of an object renderObject, you can use the AddHandler keyword to connect the event to an event handler subroutine.
' Declare and create an instance of the object (assuming it’s called "RenderObjectType")
Dim renderObject As New RenderObjectType()

' Subscribe to the RenderStarting event
AddHandler renderObject.RenderStarting, AddressOf OnRenderStarting

Step 2: Define the Event Handler Subroutine
This subroutine will be executed whenever the RenderStarting event is raised by renderObject.
Private Sub OnRenderStarting(sender As Object, e As EventArgs)
    ' Code to execute when RenderStarting is raised
    Console.WriteLine("Render is starting.")
End Sub

Complete Example
Here’s a full example, assuming RenderObjectType is the type containing the RenderStarting event:
Imports System

Module Module1
    Sub Main()
        ' Create an instance of the object
        Dim renderObject As New RenderObjectType()

        ' Attach the event handler
        AddHandler renderObject.RenderStarting, AddressOf OnRenderStarting

        ' Now, when renderObject triggers the RenderStarting event, OnRenderStarting will be called
    End Sub

    ' Define the event handler method
    Private Sub OnRenderStarting(sender As Object, e As EventArgs)
        Console.WriteLine("Render is starting.")
    End Sub
End Module

Now, whenever the RenderStarting event is triggered by renderObject, your OnRenderStarting subroutine will run, and you’ll see the message "Render is starting." printed to the console.
Notes

The parameters of the event handler method must match the signature of the event. In this case, RenderStarting uses (sender As Object, e As EventArgs).
If RenderStarting uses a custom event argument type, replace EventArgs with that type in your handler.


Apply Form component to backup settings form

The next form to be converted over to using the Form component.  Uses saveChanges like the others.

Coverage remained the same at 85.098% when pulling 022db7c6b9b1316f566254168d3e5b10ba112ca0 on abemassry:apply-form-component-backup-settings into 683a2b8e72ba4272dab55b6d3cde5f298f21ce3d on linode:master.


Add Database helper type: Either

Describe the feature
under some circumstances it might be useful to use two different Database implementations.
we currently don't have an Either type for this
eventually this should be upstreamed to revm directly, but we can introduce this here first
https://github.com/paradigmxyz/reth/blob/460e26cc51c1902cac88b7287c7491976478ca18/crates/revm/src/lib.rs#L15-L15
TODO

add new modules mod either  and enum Either that implements Database if both variants implement database.

pub enum Either<L, R> {
    /// A value of type `L`.
    Left(L),
    /// A value of type `R`.
    Right(R),
}

Additional context
No response

Hi @mattsse 🙌


Update i18n for project feature

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

Proposed changes
I updated i18n support for project feature.
Checklist

[x] I have read the contribution guidelines
[ ] For non-bugfix PRs, I have discussed this change on the mailing list/slack team.
[x] I have run grunt to verify the unit tests pass
[ ] I have added suitable unit tests to cover the new/changed functionality

@knolleary Thank you 👍


show leaderboard and detailed result page to approved participants only

@ mention of reviewers
@Didayolo
A brief description of the purpose of the changes contained in this PR.
Previously Pending and Denied participants were able to see leaderboard and then see detailed results page.
NOW only approved participants can see leaderboard and detailed result
Screenshots
Leaderboard:
approved participants will see

pending participants will see

denied participants will see

Detailed result
approved participants will see

pending participants will see

denied participants will see

Issues this PR resolves

#1475

Checklist

[x] Code review by me
[x] Hand tested by me
[x] I'm proud of my work
[ ] Code review by reviewer
[ ] Hand tested by reviewer
[x] CircleCi tests are passing
[ ] Ready to merge

@ihsaan-ullah When the user is neither "Pending" or "Denied", there is no message on the leaderboard:

Not a participant (status == null)

Pending participant

Denied participant

Approved participant


Why didn't these METS items get through the pipeline?

Quoting Ashley in platform-feedback:

No rush on this but I have three items that aren't showing up in the Catalogue API for IIIF Builder to put online and I'm not sure why. They're unsuppressed in Sierra: b22006771, b30457701, b30547659

b22006771 – we have picked up the unsuppressed record, why isn't it in the pipeline?

Passed to Ashley & Branwen to look at the graphs

All sorted now, thanks!

Super, thanks!


Deprecate progress_bar_refresh_rate from Trainer constructor

What does this PR do?
Fixes #9500
Does your PR introduce any breaking changes? If yes, please list them.

Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

In what cases would a user want to disable progress bar? Also, what do you think about #9500 (comment)

user preference: in case people find it unhelpful or visually unappealing or spamming outputs for whatever reason, they should be able to disable it
unit tests: its never looked at there, so we could disable it for marginally faster tests and reduced log output in the tests

One of the roles that progress bar refresh rate is serving is to disable the progress bar by setting the rate to 0.
With this flag deprecated, we still need a way for users to disable this setting.
The pattern for features that are by default enabled has been to have a boolean flag for this. For example enable_progress_bar: bool = True on the trainer constructor makes this easy to toggle on/off.
This would match what we've done for checkpointing and what we will do for the model summary.
@awaelchli what do you think?

I would be fine with this option, but to be consistent, let call it progress_bar_callback: bool = True/False,

sounds good I will add a boolean flag to enable the progress_bar. @tchaton I am not a big fan of calling it progress_bar_callback because then it sounds like the argument is literally a progress bar callback, and it is not clear that it is a boolean flag. I believe we have the same issue with checkpoint_callback, and I think it would make sense to change that flag to something like enable_checkpoint_callback

sounds good I will add a boolean flag to enable the progress_bar. @tchaton I am not a big fan of calling it progress_bar_callback because then it sounds like the argument is literally a progress bar callback, and it is not clear that it is a boolean flag. I believe we have the same issue with checkpoint_callback, and I think it would make sense to change that flag to something like enable_checkpoint_callback

I agree. Ideally, we would have enable_checkpointing and enable_progress_bar

I agree. Ideally, we would have enable_checkpointing and enable_progress_bar

what would be the logic then, how many progressBar callbacks you would have to define, assuming you have a bar per step in validation, training?

@Borda please see my comment here for a summary of why I think this makes sense: https://github.com/PyTorchLightning/pytorch-lightning/issues/9500#issuecomment-923411053

this pushed all users to learn and define special progress bar callback just for trivial adjustment

whether trivial or not, I think all adjustments should go in callbacks, otherwise the Trainer constructor gets cluttered with lots of different "trivial adjustments"

what would be the logic then, how many progressBar callbacks you would have to define, assuming you have a bar per step in validation, training?

Not sure what you mean by multiple progress bar callbacks... I believe we only allow one.  Once this deprecation is complete and we have enable_progress_bar (#9664), the logic will be if enable_progress_bar is True, create a default ProgressBar with a refresh_rate of 1 (20 if in Colab notebook) upon Trainer initialization.

Great work @daniellepintz!


Performance issue with media-heavy project

Hi,
I'm working on a Hugo project with a lot of media (~2000 files, mostly images and some PDFs) stored in /static/media and I'm using GitLab as a git provider and Static CMS v2.2.0.
When I want to display a single post from a big posts collection (~500 items), why does the app need to fetch all the repo images before being able to display the editor UI? Wouldn't there be a way to avoid all these requests and improve app performance?

As it is, it becomes almost impossible for content editors to use Static CMS to update their website content because of the slowness of the app (each page sometimes takes more than 1 minute to load).

I think it is for the grid view, as there a preview of the head image is provided. You should be able to avoid it buy using a custom preview card template which doesn't involve previewing images (https://www.staticcms.de/docs/custom-previews#collection-card-preview)

Yeah this behavior is not desirable. It ideally would:

Wait to load only the first few image when you actually open up the media library
Load in the other images as necessary.

Is it something that can be improved easily or does it need a lot of rework?

Actually I'm double checking, that is what the media library is suppose to be doing already.
Which page are you loading when you see all the requests? The main collection view or the editor itself?

All media (images and files) are stored at the root media_folder
The massive requests occurs when I'm clicking on any page from any collection (not the main collection view but the editor itself).

Actually I'm double checking, that is what the media library is suppose to be doing already.
Which page are you loading when you see all the requests? The main collection view or the editor itself?

At some point, media is loaded and saved in the entry state (mediaPaths entry property / state.mediaLibrary) which I already noticed when implementing folder support. I didn't manage to find out when that happens though

A list of them is loaded into the entry but its only the meta data. The actual file is not loaded until its needed for display.
I've been trying without success to replicate this. I have tested this using both Gitlab and Github backends. I've uploaded hundreds of images to them and the only ones I see load on editor load are the ones selected in image or file widgets. The rest do no load till the media library modal is opened, even then they are only loaded when you scroll to them.
I have a hunch where this might be occurring. But I need you to help me confirm a couple of things.

If you go into the editor, let it finish loading, then reload the page. Does it request all of the image files?
If you open up Static CMS and let it sit on the collection page. Does it request a bunch of image files?

After a lot of testing, I was able to narrow down some issues that are causing these images to load. As it is today, the card/grid view in the collections page tries to load the image for the first image field it finds. It then displays that image when you view the card/grid view.
However, it was doing a couple of things that are the likely culprits of your performance issues:

It would load these images even when you had not switched to the card/grid view (so they were always loaded)
It would load images for EVERY entry in a collection

So if you had 500 entries each with a unique image, then 500 images were loaded every time you went to that collection.
The next release has some changes that will drastically help reduce this:

Images are no longer loaded if you are on the table view (so if you never switch to the card/grid view, then no images will be loaded at all)
Both the table view and card/grid view are virtualized. This means only the rows (for table view) or cards (for card/grid view) that are currently on screen (or just above/below your scroll position) will actually be rendered. Thus images for the card/grid view will only be loaded when you switch to that view and actually scroll to a given entry.

Since the table view is the default, this means:

0 images will be loaded on initially going to a collection
If you switch to the card/grid view and the initial load, which will vary based on the size of your monitor, should be around or less than 20 images regardless of the total entry count.

This fix also completes #36

Fantastic! Looking forward to testing the next version!


Review docs to appease RoboDog

Here we go. Appease the RoboDog (the bot that posts in #govuk-developers every day that we haven't reviewed our docs).
Some of these aren't even date bumps as I wanted to add more but didn't have enough 🧠. I've left those for another willing person. But I did do some rewording.
The commits to review are the ones I've actually edited, so the ones that have more than a single line description.

I hope you lot appreciate my dedication to commit messages. I realised half way through (when I got to errors) that I got the date wrong - I'd been thinking it was 17th not 18th - so I went back and rebase-edited all my commits before then to change each date. 😩
I've also not done all the ones that RoboDog moaned about - but there are only eight left for YOU! 💪

This is a fun test failure:
expected: > 2020-05-19 09:11:44.247229756 +0000
got:   2020-05-19 09:11:43.396111009 +0000


fix image and use compat packages

I feel there's missing compat packages which are needed for symlink and apko.yaml is needed to modify to use correct entry point and permissions, the original PR is here https://github.com/chainguard-images/images/pull/1917
The Dockerfile is here https://github.com/temporalio/docker-builds/blob/main/admin-tools.Dockerfile#L30-L36

depends on https://github.com/wolfi-dev/os/pull/9877


make data type properties nouns

and leave the Object type properties as verbs

Changed with 0.0.11.


invalid span shadowing error message

Fixes #219
Sorry for non-test PR as it should be announce and throw it , because of my leak familiar on crate .
Hope owner or collaborator add a test on it with help .

This fix would only apply for labels that are part of a Diagnostic this was implemented with the derive macro, which covers most, but not all, uses.
I think the best place to do this check is in the SourceCode::read_span impls. It looks like the existing impl already returns MietteError::OutOfBounds in some situations.

This fix would only apply for labels that are part of a Diagnostic this was implemented with the derive macro, which covers most, but not all, uses.
I think the best place to do this check is in the SourceCode::read_span impls. It looks like the existing impl already returns MietteError::OutOfBounds in some situations.

Thanks for helpful command !

@Benjamin-L I can we can try it out


Fix race condition of out_secondary_file

Which issue(s) this PR fixes:
Fixes #4080
What this PR does / why we need it:
For solving race condition issues of out_secondary_file.

Note: Similar problem in out_file: #3808.

Docs Changes:
Not needed.
Release Note:
Same as the title.

I have confirmed this solves #4080.

Test for  c95b52a.
Use the same way and the same environment as

https://github.com/fluent/fluentd/issues/4080#issuecomment-1455695378

Result:

workers
flush_thread_count
percentage (1st)
percentage (2nd)

1
16
0.0% (0/111)
0.0% (0/42)

3
1
0.0% (0/27)
0.0% (0/27)

3
8
0.0% (0/267)
0.0% (0/29)

Test for ce32ac57a07121d69adf30d3b543ea11041ce613.
Use the same way (append false) and the same environment as

https://github.com/fluent/fluentd/issues/4080#issuecomment-1455695378

Result:

workers
flush_thread_count
percentage

3
8
0.0% (0/21)

I plan to do more tests at the end of this PR.

I will add some unit tests for the lock feature, although it is hard to test race condition strictly.

@ashie Could you please check if the direction of this fix is OK?

I will test this issue again, and add some tests for this new lock feature.

Test for edcbd4b6a9cf2e83c2c88e34e7a103f3a4786314.
Use the same way (append false) and the same environment as

https://github.com/fluent/fluentd/issues/4080#issuecomment-1455695378

Result:

workers
flush_thread_count
percentage (1st)
percentage (2nd)

1
16
0.0% (0/24)
0.0% (0/39)

3
1
0.0% (0/27)
0.0% (0/21)

3
8
0.0% (0/36)
0.0% (0/33)

I will test this issue again, and add some tests for this new lock feature.

Done.

By the way, might Squash merge be better when merging this?

Thanks!

Thanks for your review! @ashie @kou !


Crash with newer toolchain

This is a follow-up of #2570 since the original poster found a solution but I'm still stuck.
I'm experiencing crashes with certain games:
0108:err:seh:NtRaiseException Unhandled exception code c0000005 flags 0 addr 0x1700329db

I originally thought the problem was a regression in 1.10.1 but a rebuilt of 1.10.0 on a newer toolchain and newer libwine ended up with the same problem.
Summary of the notable differences in the build environment:

libwine 6.5 -> 6.14
meson 0.61.2 -> 0.62
I now have to use the fix in #2572
libz-mingw-w64 got a fix for https://github.com/advisories/GHSA-jc36-42cf-vqwj but stayed at the same version
libvulkan1 <IP_ADDRESS> -> <IP_ADDRESS>
I ran the game with mesa 22 RC2, now released 22

Just to clarify: this is a clean Debian unstable build environment (using sbuild), nothing "custom" and the resulting dxvk build is the official dxvk package in Debian.
Rebuilding with libwine 6.5 without changing anything else I was able to run ELEX 2 albeit very slowly (~5 fps instead of the ~20-35 I had before).
Software information
Affected games so far ELEX 2, Saints Row - The Third
Games that still work: ELEX 1
All these games are D3D11 games.
System information

GPU: Radeon RX 5700 XT
Driver: RADV / Mesa 22.0.0 / Vulkan 1.3.204
Wine version: 7.5
DXVK version: 1.10.0/1.10.1

Log files
Log files not created when the crash occurs.

I found out what the problem was for #2572, rebuilt, and made various tests and I'm not able to reproduce this problem anymore.


add TMDb api wrapper

Link
https://github.com/mmacia/tmdb.cr
Checklist

[X] - Shard is at least 30 days old.
[X] - Shard has CI implemented.
[ ] - Shard has daily/weekly periodic builds (ideally with Crystal latest and nightly).

@mmacia Thanks.  Could you setup a periodic CI build?

@Blacksmoke16 done


nervure with connector for front/back sub-longeron

sub-longeron should be printed too

#29 related


fix keep original google selflink

As discussed with @poncovka here  we decided to just keep the original google selflink, because we use it in the frontend anyway.

@poncovka @FKolwa please have a look again :)


Installation instructions

Added installation instructions; for MacOS only at the moment.
Issue: #23

Thank you for the doc improvements. I've been bitten by this code signing problem before, and it's good to mention it in the docs. Note that (at least for now) if you download a binary using curl (or wget or whatever) instead of your browser, then this problem is avoided. That's what I end up doing most of the time.
I moved this macOS advice up into the Usage section, reworded it, and added a command-line option. Do those changes work for you?

The bit about the signature is a great change / addition. That's an improvement.
As far as installation goes, I would still like installation instructions. So that would include changing the line where I talk about downloading from the 'releases' page to a curl (so long as the URL is stable), and keep the bit about usr/local/bin. Doesn't have to be that path exactly; but should have some instructions that the user can follow so that they can reliably install and use.

Sorry, I feel like I'm missing something: Doesn't the updated "Usage" section now cover all of your suggestions? Quoting:
Usage

download the binary for your platform
from the "Assets" section of the latest release on the
Releases page.
make sure that the binary is executable
create a SQLite database file with a prefix table
run rdftab with the database you want to use, and the RDFXML input as STDIN
query your database with SQLite

$ curl -L -o rdftab https://github.com/ontodev/rdftab.rs/releases/download/v0.1.1/rdftab-x86_64-apple-darwin
$ chmod +x rdftab
$ sqlite3 example.db < test/prefix.sql
$ ./rdftab example.db < test/example.owl
$ sqlite3 example.db
> select * from statements limit 3;

If macOS complains about running untrusted code
(due to Gatekeeper code signing,
see allow permissions),
try sudo spctl --add rdftab.

@jamesaoverton As sorry, I didn't even notice that. I usually don't see installation steps in the "usage" section; usually see that after installation / config is complete.
The steps which still seem to be left out are:
mv path/to/rdftab-x86_64-apple-darwin /usr/local/bin/rdftab
chmod 777 /usr/local/bin/rdftab

Do you know if sudo spctl --add rdftab will also solve the same permissions issue that chmod achieves? Haven't used it.
I like having some suggestion to make rdftab easily available on the path, e.g. /usr/local/bin/rdftab. It doesn't have to be exactly that though.
I just want to make sure that if I have anyone on new students on my team that I want to delegate things to, that they're able to install and set this up with minimal experience doing this sort of thing.


Make both Amm tests and integration tests pass on Windows except those which use ivy

All integration tests and most of unit tests in amm tests are passing. The failing ones have been guarded with an OS check and have a comment explaining the reason for failing. They are either ivy ones or some tests having problem with paths in windows.

Those are the only things I noticed for now; when you update it I'd keep an eye on the oracleJDK7/Scala2.11.x builds; they both failed, and I'm not sure if it was random or whether it's a sign of a consistent failure on those platforms. We'll see when you update

This looks good. I left some final notes; take care of those, squash your commits, and update the PR title/description to have a nice detailed summary of what changes you made, which tests remain disabled (it's not just the ivy tests!) and why they are disabled. I'll merge it after that

Looks good to me, thanks!


Yask integration phase6

Redesign of the YASK backend, though no new functionalities are added.
Needed because now I understand more of how the thing is supposed to work
EDIT: kills some duplicated code

Merged.


Removed preversion script

#589  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @CatChen and the rest of your teammates on  Graphite


Cannot Create Page while Using Subdomain

creating new page is easy while using main domain (mydomain.tld)
but while using subdomain (blog.mydomain.tld) , any pages created cannot be opened and returns "Whoops, looks like something went wrong"

We released the Pagekit Beta today. I close this issue because the code base completely changed. Please open a new issue if it still exists.


fix: descriptions

Extract the first sentence of the parameter description and uses it as help text.
I wrote the specs such that the first sentence is followed by an empty line, followed by more information. For the CLI, we can extract the first sentence and use it as help text.
I replace any Markdown links [link text](https://some/url) with link text,
so that it reads nicely in the terminal.
What do you think @clemfromspace ?

Look good, thanks @kai687!
Could you call go generate ./... on your PR so we can check how the flags are looking after your update? Thanks 🙇

@kai687 That sounds good 👍


Only check for MemCacheStore if required

defined?(::ActiveSupport::Cache::MemCacheStore)

This code causes activesupport-5.2.x/lib/active_support/cache/mem_cache_store.rb to be loaded which then reports error You don't have dalli installed in your application. Please add it to your Gemfile and run bundle install.
By checking for class existence only if it's selected, this error message can be avoided.

Coverage remained the same at 62.393% when pulling 7a4a62f0ecad3eabef93a31b4dbf2c0e7b7bae56 on jboler:master into 71a3facfce9357fa199928d11bf38b3df22b35a9 on tra:master.


I have no idea how to style outliers

There doesn't appear to be any documentation on it and I have been trying outlierColor, outlierStylem outlierRadius on the top level context, the dataset and the data but nothing seems to work

e.g.
    outlierBorderColor: 'red',
    outlierBorderWidth: 4,
    outlierBackgroundColor: 'orange',
    outlierRadius: 20,

https://codepen.io/sgratzl/pen/MWRbowj?editors=0010


Issue with k8s.io/docs/concepts/policy/resource-quotas/

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
"Enabling Resource Quota" sections says:

There should be at most one ResourceQuota object in a namespace.

This is not true, at least since quota scopes have been introduced.
Page to Update:
https://kubernetes.io/docs/concepts/policy/resource-quotas/#enabling-resource-quota

I see it's fixed in current docs.


Unable to override the default current limit.

I am fairly new to ODrive. I want to increase the maximum current limit that passes through my motor. I tried to use below python code but didn't succeed:
my_drive.axis0.motor.config.requested_current_range=50
my_drive.save_configuration()
try:
     my_drive.reboot()
except ChannelBrokenException:
     print('Lost connection because of reboot...')

After saving above configuration, when I tried to run below code, I was able to caliberate my BLDC motor successfully, but unfortunately, my code is running infinitely without moving the motor. An encoder is attached to one end of my BLDC motor.
print("finding an odrive...")
my_drive = odrive.find_any()

#Calibrate motor and wait for it to finish
print("starting calibration...")
#my_drive.axis0.motor.config.calibration_current = 30.0
my_drive.axis0.requested_state = AXIS_STATE_FULL_CALIBRATION_SEQUENCE
while my_drive.axis0.current_state != AXIS_STATE_IDLE:
    time.sleep(0.1)

print('check if motor is calibrated: ', my_drive.axis0.motor.is_calibrated)

my_drive.axis0.requested_state = AXIS_STATE_CLOSED_LOOP_CONTROL

# To read a value, simply read the property
print("Bus voltage is " + str(my_drive.vbus_voltage) + "V")

# Or to change a value, just assign to the property
my_drive.axis0.controller.pos_setpoint = 3.14

# And this is how function calls are done:
for i in [1,2,3,4]:
    print('voltage on GPIO{} is {} Volt'.format(i, my_drive.get_adc_voltage(i)))

print('check if encoder is ready:', my_drive.axis0.encoder.is_ready)

# A sine wave to test
t0 = time.monotonic()
my_drive.axis0.controller.current_setpoint = 15.0
while True:
    setpoint = 10000.0 * math.sin((time.monotonic() - t0)*2)
    print("goto " + str(int(setpoint)))
    my_drive.axis0.controller.pos_setpoint = setpoint
    time.sleep(0.01)

After running above code, I am getting below result:
finding an odrive...
starting calibration...
check if motor is calibrated: true
Bus voltage is: 24.40
...
check if encoder is ready: true
...

The strange thing is that when I set my_drive.axis0.controller.current_setpoint = 10, above code is working and I'm able to caliberate and also run the motor, but when I set my_drive.axis0.controller.current_setpoint > 10, I'm able to caliberate but not run the motor. What I want is to maximize current through my motor(which is more than safe default value). So, I want to override my current limit through my both axis. Your guidance will be highly appreciated. Thank you!

my_drive.axis0.motor.config.current_lim
See https://docs.odriverobotics.com/#configure-m0


Welcome @xuanwo as the new editor

Welcome @xuanwo as the new editor. In the meantime, I added a new principle for editor guideline:
After being inactive for more than three months as the editor, we will change you to the Reviewer role.

Cc. @malagant @macko76 @mfrw @pau1tuck

Thanks a lot!

Good plan