struts2-bootstrap-plugin 2.0.4 => missing utils.js

Great plugin!!!
I was trying to use <s:optiontransferselect /> tag and kept getting javascript error.
ERROR: StrutsUtils is not defined.
I can see the utils.js in struts2-core.<IP_ADDRESS>.jar under org.apache.struts2.static package.
I tried adding every struts.property concerning static content, trying all combinations with no success.  (And yes, I did restart glassfish server)
I am using glassfish 4.0.  That might be the issue.  Still working on what I am doing wrong or if
it is struts-core or struts-bootstrap that needs a fix.
======================================================================
*** WORKAROUND =>  add this to your head section.
<script type="text/javascript" src="${pageContext.request.contextPath}/struts/utils.js"></script>
=======================================================================

            commons-validator
            commons-validator
            1.4.1

            org.apache.commons
            commons-lang3
            3.0

            javax
            javaee-web-api
            7.0
            provided

            org.apache.struts
            struts2-core
            <IP_ADDRESS>

            log4j
            log4j
            1.2.17

            com.google.code.gson
            gson
            2.3.1

            mysql
            mysql-connector-java
            5.1.36

            org.apache.struts
            struts2-json-plugin
            <IP_ADDRESS>

            javax.mail
            mail
            1.4

            com.jgeppert.struts2.bootstrap
            struts2-bootstrap-plugin
            2.0.4

# struts.properties
# https://struts.apache.org/docs/strutsproperties.html

# http://stackoverflow.com/questions/19068102/how-to-have-urls-without-a-suffix-e-g-action-in-struts-2
# Do NOT change from ,  to blank!!!  Either comment it out or use ,
struts.action.extension=,

# Set to true for developers and false for production.
struts.devMode=true

# max filesize in upload.
struts.multipart.saveDir=/tmp
struts.multipart.maxSize=10000000

# configure the XSLTResult class to use CSS stylesheet caching.
# Set to true for developers and false for production.
struts.xslt.nocache=true

# when set to true, resource bundles will be reloaded on _every_ request.
# this is good during development, but should never be used in production.
# Set to true for developers and false for production.
struts.i18n.reload=true

# You will need this if you are going to do restful stuff like  /ns1/Resource/edit/5
# where Resource is the controller and edit is the action separated by a slash.  (also th 5 separated by slash)
struts.enable.SlashesInActionNames=true

# If you are using bootstrap plugin, then set this to bootstrap; otherwise, set to simple
struts.ui.theme=bootstrap

### Configuration reloading
### This will cause the configuration to reload struts.xml when it is changed
struts.configuration.xml.reload=true

### used to build URLs, such as the UrlTag
struts.url.http.port = 80
struts.url.https.port = 443
### possible values are: none, get or all
struts.url.includeParams = none

### Whether to allow static method access in OGNL expressions or not
struts.ognl.allowStaticMethodAccess=true

### Used by FilterDispatcher
### If true then Struts serves static content from inside its jar.
### If false then the static content must be available at /struts
struts.serve.static=true

### Used by FilterDispatcher
### This is good for development where one wants changes to the static content be
### fetch on each request.
### NOTE: This will only have effect if struts.serve.static=true
### If true -> Struts will write out header for static contents such that they will
###             be cached by web browsers (using Date, Cache-Content, Pragma, Expires)
###             headers).
### If false -> Struts will write out header for static contents such that they are
###            NOT to be cached by web browser (using Cache-Content, Pragma, Expires
###            headers)
struts.serve.static.browserCache=false

Did try to use <s:head/>?

Yep.
On Dec 14, 2015 12:22 AM, "Lukasz Lenart"<EMAIL_ADDRESS>wrote:

Did try to use <s:head/>?
—
Reply to this email directly or view it on GitHub
https://github.com/struts-community-plugins/struts2-bootstrap/issues/8#issuecomment-164366260
.

And it didn't work?
utils.js is in the source and <s:head/> includes it in a page

I put my starter app here.    It should compile and run to the home.jsp
page by default.
I did not use the jQuery plugin just yet.  I wanted to get used to
bootstrap first and then later on I will embrace the jQuery plugin.
For now, I am just using the CDN version of jQuery and jQueryUI as I did
not want to over complicate my startup base.
https://github.com/ftrujillojr/StrutsWebApp
On Mon, Dec 14, 2015 at 11:40 PM, Lukasz Lenart<EMAIL_ADDRESS>wrote:

And it didn't work?
utils.js is in the source
https://github.com/apache/struts/blob/STRUTS_2_3_24_1/core/src/main/resources/org/apache/struts2/static/utils.js
and <s:head/> includes
https://github.com/apache/struts/blob/STRUTS_2_3_24_1/core/src/main/resources/template/simple/head.ftl
it in a page
—
Reply to this email directly or view it on GitHub
https://github.com/struts-community-plugins/struts2-bootstrap/issues/8#issuecomment-164660552
.

but <s:head/> is missing in your example, you are using only <sb:head/> which isn't the same - see its source code
trying adding <s:head/> above that line


Group Membership Updates are not instantly pushed when  the update is initiated from OKTA

Hi @Captain-P-Goldfish ,
Users/Groups are pushed from OKTA through SCIM. Hence we have done Configuration through SCIM Server -> Service Provider  inorder to receive the updates from OKTA into Keycloak. This is working fine.
Keycloak in turn pushes the Users/Groups to Spring Boot Application. Hence we have done the configuration through SCIM Client -> Remote Service Provider to push updates from Keycloak to Spring Boot App. This is also working fine.
When we create Users or Group, the data is propagated from OKTA -> Keycloak -> Spring Boot.
IF i try to add users to the group from keycloak UI, we get instant updates to spring boot.
However when we try to Add Members to the Group, the data is propagated from OKTA to Keycloak instanteously. However from keycloak to Spring boot it is not happening. The only issues is when users are added to the groups from OKTA.
Any pointers on how to achieve the instant group updates from keycloak to springboot, which are initated from OKTA?
Thanks in advance for your support.
Thanks,
Saravana

Good point.
I have actually missed to fire the events correctly on group-member updates if the SCIM-Server-API is used. I will try to fix this with the next version.

Thanks for the update. How frequently are the releases done? May i know when will the next version will be released?

There is no specific timing since I just try my best to get the tasks done as fast as possible.
But I'm already working on it.
I hope to have the bugfix and the next feature ready in two weeks. I will release again as soon as this bugfix and the next feature are available.

Okay, I think I was able to successfully resolve the problem. Please test again with kc-23-2.2.0-free-SNAPSHOT

Hi @Captain-P-Goldfish
I downloaded the kc-23-2.2.0-free-SNAPSHOT and it was not working. Also the date looks like 1.6.2024. Is the Fixed Version available for download?

Thanks,
Saravana

the artifact is correct. The timestamp you see is set on entry creation and is not updated if I exchange an underlying file.
I just tested again and it works.
I did this (synchronization between different realms. The context of my plugin does not know that it is the same server):

Create a new realm and activate SCIM Server
Create SCIM Client configuration to new realm
Assign my LDAP realm to SCIM Client configuration
Last go into the LDAP config and execute Sync all users.
The users from LDAP are imported into Keycloak and the SCIM Client configuration synchronizes the user from realm LDAP to the new realm from step 1

The artifact is correct. The timestamp you see is created if the release-entry is created and is not updated if I exchange an underlying file.
I can still verify that the updates to third parts are correctly triggered if I use the SCIM server API. Can you give me steps you are followingso that I can recreate this problem?

We have a realm A, where in we have activated SCIM Server, so that it can be used to sync user/groups from OKTA.
In the same realm A, we have created SCIM Client Configuration to push the user/group changes from keycloak to Sample Spring Boot Application
The Expectation is when User/Group is created in OKTA, that get pushed to Keycloak instantly. We would like those changes to be pushed instantly to Sample Spring Boot Application as well.

I tested again. I just downloaded the artifact from my website and did the following:

Setup my a new realm named goldfish and activated the SCIM Server and created a Client for it
Created a new realm named synchro-test  and and activated SCIM Server and created a Client for it
Created a SCIM Client configuration that is connected to realm synchro-test and assigned it to realm goldfish
Created a Group

{
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:Group"
  ],
  "displayName": "new-group-4",
  "externalId": "798f4f38-b1bb-4d65-9ddd-c59527a8cfc3",
  "id": "391f55d5-40d7-4221-b6c7-cd4a809e1260",
  "meta": {
    "resourceType": "Group",
    "created": "2024-06-16T17:57:24.416Z",
    "lastModified": "2024-06-17T16:50:45.218Z",
    "location": "https://localhost:8444/realms/goldfish/scim/v2/Groups/391f55d5-40d7-4221-b6c7-cd4a809e1260"
  }
}

resulted in remote group:
{
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:Group"
  ],
  "displayName": "new-group-4",
  "id": "798f4f38-b1bb-4d65-9ddd-c59527a8cfc3",
  "meta": {
    "resourceType": "Group",
    "created": "2024-06-16T17:57:24.533Z",
    "lastModified": "2024-06-17T16:50:50.337Z",
    "location": "https://localhost:8444/realms/synchro-test/scim/v2/Groups/798f4f38-b1bb-4d65-9ddd-c59527a8cfc3"
  }
}

Created a User

{
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User"
  ],
  "id": "46f43caa-070b-471b-bb10-13a37422fc7e",
  "externalId": "5335c2c8-89f0-4bac-86f9-9edb1aeb2dec",
  "userName": "goldfish-2",
  "active": false,
  "meta": {
    "resourceType": "User",
    "created": "2024-06-16T17:51:27.558Z",
    "lastModified": "2024-06-16T17:51:27.558Z",
    "location": "https://localhost:8444/realms/goldfish/scim/v2/Users/46f43caa-070b-471b-bb10-13a37422fc7e",
    "version": "W/\"vHb2cTsqD1HjUoo4vJYr4gKxhMA=\""
  }
}

