[App Check] Unable to sign in using a test phone number

Description
Hello! We enabled App Check yesterday on our app and everything seems to be working as expected, both for production builds and for debug ones expect for using test phone numbers. After enabling App Check, we can't seem to be able to log in with our test phone numbers defined in Firebase > Authentication > Phone > Test Phone Numbers. Is there any workaround?
We only allow users to sign in in our app using phone numbers, which means that not being able to use test phone numbers puts us in a very bad position to develop the app. Is there any workaround? Should that work and it doesn't (meaning its a bug) or does that work as intended? I didn't see anything about test phone numbers becoming invalid under App Check!
The error we get when we try to use a test phone number:
The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section.

With a real phone number, it just works, so not sure what's up!
Thanks!
Reproducing the issue
No response
Firebase SDK Version
11.3.0
Xcode Version
16.0
Installation Method
Swift Package Manager
Firebase Product(s)
App Check, Authentication, Firestore
Targeted Platforms
iOS
Relevant Log Output
No response
If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

{
  "pins" : [
    {
      "identity" : "abseil-cpp-binary",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/abseil-cpp-binary.git",
      "state" : {
        "revision" : "194a6706acbd25e4ef639bcaddea16e8758a3e27",
        "version" : "1.2024011602.0"
      }
    },
    {
      "identity" : "app-check",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/app-check.git",
      "state" : {
        "revision" : "21fe1af9be463a359aaf8d96789ef73fc3760d09",
        "version" : "11.0.1"
      }
    },
    {
      "identity" : "facebook-ios-sdk",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/facebook/facebook-ios-sdk",
      "state" : {
        "revision" : "c0273540e9426606fc8bc3cf8e7c702f38e76cfc",
        "version" : "17.2.0"
      }
    },
    {
      "identity" : "firebase-ios-sdk",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/firebase/firebase-ios-sdk.git",
      "state" : {
        "revision" : "f909f901bfba9e27e4e9da83242a4915d6dd64bb",
        "version" : "11.3.0"
      }
    },
    {
      "identity" : "giphy-ios-sdk",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/Giphy/giphy-ios-sdk",
      "state" : {
        "revision" : "cdefbedc9f99d40cc64667a2bfaae67a1cf36fbb",
        "version" : "2.2.12"
      }
    },
    {
      "identity" : "googleappmeasurement",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/GoogleAppMeasurement.git",
      "state" : {
        "revision" : "93406fd21b85e66e2d6dbf50b472161fd75c3f1f",
        "version" : "11.3.0"
      }
    },
    {
      "identity" : "googledatatransport",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/GoogleDataTransport.git",
      "state" : {
        "revision" : "617af071af9aa1d6a091d59a202910ac482128f9",
        "version" : "10.1.0"
      }
    },
    {
      "identity" : "googleutilities",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/GoogleUtilities.git",
      "state" : {
        "revision" : "53156c7ec267db846e6b64c9f4c4e31ba4cf75eb",
        "version" : "8.0.2"
      }
    },
    {
      "identity" : "grpc-binary",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/grpc-binary.git",
      "state" : {
        "revision" : "f56d8fc3162de9a498377c7b6cea43431f4f5083",
        "version" : "1.65.1"
      }
    },
    {
      "identity" : "gtm-session-fetcher",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/gtm-session-fetcher.git",
      "state" : {
        "revision" : "a2ab612cb980066ee56d90d60d8462992c07f24b",
        "version" : "3.5.0"
      }
    },
    {
      "identity" : "instabug-sp",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/Instabug/Instabug-SP",
      "state" : {
        "revision" : "09b1ba4d9ebad410661f0ba160d0c46dd0c1ae91",
        "version" : "13.4.2"
      }
    },
    {
      "identity" : "interop-ios-for-google-sdks",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/interop-ios-for-google-sdks.git",
      "state" : {
        "revision" : "2d12673670417654f08f5f90fdd62926dc3a2648",
        "version" : "100.0.0"
      }
    },
    {
      "identity" : "ios-sdk",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/spotify/ios-sdk",
      "state" : {
        "revision" : "5bd49e227145dee4871b1667bf81a2b896590176",
        "version" : "2.1.7"
      }
    },
    {
      "identity" : "leveldb",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/firebase/leveldb.git",
      "state" : {
        "revision" : "a0bc79961d7be727d258d33d5a6b2f1023270ba1",
        "version" : "1.22.5"
      }
    },
    {
      "identity" : "libwebp-xcode",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/SDWebImage/libwebp-Xcode",
      "state" : {
        "revision" : "b2b1d20a90b14d11f6ef4241da6b81c1d3f171e4",
        "version" : "1.3.2"
      }
    },
    {
      "identity" : "lnextensionexecutor",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/LeoNatan/LNExtensionExecutor.git",
      "state" : {
        "revision" : "c0226dcd7d653d4c22dd16ccd72619c86b610c2d",
        "version" : "1.3.0"
      }
    },
    {
      "identity" : "lottie-spm",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/airbnb/lottie-spm",
      "state" : {
        "revision" : "b842598f1295f3ffa1475b1580672d1fe5b83580",
        "version" : "4.5.0"
      }
    },
    {
      "identity" : "mixpanel-swift",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/mixpanel/mixpanel-swift",
      "state" : {
        "revision" : "48d6668ceaaefc338f94e2b084c3cf77b90182f8",
        "version" : "4.3.0"
      }
    },
    {
      "identity" : "nanopb",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/firebase/nanopb.git",
      "state" : {
        "revision" : "b7e1104502eca3a213b46303391ca4d3bc8ddec1",
        "version" : "2.30910.0"
      }
    },
    {
      "identity" : "phonenumberkit",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/marmelroy/PhoneNumberKit",
      "state" : {
        "revision" : "c107075aa8d394be7aced273a46e944afe8b321b",
        "version" : "3.8.0"
      }
    },
    {
      "identity" : "promises",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/promises.git",
      "state" : {
        "revision" : "540318ecedd63d883069ae7f1ed811a2df00b6ac",
        "version" : "2.4.0"
      }
    },
    {
      "identity" : "sdwebimage",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/SDWebImage/SDWebImage",
      "state" : {
        "revision" : "8a1be70a625683bc04d6903e2935bf23f3c6d609",
        "version" : "5.19.7"
      }
    },
    {
      "identity" : "snap-kit-spm",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/Snapchat/snap-kit-spm",
      "state" : {
        "revision" : "6c44e89e330e8b37ea3f7405d75c9a161d4f8281",
        "version" : "2.5.0"
      }
    },
    {
      "identity" : "socket.io-client-swift",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/socketio/socket.io-client-swift",
      "state" : {
        "revision" : "42da871d9369f290d6ec4930636c40672143905b",
        "version" : "16.1.1"
      }
    },
    {
      "identity" : "starscream",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/daltoniam/Starscream",
      "state" : {
        "revision" : "c6bfd1af48efcc9a9ad203665db12375ba6b145a",
        "version" : "4.0.8"
      }
    },
    {
      "identity" : "swift-protobuf",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/apple/swift-protobuf.git",
      "state" : {
        "revision" : "edb6ed4919f7756157fe02f2552b7e3850a538e5",
        "version" : "1.28.1"
      }
    }
  ],
  "version" : 2
}

If using CocoaPods, the project's Podfile.lock

Expand Podfile.lock snippet

Replace this line with the contents of your Podfile.lock!

Thanks for reporting, @xmollv. AFAIK, test phone numbers should also work with App Check. I also tried to reproduce the issue, but I was able to login using my test phone number from the console. I'm wondering if you didn't limit the use of SMS to a specific region as mentioned here.

Thanks for reporting, @xmollv. AFAIK, test phone numbers should also work with App Check. I also tried to reproduce the issue, but I was able to login using my test phone number from the console. I'm wondering if you didn't limit the use of SMS to a specific region as mentioned here.

Thanks for the reply! We do have limited the SMS deliverability to some regions, but the phone number I'm using is indeed from one of those regions. The test phone number I'm testing with is +1<PHONE_NUMBER>, which should work based on this filters, right?

Thanks for the update, @xmollv. Yep, based on your filter, it should work as long as you select your region. I also tried this and it's working on my end too. Just to confirm, I'm wondering if you have tried double-checking your GoogleService-Info.plist if it matches the correct Firebase project you're using?

Thanks for the update, @xmollv. Yep, based on your filter, it should work as long as you select your region. I also tried this and it's working on my end too. Just to confirm, I'm wondering if you have tried double-checking your GoogleService-Info.plist if it matches the correct Firebase project you're using?

Yes, it does! If I use a non-test phone, I can sign in just fine. If I use a test phone, it fails. Here's a quick demo where the only difference is the phone number being used (test one vs non test one):
https://github.com/user-attachments/assets/d271e027-0f33-40bd-8d36-e94ec223c3c6

Thanks for sharing your demo, @xmollv. I was able to reproduce the issue by using the same test number. I've informed the engineers about this for investigation.

Thanks for sharing your demo, @xmollv. I was able to reproduce the issue by using the same test number. I've informed the engineers about this for investigation.

@rizafran awesome, thank you! You mentioned that for you it worked with a test phone number, would you mind sharing which one it was? Asking because we're blocked on this, but if there's a test phone number that works, I'll remove +1<PHONE_NUMBER> from our list of test phone numbers and add the one that worked for you! 🙏🏼

Hi @xmollv, you could try the following test numbers that I used:

+1<PHONE_NUMBER>
+1<PHONE_NUMBER>

Hi @xmollv, you could try the following test numbers that I used:

+1<PHONE_NUMBER>
+1<PHONE_NUMBER>

@rizafran both of them work! tysm for unblocking us ❤

You're welcome, @xmollv :)


allow group description changes

a noblox function which allows the change of group descriptions would be nice. something like changeDesc(string: description) is it all that's needed

Seems like a good feature.
Congrats on the first issue, btw


How to enable folding ?

Is there a preferred way to use proper folding with python-syntax ?
By "proper folding" I mean not a trivial folding solely indent based but a more decent one based on def, class and # {{{ }}} markers declarations.
I tried to use Python-Syntax-Folding and braceless.vim but none seems to be compatible with python-syntax.
The indent mode of Python-Syntax-Folding suits my needs but lacks python 3 syntax.

@amigrave I'd like to point out some things about 'trivial' indent folding.

It's possible to fold more with indent folding, than with existing 'smart' foldings. For example in pycharm I'm dissatisfied that I can't fold big dictionaries, because it only folds function and classes definitions.
In any language I know decently written code is properly indented. So any meaningful construct that you'd like to fold is, guess what, should be also indented. So what would syntax folding or any other folding could bring to that?

Hi @purpleP
Well I guess it's a matter of taste and workflow.
In my case, I don't want to fold more levels than classes and functions. For some rare exceptions such as big dictionaries I use markers which is the third token set I want to be folded along with class and def.
When I open a python file, I want all classes, functions and markers to be folded, but I would hate to have all possible indent levels folded too.
I guess we have different ways to use folding and my way would not suit your needs, but your way does not suit mine either :-)

