Filtering by null seems to be broken in 2.5

Bug description
Encountering a couple of situations where filtering by null is now throwing an error.
How to reproduce
Schema
model Visit {
  id        String    @default(cuid()) @id
  rating    Int?
  skippedAt DateTime?
}

Error 1
const res = await prisma.visit.findMany({
  where: {
    OR: [
      { rating: 3 },
      { skippedAt: null }
    ]
  }
})

PrismaClientKnownRequestError:
Invalid `prisma.visit.findMany()` invocation in
/Users/JackDavies/Desktop/prisma-issue-2/run.js:16:34

  15
→ 16 const res = await prisma.visit.findMany(
  Failed to validate the query `Error occurred during query validation & transformation:
Query (object)
  ↳ findManyVisit (field)
    ↳ where (argument)
      ↳ VisitWhereInput (object)
        ↳ OR (field)
          ↳ VisitWhereInput (object)
            ↳ skippedAt (field)
              ↳ DateTimeNullableFilter (object)
                ↳ equals (field)
                  ↳ Value types mismatch. Have: Object({"equals": Null}), want: Scalar(DateTime)` at `.Query.findManyVisit.where.VisitWhereInput.OR.VisitWhereInput.skippedAt.DateTimeNullableFilter.equals`
    at PrismaClientFetcher.request (/Users/JackDavies/Desktop/prisma-issue-2/node_modules/@prisma/client/runtime/index.js:1:226003)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async main (/Users/JackDavies/Desktop/prisma-issue-2/run.js:16:15) {
  code: 'P2009',
  meta: {
    query_validation_error: 'Error occurred during query validation & transformation:\n' +
      'Query (object)\n' +
      '  ↳ findManyVisit (field)\n' +
      '    ↳ where (argument)\n' +
      '      ↳ VisitWhereInput (object)\n' +
      '        ↳ OR (field)\n' +
      '          ↳ VisitWhereInput (object)\n' +
      '            ↳ skippedAt (field)\n' +
      '              ↳ DateTimeNullableFilter (object)\n' +
      '                ↳ equals (field)\n' +
      '                  ↳ Value types mismatch. Have: Object({"equals": Null}), want: Scalar(DateTime)',
    query_position: '.Query.findManyVisit.where.VisitWhereInput.OR.VisitWhereInput.skippedAt.DateTimeNullableFilter.equals'
  }
}

Error 2
const res = await prisma.visit.aggregate({
  count: true,
  where: { rating: { not: null } }
})

PrismaClientKnownRequestError:
Invalid `prisma.visit.aggregate()` invocation in
/Users/JackDavies/Desktop/prisma-issue-2/run.js:11:32

   7
   8   // await prisma.visit.create({ data: { rating: 1 } })
   9   // await prisma.visit.create({ data: { rating: 4 } })
  10
→ 11 const res = await prisma.visit.aggregate(

  Missing a required value at `Query.aggregateVisit.where.VisitWhereInput.rating.IntNullableFilter.not`
    at PrismaClientFetcher.request (/Users/JackDavies/Desktop/prisma-issue-2/node_modules/@prisma/client/runtime/index.js:1:226003)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async main (/Users/JackDavies/Desktop/prisma-issue-2/run.js:11:13) {
  code: 'P2012',
  meta: {
    path: 'Query.aggregateVisit.where.VisitWhereInput.rating.IntNullableFilter.not'
  }
}

Expected behavior
Should be able to filter by null on nullable fields as before.
Environment & setup

OS: Mac OS
Database: PostgreSQL
Node.js version: 14.5.0
Prisma version:

2.5.0

Possibly related: https://github.com/prisma/prisma/issues/3342

I'm experiencing this with a non-null filter query.

I have same issue

@AhmedElywa upgrade to the 2.6 dev version; that's what fixed it for me.

We issued 2 fixes in a dev build that could already solve your problems, if you want to try change your version to 2.5.1-dev.3 and let us know 😃
(do not use 2.6 dev version)

Thanks will do - any chance this will get a patch release? Keen to upgrade but stuck on 2.2 still

any chance this will get a patch release?

Yes, the dev version of 2.5.1 will later be released as 2.5.1 on @latest as soon as we know it fixes the problem that were reported.

This is fixed in 2.5.1-dev.4 and will be part of the 2.5.1 official patch. Thanks for the issue 😃

You can now use the official 2.5.1 patch 🎊


[BUG] settings in UI dont keep values when changing panes

Describe the bug
The usersettings ui is resetted when changing panes, although the values are saved.
The correct values are shown if if i change from settings to oyther thing in the sidebar and go back. video below show this behavior
Steps to Reproduce
https://github.com/hydralauncher/hydra/assets/16529503/2803b5b7-049d-41fd-aaf9-72dfe7ee6b22
Expected behavior
Should keep the current settings when changing setting pane
Screenshots
Video above
Operating System
Windows
Hydra Version
1.2.0 (main actually, tried to fix but am too dumb sowrry)
Additional Information
No response

@zamitto do you have any idea why this happens? can take a look miself later but need a hint, i'm not too familiar with node/react/electron myself, played more with ruby, python, rust and kotlin

I will take a look into it later, thanks!
Can I ask just to, next time, you record a video from the main branch or release version, without modified code.
Your video has your feature of language change, this might mix things up, as this is not merged yet.

yeaa, sorry @zamitto , I noticed the bug while I was testing the feature, but happens with and without it, as the checkbox are also resetted

someone fixed this on main already, can close


where the Then Makefile.CrossWindows in master?

as like as title: where the file:Makefile.CrossWindows?
I download the master zip , Cross-compile from Linux. at last, I can't find the Makefile.CrossWindows...
may I know what had changed?

It's release.mk now. The doc must be updated, sorry.

The doc must be updated, sorry.

Done: a2919b3ef2d3b08f426ac53ff1999c0f7f925e9f


Need to incorporate last modification, and time-of-insert into our public database

These are required so that we can decide when to make incremental updates.

Insert and update triples added to publication-creation code.

@jtyzzer is there a pull request associated  with this?

@qjhart Let's coordinate this at our 2:00.

Quinn added these triples in his most recent round of changes.


Hi I am new here please teach me how to use it..

Please have a look at these resources:

Paper: https://d3gpjj9d20n0p3.cloudfront.net/fortiguard/research/eu-14-Apvrille-HideAndroidApplicationsInImages-wp.pdf
Slides: https://www.blackhat.com/docs/eu-14/materials/eu-14-Apvrille-Hide-Android-Applications-In-Images.pdf

I should add that this probably does not work as such on recent Android versions.
Enjoy,


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: jjsguo sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

GO


Cursor doesn't turn into all-scroll point After clicking Move or Delete button.

Hi - I'm facing an issue when I want to move or delete a geometry from map. 8 out of time times, cursor doesn't turn into all-scroll symbol.  As  a result, I'm unable to delete or move geometry from map
I'm expecting the below cursor after clicking  move button

But I'm getting grab Cursor pointing as below

I can't reproduce.
Errors in the console?
Maybe the invisible building layers are over the drawn one. Try to call buildingGroup.bringToBack()

I can't reproduce.
Errors in the console?
Maybe the invisible building layers are over the drawn one. Try to call buildingGroup.bringToBack()

Ok ..I I will try it and let you know.

Ok ..I I will try it and let you know.


Support electron v4.0

Hi,With new version of electron v4.0 aren't available:
https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v4.0.4/electron-v4.0-win32-x64.tar.gz

#1098

npm install https://github.com/mapbox/node-sqlite3/tarball/kewde-4.0.5


ctrl + z fix

https://github.com/flutter/flutter/issues/77929
I found acciated issue and commit when _webspacefix was introduced.
This code was created to fix spacing issue on web
But as of current master build this issue doesnt occur, so I think it would be safe to keep this code commented to help us fixing possiable future errors


Using Open Badges

Open Badges (Mozilla) is a well-conceived system to manage badges in learning.
It is easy to set-up and use, and the software support is really good.
It would be nice to think together aboud.t:
. who  attributes, issues and serves badges in OSMOOC

types of badges (levels of achievement?)
criteria for attribution.
We should agree on this before issuing badges, to avoid the need to classify a posteriori.

Awesome, thanks for this @Pfern. For those three points, I think they can all be sort of addressed in one? So the criteria would be simply completing a module of the MOOC, so there would be ten badges to get in total, and they could be automatically administered once a module is finished. At the moment, certificates are given out for completion for each module. I'm not sure how easy it would be to integrate them into the existing platform though.

We need to be taking the role of "the issuer" and use Mozilla's Open Badges API.
https://github.com/mozilla/openbadges-backpack/blob/master/docs/apis/issuer_api.md
and
https://github.com/mozilla/openbadges-backpack/wiki/Open-Badges-Onboarding:-Issuers

As an FYI Mozilla handed off backpack to Concentric Sky. Look into Badgr.
On Thu, Dec 27, 2018 at 6:38 PM Pedro Fernandes<EMAIL_ADDRESS>wrote:

We need to be taking the role of "the issuer" and use Mozilla's Open
Badges API.
https://github.com/mozilla/openbadges-backpack/blob/master/docs/apis/issuer_api.md
and
https://github.com/mozilla/openbadges-backpack/wiki/Open-Badges-Onboarding:-Issuers
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/OpenScienceMOOC/Main/issues/22#issuecomment-450253831,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKC-ppPRZyOgXTwLe3OU556f2NoPUnhgks5u9VnugaJpZM4Zf7Dz
.


Increase Android min SDK version to 16

See https://github.com/tangrams/tangram-es/pull/1824 for additional discussion.

Yeahhh you should just disable that popup in Android Studio until the Gradle plugin fixes their bugs: https://github.com/tangrams/tangram-es/pull/1818

Ohh yeah, totally forgot about that, and also that we recently reverted
that :p (too many context switches these days)
On Mon, Jun 18, 2018 at 6:05 PM Matt Blair<EMAIL_ADDRESS>wrote:

Yeahhh you should just disable that popup in Android Studio until the
Gradle plugin fixes their bugs: #1818
https://github.com/tangrams/tangram-es/pull/1818
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/tangrams/tangram-es/pull/1825#issuecomment-398241939,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAWAwRwnQLepYNvScOvKYu5gb4VTm3y7ks5t-E5ugaJpZM4Usk0Q
.

--
Varun Talwar


Redirect URIs with commas are badly treated upon creating Oauth2 client

What version of UAA are you running?
v75.12.0
What output do you see from curl <YOUR_UAA>/info -H'Accept: application/json'?
{
    "app": {
        "version": "v75.12.0"
    },
    "links": {
        "uaa": "https://auth.devlocal",
        "passwd": "/forgot_password",
        "login": "https://auth.devlocal",
        "register": "/create_account"
    },
    "zone_name": "uaa",
    "entityID": "cas-saml-sp",
    "commit_id": "8a72ae3",
    "idpDefinitions": {},
    "prompts": {
        "username": [
            "text",
            "Email"
        ],
        "password": [
            "password",
            "Password"
        ]
    },
    "timestamp": "2021-12-15T19:20:32+0000"
}

How are you deploying the UAA?
I am deploying the UAA in K8S cluster using a Docker Image crafted by me.
What did you do?
When I am creating a new Oauth2 client using following request:
curl 'http://uaa.local-k8s/oauth/clients' -i -X POST \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer ${TOKEN}" \
    -H 'Accept: application/json' \
    -d '{
  "scope" : [ "clients.read", "clients.write" ],
  "client_id" : "xyz",
  "client_secret" : "foobar",
  "resource_ids" : [ ],
  "authorized_grant_types" : [ "client_credentials" ],
  "redirect_uri" : [ "http://test1.com/foo,bar", "http://test2/baz,boom" ],
  "authorities" : [ "clients.read", "clients.write" ],
  "token_salt" : "jGrvTR",
  "autoapprove" : true,
  "allowedproviders" : [ "uaa", "ldap", "my-saml-provider" ],
  "name" : "My Client Name"
}'

please note commas in the path part of the redirect URIs I provide

Then I am getting 200 OK response with the body:
{
  "scope": [
    "clients.read",
    "clients.write"
  ],
  "client_id": "xyz",
  "resource_ids": [
    "none"
  ],
  "authorized_grant_types": [
    "client_credentials"
  ],
  "redirect_uri": [
    "http://test2/baz",
    "boom",
    "http://test1.com/foo",
    "bar"
  ],
  "autoapprove": [
    "true"
  ],
  "authorities": [
    "clients.read",
    "clients.write"
  ],
  "token_salt": "jGrvTR",
  "allowedproviders": [
    "uaa",
    "ldap",
    "my-saml-provider"
  ],
  "name": "My Client Name",
  "lastModified":<PHONE_NUMBER>238,
  "required_user_groups": []
}

What did you expect to see? What goal are you trying to achieve with the UAA?
I expect to see two redirect URIs I provided:
{
  "scope": [
    "clients.read",
    "clients.write"
  ],
  "client_id": "xyz",
  "resource_ids": [
    "none"
  ],
  "authorized_grant_types": [
    "client_credentials"
  ],
  "redirect_uri": [
    "http://test1.com/foo,bar",
    "http://test2/baz,boom"
  ],
  "autoapprove": [
    "true"
  ],
  "authorities": [
    "clients.read",
    "clients.write"
  ],
  "token_salt": "jGrvTR",
  "allowedproviders": [
    "uaa",
    "ldap",
    "my-saml-provider"
  ],
  "name": "My Client Name",
  "lastModified":<PHONE_NUMBER>238,
  "required_user_groups": []
}

What did you see instead?
I see instead 4 redirect URIs.
In your code you do the join on the provided list of URIs using a comma as a separator and next, when you read from a DB in order to return Oauth2 Client you again construct a list dividing elements using a comma delimiter, which is obviously wrong because both of my redirect URIs contains commas in the path, which is a valid URI from the RFC point of view.
The problematic part in the code is here:
org.cloudfoundry.identity.uaa.zone.MultitenantJdbcClientDetailsService#getFieldsForUpdate

In line 203 you're basically using collectionToString.
My suggestion:
Encode or escape parts of the provided list of URIs before joining and decode or unescape before constructing a list upon reading.

Thanks. I'm gonna check both feature branches today or tomorrow, although, from what I see in the code,  I'm more into the second one which correctly treats provided URIs.


node crash due to dictionary size change of subscriptions

#10

Thanks for flagging, will be included in next minor release.


Duplicated struct tag name in internal struct migrations.rawRepository

Description
In
https://github.com/go-gitea/gitea/blob/dfa4e5857fe9d8f113cf50d4c7fda094f0f30b74/services/migrations/codebase.go#L191-L209
the xml struct tag name ticketing-milestone is repeated.
It seems the first field (XMLName) should have a different tag name.
Gitea Version
88f8351
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
I do not run gitea,
Database
None

The xml response is like
<ticketing-milestone type="array">
    <ticketing-milestone>
        <id type="integer">1</id>
        <identifier>xxxx</identifier>
        <name>name1</name>
        <start-at type="date">2023-10-01</start-at>
        <description>desc1</description>
        <estimated-time type="integer">0</estimated-time>
        <status>active</status>
    </ticketing-milestone>
    <ticketing-milestone>
        <id type="integer">2</id>
        <identifier>xxxx</identifier>
        <name>name2</name>
        <start-at type="date">2023-10-03</start-at>
        <description>desc2</description>
        <estimated-time type="integer">0</estimated-time>
        <status>active</status>
    </ticketing-milestone>
</ticketing-milestone>

so I think the two ticketing-milestone tags are correct.


Search "In selection" leads to freeze

Steps to reproduce:
1 - Run demo
2 - Ctrl + F
3 - Click "In selection"
4 - Type "begin" in search box

Fixed.


Use omg_rpc for omg_watcher (or not!)

My assumption is that there are API routes that are specific to the Watcher. Which is ok and these routes need to be implemented in subsequent controllers.
I presume that because of DRY, things from :omg_rpc were pushed to into :omg_watcher, making things unclean (like OMG.RPC.Web.Error. If the functions here really need to be dried out, better to put them into a utility application.
I do not see a use case why omg_rpc would need to be pulled into omg_watcher. I would rather suggest a refactor, where omg_rpc is named after it's main parent application, which is omg_api. And then completely clean up mfas that are being pulled in. If omg_api is basically what childchain is, maybe naming it this way also makes sense! omg_api is basically not an API interface without omg_rpc.

I'll refer to the idea of omg_rpc which comes from the dependencies we had at the time. Now things looks a whole different so please keep in mind that the assumption of omg_rpc might get outdated or are wrong.
Because we had ch-ch & watcher so close to each other we started to think of them as a single app, so you could have a flag (or mode) which tells mix you are willing to start ch-ch or watcher.
Then omg_rpc was planned to became web api layer serving both apps' endpoints. (You can have multiple Phx Endpoints in Phoenix app and Endpoint plugs Router, so we'd have ch-ch Endpoint pluging ch-ch related routes and watcher's one doing the same for watcher.)
So as a natural consequence every web api related code that could work for both was declared in omg_rpc.   Taking a utility library approach these things should be placed in the utilities.

Blocked by https://github.com/omisego/elixir-omg/issues/557

Looking at the exposed routes
elixir-omg  master $ mix phx.routes OMG.Watcher.Web.Router
       account_path  POST  /account.get_balance                       OMG.Watcher.Web.Controller.Account :get_balance
   transaction_path  POST  /account.get_transactions                  OMG.Watcher.Web.Controller.Transaction :get_transactions
       account_path  POST  /account.get_utxos                         OMG.Watcher.Web.Controller.Account :get_utxos
in_flight_exit_path  POST  /in_flight_exit.get_data                   OMG.Watcher.Web.Controller.InFlightExit :get_in_flight_exit
in_flight_exit_path  POST  /in_flight_exit.get_competitor             OMG.Watcher.Web.Controller.InFlightExit :get_competitor
in_flight_exit_path  POST  /in_flight_exit.prove_canonical            OMG.Watcher.Web.Controller.InFlightExit :prove_canonical
in_flight_exit_path  POST  /in_flight_exit.get_input_challenge_data   OMG.Watcher.Web.Controller.InFlightExit :get_input_challenge_data
in_flight_exit_path  POST  /in_flight_exit.get_output_challenge_data  OMG.Watcher.Web.Controller.InFlightExit :get_output_challenge_data
   transaction_path  POST  /transaction.all                           OMG.Watcher.Web.Controller.Transaction :get_transactions
   transaction_path  POST  /transaction.get                           OMG.Watcher.Web.Controller.Transaction :get_transaction
   transaction_path  POST  /transaction.submit                        OMG.Watcher.Web.Controller.Transaction :submit
   transaction_path  POST  /transaction.create                        OMG.Watcher.Web.Controller.Transaction :create
          utxo_path  POST  /utxo.get_exit_data                        OMG.Watcher.Web.Controller.Utxo :get_utxo_exit
     challenge_path  POST  /utxo.get_challenge_data                   OMG.Watcher.Web.Controller.Challenge :get_utxo_challenge
        status_path  POST  /status.get                                OMG.Watcher.Web.Controller.Status :get_status
      fallback_path  *     /*path                                     OMG.Watcher.Web.Controller.Fallback Route.NotFound

elixir-omg  master $ mix phx.routes OMG.ChildChain.Web.Router
** (Mix) the provided router, OMG.ChildChain.Web.Router, does not exist
elixir-omg  master $ mix phx.routes OMG.RPC.Web.Router
      block_path  POST  /block.get           OMG.RPC.Web.Controller.Block :get_block
transaction_path  POST  /transaction.submit  OMG.RPC.Web.Controller.Transaction :submit
   fallback_path  *     /*path               OMG.RPC.Web.Controller.Fallback Route.NotFound

what are the arguments to have OMG Watcher use OMG RPC? @pnowosie

Having in mind we havent't anticipated common utils module and web-api layer is just interface (at least Watcher can be used without http, see: API modules) it is just DRY to have all commob http related things in one place (e.g. input validation, response sanitization, serialization ...).
A lot has change from initial vision, but I can describe it and then we can list pros & cons.
Vision
Let's call this common application which serves http endpoints HttpRPC to avoid confussion.

HttpRPC depends on web frameworks (Phoenix, Cowboy, Plugs ...)
HttpRPC provides swagger documentation to the web endpoints (it is outside)
HttpRPC contains routes for Child chain, Watcher security critical & Watcher informational endpoints.
It implements controllers for these endpoints. Let's not focus on Phoenix details here and just say that each controller serves http related functionality (retrieves parameters, validates them, transforms & serialize reponse).
Real work (not http related) is delegated to API modules (backing controller pattern), APIs implements the same named functions as controllers but receive parameters from elixir world, and fails quickly if parameters are invalid. (See how Watcher controllers implement it for example).

API modules are implemented outside HttpRPC module, regarding theirs functionality in Child chain or Watcher apps.
Child chain & Watcher application depends on HttpRPC (reversed dependency - so Http layer is just one of the children of the app). Let say Child chain starting HttpRPC application provides some flags to ignore routes belonging to Watcher and vice-versa. This also allows to build functionality on top of Watcher and don't start HttpRPC and call Watcher via API layer.
Because we reversed dependency we could move HttpRPC outside of the umbrella and treat it as separate interface layer of Child chain & Watcher.
What do you think about it @pdobacz @InoMurko - am I missed something? I do appreciate Elixir experts view of the topic! Thanks

I think I understand what you mean @pnowosie. My fear is that we would gain very little by doing this.
What do Child chain and Watcher share in terms of implementation? My understanding is they share everything that's jsonrpc implementation related (request and response validation, encoding and decoding). Is there anything else I might be missing?
Having both in the same boat also increases the change of breaking things for one and the other - though we're not really leveraging much of Phoenix that we couldn't do by having a very simple Plug.Cowboy implementation (like Mana does for https://github.com/mana-ethereum/mana/tree/master/apps/jsonrpc2/lib/jsonrpc2 for protocols http, websockets and IPC). So DRY is good, but not where it decreases separation.

Agreed regarding new modules boundaries (API endpoint for Watcher in Watcher app (as is), API endpoint merged into omg_child_chain and common web-utilities in separate module used by both APIs).
(Maybe I got you wrong) If you're proposing to ditch Phoenix dependency and re-implement web-layer with self-made module - I believe it isn't worth the effort.
Thanks!

Got another idea we could do:
we could use https://hexdocs.pm/phoenix/Phoenix.Router.html#forward/4 Router.forward/4.
Basically, the idea is:
We have one Phoenix application called omg_rpc and three Routers + and request and response validation, encoding and decoding..., but NO logic. All business logic is in the application that has the router!

Top level Root router. Let's call it RootRouter
Watcher router. WRouter in omg_watcher
Child Chain router. ChRouter in omg_child_chain

Watcher flow would go like this (Ch Ch would be similar):

Application omg_watcher boots and configures omg_rpc via Application.put_env and sets the forward_to_router option on RootRouter omg_rpc to WRouter.
omg_rpc receives a request, the request goes to RootRouter that checks witch router was set as the handler, and forwards the request to WRouter. WRouter in omg_watcher has all the route handlers implemented, and returns the response.

This is a similar approach https://blog.appsignal.com/2019/04/16/elixir-alchemy-routing-phoenix-umbrella-apps.html

Here are my 2¢
I think the latest proposition could make a project harder to configure and gives no gains (comparing to your prev proposition with 2 Phx apps and shared web-utils).
We still need to depend on Phoenix in Ch-ch & W and have Router + Controllers + Views defined in each app.
Also, currently our web-layer has no logic by itself and delegate work to API modules.
Also docs says that: The forwarded plug will be initialized at compile time. so the new omg_rpc would need to depend on Ch-ch & Watcher. (:question:)
Despite the critics I appreciate you think about alternatives.

Hey,
yeah, the appsignal link is not to be followed closely, because their phoenix app is meant to be used by every umbrella app. What we need is to be able to separate two use cases but try to make it reusable/pluggable. In this case, my proposal https://github.com/omisego/elixir-omg/issues/559#issuecomment-483820013 is closer to our needs.

Done.


Device_ID

I am sorry this must be a really dumb Question but how can i get that Device ID?

It’s what ever you named the product when you were setting it up on amazon
On Thu, Mar 22, 2018 at 3:37 PM Jonathan214<EMAIL_ADDRESS>wrote:

I am sorry this must be a really dumb Question but how can i get that
Device ID?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dolanmiu/MMM-awesome-alexa/issues/90, or mute the
thread
https://github.com/notifications/unsubscribe-auth/Abn-OXqTb6wlk0Ekp6kOxPJxpWyjMJPeks5thAuIgaJpZM4S3wP1
.

 It is also called the "Product ID". Look at screenshot


Improve manageability of share manager pod behaviors

In the current implementation, the share manager pod is created and blindly mounts a volume regardless of its healthy state. The blind mounting behavior can lead to unexpected volume faulted if the volume is dead or orphaned. This ticket aims to share manager pod's behaviors more manageable and predictable.
With the improvement, the start flow will be as follows:

Share manager controller creates a share manager pod and bootstraps an NFS server without any filesystem exported
Share manager pod mounts the volume and exports it after receiving a FilesystemMount request
Share manager controller checks the mount status by FilesystemMountStatus. If the volume is mounted, transition the share manager state to "running"

Shutdown flow will be as follows:

Gracefully shut down the NFS server
Gracefully or forcefully unmount the volume
Tear down the device.

Depends on https://github.com/longhorn/longhorn-share-manager/pull/69
https://github.com/longhorn/longhorn/issues/5717

Revisit it after merging AD controller


Mispelling in documentation

In the .babelrc you have the plugin "transform-imports".  Shouldn't it be "transform-import"?

@pak11273 Thanks for reporting, transform-imports is correct, I misspelled transform-import in yarn add ....
It uses https://www.npmjs.com/package/babel-plugin-transform-imports
Fixed in https://github.com/gutenye/transform-imports-react-icons/commit/1d4ebe33c87a51049a73076a9ba17f742f12c1eb


Grid Stack docker compose update for dashboard suite flist

Work Done

adjusted the deployment process so it works with micro VM for flist on tfgrid
Set tar with pv to get a status of the progress

Then we get status from rsync (already happening) and from tar (this PR)

we print the process to log file, this is used on flist to show a wepage of the progress
Detail: links for networks are e.g. mainnet, but for qanet it was qa_net, so I updated this too

Status

This branch along with the PR on TF-Image for the dashboard suite flist (https://github.com/threefoldtech/tf-images/pull/277) are done as a first version. We can deploy on micro VM running on TFGrid all 4 networks: main, qa, dev, test, with env variables: SEED, DOMAIN and NETWORK

Detail

The files are in xz not gzip, despite the gz file extension

Related Work

This is in line with the grid stack dashboard suite flist: https://github.com/threefoldtech/tf-images/pull/277

References

Work done with the collaboration of @scottyeager

Thanks a lot for the effort. I went over the commits which look fine only that once merged would break the current flow. We have currently no grid backend stacks running on the grid or in a vm, all are bare metal machines setup exactly the same. We want to keep it this way since only changing a path for example, involves a lot of work making changes on all the live deployments. What is in this repo is also live in production.
Since also changes like using zinit are in commits, I would suggest to make a separate branch (or some other git magic) to keep the code for our bare metal deployments separate from flist compatible code. Although I'm not sure how to do that.
Since this pull request we also made changes to extracting commands, so we would need to go over integrating pv again

Thanks for the feedback Bert.
So finally we won't use the flist images + dashboard apps, thus this PR is not necessary. We will do everything with docker compose, as we have already started to work on.
I will update the grid deployment project specs with this so it's clear. So I will close this PR and others that are not relevant anymore.


Create different flow pages

Hello :)
I have added a form that allows the user to create new flows with name and duration. The data will be rendered as cards.
Please note:

The link in the flow-card currently leads to an empty page. This will be changed in the next user story.
The user is not required to enter a duration time, but when he does, the data should be validated.

Thanks for reviewing!

Nice! I just have some small changes requested.

Thanks a lot for your feedback, @ThomasF85. Please check again, if you have the time :)

Very good work here.

Thanks for your feedback, Martin!


[Bug Report] Eval commands don't work

Bug Description
Hi
When an eval command is used the bot doesn't reply and make an error in the console.
 (No reply from the bot)

Steps to Reproduce

Use an eval command (like @bot eval jda.guilds)
See the console
White this..

Expected Result
Just execute the command and reply
Debug Output
System Properties:
  java.version = 16.0.2
  java.vm.name = Java HotSpot(TM) 64-Bit Server VM
  java.vm.specification.version = 16
  java.runtime.name = Java(TM) SE Runtime Environment
  java.runtime.version = 16.0.2+7-67
  java.specification.version = 16
  os.arch = x86_64
  os.name = Mac OS X

JMusicBot Information:
  Version = 0.3.5
  Owner =<PHONE_NUMBER>09115904
  Prefix = ;
  AltPrefix = @mention
  MaxSeconds = 0
  NPImages = false
  SongInStatus = false
  StayInChannel = false
  UseEval = true
  UpdateAlerts = true

Dependency Information:
  JDA Version = 4.3.0_312
  JDA-Utilities Version = 3.0.5
  Lavaplayer Version = 1.3.78

Runtime Information:
  Total Memory = 45
  Used Memory = 33

Discord Information:
  ID =<PHONE_NUMBER>38643476
  Guilds = 5
  Users = 3

### Additional Info

none

### Checklist

- [X] I have looked for information about this [within the documentation](https://jmusicbot.com/)
- [X] I have searched for similar issues [on the issues page](https://github.com/jagrosh/MusicBot/issues?q=is%3Aissue)
- [X] I am running the latest version of the bot: ![Release](https://img.shields.io/github/release/jagrosh/MusicBot.svg)

The eval command no longer works starting Java 14 (i think?) & above.


Generalized DecimalNumber syntax

To possibly have decimal point and exponent. See, for example Line 499 of this code.

Thanks @domainexpert! Sorry about the delay, I have been at DEVCON3 for the past few days and had very little time.

@federicobond Thank you!


Engrave effect not working with current Slicer Preview 2021-08-12

The engrave effect is referencing a function vtkMRMLMarkupsPlaneNode.GetPlaneToWorldMatrix which no longer exists. It seems that it was changed to vtkMRMLMarkupsPlaneNode.GetObjectToWorldMatrix as part of https://github.com/Slicer/Slicer/commit/4c170cd7527a1cd2c1360d89d0fa6e54779064ad. Need to update to use new function.

Good catch! Could you please send a pull request with the proposed change? Thank you!

Here a PR that makes the functionality usable again. Note there is still an issue with edit button.
https://github.com/lassoan/SlicerSegmentEditorExtraEffects/pull/42


After installing Pinocchio in C++, an error will be reported when importing URDF

1.‘pinocchio::urdf::details::parseRootTree(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, pinocchio::urdf::details::UrdfVisitorBaseTpl<double, 0>&)’When I reported this error, I added in the cmakeLists file:#link_libraries(/usr/local/lib/libhpp-fcl.so)
#link_libraries(/usr/local/lib/libpinocchio.so)
link_libraries(/usr/local/lib/libpinocchio.so.2.6.17)
it can be compiled successfully.
However,when i run the code, now a new problem arises:Error:   File path_to_the_model_dir/home/xh/kortex-master/api_cpp/examples/GEN3-Lite.urdf does not exist
at line 53 in /build/urdfdom-YMMa9X/urdfdom-1.0.0/urdf_parser/src/model.cpp
terminate called after throwing an instance of 'std::invalid_argument'
what():  The file path_to_the_model_dir/home/xh/api_cpp/examples/GEN3-Lite.urdf does not contain a valid URDF model.
Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
I made sure I have a correct URDF file.
I want to know how to solve such a problem, and hope to get your timely reply, thank you

From:
Error: File path_to_the_model_dir/home/xh/kortex-master/api_cpp/examples/GEN3-Lite.urdf

You need to remove path_to_the_model_dir before /home.
In the example that you are adapting, path_to_the_model_dir was an indication for you. It was meant to be replaced with the actual path (rather than adding it afterwards).

Thank you very much for your help, this problem was successfully solved by me.


[GOBBLIN-701] Add secure templates (duplicate of #2571)

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[ ] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-701

Description

[ ] Here are some details about my PR, including screenshots (if applicable):

Resubmit and address comments of #2571
Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

@sv2000 please review (changes from original PR are all in the second commit)


[docs] Feedback on Naming Convention | breadCrumbs

Related page
https://mui.com/toolpad/core/react-page-container/#title-and-breadcrumbs
Kind of issue
Unclear explanations
Issue description
I found the use of PascalCase for the name "Breadcrumbs" to be odd. The props are named "breadCrumbs," which I think doesn’t look good. It would be better to use "breadcrumbs" since it's a single word and isn’t meant to be read separately.
Context
Docs
Search keywords: breadcrumbs

You are right, Material UI also uses "breadcrumbs". Will update.


DateTest::testOldDate() fails on 32-bit platforms

@jwage mentioned that https://github.com/doctrine/mongodb-odm/commit/c36c0606fb0a2f933e843cf68963f3cf4e8f207f failed for him on a 32-bit test environment:
1) Doctrine\ODM\MongoDB\Tests\Functional\DateTest::testOldDate
InvalidArgumentException: Could not convert "1900-01-01" to a date value

This is due to the the test date exceeding the bounds for a negative 32-bit int. From strtotime()'s documentation:

The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 UTC to Tue, 19 Jan 2038 03:14:07 UTC. (These are the dates that correspond to the minimum and maximum values for a 32-bit signed integer.)

Interestingly, DateTime doesn't seem to have this problem:
vagrant@precise32:/vagrant/data/mongodb-odm$ php -r "echo (new \DateTime('1900-01-01'))->format('c');"
1900-01-01T00:00:00+00

vagrant@precise32:/vagrant/data/mongodb-odm$ php -r "var_dump((new \DateTime('1900-01-01'))->format('U'));"
string(11) "-2208988800"

vagrant@precise32:/vagrant/data/mongodb-odm$ php -r "var_export(strtotime('1900-01-01'));"
false

This is mainly because it prints a long long directly to a string buffer (see: here), which it returns. Meanwhile, strtotime() returns a platform-dependent long (see: here).

There is no clear solution for ODM, since MongoDate::__construct() takes long values for its sec and usec parameters. Ultimately, MongoDate would need to accept a string as its first argument, and parse that directly into an int64_t (reported and tracked by PHP-1424).

@jmikola related JIRA ticket was made for legacy driver, is this something new one is tackling/will tackle?

related JIRA ticket was made for legacy driver, is this something new one is tackling/will tackle?

MongoDB\BSON\UTCDateTime::__construct() accepts a string argument since 1.0.0, which will be parsed as a 64-bit integer.

It's almost 2018 and I'm very willing to close this and ignore 32-bit platforms (sorry @jwage).
@jmikola I didn't quite get whether ext-mongodb still has the same problem - now that dev-master uses ext-mongodb this might no longer be an issue.

It's almost 2018 and I'm very willing to close this and ignore 32-bit platforms (sorry @jwage).

Yeah, gonna do that now it's 2023 👼


Changing HLS IP

Hi,
Do I have to change the HLS numbers and layers and implementing a new IP to work with my CNN model?

Hi,  sorry for the late reply. This old issue might have the answer to your qn https://github.com/awai54st/PYNQ-Classification/issues/15.

Hi, I understand now the steps. Thank you. But my model has rectangle image size and its dimension is (height =114, width=59, channels=22). Should I enter the biggest size 114 into the ifsize in HLS code?

Hi, I understand now the steps. Thank you. But my model is taking the shape (1,22,59,114). Should I enter the biggest size in the "IFDim_curr" in HLS code?

Perhaps an easy way to get around that is to zero-pad the kernels/input feature maps into square shape, though it also leads to wasted computations.
It's definitely doable to change the model size in the HLS code, but I think you might need to edit the source code by quite a bit. For example, the sliding window for convolution assumes a square-shaped input feature map, so that has to be edited. The "done" signal in the hand-shaking protocol also needs to be triggered at the correct timing (i.e. high at the very last pixel), otherwise the DMA will be stuck until timeout. These are two important things that I can think of at the moment.


Disable and fix errors, cspell allowCompoundWords

Remove:
languageSettings:
  - languageId: python
    allowCompoundWords: true

from cspell.config.yaml, and fix errors or PR to python dictionary
Related: https://github.com/streetsidesoftware/cspell/releases/tag/v5.20.0

and discouraged: https://github.com/streetsidesoftware/cspell/issues/2092


Zero training/validation errors but completely wrong in labeled images.

Hi !
I manually labeled 150 frames for com training. But after com-train, I found that the estimated COM in the validation images saved in debug_im_out_valid folder are all located at the left-top corner of the images. Which means the model didn't learn the task at all, however, the training error converged to zero rapidly in the training epochs.  Using the weights generated by com-train, I also found the predictions are all NaNs. (similar to #128 ).
I have checked the video frames and labels before they enter the model.fit(), didn't spot anything wrong.
Thank you so much!

Console outputs

(dannce) PS C:\Users\jlab> cd C:\Users\jlab\Documents\MATLAB\dannce-master\demo\MyRat_1
(dannce) PS C:\Users\jlab\Documents\MATLAB\dannce-master\demo\MyRat_1> com-train ....\configs\com_rat_config.yaml
2022-11-07 18:00:02.093225: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
io_config not found in io.yaml file, falling back to main config
batch_size not found in io.yaml file, falling back to main config
epochs not found in io.yaml file, falling back to main config
downfac not found in io.yaml file, falling back to main config
lr not found in io.yaml file, falling back to main config
num_validation_per_exp not found in io.yaml file, falling back to main config
debug not found in io.yaml file, falling back to main config
verbose not found in io.yaml file, falling back to main config
max_num_samples not found in io.yaml file, falling back to main config
crop_height not found in io.yaml file, falling back to main config
crop_width not found in io.yaml file, falling back to main config
com_train_dir set to: .\COM\train_results
com_predict_dir set to: .\COM\predict_results
dannce_train_dir set to: .\DANNCE\train_results\MAX
dannce_predict_dir set to: .\DANNCE\predict_results
n_views set to: 3
exp set to: [{'label3d_file': './20221107_171751_Label3D_com.mat'}]
io_config set to: io.yaml
batch_size set to: 2
epochs set to: 3
downfac set to: 2
lr set to: 5e-5
num_validation_per_exp set to: 10
debug set to: True
verbose set to: 1
max_num_samples set to: 100
crop_height set to: [0, 640]
crop_width set to: [0, 960]
base_config set to: ....\configs\com_rat_config.yaml
viddir set to: videos
camnames set to: None
n_channels_out set to: 1
sigma set to: 30
net set to: unet2d_fullbn
gpu_id set to: 0
immode set to: vid
mono set to: False
mirror set to: False
loss set to: mask_nan_keep_loss
num_train_per_exp set to: None
augment_hue set to: False
augment_brightness set to: False
augment_hue_val set to: 0.05
augment_bright_val set to: 0.05
augment_rotation_val set to: 5
data_split_seed set to: None
valid_exp set to: None
dsmode set to: nn
com_finetune_weights set to: None
augment_shift set to: False
augment_zoom set to: False
augment_shear set to: False
augment_rotation set to: False
augment_shear_val set to: 5
augment_zoom_val set to: 0.05
augment_shift_val set to: 0.05
start_batch set to: 0
n_channels_in set to: None
extension set to: None
vid_dir_flag set to: None
chunks set to: None
lockfirst set to: None
load_valid set to: None
drop_landmark set to: None
raw_im_h set to: None
raw_im_w set to: None
n_instances set to: 1
start_sample set to: 0
write_npy set to: None
use_npy set to: False
com_predict_weights set to: None
com_debug set to: None
com_exp set to: None
Using the following *dannce.mat files: .\20221107_131602_Label3D_dannce.mat
Setting vid_dir_flag to True.
Setting extension to .mp4.
Setting chunks to {'Camera1': array([0]), 'Camera2': array([0]), 'Camera3': array([0])}.
Setting n_channels_in to 3.
Setting raw_im_h to 640.
Setting raw_im_w to 960.
Experiment 0 using videos in .\videos
Experiment 0 using camnames: ['Camera1', 'Camera2', 'Camera3']
{'0_Camera1': array([0]), '0_Camera2': array([0]), '0_Camera3': array([0])}
./20221107_171751_Label3D_com.mat
Using nn downsampling
TRAIN EXPTS: [0]
Initializing Network...
2022-11-07 18:00:03.728649: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library nvcuda.dll
2022-11-07 18:00:03.748705: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: NVIDIA GeForce RTX 3070 computeCapability: 8.6
coreClock: 1.755GHz coreCount: 46 deviceMemorySize: 8.00GiB deviceMemoryBandwidth: 417.29GiB/s
2022-11-07 18:00:03.748763: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2022-11-07 18:00:03.748917: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cublas64_10.dll
2022-11-07 18:00:03.749027: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cufft64_10.dll
2022-11-07 18:00:03.749163: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library curand64_10.dll
2022-11-07 18:00:03.749258: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusolver64_10.dll
2022-11-07 18:00:03.749352: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusparse64_10.dll
2022-11-07 18:00:03.749445: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudnn64_7.dll
2022-11-07 18:00:03.749575: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1858] Adding visible gpu devices: 0
2022-11-07 18:00:03.749825: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations:  AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2022-11-07 18:00:03.754879: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x16ebdc47a10 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2022-11-07 18:00:03.754930: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2022-11-07 18:00:03.755206: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1716] Found device 0 with properties:
pciBusID: 0000:01:00.0 name: NVIDIA GeForce RTX 3070 computeCapability: 8.6
coreClock: 1.755GHz coreCount: 46 deviceMemorySize: 8.00GiB deviceMemoryBandwidth: 417.29GiB/s
2022-11-07 18:00:03.755289: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2022-11-07 18:00:03.755429: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cublas64_10.dll
2022-11-07 18:00:03.755558: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cufft64_10.dll
2022-11-07 18:00:03.755658: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library curand64_10.dll
2022-11-07 18:00:03.755794: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusolver64_10.dll
2022-11-07 18:00:03.755893: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cusparse64_10.dll
2022-11-07 18:00:03.756025: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudnn64_7.dll
2022-11-07 18:00:03.756144: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1858] Adding visible gpu devices: 0
2022-11-07 18:01:55.707808: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1257] Device interconnect StreamExecutor with strength 1 edge matrix:
2022-11-07 18:01:55.707875: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1263]      0
2022-11-07 18:01:55.707914: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1276] 0:   N
2022-11-07 18:01:55.708200: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1402] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6584 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce RTX 3070, pci bus id: 0000:01:00.0, compute capability: 8.6)
2022-11-07 18:01:55.710122: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x16ed9547d60 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2022-11-07 18:01:55.710164: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): NVIDIA GeForce RTX 3070, Compute Capability 8.6
COMPLETE
2022-11-07 18:01:56.348486: I tensorflow/core/profiler/lib/profiler_session.cc:164] Profiler session started.
2022-11-07 18:01:56.348558: I tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1391] Profiler found 1 GPUs
2022-11-07 18:01:56.349393: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cupti64_101.dll'; dlerror: cupti64_101.dll not found
2022-11-07 18:01:56.349946: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'cupti.dll'; dlerror: cupti.dll not found
2022-11-07 18:01:56.349995: E tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1441] function cupti_interface_->Subscribe( &subscriber_, (CUpti_CallbackFunc)ApiCallback, this)failed with error CUPTI could not be loaded or symbol could not be found.
Loading data
Loading new video: .\videos\Camera1\0.mp4 for 0_Camera1
Loading new video: .\videos\Camera2\0.mp4 for 0_Camera2
Loading new video: .\videos\Camera3\0.mp4 for 0_Camera3
Loading new video: .\videos\Camera1\0.mp4 for 0_Camera1
Loading new video: .\videos\Camera2\0.mp4 for 0_Camera2
Loading new video: .\videos\Camera3\0.mp4 for 0_Camera3
Saving debug images to: .\COM\train_results\debug_im_out
Epoch 1/3
2022-11-07 18:02:56.310381: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudnn64_7.dll
2022-11-07 18:05:07.732174: W tensorflow/stream_executor/gpu/redzone_allocator.cc:314] Internal: Invoking GPU asm compilation is supported on Cuda non-Windows platforms only
Relying on driver to perform ptx compilation.
Modify $PATH to customize ptxas location.
This message will be only logged once.
2022-11-07 18:05:07.981978: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cublas64_10.dll
1/70 [..............................] - ETA: 0s - loss: 0.24542022-11-07 18:05:22.302753: I tensorflow/core/profiler/lib/profiler_session.cc:164] Profiler session started.
2022-11-07 18:05:22.302850: E tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1441] function cupti_interface_->Subscribe( &subscriber_, (CUpti_CallbackFunc)ApiCallback, this)failed with error CUPTI could not be loaded or symbol could not be found.
WARNING:tensorflow:From C:\Users\jlab\anaconda3\envs\dannce\lib\site-packages\tensorflow\python\ops\summary_ops_v2.py:1277: stop (from tensorflow.python.eager.profiler) is deprecated and will be removed after 2020-07-01.
Instructions for updating:
use tf.profiler.experimental.stop instead.
2022-11-07 18:05:22.434877: I tensorflow/core/profiler/internal/gpu/device_tracer.cc:223]  GpuTracer has collected 0 callback api events and 0 activity events.
2022-11-07 18:05:22.438600: E tensorflow/core/profiler/utils/hardware_type_utils.cc:61] Invalid GPU compute capability.
70/70 [==============================] - ETA: 0s - loss: 0.0105WARNING:tensorflow:Callbacks method on_test_batch_end is slow compared to the batch time (batch time: 0.0000s vs on_test_batch_end time: 0.0156s). Check your callbacks.
70/70 [==============================] - 10s 137ms/step - loss: 0.0105 - val_loss: 0.0000e+00
Epoch 2/3
70/70 [==============================] - 9s 125ms/step - loss: 0.0000e+00 - val_loss: 0.0000e+00
Epoch 3/3
70/70 [==============================] - 9s 126ms/step - loss: 0.0000e+00 - val_loss: 0.0000e+00
Saving debug images to: .\COM\train_results\debug_im_out_valid
Renaming weights file with best epoch description
Saving full model at end of training

The training label saved in debug_im_out folder

The validation results saved in debug_im_out_valid folder

I just found that it is because my cudnn version is not compatible with my GPU, after I reinstall dannce with correct cudnn version, the problem solved.

Hi v738301.
I'm having a similar issue with com-predict. With the given demo config files and the markeless_mouse1 videos, it generates a com3d0.mat, which has 99 NaN values out of 100 predictions using the given weights: ./COM/train_results/weights.250-0.00036.hdf5.
I've upgraded cudnn from 7.6.5 to <IP_ADDRESS>, but it's still the same. I'm using rtx4090. Does anyone have any idea how to solve this?


Match Menu Theme with App Theme

Match the Menu theme to the App theme rather than the OS default.

Thanks for the fix. @zcomputerwiz. I did a quick test and things look good.
One comment on the use of window.require... We've been moving away from window.require in favor of using import { nativeTheme } from '@electron/remote'; to unify how modules are resolved. @seeden is there any harm in using an import in this case?

Thanks for the fix. @zcomputerwiz. I did a quick test and things look good.
One comment on the use of window.require... We've been moving away from window.require in favor of using import { nativeTheme } from '@electron/remote'; to standardize on how modules are resolved. @seeden is there any harm in using an import in this case?

I have pushed commits to use import { nativeTheme } from '@electron/remote'; instead as recommended, but haven't had a chance to test. I assume it will function as expected without additional changes?


SignalR sample launch in Visual Studio Code on Linux

Before you open an issue
If the issue is with an ASP.NET Core document, open the issue with the Content feedback button at the bottom of that document page.
If the issue is:

A simple typo or similar correction, you can submit a PR. See the contributor guide for instructions.
A general support question, consider asking on a support forum site.
A site design concern, create an issue at MicrosoftDocs/Feedback.
A problem completing a tutorial, compare your code with the completed sample.
A duplicate of an open or closed issue, leave a comment on that issue.

Issue description
How to launch the SignalR sample from Visual Studio Code on Linux? It doesn't work as http://localhost:5000/index.html is not found.
{ description here }
Software versions
Check the .NET target framework(s) being used, and include the version number(s).

[X] .NET Core 2.2
[ ] .NET Framework
[ ] .NET Standard

If using the .NET Core SDK, include dotnet --info output. If using .NET Framework without the .NET Core SDK, include info from Visual Studio's Help > About Microsoft Visual Studio dialog.
$ dn --info
.NET Core SDK (reflecting any global.json):
 Version:   2.2.204
 Commit:    8757db13ec

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  19.04
 OS Platform: Linux
 RID:         linux-x64
 Base Path:   /usr/share/dotnet/sdk/2.2.204/

Host (useful for support):
  Version: 2.2.5
  Commit:  0a3c9209c0

.NET Core SDKs installed:
  2.2.204 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.2.5 [/usr/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.2.5 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.2.5 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

dotnet --info output or About VS info
<replace>

Helllo @khteh ... Which topic are you looking at? Note that it's best to open an issue using the This Page feedback button at the bottom of the topic (if possible). It adds metadata to the issue to help us track the source (in this case the sample) that might require work.

I am referring to this one: https://github.com/aspnet/AspNetCore.Docs/tree/master/aspnetcore/tutorials/signalr/sample and there is no "This Page"

I see ... it goes with this topic :point_right: https://docs.microsoft.com/aspnet/core/tutorials/signalr

Thanks @khteh ... see how it has the author's GH mention? ... we get auto-pings, too, when they go in that way. It isn't always possible to do it, but it helps.
This issue moved to :point_right: https://github.com/aspnet/AspNetCore.Docs/issues/12651


Default ProviderConfig is automatically selected

Description of your changes
If spec.providerConfigRef is empty, it will be filled with default.
Note that this PR adds that new initializer to the default initializer list but there are managed resources who supply their own initializers. So, we'll need to update them manually.
Fixes https://github.com/crossplane/crossplane/issues/1686

Checklist

I have:

[x] Run make reviewable to ensure this PR is ready for review.
[x] Ensured this PR contains a neat, self documenting set of commits.
[x] Updated any relevant documentation, examples, or release notes.
[x] Updated the RBAC permissions in clusterrole.yaml to include any new types.

Alternatively, we could have some sort of defaulter interface to separate this from NewNameAsExternalName() which feels like something which may be overridden more frequently.

Actually, the reason we had introduced the Initializer interface was defaulting. I agree that most probably, it will not be overridden in conventional infra providers. However, it's still a defaulting mechanism so it fits into why we have Initializer in the first place. So, the ability to override is kind of a positive side-effect in this case for users who develop unconventional or internal providers (maybe wish to use a mechanism to create a ProviderConfig that uses ec2 metadata by default rather than assuming one exists) but not my main goal here.

Not strictly opposed to what you have here, but just wanted to float a few more ideas :)

Keep them coming, it's always helpful for me to reconsider my thought process :)

Would it make since for this just to be in the managed reconciler body?

I'd like us to have a pretty high bar for adding more logic to the managed reconciler body given how complex it is already.

I presume we'll also need to update any controllers we still have lying around that don't use the managed resource reconciler?

Yes, that looks like the case :/


2 Questions -- How to start from scratch + Docker Compose V2 update

Hi Jason... Thanks again for spearheading this awesome project. ;)
I have 2 questions... sorry to throw these both into the same thread, but hopefully it's straightforward.
1.) I've been hobbling along with an Ubuntu VM running on Windows Sever for a few years now, and had previously run into many issues from the start when it came to permissions. I have been able to jump through hoops to get things to work, but successive upgrades have always been major hurdles... many times files just go missing during the upgrade, like various .sh files just go missing completely. So I've been looking through the discussions, but not found anything, to see what the best command(s) would be to do a complete uninstall, so I can try to start from scratch?  How do I dismantle the Powerwall-Dashboard environment completely from all traces?
2.) This is an example of what kinds of issues I'm running into. I just upgraded from 4.1.0 to 4.6.0 this morning, and for the life of me, the pypowerwall service would no longer connect/listen on its port.  Finally by looking at the docker logs, I found that it didn't have rights to the .auth folder for caching, and had to manually chmod that folder, and then all was well.  But right now, this is another stickler that confounds me.  When I run upgrade.sh, I get this:
`admin@ubuntu-01:~/Powerwall-Dashboard$ ./upgrade.sh
WARNING: You already have the latest version (v4.6.0).
Upgrade Powerwall-Dashboard from 4.6.0 to 4.6.0
This script will attempt to upgrade you to the latest version without
removing existing data. A backup is still recommended.
Checking Docker Compose...
INFO: Docker Compose V2 Found: OK to Continue
Upgrade - Proceed? [y/N] y
Resetting Timezone to Default...
admin@ubuntu-01:~/Powerwall-Dashboard$
`
Not sure if that's normal, but it never seems to be able to upgrade the Docker Compose V2 component?  Is there a manual way to force this?
Thank you! :)

Hi @ViktorJp -

Ubuntu VM running on Windows Sever

I'm not familiar with this. I assume this is not WSL but an actual Ubuntu Linux VM running on your server?  I'm not a Windows expert but if this is just a LInux VM, it should operate like any other other install. The permission issues have been reported with bespoke installs on systems that are using non-standard Linux shells (e.g. NAS, unraid, appliances etc.).  Run this to see if verify can detect the permission issue (post the results):
./verify.sh

On the upgrade issue you are getting, it is not failing because of Docker Compose V2, that is just a notice it is giving you that you are OK to proceed. The failure seems to happen right after trying to reset the timezone for the upgrade (see the tz.sh file). That likely indicates some other odd permission issue has occured. Look at the local directory files and post what you see to ensure your user admin has access to change or execute the right files:
ls -la

had previously run into many issues from the start when it came to permissions

I suspect that whatever has caused that continues to this day. We have seen then when people accidentally run the script as root but the script now checks for that and will notify you. I would expect that all the files in your dashboard folder would be owned by your non-root "admin" user.

Thank you Jason... Yeah, I'm very familiar with Windows, but Linux can still be a "learning opportunity" for me. ;)  So you pointed me down a rabbit-hole I had not tried yet.  This "ls -la" command resulted in showing me a mixed bag of files owned by root and my "admin" account. I did a chown across the board to my "admin" account, and retried the ./upgrade.sh script, and it ran successfully this time.  It updated a bunch of stuff that it hadn't touched in a while.  Things are looking pretty good now.
So my last question would be, if I needed to nuke and start over... what is the easiest way to do a complete uninstall of this environment?
Here's a pic of my ./verify.sh results...

Thanks again for your assist! :)

So my last question would be, if I needed to nuke and start over... what is the easiest way to do a complete uninstall of this environment?

Are you sure that is needed? The project is mostly just git powered and docker based so if you have the permission set correctly, you should be good going forward unless you are still seeing some lingering issues.
But, since you asked, here is how you would fully remove the project from your system. Please note, the second part will completely remove your Powerwall history data. See https://github.com/jasonacox/Powerwall-Dashboard/tree/49f9b986462c5b1d5c6cad4e6853242697fe4972/backups to back up or transfer the data first.
# First stop and remove the docker containers
./compose-dash.sh down

# WARNING: The next step will completely remove all settings and history!
# If you want to preserve history, make sure you backup you data first

# Completely remove all files and local git clone
cd ..
rm -fr Powerwall-Dashboard

# Re-Install (if wanted)
git clone https://github.com/jasonacox/Powerwall-Dashboard.git
cd Powerwall-Dashboard
./setup.sh

Secondary note, I noticed that you have access to the TEDAPI extended metrics but are not using them:

You can activate that by adding the gateway password to your pypowerwall.env configuration. You can do that by re-running setup.sh and providing that separate password, or you can edit the pypowerwall.env file and restart the stack with ./compose-dash.sh up - d - update or add:
PW_HOST=<IP_ADDRESS>
PW_GW_PWD=XXXXXXXXX

Are you sure that is needed? The project is mostly just git powered and docker based so if you have the permission set correctly, you should be good going forward unless you are still seeing some lingering issues.

Ya never know!  At least this is easier than having to rebuild a copy of Linux to start fresh.  Thanks much for the info.  Yeah, I don't think I'm going to need it right now since things seem to be working pretty good after putting me back on the right path today, but it's good to have this in my back pocket. ;)

Secondary note, I noticed that you have access to the TEDAPI extended metrics but are not using them:

Thanks for the info. I was assuming this was only for PW3 installs. Seems it works great on the PW2 as well. :)
Really appreciate your help with this today, Jason!!


metrizable + realcompact => non-measurable cardinality

Hi I'd like to replace theorem 394 by the stronger
P53 metrizable + P162 realcompact => P164 non-measurable
I don't think it exists in literature, here's the math stackexchange link for the proof
I've also asked for a better reference of this here

I've got a response, K.P. Hart gave a very simple proof of this using Shirota's theorem
See here
I think this answer would be great for a reference. Shirota's theorem can be found in Gillman and Jerison

This one is also still open as of today, and looks like everything is set up to add it. I would do it but it's pretty far from the objects I normally study so I probably wouldn't do a good job.
π-Base, Search for metrizable + realcompact + ~Non-measurable cardinality


DOC: updated installation instruction

@twiecki  As agreed here the preferred way to install Alphalens is now from pypi instead of gitub

LGTM, thanks!


Add "Found" to test. Tests now pass on io.js 3.0.0 and node.js 4.0.0

In io.js version 3.0.0 the text of HTTP response code 302 was changed from "Moved Temporarily" to "Found" to bring it in line with the specification. See [1]. In order to support older Node versions (0.10, 0.12), older io.js versions (1.0.0, 2.0.0), and future versions (io.js 3.0.0 and Node 4.0.0). I changed the test to look for either message. Now the tests are passing on all versions of Node that I mentioned.
Note: this PR addresses the stacktrace part of issue #773 (Node 4 support), but does not resolve that issue. I'm still wondering what the policy is for superagent supporting current versions on Node including the LTS release.
[1] https://github.com/nodejs/node/wiki/Breaking-Changes

Oh, I think this is well handled!

LGTM. Fixes the only failing test in master on node v4. Test-only fix so no release needed. Recommend merge.

@olalonde @pornel this is an easy candidate to merge. Can you review and +/-1 please?

LGTM :+1:

Yes it would be good to get io v3 and node v4 in travis. I'll file and issue and assign to you :-)


Ability to change icon after the FabMenu is opened,

I'm sorry if it exists already but I couldn't find it, can you please add the ability to change Icon from that calendar thingy to user-defined icon?
btw thanks for this awesome package!

Thanks for the appreciation. Keep suggesting awesome features to add 🚀 .
This is fixed in https://github.com/arnold-parge/hawk_fab_menu/issues/3.
Hence closing.


Hul Homepage Clone complete

I have added hulu homepage clone in gssoc 22. Issue no.205

HULU HOMEPAGE COMPLETE Issue #388
Preview:

This is copied. Don't try to fool us. https://github.com/bradtraversy/hulu-webpage-clone/blob/main/js/main.js


TypeError: Cannot read property 'asPath' of null

This is only happening server side, and only logged when DEBUG is set. It should still be fixed.


[Extension] RJSF and Pattern Service Form extension

Description
This PR adds the following:

PatternServiceFormCore component which decouples the SettingsForm and TraitsForm from their UI representation while keeping the logic coupled. This design lets the importer amend the design of the components without interfering with the logic at the core.
RJSF extension - RJSF form can now take in two new props, one to customize the wrapper and another to customize the body of the form, this allows full customization of the form.

Notes for Reviewers
@Abhishek-kumar09 @nitishm please check if this PR breaks something in MeshMap (@nitishm) or something in Pattern Configurator (@Abhishek-kumar09). I have done tests from my side, but I might have missed some cases.
Signed commits

[x] Yes, I signed my commits.

We're in need of a new docs page - https://docs.meshery.io/extensibility. It's ok, if its rough to start with, but let's start one.

🚀 Preview for commit 47fddf8f312d1a7b83a64c4b8584bfef5dbbc2c1 at: https://618da38cfb5fd8aae06ad7e7--meshery-docs-preview.netlify.app

Codecov Report

Merging #4603 (47fddf8) into master (8ffdadb) will decrease coverage by 0.11%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4603      +/-   ##
==========================================
- Coverage   33.16%   33.05%   -0.12%
==========================================
  Files          60       60
  Lines        5044     5086      +42
==========================================
+ Hits         1673     1681       +8
- Misses       2935     2964      +29
- Partials      436      441       +5

Flag
Coverage Δ

e2etests
∅ <ø> (?)

gointegrationtests
9.63% <ø> (-0.09%)
:arrow_down:

integrationtests
∅ <ø> (?)

unittests
25.93% <ø> (-0.06%)
:arrow_down:

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

Impacted Files
Coverage Δ

mesheryctl/internal/cli/root/perf/error.go
62.50% <0.00%> (-6.95%)
:arrow_down:

mesheryctl/internal/cli/root/perf/apply.go
50.24% <0.00%> (-6.73%)
: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 a724cfb...47fddf8. Read the comment docs.

Works fine with the current UI, Couldn't check changes on the New Pattern-Configurator UI due to loads of merge conflicts. Probably it will need some rewrite after the PR merges.

Works like a charm 🌟


Segment/MixPanel Integration

Also - you need to put it in a try-except loop because people may want to use our functions offline in some instances (For example - the upcoming clusterreport class will be completely offline)

I dont understand what is meant by this?


guide/rpi: command for installing nginx stream module

What
Add the command to install the nginx stream module incase of ``unknown directive "stream"`.
Why
I was making my way step-by-step through the guide but ran into the unknown directive "stream" in /etc/nginx/nginx.conf:10 error when trying to validate the nginx config. It's not immediately clear what the
issue is for peeps unfamiliar with nginx modules.
How
How was this change accomplished?
Scope
simple helper incase of nginx config issues.

This PR should be reverted, sudo apt install libnginx-mod-stream is redundant, libnginx-mod-stream package is installed by default when you install ngnix using the sudo apt install nginx command
Tested 2 days ago from zero using Raspberry Pi OS arm64 (bullseye)

Could this (which nginx modules are installed by default) differ from Debian version to version?
In any case, this starts with:

If you run into the unknown directive "stream" error

Ok, I think we shouldn't add to the guide additional commands that not explicit affect to a current RaspiBolt environment
All changes should be tested in a RaspiBolt environment (preferably with a freshly installed operating system) (and currently Raspberry Pi OS 64 bits bullseye) before merge to avoid future issues and bad UX

@twofaktor  - I followed the guide step by step exactly before running into this error.

@twofaktor - I followed the guide step by step exactly before running into this error.

You didn't use the current Raspberry Pi OS (bulleye) - Debian 11 based, used on RaspiBolt still (not the latest Bookworm)


Repo sync for protected CLA branch

The pull request is created from master637436552016125824 to master to fix git push error for protected CLA branch

@opbld15 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Easy Stacks one-pager

Description of your changes
Introducing the concept of easy stacks which allow a stack to be built with a set of default managed resources and resource classes and then deployed to the cluster easily in order to provide a ready-to-use environment to the user easily.
The one-pager lays down the general principles to adhere when developing such stacks. #1096 tracks what the sets of YAMLs will be in the initial implementations of easy stacks. Depending on timeline, a generic controller will be implemented following the implementation of the initial stacks.
Fixes https://github.com/crossplaneio/crossplane/issues/1095

How has this code been tested?

Manual tests around whether the statements would actually make sense when implemented.
Checklist

I have:

[ ] Run make reviewable to ensure this PR is ready for review.
[ ] Ensured this PR contains a neat, self documenting set of commits.
[ ] Updated any relevant documentation and examples.
[ ] Reported all new error conditions into the log or as an event, as
appropriate.

For more about what we believe makes a pull request complete, see our
definition of done.

@negz https://github.com/muvaf/configuration-stacks/pull/1 is the initial implementation of the generic reconciler and https://github.com/muvaf/minimal-gcp/pull/1 is the first integration. It's unpolished, but I'd love your general feedback about the direction in generic reconciler.
@prasek I have added your comments as TODOs in the implementation PRs. I'll update the one-pager as soon as I can.
@suskin @prasek @negz I guess I agree with @suskin on the name Resource Packs. What do you guys think? Note that this will be visible to users both in the implementation as well as documentation.

I have changed the name to resource packs. The PR https://github.com/muvaf/minimal-gcp/pull/2 is our first resource pack for minimal GCP. It has region and reference to cred secret as spec. Tested and it works as expected.
I think the major new thing is how we bind a field from the CR to the child resources that affects the developer experience. Other than that I will put comments in the code and write tests for the generic reconciler.
@prasek @negz @suskin IMO, both generic reconciler and minimal GCP looks like complete feature-wise for an initial implementation. Please let me know if you have suggestions that affect the user experience directly, otherwise I'd like to deliver that implementation as initial step and iterate as we go on.

@negz I have updated this one-pager with the latest thinking. I think we're ready to merge this. The implementations are completed feature-wise, so I'd appreciate your review on:

https://github.com/muvaf/crossplane-resourcepacks/pull/1 Generic reconciler
https://github.com/muvaf/minimal-gcp/pull/2 Minimal GCP stack

After the merge I think we'll need to move the repositories to crossplaneio org.
As we synced with @suskin and @prasek, at some point, we're going to provide easy stacks via template stacks when that work lands. I added the code generation approach under the future considerations because it seems we'll not go in that direction. Though IMO, it'd have been really cool to have the resources folder and a YAML with descriptions about CRD and patchers and then just do crossplane stack build . -t minimal-gcp && crossplane push minimal-gcp with no Go code seen by the user.


Programming for ArcGIS 10.1 with Python Cookbook data files

I am in the process of uploading these data files to dropbox. I will update this issue and put the link on the syllabus as soon as this is done. You can also download on your own from here if you wish:
Programming ArcGIS 10.1 with Python Cookbook Support Files
But doing so will register your email address with PacktPub, so you may wish to wait of the dropbox upload.

hi! marigold are you there


The code on GitHub is newer than what is avalible to Google Play and F-Droid

The code on GitHub seems to have been updated in December 2017 but the builds on Google Play and F-Droid are a year old. Why is this?  Will these ever be updated?

See #179 :)

Oops sorry, didn't see that. Feel free to close this issue then


Fix CI badge

the image should be more like:

and also, it should point to the CI: https://github.com/spine-generic/data-multi-subject/actions?query=workflow%3A"Python+application"

Actually, would it be possible to call it: "BIDS Validator", as suggested in https://github.com/spine-generic/data-single-subject/pull/16/files#r534423818


Node is not syncing, 0 peers

It's been a few months i didn't use my raspiblitz node, it used to work fine.
I have on my raspiblitz and putty screen :

It's started the sync this morning, but i still have 0 peers
And it didn't ask me my Password C
My raspiblitz version is 1.7.1

I have reboot it (with sudo reboot) and now it magically works


[ROCm] Fix build problem resulted from previous commit related to FP8 kv-cache support

Fixes: https://github.com/vllm-project/vllm/issues/2725
Current head failed to build on ROCm, and I got errors like:
g++ -pthread -B /opt/conda/envs/py_3.8/compiler_compat -Wl,--sysroot=/ -pthread -shared -B /opt/conda/envs/py_3.8/compiler_compat -L/opt/conda/envs/py_3.8/lib -Wl,-rpath=/opt/conda/envs/py_3.8/lib -WlEN,--no-as-needed -Wl,--sysroot=/ /app/vllm/build/temp.linux-x86_64-cpython-38/csrc/activation_kernels.o /app/vllm/build/temp.linux-x86_64-cpython-38/csrc/attention/attention_kernels.o /app/vllm/build/temp.linux-x86_64-cpython-38/csrc/cache_kernels.o /app/vllm/build/temp.linux-x86_64-cpython-38/csrc/hip_utils_kernels.o /app/vllm/build/temp.linux-x86_64-cpython-38/csrc/layernorm_kernels.o /app/vllm/build/temp.linux-x86_64-cpython-38/csrc/moe_align_block_size_kernels.o /app/vllm/build/temp.linux-x86_64-cpython-38/csrc/pos_encoding_kernels.o /app/vllm/build/temp.linux-x86_64-cpython-38/csrc/pybind.o /app/vllm/build/temp.linux-x86_64-cpython-38/csrc/quantization/gptq/q_gemm.o /app/vllm/build/temp.linux-x86_64-cpython-38/csrc/quantization/squeezellm/quant_hip_kernel.o -L/opt/conda/envs/py_3.8/lib/python3.8/site-packages/torch/lib -L/opt/rocm/lib -L/opt/rocm/hip/lib -lc10 -ltorch -ltorch_cpu -ltorch_python -lamdhip64 -lc10_hip -ltorch_hip -o build/lib.linux-x86_64-cpython-38/vllm/_C.cpython-38-x86_64-linux-gnu.so
/opt/conda/envs/py_3.8/compiler_compat/ld: /app/vllm/build/temp.linux-x86_64-cpython-38/csrc/cache_kernels.o: in function `__float2bfloat16(float)':
cache_kernels.hip:(.text+0x0): multiple definition of `__float2bfloat16(float)'; /app/vllm/build/temp.linux-x86_64-cpython-38/csrc/attention/attention_kernels.o:attention_kernels.hip:(.text+0x0): first defined here
/opt/conda/envs/py_3.8/compiler_compat/ld: /app/vllm/build/temp.linux-x86_64-cpython-38/csrc/cache_kernels.o: in function `__bfloat1622float2(__hip_bfloat162)':
cache_kernels.hip:(.text+0x40): multiple definition of `__bfloat1622float2(__hip_bfloat162)'; /app/vllm/build/temp.linux-x86_64-cpython-38/csrc/attention/attention_kernels.o:attention_kernels.hip:(.text+0x40): first defined here
/opt/conda/envs/py_3.8/compiler_compat/ld: /app/vllm/build/temp.linux-x86_64-cpython-38/csrc/cache_kernels.o: in function `__double2bfloat16(double)':
cache_kernels.hip:(.text+0x60): multiple definition of `__double2bfloat16(double)'; /app/vllm/build/temp.linux-x86_64-cpython-38/csrc/attention/attention_kernels.o:attention_kernels.hip:(.text+0x60): first defined here
/opt/conda/envs/py_3.8/compiler_compat/ld: /app/vllm/build/temp.linux-x86_64-cpython-38/csrc/cache_kernels.o: in function `__float22bfloat162_rn(HIP_vector_type<float, 2u>)':
cache_kernels.hip:(.text+0xa0): multiple definition of `__float22bfloat162_rn(HIP_vector_type<float, 2u>)'; /app/vllm/build/temp.linux-x86_64-cpython-38/csrc/attention/attention_kernels.o:attention_kernels.hip:(.text+0xa0): first defined here
/opt/conda/envs/py_3.8/compiler_compat/ld: /app/vllm/build/temp.linux-x86_64-cpython-

We need a patch to fix the compilation issue before the next ROCm release is available.
This pull request fixed the build issue for ROCm 6.0 build.

I am using ROCm 5.7 and before this PR, v0.3.0 of vLLM could not be built. Applying this patch fixes it for me! Just thought it was worth mentioning that this issue was not limited to ROCm 6.0

I am using ROCm 5.7 and before this PR, v0.3.0 of vLLM could not be built. Applying this patch fixes it for me! Just thought it was worth mentioning that this issue was not limited to ROCm 6.0

Thanks for your comment. I will update to apply the patch regardless the version.

Thank you @hongxiayang


Set text to editor

Hello, I have successfully saved the text results to the database, but how do I set the text to the editor again?

the string which you have saved in database will be html format . Then retrieve the data and insert it WYSIWYG by setCode function.

@aqitmalinzda can you please help me out how did you managed to save the text to database?

Hello, I have successfully saved the text results to the database, but how do I set the text to the editor again?
can you please help me out how did you managed to save the text to database?

Hey @onecode369, I am unable to set a string in editor using setCode function, can you help me out with it please?

Do you have an example of how this setCode Function would work? Because from what I can see it doesn't take a parameter.

For anyone else who has this error I finally found it:
wysiwygEditor.html =


Vibrate/Alert on Connect annoying when signal comes and goes

An observation from immersing myself in Gibberbot for several days. My antenna on my phone isn't that great, and my phone often loses and regains connection.  GB successfully reconnects all the time - but everytime it does, my phone vibrates and I get a status notification.  (If I had it off silent, it would probably make noise.)  This is exceedingly annoying because everytime it happens I have to pull out my phone and see if it was a reconnect or a message received.
I know the opposite of 'Good User Interface' is 'More Options!' but it'd be really cool if I could get rid of notifications upon connection - either as an option or as a default.

Totally agree with you on this one, Tom. Thanks for posting the feedback!


can we target production instead of test-ecl

https://test-ecl.earthchem.org is behind a firewall
Peng has okayed creating records on production ECL for a particular ORCID account (he is going to automate clearing records for this one account).
Can we target https://ecl.earthchem.org instead of https://test-ecl.earthchem.org and staging in our default .env so that local builds (for my purposes via GH workflow) will be able to verify submission?
If no, I will disable these tests when run via GH workflow

@devincowan Is it OK that dsp-test continues targeting HS beta and Zenodo sandbox?

I'm ok with this as long as the client-id and client-secret aren't the same as the production config.  It will still generate noise in production ecl and anyone running a local build would be pointing to production ecl.  If Peng wants to go this direction, it is fine, but there is going to be more garbage generated than just your user.  You could trace the test submission by client id if he wanted to clean it up.
From my perspective, either updating the firewall or if we can't modify the firewall, disabling the tests.  I don't like the idea of pointing to production repositories in our default config.

@cbcunc yes, I was thinking just ECL. But...
@sblack-usu okay, I'm fine with detecting when tests are run via GH and disabling ECL repo checks in that case

I rather we do not target production on any development setup. Firewall modification would be my suggestion as well.

There's a problem modifying test-ecl firewall for GH, as I understand it. No guaranteed IP range is there?

Plus, I misread to start with. We are talking about local builds and not dsp-test, correct? So you would be running GH workflows on local builds? All local builds? What about dsp-test?

The github action is spinning up the local development configuration and testing against that.

Ah, "local build" in a GH action. Goodness. So what you really need is an .env for GH actions and leave the default .env checked into dspback alone? Because we really don't want to be checking any real credentials into a GH repo, save for possibly the local development (not a .env for a GH action) that's already there. My understanding is you have this in a GH secret not anyway, correct?

yep right now users/passwords to run the QA tests are stored in GH Secrets
but Scott is right, the workflow just builds off of the default dspback .env
I'm fine with just disabling the ECL tests that actually navigate to the repo and ensure the submission made it. There are only 2 of them at this point (though I had planned to build that coverage)

We have been checking in credentials for the testing environments of the repositories.  That makes it easy for a local build to get running.  Otherwise developers would have to manage their own credentials or we would have to figure out another way to share the default testing credentials.

@devincowan Check this out: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-githubs-ip-addresses. It has a warning that the ranges are subject to change and to "regularly" check the meta API endpoint for changes.

Yep, @cbcunc I saw that yesterday. Main reason I created this issue! Thanks...

@sblack-usu Right. I don't have any problem with test credentials for local environments as that's water under the bridge. But we are now talking about GH actions build and checking in production system creds. My question is, can't the GH workflow use GH secrets to get the .env it needs and leave the .env for local (not GH actions builds) alone?

I can get the production ECL creds into the workflow with GH Secrets and sed them into the .env file before building dspback

Perfect. I would keep the tests and fix your workflow to run them as you need.

thanks for the help all

I base64 encoded an .env file with production ECL parameters (and sandbox for all others) as suggested here and added that to GH Secrets. Then base64 decode in the workflow to get a usable .env. Works great!
EXCEPT:
I hadn't thought about the fact that if I build dspback targeting prod ECL from within a GH workflow, we have to request whitelist to production ECL api to accept that connect... which seems like it is going to be every bit as intractable as trying to whitelist GH ip ranges on ecl-test

I hadn't thought about the fact that if I build dspback targeting prod ECL from within a GH workflow, we have to request whitelist to production ECL api to accept that connect... which seems like it is going to be every bit as intractable as trying to whitelist GH ip ranges on ecl-test

I thought that was only a non-production thing for ECL but I could be wrong.  Is Peng on Github?  I'll send him this issue and ask for his github id.

Thanks @sblack-usu I guess I assumed it was also true for production but I can test and see if that's the case.
Don't think Peng is on GH? Not sure

There is no firewall behind both ECL Staging and Production APIs. You don't need to request whitelist for APIs(staging and production). The firewall is set for ECL Staging application(test-ecl.earthchem.org) hosted in Lamont. Hope this answers your question.

Scott and I discussed and decided these kind of tests that basically scrape the submission repo to ensure that nothing was lost in translation between dsp and the repro are beyond the scope of our DSP testing. So I'm going to disable these tests when run against a local build (including via GH workflow). Thanks all!


Clangd cannot intellisense concepts correctly

Clangd cannot intellisense concepts even if I set "std=c++20" in  the compile_commands.json
For example,
#include <concepts>
template <typename T>
concept A = std::same_as<T, int>;

and the .vscode/compile_commands.json
[
{
 "directory": "C:\\Users\\Administrator.SKY-20190521TXE\\source\\repos",
 "arguments": ["clang.exe", "-c", "-Qunused-arguments", "-std=c++20"],
 "file": "Test.cpp"
}
]

and the clangd arguments
"clangd.arguments": [
  "--background-index",
  "--compile-commands-dir=.vscode",
  "-j=8",
  "--query-driver=clang",
  "--clang-tidy",
  "--completion-style=detailed",
  "--pch-storage=memory",
  "--inlay-hints",
  "--header-insertion=never",
  "--function-arg-placeholders"
]

clangd will not autocomplete the c++ key word "concept" and list the concepts in .
Of cause,clang++ can compile the file correctly.
And after I finished the code segment manually,clangd did not report any errors, color the words correctly except concepts.
Logs
Well,clangd is running normally.There is no error in the output windows.
System information
clangd version:14.0.0 (https://github.com/llvm/llvm-project 329fda39c507e8740978d10458451dcdb21563be)
Editor:vscode-insiders
LSP plugs:clangd0.1.15
Operating system:Windows

Could you elaborate on the bolded part please:

clangd will not autocomplete the c++ key word "concept" and list the concepts in .

Other than auto-completion for the concept keyword itself, is there another place where completion is not working as expected? Please be specific about where the cursor is when you invoke completion, and what completion proposals you're expecting.

Keyword completion is tracked in #89.

Other than auto-completion for the concept keyword itself, is there another place where completion is not working as expected? Please be specific about where the cursor is when you invoke completion, and what completion proposals you're expecting.

As you see,clangd cannot find the existed concepts in the files.And if I finished the sentence manually

clangd do not color it,since the concept will be recognized as a type template and colored green by the plug Microsoft C/C++.

clangd do not color it

clangd does give concept names a semantic token, but it uses a dedicated concept semantic token type rather than typeParameter. This token type is non-standard and therefore not included in most themes, but you can define a color for it by adding the following to your vscode settings:
  "editor.semanticTokenColorCustomizations": {
    "enabled": true,
    "rules": {
      "concept": {
        "foreground": "#AABBCC",
      },
    }
  }

I have prepared a change to fix completion and find references: https://reviews.llvm.org/D124441
A list of things that we still need to look at:

rename and semantic highlighting for concepts (i.e. the code for findExplicitReferences )
go-to and find references for concepts at declaration specifier position Concept auto i = .... This probably involves changing the AST or RecursiveASTVisitor to expose concept as a separate node.
code completion should not add template argument list in some cases. In particular, non-expression positions, e.g. template<std::is_integral T> and std::is_integral auto i = ...
hover


Add custom tests instructions for specific packages.

I was going through the packages individually for the opentelemetry-js repo. Compiled and ran test. Some packages:
Opentelemetry-context-zone have custom test scripts i.e. "test:browser": "karma start --single-run",.
Do we need to add this information about running custom test script for beginners in README.md?
Likewise, for following repositories:
opentelemetry-context-zone-peer-dep
opentelemetry-sdk-trace-web
@pichlermarc

@Annosha I think this can be helpful. If needed it should only go into the top-level CONTRIBUTING.md though.
It may be good to add the info that this test script exists if the package is also expected to run in the browser. It only runs browser-specific tests and tests that are shared between browser and Node.js


[sigmatch] add new port

[x] Changes comply with the maintainer guide
[x] The name of the port matches an existing name for this component on https://repology.org/ if possible, and/or is strongly associated with that component on search engines.
[x] Optional dependencies are resolved in exactly one way. For example, if the component is built with CMake, all find_package calls are REQUIRED, are satisfied by vcpkg.json's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxx
[x] The versioning scheme in vcpkg.json matches what upstream says.
[x] The license declaration in vcpkg.json matches what upstream says.
[x] The installed as the "copyright" file matches what upstream says.
[x] The source code of the component installed comes from an authoritative source.
[x] The generated "usage text" is accurate. See adding-usage for context.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is in the new port's versions file.
[x] Only one version is added to each modified port's versions file.

@SpriteOvO, Thanks for your PR, this is error log.
Please take a look:
Change Dir: '/mnt/vcpkg-ci/buildtrees/sigmatch/x64-linux-dbg'

Run Build Command(s): /mnt/vcpkg-ci/downloads/tools/ninja-1.10.2-linux/ninja -v -v -j33 install
[1/7] /usr/bin/c++  -I/mnt/vcpkg-ci/buildtrees/sigmatch/src/v0.2.0-bf43ea0aed.clean/include -fPIC -g -std=gnu++20 -MD -MT examples/CMakeFiles/03.custom_target.dir/03.custom_target.cpp.o -MF examples/CMakeFiles/03.custom_target.dir/03.custom_target.cpp.o.d -o examples/CMakeFiles/03.custom_target.dir/03.custom_target.cpp.o -c /mnt/vcpkg-ci/buildtrees/sigmatch/src/v0.2.0-bf43ea0aed.clean/examples/03.custom_target.cpp
FAILED: examples/CMakeFiles/03.custom_target.dir/03.custom_target.cpp.o
/usr/bin/c++  -I/mnt/vcpkg-ci/buildtrees/sigmatch/src/v0.2.0-bf43ea0aed.clean/include -fPIC -g -std=gnu++20 -MD -MT examples/CMakeFiles/03.custom_target.dir/03.custom_target.cpp.o -MF examples/CMakeFiles/03.custom_target.dir/03.custom_target.cpp.o.d -o examples/CMakeFiles/03.custom_target.dir/03.custom_target.cpp.o -c /mnt/vcpkg-ci/buildtrees/sigmatch/src/v0.2.0-bf43ea0aed.clean/examples/03.custom_target.cpp
In file included from /mnt/vcpkg-ci/buildtrees/sigmatch/src/v0.2.0-bf43ea0aed.clean/examples/03.custom_target.cpp:20:
/mnt/vcpkg-ci/buildtrees/sigmatch/src/v0.2.0-bf43ea0aed.clean/include/sigmatch/sigmatch.hpp:82:10: fatal error: format: No such file or directory
   82 | #include <format>
      |          ^~~~~~~~
compilation terminated.
[2/7] /usr/bin/c++  -I/mnt/vcpkg-ci/buildtrees/sigmatch/src/v0.2.0-bf43ea0aed.clean/include -fPIC -g -std=gnu++20 -MD -MT examples/CMakeFiles/02.custom_reader.dir/02.custom_reader.cpp.o -MF examples/CMakeFiles/02.custom_reader.dir/02.custom_reader.cpp.o.d -o examples/CMakeFiles/02.custom_reader.dir/02.custom_reader.cpp.o -c /mnt/vcpkg-ci/buildtrees/sigmatch/src/v0.2.0-bf43ea0aed.clean/examples/02.custom_reader.cpp
FAILED: examples/CMakeFiles/02.custom_reader.dir/02.custom_reader.cpp.o
/usr/bin/c++  -I/mnt/vcpkg-ci/buildtrees/sigmatch/src/v0.2.0-bf43ea0aed.clean/include -fPIC -g -std=gnu++20 -MD -MT examples/CMakeFiles/02.custom_reader.dir/02.custom_reader.cpp.o -MF examples/CMakeFiles/02.custom_reader.dir/02.custom_reader.cpp.o.d -o examples/CMakeFiles/02.custom_reader.dir/02.custom_reader.cpp.o -c /mnt/vcpkg-ci/buildtrees/sigmatch/src/v0.2.0-bf43ea0aed.clean/examples/02.custom_reader.cpp
In file included from /mnt/vcpkg-ci/buildtrees/sigmatch/src/v0.2.0-bf43ea0aed.clean/examples/02.custom_reader.cpp:19:
/mnt/vcpkg-ci/buildtrees/sigmatch/src/v0.2.0-bf43ea0aed.clean/include/sigmatch/sigmatch.hpp:82:10: fatal error: format: No such file or directory
   82 | #include <format>
      |          ^~~~~~~~
compilation terminated.
[3/7] /usr/bin/c++  -I/mnt/vcpkg-ci/buildtrees/sigmatch/src/v0.2.0-bf43ea0aed.clean/include -fPIC -g -std=gnu++20 -MD -MT examples/CMakeFiles/01.hello_sigmatch.dir/01.hello_sigmatch.cpp.o -MF examples/CMakeFiles/01.hello_sigmatch.dir/01.hello_sigmatch.cpp.o.d -o examples/CMakeFiles/01.hello_sigmatch.dir/01.hello_sigmatch.cpp.o -c /mnt/vcpkg-ci/buildtrees/sigmatch/src/v0.2.0-bf43ea0aed.clean/examples/01.hello_sigmatch.cpp
FAILED: examples/CMakeFiles/01.hello_sigmatch.dir/01.hello_sigmatch.cpp.o
/usr/bin/c++  -I/mnt/vcpkg-ci/buildtrees/sigmatch/src/v0.2.0-bf43ea0aed.clean/include -fPIC -g -std=gnu++20 -MD -MT examples/CMakeFiles/01.hello_sigmatch.dir/01.hello_sigmatch.cpp.o -MF examples/CMakeFiles/01.hello_sigmatch.dir/01.hello_sigmatch.cpp.o.d -o examples/CMakeFiles/01.hello_sigmatch.dir/01.hello_sigmatch.cpp.o -c /mnt/vcpkg-ci/buildtrees/sigmatch/src/v0.2.0-bf43ea0aed.clean/examples/01.hello_sigmatch.cpp
In file included from /mnt/vcpkg-ci/buildtrees/sigmatch/src/v0.2.0-bf43ea0aed.clean/examples/01.hello_sigmatch.cpp:23:
/mnt/vcpkg-ci/buildtrees/sigmatch/src/v0.2.0-bf43ea0aed.clean/include/sigmatch/sigmatch.hpp:82:10: fatal error: format: No such file or directory
   82 | #include <format>
      |          ^~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.

@microsoft-github-policy-service agree

This PR is ready to merge now.

Tested usage successfully by sigmatch:x64-windows:
sigmatch provides CMake targets:

    # this is heuristically generated, and may not be correct
    find_package(sigmatch CONFIG REQUIRED)
    target_link_libraries(main PRIVATE sigmatch::sigmatch)

Thanks for the new port!
@JonLiu1993 Thanks for testing!


exclude .class file inside jar file

How can we exclude a .class file from the jar file.
The need of jar file is there but only the class should be excluded from it.
Windows 10
proguard version: 5.2.1
Java: 8

How is this related to this maven-plugin? just set some filter while compiling your jar-file?!

Do you want to exclude classes from being obfuscated?

Yes, I do
On Tue, Apr 24, 2018, 1:58 PM Yannick Lamprecht<EMAIL_ADDRESS>wrote:

Do you want to exclude classes from being obfuscated?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/wvengen/proguard-maven-plugin/issues/69#issuecomment-383848396,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aeky-Xx9bnzzkIZjjRJ8R20AOqmibWG2ks5truIwgaJpZM4TBU7q
.

Here is an example of a pom.xml that is defining some options.
https://github.com/NickAcPT/Lithium-Spigot/blob/master/pom.xml

Closing as the linked example and the Proguard manual keep section (https://www.guardsquare.com/en/products/proguard/manual/usage#keepoptions) are enough to solve this and no actions here are necessary.