resulted in remote user
{
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:User"
  ],
  "id": "5335c2c8-89f0-4bac-86f9-9edb1aeb2dec",
  "userName": "goldfish-2",
  "active": false,
  "meta": {
    "resourceType": "User",
    "created": "2024-06-16T17:51:28.273Z",
    "lastModified": "2024-06-16T17:51:28.273Z",
    "location": "https://localhost:8444/realms/synchro-test/scim/v2/Users/5335c2c8-89f0-4bac-86f9-9edb1aeb2dec"
  }
}

assigned User to group with request:

PATCH https://localhost:8444/realms/goldfish/scim/v2/Groups/391f55d5-40d7-4221-b6c7-cd4a809e1260
Content-Type: application/scim+json
Authorization: Bearer {{$auth.token}}

{
  "schemas": [
    "urn:ietf:params:scim:api:messages:2.0:PatchOp"
  ],
  "Operations": [
    {
      "op": "add",
      "path": "members",
      "value": {
        "value": "46f43caa-070b-471b-bb10-13a37422fc7e",
        "type": "User"
      }
    }
  ]
}

which resulted in
{
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:Group"
  ],
  "members": [
    {
      "value": "46f43caa-070b-471b-bb10-13a37422fc7e",
      "type": "User",
      "$ref": "https://localhost:8444/realms/goldfish/scim/v2/Users/46f43caa-070b-471b-bb10-13a37422fc7e",
      "display": "goldfish-2"
    }
  ],
  "displayName": "new-group-4",
  "externalId": "798f4f38-b1bb-4d65-9ddd-c59527a8cfc3",
  "id": "391f55d5-40d7-4221-b6c7-cd4a809e1260",
  "meta": {
    "resourceType": "Group",
    "created": "2024-06-16T17:57:24.416Z",
    "lastModified": "2024-06-17T16:59:53.941Z",
    "location": "https://localhost:8444/realms/goldfish/scim/v2/Groups/391f55d5-40d7-4221-b6c7-cd4a809e1260"
  }
}

and 5 seconds later:
{
  "schemas": [
    "urn:ietf:params:scim:schemas:core:2.0:Group"
  ],
  "members": [
    {
      "value": "5335c2c8-89f0-4bac-86f9-9edb1aeb2dec",
      "$ref": "https://localhost:8444/realms/synchro-test/scim/v2/Users/5335c2c8-89f0-4bac-86f9-9edb1aeb2dec",
      "display": "goldfish-2",
      "type": "User"
    }
  ],
  "displayName": "new-group-4",
  "id": "798f4f38-b1bb-4d65-9ddd-c59527a8cfc3",
  "meta": {
    "resourceType": "Group",
    "created": "2024-06-16T17:57:24.533Z",
    "lastModified": "2024-06-17T16:59:59.064Z",
    "location": "https://localhost:8444/realms/synchro-test/scim/v2/Groups/798f4f38-b1bb-4d65-9ddd-c59527a8cfc3"
  }
}

As you can see. I cannot verify this issue.

Hi @Captain-P-Goldfish
I just downloaded the <IP_ADDRESS> artifcat and started keycloak. I get the following checksum error. Also i find that the file size is around 7.8 MB.

Last week Friday, when i downloaded the same, it was around 10 MB and i was able to get it up and running.

Yes, the filesize has decreased since I resolved #115
the checksum error is expected since you installed the version kc-22-2.0.0-SNAPSHOT once before. Please take a look into the file snapshot-update-manual.txt that is also displayed in your screenshot from above. This file tells you how to resolve this.

Thanks @Captain-P-Goldfish . It worked.


UI Request: Design System Guidelines

Component Type
Other
Component Location
separate repo? / Wiki? / .github
What is the component's purpose?
Create a simple design system to serve as a reference for developers, designers, and all contributors when creating new components for Shoutify. A design system should increase consistency in the application and provide clarity when creating new assets.
It may also serve as a basis for CSS utility styles in the app.
The actual end-product could be as simple as a markdown file within this repo (and I suggest we start this way) located at .github/DESIGN_SYSTEM.md, or a separate repository, using a framework such as BookStack to host the content.

Current Style Examples

Rounded Corners

rounded-md tailwind
Applies to "cards", buttons, modals. Is never applied to items that make up the main layout of the page

Spacing 4

mx-4 and my-4 are the default margin for spacing components

Colors

gray: colors.zinc

Background - 900
Panel - 800
Button Active - 700

blue:

Primary Button - 600
Primary Button Hover - 400

References

https://material.io/design/introduction
https://www.lightningdesignsystem.com/guidelines/overview/

I'll like to create a design system on figma
It won't be much of an issue implementing since this is a tailwind project 🤩

Thanks @Onyelaudochukwuka,
I actually just contacted Figma to ask what an open-source organization Figma account would look like.
We are now using Storybook, so there is a lot of room for writing design documentation there now: https://github.com/TechSquidTV/Shoutify/blob/main/src/stories/Introduction.stories.mdx
It does look like there is some amount of interoperability between Figma and Storybook. Once I learn more about how we can utilize Figma as an open source org, I'll look into getting a "shared" account.

https://help.figma.com/hc/en-us/articles/360045003494-Storybook-and-Figma
https://storybook.js.org/blog/figma-plugin-for-storybook/

Getting a Figma account may mean we are limited to a select design team for an "organization" I suspect.

yes probably, i haven't actually used story book before.
I'll absolutely love to try it out

I'd love to come up with a defined color palette to start, something we could potentially interchange and allow for custom themes, but of course, we need a default list. In one of our designs here there is a frosted glass look which I really like, but it's hard to incorporate that into color thinking.
I have been loving these theme for my personal things: https://www.nordtheme.com/ which has a color set. I am not sure if it's ideal for Shoutify, it's very muted in color, which I like, but also lacks a bit of contrast. I do like the darkness of our current theme.
I would love to borrow from an existing design system like nord though, so we can reference it rather than maintain our own color guides.

The polar night theme looks similar to what we have right now, we can go with that🤔


Publish binaries for Apple Silicon as part of release process

Blocked by https://github.com/paritytech/ci_cd/issues/361.
The CI of this project (see .gitlab-ci.yml) has some special stages that are invoked once a Git tag a la vX.X.X is pushed. In that case the artifact binaries of the CI are attached to a GitHub draft release.
Once we have M1 runners for our CI we should add another stage build-apple-silicon (or sth like that) analog to the build-mac stage and attach its artifacts to the draft release as part of the publish CI stage.

Are you sure we need a Apple Silicon builder for this? We could just cross compile. However, we would need to install the appropriate rust toolchain in the image.


livesync fails: Unable to sync files

Following the tutorial I ran:
$ tns livesync android --watch

And after modifying the app.component.ts file the app was not updated and instead I got this error:
Unable to sync files. Error is: ENOENT: no such file or directory, stat '/home/user/nativescript/sample-Groceries/platforms/android/src/main/assets/app/app.component.ts~'

What could be wrong?
Full error message follows:
$ tns livesync android --watch
Executing before-prepare hook from /home/user/nativescript/sample-Groceries/hooks/before-prepare/nativescript-dev-typescript.js
Found peer TypeScript 1.8.10
Project successfully prepared
Executing before-livesync hook from /home/user/nativescript/sample-Groceries/hooks/before-livesync/nativescript-angular-sync .js
Transferring project files...
Successfully transferred all project files.
Applying changes...
Successfully synced application org.nativescript.groceries on device LGXXXXX.
Executing before-watch hook from /home/user/nativescript/sample-Groceries/hooks/before-watch/nativescript-dev-typescript.js
Found peer TypeScript 1.8.10
JS: Page loaded
JS: BOOTSTRAPPING...
JS: Setting DOM
JS: Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.
JS: ANGULAR BOOTSTRAP DONE.
5:53:20 PM - Compilation complete. Watching for file changes.

5:54:34 PM - File change detected. Starting incremental compilation...

Executing before-prepare hook from /home/user/nativescript/sample-Groceries/hooks/before-prepare/nativescript-dev-typescript.js
5:54:37 PM - Compilation complete. Watching for file changes.

Project successfully prepared
Transferring project files...
Unable to sync files. Error is: ENOENT: no such file or directory, stat '/home/user/nativescript/sample-Groceries/platforms/android/src/main/assets/app/app.component.ts~'
Executing before-prepare hook from /home/user/nativescript/sample-Groceries/hooks/before-prepare/nativescript-dev-typescript.js
Project successfully prepared
Transferring project files...
Unable to sync files. Error is: ENOENT: no such file or directory, stat '/home/user/nativescript/sample-Groceries/platforms/android/src/main/assets/app/app.component.ts~'

Never mind, I just configured vim so it doesn't create backup files in the current directory and the livesync works.
Still pretty ridiculous this breaks tns.

@cersbud That indeed seems bad. Could you create an issue on https://github.com/nativescript/nativescript-cli so we can fix that?

Since there’s no issues with the sample I’m going to close this. Feel free to kick off a conversation on the CLI repo about backup files.

Hello,
I'm having the same error message:
Unable to sync files. Error is: ENOENT: no such file or directory, stat 'C:\APP\src\APP.Mobile\platforms\android\src\main\assets\app\modules\exercises\components\modal-finished-exercise\modal-finished-exercise.component-common.scss'
I realize that it only happens with files located in big paths and when I save it while livesync. Maybe it's a system path limit or something. Indeed, if I restart the cli command "tns run android" everything works again without any error message. Until a save those big path files again.. :(
Just for records: i got the error on NS 2.4.0 and NS 2.5 too.
Would be nice to have any workaround this issue.
Thanks


Request for #2 Position and name from action in menu 'Insert Code...'

Hi Rob,
I change also the name in the ReadMe.md and do little formating there. But unfortunately I have not Ubuntu with this L&F in NetBeans. So I can't update the picture with the 'Generate' popup in the ReadMe.
Perhaps you can update the picture?
Greetings
Peter

Thanks for the changes Peter,  I'll get an updated screenshot uploaded in the ReadMe tomorrow.


Include data types in modules

