Update da-dynamodb-client, da-s3-client to 0.1.29

About this PR
📦 Updates

uk.gov.nationalarchives:da-dynamodb-client
uk.gov.nationalarchives:da-s3-client

from 0.1.28 to 0.1.29
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "uk.gov.nationalarchives" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "uk.gov.nationalarchives" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #44.


Add support for using the kubernetes extension on Windows via WSL kubectl/helm

@itowlson

cc @radu-matei since you were interested in this

Relevant: #335.

@brendandburns The CI environment has changed and broken the linter - could you rebase onto master please, as this contains a fix/workaround, then your CI should start passing.  Thanks!

@itowlson rebased.

@itowlson I fixed this so that port-forward, describe, attach, logs (with following) and terminal all appear to work correctly.
I think this is pretty much complete at this point...

Fixed the lint problem...

@itowlson I think this is ready to go. ptal.
Thanks!

@itowlson I think this is now ready to go.... (at least for a first draft)

@itowlson friendly ping on this one.
Thanks!


Problem with local notification plugin (Android)

The plugin cannot be used with local notification plugin.
Steps to reproduce:

cordova create test_app
cd test_app
cordova platform add android
cordova plugin add cordova-plugin-fcm-with-dependecy-updated
cordova plugin add cordova-plugin-local-notification
cp /somewhere/google-services.json ./
cordova android build --verbose

Error message:
No scripts found for hook "before_build".
No scripts found for hook "before_prepare".
Checking config.xml and package.json for saved platforms that haven't been added to the project
Config.xml and package.json platforms are the same. No pkg.json modification.
Package.json and config.xml platforms are different. Updating config.xml with most current list of platforms.
PlatformApi successfully found for platform android
Checking for saved plugins that haven't been added to the project
Checking for any plugins added to the project that have not been installed in android platform
No differences found between plugins added to project and installed in android platform. Continuing...
Generating platform-specific config.xml from defaults for android at /home/matheus/Documents/projects/test_app/platforms/android/app/src/main/res/xml/config.xml
Merging project's config.xml into platform-specific android config.xml
[Gradle Properties] Preparing Configuration
[Gradle Properties] Appending default configuration properties
[Gradle Properties] Appending custom configuration properties
[Gradle Properties] Updating and Saving File
Merging and updating files from [www, platforms/android/platform_www] to platforms/android/app/src/main/assets/www
Wrote out android application name "HelloCordova" to /home/matheus/Documents/projects/test_app/platforms/android/app/src/main/res/values/strings.xml
android-versionCode not found in config.xml. Generating a code based on version in config.xml (1.0.0): 10000
Wrote out Android package name "app.bringup.taxgroup" to /home/matheus/Documents/projects/test_app/platforms/android/app/src/main/java/app/bringup/taxgroup/MainActivity.java
This app does not have launcher icons defined
This app does not have splash screens defined
This app does not have additional resource files defined
Prepared android project successfully
Executing script found in plugin cordova-plugin-fcm-with-dependecy-updated for hook "after_prepare": plugins/cordova-plugin-fcm-with-dependecy-updated/scripts/copy_google_service_files.js
No scripts found for hook "before_compile".
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=undefined (recommended setting)
ANDROID_HOME=/opt/android-sdk (DEPRECATED)
Subproject Path: CordovaLib
Subproject Path: app
Running command: /home/matheus/Documents/projects/test_app/platforms/android/gradlew cdvBuildDebug -b /home/matheus/Documents/projects/test_app/platforms/android/build.gradle

> Configure project :app
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

> Task :app:preBuild UP-TO-DATE
> Task :CordovaLib:preBuild UP-TO-DATE
> Task :CordovaLib:preDebugBuild UP-TO-DATE
> Task :CordovaLib:checkDebugManifest UP-TO-DATE
> Task :CordovaLib:processDebugManifest UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :CordovaLib:compileDebugAidl NO-SOURCE
> Task :app:compileDebugAidl NO-SOURCE
> Task :CordovaLib:packageDebugRenderscript NO-SOURCE
> Task :app:compileDebugRenderscript UP-TO-DATE
> Task :app:checkDebugManifest UP-TO-DATE
> Task :app:generateDebugBuildConfig UP-TO-DATE
> Task :app:prepareLintJar UP-TO-DATE
> Task :app:generateDebugSources UP-TO-DATE
> Task :CordovaLib:compileDebugRenderscript UP-TO-DATE
> Task :CordovaLib:generateDebugBuildConfig UP-TO-DATE
> Task :CordovaLib:generateDebugResValues UP-TO-DATE
> Task :CordovaLib:generateDebugResources UP-TO-DATE
> Task :CordovaLib:packageDebugResources UP-TO-DATE
> Task :CordovaLib:generateDebugRFile UP-TO-DATE
> Task :CordovaLib:prepareLintJar UP-TO-DATE
> Task :CordovaLib:generateDebugSources UP-TO-DATE
> Task :CordovaLib:javaPreCompileDebug UP-TO-DATE
> Task :CordovaLib:compileDebugJavaWithJavac UP-TO-DATE
> Task :CordovaLib:processDebugJavaRes NO-SOURCE
> Task :CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
> Task :app:javaPreCompileDebug UP-TO-DATE
> Task :app:mainApkListPersistenceDebug UP-TO-DATE
> Task :app:generateDebugResValues UP-TO-DATE
> Task :app:generateDebugResources UP-TO-DATE
> Task :app:processDebugGoogleServices UP-TO-DATE
> Task :app:mergeDebugResources UP-TO-DATE
> Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
> Task :app:processDebugManifest UP-TO-DATE
> Task :app:processDebugResources UP-TO-DATE
> Task :app:compileDebugJavaWithJavac UP-TO-DATE
> Task :app:compileDebugNdk NO-SOURCE
> Task :app:compileDebugSources UP-TO-DATE
> Task :app:mergeDebugShaders UP-TO-DATE
> Task :app:compileDebugShaders UP-TO-DATE
> Task :app:generateDebugAssets UP-TO-DATE
> Task :CordovaLib:mergeDebugShaders UP-TO-DATE
> Task :CordovaLib:compileDebugShaders UP-TO-DATE
> Task :CordovaLib:generateDebugAssets UP-TO-DATE
> Task :CordovaLib:packageDebugAssets UP-TO-DATE
> Task :app:mergeDebugAssets UP-TO-DATE
> Task :app:validateSigningDebug UP-TO-DATE
> Task :app:signingConfigWriterDebug UP-TO-DATE
> Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE

> Task :app:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
35 actionable tasks: 1 executed, 34 up-to-date
D8: Program type already present: android.support.v4.os.ResultReceiver$MyResultReceiver

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
  Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
  Program type already present: android.support.v4.os.ResultReceiver$MyResultReceiver

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
Command finished with error code 1: /home/matheus/Documents/projects/test_app/platforms/android/gradlew cdvBuildDebug,-b,/home/matheus/Documents/projects/test_app/platforms/android/build.gradle
/home/matheus/Documents/projects/test_app/platforms/android/gradlew: Command failed with exit code 1 Error output:
D8: Program type already present: android.support.v4.os.ResultReceiver$MyResultReceiver

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
  Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
  Program type already present: android.support.v4.os.ResultReceiver$MyResultReceiver

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
Error: /home/matheus/Documents/projects/test_app/platforms/android/gradlew: Command failed with exit code 1 Error output:
D8: Program type already present: android.support.v4.os.ResultReceiver$MyResultReceiver

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
  Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
  Program type already present: android.support.v4.os.ResultReceiver$MyResultReceiver

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
    at ChildProcess.whenDone (/home/matheus/Documents/projects/test_app/node_modules/cordova-common/src/superspawn.js:135:23)
    at ChildProcess.emit (events.js:314:20)
    at maybeClose (internal/child_process.js:1051:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)

This is not a direct incompatibility with local notification plugin.
This errors come from using both android.support and androidx packages.
As android.support has been deprecated for a while, it is recommended to install these two cordova plugins, which manage these package upgrade, like magic:

cordova-plugin-androidx
cordova-plugin-androidx-adapter

Let me know if it doesn't work for you.

It works very well! Thank you


Create network utility functions in origin.js

Network utility to post/fetch from smart contract & IPFS

Always add/verify signature
Every IPFS blob must be signed with private ETH key
Optionally, do this as an extension of web3

@joshfraser @matthewliu Just discussed this with @wanderingstan and @DanielVF and we are not exactly sure what the objective is here. We already have a service that allows us to fetch and post data to IPFS. As far as signing, we're not sure what what value would be added by signing the IPFS data. It wouldn't add any security that is not already provided by the contracts themselves. Also, signing a message triggers a metamask UI popup that would be an extra step for the user.


For each with table filters.

e.g.
filter EVENT_TABLE_% [hourly]:
  where: TIMESTAMP '${ts_start}' <= event_time AND event_time > dateadd(hour, -1, created_at)

for each table T:
  tables:
    - EVENT_TABLE_% [hourly]
  checks:
    - row_count > 0

    -

via https://soda-community.slack.com/archives/C038FFU79J5/p1648393195437059

I think this feature request would make sense even without variable mapping.  But it would be great to get confirmation for this.
@jasonicarter For your use case, do you need to map variables or would the filter variables be the same for all the tables referenced in the for-each?

@tombaeyens for my specific use case I would use the same filter for all tables referenced in the for each check. And for other table filters I would just separate that out into a different check within the same iml file.
# Hourly checks
for each table T1:
  tables:
    - EVENT_TABLE_% [hourly]
  checks:
    - row_count > 0

# Daily checks
 for each table T2:
  tables:
    - EVENT_TABLE_% [daily]
  checks:
    - missing_percentage(user_id) > 1%

Fixed!


check this

check

Thanks @fadilaameliafutri !
Looks like this was a mistake. Jekyll will generate these tags when the site is built.


Deprecate and reduce API for typed editors for editor service

Now that we changed the editor service to work better with untyped editors all the way to the override service I think we should start to:

deprecate openEditor, openEditors, replaceEditors methods that work with typed inputs
find users and see how we can transition into untyped editor usage
eventually remove typed API

Luckily we do not have a lot of users anymore, I would say we have 4 categories:

editors that are not registering an editor with the override service (e.g. extensions editor, performance editor)
editors that can easily adopt untyped editors but simply didn't do that yet
editors that have registered as editor with the override service but have some obscure requirements on the target input (e.g. file editor input's need to "force open as binary")
calls where we already have a typed editor in hand [1]

[1] I am not sure about this one to be honest. We have a picker for opened editors and we have the "Open Editors" view above the file explorer where a click takes the existing editor input to open. I don't think it makes a lot of sense to ask these clients to pass in an untyped editor though.
Thoughts?

[1] I am not sure about this one to be honest. We have a picker for opened editors and we have the "Open Editors" view above the file explorer where a click takes the existing editor input to open. I don't think it makes a lot of sense to ask these clients to pass in an untyped editor though.

I think this is where keeping our doResolveEditor function comes in handy as we handle the conversion of them to untyped editors and take care of that for them. We can either leave the function calls as supporting typed to or move it to untyped and just publicly expose the converter

Well another way of solving this is to stop allowing to pass untyped editors into the editor service but still keep those methods on the level of a group: in the case of the open editors view for example, we know exactly in which group to open the editor (similar to clicking on a tab), so there the editor service + overrides doesn't make any sense to be used anyway.

It's actually not too bad, will try to tackle some today:

Found another interesting case: we have a typed editor in hand but want to open in SIDE_GROUP. This means we would have to ask clients to first manually create a side group and then open it there...

Found another interesting case: we have a typed editor in hand but want to open in SIDE_GROUP. This means we would have to ask clients to first manually create a side group and then open it there...

I came across this too. I should do a better job documenting the cases. The best solutions is probably to have them call findGroup or introduce something like getSideGroup()  to the editorService so that they can call this.editorService.getSideGroup().openEditor(input, options). I don't think we would want them to convert to untyped if the typed input is in hand as then you would be creating an extra input.

Hm, maybe IEditorService.openGroup(SIDE_GROUP)?

Yeah I had the same feeling actually :)

Deprecated typed versions of openEditors and replaceEditors, only very few left. Majority of remaining openEditor calls are:

those that did not adopt editor resolver
the discussed SIDE_GROUP users

the discussed SIDE_GROUP users

Have we decided if we can create a method signature that will work for the SIDE_GROUP consumers?

Not yet, might slip to another milestone, but assigning myself for that piece of the cake.

I think I found a nice solution: IEditorGroupService.sideGroup gives access to an object with one method openEditor that will behave exactly like IEditorService.openEditor(..., SIDE_GROUP), without the resolving/override piece:
https://github.com/microsoft/vscode/blob/3084de82e992bbda5f8637593095bf1a20c2d4b3/src/vs/workbench/browser/parts/editor/editorPart.ts#L202-L208
I have adopted it in most places and deprecated the IEditorService.openEditor method for typed editors. The majority of remainders is editors that have not registered with the resolver service.

One thing I just realised: we cannot simply replace the now deprecated IEditorService#openEditor with something like IEditorGroupService.activeGroup.openEditor because it would break the revealIfVisible setting that users might have enabled.
In other words, that feature really relies on the caller to use editor service, because it could be that a different group is picked than the active one based on options.

I'm surprised we didn't come across this issue sooner then since it's been phased out slowly. What would be your suggested alternative? It almost sounds like we can't proceed with untyped open editor unless we introduce some type of group resolving intermediary for the typed case

It would probably need some kind of proxy for activeGroup.openEditor to target a different group if and only if one of the conditions apply. In other words, behave very similar to the sideGroup that I added.

Is it weird to have other groups selected from within a group itself? I guess not if we already have something like that with sideGroup

Yeah it is weird.

So she would backtrack on our original idea or go forward with this? It sounds like it's still worth it to implement that work around for a setting that isn't used a ton

Well, if it is used in 1 place, that warrants for implementing proper support. We cannot just silently drop that support. On the other hand, maybe most remaining editors that have not adopted untyped editors yet are not really suffering from this.

Issue grooming, I don't really see meaningful additions here other than asking editors that have not yet adopted the editor resolver to adopt untyped inputs.
Other than that, I feel adding another method to editor groups for respecting revealIfOpened or revealIfVisible is equally bad as having the deprecated method on the editor service. I will leave sideGroup because it has some purpose and is now more widely adopted.


testing pull request with atlantis

Ran Plan for dir: . workspace: default
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create

Terraform will perform the following actions:

  # null_resource.example will be created
+ resource "null_resource" "example" {
      + id = (known after apply)
    }

Plan: 1 to add, 0 to change, 0 to destroy.

:arrow_forward: To apply this plan, comment:atlantis apply -d .

:put_litter_in_its_place: To delete this plan and lock, click here
:repeat: To plan this project again, comment:atlantis plan -d .

:fast_forward: To apply all unapplied plans from this Pull Request, comment:atlantis apply

:put_litter_in_its_place: To delete all plans and locks from this Pull Request, comment:atlantis unlock

Ran Plan for dir: . workspace: default
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create

Terraform will perform the following actions:

  # null_resource.example will be created
+ resource "null_resource" "example" {
      + id = (known after apply)
    }

Plan: 1 to add, 0 to change, 0 to destroy.

:arrow_forward: To apply this plan, comment:atlantis apply -d .

:put_litter_in_its_place: To delete this plan and lock, click here
:repeat: To plan this project again, comment:atlantis plan -d .

:fast_forward: To apply all unapplied plans from this Pull Request, comment:atlantis apply

:put_litter_in_its_place: To delete all plans and locks from this Pull Request, comment:atlantis unlock

Ran Apply for dir: . workspace: default
null_resource.example: Creating...
null_resource.example: Creation complete after 0s [id=2327140496167054957]

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Ran Plan for dir: . workspace: default
Show Output
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create

Terraform will perform the following actions:

  # null_resource.example will be created
+ resource "null_resource" "example" {
      + id = (known after apply)
    }

  # null_resource.example1 will be created
+ resource "null_resource" "example1" {
      + id = (known after apply)
    }

Plan: 2 to add, 0 to change, 0 to destroy.

:arrow_forward: To apply this plan, comment:atlantis apply -d .

:put_litter_in_its_place: To delete this plan and lock, click here
:repeat: To plan this project again, comment:atlantis plan -d .

Plan: 2 to add, 0 to change, 0 to destroy.

:fast_forward: To apply all unapplied plans from this Pull Request, comment:atlantis apply

:put_litter_in_its_place: To delete all plans and locks from this Pull Request, comment:atlantis unlock

Locks and plans deleted for the projects and workspaces modified in this pull request:

dir: . workspace: default


Remove support for Ruby 2.2/OS 2.9

References https://github.com/automaticmagic/topolys/pull/20
Merge and release Topolys and update this PR before merging

The bulk of these proposed changes (thanks @macumber) have already been integrated in the diet branch. As of TBD v3.0.0 (soonish), OpenStudio v2.9.1 will no longer be officially supported (due to Ruby v2.2/Bundler v1 vulnerabilities).


Add KTX2 export support

We should be able to choose to export ktx2 textures for optimized performance in supporting platforms

CLI program: https://github.com/BinomialLLC/basis_universal

we want to add an optional checkbox on this screen, above drag and drop - download option.

its working :)


Adding Scale to Universe

Scale enables on-demand, near real-time, automated processing of large datasets (satellite, medical, audio, video, ...) using a dynamic bank of algorithms. Algorithm execution is seamlessly distributed across thousands of CPU cores. Docker provides algorithm containerization.
http://ngageoint.github.io/scale/

@gisjedi here are the examples you can follow and create PR against this repo: https://github.com/dcos/examples
this example would finally land on the DC/OS documentation site here: https://dcos.io/docs/1.8/usage/tutorials/

Thanks for the links. I was in the process of finalized updates to the quick start hosted on GitHub Pages to target DCOS deployment.  I can take the same content and drop it into a pull request there as well. Hopefully, I'll have this wrapped up today.

great! thanks and for consistency, please follow the format from the other examples.

@ryadav88 I think everything is in order with the tutorial. Let me know if there is anything else you need from me to get this closed out. Thanks!

@gisjedi thanks for adding the example. This LGTM!


Edited logo of experience block.(try)

debug

👷 Deploy Preview for yunrui-zhang processing.

Name
Link

🔨 Latest commit
d2e7117eb24374937f7e98a5d318119d0727f1ac

🔍 Latest deploy log
https://app.netlify.com/sites/yunrui-zhang/deploys/650bb50d9f327a00077f1377


Redesign PCB

Place the mounting holes first.
Shrink the PCB a bit.
Place the components in a smart manner.


How to change the  selected value fontSize

I have the picker set up like this
          <Picker
              iosHeader="Select Country"
              mode="dropdown"
              selectedValue={this.state.selected}
              onValueChange={this.onValueChange.bind(this)}
          >
              <Item label="中文 (China)" value="key0" />
              <Item label="United States" value="key1" />
              <Item label="Canada" value="key2" />
              <Item label="Germany" value="key3" />
              ...
          </Picker>

and I want to adjust the selected value font size.
I tried adding style={{fontSize: 12}} to the picker tag, but that didn't work.

You have to use prop textStyle for that.
textStyle={{fontSize: 12}}

You mean something like this ? but it's not working for me
<Picker style={styles.picker}
                            iosHeader="Select one"
                            mode="dropdown"
                            textStyle={{fontSize: 12,color:'yellow'}}
                            selectedValue={this.state.tourDuration}
                            onValueChange={this.onValueChange.bind(this)}>
                        <Picker.Item label="One hour" value="1"/>
                        <Picker.Item label="Two hours" value="2"/>
                        <Picker.Item label="Three hours" value="3"/>
                        <Picker.Item label="Four hours" value="4"/>
                        <Picker.Item label="Five hours" value="5"/>
                    </Picker>

picker: {
        color: '#616161',
        borderRadius: 14,
        borderWidth: 1,
        backgroundColor: '#e2e2e2',
        borderBottomWidth: 1 / PixelRatio.get(),
        borderTopWidth: 1 / PixelRatio.get(),
        borderColor: '#484848',
        width: 110,
        height:40,
        marginRight:16
    },

It dose not work on Android

Doesn't work on Android for me either.  Any workaround?

not work on Android

textStyle prop has no effect on Android here either

@rolandfromrobin Those props are available only for iOS. Check https://facebook.github.io/react-native/docs/picker.html for Android props

@shivrajkumar I see, thank you. Do you know of any workaround to style the selectedValue text in Android picker?

@rolandfromrobin You can style the items conditionally on selection.