SimpylFold is by far the best Python folding plugin.

@nfnty Thanks, looks great except for the lack of support for markers ( # {{{)
I see you're pretty active in the development of SimpylFold.
I've dropped an issue about this: tmhedberg/SimpylFold#81


Show nicer error if linter executable doesn't exist

I already know that the problem is that csslint is not at the specified path. But I thought it might be a good Idea to show some kind of warning instead of throwing an exception.
Atom Version: 0.211.0
System: Mac OS X 10.10.3
Thrown From: linter package, v1.0.4
Stack Trace
Uncaught Error: ENOENT: no such file or directory, stat '/usr/local/bin/csslint'
At fs.js:846

Error: ENOENT: no such file or directory, stat '/usr/local/bin/csslint'
  at Error (native)
  at fs.statSync (fs.js:846:18)
  at Object.fs.statSync (ATOM_SHELL_ASAR.js:206:16)
  at LinterCsslint.Linter._cachedStatSync (/Users/egon/.atom/packages/linter/lib/linter.coffee:87:17)
  at LinterCsslint.Linter.getCmdAndArgs (/Users/egon/.atom/packages/linter/lib/linter.coffee:104:16)
  at LinterCsslint.Linter.lintFile (/Users/egon/.atom/packages/linter/lib/linter.coffee:145:24)
  at /Users/egon/.atom/packages/linter/lib/legacy.coffee:50:10
  at FSReqWrap.oncomplete (fs.js:77:15)

Commands
     -8:36.1.0 core:delete (atom-text-editor.editor.is-focused)
     -8:26.2.0 core:copy (atom-text-editor.editor.is-focused)
     -8:24.9.0 core:paste (atom-text-editor.editor.is-focused)
  2x -8:17.1.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -1:07.9.0 editor:newline (atom-text-editor.editor.is-focused)
  9x -1:02.5.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -0:58.1.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
 10x -0:50.4.0 core:move-down (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:45.2.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:44 core:move-right (atom-text-editor.editor.is-focused)
     -0:39.2.0 core:copy (atom-text-editor.editor.is-focused)
     -0:36.7.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:36.5.0 core:paste (atom-text-editor.editor.is-focused)
     -0:32.4.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:11.7.0 core:save (atom-text-editor.editor.is-focused)
     -0:06.1.0 core:copy (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "themes": [
      "one-dark-ui",
      "solarized-dark-syntax"
    ],
    "disabledPackages": [
      "image-view",
      "background-tips",
      "language-go",
      "language-less",
      "language-property-list",
      "language-todo",
      "language-toml",
      "spell-check",
      "bookmarks",
      "welcome",
      "autoflow",
      "markdown-preview",
      "go-to-line",
      "language-c",
      "language-csharp",
      "language-java",
      "language-objective-c",
      "language-perl",
      "language-php",
      "language-python",
      "package-generator",
      "linter-tidy"
    ]
  },
  "linter": {
    "showInfoMessages": true,
    "subtleLinterErrors": [
      "jscs",
      "jshint"
    ],
    "clearOnChange": true,
    "showHighlighting": false
  }
}

Installed Packages
# User
atom-handlebars, v0.5.0
atom-ternjs, v0.6.4
color-picker, v2.0.7
linter, v1.0.4
linter-csslint, v0.0.13
linter-jscs, v1.12.0
linter-jshint, v0.1.6
linter-rubocop, v0.2.7
linter-xmllint, v0.0.6
pretty-json, v0.3.3
tabs-to-spaces, v0.11.0

# Dev
No dev packages

This is an error in the linter you're using and not in linter itself. You might want to do npm install -g csslint.
and if it still doesn't work, You might wanna open an issue there.

@steelbrain As I said at the beginning of my post I already know that this error occurred because I didn't have csslint installed. But I thought it would be nicer to show a warning instead of throwing an exception.
Is this handled by linter or should I open an issue at linter-csslint?

Agreed.

Fix is up in #615


embeddings_image not work with model-id sentence-transformers/clip-ViT-B-32-multilingual-v1

System Info
infinity_emb  0.0.54
Information

[ ] Docker
[X] The CLI directly via pip

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction

infinity_emb v2 --model-id sentence-transformers/clip-ViT-B-32-multilingual-v1
curl -v -H 'content-type:application/json' -d '{"model":"sentence-transformers/clip-ViT-B-32-multilingual-v1","input":["http://images.cocodataset.org/val2017/000000039769.jpg"]}' http://<IP_ADDRESS>:7997/embeddings_image
{"error":{"message":"ModelNotDeployedError: model=sentence-transformers/clip-ViT-B-32-multilingual-v1 does not support embed. Reason: the loaded moded cannot fullyfill image_embed.options are {'embed'}.","type":null,"param":null,"code":400}}

Expected behavior
return image embedding

@xyxu Seems like this model is using architectures": [
"DistilBertModel"
]
And not clip!

@xyxu Seems like this model is using architectures": [ "DistilBertModel" ] And not clip!

Solved, thank you


docs: update names and links in README

Match product naming from Google and add a link to the npm package page.

Thanks!


Corrected event ID for schedule task updated

As per the following:
https://learn.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4701
https://learn.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4702

Learn Build status updates of commit dbf6dbe:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/active-directory/fundamentals/security-operations-infrastructure.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

#sign-off


main.cpp example

Hi 👋
I wanted to integrate dojo in a cpp project https://github.com/cubzh/cubzh/pull/559
I couldn't make it work. I had an error when I called client_new.
When I replace dojo.hpp by dojo.h it works, so that's my current solution.
Could you add a main.cpp example in the repo? Thanks!

can i try this

Hello @caillef I am open to work on this

@Larkooo can you guide these two people?


Unable to deploy function app with RBAC