Hello,
Unfortunately, I can't just rebase my changes - my fork's gone far enough that it'd be a big hassle to go through that process. I might have more time to look into it a couple of weeks from now.
As a first step, I've gone through the process of including a types file for LuaLS to provide data typing inside the repo. No code or functionality have been touched.
There's not much to know, and there's few warnings that are coming up as a result - which says good things about the original code.
I'd added a few function descriptions in comments for personal reference. I left them in, as a courtesy for future readers.

LGTM, thanks for the PR.

I'll batch some PR updates into index updates, otherwise Reapack index file will get too large.


Copy car-order-system and components to tibco-examples folder

Changes:
Copied the system files to tibco-examples folder and added new "allowed kinds" in app-config files.


Increase Dart code formatter max line length option

Is your feature request related to a problem? Please describe.
Default max line length (which is 80) of Dart code formatter breaks a lot of lines in a really odd way (especially equality, map objects init, etc.).
Describe the solution you'd like
Increase max line length of Dart code formatter up to 120 (it seems reasonable value for modern displays to event open two files with such line length side by side).
Additional context
From my point of view, the main reason why 80 is not suitable for the current plugin is the WebRTC context, because of which source codes contain many lengthy classes, properties, and variables names (which can't be shortened without losing consistency).
After a fleeting glance at Flutter source codes, I found a lot of places where 80 chars max line length rule is ignored to improve code readability (even in Flutter style guide they prefer not to break equality lines).
Unfortunately, dartfmt can't provide such smart formatting, for now, that is why increasing the max line length is the easiest solution.

After some discussion with @cloudwebrtc was decided to stick with default max line length for now.


merge gliderlabs/master

merging and resolving conflicts between latest state of gliderlabs/master and our fork

already included #10
closes #10


ios-sim not found when trying to debug iOS app

I have an iOS project that builds and runs fine under XCode and I have installed ios-sim. I'm using the following xcodebuild-tools.json:
{
"sdk": "iphonesimulator11.3",
"workspace": "${workspaceRoot}/Barriers.xcworkspace",
"scheme": "Barriers",
"debugConfigurations": [
{
"name": "Simulator",
"cwd": "${buildPath}",
"program": "ios-sim",
"args": [
"launch", "Barriers.app/",
"--devicetypeid",  "com.apple.CoreSimulator.SimDeviceType.iPhone-8, 11.3"
]
}
]
}
When I invoke Xcodebuildtools: Launch Debug Sesssion the build succeeds, but that is followed with an error dialog that syas "launch: program 'ios-sim' does not exist".  I have tried changing ios-sim to /usr/local/bin/ios-sim in the xcodebuild-tools.json file, but this does not help.

Hi,
I was unable to reproduce the problem on my machine (macOS 10.13.5, XCode 9.4). To help debug the problem I've added a new iOS example to the repository.
Please clone the repository and open vscode in examples/hellloworld-ios. You may need to updated the SDK_VERSION variable to reflect the available SDKs.
Let me know if this changes anything.
Baruch

I have the same issue.
VSCode shows "launch: program 'ios-sim' does not exit" when debugging.
The ios-sim has been installed definitely. Because run without debugging is no problem.
Following my xcodebuild-tools.json:
{
    "variables": {
        "SDK_VERSION": "12.1"
    },
    "sdk": "iphonesimulator${SDK_VERSION}",
    "workspace": "${workspaceRoot}/XXXX.xcworkspace",
    "scheme": "XXXX",
    "debugConfigurations": [
        {
            "name": "Simulator",
            "cwd": "${buildPath}",
            "program": "ios-sim",
            "args": [
                "launch", "XXXX.app/",
                "--devicetypeid",  "com.apple.CoreSimulator.SimDeviceType.iPhone-7, ${SDK_VERSION}"
            ]
        }
    ]
}

I know it's not very comforting, but it works on my machine.
As a workaround, could you try replacing
           "program": "ios-sim",
With the full path to ios-sim? on my machine it's
           "program": "/usr/local/bin/ios-sim",
How did you install ios-sim? which node.js version, and how did you install node.js? did you use Homebrew for that?
Baruch

I also have this problem. I have checked out the current master (a415f24b) and only changed SDK_VERSION to "12.2" in examples/helloworld-ios/project/.vscode/xcodebuild-tools.json.
When I try to run  the "Xcodebuild-tools: Launch Debug Session" I am meet with the following message:

Unable to start debugging. Program path '/usr/local/bin/ios-sim' is missing or invalid.
LLDB failed with message: Command 'file-exec-and-symbols'. Target binary '/usr/local/bin/ios-sim' is invalid. error: '/usr/local/bin/ios-sim' doesn't contain any 'host' platform architectures: x86_64h, x86_64, i386
This may occur if the process's executable was changed after the process was started, such as when installing an update. Try re-launching the application or restarting the machine.

It have two buttons: "Cancel" and "Open launch.json". If I press "Open launch.json" it opens helloworld-ios/project/.vscode/launch.json. I cannot find the file git history.
Mine looks like this:
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "(lldb) Launch",
            "type": "cppdbg",
            "request": "launch",
            "program": "enter program name, for example ${workspaceFolder}/a.out",
            "args": [],
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}",
            "environment": [],
            "externalConsole": true,
            "MIMode": "lldb"
        }
    ]
}

Can somebody please post theirs launch.json

@broegaard, I don't think launch.json file is needed.
I have the same issue with an example program. It shows the following error

Unable to start debugging. Program path '/usr/local/bin/ios-sim' is missing or invalid.
LLDB failed with message: Command 'file-exec-and-symbols'. Target binary '/usr/local/bin/ios-sim' is invalid. error: '/usr/local/bin/ios-sim' doesn't contain any 'host' platform architectures: x86_64h, x86_64, i386, x86_64
This may occur if the process's executable was changed after the process was started, such as when installing an update. Try re-launching the application or restarting the machine.

The build itself succeeds and I can manually run it like
ios-sim launch /Users/abc/.vscode/extensions/sterin.xcodebuild-tools-0.0.7/examples/helloworld-ios/build/Debug/project.app -d "com.apple.CoreSimulator.SimDeviceType.iPhone-12, 14.3"

This just seems like it is trying to debug /usr/local/bin/ios-sim instead of the program.app... 🤷


History useBasename

Is it possible to use useBasename enhancer with Redux Router?
I tried this way but useBasename seems to return an instance of history whereas redux-router (unlike react-router) expect to receive the factory.
import { createHistory, useBasename } from 'history';

const createAppHistory = useBasename(createHistory)({
  basename: '/example',
});

const createAppStore = compose(
  applyMiddleware(
    ...
  ),
  reduxReactRouter({
    createHistory: createAppHistory
  })
)(createStore);

https://github.com/rackt/history/blob/master/docs/BasenameSupport.md

So the only solution I see is to modify reduxReactRouter store enhancer to expect an instance of history (which would be more like react-router)

I found a hacky solution reading https://github.com/rackt/react-router/blob/7c129f55bb344c5e9d0561952dd4862e5ae68567/modules/Router.js#L56.
import { createHistory, useBasename } from 'history';

const appHistory = useBasename(createHistory)({
  basename: '/example',
});

const createAppStore = compose(
  applyMiddleware(
    ...
  ),
  reduxReactRouter({
    createHistory: () => appHistory
  })
)(createStore);

So yeh I have the createHistory factory, useBasename gives me an instance and then I recreate a factory in order to be used by reduxReactRouter ...

Do you want to put together a PR to add that sort of behavior here as well? i.e. where both history and createHistory are acceptable.


draft: Dangerjs

Messages

:book:
Changed Files in this PR:
 - package-lock.json- package.json

  Generated by :no_entry_sign: dangerJS against f90c715e23848366da8699f1e3d32068cee89c64


"Cannot GET /" on localhost:3000

I'm getting the text Cannot GET / on npm test when the browser opens up localhost:3000.
This is in the develop branch, and the master branch worked for me.

This was either happening because the testing folder had no index.html file, or BrowserSync launched before Gulp was done processing pages.
Either way, today we put out a release candidate for Foundation for Emails 2, and all future testing will happen in the dedicated template repo.
If you encounter any issues with the new standalone template, let us know. :)


[1.x] Allow to listen for MessageReceived event

Hey,
Love using Reverb so far! 🚀
I would like to use the websocket server to receive non-Laravel messages from other clients as well and handle the messages in my app. I have some IoT devices that allow for outbound websocket.
The MessageReceived event is already implemented and I can just listen for it in the app. However it doesn't get executed because if the message doesn't contain the "event" key the server fails handling the message (Undefined array key "event") and sends 'event' => 'pusher:error' event to the client with message "Invalid message format".
We just need to check for the "event" key before using the Pusher or ClientEvent handler.

Hope you reconsider. Seems like a wasted opportunity to add general purpose tool in the Laravel toolkit. It doesn't seem to add any maintenance overhead and worked perfectly to receive messages from various clients supporting websockets.

I would also like to point out that this change just allows the data, that is already received and parsed by the websocket server and available, to be used (listened to) by everybody. This current limitation is silly tbh.

Laravel Socialite for example allows to implement your own providers along the Laravel provided ones. It's the same here.

"I have never written a single private class or method in an OS repo in my entire career
Like free speech, open source code is only truly open if someone you don't like can use and extend your code in ways that you disagree with, and you can't do anything about it" - Steve Bauman
Let developer listen to the message received event for all types of messages. There can be a new MessageHandled event for those that are handled by Reverb.

@rihardsgrislis feel free to fork this project and modify this entirely in the way you want 👍

@driesvints I rest my case now. This websocket server is too awesome. Together with FrankenPHP running one is such a delightful developer experience and I never want to go through something else. So, yeah, I'm forking it already.
websocket:
    image: ghcr.io/rihardsgrislis/my-app/app:main
    container_name: reverb_websocket
    working_dir: /app
    command: [ "php", "artisan", "reverb:start" ] # , "--debug"
    restart: unless-stopped
    ports:
      - "8080:8080"


exports is not defined

Getting the following when running it from the command line:
dublinbus: Generating Transit Arrivals Widget HTML
Error: exports is not defined
[  Error: exports is not defined
]