I am not able to change the picker text size for my app. What is the right way to do it?

how i set the font size for <Picker.Item> tag

@Ashutosh21Nigam NativeBase Picker for android is an implementation of ReactNative Picker. You can check here https://facebook.github.io/react-native/docs/picker.html

Ive tried Friendly-Robots solution on Android but the touchable region doesn`t scale together with the field.

@Friendly-Robot  It worked OK for me. I had some extra padding because of it, so I applied a negative margin to fix that. But it's the best solution I've seen.

@Friendly-Robot  It worked OK for me. Thanks a lot.

@Friendly-Robot I upvote, this is genius solution

Still on iOS I can't set the font size through the textStyle prop.. Anyone found a solution for this?

Still have problem on Android. textStyle doesn't work at all.

When picker item font size will get supported?

@sankhadeeproy007 the problem still persists, why did you close the issue?

i have same problem

Still have this issue.

Same issue, @sankhadeeproy007 can you reopen this issues please.

Tried Friendly-Robot suggestion. Like this:
<Picker
      selectedValue={"dummy"}
      style={{ height: 100, transform: [{ scaleX: 1.2 }, { scaleY: 1.2 }] }}
      onValueChange={noAction}
      textStyle={{ fontSize: 60 }}
    >
      <Picker.Item label={texts.myLibrary.boughtBooks} value={"dummy"} />
</Picker>

But it has two problems. Typescript complains about the transform attribute not being valid/expected.
And the scale... well, you should also change the scale origin, like transformOrigin: "top left"... and it's not working for me anyway.

The prop you are looking for is itemStyle and you need to add it to the Picker component, not the Picker.Item component. Therefore, Picker will likely get both style and itemStyle in your file.

Here is my fix for Android
<View
style={{
paddingLeft: 16,
paddingRight: 16,
marginTop: 16,
marginBottom: 12,
}}>
<View
style={{
flexDirection: 'row',
alignItems: 'center',
backgroundColor: '#ececec',
borderRadius: 8,
padding: 16,
}}>
<View
style={{
width: '100%',
borderBottomWidth: 1,
borderColor: '#e76e3c',
flexDirection: 'row',
flex: 1,
position: 'relative',
alignItems: 'center',
height: 32,
}}>

<Picker
selectedValue={this.state.district}
style={{
width: '100%',
paddingBottom: 0,
backgroundColor: 'transparent',
              paddingLeft: 0,
              fontFamily: 'Montserrat-Regular',
              transform: [{scaleX: 0.77}, {scaleY: 0.77}],
              left: -25,
              position: 'absolute',
            }}
            onValueChange={(itemValue, itemIndex) =>
              this.setState({district: itemValue})
            }>
            {get(this.props, 'allRegions.allRegions[0].district', [])
              .sort()
              .map((reg, index) => (
                <Picker.Item
                  color="#929292"
                  label={reg}
                  value={reg}
                  key={index}
                />
              ))}
          </Picker>
        </View>
      </View>
    </View>

and result was like this :

None of the work arounds allow for actual font styling for Android. @berk9595 solutions works great for font size, but not for font weight and many other styling properties. Best solution to have proper control over styling of your dropdown is to change to a new library. Here is a list of some of the best alternatives: https://openbase.io/categories/js/best-react-native-dropdown-libraries

I got it working like this:
<Picker.Item style={{fontSize:10}} label="All Types" value="all" />
Set the fontSize to Picker.Item instead of Picker.

Normal
  {drinksArr.map((val, index) => (
 <Picker.Item
                style={{
                  fontSize: 30,
                  backgroundColor: Colors.Black,
                }}
                fontFamily="font_family"
                color={Colors.Gold}
                label={val.title}
                value={val.title}
                key={index}
              />

   **For  selected value:**

<Picker.Item
               style={val=="selectedValue"? style.styleOne: styles.stylesOther}
               fontFamily={val=="selectedValue"? "FontFamilyOne": "FontFamilyOther}
               color={Colors.Gold}
               label={val.title}
               value={val.title}
               key={index}
             />


[FEATURE] Implement RIPEMD160 hashing

Detailed description
RIPEMD-160 (RACE Integrity Primitives Evaluation Message Digest) is a cryptographic hash function that produces a 160-bit (20-byte) hash value, often represented as a 40-digit hexadecimal number. It was designed as a secure hash function to provide a unique fingerprint for data, making it useful for various applications in computer security and data integrity.
Context
Some applications include,
Digital Signatures: Used in creating digital signatures by hashing messages before signing them.
File Integrity Checks: Often employed to verify the integrity of files and data, as any change to the input data will result in a different hash.
Blockchain and Cryptocurrencies: RIPEMD-160 is notably used in Bitcoin for generating addresses from public keys. It is combined with SHA-256 in the address generation process.
Possible implementation
No response
Additional information
No response

I have made the implementation. Kindly assign me the issue


ss-abort --cancel should produce an event

Canceling the abort should produce an event in the application lifecycle. This makes it clear that the application has been recovered after the abort.

[x] first implementation (tests using web app)
[ ] adapt unit tests
[ ] refactor


tridentctl oblivate alpha-snapshot-crd faild

Describe the bug
$ tridentctl oblivate alpha-snapshot-crd
Error: no Auth Provider found for name "oidc"

We set kube-apiserver Authentication method to OIDC.(https://kubernetes.io/docs/reference/access-authn-authz/authentication/#configuring-the-api-server)
Environment

Trident version: 20.01.0
Trident installation flags used: trident install -n trident
Container runtime:
Kubernetes version: 1.17.2
Kubernetes orchestrator: original
Kubernetes enabled feature gates: -
OS: ContainerLinux
NetApp backend types: none

To Reproduce
exec tridentctl oblivate alpha-snapshot-crd to the kube-apiserver which use OIDC.
Expected behavior
Pass tridentctl oblivate alpha-snapshot-crd without errors.

HI @inajob,
Did you review the upgrade noticeand blog post regarding Alpha Snapshots prior to running the obliviate command?

@gnarl
Yes I read these posts.
We haven't use Alpha Snapshots feature.
But trident v19.10.0 deploied alpha snapshot crd, so I want to delete these CRDs by tridentctl obilvate alpha-snapshot-crd.

To get past this issue you can delete the alpha CRDs manually. This looks like an auth provider issue in your environment. Contact NetApp Support if you still need assistance.


[stable/charts/prometheus]Add ability to add array of snippets with your init containers for promtheus server

What this PR does / why we need it:
This PR to add array of snippets with your init containers for promtheus server.
Why:
Specialized containers that run before app containers in a Pod . Init containers can contain utilities or setup scripts not present in an app image.

[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

@mgoodness @gianrubio Can you please review my PR to add ability to add snippets for the init containers.

/assign gianrubio

/ok-to-test

cc @gianrubio Hello sir, any feedback would be good.

cc @gianrubio Hello sir, any feedback would be good.

Is there anything I need to do going forward?

We need to wait for the chart's OWNER to confirm this feature is useful and merge it. I would post this PR into our channel on Slack. Thanks for your PR.


AVCaptureVideoPreviewLayer orientation problems

If the view gets rotated to landscape the videoview isn't changing. Use AutoLayout constraints in an outer view to rotate correctly. The orientation of the AVCaptureVideoPreviewLayer needs to be updated as well.

Should be fixed in Version <IP_ADDRESS>16.


Wire up origin.js transaction stages to demo DApp

This includes anything that is on the listings, purchases, and transactions pages in UI

Yes, this has been my plan my upcoming week. PLENTY of work here.


[5.3] Add operator support to collection@where

This is taking another stab at the way where was originally proposed, now with strict equality as the default, for backwards compatibility.
This is a breaking change, in case someone explicitly passed in $strict = false, so it's targeted to 5.3

In function operatorChecker($key, $operator, $value), the return callback checks the operator every time the callback is called. Can it be improved (performance?) by returning the different callbacks depending on the operator?

It could, with a ton of code. You'd have to return a different function for each value in that switch statement.
I put the = at the top because that's probably the most used.

Thank you, I sent a PR #12431 for review

Note the default comparison has been changed from strict to loose just after this PR, see #12470.


Using InputStream instead of File on PnmlParser

This change is

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Issuer retry

This adds better retry strategy to Entrust, and also makes the delay shorter for DigiCert, as keeping the request alive for 10x 10s seems too long.

@sirferl we have been experiencing  this Error with Entrust, so hopefully retries would help
('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

Coverage increased (+0.002%) to 58.921% when pulling f6554a9a1e79b9a3e688ba59438708b559efd835 on hosseinsh:issuer-retry into d58b32a19c25c3bda29d0de272962d37824198ed on Netflix:master.


GUI based on Leaflet

It would be great to see a version of the GUI based of Leaflet: http://leaflet.cloudmade.com/

That's true. Patches welcome. ;-)

http://vimeo.com/37320883

leaflet, how cool! it should work well on ipads too!

Yes, I read about that. Unfortunately, I don't own one and haven't tested it yet on an iPad.


chore(build): update make-release.yml to remove redundant publish step

Description of your changes
In #1066 we decoupled the release to NPM & docs publishing processes. With that change the release of a new Powertools for TypeScript version works as follows:

Manually trigger the "Make release" workflow - this will run unit tests, increase the version of the packages in the repo, create a new git tag, & publish the packages to NPM with increased version
Manually make a release via GitHub releases UI - this will be using the tag created earlier, and once published it will trigger the other workflow that publishes the docs using the correct version number

With this PR I'm removing a leftover step from the "Make Release" workflow that was also publishing the docs.
How to verify this change
Run the "Make release" workflow.
Related issues, RFCs
Issue number: #1063
PR status
Is this ready for review?: YES
Is it a breaking change?: NO
Checklist

[x] My changes meet the tenets criteria
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] The code coverage hasn't decreased
[x] New and existing unit tests pass locally and in Github Actions
[x] Any dependent changes have been merged and published in downstream module
[x] The PR title follows the conventional commit semantics

Breaking change checklist

[ ] I have documented the migration process
[ ] I have added, implemented necessary warnings (if it can live side by side)

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

looking into later in the afternoon or first thing tomorrow morning.


I use Angular 4 then i cannot use map() with watchQuery()

waaat ?
// Observable with GraphQL result
public customers$: ApolloQueryObservable<CustomersQuery>;
...
this.customers$ = this.apollo.watchQuery<CustomersQuery>({
			query: CustomersQueryNode
			})
		// Return only customers, not the whole ApolloQueryResult
		.map((customers$) => customers$.data.customers) as any;

I fixed it thank you very much


Feature Request - Provide High Level Deployment method to higher environments

Hi,
I've used this for demoing to my customer and I think it would great to show how the azure-pipelines can be used to deploy to higher environments using the recommended approach of "compile once promote everywhere" off of the main branch.
As I am new to ML Ops, I'm not sure the recommended approach for deploying to higher environments
Should the training be part of the "compile once" continuous integration/build phase https://github.com/microsoft/dstoolkit-mlops-base/blob/322f45171b91646eae8b4d276c371d3685d7c54f/azure-pipelines/PIPELINE-1-modeling.yml#L76
and these pieces https://github.com/microsoft/dstoolkit-mlops-base/blob/322f45171b91646eae8b4d276c371d3685d7c54f/azure-pipelines/PIPELINE-1-modeling.yml#L104 be part of the continuous deployment/promote everywhere
The high level of what I'm trying to understand is how the batch inference and training pipeline should fit into this flow

Hi Jonathan. Apologies for the (very) late reply.
It's a very pertinent question and, if I understand it correctly, my answer is "it depends".
For teams starting with MLOps, I'd say that the training is part of the inner loop (DEV env) and only the model artefact and scoring script are moved to the outer loop (TEST, pred-PROD, etc).
For more advance teams, you might want to consider auto-retraining functionalities also pushed to PROD, which would enable model retraining based on some event trigger (data drift. model drift, etc).
Does that make sense ?


items count

we are currently assuming that count of item present in a store is infinite , we have to limit the count of items in a store and decrease its count as per the order of user.
If no item is present return the appropriate response and also have option to add items by store creator

Hey @DiptoChakrabarty,  Can you please assign this issue to me, I would like to work on this.

Go ahead @abhishekp6

I would like to work on it :)

Sure go ahead


Bump Go to 1.19.5-alpine for docker build

Switched to alpine as we will have same like we will do for spiffe-csi and spire images. Also see #51
Supercedes and closes #46
fixes #42

Should we move to the latest (go1.19.5 was released recently)?

Should we move to the latest (go1.19.5 was released recently)?

Definitely, I'm running behind, should have double checked.

@marcofranssen Can you add the fixes https://github.com/spiffe/spire-controller-manager/issues/42 tag to link the issue?

@marcofranssen Can you add the fixes #42 tag to link the issue?

Done.

The makefile currently requires Bash. Should this be changed also?


Permit the ability to encrypt file even if the password is below 12 characters in v2.3.3

Currently there is no way to encrypt a file with password below 12 characters. It would be great if encrypt anyway option is availabe with lesser character password.

The decision to put a minimum length of characters on the password input was done in v2.2.0 to encourage the use of strong passwords! However, i will consider putting an option in the settings page where this can be disabled!

I definitely think it should be a bit difficult to use a short password, and made very clear that it's a bad idea, but it does seem that by completely restricting it, you are essentially reducing the amount of entropy, since attackers know they don't even need to bother with guesses less than the minimum. So it should by default require a minimum, but the user should be able to check a box and maybe even have to type something like "accept" before it will allow it, but it should definitely allow it. And besides, most people that are going to be using this tool are going to hopefully know better anyways.

I definitely think it should be a bit difficult to use a short password, and made very clear that it's a bad idea, but it does seem that by completely restricting it, you are essentially reducing the amount of entropy, since attackers know they don't even need to bother with guesses less than the minimum. So it should by default require a minimum, but the user should be able to check a box and maybe even have to type something like "accept" before it will allow it, but it should definitely allow it. And besides, most people that are going to be using this tool are going to hopefully know better anyways.

Refusing shorter passwords hardly reduces entropy at all (testing all the shorter ones takes about 1 % of the time it takes to test the 12-character ones). However, because the password hashing is not particularly strong, you really need a fairly long password to keep your data safe. Eight characters is certainly not enough anymore.


How to chagne colour of external link (unreadable)

Hi
I enjoy using your old bookmark plugin. however
the text of the external link in the $:/plugins/OokTech/Bookmarks/Bookmarks List becomes unreadable if you have a dark/grey tiddler background and i cant find the place to change the colour.
can you tell me what to change in the pallet or is it hard-coded somewhere?

thanks

The plugin doesn't set any colours so it should be using whatever the default it. I am not sure where the external link colours are set or how to change them.

This is strange...
I changed the external-link-visited colour in the colour pallet. other places in the wiki the colour for external visited links change but nothing happens in the bookmarklist. Maybe they are not external links but something else, but I cant figure out what. Ive tried changing many different colours in the colour pallet and nothing seems to affect them. I don't think there is anything in the pallet with that colour.
in there display template they are in html  tags, could the html overwrite something maybe?

Ive tried to change every! colour in the colour pallet, but neither the visited nor the non visited link colour change in the bookmark list. so the colour pallet have no control over them.
btw. do questions like this belong on github or in the tw forum?

I solved the mystery.
apparently for the the colour pallet to effect external links they need the class="tc-tiddlylink-external"
your plug in and the markdown phraser don't have that. I have changed the display template. And note the deleted line break (it caused a hyperlinked space instead of just a space, after the link)

    <$view
        field=title
    />
 - {{!!note}} (<$link
    to={{!!title}}
>
    Open Tiddler
</$link>)

questions like this work best here I think. And thank you for looking into this! I will merge your changes now.


Oauth 2 sometimes not work on Mobile

I'm trying Safari and Chrome on my Iphone. Safari is not open anything. Chrome open confirm notice...
Do you know that? and have any idea for it 😭

Without a code sample I'm not sure what could be the issue.
I suspect that the popup is being blocked for some reason. You can provide your own url opener by specifying the urlCallback prop and/or check the alternatives in https://github.com/pocketbase/pocketbase/discussions/2429.


Added missing colon to improve consistency in the content.

Added missing colon to improve consistency in the content.

Looks good. Thanks @AzureMentor!


Typos and incorrect grammar fix

There are typos and incorrect grammar in the description of some features according to this user.

This is not an exhaustive list (and I could be the one wrong here, as my grammar is far from perfect):

Dual Legacy: ... first[,] ... then 3 years [later,] ... that[,] ... [theives' guild]
Mythic Class Feature: as well[,] didn't you?
Ball of Rage: too close[,] aren't you?
Musical Prodige should be "Prodigy," right?
Dread Lord: Uhm[,] ... As in the [sic] they... blade [looks]
Kinetic Knight: Just like all[,] ... [. After all] ... you willingly [chose] to forego ... and instead [chose] to use...
Kinetic Lord: But you really [love]
Spellblade: Meh[,]
Hero of Light: [smiting] your enemies
Spirit Beacons: [Persons] who[,] [originated] ... Spirit Beacon[,] [have]... (note: used plural form for consistency)
Chimera: [allow] ... [Chimeras are] constantly
Isekai Tactician: tactician [who led]
Supernatural Thief: great power[;] that

actually the Prodige one is not a typo, the rest very likely are correct corrections though, as I will be the first to admit that I am terrible when it comes to commas.
Also some of the descriptions were not by me but just copied from the suggestion, so I am sharing the blame with Nerion and a few others.
The Prodige one was an easter egg, because it is the french version of the Term Prodigy, and we are talking about a musical hero...


change the prop to have a listBox instead of items for the MenuConnected

Codecov Report

Merging #744 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #744   +/-   ##
=======================================
  Coverage   99.77%   99.77%
=======================================
  Files         272      272
  Lines        7114     7114
  Branches     1661     1661
=======================================
  Hits         7098     7098
  Misses         16       16

Impacted Files
Coverage Δ

src/components/menu/MenuConnected.tsx
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Add  for FilesToXmlPreProcess

As discussed here (http://biztalkdeployment.codeplex.com/discussions/237559), it would be great to have an  property next to  in .  This way we can replicate the PortBindingsMaster.xml \ PortBinding.xml separation approach for other files.

For example, I would like an esbMaster.config to create an esb.config file with the tokens replaced.

The justification for this is that I want to mitigate the risk of users checking in to source control a file that has already had the tokens replaced.
This work item was migrated from CodePlex
CodePlex work item ID: '9357'
Vote count: '2'

[tfabraham@4/25/2012]
Charlie, do you need to change the output path or just the output file name?  In V5.0 final there will be an OutputFilename metadata element on FilesToXmlPreprocess, but the output file ends up next to the original file.

[charliemott@4/25/2012]
Thanks for the quick response.  Sorry, I should have read the updated documentaiton to see this was here.
As a note for the documentation, you might want to say when using this that you should add the following to get the token replacement to work.
<RequireXmlPreprocessDirectives>false</RequireXmlPreprocessDirectives>

Thanks again.  I'm happy for this issue can be closed.

[UnknownUser@4/25/2012]

[UnknownUser@2/21/2013]

[UnknownUser@5/16/2013]

Issue closed by tfabraham with comment
OutputFilename metadata element coming in V5.0 RTW.


Deprecation fix the 2nd: replace mktemp with TemporaryDirectory

Another go at replacing the deprecated function for the save_to_tmp_dir option, with an attempt to delete the temporary files along with the cube instance.
See however discussion about using __del__ in https://github.com/radio-astro-tools/spectral-cube/pull/789#pullrequestreview-847262861.

Codecov Report

Merging #796 (4b72221) into master (c7281a7) will decrease coverage by 0.00%.
The diff coverage is 37.50%.

@@            Coverage Diff             @@
##           master     #796      +/-   ##
==========================================
- Coverage   78.00%   78.00%   -0.01%
==========================================
  Files          24       24
  Lines        5847     5850       +3
==========================================
+ Hits         4561     4563       +2
- Misses       1286     1287       +1

Impacted Files
Coverage Δ

spectral_cube/dask_spectral_cube.py
85.54% <37.50%> (-0.10%)
:arrow_down:

Continue to review full report at Codecov.

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

Apparently the Windows test is still the only one that runs with zarr installed and not skipping the tests. Don't quite understand why, as it's also listed in the novis deps.

Similarly, same process, but close python w/o deleting tempdir.

Good point, something I've also only tested locally under macOS. Not sure if this can be implemented in the CI – I think open_files is kind of testing this, but may not be completely equivalent. And I have no idea about tmpfile handling on Windows in general.

@dhomeier could you rebase this?  I think we're ready to merge even though I never did end up doing that manual test


add Molly Weitzel to team page

Did you mean to assign me? You can merge without me.

Did you mean to assign me? You can merge without me.

😂 Sorry about that. 🤦♀


Add new navigation menu

Just started reviewing :) :octocat: Sent from GH.

Pull request submitted to https://github.com/craftsmanship-toledo/katangapp-android/pull/63. See changes here. :octocat: Sent from GH.


vulncheck: cache executable symbols in a map

Currently, lookupSymbol for the various executable formats is implemented in terms of a linear search. This is inefficient and makes govulncheck not scale on larger binaries.
You can test this with a large binary. I took the main binary from StackRox Scanner:
$ docker export "$(docker create quay.io/stackrox-io/scanner:3.72.0)" | tar -C /tmp -x scanner

On my machine (MacOS, Intel Core i9 8x2.4GHz), the results are the following:
$ time /tmp/govulncheck-orig /tmp/scanner
govulncheck is an experimental tool. Share feedback at https://go.dev/s/govulncheck-feedback.
[...]
real    19m7.105s
user    21m4.712s
sys     1m50.733s

With this patch, it looks vastly different:
$ time /tmp/govulncheck-patched /tmp/scanner
govulncheck is an experimental tool. Share feedback at https://go.dev/s/govulncheck-feedback.
[...]
real    0m2.315s
user    0m0.307s
sys     0m0.126s

Note: I ran experiments only for ELF binaries; however, I do not see a reason why PE and Mach-O executables should have substantially fewer symbols, so it should have a similar effect there.

I don't know if there's Gopherbot syncing, I'm just trying the PR route. LMK if I should create a PR using Gerrit.

Let's see if a comment will make Gopherbot sync.


[Apple Notes] ... "Cannot search notes. Database disk image is malformed"

Extension
https://www.raycast.com/tumtum/apple-notes
Description
On searching for notes within raycast, can see this error at the bottom "Cannot search notes. Database disk image is malformed"
It is able to search notes titles but not within notes (body, description)
Steps To Reproduce
No response
Current Behaviour
No response
Expected Behaviour
No response

I'd like to bump this issue. Any solutions?

I also face this issue. Uninstalling and reinstalling the extension does not work.

I've exported my Raycast settings, uninstalled Raycast and reimported the settings. Now I don't get the issue anymore. Hope this helps figure out the root cause.

Yup, I also encountered the issue for a few times. Typically, the error disappears after a while. But none of us contributors have figured it out. 😣

Simply restarting my MacBook fixed it for me. Running MacBook Air (M2).


Making Use of comments

I suggest using comments in your codes helps others navigate your codes easily.

Good job with deploying an amazing and well-designed website. Keep up the good work!

I solve it Thanks for your guides


[MenuItem] Fix dense prop support

[x] I have followed (at least) the PR section of the contributing guide.

Closes #16488
Thanks!

@sumedhan It's a great first pull request on Material-UI. Thank you for working on it!

Thanks @eps1lon  !


fix(@angular/build): ensure accurate content length for server assets

Adjusts the server assets to use the original content length
Closes #28832

The changes were merged into the following branches: main, 19.0.x


Configuring markdown-it

It should be possible to configure markdown-it, for example, to add plugins or to modify renderers.
Maybe something like:
import lume from "https://deno.land/x/lume/mod.js";
import markdown from "https://deno.land/x/lume/plugins/markdown.js";
import markdownItContainer from "https://jspm.dev/markdown-it-container";

const site = lume();

site.use(markdown({
  modify (md) {
    // Add a markdown-it plugin
    md.use(markdownItContainer);

    // Customize a renderer
    md.renderer.rules.link_open = (tokens, idx, options, env, self) => {
	// ...
    };
  }
}));

export default site;

I have thought about this several times, but I didn't decided a proper way to do it. One idea is adding an option to disable default plugins, so you can add it later with your own config options. For example:
const site = lume({ disable: ["markdown"] });

site.use(markdown(/** Your config here */));

But I guess most users want to configure these plugins, not disable them. So another idea is being able to pass options to the default plugins in the lume factory:
const site = lume({
  plugins: {
    markdown: {
      plugins: [markdownItContainer],
    }
  }
});

Another idea is providing a container in which all plugins can save their dependencies in order to configure them. For example:
const site = lume();

const markdownIt = site.deps.get("markdown-it");

This could be used by other plugins like pug, postcss, etc. But I'm not convinced because it's useful only for the default plugins, not other plugins that the user can configure on register.
And other idea is do nothing, due the user always can create an empty Site instance, without plugins. The mod.js module is only a convenient way to create a site with some good defaults. But this code could be used in _config.js file directly:
import Site from "https://deno.land/x/lume/site.js";
import markdown from "https://deno.land/x/lume/plugins/markdown.js";

const site = new Site(options);

site.use(markdown())

return site;

For now, the way to access to the markdownIt instance, is getting the property engine from the template engine:
const mdEngine = site.engines.get(".md");
const md = mdEngine.engine;
md.use(markdownItContainer);

That’s very nice. Thanks!


fix update notification

see #2644
We have to handle several cases which I was not able to get running with the simple-git package. So now the git command line is used.
First run git status -sb.
If the repo was already fetched (hard, not with dry run) the output contains the behind number, so use this.
If not run git fetch --dry-run and extract the from..to hashes. With this run git rev-list --ancestry-path --count from..to to get the behind number.

Codecov Report

Merging #2651 (b1fc766) into develop (06389e3) will decrease coverage by 0.33%.
The diff coverage is 52.17%.

@@             Coverage Diff             @@
##           develop    #2651      +/-   ##
===========================================
- Coverage    71.11%   70.77%   -0.34%
===========================================
  Files           16       16
  Lines          831      859      +28
===========================================
+ Hits           591      608      +17
- Misses         240      251      +11

Impacted Files
Coverage Δ

modules/default/updatenotification/node_helper.js
51.94% <52.17%> (+5.00%)
:arrow_up:

Continue to review full report at Codecov.

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

@rejas I moved the git stuff into an own class so I was able to write some minimal tests.
@MichMich we have a problem with the new node version v16.9 because this breaks the e2e tests. With this PR node is nailed to v16.8 (as hotfix).
So while this is not merged every e2e test from any PR will fail because of this problem.
As info the error message using node v16.9 (I have no idea what's going on):
#
# Fatal error in , line 0
# Check failed: !holder_map.has_named_interceptor().
#
#
#
#FailureMessage Object: 0x7ffd78d05d90
 1: 0xb691f1  [node]
 2: 0x1bf3094 V8_Fatal(char const*, ...) [node]
 3: 0x10ac4a1 v8::internal::ConcurrentLookupIterator::TryGetPropertyCell(v8::internal::Isolate*, v8::internal::LocalIsolate*, v8::internal::Handle<v8::internal::JSGlobalObject>, v8::internal::Handle<v8::internal::Name>) [node]
 4: 0x1c5aa55  [node]
 5: 0x1c5b9eb v8::internal::compiler::JSGlobalObjectRef::GetPropertyCell(v8::internal::compiler::NameRef const&, v8::internal::compiler::SerializationPolicy) const [node]
 6: 0x1e61ba3 v8::internal::compiler::JSNativeContextSpecialization::ReduceNamedAccess(v8::internal::compiler::Node*, v8::internal::compiler::Node*, v8::internal::compiler::NamedAccessFeedback const&, v8::internal::compiler::AccessMode, v8::internal::compiler::Node*) [node]
 7: 0x1e623c4 v8::internal::compiler::JSNativeContextSpecialization::ReducePropertyAccess(v8::internal::compiler::Node*, v8::internal::compiler::Node*, v8::base::Optional<v8::internal::compiler::NameRef>, v8::internal::compiler::Node*, v8::internal::compiler::FeedbackSource const&, v8::internal::compiler::AccessMode) [node]
 8: 0x1e62f0c v8::internal::compiler::JSNativeContextSpecialization::ReduceJSLoadProperty(v8::internal::compiler::Node*) [node]
 9: 0x1df5e0a v8::internal::compiler::Reducer::Reduce(v8::internal::compiler::Node*, v8::internal::compiler::ObserveNodeManager*) [node]
10: 0x1c92604  [node]
11: 0x1df60be v8::internal::compiler::GraphReducer::Reduce(v8::internal::compiler::Node*) [node]
12: 0x1df7895 v8::internal::compiler::GraphReducer::ReduceTop() [node]
13: 0x1df7c48 v8::internal::compiler::GraphReducer::ReduceNode(v8::internal::compiler::Node*) [node]
14: 0x1ca03fd v8::internal::compiler::InliningPhase::Run(v8::internal::compiler::PipelineData*, v8::internal::Zone*) [node]
15: 0x1ca1291 v8::internal::compiler::PipelineImpl::CreateGraph() [node]
16: 0x1ca1668 v8::internal::compiler::PipelineCompilationJob::PrepareJobImpl(v8::internal::Isolate*) [node]
17: 0xd94f5d v8::internal::OptimizedCompilationJob::PrepareJob(v8::internal::Isolate*) [node]
18: 0xd96358  [node]
19: 0xd97e70 v8::internal::Compiler::CompileOptimized(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSFunction>, v8::internal::ConcurrencyMode, v8::internal::CodeKind) [node]
20: 0x11f4463 v8::internal::Runtime_CompileOptimized_Concurrent(int, unsigned long*, v8::internal::Isolate*) [node]
21: 0x15e67f9  [node]
Trace/breakpoint trap (core dumped)
Error: Process completed with exit code 133.

node v16.9 issue

Looks nice (except the logger special case but got no idea myself, maybe those sandboxes do something but as I always say, I am bad at the whole jest testing setup).
Anyway, the 16.9 isssue might soone be resolved if I read the ticket correctly, who knows when they release 16.9.1
Until then no harm in testing with 16.8 explicitly

Looks nice (except the logger special case but got no idea myself, maybe those sandboxes do something but as I always say, I am bad at the whole jest testing setup).

I will look at this in a new PR, I got it not running with the sandboxes (the sandboxes are not something introduced with jest, they were already there with mocha). Another approach could be to do the logger special case in logger.js (including the code which is now in mock logger.js). And may we could then do the other tests without this sandbox stuff (which has to be tested).

After I merged this, all the tests failed. Any idea?

in the following test run everything is green, so I would wait if this happens again.

@MichMich could reproduce it on my side, I have to adjust the new tests of updatenotification, they are tricky because they use the current state of the mm git repo ...

Isn't there a way to mock that state?

I have to think about how to do this, meanwhile I will delete the 2 test with the next PR.

Thanks!


How to use the basic class mujoco.GLContext

I'm learning to use mujoco and trying to load and render a model.
I followed Rendering part of the MuJoCo official documentation. I tried to use class mujoco.GLContext to replace glfw, but I still need to use glfw lib functions like glfw.swap_buffers() and glfw.window_should_close() to control the video stream since there is no method in class GLContext to do so. GLContext is so short:
"""An OpenGL context created via GLFW."""

import glfw

class GLContext:
  """An OpenGL context created via GLFW."""

  def __init__(self, max_width, max_height):
    glfw.init()
    glfw.window_hint(glfw.VISIBLE, 0)
    self._context = glfw.create_window(width=max_width, height=max_height,
                                       title='Invisible window', monitor=None,
                                       share=None)

  def make_current(self):
    glfw.make_context_current(self._context)

  def free(self):
    if self._context:
      if glfw.get_current_context() == self._context:
        glfw.make_context_current(None)
      glfw.destroy_window(self._context)
      self._context = None

  def __del__(self):
    self.free()

My question is: If import glfw is indispensable, what is the meaning of class mujoco.GLContext?

Sorry for the late reply. These GLContext classes are only intended for offscreen rendering.


dbName is not working correctly

Describe the Bug
I need a table in my (not yours) database named something like history but I have histories and I'm using mongoDB
example collection
export const History: CollectionConfig = {
  slug: 'history',
  labels: {
    singular: 'History',
    plural: 'History',
  },
  dbName: 'history',
...

expected tableName with defined dbName property is histroty not histories
Reproduction Steps
create new collection History like above with dbName: string
Which area(s) are affected? (Select all that apply)
db-mongodb
Environment Info
Payload: ^2.0.0
Nodejs: 20.14

sorry that is for v2...

Collection names in MongoDB are automatically pluralized, regardless of dbName. However, you can disable that behaviour with passing autoPluralization: false to the adapter options.
mongooseAdapter({
  url: process.env.MONGODB_URI,
  autoPluralization: false
})


exit code not cleared

Hi,
I have been observing a strange behaviour with the shell. If you mistype a command and if the command is invalid, the zsh prints command not found with a error code exit 127 or whatever the code it may be. But it fails to clear the buffer and every new line would print the same error again and again unless you type a valid command or manually clear the terminal buffer using clear.
Is this bug related to oh-my-zsh ?
Thanks

Hi,
Actually this behavior has nothing to do with OMZ. It works the same in Bash and in vanilla Zsh.
Also, it is by design: the exit code corresponds to the last command executed by the shell. When you simply type enter, the shell does not execute any command, and thus preserves the last exit code.
If you are looking for a command that does nothing else than set the exit code back to 0, try true.

Thanks for the clarification.. Is this an expected behaviour of zsh ? Because when I switch back to bash, this ceases to happen.
Thanks

Oh, maybe I was not clear. There are two things here:

The exit code of the last command is preserved when enter an empty command
The prompt displays the exit code when it is not zero

The former is an expected behavior of pretty much all shells, explicitly including Zsh and Bash.
The latter is an expected behavior of your OMZ theme.

Oh, Now I get it. Thanks.


Is there a way to access the train/valid loss history for Solver1D, like for solve?

(this issue is specifically directed for the ODE solver, but probably can be extended to the other solvers in the package):
The currently-deprecated function solve used to return both the solution and the loss history, like so:
solution_ex, loss_ex = solve(
    ode=exponential, condition=init_val_ex, t_min=0.0, t_max=2.0
)

Following the API's suggestion, I switched to using the the Solver1D class, which now is formatted as such:
solver = Solver1D(
    ode_system = exponential,
    conditions = [init_val_ex],
    t_min=0.0,
    t_max=3.0,
    ... # other parameters
)

monitor = Monitor1D(...)
solver.fit(
    max_epochs=1000,
    callbacks=[monitor.to_callback()]
)

I can access the solution function via solver.get_solution(), but is there an analogous way to access the loss history? I attempted to look through the documentation without much luck. My thinking is either

it's stored in the Monitor instance
it's stored in the Solver1D instance (perhaps there's a way via solver.get_internals())?

Hi Albert, you can access the loss history (as well as the history of other custom metrics) via
print(solver.metrics_history['train_loss'])
print(solver.metrics_history['valid_loss'])
# etc.

Thank you!

Hi Liu .
I have some queries .
How can I find initial value of weights? As well as final value of weights after max_epochs=1000 fixed epochs ?
Can I fix particular value of weights instead of random weights as initial weights ?


Cleanup

Codecov Report

Merging #54 into master will decrease coverage by 0.21%.
The diff coverage is 57.14%.

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

looks good to me, blah blah etc. etc thumbs up


About trained model of ADVENT

Hi, could you provide the trained model in STEP-1 (ADVENT) ?
We reproduce the first step using your code keeping the default setting, and we got the mIoU=40.9.
I believe many researchers have struggled in the same problem.
If you can provide the trained model of the first phase (ADVENT), we will be grateful.
Thanks.

Sincerely sorry for late reply due to my schedule. You can send me an email so that I will share the trained ADVENT file to you.
Best regards,

Sincerely sorry for late reply due to my schedule. You can send me an email so that I will share the trained ADVENT file to you.
Best regards,

Thanks for your reply~


Save and Update Tokens at OAuth Providers level

Hi Team,
I would like to request a save and update tokens at Providers level
Currently, I want to build app that use shared tokens for example Google,.. and In google, we have like 2 accounts and everyone use them.
For now, fetch and update token just allow (name, request.user). I would like to suggest add 1 more field is (name, request.user, provider). So we can have many shared tokens with a same provider. Thank you.
Best Regards,
Giang

I can't quite understand this feature request. Can you show me an example in code so that I can understand what you want. For your description, I think it is your design problem.
e.g. user may contain a provider information:
class User(object):
    ...
    provider = Column(String)

Hi Lepture,
It is like my company have 2 google accounts, but 20 people use them when I sign in two accounts, I want token can be updated and got correctly. Because currently oauth has register function only allow to pass name oauth.register(name, ....), not oauth.register(name, account....). So when doing it maybe I can write update or fetch token functions use both (name, account) to find token in database correctly
Thank you,
Giang Le

Why not:
google1 = oauth.register('google1', ...)
google2 = oauth.register('google2', ...)

Hi Lepture,
I have already done it. But with my company, we have Facebook, LinkedIn, Twitter and Instagram for each of them, I need to write register_google, register_facebook, register_linkedin, register_twitter and import each of them with the right name.
By doing it, create_client(name, token_filter=None), I just need to call create_client('google', token_filter = { 'account'<EMAIL_ADDRESS>}). It is cleaner. Otherwise, I will need to custom it like register(name + '_' + account_name) and then create_client(name + '_' + account_name).
And when display on drop down in token selector in My app Google source page. a name of a token when displays, it will be<EMAIL_ADDRESS>When staff on ready even on Google Page, instead of<EMAIL_ADDRESS>Best regards

Hi Lepture,
I should not post a request unthoughtfully. A refresh token function in a module is used during the user process session of login and authorization. after getting token, I can just store it and use anytime I want there was no need to make the parameter to increase complexity. Thank you.
Kind regards
Giang


[audio] SIGFPE (Floating point exception) on audio load - Miniaudio issue with PipeWire?

WARNING: Please, read this note carefully before submitting a new issue:
It is important to realise that this is NOT A SUPPORT FORUM, this is for reproducible BUGS with raylib ONLY.
There are lots of generous and helpful people ready to help you out on raylib Discord forum or raylib reddit.
Remember that asking for support questions here actively takes developer time away from improving raylib.

Please, before submitting a new issue verify and check:

[x] I tested it on latest raylib version from master branch
[x] I checked there is no similar issue already reported
[x] My code has no errors or misuse of raylib

Issue description
I'm experiencing an issue with miniaudio and pipewire on Linux which is causing a "SIGFPE (Floating point exception)" when loading audio is present in the code. The code will build fine, however. When running it will SIGPFE. I first experienced it using other language binding, expecting something to be wrong with it, however an important note here, I previously used popOS which doesn't use pipewire, but EndeavourOS(Arch) uses pipewire. So I decided to give it a try with vanilla C raylib and still experienced the same issue, and I'm not the only person with that issue as there is yet one more user on Raylib discord who experiences the same problem.
Removing any instances of audio from the code fixes the issue, although I haven't thoroughly looked which one is the main culprit for SIGFPE, but I would assume it's InitAudio.
There are multiple closed issues on miniaudio page that report issues with PipeWire & SIGFPE error, please see here.
The issue overall makes Raylib unusable with audio under PipeWire.
Environment
Arch Linux - EndeavourOS
OpenGL 4.6
AMD RX5700XT
Issue Screenshot
N/A
Code Example
No reason to include my original code as it's of a binding, but it happens with the original C Raylib, used an example to test it:
#include "raylib.h"

int main(void)
{
    // Initialization
    //--------------------------------------------------------------------------------------
    const int screenWidth = 800;
    const int screenHeight = 450;

    InitWindow(screenWidth, screenHeight, "raylib [audio] example - Multichannel sound playing");

    InitAudioDevice();      // Initialize audio device

    Sound fxWav = LoadSound("src/test.wav");         // Load WAV audio file
    Sound fxOgg = LoadSound("src/test.ogg");        // Load OGG audio file

    SetSoundVolume(fxWav, 0.2f);

    SetTargetFPS(60);       // Set our game to run at 60 frames-per-second
    //--------------------------------------------------------------------------------------

    // Main game loop
    while (!WindowShouldClose())    // Detect window close button or ESC key
    {
        // Update
        //----------------------------------------------------------------------------------
        if (IsKeyPressed(KEY_ENTER)) PlaySoundMulti(fxWav);     // Play a new wav sound instance
        if (IsKeyPressed(KEY_SPACE)) PlaySoundMulti(fxOgg);     // Play a new ogg sound instance
        //----------------------------------------------------------------------------------

        // Draw
        //----------------------------------------------------------------------------------
        BeginDrawing();

            ClearBackground(RAYWHITE);

            DrawText("MULTICHANNEL SOUND PLAYING", 20, 20, 20, GRAY);
            DrawText("Press SPACE to play new ogg instance!", 200, 120, 20, LIGHTGRAY);
            DrawText("Press ENTER to play new wav instance!", 200, 180, 20, LIGHTGRAY);

            DrawText(TextFormat("CONCURRENT SOUNDS PLAYING: %02i", GetSoundsPlaying()), 220, 280, 20, RED);

        EndDrawing();
        //----------------------------------------------------------------------------------
    }

    // De-Initialization
    //--------------------------------------------------------------------------------------
    StopSoundMulti();       // We must stop the buffer pool before unloading

    UnloadSound(fxWav);     // Unload sound data
    UnloadSound(fxOgg);     // Unload sound data

    CloseAudioDevice();     // Close audio device

    CloseWindow();          // Close window and OpenGL context
    //--------------------------------------------------------------------------------------

    return 0;
}

I am the other user mentioned in this issue, I can confirm I have this same problem(I am on Artix(Arch) Linux using Pipewire.

I ran a program with valgrind and this appears:
Process terminating with default action of signal 8 (SIGFPE): dumping core
==16260==  Integer divide by zero at address 0x100C412152
==16260==    at 0x4966DEC: ??? (in /usr/lib/libraylib.so.4.0.0)
==16260==    by 0x49609FC: ma_device_init (in /usr/lib/libraylib.so.4.0.0)
==16260==    by 0x498CC9D: InitAudioDevice (in /usr/lib/libraylib.so.4.0.0)

However, if i completely recompile the program a few times and try running it again, it sometimes works without error. Sound works as expected and it does not do a SIGFPE when run afterwards.

I've noticed a SIGFPE only occurs when my sound output has not been active for a while.
If I open pavucontrol and then run the program, a SIGFPE does not occur

Sounds like an un-initialized-variable problem that depends on a garbage value that is sometimes 0.  Or maybe something that can legitimately be 0 and the code doesn't provide/defend for it.  What does ma_device_init source code reveal about the division operation?

raylib is not using latest miniaudio yet, I have to update the library, maybe this issue is solved with a new version of miniaudio.

@conifer-dev @realtradam Just updated raylib to latest miniaudio v0.11.8. Please, could you check if this issue persists?


Add role="presentation" to img

Per issue #5

Hi,
Thank you for your PR, but this repository is only for distribution.
Can you send this same PR to the development repository here?
https://github.com/videogular/videogular


Improvement of type checking with array methods "some"/"every"

Suggestion

🔍 Search Terms

some, every, type check for array values, Array.some(), Array.every()
✅ Viability Checklist

My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
Add type guard checking for arrays.

📃 Motivating Example
const funcString = (a: string, b: string) => void;
const funcArray = (a: string[], b: string[]) => void;
const a: string | string[];
const b: string | string[];

if (Array.isArray(a) && Array.isArray(b)) {
	funcArray(a, b); // Works!
}

if ([a, b].every(Array.isArray)) {
	funcArray(a, b); // Error, type "string | string[]" can not be assigned for type "string[]"
}

if (typeof a === 'string' && typeof b === string)) {
	funcString(a, b); // Works!
}

if ([a, b].some(Array.isArray)) {
	return;
}
funcString(a, b); // Error, type "string | string[]" can not be assigned for type "string"

There'd be no way to do this except by hardcoding in detection of this exact pattern which, while cute, seems not prevalent enough in idiomatic JS to warrant the special case.

@RyanCavanaugh sorry to hear that... But thanks for the answer!  Perhaps then I should close the issue?  Or should it remain open just in case?

Interestingly, this also doesn't work:
const foo = [a, b] as const;
if (foo.every(Array.isArray)) {
	funcArray(foo[0], foo[1]);  // also error
}

While every does act as a type guard, it narrows it to <TupleType> & readonly any[][] which TS isn't smart enough to figure out means every element is an array.  Removing the as const makes the error go away, but then it just "narrows" it to any[][] which isn't very nice. ☹


purge codecov

I noticed when reviewing #1807 that codecov CI is still running (and failing). It should have been removed in #1756 (oops).

CI is happy so will go ahead and merge 🚀


Validation support

todo: add some test related to setting those new setting

there are some test failures for python 2 only related to imageSet, we need to fix those, check that these aren't regressions introduced in ufoLib 2.2

I think that the just merged changes in ufoLib (https://github.com/unified-font-object/ufoLib/pull/154) will fix those errors

tests work fine locally. Is there a redo checks button or should I do a silly commit?

Have a feeling that ufoLib first needs a version bump to have the changes pulled in

Bumped to 2.2.2, if you require that, it should work (fingers crossed)

I wonder if we have any concrete benchmarks to show how faster is reading/writing with validation turned on/off when using the latest ufoLib 2.2.2?

see  https://github.com/fonttools/fonttools/issues/1095#issuecomment-397381591

ok, so around 10% faster with validate=False when reading, and 3% faster when writing. Good


fixed swagger file -v1

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go

Can one of the admins verify this patch?

@swmachan pls fix CI failure.

Hi @swmachan are you still on this PR? could you pls fix CR failure or close the PR if you aren't ready for review?

Closing PR as I need to make fixes.


Move Basics Page, link typo

On the Move Basics page, the "Using Objects" link is incorrect. It should be "https://move-book.com/storage/index.html" instead of "https://move-book.com/storage/README.html".

Thanks for spotting! Will be fixed soon


Dataset download links giving 404 error

Hello,
I am trying to use GRB to benchmark attacks, however, I am unable to load the datasets as the download link does not exist. Could you tell me any alternatives to get the data?
Thank you so much!

Please find the GRB datasets from this new link: https://cloud.tsinghua.edu.cn/f/21d3244b99a54a038b44/


undefined usedTiles leads to exception

Faced with the similar bug as described here. It hard to reproduce with one layer, but in our project with 10 VectorTile layers when we start quickly zooming out we get error in console:
ol-debug.js Uncaught TypeError: Cannot use 'in' operator to search for '16' in undefined

Using debugger we have found that cause of this issue is undefied value of usedTiles here.

Do you have a JSFiddle that helps to reproduce the problem? Or at least a full stack trace?

What I've got from browser console:
ol-debug.js:72136 Uncaught TypeError: Cannot use 'in' operator to search for '11' in undefined
ol.TileCache.expireCache @ ol-debug.js:72136
ol.source.Tile.expireCache @ ol-debug.js:72235
(anonymous function) @ ol-debug.js:25763
ol.Map.handlePostRender @ ol-debug.js:41833

I tried to reproduce this with the osm-vector-tiles.html example, which loads 3 vector tile layers, but did not run into the issue.

Trying to make JSFiddle example.

Hard to reproduce with JSFiddle. Using debugger I've found that issue comes from here:
> tileSourceKey
< "36"
> Object.keys(frameState.usedTiles)
< ["1", "30", "32", "34", "38", "40", "42"]

As you can see tileSourceKey is not in frameState.usedTiles. Also (may be important) layer with "36" source should not be visible on zoom level when I get an error because it has maxResolution settings.

Not on a device where I can get to the code, but this sounds like it could be caused by the check that bypasses composition if the frame budget is blown.

it could be caused by the check that bypasses composition if the frame budget is blown.

To see if this is the case, can you test something for me please @drnextgis? Take a copy of ol-debug.js from v3.20.0, and remove !(this.renderedResolution && Date.now() - frameState.time > 16 && in line 26515. Then try again. Does it make a difference?

What is the status of this issue? Is this fixed in 3.20 or higher? We're still at 3.18 (yikes) and I'm seeing this error occasionally. Can't seem to reproduce it with an OSM layer, though, so I'm wondering if this is worth an update.

As far as I can tell, we never were able to fix this issue because noone was able to provide instructions or a code pen to reproduce it.

Closing due to lack of activity.


Included the use strict statement on the logger file

I removed the use strict; statements from all generated files since we only needed it for the class syntax in Node 4. Since the generator now only supports v6 which has classes and ESLint - unlike JSLint - does not complain about it.

Does that make sense? I could be totally missing something...

I believe including a "use strict" is still considered best-practices.

The reason I took it out is because using the Flow parser code transformation we changed to in https://github.com/feathersjs/generator-feathers/pull/207 is breaking Linting (for some reason it adds an additional semicolon to 'use strict;' statements).
The only way to bring it back would be to go back to using Babel 5 as the parser which gives a pretty ugly error message when installing feathers-cli.

pipelineLog-{5462a63f-a92b-44c1-9be7-3e072150ac04}.txt

Has failed on Bitbucket Pipelines.

The log is showing Node v4.6.0 which is no longer supported by this version of the generator. As we talked about in Slack, updating the pipeline to a newer Node version should fix it. Thanks for the PR though!

I feel happy with your transparency, this puts the another on a high level of quality. Thank you for your response.


ActiveQuery automatically adds the idea of table prefix

Guide suggest we use ActiveQuery
https://github.com/yiisoft/yii2/blob/master/docs/guide/db-active-record.md

Tip: In big projects, it is recommended that you use customized query classes to hold most query-related code so that the Active Record classes can be kept clean.

Every time I write, I need to consider adding a table prefix.
Otherwise, there will be an error when joinWith because there is no table prefix
Example:
class Table1Query extend \yii\db\ActiveQuery
{
    public function init()
    {
        $this->active();
    }
    public function active()
    {
        return $this->andWhere(['table1.active' => 1]);
    }
}

Search Model

    public function search($params)
    {
        $query = Table2::find()->alias('table2');
        $query->innerJoinWith(['table1']);

        // add conditions that should always apply here

        $dataProvider = new ActiveDataProvider([
            'query' => $query,
            'sort' => ['defaultOrder' => ['id' => SORT_DESC]]
        ]);

        $dataProvider->sort->attributes['table1_name'] = [
            'asc' => ['table1.name' => SORT_ASC],
            'desc' => ['table1.name' => SORT_DESC],
        ];

        $this->load($params);

        // grid filtering conditions
        $query->andFilterWhere([
            'table2.id' => $this->id,
        ]);

        $query->andFilterWhere(['like', 'table1.name', $this->table1_name])
    }

It's very cumbersome to write this every time, especially when the project is just beginning to develop.
I try to use this solution
class Table1Query extend \yii\db\ActiveQuery
{
    public $prefix = 'table1';

    public function init()
    {
        $this->from([$this->prefix => \app\models\Table1::tableName()]);
        $this->active();
    }

    public function prefix($column)
    {
        return $this->prefix ? $this->prefix . '.' . $column : $column;
    }
    public function active()
    {
        return $this->andWhere([$this->prefix('active') => 1]);
    }
}

Search Model

    public function search($params)
    {
        $query = Table2::find()
        $query->innerJoinWith(['table1']);

        // add conditions that should always apply here

        $dataProvider = new ActiveDataProvider([
            'query' => $query,
            'sort' => ['defaultOrder' => ['id' => SORT_DESC]]
        ]);

        $dataProvider->sort->attributes['table1_name'] = [
            'asc' => [$this->getTable1()->prefix('name') => SORT_ASC],
            'desc' => [$this->getTable1()->prefix('name') => SORT_DESC],
        ];

        $this->load($params);

        // grid filtering conditions
        $query->andFilterWhere([
            $query->prefix('id') => $this->id,
        ]);

        $query->andFilterWhere(['like', $this->getTable1()->prefix('name'), $this->table1_name])
    }

After trying, I think maybe it can be implemented inside \yii\db\ActiveQuery
or
In where and onCondition  According to from conversion

If there is only one table, add no prefix (or all add table prefix)
If there is no from or alias, use tableName as the prefix. Use from or alias if it exists

There may be many problems or use other better ways

If this issue #16151 gets implemented it could help with ActiveQuery child classes and table/alias names.

#16151 was implemented. Can we close this?


chore(Algebra/Group/Subgroup): split Lattice, Map, Ker from Basic.lean

The file Algebra/Group/Subgroup/Basic.lean is very long. Following the design of the Submodule folder, split it into:

Lattice.lean: CompleteLattice instance, Subgroup.closure
Map.lean: Subgroup.map, Subgroup.comap
Ker.lean: MonoidHom.ker, MonoidHom.range and MonoidHom.eqLocus

Thanks!
bors merge


make changes for work with herkku builpacks

hello again seldish-og ,
at the first thanks for your response ,
please make changes to work with heroku buildpacks , it's now read from windows path like line 18 tik_tok.py :
self.browser = webdriver.Chrome("chromedriver.exe")
must be change for work with chrome headless builpack.
waiting for your changes commits :)
finest regards
goodbye

Ok, I'll make it. Star project if you are interested in it, thanks

hello again seldish-og,
please don't forget heroku changes must doing to compatible to deployable on heroku.
waiting for your changes commits
finest regards

.


Add Svelte example

What is the framework/ technology you want to integrate Jest Preview to?

Svelte

Useful links

https://svelte.dev/
https://testing-library.com/docs/svelte-testing-library/intro/

Do you want to add this example on your own?

Need help

Added in #177


Bower

Great package! Can you pubish it to the bower repo?
Cause now I have to search for an another one :(

For anybody who's looking for this - the library is openly available on bower since Feb 1, 2017:
https://libraries.io/bower/simple-scrollbar


fix: handle all options in sequence function

preload and filterSerializedResponseHeaders
fixes #8061
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[x] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

I'm wondering whether it would perhaps be better to take all preload and filterSerializedResponseHeaders options into account, as opposed to only the first ones.
If handle 2 determines that header X has to be serialized, and handle 1 only needs header Y to be serialized, isn't the desired behaviour to include both header X and Y?
Something like this (in case of the filterSerializedResponseHeaders):
const filterSerializedResponseHeaders = (name, value) => {
    let filter = false;

    if (options?.filterSerializedResponseHeaders)
        filter = options.filterSerializedResponseHeaders(name, value);
    if (!filter && parent_options?.filterSerializedResponseHeaders)
        filter = parent_options.filterSerializedResponseHeaders(name, value);

    return filter;
}

return i < length - 1
    ? apply_handle(i + 1, event, {transformPageChunk, filterSerializedResponseHeaders, preload})
    : resolve(event, {transformPageChunk, filterSerializedResponseHeaders, preload});

We decided on "first wins" because else there's no way to re-introduce a filtered header/preload (if we do &&-logic, meaning "only allow those that pass all") or to filter out one that was allowed before (if we do ||, meaning "allow those that pass for at least one").


Fix Yeelight Mesh Light Strip C1

Fix incorrect product ID in #1145.

Thanks!

https://github.com/AlexxIT/XiaomiGateway3/releases/tag/v3.3.5


Admission control in v21.2

This PR documents the new admission control system introduced in v21.2. The new Overload dashboard is documented as part of this PR.
Documents CRDB-2581.
Fixes #11474.

@sumeerbhola pinging to review your change requests.

@sumeerbhola pinging to review your change requests.

Thanks, I'll look this afternoon. I wasn't aware that my comments had been addressed.

Reviewed 1 of 6 files at r1, 5 of 5 files at r4.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (and 1 stale) (waiting on @ianjevans, @RaduBerinde, and @sumeerbhola)

v21.2/transactions.md, line 192 at r3 (raw file):
Previously, sumeerbhola wrote…
This file shouldn't be changed in this PR -- I see a comma has been deleted.

The comma was not needed, so I removed it.

v21.2/ui-overload-dashboard.md, line 7 at r3 (raw file):
Previously, sumeerbhola wrote…

the files and subfiles in memory

There are no such things as subfiles and these are not in-memory.
this should say, "the health of the persistent store(s), which are implemented as log-structured merge trees" and refer to https://www.cockroachlabs.com/docs/stable/architecture/storage-layer.html

Comment doesn't seem addressed.

Missed that update in the overview paragraph, now fixed. The link to the storage layer doc is in the description of the graph below. The overview paragraph, IMO, shouldn't link off to different docs, as it is orienting the user to what graphs are on the dashboard.

v21.2/ui-overload-dashboard.md, line 29 at r4 (raw file):

Level 0 is the highest level of the LSM tree and consists of files containing the latest data written to the [Pebble storage engine](cockroach-start.html#storage-engine). High values indicate heavy write load that is causing accumulation of files in level 0. These files are not being compacted fast enough to lower levels.

- In the node view, the graph shows the health of the persitent store on the selected node.

persistent
same below
Should run spellcheck -- I didn't pay careful attention to spelling.

Fixed.

v21.2/ui-overload-dashboard.md, line 43 at r4 (raw file):

## KV Admission IO Tokens Exhausted Duration Per Second

This graph indicates write I/O overload, which affects KV write operations to storage. This happens during transactions that have writes mutations. The admission control system dynamically calculates write tokens (similar to a [token bucket](https://en.wikipedia.org/wiki/Token_bucket)) to allow for high write throughput without severely overloading each store. This graph displays the microseconds that there were no write tokens left for arriving write requests. When there are no write tokens, these write requests are queued.

"writes mutations" is duplication. Let's just drop that sentence -- the reader who knows anything about what the KV layer is, will know that transactions that do writes cause KV writes.

Done.

v21.2/ui-overload-dashboard.md, line 43 at r4 (raw file):

## KV Admission IO Tokens Exhausted Duration Per Second

This graph indicates write I/O overload, which affects KV write operations to storage. This happens during transactions that have writes mutations. The admission control system dynamically calculates write tokens (similar to a [token bucket](https://en.wikipedia.org/wiki/Token_bucket)) to allow for high write throughput without severely overloading each store. This graph displays the microseconds that there were no write tokens left for arriving write requests. When there are no write tokens, these write requests are queued.

displays the microseconds per second ...

not saying the per second part would indicate that this is showing the cumulative metric, which this is not -- it is showing the per-second rate
the 2 bullets below also need fixing.

The phrase "microseconds per second" is a little confusing. Leaving it for now, but I'll think about a better way phrasing this.

v21.2/ui-overload-dashboard.md, line 52 at r4 (raw file):

This graph shows the rate that operations within the admission control system are processed. There are lines for requests within the KV layer, write requests within the KV layer, responses between the KV and SQL layer, and responses within the SQL layer when receiving DistSQL responses.

This sums up the delay experienced by operations of each kind, and takes the rate per second. Dividing this rate by the rate observed in the admission work rate graph gives the mean delay experienced per operation.

this has been added to the wrong section. My comment was about the "Admission Delay Rate" section.

Fixed.

I'm going to merge this. If there's further edits, I'll create a follow-up PR.


migrate to Probot

@erwinmombay Is this ready to be merged?

@rsimha applying your recs

@rsimha this is ready to be merged


2.0.0 Update makes WP Admin Stuck

Recently updated to the latest version, now the admin page is stuck and always redirected to https://example.com/wp-admin/options-general.php?page=plausible_analytics#welcome_slide
Anyone can reproduce the issue?
Plausible Plugin: set up using a self-hosted option
$wp_version = '6.4.3';

Network log:
GET	https://example.com/wp-admin/index.php 302
Response header: location: https://example.com/wp-admin/options-general.php?page=plausible_analytics#welcome_slide
It redirected to
GET	https://example.com/wp-admin/options-general.php?page=plausible_analytics 200

Hi!
Are you seeing any errors in your console (press F12 to open it in your browser)

Nope, nothing.
Additional information I updated 4 plugins (Elementor, Elementor Pro, Polylang, Plausible), as soon the site was updated, the admin dashboard always redirected to the Plausible plugin page.

Ah, nevermind. Think I found it.
Can you try installing this test-release to see if that resolves your issue?

That does the trick!
Thanks for the apt response @Dan0sz

Great, will release a 2.0.1 now. Thanks for getting back to me!


CI: Hotfix for build error with newer clang++

It will be included in the next release at some point.

https://github.com/RenderKit/embree/issues 486 "fix output operator"

[ 30%] Compiling thirdparty/embree/kernels/common/accelset.cpp ... In file included from thirdparty/embree/kernels/common/device.cpp:12: In file included from thirdparty/embree/kernels/common/scene_curves.h:10: thirdparty/embree/kernels/common/../subdiv/bezier_curve.h:138:56: error: no member named 'u' in 'QuadraticBezierCurve'
138 |         return cout << "QuadraticBezierCurve ( (" << a.u.lower << ", "
<< a.u.upper << "), " << a.v0 << ", " << a.v1 << ", " << a.v2 << ")";
...

What will be included in what release?

https://github.com/RenderKit/embree/commit/cda4cf1919bb2a748e78915fbd6e421a1056638d

Thanks!