I had trouble deploying a function app using a service principal. The latest Azure/functions-action@v1 seems to always use SCM credentials, even if no publish profile is specified.
Logs:
2020-11-15T05:00:31.7682000Z ##[group]Run Azure/functions-action@v1
2020-11-15T05:00:31.7682891Z with:
2020-11-15T05:00:31.7683719Z   app-name: ***
2020-11-15T05:00:31.7684604Z   package: ***
~~~
2020-11-15T05:00:31.7692175Z ##[endgroup]
2020-11-15T05:00:32.2293298Z ##[Initialize]
2020-11-15T05:00:32.2352987Z ##[ValidateParameter]
2020-11-15T05:00:32.2370259Z ##[ValidateAzureResource]
2020-11-15T05:00:32.2376919Z Using SCM credential for authentication, GitHub Action will not perform resource validation.
2020-11-15T05:00:32.3097967Z ##[error]Execution Exception (state: ValidateAzureResource) (step: Invocation)
2020-11-15T05:00:32.3116888Z ##[error]  When request Azure resource at ValidateAzureResource, Get Function App Settings : Failed to acquire app settings (SCM)
2020-11-15T05:00:32.3120900Z ##[error]    Failed to fetch Kudu App Settings.
Bad Request (CODE: 400)
2020-11-15T05:00:32.3130134Z ##[error]      Error: Failed to fetch Kudu App Settings.
Bad Request (CODE: 400)
    at Kudu.<anonymous> (D:\a\_actions\Azure\functions-action\v1\node_modules\azure-actions-appservice-rest\Kudu\azure-app-kudu-service.js:62:23)
    at Generator.next (<anonymous>)
    at fulfilled (D:\a\_actions\Azure\functions-action\v1\node_modules\azure-actions-appservice-rest\Kudu\azure-app-kudu-service.js:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
2020-11-15T05:00:32.3138642Z ##[error]Deployment Failed!

I think this creds was changed to a non-null value recently
https://github.com/Azure/functions-action/blob/31d8bb80f65baebccb7de71a651962769aefccd9/src/handlers/parameterValidator.ts#L58-L61
and then context.authenticationType is always Scm.
https://github.com/Azure/functions-action/blob/31d8bb80f65baebccb7de71a651962769aefccd9/src/handlers/parameterValidator.ts#L53
I'm using<EMAIL_ADDRESS>for now and it's working.

Hello,
experience a similar issue when specifying the slot-name parameter. I am getting following error message

The suggestion of @xl1 of using<EMAIL_ADDRESS>seems to be a viable workaround for now.
br,
Patrick

Hi @xl1,
I'm looking into the issue now, please pin back to a previous version as mitigation for now (e.g<EMAIL_ADDRESS>

Hi @xl1,
I've released a new version to address this issue and updated the v1 tag https://github.com/Azure/functions-action/releases/tag/v1.1.8. Please check if the issue is fixed on your side, and thanks for your detailed analysis.

I tested it in my repository and confirmed that the issue was fixed. Thank you for your quick response.


Bring the functionality to AWS and GKE

Is your feature request related to a problem? Please describe.
Even though the issue is not as problematic in other clouds, a similar workflow could also be used for them.
GKE: https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity#authenticating_to
EKS: https://docs.aws.amazon.com/eks/latest/userguide/associate-service-account-role.html#irsa-create-role
Describe the solution you'd like
Implement similar cloud platform support for other platforms.
Describe alternatives you've considered
Additional context
First, it must be validated that the implementations in the other clouds are similar enough to take advantage by integrating their workflows here.

#14 prepared the implementation of additional cloud providers

Check if this could be a valid GCP alternative to retrieve the required data to enhance performance.
https://cloud.google.com/asset-inventory/docs/libraries#client-libraries-usage-go

GCP could also support organization/cross-project service account evaluation - check https://stackoverflow.com/questions/73696396/gcp-list-projects-wtih-golang-api

#17 added basic support for GKE. Missing changes for GKE/GCP:

Helm Chart update required for new environment variables.
add GKE e2e test

Version 0.1.3 implements GKE/GCP support

GCP e2e test can be followed here https://github.com/shiftavenue/azure-clientid-syncer/issues/20


"CERNAVODĂ" is listed in the drop-down menu

Description:
When user writes "CERNAVODĂ" the location appears in the drop-down menu next to the comune and the county witch is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "CERNAVODĂ"

Expected results
The location appears in the drop-down menu as "Oras CERNAVODĂ, CONSTANȚA"


Button with RIpple Effect

Details
A beautiful and colorful ripple arises whenever the button get clicked.
Screenshots

Type of Contribution

[ ] Update to an existing Animated Button
[X] Adding a new Button
[ ] Resolving a bug
[X] Proposal to the Repository
[ ] Changes related to documentation or README.md
[ ] Other Changes

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue
[X] I am a GSSoC'23 contributor

Please check #1346

Please check #1346

Apologies for not reading this comment on time, if merging isn't possible then I'll add in the new website.


unstable_viteServerBuildModuleId does not exist?

Getting error:

Module '"@remix-run/dev"' has no exported member 'unstable_viteServerBuildModuleId'

hi, sorry merged the remix dep PR without tweaking the server file to use "virtual:remix/server-build" instead


ARROW-12277: [Rust][DataFusion] Implement Sum/Count/Min/Max aggregates for Timestamp(,)

Rationale:
If you try and aggregate (via SUM, for example) a column of a timestamp type, DataFusion generates an error:
Coercion from [Timestamp(Nanosecond, None)] to the signature Uniform(1, [Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Float32, Float64]) failed.

For example, from IOx
> show columns from t;
+---------------+--------------+------------+-------------+-----------------------------+-------------+
| table_catalog | table_schema | table_name | column_name | data_type                   | is_nullable |
+---------------+--------------+------------+-------------+-----------------------------+-------------+
| datafusion    | public       | t          | a           | Utf8                        | NO          |
| datafusion    | public       | t          | b           | Timestamp(Nanosecond, None) | NO          |
+---------------+--------------+------------+-------------+-----------------------------+-------------+
2 row in set. Query took 0 seconds.
> select sum(b) from t;
Plan("Coercion from [Timestamp(Nanosecond, None)] to the signature Uniform(1, [Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Float32, Float64]) failed.")

Changes:
Add support for aggregating timestamp types and tests for same
Notes
Note this is follow on / more fleshing out of the work done in #9773 by @velvia (👋  thanks for adding Timestamps to ScalarValue)
Supporting AVG on timestamps is tracked by https://issues.apache.org/jira/browse/ARROW-12318. It is more involved (as currently Avg assumes the output type is always F64), and not important for myuse case at the moment.

FYI @Dandandan  / @returnString

Hey @alamb this is looking good.
I'm wondering whether we should support sum/avg for timestamp?

What are the exact use cases for summing timestamps? When does it make sense?

@Dandandan  that is an excellent question. I will freely admit I was just heads down trying to get all the aggregates working rather than thinking if I should be working. I can't think of any time that sum(timestamp) really makes sense to be honest.
Do you think I should remove support for summing timestamps?
As for AVG, I added a note to https://issues.apache.org/jira/browse/ARROW-12318 with your observation. 🤔 good question

What are the exact use cases for summing timestamps? When does it make sense?

@Dandandan that is an excellent question. I will freely admit I was just heads down trying to get all the aggregates working rather than thinking if I should be working. I can't think of any time that sum(timestamp) really makes sense to be honest.
Do you think I should remove support for summing timestamps?
As for AVG, I added a note to https://issues.apache.org/jira/browse/ARROW-12318 with your observation. 🤔 good question

At least would be best to remove support forsum, as we don't have an absolute zero for timestamps. For average, I think it may make some more sense, but I think the use case seems limited to me.

At least would be best to remove support for sum, as we don't have an absolute zero for timestamps. For average, I think it may make some more sense, but I think the use case seems limited to me.

will do

At least would be best to remove support for sum, as we don't have an absolute zero for timestamps. For average, I think it may make some more sense, but I think the use case seems limited to me.

@Dandandan -- I just double checked and the IOx project actually has need of Sum (and Avg) for timestamps due to the semantics of the Flux and InfluxQL languages.  I can implement this functionality for custom user defined aggregates if needed, but I would prefer having the functionality in DataFusion directly so that anyone else can potentially use it too
I don't really understand the comment about "absolute zero" for timestamps.

Thinking more about this: do we need to be careful about numeric limits? E.g. the current implementation of AvgAccumulator in the physical plan tracks the whole sum and count, and does sum / count at the end, meaning we might hit i64::MAX in the sum component given enough entries in an avg input with a sufficiently high-precision timestamp type.

At least would be best to remove support for sum, as we don't have an absolute zero for timestamps. For average, I think it may make some more sense, but I think the use case seems limited to me.

@Dandandan -- I just double checked and the IOx project actually has need of Sum (and Avg) for timestamps due to the semantics of the Flux and InfluxQL languages. I can implement this functionality for custom user defined aggregates if needed, but I would prefer having the functionality in DataFusion directly so that anyone else can potentially use it too
I don't really understand the comment about "absolute zero" for timestamps.
Would it be ok with you if I merged in support for Sum for timestamps?

My reaction to enable sum for timestamps was that it depends on the starting/zero value for the value, in this case the UNIX epoch.
The result of a addition/sum on timestamp are relatively non-nonsensical as it depends on the choice of the value of zero (1980 + 1980 + 1980 = 2000!?, 1970 + 1970 = 1970!?). When we would change the zero value (to Jan 1 1900 for example), we would totally change the meaning of adding timestamps.
If there was an "actual" zero date (like Kelvin for example) summing the values makes sense but there isn't such a thing for timestamps of course.

I have removed SUM from this PR and will figure out what IOx is doing that seems to require sum and doesn't make sense. Thanks @Dandandan


About dual-template representation and dynamic template update？

hello，thanks for your nice work! In the future, will it be update?

It's done


Merge Group Version and Kind into one field

Benefits:

Directly use the GVK from schema
We never forget to add all 3
1/3 as many fields to set

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
73daa29e487134b02be0dafb8bd73957b2534741
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
73daa29e487134b02be0dafb8bd73957b2534741
link
/test lint_istio

gencheck_istio
73daa29e487134b02be0dafb8bd73957b2534741
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-distroless-k8s-tests_istio
5f5d92a806356489f9c18a41f0dfd70ed80207ac
link
/test integ-distroless-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


couchbase: include error response from couchbase in checkSuccessfulResponse()

checkSuccessfulResponse() now passes the body of the response to the thrown exception, if present.
Also minor logging cleanup, and prevented an exception from being swallowed.
fixes #2799

Thanks @aaronjwhiteside, I think this looks sensible.


Support multiple playstations

closes #5
updates platform device discovery to support multiple consoles, as well as the CLI authentication script

This is awesome, thanks!

This is a great feature.
I had to deactivate the plugin because I have a PS4 and a PS5 and I used cmdswitch2 with Playactor instead but I prefer this plugin because the PlayStation appear as set top box.
I just reactivate the plugin and deactivate cmdswitch2 to test it.
It works really fine in homebridge as my two PlayStation are discovered in homebridge accessories, and I get two messages in log at homebridge reboot that ask to add manually in homebridge, one for the PS4 and one for the PS5. In homebridge, turning on/off the PS4/PS5 works smoothly.
The problem is that they are not discovered in Apple Home...
Did i missed a step?
I remember before it was compatible with multiple PlayStation the plugin showed one of my 2 PlayStations in Apple home and I could add it...


[Bug]: The package product can't be used as a dependency

Checklist

[X] This is not a bug caused by platform.
[X] Reviewed the README and documentation.
[X] Checked existing issues & PRs to ensure not duplicated.

What happened?
When you try to use this package as a dependency, Xcode shows the following error.
The package product 'Atoms' cannot be used as a dependency of this target because it uses unsafe build flags.

Expected Behavior
The package is usable without any error.
Reproduction Steps

Add the package as a dependency of your project through Xcode.
Build it.

Swift Version
5.6
Library Version
0.1.0
Platform
iOS, tvOS, macOS, watchOS
Scrrenshot/Video/Gif
No response

Fixed by https://github.com/ra1028/swiftui-atomic-architecture/pull/6


[FEATURE] Improving Harvester Maintenance Mode

Is your enhancement related to a problem? Please describe.
When setting a Harvester host into maintenance mode it will (try to) migrate all virtual machines on that node to other nodes in the cluster.
I want to have the possibility to not migrate all virtual machines on that node to other nodes in the cluster.
Describe the solution you'd like
For instance, a radio button where you can prevent the migration of virtual machines in the "Enable Maintenance Mode" pop-up.
Having the option to trigger (via an annotation or webhook) the execution of a script/command inside the VM that then could i.e. remove/disable the application.
Describe alternatives you've considered
None
Additional context
None

Proposal

The VMs that do not have to be migrated to other nodes when a node is set into maintenance mode must be labeled with harvesterhci.io/drain-no-migration.
When the maintenance mode is activated for a node, these labeled VMs are shut down to free their resources.
The VMs are not started automatically if the maintenance mode is disabled for the node. At this point the VMs that have been shut down previously can not be identified because the reference to the owner node has been removed.
Special actions that have to be done by the VM before shutting down can be implemented via systemd unit files in the VM itself or via the PrePost container lifecycle hook.

This will be a good enhancement.
When user plan to put a node to Maintenance Mode, if UI opens a new page with more details, it will be better:
Support is sunch a new page, it lists all VMs on this Node per their migration ability:

ready to migrate,
cannot migrate e.g. with vGPU or pci-paththrough, with dedicated scheduling policy/label, or VM has only the last active replica

User can click the specific vm to open vm page, and do related actions like stop or migration to a desired node.
And when user clicks the Maintenance Mode button, display the migration status and progress of each vm on this page.

This will be a good enhancement.
When user plan to put a node to Maintenance Mode, if UI opens a new page with more details, it will be better:
Support is sunch a new page, it lists all VMs on this Node per their migration ability:
* ready to migrate,

* cannot migrate e.g. with vGPU or pci-paththrough, with dedicated scheduling policy/label, or VM has only the last active replica

User can click the specific vm to open vm page, and do related actions like stop or migration to a desired node.
And when user clicks the Maintenance Mode button, display the migration status and progress of each vm on this page.

These are very good additional suggestions for improvement, but they do not match the customer's current requirements that PR is trying to implement.
I would therefore suggest opening another issue to implement these suggestions for improvement separately and independently of the customer's requirements.

@votdev please add an HEP for this as well, as this is a new feature, even though you already have the implementation PR.

Test FAIL, return to Implement.
node-1 stuck on Cordoned

2 VMs (default and migrate) successfully migrate as expect
3 VMs (shutdown, shutdown-and-restart-after-enable and shutdown-and-restart-after-disable) still Running on node-1

Environment

harvester-v1.4.0-dev-20240918

Profile: 3 nodes QEMU/KVM
ui-source: Auto

Prerequisite

 Setup a 3 nodes witness cluster

node-0: default (12C/20G/500G)
node-1: default (12C/20G/500G)
node-2: witness (4C/4G)

 Create 5 VMs with different harvesterhci.io/maintain-mode-strategy label values

default: Does NOT specify, should behave like Migrate

migrate: Migrate

shutdown: Shutdown

shutdown-and-restart-after-enable: ShutdownAndRestartAfterEnable

shutdown-and-restart-after-disable: ShutdownAndRestartAfterDisable

default: Does NOT specify, should behave like Migrate
migrate: Migrate
shutdown: Shutdown
shutdown-and-restart-after-enable: ShutdownAndRestartAfterEnable
shutdown-and-restart-after-disable: ShutdownAndRestartAfterDisable

Scenario

Enable Maintenance Mode

 Given 5 VMs with different harvesterhci.io/maintain-mode-strategy Running on node-1

network: mgmt-vlan1

 When node-1 Enables Maintenance Mode

:x: node-1 stuck in Cordoned

 Then 5 VMs should be migrated or Off

:x: Only 2 VMs default and migrate migrated to node-0

:heavy_check_mark: default: Migrate to node-0 and no maintain-mode-strategy-node-name
:heavy_check_mark: migrate: Migrated to node-0 and no maintain-mode-strategy-node-name
:x: shutdown: Off
:x: shutdown-and-restart-after-enable: Restarted on node-0 and no maintain-mode-strategy-node-name
:x: shutdown-and-restart-after-disable: Off and maintain-mode-strategy-node-name is node-1

Disable Maintenance Mode

Not test yet

Supportbundle
supportbundle_CanNotEnterMaintenanceMode.zip
Reference

HEP: https://github.com/harvester/harvester/blob/master/enhancements/20240605-enhanced-maintenance-mode.md

@albinsun BTW, you can also use the UI to set the Maintenance Mode Strategy.
Bildschirmaufzeichnung vom 2024-10-08 14-44-08.webm

Hi @votdev
Retest by UI field Maintenance Mode Strategy.
Shutdown and ShutdownAndRestartAfterDisable has Running state instead of expected Off.
Please help to check, thank you.
Environment

harvester-v1.4.0-rc1

Profile: 3 nodes witness QEMU/KVM
ui-source: Auto

Test Step

 :green_circle: Setup a 3 nodes witness cluster

:green_circle: Create 4 VMs with different harvesterhci.io/maintain-mode-strategy on node-1

 migrate

 shutdown

 shutdown-and-restart-after-enable

 shutdown-and-restart-after-disable

 :green_circle: node-1 Enable Maintenance Mode

Check 4 VMs migration status

 migrate: Migrated to node-0 and no maintain-mode-strategy-node-name

Basic Tab

No maintain-mode-strategy-node-name

Migration Tab

 :red_circle: shutdown: Off

:x: Expect Off but Running (on node-0)

:heavy_check_mark: No maintain-mode-strategy-node-name

:heavy_check_mark: Migration Tab

 :green_circle: shutdown-and-restart-after-enable: Restarted on node-0 and no maintain-mode-strategy-node-name

:heavy_check_mark: Running on node-0

:heavy_check_mark: No maintain-mode-strategy-node-name

heavy_check_mark: Migration Tab

 :red_circle: shutdown-and-restart-after-disable: Off and maintain-mode-strategy-node-name is node-1

:x: Expect Off but Running (on node-0)

:heavy_check_mark: Has maintain-mode-strategy-node-name

:heavy_check_mark: Migration Tab

Supportbundle
supportbundle_MigrationTag_2024-10-08T17-10-09Z.zip

@albinsun We have to wait until https://github.com/harvester/harvester/issues/6727 is backported to v1.4. After that you can do the testing again.

Bugfix has been merged and should be available with next 1.4.0 RC.


pointnet2_ops_lib compilation failed

Hi xumin,
Thanks for the great work and the well organized code!
I came across this problem on installing the pointnet2_ops_lib from the pip address you give here.
pip install "git+git://github.com/erikwijmans/Pointnet2_PyTorch.git#egg=pointnet2_ops&subdirectory=pointnet2_ops_lib"
So I referred to the original Pointnet2_Pytorch project and tried to install it from source using git clone + pip install pointnet2_ops_lib/.
However, I was stuck in the compilation error as shown below:

I haven't found any solutions to this on the original project page, so I tried to seek for help here. Have you ever encountered with the same problem?

hi @YiLin32Wang, can you check the version of the gcc and g++ in your server

hi @YiLin32Wang, can you check the version of the gcc and g++ in your server

Hi, the gcc version is 7.5.0 on my server.

I'm also trying to code the python version directly to replace the pointnet2_uils.
Do you think it possible if I can directly replace the pointnet2_utils.gather_operation() by torch.gather()?
It seems that there's little difference in the terms of their returns, since what we're trying to do here is just indexing the point feature vectors according to the fps_idx.

Do you think it possible if I directly replace the pointnet2_utils.gather_operation() by torch.gather()?

Yes.
The version of gcc meets the requirements. It seems that the problems come from the unsupported gpu+cuda. So what is your gpu model and cuda version?

Sorry for late reply!
I'm using RTX2080Ti with CUDA 11.4.
So far I haven't succeeded in installing the pointnet2_utils so I'm using another PyTorch implementation and torch.gather() to replace the fps and gather operation.

Sorry for late reply! I'm using RTX2080Ti with CUDA 11.4.
So far I haven't succeeded in installing the pointnet2_utils so I'm using another PyTorch implementation and torch.gather() to replace the fps and gather operation.

Can you give me your modified code, I'd appreciate it!


Adding ValueCapacity method to BarChart and SparkLine.

Fixes #162

Pull Request Test Coverage Report for Build 929

41 of 41 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 92.134%

Totals

Change from base Build 926:
0.04%

Covered Lines:
6313

Relevant Lines:
6852

💛  - Coveralls

Pull Request Test Coverage Report for Build 929

41 of 41 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 92.134%

Totals

Change from base Build 926:
0.04%

Covered Lines:
6313

Relevant Lines:
6852

💛  - Coveralls


Replace gogo protobuf with google's protobuf v2 compiler

⚠ THIS IS A DRAFT PUT UP TO SOLICIT FEEDBACK WHILE THE PROJECT IS IN PROGRESS ⚠
Our API is currently converted, working, and in-use by our go SDK but I may need to change or add things as I convert our server and other repos. Please provide feedback! There's a lot of work still to do
What changed?
gogo/protobuf has been replaced with Google's official go compiler.
I also changed our code generation to use buf as it was slightly easier to manage plugin versions, though I may revert that.
Note that these changes required vendoring a few of Google's official protos; the newer GRPC plugin no longer vendors those for us.
Why?
gogo/protobuf has been deprecated for some time and the community is moving on, building new tools (like vtproto) atop google's v2 compiler.
Breaking changes

*time.Time in proto structs will now be timestamppb.Timestamp
*time.Duration will now be durationpb.Duration
V2-generated structs embed locks, so you cannot dereference them willy-nilly. go vet will scream at you about this
Proto enums will, when formatted to JSON, now be in SCREAMING_SNAKE_CASE rather than PascalCase. We decided (in discussion with the SDK team) that now was as good a time as any to rip the bandage off

NOTE: closing to point this at a branch on my fork for my own sanity


spirv-opt: --loop-unroll and --merge-return crash the tool

spirv-opt crashes when executed with spirv-opt --loop-unroll --merge-return <attached shader> -o out.spv. The issue can be reproduced on f0d110e3058bba9a31f9bd0a8727bdd0a559af82.
shader.zip

@alan-baker @s-perron ping


geckodriver: use devel version with slog fix

Motivation for this change
geckodriver does not compile. see #35301
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Does this build?

@GrahamcOfBorg build geckodriver

Success on x86_64-linux (full log)
Partial log (click to expand)
cp: -r not specified; omitting directory 'target/release/native'
cp: -r not specified; omitting directory 'target/release/examples'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/ibb375pk56sj5hm1n1maya8ma6w6xcws-geckodriver-0.19.x-devel
shrinking /nix/store/ibb375pk56sj5hm1n1maya8ma6w6xcws-geckodriver-0.19.x-devel/bin/geckodriver
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/ibb375pk56sj5hm1n1maya8ma6w6xcws-geckodriver-0.19.x-devel/bin
patching script interpreter paths in /nix/store/ibb375pk56sj5hm1n1maya8ma6w6xcws-geckodriver-0.19.x-devel
checking for references to /tmp/nix-build-geckodriver-0.19.x-devel.drv-0 in /nix/store/ibb375pk56sj5hm1n1maya8ma6w6xcws-geckodriver-0.19.x-devel...
/nix/store/ibb375pk56sj5hm1n1maya8ma6w6xcws-geckodriver-0.19.x-devel

Success on aarch64-linux (full log)
Partial log (click to expand)
cp: -r not specified; omitting directory 'target/release/native'
cp: -r not specified; omitting directory 'target/release/deps'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/xnqk300jnvcqv7vp98f7zgv9h2jiar72-geckodriver-0.19.x-devel
shrinking /nix/store/xnqk300jnvcqv7vp98f7zgv9h2jiar72-geckodriver-0.19.x-devel/bin/geckodriver
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/xnqk300jnvcqv7vp98f7zgv9h2jiar72-geckodriver-0.19.x-devel/bin
patching script interpreter paths in /nix/store/xnqk300jnvcqv7vp98f7zgv9h2jiar72-geckodriver-0.19.x-devel
checking for references to /build in /nix/store/xnqk300jnvcqv7vp98f7zgv9h2jiar72-geckodriver-0.19.x-devel...
/nix/store/xnqk300jnvcqv7vp98f7zgv9h2jiar72-geckodriver-0.19.x-devel

I already made a screenshot with selenium :snake:


Is Vue compatible with SystemJS?

I'm getting this error:
debug.js:13 [Vue warn]: Invalid template option: [object Object]
es6-module-loader.src.js:140 Potentially unhandled rejection [2] TypeError: Cannot set property '__vue__' of undefined
    at VueComponent.exports._initElement (http://<IP_ADDRESS>:8080/jspm_packages/npm/vue@0.12.8/src/instance/compile.js:47:20)
    at VueComponent.exports._compile (http://<IP_ADDRESS>:8080/jspm_packages/npm/vue@0.12.8/src/instance/compile.js:14:10)
    at VueComponent.exports.$mount (http://<IP_ADDRESS>:8080/jspm_packages/npm/vue@0.12.8/src/api/lifecycle.js:14:10)
    at VueComponent.exports._init (http://<IP_ADDRESS>:8080/jspm_packages/npm/vue@0.12.8/src/instance/init.js:34:10)
    at new VueComponent (eval at createClass (unknown source), <anonymous>:1:47)
    at Vue.exports.$addChild (http://<IP_ADDRESS>:8080/jspm_packages/npm/vue@0.12.8/src/api/child.js:26:15)
    at Directive.module.exports.build (http://<IP_ADDRESS>:8080/jspm_packages/npm/vue@0.12.8/src/directives/component.js:93:28)
    at Directive.module.exports.initStatic (http://<IP_ADDRESS>:8080/jspm_packages/npm/vue@0.12.8/src/directives/component.js:31:24)
    at exports.bind (http://<IP_ADDRESS>:8080/jspm_packages/npm/vue@0.12.8/src/util/lang.js:134:12)
    at http://<IP_ADDRESS>:8080/jspm_packages/npm/vue@0.12.8/src/directives/component.js:73:9(anonymous function) @ es6-module-loader.src.js:140f @ es6-module-loader.src.js:167i @ es6-module-loader.src.js:189

Templates are loaded like this:
{
   template: System.import("./index.html!text")
}

The return value of System.import is a Promise. This is a runtime API, I don't think you should be using it for splitting up component files.

I think the template option should accept a Promise exactly for this use case

because even if I write "import template from "index.html!text" it will return a promise if I didn't build it

Hi! We've been using Vue.js in an ES6/SystemJS environment for a little while. The key is to write your modules using the standard es6 syntax, then use System.import to load the main Vue module. It doesn't require bundling or any other complexities. The setup should look something like the following:
// some/component.js
import Vue from 'vue';
import template from 'path/to/template.html!text';

const SomeComponent = Vue.extend({
    template: template,
    ...
});

export default SomeComponent;

// some/vue.js
import Vue from 'vue';
import SomeComponent from 'some/component';

Vue.component('some-component', SomeComponent);

new Vue({
    ...
});

The html served to the client includes the following bits:
...
<script src="system.js"></script>
<script src="config.js"></script>
<script>
     System.import('some/vue');
</script>
...

Let me know if there's anything that can be better articulated.

I was doing like your tip, but this will only work if I always build the final script on every change

I was doing like your tip, but this will only work if I always build the final script on every change

Is this a browser caching issue? If the bundle path/name changes per build, then that would get around the caching. The individual module paths are static however, so your browser would be caching old versions of your files.

Hey @thelinuxlich, were you able to make this work?
I've basically switched to using the SystemJS builder and have started building self executing bundles. With Vue, I'm doing something similar to this:
var template = require("template.html!text");

var component = Vue.extend({
  template: template
});

Vue.component('app', component);

new Vue({
  el: '#app'
});

No, I moved to Webpack

No movement to bring vuejs singe file components to JSPM world yet?

https://github.com/vuejs/systemjs-plugin-vue looks like @yyx990803 is looking into making a System.js plugin for Vue components.

I just made an example for this https://github.com/sant123/testing-systemjs-vue

@sant123 Your link gives a 404 error.

Yes @ziyuang, I removed it some days ago.... I encourage you to use Webpack, the performance between this and SystemJS is really high!


Annoted ibm-powervs-tier1 as a default storage class

Annoted ibm-powervs-tier1 as a default storage class on creation.

/hold
fix the commit message

Commit message changed.

/unhold


Change 2.x maven-publish repo name to be skills and sync with main branch

Description
Change 2.x maven-publish repo name to be skills and sync with main branch
Issues Resolved
https://github.com/opensearch-project/opensearch-build/issues/4378
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[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.

Test failed unrelated.


improve grammar

add flake.nix to ease contribution
bumped package{-lock}.json for new npm
fix build / npm install
add Makefile and instructions to build the grammer in a README
wip grammar

Merging because I want to ask questions on the treesitter support and it will be easier for anyone to answer if the repo is updated with the build fix and the test file


Automatically hide button when GW2 isn't focused doesn't work with the 64bit client

Since the release of the 64bit client, the option to automatically hide the button when GW2 isn't focused or running no longer works. It stays hidden, even if GW2 is the current focus.

Pretty sure this is due to the 64-bit client process having a name of "Gw2-64.exe" instead of just "Gw2.exe". I'll just need to update the code to try both names.

Pretty much what I figured, just thought I'd bring it to your attention

Sounds like you can work around this by renaming the executable to "Gw2.exe".

Proposed fix: https://github.com/Tyrrrz/gw2pao/commit/05f2eb2706893e40ed7899451a8283bc7c8fb383

Has anyone tried the proposed fix that Tyrrrz posted?

Fixed with commit a4092b1637d3e9a2f548f9e517056241f58520b3

Release Posted!


titleForHeaderInSection bug - grouped table view headercell fly

Hi
i am opened the sample project and tested tableViewController. If the ModalTableViewController added the headerCell also(titleForHeaderInSection method opened), i see flying headercell bug in the SPStorkController.scrollViewDidScroll method.
When I checked, this bug is  the scrollViewDidScroll method in was caused the translation operation.

what should I do?

scrollViewDidScroll called for detect bounce and translate all content with modal controller. For now I am testing it and write here if found fix.
Thanks.

@zezeron, I have a bad news. Apple implemented custom scroll checking for sections and offset processing in SPStorkController ignores.
To minimise the bug effect, you can not call the scrollViewDidScroll method for SPStorkController or implement a header view as one of the table cells.

☹ by the way I did not stand idle and did something.

SPStorkController.scrollViewDidScroll

if let controller = self.controller(for: scrollView) {
          if let presentationController = controller.presentationController as? SPStorkPresentationController {
              let translation = -(scrollView.contentOffset.y + scrollView.contentInset.top)
              if translation >= 0 {
                  if controller.isBeingPresented { return }

                  scrollView.subviews.forEach { view in
                      if let customTableHeader = view as? CustomHeaderViewCell{
                          view.transform = CGAffineTransform(translationX: 0, y: 0)

                          print(view )
                      }else{
                          view.transform = CGAffineTransform(translationX: 0, y: -translation)
                      }
                  }

result It's not perfect, but it does work a little. Maybe something can be done here.

It’s hardcore))
You can import source code to your project and check custom class. If you want update as pod, for now, I don’t know how do it.


Add user stories for payload scheduler

ODU and CGA Payload details
Closes #179

Need to determine

how much time to allocate per scheduled task
how far into the future do we want to be able to schedule a task

dump health data info into eventlog per mission mode


Add parquet support (With contrib/*) Final, squashed

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
For changelog. Remove if this is non-significant change.
Category (leave one):

New Feature

Short description (up to few sentences):
Parquet format support

@alexey-milovidov @proller this feature creates a new bug: https://github.com/yandex/ClickHouse/issues/4658


Problem with libRCTWebSocketDebugger with iOS

I have this problem with xcode when i try to build :
ld: warning: directory not found for option '-L/Users/Hugo/Library/Developer/Xcode/DerivedData/enedis_amc-bmoemlhdwgrsixdkaouixpdaxutl/Build/Products/Debug-iphonesimulator/React'
ld: library not found for -lRCTWebSocketDebugger
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Do you already have this ?
Thanks
"react-native": "0.51.0",
"react-native-social-share": "^1.5.0",

Same issue here react native : 0.49

Wow it works ! , But Why ?


Design organization routing with respect to APIs and internal API routes

Some of the organization views have organization as route, while some have organizations. Pick one of the option for consistency and change all organization routes to match.
Organizations routes proposal

/organizations - organization catalog

/organizations/< slug > - single organization view

Related changes
For consistency, we can consider our routing structure for the following components:

APIs
REST API

Example routing structure
One possible example of backwards incompatible routing changes would be:

/apis/ - API catalogue

/apis/< _id > - Single API profile
/apis/< slug > - alternative to using ID, if each API has unique URL slug

/api/ - routes for internal API

Ping @Digipalvelutehdas/apika-tiimi please review the proposal for URL routes. This idea would improve the consistency of our routing and give us room for a simple REST API routing structure.

@brylie I think that 's' character difference for REST API base URL is a bit too close for typos.
Above is the reason for choosing base URL /rest-api that is currently used.
Though I am open to change it if I am only one scared for typos :)

What could be some possible situations where a typo would cause problems? How much difficulty might they cause?

Agreed, most URLs are not typed. Or are you worried for typos in the code?
Another option could be to prefix e.g. /internal/apis

@brylie I'm ok with plural for organizations and apis


Add Location to ExportPipeline and ImportPipeline resources

Previously in PR to feature branch, now merging to master: https://github.com/Azure/azure-sdk-for-net/pull/13780

@isra-fel here is the new PR. Thanks!


Automate more of Wasmtime's release process

This change revamps the release process for Wasmtime and intends to make
it nearly 100% automated for major release and hopefully still pretty
simple for patch releases. New workflows are introduced as part of
this commit:

Once a month a PR is created with major version bumps
Specifically hinted commit messages to the main branch will get
tagged and pushed to the main repository.
On tags we'll now not only build releases after running CI but
additionally crates will be published to crates.io.

In conjunction with other changes this means that the release process
for a new major version of Wasmtime is simply merging a PR. Patch
releases will involve running some steps locally but most of the
nitty-gritty should be simply merging the PR that's generated.

I'll note that while I've tested these workflows for automatically creating PRs I have not tested the one that publishes to crates.io. I'm hoping we can give it a spin on the first release, and if things go wrong we can always run the command manually. I suspect it'll take a release or two to get the invocations precisely correct.
Before merging this we'll need to configure two separate secrets in CI. One is a GitHub personal access token and one is a crates.io publication token. My plan here is to create a wasmtime-publish (or similar) bot account which we'll have tokens for and will be part of the wasmtime-publish team on crates.io. Once this PR gets approved I'll work on making that bot account.


⚠ Bofrost.es has degraded performance

In fe07ae3, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1683 ms

Resolved: Bofrost.es performance has improved in f671f21 after 9 minutes.


Safer command-line logic

While poking around https://github.com/taskchampion/taskchampion/issues/137, I have tried to show tasks that are done:
$ ta done
modified task 9590b11f-4cf9-4f77-879d-f5879c05c76c
modified task d864f740-cf2b-4a09-b256-60a0386fb29b
modified task edfce578-24ef-4961-8490-b872374f1a42
modified task 91678ad0-929d-4aff-97be-620758af6758

...Now I'm thinking of https://github.com/taskchampion/taskchampion/issues/92 :) Perhaps if no argument is provided TaskChampion should assume that no task is be modified?
Example:
# Safe action by default, potentially destructive requires an explicit direction.
$ ta * mod done # sets all tasks to "done"
$ ta * done # shows all tasks that are done

Similar to #177 - there's a few places where the CLI is a bit overly eager to bulk-change tasks.
#179 will also help with this

True. Could you post content of your https://github.com/taskchampion/taskchampion/issues/177 under the https://github.com/taskchampion/taskchampion/issues/179? I will do the same and then we can close the extraneous issues.


Navigation

It would be nice to be able to navigate to different pages throughout the application without being limited to the user's browser's back/forward navigation.
A navigation bar is needed. It should allow the user to quickly navigate back to their library or ISBN lookup from any page.

This looks like something I can do, I'll take care of it!

This looks like something I can do, I'll take care of it!

Thank you so much! I'll assign the issue to you.


[Feature Request] Don't count/show null or defined values in percentage

Could it be possible to exclude null values from calculations? Now this panel counts percentage against selected time frame.
Now it shows like this:
Stop (3 hours, 5%)  On (9 hours, 16%)  null (2 days, 80%)
More appropriate way for my use would be to calculate percentage between wanted metrics (exlude null values or values with certain value):
Stop (3 hours, 25%) On (9 hours, 75%)
Also showing time could be more accurate. Add one decimal maybe to current display or ability to override automatic change between seconds, minutes, days etc? So you could select it to always show in hours or minutes for example.

I agree, I'd like to ignore or hide null values from the legend.

This would be perfect to me! Think about a checkbox for each value mapping saying "show on legend".


AKTable's init:phase:count not available from ObjC

error: no visible @interface for 'AKTable' declares the selector 'init:phase:count:'
akt_sine = [[AKTable alloc] init:AKTableTypeSine phase:0.0 count:4096];
"It used to work" -- programmer's motto.

Are you using the current 4.7.1 pod with C++ by any chance?

Yeah, because otherwise I wouldn't even have AudioKit.output! (#1697)

I suggest you give a try to the staging pod (v4.7.2.b1), with instructions here: https://github.com/AudioKit/Specs
There was a problem in the 4.7.1 headers that prevented C++ from correctly picking up the bridging headers.

Thanks! I'll try it!

It's still not in AudioKit-Swift.h If I fake it out with
@interface AKTable ()
- (nonnull instancetype)init:(enum AKTableType)type phase:(float)phase count:(NSInteger)count OBJC_DESIGNATED_INITIALIZER;
@end

It compiles, but then I get This copy of libswiftCore.dylib requires an OS version prior to 12.2.0. , which is an entirely different headache.

If it's not in AudioKit-Swift.h then we probably need to had a @objc attribute to this class.
Xcode 10.2 now pretty much requires you to have a dummy Swift file in your project for the dylib issue to be resolved. Just create an empty Swift file and that should take care of it.

Even lying to it so it compiles and runs, and adding the dummy swift file, it ends up not finding the  -[AudioKit.AKTable init:phase:count:] method (which might not be in the framework).

I think my change will address this.

I pulled in the develop build and built it - yes , all fixed! Thanks for @objc'ing the file initializer too.


Move tests to the new host

Main things in this PR:

Transition to using base images out of Ceph
Copy files to local web server instead of AFS
Parallelize input image creation and output image processing; track them as jobs for better debugging and add a cleanup node for successful image creation -> processing string of jobs
Update packaging to 1.0

This can be merged once we have a successful nightly run from the new host.

Looks like everything works! https://osg-sw-submit.chtc.wisc.edu/tests/20200327-0423/results.html


Get-DbaResourceUsage Ms

Change Microseconds to milliseconds

test failed cuz appveyor

Waiting for feedback from Michael J. Swart himself

awesome thank you 👍


SSLSessionLength Auto-Reconnect between RNFR and RNTO = 503 Bad sequence of commands

FTP Server OS: Unix
FTP Server Type: Serv-U FTP Server v15.3.0
Client Computer OS: Windows
FluentFTP Version: 47.0.0
Framework: .NET 6
Guess I have all the luck.  SSLSessionLength is using default setting. The auto-reconnect is happening between the RNFR and RNTO commands resulting in: 503 Bad sequence of commands.
Logs :
[INF] >         DownloadFile("c:\temp\ftp-test\storage\ANewFile.txt.download", "/Test/ANewFile.txt", Overwrite, Retry, Delete, Throw)
[INF] >         OpenRead("/Test/ANewFile.txt", Binary, 0, 0)
[INF] >         GetFileSize("/Test/ANewFile.txt")
[INF] Command:  SIZE /Test/ANewFile.txt
[INF] Response:<PHONE_NUMBER> [62ms]
[INF] >         OpenDataStream("RETR /Test/ANewFile.txt", 0)
[INF] >         OpenPassiveDataStream(AutoPassive, "RETR /Test/ANewFile.txt", 0)
[INF] Command:  EPSV
[INF] Response: 229 Entering Extended Passive Mode (|||5005|) [141ms]
[INF] Connecting to IP #1= ***:5005
[INF] Command:  RETR /Test/ANewFile.txt
[INF] Response: 150 Opening BINARY mode data connection for ANewFile.txt (1596204 Bytes). [131ms]
[WRN] SSL Buffering disabled because of .NET 5.0 and later
[INF] FTPS authentication successful, lib = .NET SslStream, cipher suite = Tls12 (Aes256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, 44550, 256) [127ms]
[INF] Response: 226 Transfer complete. 1,596,204 bytes transferred. 1,749.49 KB/sec. [1.182s]
[INF] >         GetChecksum("/Test/ANewFile.txt")
[INF] Command:  XMD5 /Test/ANewFile.txt
[INF] Response: 250 6FEC8E7BEDB1090FE31D7901B5761608 [67ms]
[INF] File Verification: PASS
[INF] >         MoveFile("/Test/ANewFile.txt", "/Test/Archive/ANewFile.txt", Overwrite)
[INF] >         FileExists("/Test/ANewFile.txt")
[INF] Command:  SIZE /Test/ANewFile.txt
[INF] Response:<PHONE_NUMBER> [64ms]
[INF] >         FileExists("/Test/Archive/ANewFile.txt")
[INF] Command:  SIZE /Test/Archive/ANewFile.txt
[INF] Response: 550 /Test/Archive/ANewFile.txt: No such file. [67ms]
[INF] >         Rename("/Test/ANewFile.txt", "/Test/Archive/ANewFile.txt")
[INF] Command:  RNFR /Test/ANewFile.txt
[INF] Response: 350 File or directory exists, ready for destination name. [62ms]
[WRN] Reconnect needed due to max SslSessionLength reached on control connection (SslSessionLength: 751)
[INF] Command stashed: RNTO /Test/Archive/ANewFile.txt
[INF] >         Connect(True)
[WRN] Reconnect (Count: 2)
[INF] Connecting to IP #1= ***:21
[INF] Response: 220 Serv-U FTP Server v15.3.0 ready... [201ms]
[INF] Status:   Detected FTP server: ServU
[INF] Command:  AUTH TLS
[INF] Response: 234 AUTH command OK. Initializing SSL connection. [51ms]
[WRN] SSL Buffering disabled because of .NET 5.0 and later
[INF] FTPS authentication successful, lib = .NET SslStream, cipher suite = Tls12 (Aes256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, 44550, 256) [125ms]
[INF] Command:  USER ***
[INF] Response: 331 User name okay, need password. [144ms]
[INF] Command:  PASS ***
[INF] Response: 230 User logged in, proceed. [77ms]
[INF] Command:  PBSZ 0
[INF] Response: 200 PBSZ command OK. Protection buffer size set to 0. [105ms]
[INF] Command:  PROT P
[INF] Response: 200 PROT command OK. Using private data connection. [90ms]
[INF] Text encoding: System.Text.UTF8Encoding+UTF8EncodingSealed
[INF] Command:  OPTS UTF8 ON
[INF] Response: 200 OPTS UTF8 is set to ON. [61ms]
[INF] Command:  SYST
[INF] Response: 215 UNIX Type: L8 [56ms]
[INF] Command:  TYPE I
[INF] Response: 200 Type set to I. [59ms]
[INF] >         SetWorkingDirectory("/")
[INF] Command:  CWD /
[INF] Response: 250 Directory changed to / [59ms]
[INF] Command:  PWD
[INF] Response: 257 "/" is current directory. [61ms]
[INF]
[INF] Executing stashed command
[INF]
[INF] Command:  RNTO /Test/Archive/ANewFile.txt
[INF] Response: 503 Bad sequence of commands. [73ms]
[INF] >         Dispose()
[INF] Command:  QUIT
[INF] Response: 221 Goodbye, closing session. [63ms]

There is a list of commands that initiate a sequence that should not be interrupted by an automatic reconnect. I'll add RNFR.

This should be in the next Nuget then or pickup the current master.
As a workaround right now, you could issue a bogus PASV command manually yourself in your code prior to the RNTO, do the RNTO and then a bogus RETR command with an invalid filename.

@smboyer Released as 47.1.0 - should not restart at that exact moment any more.

I can confirm this resolved the issue.  SslSessionLength increased from 751 to 752 before the reconnection attempt.
Log:

[INF] Command:  RNFR /Test/ANewFile.txt
[INF] Response: 350 File or directory exists, ready for destination name. [60ms]
[INF] Command:  RNTO /Test/Archive/ANewFile.txt
[INF] Response: 250 RNTO command successful. [93ms]
[INF] >         DownloadFile("c:\temp\ftp-test\storage\AnotherFile.txt.download", "/Test/AnotherFile.txt", Overwrite, Retry, Delete, Throw)
[INF] >         OpenRead("/Test/AnotherFile.txt", Binary, 0, 0)
[INF] >         GetFileSize("/Test/AnotherFile.txt")
[WRN] Reconnect needed due to max SslSessionLength reached on control connection (SslSessionLength: 752)


bug: failed to parse preLaunchTask

Neovim version (nvim -v)
v0.10.0-dev-1260+g9ce162383
Operating system/version
macOS Sonoma 14.0
Describe the bug
When using a DAP configuration from a launch.json file that has a preLaunchTask, the following errors are displayed:

Steps To Reproduce

Clone TypeScript.
Rename .vscode/launch.template.json to .vscode/launch.json.
Configure Neovim using the provided settings below.
Open any file inside tests/cases/fourslash.
Press F5 to start the debugger and select the "Mocha Tests (currently opened test)" configuration.

Expected Behavior
For the launch.json (and its corresponding preLaunchTask) to successfully execute.
Minimal example file
No response
Minimal init.lua
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({
    "git",
    "clone",
    "--filter=blob:none",
    "--single-branch",
    "https://github.com/folke/lazy.nvim.git",
    lazypath,
  })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  { "stevearc/dressing.nvim", config = true },
  {
    "stevearc/overseer.nvim",
    config = function()
      require("overseer").setup({
        -- add your overseer config here
      })
    end,
  },
  -- add any other plugins here
  {
    "mfussenegger/nvim-dap",
    keys = {
      {
        "<F5>",
        function() require("dap").continue() end
      }
    },
    dependencies = {
      {
        "mxsdev/nvim-dap-vscode-js",
        opts = {
          debugger_path = vim.fn.stdpath 'data' .. '/lazy/vscode-js-debug',
          adapters = { "pwa-node", "pwa-chrome", "node-terminal", "pwa-extensionHost" },
        },
      },
      {
        "microsoft/vscode-js-debug",
        build = "npm i && npm run compile vsDebugServerBundle && mv -f dist out",
      },
   },
   config = function()
     local dap = require "dap"
     require("dap.ext.vscode").json_decode = require('overseer.json').decode
     pcall(require("dap.ext.vscode").load_launchjs, nil, {
       node = { "typescript", "javascript" },
     })
   end
  }
}

require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

Additional context
No response

I wasn't able to get DAP working with the repro file (kept giving me No configuration found for typescript.), but I believe I've fixed the issue with running the tasks

I wasn't able to get DAP working with the repro file (kept giving me No configuration found for typescript.), but I believe I've fixed the issue with running the tasks

Oops my bad! I had not realized that I had missed the important part about modifying the launch type from node to pwa-node 🤦🏻♀
I just tried the latest commits though and your fix worked! Thanks a lot <3


Add Gravitational to Platforms

Please add Gravitational.com to platforms, thanks!

+1

Hi @bishopolis please find in 0.9.4 https://github.com/cncf/landscape/tree/master/landscape


Update icon: xing.com

The logo coloring is wrong. You should use white background with the two greens:

App: https://play.google.com/store/apps/details?id=com.xing.android

We never use white as background color (as stated in CONTRIBUTING.md). White is only used as foreground color.
I'm pretty sure the color is one of the green ones, but I double-check that later.

Yup, color is correct. It's taken from official vector logo and it's darker green one (#006567).
No updates needed.


Button space with pinned tab on left panel

First, this is a great theme and I am liking it very much.
I spotted a minor layout problem that I'm unsure how to explain, so I took a couple of screenshots.
This is with the default theme:

And that with Border theme:

Let me know if you need more information or if I can do something to help.

This bug has been fixed, please update and have a check.

Nice! It's ok now. Thanks.


too many logging when use black formatting with vscode

Hi ,
I created an issue with this bug in pygls repository
https://github.com/openlawlibrary/pygls/issues/485
just check it, please. Maybe it’s related to your extension

This has nothing to do with the formatting extension. It looks like the pygls logging in interfering with your project.

I do not use pygls in my project,  these log messages added for every click in vscode editor


Add support for server expanded layers as an alternative to require list expansion

Require list expansion has scalability issues when there are a large number of expanded dependencies with many undefined features.  The expanded require lists become very large and the cpu needed by the BooleanFomula.simplify() method grows exponentially with the number of undefined features.  In such cases, it can be more advantageous to use server expansion of layers instead of expanding require lists.
When using server expanded layers, the aggregator keeps track of modules that are required and specifies previously required modules in an exclude list in the URL.  Only explicitly required modules are included in the exclude list, not the expanded dependencies that were included in the responses.
When processing a loader generated request using server expanded layers, the aggregator calculates the expanded dependencies of the modules specified in the request.  It then calculates the expanded dependencies of the modules specified in the exclude list in the request.  The modules included in the response will consist of the modules in the first list minus the modules in the second list.  Module id encoding is used for the exclude list to help keep the URL size manageable.  Folded path encoding is used for the requested modules list because the module ids of the requested modules are not yet known to the client.
Server expanded layers have the following drawbacks:

i18n request splitting cannot be used with server expanded layers so this config option is ignored.
When multiple require calls are issued concurrently, the possibility of duplicate module loads exists.  To see how this happens, consider module A, which depends on module C, and module B, which also depends on module C.  Consider that A is required first, and that before the response for A is received, B is required.  Now consider that the response for A is delayed by the network and the response for B arrives at the client.  Because the request for B specified A in the exclude list, C was not included in the response for B since it is a dependency of A.  So when the response for B arrives at the client, module C is unresolved and the loader issues a request to load C.  In the degenerate case of the response for A being delayed indefinitely, multiple loader requests for B's dependencies may be issued before all of B's nested dependencies are loaded.  When the response for A finally does arrive at the client, it will contain A's expanded dependencies, including those that have already been loaded as a result of resolving B's dependencies on the client.  Note that although this situation results in duplicate modules being delivered to the client, it does not cause any application failure because server expanded dependencies are delivered to the loader's module cache, where they will remain unused if a dependent module has been previously defined.

OpenNTF » JavascriptAggregator #689 SUCCESS
This pull request looks good
(what's this?)

Nothing else really stands out to me. I'd have @ddumont give it a look over.

Looks good.


Proposed Initiative - Extend WAC specification with verifiable credential support

Creating this as a standalone initiative proposal from #72 so that it can be tracked individually. The UCR work should help to inform the scope, priority, and mission of this initiative.
The intent would be to allow WAC authorization statements to make access determinations based on whether or not a given verifiable credential is presented and verified.

That is actually part of what I was setting out to do for my PhD. For some examples see the third chapter on security of my 2nd year report

I think there are three parts to flesh out:

express the need for a VC in the ACL doc or similar
express the need for a VC in a 4xx response or similar
put a VC into a request header or similar

I'm looking for the third one but not finding much yet.
This may be a lead, though: https://www.w3.org/TR/vc-data-model/#authorization
I know we did experiments with storing a w3c-vc on the user's pod, but not with requiring the user agent to present one.

I agree there is quite a lot to be worked out still @michielbdejong .
You may want to look at how I tie these together in the HttpSig Authentication proposal. It is also PR 125 on the authentication panel repo.

I have an example there of how an age requirement can be expressed in the Access Control Resource (right at the end). Of course it may be that more is needed, but it is a starting point where implementation experimentation can guide us.
*Instead of putting a VC in the request header, I propose linking to it. With the P2P protocol for HTTP this could even refer to a VC on the client (a bit far out technically, but it is good to keep that possibility in mind, as it is extremely elegant)
It shows how the server could express its HttpSig capability to the client, but perhaps it should be able to express that it is also Credential Aware.

Actually I do show issue 176: Only Trust Certain issuers of Identity of the Authorization panel how one could express an Access Control Rule that allowed only credentials from certain issuers to be acceptable. But there are certainly other ways to do that too. It would be helpful if it were orthogonal a bit because   being over 21 could be proven in so many different ways.

Moving discussion of RequiredCredentialShape here from https://github.com/solid/web-access-control-spec/issues/79#issuecomment-788229068.

being over 21 could be proven in so many different ways.

I agree, https://solid.github.io/authorization-panel/authorization-ucr/#capabilities-vc is a more generic goal than https://deploy-preview-152--authorization-panel.netlify.app/authorization-ucr/#uc-trustedissuers
Your remarks made me think and I want to propose an alternative way to solve the stories of both 2.9.1 and 2.9.2: https://github.com/solid/authorization-panel/issues/185

https://identity.foundation/presentation-exchange/ also seems like it could be relevant


Keep fragment/anchor in href value of  tags after parsing

Currently, from (including) a # in any URL is just thrown away when creating  tags, this is incorrect.

Closing PR to sort out and review merge from L33tch


Bonfires made inaccessible by infinite recursion

I've made two bonfires inaccessible by writing recursive functions and running tests. The page crashes on load so I can't edit the code.

You can either disable code auto-run or clear the code from local storage to unfreeze your page.
Thanks and happy coding!


Export Dart_NewWeakPersistentHandle

Export Dart_NewWeakPersistentHandle in order for dart:ffi users to attach native resources that need finalization to execute such finalizations when the Dart object gets garbage collected.

dart:ffi finalizers (https://github.com/dart-lang/sdk/issues/35770) would expose these in Dart.
@derolf how would you get a Handle for the right objects if you'd want to use Dart_NewWeakPersistentHandle now?

@dcharkes I guess I need some more things. I am currently writing bindings for one of my companies SDKs (HERE Technologies).
I already managed to solve dispatching asynchronous callbacks, everything works quite well so far. However, the biggest missing thing right now is a way to attach a native finalizer “somehow” to a Dart Object.

Check out At Smile House on Booking!  http://www.booking.com/Share-Qp38L1

We will solve this on the Dart side https://github.com/dart-lang/sdk/issues/40607.


target folder on the repo

Hi,
Usually one does not commit and push the target folder to the repo.
You can create a ".gitignore" file on the root folder of the repo with the folders not to upload.
Example:   .gitignore
**/target/
**/.svn/
*.iml
**/.idea

I'm marking this issue of how resolved and I'm closing it.


Warning: No input for label1 was provided. Default for label1 is ":::fragment_"

Hi,
I ran 3d-dna with follow command:
run-asm-pipeline.sh   IGT-9201.fasta  merged_nodups.txt
The FINAL results seem good, but there was some warnings, what these warnings information means?
:| Warning: no explicit bundle size was listed. Will use the same one as listed for false positive size threshold: this is the most typical scenario.
:| Warning: No input for label1 was provided. Default for label1 is ":::fragment_"
:| Warning: No input for label2 was provided. Default for label2 is ":::debris"
:| Warning: No input for label1 was provided. Default for label1 is ":::fragment_"
:| Warning: No input for label2 was provided. Default for label2 is ":::debris"
:| Warning: No input for label1 was provided. Default for label1 is ":::fragment_"
:| Warning: No input for label2 was provided. Default for label2 is ":::debris"
:| Warning: No input for label1 was provided. Default for label1 is ":::fragment_"
:| Warning: No input for label2 was provided. Default for label2 is ":::debris"
:| Warning: No input for label1 was provided. Default for label1 is ":::fragment_"
:| Warning: No input for label2 was provided. Default for label2 is ":::debris"
:| Warning: No input for label1 was provided. Default for label1 is ":::fragment_"
:| Warning: No input for label2 was provided. Default for label2 is ":::debris"
:| Warning: No input for label1 was provided. Default for label1 is ":::fragment_"
:| Warning: No input for label2 was provided. Default for label2 is ":::debris"
:| Warning: No input for label1 was provided. Default for label1 is ":::fragment_"
I need your help!
Best,
MiaoShi

These was another issue for this running. I use JBAT to review the assembly result.   First use IGT-9201.0.assembly and IGT-9201.0.hic files, the image bellow:

Then, use IGT-9201.1.assembly and IGT-9201.1.hic files, the image bellow:

The IGT-9201.0.assembly seems there were some misjoins to deal, but why the IGT-9201.1.assembly result seems very strange. Please give me some ideas.
Best,
MiaoShi

Hi MiaoShi,
You can ignore these: these are warnings in case you have contigs with unusual names. (I should at some point get rid of them.)
Thanks,
Olga

On Feb 24, 2019, at 7:40 AM, shimiao12345<EMAIL_ADDRESS>wrote:
MiaoShi

This looks like a library with very uneven coverage distribution. This causes default misjoin correction to misfire and flag everything with high cov as problematic. Load 1d tracks to help you tune. Since your contigs don’t seem to have a lot of misjoin you can also try to run -r 0.
Olga

On Feb 24, 2019, at 9:43 AM, Olga Dudchenko<EMAIL_ADDRESS>wrote:
Hi MiaoShi,
You can ignore these: these are warnings in case you have contigs with unusual names. (I should at some point get rid of them.)
Thanks,
Olga

On Feb 24, 2019, at 7:40 AM, shimiao12345<EMAIL_ADDRESS>wrote:
MiaoShi


Remove references to the UserAppClient from appscale-tools and move it to the AppController.

https://ocd.appscale.com:8080/job/Daily Build/1244/

Latest build : https://ocd.appscale.com:8080/job/Daily Build/1265/


AGPUSH-1378: Java Sender should also accept text/plain

https://issues.jboss.org/browse/AGPUSH-1378
Tested with UPS 1.1.0-alpha.2 and master.
You can test this by addingMyTest into Java Sender source, updating credentials and executing it: https://gist.github.com/lfryc/044d39f58bd08f1adf6a

+1
On Monday, May 4, 2015, Lukáš Fryč<EMAIL_ADDRESS>wrote:

lfryc wants to merge 1 commit into aerogear:master from lfryc:text-plain:
https://issues.jboss.org/browse/AGPUSH-1378
You can test this addingMyTest into Java Sender source, updating
credentials and executing it:
https://gist.github.com/lfryc/044d39f58bd08f1adf6a
You can view, comment on, or merge this pull request online at:
https://github.com/aerogear/aerogear-unifiedpush-java-client/pull/72
Commit Summary

AGPUSH-1378: Java Sender should also accept text/plain

File Changes

M src/main/java/org/jboss/aerogear/unifiedpush/http/HttpClient.java
https://github.com/aerogear/aerogear-unifiedpush-java-client/pull/72/files#diff-0
(7)

Patch Links:

https://github.com/aerogear/aerogear-unifiedpush-java-client/pull/72.patch
https://github.com/aerogear/aerogear-unifiedpush-java-client/pull/72.diff
—
Reply to this email directly or view it on GitHub
https://github.com/aerogear/aerogear-unifiedpush-java-client/pull/72.

--
Sent from Gmail Mobile


For compatibility with markdown generated by other MD editors, allow optional space between container tag and type

Describe the bug
I'm trying to replace markdown-it with Magicdoc, and I'm running into compatibility issues with markdown generated by other editors for custom container types.
Most other clients in this ecosystem use markdown-it and a custom container to generate spoiler blocks.  I've implemented a custom renderer for this in Magicdoc, and it works, but it's not compatible with markdown generated elsewhere due to the fact Magicdoc doesn't allow a space between the container tag and the type.
Example:
This works in MagicDoc:
:::spoiler Title
This is spoiler text that will be inside a details/summary block.
:::

This does not work:
::: spoiler Title
This is spoiler text that will be inside a details/summary block.
:::

The space between the ::: and type causes the type to not be picked up.  I can deal with this on my end, but it has to interact with markdown generated by other clients which all utilize a space between the container tag and the type.
Looking at /packages/plugins/svelte-marked/src/lib/markdown/extensions/container.ts, there's a regex rule for detecting the container tags.
const rule =         /^:::(?<type>[a-z0-9-]+)(?<options>.*)?\n(?<content>(?:.|\n)*)\n:::(?:\n|$)/i
I haven't built this patch into my project yet, but simulating it with RegExr shows allowing an optional space between the ::: and (?type<>... should allow both ::: type and :::type formats:
const rule = /^::: ?(?<type>[a-z0-9-]+)(?<options>.*)?\n(?<content>(?:.|\n)*)\n:::(?:\n|$)/i
Would there be any issue to update the container rule regex to account for an optional space?
Reproduction
Basically make an extension using the container extension and put a space between the container tag (:::) and the container type.
Logs
No response
System Info
System:
    OS: Linux 5.10 Alpine Linux
    CPU: (4) x64 Intel(R) Core(TM) i5-6600T CPU @ 2.70GHz
    Memory: 5.05 GB / 19.41 GB
    Container: Yes
    Shell: 1.36.1 - /bin/ash
  Binaries:
    Node: 20.5.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.8.0 - /usr/local/bin/npm

Severity
Blocking all usage of Magidoc

I don't see any issue if we allow for an optional space after the :::. Would you be willing to open a PR to support this ? I'll review it tomorrow.

Yeah, I should be able to later this evening.  Thanks.

This is merged. For reference, the way I implemented it, only a single space is allowed, otherwise it won't parse. This will be released in the next version.


Not able to get Ecu data from Jeep compass

Hello sir,
Im trying to receive the data from jeep compass ecu. Using the Can_receiver  sample program we are getting different data.
Im trying the engine rpm example code.
// Copyright (c) Sandeep Mistry. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
//
// This examples queries the engine RPM (OBD-II PID 0x0c) once a seconds and
// prints the value to the serial monitor
//
#include <CAN.h>

// Most cars support 11-bit adddress, others (like Honda),
// require 29-bit (extended) addressing, set the next line
// to true to use extended addressing
const bool useStandardAddressing = true;

void setup() {
  Serial.begin(9600);

  Serial.println("CAN OBD-II engine RPM");

  // start the CAN bus at 500 kbps
  if (!CAN.begin(500E3)) {
    Serial.println("Starting CAN failed!");
    while (1);
  }

  // add a filter to only receive the CAN bus ID's we care about
  if (useStandardAddressing) {
    CAN.filter(0x7E8);
  } else {
    CAN.filterExtended(0x18daf110);
  }

}

void loop() {
  if (useStandardAddressing) {

    CAN.beginPacket(0x7DF, 8);
  } else {
    CAN.beginExtendedPacket(0x18db33f1, 8);
  }
  CAN.write(0x02); // number of additional bytes
  CAN.write(0x01); // show current data
  CAN.write(0x0c); // engine RPM
  CAN.endPacket();

  while (CAN.parsePacket() == 0 ||
         CAN.read() < 3 ||          // correct length
         CAN.read() != 0x41 ||      // correct mode
         CAN.read() != 0x0c);       // correct PID
  float rpm = ((CAN.read() * 256.0) + CAN.read()) / 4.0;

  Serial.print("Engine RPM = ");
  Serial.println(rpm);
   delay(1000);

}

what could be the issue? Please help me.
Best regards.

is the Jeep 8 bit or 11 bit CAN ID?
const bool useStandardAddressing = true;
Try false here maybe it work. Check connections


Close the window when pressing the "esc" key

This will close the current window when pressing the escape key. Except on Darwin this exits the app.

Just to verify: does this also close the application on other platforms? Changes look good though, thanks!

It's the same as pressing the [X] button on the window title. It closes the current window - on all platforms. If it's the last window it will quit the app except if os.platform === 'darwin' (OS X) which I assume is the standard behavior on OS X. But it doesn't close other windows.

Published a 1.2.0 since it's sort of a change in behavior.


Prices numbers are too big in mobile devices

In mobile devices, the size of the price numbers are too big. The numbers should be resize.

Solved #7


multi-gpu training process got stuck  occasionally

I'm running my code on a cloud server with 8*v100, it looks like one process was not working, and it still occupied the gpu memory. Other processes were waiting for this lost process!
Could you give some advice?

I use a docker environment with cuda9 and driver version 410.93

Hi @nyyznyyz1991 ,
Could you also provide logs or use the Error Template?
This two pictures cannot help us to locate the problem, and maybe it is just OK if you check the logs.


Ability to show an empty label if value is empty

Right now when value is null or undefined, current date is shown. There is no way to have an empty field (workarounds using labelFunc cause 'invalid date format' to appear).
There should be an option to show an empty field if value is empty.

If the value is equal to null no date is shown.

You can use mask as function for this case?
Will it solve your problem?

Close due to null as default value works as expected

To expand on the author's response, there's an important distinction:

Using value={null} makes the datepicker empty
Using value={undefined} makes the datepicker show today's date

I struggled with this for a while, hopefully it helps someone else!
😉


Feeding LSTM embeddings from one task to train another LSTM

Hello,
The title might sound a bit confusing but I am trying to do some form of deep learning with LSTM. So, I am first training an LSTM to predict Part of Speech(POS) and I want to take the embeddings produce by training this POS LSTM layer and feed it to another LSTM to do some other form of tagging. I would like to know how I should proceed with feeding the embeddings from the POS LSTM later to the other tagging LSTM layer.
PS. What I want to achieve by doing so is when I train the POS layer, the output embeddings will have the POS features encoded which would be useful for my other tagging tasks.
Thanks!
@fchollet @farizrahman4u @EderSantana @ymcui

There is a method called get_weights(), which can output the weights of a specific layer (for Sequential model) or node (for Graph model).
For e.g., in Sequential model
if the Embedding is placed first in your model, you can just call
W=your_model_name.layers[0].get_weights()
the index in layers indicate the specific layer you desired to output.
and you can save this Numpy array W into file or somewhere else.
If you want to reuse this weights in other models, simply load these weights (don't forget to transform into Numpy array) into Embedding layer, with param weights=your_loaded_weights_in_numpy(sometimes if you don't want these weights changed during training, also set trainable=False).
Hope this works.

@ymcui
Epic! Thank you very much for your prompt reply. I'll try this and get back to you.

@ymcui
Okay, I tried it and get the data but I'm not able to make too much sense of the dimension. So, here is the issue:
Here are my parameter:
vocab_dim = 10   #(size of embeddings)
maxlen = 17   #(number of words in a sentence)
batch_size = 32
nb_epoch = 1
nb_classes =4
num_hidden_nodes = 10

So my input has dimension (128, 17, 10) -- 128 sentences of 17 words each and with embeddings of size 10.
Now here is my code:
model = Sequential()
model.add(LSTM(num_hidden_nodes , return_sequences=True, input_shape=(maxlen, vocab_dim)))
model.add(LSTM(num_hidden_nodes , return_sequences=True))
model.add(TimeDistributedDense(output_dim = 4,input_dim= num_hidden_nodes , activation='softmax'))
model.compile(loss='categorical_crossentropy', optimizer='rmsprop', class_mode="categorical")

weights = model.layers[1].get_weights()

I was to get the weights of the second LSTM later. the Sequential layer does not count so that's why the layer index is 1.
So, I'm was expecting the dimension of my weights to be (128, 17, 10) but have dimension (12, 10, 10). I can't make much sense out of it. Your insight would greatly help.
Thanks!

@ngopee The index of first LSTM layer is 0, so the index of second LSTM layer is 1. In my opinion, I don't know why the "12" appears in the dimension of weights, but the first "10" is the size of embeddings and the second "10" is num_hidden_nodes because of the dimension of LSTM output.

@Imorton-zd @ymcui @fchollet @farizrahman4u
Thank you for your reply. I want the hidden nodes to be representative of the size of the embeddings rather than the words. I wondering what I'm doing wrong? For instance, if I have an embedding of size 10, I want each number in the word-vector to be fed to a given number of hidden nodes and then this particular architecture is repeated for multiple time-steps. Any insight on what I'm doing wrong? or how this can be done in Keras?


swr swallows invalid json error giving undefined instead

Bug report
Description / Observed Behavior
There is a bug in nextjs/api:
https://github.com/vercel/next.js/issues/21749
So when due to this bag swr receives empty response instead of valid json - it gives data undefined in useSWR.
e.g. on backend in API I am doing res.json(null)
--> nextjs produces invalid empty response instead of valid json null
--> SWR receives invalid empty responce and returns undefined as useSWR data result.
Expected Behavior
SWR should throw invalid json format error.
Repro Steps / Code Example
https://codesandbox.io/s/null-is-undefined-v81ct?file=/pages/index.js
Additional Context
SWR version.
0.5.4

sorry, it actually gives correct error, it was me not checking it properly.


Store database backups in a 3rd-party service

To add more safety and so that data doesn't go away forever if the server is removed

Looks like DigitalOcean will be launching this soon: https://www.digitalocean.com/products/storage/object-storage/
s3 seems like the simplest choice here, but would be nice to use DO for the sake of having the same provider as the server

This is now done by benmusch/mittab-deployer


For a 2.3.2 release

#169

Codecov Report

Merging #170 (2f374f0) into master (4c4ed62) will increase coverage by 3.68%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #170      +/-   ##
==========================================
+ Coverage   90.49%   94.17%   +3.68%
==========================================
  Files           7        7
  Lines         305      292      -13
==========================================
- Hits          276      275       -1
+ Misses         29       17      -12

Impacted Files
Coverage Δ

src/convention/scitype.jl
78.37% <ø> (+20.37%)
:arrow_up:

src/schema.jl
97.14% <0.00%> (-2.86%)
:arrow_down:

Continue to review full report at Codecov.

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