No idea what this is in relation to. Here's the full output
Starting GTFS import for 1 file using SQLite database at :memory:
Downloading GTFS from https://www.transportforireland.ie/transitData/Data/GTFS_All.zip
Download successful
Importing GTFS from /var/folders/hm/ts1l6x0j2ddcn2cpzbzz14lr0000gp/T/tmp-35682-OyFNB8u4ortL/gtfs.zip
Importing - agency.txt - 115 lines imported
Importing - areas.txt - No file found
Importing - attributions.txt - No file found
Importing - calendar_dates.txt - 946 lines imported
Importing - calendar.txt - 379 lines imported
Importing - fare_attributes.txt - No file found
Importing - fare_leg_rules.txt - No file found
Importing - fare_products.txt - No file found
Importing - fare_rules.txt - No file found
Importing - fare_transfer_rules.txt - No file found
Importing - feed_info.txt - No file found
Importing - frequencies.txt - No file found
Importing - levels.txt - No file found
Importing - pathways.txt - No file found
Importing - routes.txt - 830 lines imported
Importing - shapes.txt - 6229762 lines imported
Importing - stop_areas.txt - No file found
Importing - stop_times.txt - 5927119 lines imported
Importing - stops.txt - 13191 lines imported
Importing - transfers.txt - No file found
Importing - translations.txt - No file found
Importing - trips.txt - 204876 lines imported
Completed GTFS import for 1 agency

dublinbus: Generating Transit Arrivals Widget HTML
Error: exports is not defined
[  Error: exports is not defined
]

and my config.json
{
    "agency": {
      "agency_key": "dublinbus",
      "gtfs_static_url": "https://www.transportforireland.ie/transitData/Data/GTFS_All.zip",
      "gtfs_rt_tripupdates_url": "https://api.nationaltransport.ie/gtfsr/v2/gtfsr?format=json"
    },
    "beautify": true,
    "locale": "en",
    "noHead": false,
    "refreshIntervalSeconds": 20,
    "templatePath": "views/widget",
    "timeFormat": "12hour"
  }

Thanks for reporting this.
I pushed an updated version of transit-arrivals-widget that should solve this. The issue was with the code logging warnings and errors to the console, so when you run the latest version, you'll successfully see any warnings and errors that come up.
Let me know how it goes.


ABAP Development: Create a CDS View - Step 6

The Done button cannot be selected.

Hi Jim,
According to the QA server, this is now working.
Abdel merged my Pull Req (1648).
Please close this issue.


bulk_action doesnt work

Hi, firstly thank u for the open source template!
I have used your template for my project and is facing some issues currently.
I have imported every js and css into my project however i cant seem to see the bulk_action table work. The checkbox cant be seen on the table at all.
May i know whats the issue?

Hard to tell, make sure you have the right paths in ( there css/js ) and also that your checkboxes does exist in your html file.


read_sql_table creates delayed objects without provided sqlalchemy connection arguments

I am trying to load a table from presto using Dask read_sql_table. The presto server runs on https. As per the pyhive docs if server is on SSL you have to pass {'engine_kwargs': {'connect_args': {'protocol': 'https'}}}.
Code:
import dask.dataframe as dd
df = read_sql_table('test_extension', 'presto://server_url/hive',
                      index_col='col_name', divisions=[0, 30000, 60000], head_rows=100,
                       engine_kwargs={'connect_args': {'protocol': 'https'}})
# till here everything is fine it extracts metadata , creates correct number of partitions.
df.head()

df.head fails saying an http request was made to an https endpoint. I checked this using a debugger as well and the request is made with http protocol.
I suspect the problem is at https://github.com/dask/dask/blob/6fd2eb57158dbf260e29311e84f6a389904f0ef2/dask/dataframe/io/sql.py#L191, this does not pass engine kwargs to https://github.com/dask/dask/blob/6fd2eb57158dbf260e29311e84f6a389904f0ef2/dask/dataframe/io/sql.py#L196
If the server is on http and I change protocol param to http then everything works.

How would you write the equivalent pandas call using pandas.read_sql? We need to get the connect_args passed through.

For pandas.read_sql I pass the connection object instead of Connection string. But as far as I have read in similar discussions it's quite complicated to pass the connection objects. @TomAugspurger

Right, they're generally not serializable. So it seems like we may need to pass some arguments through to _read_sql_chunk to create the engine which will be passed to pd.read_sql?

I can investigate things further and try to find a workaround or a solution which is not complicated like serialisation of sqlalchemy objects. @TomAugspurger

@TomAugspurger I will try sending a PR for this by tomorrow.


Issues when reaching around 200 games

Hi. I am currently using this package to calculate player rating after matches (5v5). This works splendid, except when a player is closing in on around 200 games played. It then swings wildly, to the point that it will overflow an int after 1-3 games. Any idea as to what might cause this?

Hi, could you provide a code example showing this behavior ? I could not reproduce the problem in my tests.

`async function calculateMMRforGame(game_id, map) {
date = new Date().getTime();
console.time('MMRupdate_' + date);
const recalc = false;

await db.tx(async client => {
    //First we get the game that we are calculating for, making sure to check that it is a valid MMR game
    let game = await client.query(
        "select id, winner from games where id = $1 and cheat_mode = false and game_mode = 1 and mmr_calculated = $2 and game_time > 300 and map = $3 and start_time is not null limit 1", [game_id, recalc, map]
    );
    if (!game.rows[0]) {
        console.log(
            "No game that should be calculated MMR for was found with that ID"
        );
        return;
    }

    //Gather player data for the given game
    let players_res = await client.query(
        "select u.id as id, jsonb_path_query(u.mmr, '$.\"2019\".Season_1') as mmr, team " +
        "from game_results as gr " +
        "join users as u on gr.user_id = u.id " +
        "where game_id = $1", [game.rows[0].id]
    );

    var settings = {
        // tau : "Reasonable choices are between 0.3 and 1.2, though the system should
        //      be tested to decide which value results in greatest predictive accuracy."
        tau: 0.7,
        // rating : default rating
        rating: 3000,
        //rd : Default rating deviation
        //     small number = good confidence on the rating accuracy
        rd: 350,
        //vol : Default volatility (expected fluctation on the player rating)
        vol: 0.10
    };
    var ranking = new glicko2.Glicko2(settings);

    rankings_radiant = [];
    rankings_dire = [];

    for (let p of players_res.rows) {

        var r = ranking.makePlayer(Number(p.mmr[mp].mmr));
        r.id = p.id;

        if (p.mmr[mp].vol && p.mmr[mp].rd) {
            r.setVol(Number(p.mmr[mp].vol));
            r.setRd(Number(p.mmr[mp].rd));
        }

        if (p.team == 2) {
            rankings_radiant.push(r);
        }

        if (p.team == 3) {
            rankings_dire.push(r);
        }
    }

    let winner, loser;

    if (game.rows[0].winner == 2) {
        winner = rankings_radiant;
        loser = rankings_dire;
    }

    if (game.rows[0].winner == 3) {
        winner = rankings_dire;
        loser = rankings_radiant;
    }

    var race = ranking.makeRace([winner, loser]);
    ranking.updateRatings(race);

    //Now, we tie it all together and update each players mmr
    for (let w of winner) {
        let w_p_res = await client.query(
            "select mmr " + "from users " + "where id = $1", [w.id]
        );

        var updated = w_p_res.rows[0].mmr;

        updated["2019"].Season_1[mp].mmr = w.getRating();
        updated["2019"].Season_1[mp].calibration_games =
            Number(updated["2019"].Season_1[mp].calibration_games) + 1;
        updated["2019"].Season_1[mp].rd = w.getRd();
        updated["2019"].Season_1[mp].vol = w.getVol();

        console.log(
            "Winner mmr for user: ",
            w.id,
            "is ",
            updated["2019"].Season_1[mp]
        );

        let updated_mmr = await client.query(
            "update users set mmr = $1 where id = $2", [updated, w.id]
        );
    }

    for (let l of loser) {
        let l_p_res = await client.query(
            "select mmr " + "from users " + "where id = $1", [l.id]
        );

        var updated = l_p_res.rows[0].mmr;

        updated["2019"].Season_1[mp].mmr = l.getRating();
        updated["2019"].Season_1[mp].calibration_games =
            Number(updated["2019"].Season_1[mp].calibration_games) + 1;
        updated["2019"].Season_1[mp].rd = l.getRd();
        updated["2019"].Season_1[mp].vol = l.getVol();

        console.log(
            "Loser mmr for user: ",
            l.id,
            "is ",
            updated["2019"].Season_1[mp]
        );

        let updated_mmr = await client.query(
            "update users set mmr = $1 where id = $2", [updated, l.id]
        );
    }

    //Now we update the game to set that MMR has been calculated for it
    let updated_game = await client.query(
        "update games set mmr_calculated = true where id = $1", [game.rows[0].id]
    );
    console.timeEnd('MMRupdate_' + date)
    return;
});

}`

mmr_player_log.txt
Log of a player with this issue

We run about 5000 games per month, and this occurs with about 2-3 players each week. I never saw it happening with a player with less than 150 games. Could it be related to the value of τ?
We calculate after every match

You shouldn't use Races in your case, it generates artificial draws between players of the same team. So instead of
    var race = ranking.makeRace([winner, loser]);
    ranking.updateRatings(race);

it should be:
    let matches = [];
    for (let pwinner of winner){
      for (let plooser of looser) {
        matches.push([pwinner, plooser, 1]);
      }
    }
    ranking.updateRatings(matches);

But there is space for improvement. I think we can mitigate the fact that these are team matches rather than individual matches by building a virtual opponent with the average characteristics of the other team. The code would become something like this:
    function averagePlayer(players){
      let count = players.length;
      let rating = players.reduce( (a, b) => a.getRating() + b.getRating(), 0) / count;
      let rd = players.reduce( (a, b) => a.getRd() + b.getRd(), 0) / count;
      let vol = players.reduce( (a, b) => a.getVol() + b.getVol(), 0) / count;
      return new ranking.makePlayer(rating, rd, vol);
    }

    let avgWinner = averagePlayer(winner);
    let avgLooser = averagePlayer(looser);
    let matches = [];
    for (let pwinner of winner){
      matches.push([pwinner, avgLooser, 1]);
    }
    for (let plooser of looser) {
      matches.push([plooser, avgWinner, 0]);
    }
    ranking.updateRatings(matches);

The last improvement would be to not calculate after every game but after a period of time.


Adapting ORD RC2

Description
Currently, the relation between Bundles and Apis/Events is One-to-Many (a single Bundle can have many Apis/Events but a single Api/Event can be part of only one Bundle).
This PR introduces Many-to-Many relation between Bundles and Apis/Events (a single Bundle can have many Apis/Events and a single Api/Event can be part of many Bundles) due to ORD requirements.
In addition, there are changes and adaptations to fields corresponding to ORD RC2.
Related issue(s)

/lgtm

/retest

/test all


Web: 4-create section

[x] this feature developed on a branch 4-section
[x] add section, p , br tags
[x] content added
[x] style section

@SWAPNACHEMBOTH accidently did this on the main branch. Luckily nothing major changes, so far.


Fix Homebrew shellenv configuration

Specifically:

Previously, the brew shellenv command was added to /etc/profile, however, this doesn't work with sudo by default because /etc/profile is only read for login shells. The result is that sudo is unable to find brew on the PATH.
To fix this, the brew shellenv has been appended to the /etc/bash.bashrc instead.

Additionally, the build commands for this image have been moved to build.sh. This file is then copied to the container, executed, and then removed.
Doing this allows me to format the shell commands in a more readable way.

Superceded by:

https://github.com/bottle-garden/github-devcontainer/pull/6


Changelog 53

First pass on Changelog for this repository
[skip ci]

@gmcculloug please add a documentation label
you're welcome.  :)

anyone should feel free to translate some of these PR titles

@syncrou @bdunne Please review.


chore: pinning 0.29.0 trivy

Using 0.29.0 trivy version

@achton, @krol3
there's a problem with the image pull,
Sending build context to Docker daemon  778.2kB

  Step 1/5 : FROM ghcr.io/aquasecurity/trivy:0.29.0
  0.29.0: Pulling from aquasecurity/trivy
  2408cc74d12b: Already exists
  1f7baadb884f: Pulling fs layer
  d8fba6749e9b: Pulling fs layer
  b29b36dd8ef1: Pulling fs layer
  error pulling image configuration: download failed after attempts=1: unauthorized: unauthenticated: User cannot be authenticated with the token provided.

all github actions using aquasecurity/trivy-action@master are failing. could this be addressed? cc @simar7

Yes, confirming that this was an intermittent issue (that I also experienced) - now gone.


Confussed. The download does not contain ED06Splitter.exe?

The download does not contain ED06Splitter.exe that was mentioned in the readme
I may just be stupid and clueless but any help would be great. I usually can figure most things out.
Thanks in advanced!

Are you sure?
/releases/download/v1.0.0/ED06Splitter.zip


:seedling: Remove unused return value (error)

In this functions the returned errors are always nil. They can be removed and this makes the code a little bit simpler.

Summary
Related issue(s)
Fixes #
Release Notes

NONE

/ok-to-test

pkg/cache/client/context.go:1: : # github.com/kcp-dev/kcp/pkg/cache/client [github.com/kcp-dev/kcp/pkg/cache/client.test]
pkg/cache/client/round_tripper_test.go:72:19: assignment mismatch: 2 variables but generatePath returns 1 value (typecheck)

pkg/cache/client/context.go:1: : # github.com/kcp-dev/kcp/pkg/cache/client [github.com/kcp-dev/kcp/pkg/cache/client.test]
pkg/cache/client/round_tripper_test.go:72:19: assignment mismatch: 2 variables but generatePath returns 1 value (typecheck)

sorry, I did not checked the test results, fixed now

/lgtm

/retest
looks like a flake.


Update to“<EMAIL_ADDRESS>”To implement "privateKey" and "certChain" in "Deno. ConnectTlsOptions".

At"https://deno.land/api@v1.32.1?s=Deno.ConnectTlsOptions&unstable=" has implemented "certChain" and "privateKey", which means that you can now set the "client certificate" and the "key" corresponding to the client certificate to connect to the database using "TLS".
Current“<EMAIL_ADDRESS>”Version cannot successfully connect to the database using TLS.
I hope this function can be implemented later.

One thing by the way:
Based on the "npm package<EMAIL_ADDRESS>”、“mongodb-windows-x86_64-enterprise-6.0.5.zip”、“<EMAIL_ADDRESS>”", or cannot use" TLS "to connect to the database".
But, Also based on the "npm package<EMAIL_ADDRESS>”、“mongodb-windows-x86_64-enterprise-6.0.5.zip”、“<EMAIL_ADDRESS>”、“<EMAIL_ADDRESS>”You can use "TLS" to connect to a database.


Documentation

name: Tyson Lawrie
email<EMAIL_ADDRESS>message:
Besides the youtube video….we probably need a ‘How-To’ set up detailing the setting of the whisk properties that are stored in ~/.wskprops

Closing as project is being archived.


Create a release for NetBeans 11.3

Please create a Jeddict v5.4.2 release for NetBeans 11.3

Released v6.2.0 https://plugins.netbeans.apache.org/catalogue/download/452/jeddict-6.2.0.nbm compatible with Apache NetBeans 20.


Allow building hugo or hugo_extended via an ENV variable

Hi there,
Thank you for building this repo and documenting it so nicely. I started using it today but I need the hugo_extended version for my site.
This is my proposal. If I understand the Docker Cloud docs correctly, you'll be able to automate the creation of extended and extended-extra tags easily from their admin panel.
Let me know what you think, and/or make any changes you wish.

Hey, nevermind about this. I just found out hugo depends on a couple of C libraries that are missing in alpine https://github.com/gohugoio/hugo/issues/4939
Closing this (whistles as if nothing had happened)


Run CI on source-containers-feature branch too

Signed-off-by: Tim Waugh<EMAIL_ADDRESS>Maintainers will complete the following section:

[ ] Commit messages are descriptive enough
[ ] "Signed-off-by:" line is present in each commit
[ ] Code coverage from testing does not decrease and new code is covered
[ ] JSON/YAML configuration changes are updated in the relevant schema
[ ] Changes to metadata also update the documentation for the metadata
[ ] Pull request includes link to an osbs-docs PR for user documentation updates

Not needed anymore


Better .spec examples for unit testing

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Changes the unit test implementation as to be more compliant with the Angular 2 Docs. Needs further discussion.

What is the current behavior? (You can also link to an open issue here)

Not thus compliant unit testing.

What is the new behavior (if this is a feature change)?

Compliant unit testing.

Other information:

We should work on that, as seen in the one example.


Update status endpoint

Update GetStatusResult as follows:

move pub peers: PeersMap, to be the first field
move pub build_version: String, to immediately follow api_version
starting_state_root_hash should be changed to be set to the state root hash of the lowest block of the available block range (comment needs updated and remove deprecation)
node_state should be replaced with pub reactor_state: ReactorState,
add pub last_progress: Timestamp,
add pub blocks_sync: Vec<BlockSyncStatus> (see below)
add pub available_block_range: AvailableBlockRange,

struct BlockSyncStatus {
    block_hash: BlockHash,
    block_height: Option<u64>,
    acquisition_state: String, // BlockAcquisitionState.to_string()
}

Fixed in https://github.com/casper-network/casper-node/pull/3383


fix: typo in unlazy/svelte exported component

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSDoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Quick fix to align the name of the export with the docs
All documentation refers to the component as UnLazyImage, but the export had the I in Image lowercased.

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Thanks!


Ios app crashed just by adding this package . if it is not used anywhere thuogh

This is the error message on android studio:

Lost connection to the device.
Error: Unable to terminate com.livquiz.livquiz on 01495F37-2881-448E-A42E-AD812A9A9ADF:
ProcessException: Process exited abnormally with exit code -2:
Command: xcrun simctl terminate 01495F37-2881-448E-A42E-AD812A9A9ADF com.livquiz.livquiz
the Dart compiler exited unexpectedly.
And this is what I found  when build from xcode:

Thread 31: "-[__NSCFString objectForKey:]: unrecognized selector sent to instance 0x600000fc8980"

We have had reports of [__NSCFString objectForKey:]: unrecognized selector sent to instance before. Did you update your XCode to 15.3 ? Can you also provide the stack trace as text?

sure I will provide this tonight

@Nurullah-Sadekin Did updating XCode fix this for you?


Image deletion (enhancement)

Dear Team,
A new functionality which would be really appreciated is to give the end-user the choice to delete the photo taken for any reason (quality, face, ...), of course a switch on the configuration would be appreciated to activate/deactivate the feature.
A possible implementation of it could be an additional screen between the state "Processing" and "Print".

I agree with you @werdeil, a new arrow can be added below the picture to print in order to "forget" the picture

@werdeil should we make the "print" state always displayed since it is used to propose the image deletion?
(Currently the state is skipped if no printer installed)

For me not as it is now, if we make it always displayed we shall change the complete layout (including arrows) depending on the fact that there is print or not.
I see the forgot feature most as a way to avoid waiting time on the print screen, if there is no print option user doesn't wait so no need to add an action here...

That's ok for me.
Other point: the folders in raw should not be also moved in a raw folder inside the forget one?

I would say no too, for me all the raws shall be kept in the same folder.

But a least a folder forget in the raw one, be cause if I want to upload in google drive all the raw photo, I need to select manually which one is forgotten or not...

I disagree on that, for me raws shall be kept as they are.
There can be good raw images from a forgotten final picture, I don't think we shall put them away.


add "ignoreSinglePoints" argument to bounds pen

see discussion:
https://github.com/behdad/fonttools/pull/450
https://github.com/typemytype/booleanOperations/pull/20
cc @adrientetar @behdad

See #450, the ufo3 tools (amongst which ufoLib) don't draw anchors in the pen anymore, so we're good when using ufoLib.

I'm not sure I understand, Adrien. What do you mean "we are good"? Don't we want to make the fonttools bounds pens behave like the robofab ones in certain circumstances (e.g. in booleanOperations' BooleanContour)?

Right, defcon doesn't draw anchors like this anymore in the ufo3 branch but booleanOperations still does. Hmm... I'm not sure we should alter fontTools to cater for what's essentially a hack in ufo2 tools.

I'll ask Tal about this.


NewFsObject should return an error not nil

NewFsObject should return an error not nil when it fails...

Duplicate of #518


Updating image - Trigger process box

Updating the image as we are now using the Trigger process option

In order for picture to change you need to update tutorial.


Unfinished sentence on roc-lang.org

This sentence is unfinished:

You can read more about the differences between Roc and languages that support memory-unsafe

https://www.roc-lang.org/

This has been fixed at some point. 🎉


Multiple networks with the same name appear for target provider for infrastructure mappings

BZ:  https://bugzilla.redhat.com/show_bug.cgi?id=1572169
Example:  ovirtmgmt for a single target appears twice.  2 hosts enabled for the RHV provider with the conversion host role.

@priley86 @AparnaKarve this looks like a similar issue is having in his Ravello env.  I think our solution here is going to be the same as for source networks...filter duplicate names in the UI.

@AparnaKarve is looking into this and will pull in the database from that environment...

@miq-bot add_label blocker

@AparnaKarve did you have an update on this PR.

@JPrause I don't, atm.
We are currently waiting on a specific input from the RHV team regarding the Network deduplication.
Once @agrare hears back from them, we will have a plan on how to proceed on this.
Thanks.

@AparnaKarve I confirmed with RHV that uid_ems can be used to unique lans.

Thanks @agrare !
Since most of our discussion on this topic is in #281, I have a comment there and just need you to confirm the mapping structure https://github.com/ManageIQ/miq_v2v_ui_plugin/issues/281#issuecomment-399122472

Cool - we are using uid_ems to dedupe networks in the Infra Mapping list view as well already so it sounds like merging #404 will resolve this once and for all...

Any update on this PR. We have an upcoming build on July 10

I believe this issue can be closed now. We are using the uid_ems to uniquely identify lans now, however to fully qualify this, we should also include the provider & cluster when uniquely identifying. If these aren't included, we risk a small edge case mentioned in #455. I'm looking at this currently.


Vector Database

Hello, the work you are doing is excellent！
I would like to ask you if you can publicize the results of the data preprocessing after calling text-embedding-3-large, and I hope to hear from you!

Thanks for your interest in our work!
Unfortunately, it’s not feasible to share the embeddings directly (at least on GitHub), as they are similar in size to the databases. However, we’ve shared the code for preprocessing the database values and catalogs, and demonstrated how to run it via run_preprocess.sh. You can use the default embedding model to run this code (which is very cost-effective) or substitute any embedding model you prefer.
I hope this helps, and feel free to follow up if you have further questions!


cinny: Add version 2.2.2

Closes #9381

[x] I have read the Contributing Guide.

/verify

/verify


Field ordering not maintained in generated object descriptions

Describe the bug
On subsequent executions on the same codebase the ordering of attributes is random. This leads to incompatible constructor signatures in generated client code.
To Reproduce

create maven project that generates JSON/YAML api descriptions for some Java source
execute the build several times (keeping the generated yaml/json api descriptions)
compare generated api descriptions

Expected behavior

API descriptions generated by all the executions are identical

Additional context
Randomizing attribute ordering leads to different constructor signatures for object in generated client code. This requires changes to the source code using generated client every time the client is generated based on regenerated API description.

Thank for reporting. I am pretty sure this is the behaviour of Swagger, not this Maven plugin. The basic idea was to be a thin wrapper around the Swagger framework.

Agreed, it's either swagger-codegen in general or it's specific swift4 target. Any way this issue doesn't belong here.


Disable unused features of dep bindgen

bindgen enables feature "clap" and "logging" by default, which is used only in binary but not in library.

The CI also failed on master, so I think this PR itself is ok.

Thanks for the work!


[Swipe to refresh] Slowly swipe down, SwipeRefresh not working.

Description
Slowly swipe down, SwipeRefresh not working.
Steps to reproduce
Just add the code in AS and run, then you slowly swipe down the view, and now you will find the SwipeRefresh not working. this "not working" action is that right?
Use this accompanist project demo is the same.
class MainActivity : ComponentActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        WindowCompat.setDecorFitsSystemWindows(window, false)
        setContent {
            var isRefreshing by remember { mutableStateOf(false) }
            val coroutineScope = rememberCoroutineScope()
            val refreshState = rememberSwipeRefreshState(isRefreshing)
            val lazyListState = remember { LazyListState() }
            SwipeRefresh(
                state = refreshState,
                onRefresh = {
                    isRefreshing = true
                    coroutineScope.launch {
                        if (isRefreshing) {
                            delay(2000)
                            isRefreshing = false
                        }
                    }
                }
            ) {
                LazyColumn(
                    modifier = Modifier.fillMaxSize(),
                    state = lazyListState
                ) {
                    items(100) { index ->
                        Text(text = "index = $index")
                    }
                }
            }
        }
    }
}

Expected behavior
SwipeRefresh working.
Additional context
implementation "com.google.accompanist:accompanist-swiperefresh:0.25.1"

@bentrengrove

With the release of Compose 1.3, Accompanist SwipeRefresh is actually about to be deprecated as this functionality is now available in Compose. We are just writing the migration guide now. There won't be any more bug fixes here so I will close this issue.
If you would like to get ahead of the migration, here is a sample of the new PullRefresh in the Material Compose library.
https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/material/material/samples/src/main/java/androidx/compose/material/samples/PullRefreshSamples.kt;l=1


[CIVP-10806] Add ModelPipeline class

Add the ModelPipeline class, the primary abstraction for creating and running modeling jobs in the Civis Platform.

@keithing , as before, the first commit copies reviewed code from the development repo. This commit should make modeling fully functional for anyone with access to the official templates. Future PRs will add Sphinx documentation and switch from using templates to using an API endpoint.

Future PRs will add Sphinx documentation and switch from using templates to using an API endpoint.

What is the time frame on these? Should we make a release before they come in?

Documentation is ready to go. I'll get back to you on the API endpoint.

I added a new commit to fix a small issue with the database name being None.

@keithing , @mheilman , I split X into df and csv_path in both train and predict.

@mheilman ?

I just had that one comment, which was addressed.  feel free to merge.  i don't need to review the whole thing


Restructuring README

Focus more on that this is only the source of the documentation
Replace GitHub link with docs.nephio.org ones
Add Netlify build status

/assign @liamfallon
/assign @efiacor

@CsatariGergely just wondering if you want to take a look at my comments?

/lgtm
/approve


fmTextDiff: Open diff (files or folder) in TextMate

When a diff is not performed well by fmTextDiff it would be great if the diff could be readily opened in an external diff program, like TextMate or other diffing tool.
Failing that - or maybe in addition - it would be useful to be able to open the diff (=temp) folder in TextMate

Opening folder in TextMate implemented in 20230320 @mrwatson-de v1.6


Clarify kubectl shell autocompletion documentation

As discussed in #12405.

CLA signed

Hi, @weibeld, thanks for the PR and all the updates! Can you please make sure to sign the CLA so we can get it merged as quickly as possible when it's ready?

Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA.

@cody-clark I signed the CLA now.

@weibeld just a minor nit on wording, let's wait for @zacharysarah to chime in and see if he has a better suggestion.
everything else looks awesome, thanks for taking into account @sftim 's suggestion w.r.t tabs, is a different page now 👍

/lgtm

This looks great, @weibeld! Thanks for your work
Preview: https://deploy-preview-13060--kubernetes-io-master-staging.netlify.com/docs/tasks/tools/install-kubectl/
/approve


Add/Extend color picker that allows transparent option

When you configure a metric block and you either configure the block to be shown either as a card or not you don't see much difference and the background is still there, it is white and it is not transparent as in the other page blocks. I guess if possible this should be revised.
Display as a card disabled.

Display as a card enabled.

@Bojan-Svirkov, I don't think this is an issue. The Metric PB has a background color set to it so it looks like the card style isn't applied. Here's an example of two Metric PBs - one with a title and the other displaying a value. Notice how they look when a value is and isn't displayed:
Page builder mode:

Public page:

Change of plan: I'll try to remove the background

For today: add plan and start implementing it

Plan:

add a button to the metric configurator that sets the background color to transparent
create a custom color picker and add it to the metric configurator

For today: implement the rest of the functionality and submit for code review

FE added. Gonna need BE property for the transparent background prop

For today: submit task for code review after BE is added

Update: BE won't be needed. The transparent background option will be saved in the metric.options obj

todo: add plan of action

for today: add plan of action and start  working on this

Plan:

[ ] Find a library that's easy to use
[ ] Implement a reusable component
[ ] Apply it to all places where we use color-picker
[ ] Make sure the input is debounced

for today: start implementing reusable component

for today: continue working on this and resolve bg default issue

for today: address comments on PR

for today: add finishing touches and submit for review

for today: address comments

for today: take a look into calendar color issue

Tested and confirming that everything works as expected.
Added CL:
"added": [
    {
      "what": [
        "option for transparent color in the color picker."
      ],
      "why": [
        "to give users more configuration options."
      ],
      "refs": [
        "https://github.com/cortezaproject/corteza/pull/1211"
      ]
    }


Fixup trainer in case of non-finite loss.

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Please tag this pr with at least one of these labels to make our release process faster: BREAKING, new feature, bug fix, other change, dev setup

Also backport to 0.9.x?

Much support.


Begins to move HTTP namespace.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

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

Totals

Change from base Build<PHONE_NUMBER>1:
0.07%

Covered Lines:
4345

Relevant Lines:
5570

💛  - Coveralls


json Forms

I dont know if this add-on can handle forms or not, i tried on page with a form and it seems it ignores completely the form, or maybe i just dont know how to do it, any advice on how to achieve this or is any plan for pr for this feature ?

Hi @stillzombie!
Form handling over ajax is actually possible in Statamic out-of-the-box 😊
I'm not sure if it's properly documented but you essentially POST to /!/Form/create with a few additional hidden (& encypted) params that Statamic requires to figure out which Formset the submission is meant for, etc. Getting the encryped params from Statamic is the tough part if you're using Statamic in a headless CMS setup.
Hope to add a Formset endpoint some time soon to make this a bit easier, and release it together with an example in the Fetch docs. Will mark this issue as a FR until then!

Thanks having a Formset endpoint will be great, if need any help with a pr. i will glad to help

Thanks for the PR offer! I actually have some code laying around somewhere since I needed this for a project a while ago but never officially pushed it to Fetch (you're the first dev to ask for this feature 😉).

Just pushed a new release (v4.9) that adds support for fetching Formsets!
Also updated the docs with an example, feel free to comment here or open a new issue if anything is unclear or doesn't work.

Fantastic, thanks a lot

Works perfectly.
What would you recommend to do, if i have a contact page and i want to fetch all the data in json from there, including the form attached to this page, how would you handle this situations for example?

Assuming with "fetch all the data in json" you mean fetch the formset's fields, you could do something like:
axios.get('/!/Fetch/formset/contact').then(resp => {
    const fields = resp.data.data.fields

    // update form by iterating over fields object
});

If you're using something like Vue or React, you could make fields a reactive property which you can then setup to automatically populate the form in your template.
I guess you've already seen this from testing, but here's an example of the output from my test contact formset:
{
    "data": {
        "title": "Contact",
        "fields": {
            "name": {
                "display": "Name",
                "validate": "required|min:2"
            },
            "email": {
                "display": "Email",
                "validate": "required|email"
            },
            "message": {
                "display": "Message"
            }
        },
        "params": "eyJpdiI6IkJzZ1NqNFVzR1JVUzVTQ1N1amhJc2c9PSIsInZhbHVlIjoiSTg4TUJrbHRqWGQwZUZwZUFBNHdmZnJoT2JvTDl5aVNkY2JqRmFwdlhlMm5ZelBGNXlmSXE2ZklLUWVyUWlvciIsIm1hYyI6IjQzMGIxNWYzNzRhNDMwMTljYzFjODVlNzQyYTkxNjA2M2Q5NDdhNzdiNWVhYjhiMTI2N2JiMWQyOTFlMWQzMjQifQ=="
    }
}

Notice the validate keys which you can use to perform some front-end validation if you'd like.


Change the default presence validation message

Changes in this PR
Change the default presence validation message
from can't be blank to Please complete this field to continue.
Screenshots of UI changes
Before

After

 Change string on error page to be more meaningful

I haven't introduced a new YAML file because validations is an area open for discussion


How to have a customized search view in toolbar

Hey Florent ,This MaterialViewPager is working perfectly fine,thanks for this lib.
As i'm using search view in toolbar which is also working fine but i want to have a customized search box opened by default in toolbar,for which i can make the header logo go fade on scroll but how to get a customized edit text-box or search-view here.

hey deep9679 can you tell me how did you implement the search view , i followed this implementation http://stackoverflow.com/a/30429439/2310866 but it doesn't work and i dont now why , thanks

hey... yeah no problem... connect on gmail.. i'll help u to develop... and
seriously thanks to florent
On Feb 2, 2016 2:49 AM, "samsam002"<EMAIL_ADDRESS>wrote:

hey deep9679 can you tell me how did you implement the search view , i
followed this implementation http://stackoverflow.com/a/30429439/2310866
but it doesn't work and i dont now why , thanks
—
Reply to this email directly or view it on GitHub
https://github.com/florent37/MaterialViewPager/issues/189#issuecomment-178197825
.


Deleting the current directory (-x) produces sed: 1: "/Users/Oliver/.z": invalid command code O

sed: 1: "/Users/Oliver/.z": invalid command code O
<list of dirs>

I've been having the same issue for a while continuing into OSX 10.10.1.
z -x results in: sed: 1: "/Users/andrew/.z": command a expects \ followed by text followed by a seemingly random list of directories

This issue does not occur with the version of z on GitHub, but persists in the version hosted on Homebrew, which is release v1.8.
If you installed via Homebrew, execute the following to install the latest version of z which has fixed this issue:
brew reinstall --HEAD z

@DannyNemer thx. that fixed it!

I was wrong. I apologize. The most recent version (not release) of z fixes the sed error, but the command z -x remains broken on OS X. I explain and attempt to address this in this pull request: #159.


:sparkles: Add unit test and documentation for TemplateReference

/test-integration

/cc @maelk @fmuyassarov

Thanks for the review @furkatgofurov7 and @maelk , I have addressed the comments. Please review.

/test-integration

lgtm. The documentation is clear. The test makes sense and covers the cases described in the documentation.

/test-integration

/test-integration

/test-integration

/lgtm


[2.x] Fixes flaky-ness in permissions spec test

note: this change already exists on main and was added via: https://github.com/opensearch-project/opensearch-dashboards-functional-test/pull/1444
Description
2.16 integ test build failed for securityDashboards:
https://ci.opensearch.org/ci/dbc/integ-test-opensearch-dashboards/2.16.0/7841/linux/arm64/tar/test-results/6098/integ-test/securityDashboards/with-security/cypress-screenshots/plugins/security/permissions_spec.js/Permissions+page+--+should+create+new+action+group+successfully+by+selecting+`Create+from+selection`+(failed).png
cypress test-run video: https://ci.opensearch.org/ci/dbc/integ-test-opensearch-dashboards/2.16.0/7841/linux/arm64/tar/test-results/6098/integ-test/securityDashboards/with-security/cypress-videos/plugins/security/permissions_spec.js.mp4
The root-cause is potentially due to same names used for testing creation of action groups in 2 tests.
Issues Resolved

Related to https://github.com/opensearch-project/security-dashboards-plugin/issues/2055

Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

This should be backported to 2.16.

The test failures are part of security-dashboards-plugin folder, which is not run for release-testing and should be removed from CI. Can we override and merge this PR to unblock 2.16 pipeline?


HBASE-23584 : Descrease rpc getFileStatus count when open a storefile

https://issues.apache.org/jira/browse/HBASE-23584

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
3m 48s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-0 :warning:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+1 :green_heart:
mvninstall
5m 57s
master passed

+1 :green_heart:
compile
1m  0s
master passed

+1 :green_heart:
checkstyle
1m 30s
master passed

+1 :green_heart:
shadedjars
5m  4s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 37s
master passed

+0 :ok:
spotbugs
4m 47s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
4m 44s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m 37s
the patch passed

+1 :green_heart:
compile
1m 10s
the patch passed

+1 :green_heart:
javac
1m 10s
the patch passed

-1 :x:
checkstyle
1m 59s
hbase-server: The patch generated 2 new + 15 unchanged - 0 fixed = 17 total (was 15)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
5m 46s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
17m 20s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
javadoc
0m 35s
the patch passed

+1 :green_heart:
findbugs
4m 24s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
163m 57s
hbase-server in the patch passed.

+1 :green_heart:
asflicense
0m 27s
The patch does not generate ASF License warnings.

230m 50s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/958

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 6a8953508ce1 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-958/out/precommit/personality/provided.sh

git revision
master / 4b6ce0fcbf

Default Java
1.8.0_181

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/1/artifact/out/diff-checkstyle-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/1/testReport/

Max. process+thread count
4524 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 22s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-0 :warning:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+1 :green_heart:
mvninstall
6m  4s
master passed

+1 :green_heart:
compile
1m  0s
master passed

+1 :green_heart:
checkstyle
1m 31s
master passed

+1 :green_heart:
shadedjars
5m  1s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 38s
master passed

+0 :ok:
spotbugs
5m 39s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
5m 32s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
6m 13s
the patch passed

+1 :green_heart:
compile
0m 58s
the patch passed

+1 :green_heart:
javac
0m 58s
the patch passed

-1 :x:
checkstyle
1m 28s
hbase-server: The patch generated 2 new + 15 unchanged - 0 fixed = 17 total (was 15)

-1 :x:
whitespace
0m  0s
The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

+1 :green_heart:
shadedjars
5m 27s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
21m 48s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
javadoc
0m 36s
the patch passed

+1 :green_heart:
findbugs
4m 56s
the patch passed

_ Other Tests _

-1 :x:
unit
166m 10s
hbase-server in the patch failed.

+1 :green_heart:
asflicense
0m 29s
The patch does not generate ASF License warnings.

236m 21s

Reason
Tests

Failed junit tests
hadoop.hbase.quotas.TestClusterScopeQuotaThrottle

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/958

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 4e40f8e19f73 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-958/out/precommit/personality/provided.sh

git revision
master / fc15ea7546

Default Java
1.8.0_181

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/2/artifact/out/diff-checkstyle-hbase-server.txt

whitespace
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/2/artifact/out/whitespace-eol.txt

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/2/artifact/out/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/2/testReport/

Max. process+thread count
4483 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/2/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  5s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-0 :warning:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+1 :green_heart:
mvninstall
5m 31s
master passed

+1 :green_heart:
compile
0m 55s
master passed

+1 :green_heart:
checkstyle
1m 20s
master passed

+1 :green_heart:
shadedjars
4m 36s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 38s
master passed

+0 :ok:
spotbugs
4m 27s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
4m 24s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m 59s
the patch passed

+1 :green_heart:
compile
0m 56s
the patch passed

+1 :green_heart:
javac
0m 56s
the patch passed

-1 :x:
checkstyle
1m 18s
hbase-server: The patch generated 2 new + 15 unchanged - 0 fixed = 17 total (was 15)

-1 :x:
whitespace
0m  0s
The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

+1 :green_heart:
shadedjars
4m 40s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
15m 43s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
javadoc
0m 36s
the patch passed

+1 :green_heart:
findbugs
4m 29s
the patch passed

_ Other Tests _

-1 :x:
unit
283m 45s
hbase-server in the patch failed.

+1 :green_heart:
asflicense
0m 30s
The patch does not generate ASF License warnings.

342m  0s

Reason
Tests

Failed junit tests
hadoop.hbase.client.TestSnapshotTemporaryDirectoryWithRegionReplicas

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/958

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 486d9d1e4400 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-958/out/precommit/personality/provided.sh

git revision
master / ee19008b12

Default Java
1.8.0_181

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/3/artifact/out/diff-checkstyle-hbase-server.txt

whitespace
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/3/artifact/out/whitespace-eol.txt

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/3/artifact/out/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/3/testReport/

Max. process+thread count
4900 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/3/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  5s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-0 :warning:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+1 :green_heart:
mvninstall
5m 27s
master passed

+1 :green_heart:
compile
0m 56s
master passed

+1 :green_heart:
checkstyle
1m 21s
master passed

+1 :green_heart:
shadedjars
4m 36s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 38s
master passed

+0 :ok:
spotbugs
4m 19s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
4m 17s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m  2s
the patch passed

+1 :green_heart:
compile
0m 55s
the patch passed

+1 :green_heart:
javac
0m 55s
the patch passed

-1 :x:
checkstyle
1m 18s
hbase-server: The patch generated 2 new + 15 unchanged - 0 fixed = 17 total (was 15)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
4m 41s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
15m 46s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
javadoc
0m 35s
the patch passed

+1 :green_heart:
findbugs
4m 32s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
158m  2s
hbase-server in the patch passed.

+1 :green_heart:
asflicense
0m 35s
The patch does not generate ASF License warnings.

216m 18s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/958

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux e2b44a1a7a1b 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-958/out/precommit/personality/provided.sh

git revision
master / 2a4bd0574b

Default Java
1.8.0_181

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/4/artifact/out/diff-checkstyle-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/4/testReport/

Max. process+thread count
4526 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/4/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  3s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-0 :warning:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+1 :green_heart:
mvninstall
5m 32s
master passed

+1 :green_heart:
compile
0m 57s
master passed

+1 :green_heart:
checkstyle
1m 19s
master passed

+1 :green_heart:
shadedjars
4m 35s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 37s
master passed

+0 :ok:
spotbugs
4m 27s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
4m 24s
master passed

_ Patch Compile Tests _

-1 :x:
mvninstall
2m 28s
root in the patch failed.

-1 :x:
compile
0m 38s
hbase-server in the patch failed.

-1 :x:
javac
0m 38s
hbase-server in the patch failed.

-1 :x:
checkstyle
1m 15s
hbase-server: The patch generated 2 new + 15 unchanged - 0 fixed = 17 total (was 15)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

-1 :x:
shadedjars
3m 27s
patch has 20 errors when building our shaded downstream artifacts.

-1 :x:
hadoopcheck
1m 48s
The patch causes 20 errors with Hadoop v2.8.5.

-1 :x:
hadoopcheck
3m 41s
The patch causes 20 errors with Hadoop v2.9.2.

-1 :x:
hadoopcheck
5m 37s
The patch causes 20 errors with Hadoop v3.1.2.

+1 :green_heart:
javadoc
0m 33s
the patch passed

-1 :x:
findbugs
0m 37s
hbase-server in the patch failed.

_ Other Tests _

-1 :x:
unit
0m 39s
hbase-server in the patch failed.

+1 :green_heart:
asflicense
0m 12s
The patch does not generate ASF License warnings.

35m 12s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/5/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/958

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 17267e7d85f3 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-958/out/precommit/personality/provided.sh

git revision
master / ccfbdadb0f

Default Java
1.8.0_181

mvninstall
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/5/artifact/out/patch-mvninstall-root.txt

compile
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/5/artifact/out/patch-compile-hbase-server.txt

javac
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/5/artifact/out/patch-compile-hbase-server.txt

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/5/artifact/out/diff-checkstyle-hbase-server.txt

shadedjars
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/5/artifact/out/patch-shadedjars.txt

hadoopcheck
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/5/artifact/out/patch-javac-2.8.5.txt

hadoopcheck
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/5/artifact/out/patch-javac-2.9.2.txt

hadoopcheck
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/5/artifact/out/patch-javac-3.1.2.txt

findbugs
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/5/artifact/out/patch-findbugs-hbase-server.txt

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/5/artifact/out/patch-unit-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/5/testReport/

Max. process+thread count
93 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/5/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m  0s
Docker mode activated.

-1 :x:
patch
0m  3s
https://github.com/apache/hbase/pull/958 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/958

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/6/console

versions
git=2.17.1

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m  0s
Docker mode activated.

-1 :x:
patch
0m  3s
https://github.com/apache/hbase/pull/958 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/958

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/6/console

versions
git=2.17.1

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m  0s
Docker mode activated.

-1 :x:
patch
0m  3s
https://github.com/apache/hbase/pull/958 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/958

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-958/6/console

versions
git=2.17.1

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


Fix #549: Add a automatic issue closing bot

Works when label: more-info-needed is present on an issue, and user does not reply in 10 days!

If we could just change the label to support and the time to 14 days that would be great. The more-info-needed tag can be used for things that look like legitimate bugs, which is not exactly what I had in mind:

There are some users that ask for support in the issue tracker about installation problems or general usage of the library. That is perfectly fine, but if those issues don't come from a poliastro bug or propose an enhancement, they are handled in a different way: we iterate with the user, and if they don't respond we close it.

(from https://github.com/poliastro/poliastro/issues/549)
Also, this will need a rebase.

Done :+1:


please h70c5_a526

Govee Device SKU
h70c5_a526
Govee2MQTT Version
2024.07.13-82ddc6e9
Describe the issue
please add effect for this h70c5_a526
Startup Diagnostics
there are no effect for this light
Additional Logs
No response
Home Assistant Logs
No response
Anything else?
No response

I have the same lights, I finally found effects ! They are not visible on the mqtt dashbaord, you have to go to Entities and click your govee to see effects !


uncertainty over best way to handle singular moduli in modelsteppredict

At present for singular moduli:

fixes response at time t=0.0 to be 0.0 and the rest is the same as the step amplitude multiplied by the moduli.

Other options include:

Just returning elements 2:end of time, stress, strain.
Just returning the true first value of Inf with full 1:end elements of data.
Similar to normal modelpredict use dt/10 moduli argument value for first element
Any of the above options but add an @warn notifying of the decision that's being made

Will move forward with the 3rd 'other option' as it is the most consistent: 'similar to normal modelpredict use dt/10 moduli argument value for first element'.
Will do this next week unless others disagree.


Missing new lines in JavaScript API tutorial

Code formatting in Cloud doesn't always respect new lines.
So far, I see it for bash` and ts` syntax in Cloud. OSS behaves as expected.
Workaround is to add extra whitespace lines, but those are also preserved in OSS.
Relevant URLs

https://docs.influxdata.com/influxdb/cloud/api-guide/tutorials/client-library-starter/nodejs/

Example:

@sanderson Any idea why Cloud sometimes wraps lines in code samples?

Another example, plus a problem with template literal expressions.


fix: make labels in asf lowcase

There is also a very important point,which is the problem that other ingress open source projects cannot solve.


Add BindFunction to simplify the configuration of SqlMapper

First, by extending the semantics of <bind.../ > from bound variables to binding statements and adding BindFunction interfaces, a new way to extend them is provided.
Secondly, the writing of WHERE clauses and conditional statements is simplified by IfBindFunction, a concrete implementation class of BindFunction.
such as
          <where>
            <if test="null != userId and '' != userId">
                and U.USER_ID = #{userId, jdbcType=VARCHAR}
            </if>
            <if test="null != userName and '' != userName">
                and U.USER_NAME LIKE '%'||#{userName, jdbcType=VARCHAR}||'%'
            </if>
            <if test="null != roleId and '' != roleId">
                and R.ROLE_ID = #{roleId, jdbcType=VARCHAR}
            </if>
            <if test="null != roleName and '' != roleName">
                and R.ROLE_NAME LIKE '%'||#{roleName, jdbcType=VARCHAR}||'%'
            </if>
        </where>

--->
 <bind name="#if.where" value="U.USER_ID,LIKE U.USER_NAME,R.ROLE_ID,LIKE R.ROLE_NAME"/>

Thank you for the PR, @andyslin .
But I don't think we can merge it.
Aside from the obvious code problems (e.g. Chinese comments, DB-specific code, lack of tests), this functionality is way beyond the scope of <bind /> tag, IMHO.
If you have a frequent needs for this feature, I suggest you to check out user defined directives in velocity-scripting.
I'll keep this open for other devs to comment.


$if function never worked as it should, and that's a problem

Type

[x] Functions: $if
[ ] Callbacks: <Callback Name>
[ ] Handlers: <Handler Type>
[ ] Others: ______

Code used:
fix the $if functions.
actually if executes before all code, and that breaks the main function of if! check variables!

example:

{
$get[o]
$if[$get[i]==1]

$let[o;yes]
$else
$let[o;no]
$endif

$let[i;1]
}

in this case it should return "yes", but it returns "no", as the variable "i" has not yet been stored!

More:

Aoi.js version: 4.x+
Node.js version: v14
Operating system: any

Screenshots (If any): https://cdn.discordapp.com/attachments/849899836530884610/865574166475964467/unknown.png

$if executes seperately from the rest of the code
that's how it was made

$if executes seperately from the rest of the code
that's how it was made

can't make it work with the code? even reversing the reading position (from top to bottom)

$if executes seperately from the rest of the code
that's how it was made

can't make it work with the code? even reversing the reading position (from top to bottom)

well to make it work rn is to make it bottom to top format

$if executes seperately from the rest of the code
that's how it was made

can't make it work with the code? even reversing the reading position (from top to bottom)

well to make it work rn is to make it bottom to top format

make instead of recognizing $if as start, recognize $endif?

hmm I was thinking of that too
ig I will try that

If statement function will be improved in v5.