[IOTDB-2139] Move example udfs to src/java package to pass cluster IT

See JIRA: https://issues.apache.org/jira/browse/IOTDB-2139
As in cluster test, the test and server are separated in different processes, UDF registeration must be done under UDF class pre-complied. So moving those claasses to src/java package can be involved to integration.jar by executing mvn verify.

@SteveYurongSu PTAL~


I am developing an OpenHarmony application with JavaScript language which used your library, will your library support OpenHarmony platform by JavaScript language? if so, I want to contribute to the OpenHarmony build of this library. Expecte foe your reply!

No, I don't plan to support that. Meanwhile, people should move to material-components-android now.


  5) Node Security Platform
       Format '/nsp/npm/:package/:version.:format' where it doesn't exist

	[ GET /npm/some-no-exist/1.0.0.json ]:

      AssertionError: expected { name: 'nsp', value: 'invalid' } to deeply equal { Object (name, value) }
      + expected - actual

       {
         "name": "nsp"
      -  "value": "invalid"
      +  "value": "no known vulnerabilities"
       }

      at Object.pathMatch.matchJSON (node_modules/icedfrisby/lib/pathMatch.js:138:38)
      at _expect (node_modules/icedfrisby/lib/icedfrisby.js:583:10)
      at IcedFrisbyNock._invokeExpects (node_modules/icedfrisby/lib/icedfrisby.js:1261:26)
      at start (node_modules/icedfrisby/lib/icedfrisby.js:1244:12)
      at Request.runCallback [as _callback] (node_modules/icedfrisby/lib/icedfrisby.js:1131:16)
      at Request.self.callback (node_modules/request/request.js:185:22)
      at Request.<anonymous> (node_modules/request/request.js:1161:10)
      at IncomingMessage.<anonymous> (node_modules/request/request.js:1083:12)
      at endReadableNT (_stream_readable.js:1064:12)
      at _combinedTickCallback (internal/process/next_tick.js:139:11)
      at process._tickDomainCallback (internal/process/next_tick.js:219:9)

  6) Node Security Platform
       Format '/nsp/npm/:package/:version.:format' without vulnerabilities

	[ GET /npm/bronze/1.4.0.json ]:

      AssertionError: expected { name: 'nsp', value: 'invalid' } to deeply equal { Object (name, value) }
      + expected - actual

       {
         "name": "nsp"
      -  "value": "invalid"
      +  "value": "no known vulnerabilities"
       }

      at Object.pathMatch.matchJSON (node_modules/icedfrisby/lib/pathMatch.js:138:38)
      at _expect (node_modules/icedfrisby/lib/icedfrisby.js:583:10)
      at IcedFrisbyNock._invokeExpects (node_modules/icedfrisby/lib/icedfrisby.js:1261:26)
      at start (node_modules/icedfrisby/lib/icedfrisby.js:1244:12)
      at Request.runCallback [as _callback] (node_modules/icedfrisby/lib/icedfrisby.js:1131:16)
      at Request.self.callback (node_modules/request/request.js:185:22)
      at Request.<anonymous> (node_modules/request/request.js:1161:10)
      at IncomingMessage.<anonymous> (node_modules/request/request.js:1083:12)
      at endReadableNT (_stream_readable.js:1064:12)
      at _combinedTickCallback (internal/process/next_tick.js:139:11)
      at process._tickDomainCallback (internal/process/next_tick.js:219:9)

  7) Node Security Platform
       Format '/nsp/npm/@:scope/:package/:version.:format' where it doesn't exist

	[ GET<EMAIL_ADDRESS>]:

      AssertionError: expected { name: 'nsp', value: 'invalid' } to deeply equal { Object (name, value) }
      + expected - actual

       {
         "name": "nsp"
      -  "value": "invalid"
      +  "value": "no known vulnerabilities"
       }

      at Object.pathMatch.matchJSON (node_modules/icedfrisby/lib/pathMatch.js:138:38)
      at _expect (node_modules/icedfrisby/lib/icedfrisby.js:583:10)
      at IcedFrisbyNock._invokeExpects (node_modules/icedfrisby/lib/icedfrisby.js:1261:26)
      at start (node_modules/icedfrisby/lib/icedfrisby.js:1244:12)
      at Request.runCallback [as _callback] (node_modules/icedfrisby/lib/icedfrisby.js:1131:16)
      at Request.self.callback (node_modules/request/request.js:185:22)
      at Request.<anonymous> (node_modules/request/request.js:1161:10)
      at IncomingMessage.<anonymous> (node_modules/request/request.js:1083:12)
      at endReadableNT (_stream_readable.js:1064:12)
      at _combinedTickCallback (internal/process/next_tick.js:139:11)
      at process._tickDomainCallback (internal/process/next_tick.js:219:9)

  8) Node Security Platform
       Format '/nsp/npm/@:scope/:package/:version.:format' without vulnerabilities

	[ GET<EMAIL_ADDRESS>]:

      AssertionError: expected { name: 'nsp', value: 'invalid' } to deeply equal { Object (name, value) }
      + expected - actual

       {
         "name": "nsp"
      -  "value": "invalid"
      +  "value": "no known vulnerabilities"
       }

      at Object.pathMatch.matchJSON (node_modules/icedfrisby/lib/pathMatch.js:138:38)
      at _expect (node_modules/icedfrisby/lib/icedfrisby.js:583:10)
      at IcedFrisbyNock._invokeExpects (node_modules/icedfrisby/lib/icedfrisby.js:1261:26)
      at start (node_modules/icedfrisby/lib/icedfrisby.js:1244:12)
      at Request.runCallback [as _callback] (node_modules/icedfrisby/lib/icedfrisby.js:1131:16)
      at Request.self.callback (node_modules/request/request.js:185:22)
      at Request.<anonymous> (node_modules/request/request.js:1161:10)
      at IncomingMessage.<anonymous> (node_modules/request/request.js:1083:12)
      at endReadableNT (_stream_readable.js:1064:12)
      at _combinedTickCallback (internal/process/next_tick.js:139:11)
      at process._tickDomainCallback (internal/process/next_tick.js:219:9)

That's funny timing. I was just noticing the nsp service directory in my IDE and wondering if it still worked. The main website @ https://nodesecurity.io appears to have finally been shuttered (redirecting to the npm registry now), and the API endpoint correspondingly seems dead as well https://api.nodesecurity.io/

My assumption is that this badge will need to be deprecated given that the nsp service no longer exists. Is there a standard process for badge deprecation?
Obviously it could be completely removed, but I can see value in a phased removal process as well (first change the badge example docs to indicate deprecation, update the badge to always return something like nsp | deprecated etc.)

Yup! Here's a recent example of how we handle these: #2352.

Perfect thanks. I can take this one


Lights aren't rendered correctly in a ReflectionProbe when using an imported material

Tested versions
v4.3.beta1.official [a4f2ea91a]
System information
Godot v4.3.beta1 - macOS 14.4.1 - Vulkan (Forward+) - integrated Apple M1 Max - Apple M1 Max (10 Threads)
Issue description
Lights in the reflection behave as if the reflected mesh had inverted normals:
https://github.com/godotengine/godot/assets/60579014/53626c27-b339-411f-a8c9-b1d7c4a98271
Interestingly this doesn't happen if I create a new StandardMaterial3D and assign it as an override, but I can't make it work on an imported one even when I unassign every map and revert every property
Steps to reproduce
MRP
Minimal reproduction project (MRP)
https://drive.proton.me/urls/QRRKSP8B3M#PU8C3f5KDiRx

This is because imported materials always use the Disabled cull mode, due to it being the glTF specification's default.
This is also bad for performance, so we should really do something about it: https://github.com/godotengine/godot-proposals/issues/7360

This is likely because imported materials use the Disabled cull mode by default, due to it being the glTF specification's default. If you enable Backface Culling on the material in Blender and export the scene again, the issue should go away assuming the glTF exporter takes this property into account.

Yeah that's what it was
I also just noticed that the probe doesn't take its own ambient light into account when rendering the reflection
https://github.com/godotengine/godot/assets/60579014/130b79d5-fcc8-41d4-98d9-0874d901e17c

I also just noticed that the probe doesn't take its own ambient light into account when rendering the reflection

This is being tracked in https://github.com/godotengine/godot/issues/56635.


[metadata-retrieve] Redo Download with same settings

Is your feature request related to a problem? Please describe.
Lots of times I find myself downloading the same Metadata packets because I'm working on them over and over.
At the moment you have to refresh the page and manually select the checkboxes everytime.
Describe the solution you'd like
I'd like to have a "Download Again" button to restart the process with the same settings.

I'm currently working on a refactoring of this page to provide a detailed view of the metadata and a preview of the generated package.xml
My goal is to store the last selection in localStorage so this request should be implemented on the same time:


change existing user

how can i change the expiration time of a link for an existing user?

@Spp595, hello!
Please clarify what is the "link" of a user?
Provide a screenshot of the feature in 3x-ui panel and it would be nice if you check the source API docs and point out on the exact parameter you need.
Sincerely

I'm talking about expiry_time, I already found how)))

I found the function, but it does not work correctly, when I use api.client.update(client.id, client) it replaces the client value with those that I specified in the client class object, but is it possible to somehow add, change only one value without changing all?

exemple:
    api = Api.from_env()
    api.login()
    client = api.client.get_by_email(email)
    client.id = get_user_uuid(uuid)
    client.expiry_time = int(new_dt.timestamp() * 1000)
    api.client.update(client.id, client)

when I run this code the user's tg_id and flow are deleted

@Spp595, please provide the all required information, which the bot suggested in the first comment.
‼ Especially the payload of the request to the 3x-ui panel API.
Ensure that the payload has the required fields and they have the correct values. If they exist, and have correct values - then please report it as stated above.
Thank you
Sincerely

Closed as stale.


As a user with many contacts, I can sort my contacts by different parameters

I can sort my contacts by different parameters, i.e. name vs phone number sothat I can view my contacts in the most efficient manner

Fixed partially by #171.


Get rid of kwargs on Stock object

Fixed with https://github.com/edelgm6/espp-payoff/commit/8127a72f840159d02d89be4b368600773909c6fa


remember monitor data

When you disconnect the main monitor, your secondary one may become the main one and change it's position. Which makes the window go out of bounds.
I added a position comparison to check if the position is the same as before. I also added a size check which would only be necessary to check if the resolution of the main monitor has changed because the position is always x0y0

For future generations:

https://github.com/tauri-apps/tauri-plugin-window-state/pull/52
https://github.com/SlimeVR/SlimeVR-Server/issues/433
https://discord.com/channels/616186924390023171/1058076647196205156

@ImUrX going to have a look.
Am I right that this is the main reproduction of the issue I should be looking at?
https://github.com/SlimeVR/SlimeVR-Server/issues/433#issue-1513257511
Did you find any other interesting edge cases / problems?

So far I've not reproduced the original issue.
At least on (X)Wayland monitors are named, and adding/removing them is detected by name.
Current = "XWAYLAND6"
Monitor { name: Some("XWAYLAND6"), size: PhysicalSize { width: 2560, height: 1440 }, position: PhysicalPosition { x: 0, y: 0 }, scale_factor: 1.0 }
Monitor { name: Some("XWAYLAND8"), size: PhysicalSize { width: 1280, height: 720 }, position: PhysicalPosition { x: 2560, y: 0 }, scale_factor: 1.0 }

Whenever I try to use something else (like changing resolution) to place the app window out of bounds, it gets correctly placed to a sensible location.
I've yet to try on Xorg though, did you perhaps test on Xorg?

I’ve only reproduced this on windows

Is the issue this PR fixes that if I disconnect a monitor while using the app, the app is off screen instead of being moved to the remaining monitor?

No

What's the scenario this fixes then?

The plugin that I'm fixing is about saving window states, so it's related to when the application is executed. Not while it's running

I'm asking what the reproduction steps are. I have a multi monitor setup which is why I'm asking. I'll let someone else review this then.

I'm sorry I been trying to repair something related to embedded and I'm at the end of my patience.
You need to close the app inside your secondary monitor, then disconnect the main monitor and then open the app again. Without this fix, it will be opened outside of the monitor because the position of your secondary monitor changed.

@amrbashir were you able to reproduce / confirm the fix?

Yes, the problem seems to be that monitor.name will be \\\\.\\DISPLAY1 for the main monitor and will be \\\\.\\DISPLAY2 for the secondary monitor, but after disconnecting the main monitor, the secondary monitor will not still be considered the main monitor and so it will keep the name \\\\.\\DISPLAY2 which will match to our last saved monitor but even the name hasn't changed, the position of the monitor has changed.

So it looked similar on XWayland, though I didn't see the issue as Wayland just seems to detect this off screen placement and move it around for you.
The adding/removing of monitors didn't change the numbers. It's re-initializing them that did increment display numbers. So initially my setup starts as: XWayland1 & XWayland2. But after enough adding and removing eventually got to: https://github.com/tauri-apps/plugins-workspace/pull/48#issuecomment-1373817958
XWayland6 & XWayland8. :laughing:
If this is the same on other OSes, using the name as an identifier / fingerprint may be fundamentally flawed. As the number seems more of an accidental result of the initialization order of displays.

Correct, but unfortunately the current monitor api is limited and doesn't provide a hardware id (not sure if it possible at all).

@amrbashir in that case may be back to the drawing board.
At least for this particular issue I can think of another approach.
(On Windows) we should never place windows outside of the available space.
We can also check what the bounds are just from the current setup, no persistence at all, and verify against that.
But I think there may have been another case which the previous PR addressed?

(On Windows) we should never place windows outside of the available space.

yeah, that's what we are trying to do, we are trying to see if the last saved monitor exists by comparing the name (with this PR, also the position) and use the saved position if it does but if it doesn't, let it for the OS defaults.

We can also check what the bounds are just from the current setup, no persistence at all, and verify against that.

Could you elaborate more on that, not sure I got exactly what you mean? Do you mean only restore the position if there is a monitor bound that could contain it?

Could you elaborate more on that, not sure I got exactly what you mean? Do you mean only restore the position if there is a monitor bound that could contain it?

Yes, the current monitor properties at state restoration time can be checked.
Monitor { ... size: PhysicalSize { width: 2560, height: 1440 }, position: PhysicalPosition { x: 0, y: 0 }, scale_factor: 1.0 }
Monitor { ... size: PhysicalSize { width: 1280, height: 720 }, position: PhysicalPosition { x: 2560, y: 0 }, scale_factor: 1.0 }

If we have an extension like monitor.contains(PhysicalPosition) and we iterate over the monitors, we can detect an out-of-bounds placement without persisting monitor properties at all.

I think I used this solution at some point before but can't remember why I decided to just use the monitor name.

Pushed! @Beanow @ImUrX @elibroftw could you all give this PR another test and see if there is any unwanted behavior with my last commit?

I believe the way to do so is use this as your cargo depencency:
tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", rev = "refs/pull/48/head", package = "tauri-plugin-window-state" }

@amrbashir of course Linux never had the issue but I'll poke at it see if there's anything that seems to misbehave.

So I can kind of see the intended behavior is working.
Knowing that, if I send the OS an out of bounds position, it will attempt to do a "nearby" placement. While if the plugin invalidates the position and asks the OS to do a default placement, it'll be "somewhere top-lefty".
And I can confirm that if the target position still exists it will go there. While it will be reset to a default placement otherwise. Regardless of why that position became unavailable. So now it's also robust against resolution changes, monitor offsets, and not "forgetting" a placement if the monitor number happens to change.


storage_status/1 should return :up for in-memory database

Currently, the function checks if the database file exists. This returns false for in-memory.
Which in turn fails Phoenix.Ecto.CheckRepoStatus during development.
I would like to see if we can make the function return true instead.

unfortunately with how the connections are pooled, your in memory database will always be empty because each new connection opens its own database.
If you use cache=shared option, then all connections will share the same in-memory database.

rc = sqlite3_open("file:memdb1?mode=memory&cache=shared", &db);

This allows separate database connections to share the same in-memory database. Of course, all database connections sharing the in-memory database need to be in the same process. The database is automatically deleted and memory is reclaimed when the last connection to the database closes.

SQLite docs: In-memory Databases And Shared Cache
But I ran into a very strange error when I was trying to use an in-memory database. Everything works fine until you try to perform two parallel transactions, one of which performs a write operation.
The error is
database table is locked
Please note, not database is locked, not database is busy, but database table is locked.
I have no idea what that means.

I haven't had time to really dive into this lately, but I don't know how the shared cache is going to work when the DB is on a different machine than the one trying to access it. Could be an unfounded fear. Unsure yet.

I'm still not sure if this is something that we should support. DBConnection is pretty entangled into ecto and I don't think we can guarantee connections being in the same process due to it.

I ran into the same problem with Phoenix.Ecto.CheckRepoStatus
I have the number of simple Phoenix Apps for Admin. Each time when an application start it opens the in-memory sqlite DB, when run migration to create user/token tables and register only one user with the Admin username and password from the ENV variables. So, this way I have the login functionality for simple Admin tool with completely autogenerated code for authentication (mix phx.gen.auth). All I have written is code to run migration and register user at app startup. Very handy and securely.

tldr: storage_status/1 incorrectly returns down for database paths using SQLite's URI format file:/path/to/db.

I was trying to use an in-memory database using the memdb VFS:
# config/dev.exs

config :phoenix_app, PhoenixApp.Repo,
  database: "file:/db?vfs=memdb",
  pool_size: 5,
  stacktrace: true,
  show_sensitive_data_on_connection_error: true

https://www.sqlite.org/forum/forumpost/c1004073ca76117f
https://sqlite.org/inmemorydb.html
https://sqlite.org/releaselog/3_36_0.html
Realized the error from Phoenix.Ecto.CheckRepoStatus in development is due to how storage_status/1 is implemented and tracked here.
Further, I decided to drop the ?vfs=memdb and point to a writable path -- like so:
config :phoenix_app, PhoenixApp.Repo,
  database: "file:/tmp/data.db",
  pool_size: 5,
  stacktrace: true,
  show_sensitive_data_on_connection_error: true

Which was also problematic, but possibly a different issue?! Even though the "file:" prefix is a valid part of SQLite URI, it makes ecto_sqlite3 think the database doesn't exist:
[info] Running PhoenixAppWeb.Endpoint with cowboy 2.10.0 at <IP_ADDRESS>:4000 (http)
[info] Access PhoenixAppWeb.Endpoint at http://localhost:4000
[error] #PID<0.497.0> running Phoenix.Endpoint.SyncCodeReloadPlug (connection #PID<0.496.0>, stream id 1) terminated
Server: localhost:4000 (http)
Request: GET /
** (exit) an exception was raised:
    ** (Phoenix.Ecto.StorageNotCreatedError) the storage is not created for repo: PhoenixApp.Repo. Try running `mix ecto.create` in the command line to create it
        (phoenix_ecto 4.4.2) lib/phoenix_ecto/check_repo_status.ex:49: Phoenix.Ecto.CheckRepoStatus.check_storage_up!/1
        (phoenix_ecto 4.4.2) lib/phoenix_ecto/check_repo_status.ex:32: anonymous fn/3 in Phoenix.Ecto.CheckRepoStatus.call/2

@rhcarvalho I'll take a look at this soon, we should handle this.
We are also in an experimental phase changing how the connection is pooled.

https://www.sqlite.org/forum/forumpost/c1004073ca76117f

This is an incredibly interesting conversation.


WHERE does not work with default values on vertices created with the Java graph API

Hello,
I think I found a really unusual issue in orientdb-community-2.1-rc6.
I have a class with properties and default values for some of the properties.  If I do SELECT FROM MyClass, the values are assigned properly. If I do SELECT FROM MyClass WHERE property_with_default_value_of_zero=0, then the vertices do not show up.
I have indexes on these properties. Rebuilding all indexes resolves the issue. I suspect that the index is not getting updated when the default value is assigned.
The issues is not reproducible from Studio.
(I can provide code for setting up the schema if you have trouble reproducing the issue.)

@laa did you close this because the issue is fixed?

Hi @danielkasza , I was closing all issues which were not active for a long time. Because this issue is important for you I reopen it.


SNOW-1164884:Snowpark Python API Tracing

Please answer these questions before submitting your pull requests. Thanks!

What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes #NNNN

Fill out the following pre-review checklist:

[ ] I am adding a new automated test(s) to verify correctness of my new code
[ ] I am adding new logging messages
[ ] I am adding a new telemetry message
[ ] I am adding new credentials
[ ] I am adding a new dependency

Please describe how your code solves the related issue.
Please write a short description of how your code change solves the related issue.

This is a snowpark python API open telemetry prototype. This prototype focus on span form and content. Exporter and compatibility with stored proc and local environment will be considered in the next step.

Still waiting for the unit-tests

Unit test is there now, I am fixing some bugs in it

The test on stored proc is finished, test result is at the bottom of design doc: https://docs.google.com/document/d/1O7rzaPSCF2zBnmZRBWahDKt5unSYM5Oc-sewrJAg1HA/edit?usp=sharing


Add morningstar solar MIBs

Downloads all the Morningstar solar MIBS but only adds the prostar_mppt MIB to the generator using the same OIDs I found over in the grafana repo.
We can revisit adding more of the models and expand the OIDs we walk as we go?
Tested the local snmp_exporter script and can get the snmp values from one of our EMC1 endpoints.

"We can revisit adding more of the models and expand the OIDs we walk as we go?"
yes I agree with that, I really like how seamless it seams to build the snmp.yml, I'd like to try it on a test device at some point.


VSTest: Setting "Path to Custom Test Adapters" leads to error in VSTest.ps1

When we set "Path to Custom Test Adapters" as a part of of a VSTest task in our release definition, the test task fails with:
##[error]System.Management.Automation.ParameterBindingException: A parameter cannot be found that matches parameter name 'vstestLocationMethod'.
Setting "Path to Custom Test Adapters" was the only change we made, and reverting it causes the tests to pass again (excluding the ones it can't run without the adapter).
Any ideas?

@zjgeary this parameter has been added very recently and i believe it's not yet deployed in VSTS. Can you please let me know whether you are using VSTS or On Prem TFS?

We are using VSTS. I'm not sure what changed in the last 16 hours, but it seems to work now. Thanks!

Please reopen if you encounter this again


DOC: More documentation needed

There needs to be more documentation regarding on the new features of the plugin, adding the BulkVectorExport plugin as a dependency and documenting on how to use that plugin because it really doesn't have much documentation. We can also document what to do if there errors in GroundRadar/TopSky contributing and some issue templates so that we can get more information on any issues that contributors add. Another consideration is creating beta-1 beta-2 beta-3 branches etc and also to refine the branch structure so that all contributions come from checkouts of the dev branch.
Example:
main

dev

dev/feature-fix

beta-1

Any thoughts @RoboFun01?

Or in terms of contributing, I think it makes more sense to remove the dev branch entirely

All this seems like great ideas! What do you think would be the easiest for you to manage?

Thank you for this plugin. I have to remarks:

May be adding that the plugin needs QuickOSM could be helpfull. It is written in Github but not in plugin search inside Qgis :

Adding default styling for created layers could enhance usage of this plugin

@kikislater I'll add that to plugin description and I'll consider the styles, thank you for the suggestion


macos_requirement: fix display of versions as array

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?
[x] Have you successfully run brew man locally and committed any changes?

$ brew deps --include-requirements openzfs
Before:
:macOS == [#<OS::Mac::Version:0x00007fd222a5b968 @version="10.11", @detected_from_url=false, @comparison_cache={}>, #<OS::Mac::Version:0x00007fd222a5b8c8 @version="10.12", @detected_from_url=false, @comparison_cache={}>, #<OS::Mac::Version:0x00007fd222a5b800 @version="10.13", @detected_from_url=false, @comparison_cache={}>, #<OS::Mac::Version:0x00007fd222a5b788 @version="10.14", @detected_from_url=false, @comparison_cache={}>, #<OS::Mac::Version:0x00007fd222a5b738 @version="10.15", @detected_from_url=false, @comparison_cache={}>]

After:
:macOS == 10.11 / 10.12 / 10.13 / 10.14 / 10.15

https://github.com/Homebrew/brew/pull/9164 will hopefully help with CI here.

Thanks @EricFromCanada!


Parsing location from HTTPError response instead of initiate a query

An alternative fix, see https://github.com/apache/beam/pull/31986#issuecomment-2444627289
Internal bug: 376032695
Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

Tested via invoking two perform_load_job sequentially (se the second invocation results in 409), then invoking   bq_wrapper.wait_for_bq_job(response1)
before:
response1:  <JobReference
 jobId: 'bqjob_r18373583a1f5a918_00000192d90b0ea8_5'
 projectId: 'google.com:clouddfe'>
INFO:apache_beam.io.gcp.bigquery_tools:Job google.com:clouddfe:EU.bqjob_r18373583a1f5a918_00000192d90b0ea8_5 status: RUNNING
INFO:apache_beam.io.gcp.bigquery_tools:Job google.com:clouddfe:EU.bqjob_r18373583a1f5a918_00000192d90b0ea8_5 status: DONE

after:
response1:  <JobReference
 jobId: 'bqjob_r18373583a1f5a918_00000192d90b0ea8_6'
 location: 'EU'
 projectId: 'google.com:clouddfe'>
INFO:apache_beam.io.gcp.bigquery_tools:Job google.com:clouddfe:EU.bqjob_r18373583a1f5a918_00000192d90b0ea8_6 status: RUNNING
INFO:apache_beam.io.gcp.bigquery_tools:Job google.com:clouddfe:EU.bqjob_r18373583a1f5a918_00000192d90b0ea8_6 status: DONE

as can be seen, perform_load_job now returns a JobReference with location field, and wait_for_bq_job still finishes successfully


Update README.md

Added a paper on neural scaling laws in Embodied AI

Since this stems from a review of a number of papers, can you move the survey section? I don't think it would make sense to make its own category. Thanks!


⚠ ClamAV has degraded performance

In 97fe6f1, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 100 ms

Resolved: ClamAV performance has improved in 8471c9c.


Saving an untitled file (ex: temp.txt) adds extra extension temp.txt.txt on save dialog

VSCode Version: 1.39.2
OS Version: Win and Mac

Steps to Reproduce:

Open any existing file resource with untitled schema : ex: notebook1.ipynb
Make changes to the file
Hit close, it prompts to save/discard the file with changes, choose save
You'll see the save file dialog with name notebook1.ipynb.ipynb

Refer: https://github.com/microsoft/azuredatastudio/issues/7641
Proposed fix we made:
mime.ts under vs/base/common has the method: suggestFilename which appends the extension type.  (Below code snippet)
if (extensionsWithDotFirst.length > 0) {
return prefix + extensionsWithDotFirst[0];
}
Fix:
if (extensionsWithDotFirst.length > 0) {
return prefix.endsWith(extensionsWithDotFirst[0]) ? prefix : prefix + extensionsWithDotFirst[0]; // {{SQL CARBON EDIT}}
}

@MaddyDev I pushed the change you suggested. In the future feel free to open PRs. If there are other things you currently have to patch but could be useful for VSCode, let me know.


copr: fix cast real, decimal to time bug

What problem does this PR solve?
Issue Number: close #10045
Problem Summary:
cast real, decimal to time if overflow or truncated should return NULL.
What is changed and how it works?
What's Changed:
Let cast real and decimal to time return NULL if truncated.
Related changes

Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test

Side effects

No

Release note

*: fix cast from real or decimal to time bug.

@skyzh PTAL

/merge

/retitle copr: fix cast real, decimal to time bug on overflow

/merge cancel

@blacktear23 Please merge the PR at TiDB side first. Otherwise, copr-integration test won't pass.

/run-integration-copr-test

/run-integration-copr-test

/run-integration-copr-test

/run-all-tests

/merge

@skyzh I think we should cherry-pick this PR to 5.0 branch.


Remove inaccurate information

The article says:

errors (also called exceptions) fall into one of three categories: syntax errors, run-time errors, and logic errors.

I don't think that referring to errors as exception is correct, since the syntax errors and logic errors aren't exceptions.

Thanks for your suggestions, @rpetrusha :)
I've applied them, I just replaced a ArgumentNullException with an ArgumentNullException.

Thanks for making the additional changes, @Youssef1313. I'll merge your PR as soon as our internal build completes successfully.


ScrollDirection' is not a member type of 'UICollectionView

I had Downloaded this project but I won't be able to run it because I am getting following error.
'ScrollDirection' is not a member type of 'UICollectionView'
I am using Xcode version 9.2
Please Help!
Thanks

What do you have in your pod file?

@patchthecode  I haven't any pod file

@patchthecode  I had try once using pod 'JTAppleCalendar', '~> 7.0' but still I am getting Error.

are you saying youre trying to use tis library without cocoapods?

@patchthecode  Thank you for Instant Replay, I am not using cocoapods I had just Downloaded this project I just only want to run this project and want to check that how it will work. after that I will Add this in to my project.

Please check this I hope you Find where I am getting issue or Why I am getting Issue.

The version of the code you have downloaded is for swift 4.2 Xcode 10+
That is why you are getting that error.

May i know which version of JTAppleCalendar will support xcode 9.4.1  and swift 4.1?

i dont know about Xcode version, but i do know htat version 7.1.5 supports swift 4.1

closing this issue now. Let me know if that helped

closing this issue now. Let me know if that helped

thanks


WIP: Pulsar/Spark

The first draft for the pulsar + spark structured streaming blog post
Probably the introduction could use some help

Merging this PR and continuing on my end


Create a new flag on RocksDB for high spec hardware to boost performance

Signed-off-by: Ameziane H<EMAIL_ADDRESS>

PR description
Create a new flag on RocksDB (--Xplugin-rocksdb-high-spec-enabled) for high spec hardware to boost performance.
With this first version, the impact is on memory usage, as we're tuning RocksDB block cache and Memtables size.
The results are promising on a 32 GiB AWS VM, as this new flag reduces 95 percentile block processing time by 30%.

Add more tests for 16 GiB VM ...
Fixed Issue(s)

Documentation

[ ] I thought about documentation and added the doc-change-required label to this PR if
updates are required.

Changelog

[x] I thought about the changelog and included a changelog update if required.

Minimum hardware requirements to run this flag?

I just update the description @milesthedisch, you must have at least 16 GiB RAM.

Minimum hardware requirements to run this flag?

This is mostly a high spec memory requirement.  besu will consume up to an additional 2gb of ram with this enabled.  16gb machine is the recommended minimum for a machine running just an EL/CL combo

burned in on mainnet along with 4417 and 4425


Voting not possible on posts, which has no votes

I get an exception of:
<class 'steembase.exceptions.VotingInvalidOnArchivedPost'>
While voting on a post, which has right now no votes at all.
According to the code "net_rshares = 0" is an indication for a test post. But also for a fresh one.
`
    def vote(self, weight, voter=None):
    """ Vote the post

        :param float weight: Weight for posting (-100.0 - +100.0)
        :param str voter: Voting account
    """
    # Test if post is archived, if so, voting is worthless but just
    # pollutes the blockchain and account history
    if not self.get('net_rshares'):
        raise VotingInvalidOnArchivedPost
    return self.commit.vote(self.identifier, weight, account=voter)`

Fixed https://github.com/Netherdrake/steem-python/commit/87510e1a194bac1f636b138df02e47f4b1d6cfd2

This is still not fixed in steemit/steem-python, and I consider this to be quite a major issue.
I'm resorting to using .commit.vote rather than .vote due to this issue.

Hi I'm getting this error.
VotingInvalidOnArchivedPost()

Strange looking at your fix @Netherdrake it seems the current code base is the exact same to the fixed commit posted (aside from and vs ==).
I will have to switch to your fork.

Did @Netherdrake fix solved it?
I am also getting the VotingInvalidOnArchivedPost() exception.

Was this fixed, I tried to update package via pip but still seeing the error.

Ok, just installed based on the README instead and it is working


Error in Compilation "  Class mikehaertl\wkhtmlto\Pdf does not exist "

Compilation Problems

Compilation breaks in Magento 2.3.2 and got the error
 Class mikehaertl\wkhtmlto\Pdf does not exist
It was working in Magento 2.3.1 and I upgrade Magento to 2.3.2. After that, I got the compilation error.

Issue Description
Preconditions

Magento CE 2.3.2 without sample data is installed.
used the class by  use mikehaertl\wkhtmlto\Pdf;

Result

The compilation broke and seems the error message

Compilation was started.
Area configuration aggregation... 5/7 [====================>-------]  71% 41 secs 298.0 MiB
In ClassReader.php line 35:

  Class mikehaertl\wkhtmlto\Pdf does not exist

In ClassReader.php line 29:

This must be a problem with PHP autoloader. If autoloading doesn't work correctly with Magento you need to find out what they messed up. I can not help you with this and it's not a bug in our library.


Plugin assets aren't building

NodeBB Version - 1.12.1
nodebb-plugin-emoji version - 2.2.5
When running './nodebb build' NodeBB, the node-plugin-emoji (installed and activated) assets aren't being created. I end up with a folder and contents as follows:

nodebb website root

build

public

plugins

nodebb-plugin-emoji

emoji

avoid_npm_ignore

...

That leaves me with errors, such as:
Refused to apply style from 'DOMAIN/plugins/nodebb-plugin-emoji/emoji/styles.css?v=k2vf88eesj0' because its MIME type ('text/plain') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
When I follow the URL, there is not a stylesheet there.
Is there any reason why during a build an 'emoji' folder is created a populated with an empty file called 'avoid_npm_ignore'?

That file exists when the plugin is installed from npm. The purpose of the file is so npm doesn't ignore the empty directory when I publish the plugin.
Essentially, don't worry about it. The problem you're having is that emoji assets haven't been built yet.
Have you tried building emoji assets from the plugin page in the ACP? Make sure that before doing so you have activated the emoji plugin and any emoji packs you want, and rebuilt and restarted nodebb.

@pitaj Thanks for your reply. I'll give that a go.
When I build the plugin locally, the files are there - but when I deploy the forum and run through an 'automated' build step (which runs the same commands as I do locally), that's when the assets aren't generated which is strange.
The build runs:

./nodebb setup
./nodebb upgrade
./nodebb build

When I inspect the files it's generated, the emoji plugin is empty (but other plugin assets are generated, e.g nodebb-plugin-markdown)

Yes this is because emoji assets aren't built when ./nodebb build runs for technical reasons.
It should build them when the forum starts up (look for any errors when you start), but if it doesn't you'll have to hit that button.

Ah OK, I understand now (so they should build on ./nodebb start?) - thanks for pointing me in the right direction. I'll see if I can debug from there.

@pitaj I was able to fix this in the end by running ./nodebb start
I was getting some strange behavior locally when running build/setup where the plugin seemed to be generating the assets, giving me false debug readings.
I'm also running the forum through a build & release pipeline on Azure DevOps, using environmental variables instead of config.json which I think was contributing somewhat to the problem.
But it's sorted now. Thanks for your advice RE:not creating assets on ./nodebb build which helped me debug and fix :)


Twig/React: Video Player is missing volume icon

The icon is missing in both libs

can I work on this issue ?

Hey @Srishtihere sure thing! We need to use the sound on / sound off icons here
https://github.com/international-labour-organization/designsystem/tree/develop/packages/icons/src/svg

This may be trickier than it looks.

thanks, I think i can try working on this and update you tomorrow

Hi I see the repo is too big and I am unable to clone it so any solutions for that ?

@Srishtihere the repo is pretty big, but I've never had any trouble cloning it. What issue are you having specifically?

hey the issue is solved now working on the icon issue, thanks

Hi, can you help me with this? Can't seem to debug this
What possible plugin/library am I missing? This is what I get on the console

@Srishtihere Did you build the libs first?
pnpm build:libs

@Srishtihere make sure to review the contribution guidelines, which have a list of the commands you need to run to install/build/run things:
https://github.com/international-labour-organization/designsystem/blob/develop/contributing.md

@Srishtihere Did you build the libs first?
pnpm build:libs

Hey I did but same error, I followed the commands in the contributor.md file, this is what happens -

@Srishtihere weird, I've never seen this before. Are you using the right version of node and pnpm?
The latest version of the develop branch has an improved build workflow that may fix this. Try pulling down a fresh version of develop, cut a new branch, and do the following:
pnpm install
pnpm twig:dev:docs


Added support for capturing  CosmosException diagnostics on Cosmos Repository and Reactive Cosmos Repository APIs

Description
This PR adds support for capturing CosmosException diagnostics as part of Spring repository / JPA APIs.
Earlier, the diagnostics were missing in cases where error was thrown from CosmosRepository and ReactiveCosmosRepository.
Since ResponseDiagnosticsProcessor contract mentions capturing all the diagnostics for responses received from CosmosDB, this PR adds the support for logging those through ResponseDiagnosticsProcessor
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

/azp run java - cosmos - tests

/azp run java - cosmos - tests


Make tsc --init generate default target to ES6 or higher

Search Terms
tsc --init default target ES5 ES6

Suggestion
When running tsc --init, let the tsconfig has es6 or higher target.

Use Cases
It's not common to have to use es5 nowadays

Examples

Checklist
My suggestion meets these guidelines:

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

Any plans for the team to implement this change? It's absurd tsc -init defaults to "target": "es2016" and the rest now.

Can you clarify what's absurd? Just calling something names doesn't help us understand what's bad about it.

Can you clarify what's absurd? Just calling something names doesn't help us understand what's bad about it.

As an example: "Typescript includes the __awaiter helper because async/await is not a part of the ES6/ES2015 specification."
Async/await was first included in the ES2017 specification.
In 2024, and indeed 2023, we should not default to using helpers, or solutions like this, when native functionality is included with every modern browser. Using modern standards and not old fixes is good for readability, correctness, robustness of code, etc.
https://stackoverflow.com/a/47995659


QUESTION： How can I register and run a embedding model

I am new for infercne.
I want to regist a custom embedding model ( I downloaded it  from modelscop.cn) and run it from the web UI.
But I cannt register it from the "register model" page .
And I try to do it  from CLI :  xinference register -t embedding -f /llm/bge-large-zh-v1.5/config.json -p , then , I get  error like this :

2023-11-17 22:14:17,498 - modelscope - INFO - PyTorch version 2.0.1 Found.
2023-11-17 22:14:17,501 - modelscope - INFO - Loading ast index from /root/.cach                   e/modelscope/ast_indexer
2023-11-17 22:14:17,540 - modelscope - INFO - Loading done! Current index file v                   ersion is 1.9.4, with md5 b542cb69632ed25605a7646a09b9831c and a total number of                    945 components indexed
Traceback (most recent call last):
File "/root/miniconda3/envs/xinference_env/bin/xinference", line 8, in
sys.exit(cli())
File "/root/miniconda3/envs/xinference_env/lib/python3.10/site-packages/click/                   core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/root/miniconda3/envs/xinference_env/lib/python3.10/site-packages/click/                   core.py", line 1078, in main
rv = self.invoke(ctx)
File "/root/miniconda3/envs/xinference_env/lib/python3.10/site-packages/click/                   core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/root/miniconda3/envs/xinference_env/lib/python3.10/site-packages/click/                   core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/root/miniconda3/envs/xinference_env/lib/python3.10/site-packages/click/                   core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/root/miniconda3/envs/xinference_env/lib/python3.10/site-packages/xinfer                   ence/deploy/cmdline.py", line 281, in register_model
client.register_model(
File "/root/miniconda3/envs/xinference_env/lib/python3.10/site-packages/xinfer                   ence/client/restful/restful_client.py", line 701, in register_model
raise RuntimeError(
RuntimeError: Failed to register model, detail: [address=<IP_ADDRESS>:23986, pid=1830                   76] Unsupported model type: embedding

I searched in Issues and "https://inference.readthedocs.io/" ,  but it has not been resolved .

Thanks for your report, customized embedding model hasn't been supported, it will be available in the next version.

thanks ,  wait for the release.


security/letsencrypt: Do not delete certificates in use

Based on system/trust in core, it shall be possible to detect certificates that are currently in use.
It should not be possible to delete those certificates here for the same reason they cannot be deleted under system/trust.

I think the proper way would be to implement this in core, see https://github.com/opnsense/core/issues/1897.


Real-world examples?

Hi, I think this needs some simple real-world examples of when it would be useful. I've done the challenge, but maybe it's too contrived an example to make sense? I am non the wiser on when I would use this feature.
I'm a relative noob, so can't give any input I'm afraid.

@TimHandy thanks for the feedback. But which challenge are we talking about?

@TimHandy the "world examples" I think come when you start the projects. That's where you're really just thrown into figuring out and thinking more on how to work on projects. There's a balance between having learning enough of the basics to tackle "real projects" even though some of the basic information you won't need anymore. But as @raisedadead has asked, let us know which challenges you are referring to.

@TimHandy Seems like you're referring to an extra example in a challenge description? :blush:

Closing, please clarify as requested.

Oh, sorry, I didn't see a notification of an update to this... I believe it was "Functional Programming: Introduction to Currying and Partial Application".


Provide help with common basic project operations.

Environment data

VS Code version: 1.20.1
Extension version (available under the Extensions sidebar): 2018.2.1
OS and version: Ubuntu 16.04

Feature Request
While it may fall outside the mission of VSCode, I expect that many users would appreciate even basic support in the extension for common project operations, like running tests, building, installing, deploying to an environment, and publishing to PyPI.

Too generic and is either directly done by a single shell command or another extension.


Update to crucible-erc20-balance-of Strategy - Edge Case Resolution

@ChaituVR Would be very grateful if this could get merged in :)
Thank you in advance 🙏


Move to actual group traits and create GroupExt for the extra extensions of the Group trait

One thing I've noticed and it's quite confusing from this repo is that it re-implements the Group trait.
I've been playing arround with this and I think it should be possible to use the original group::Group trait and create here a GroupExt trait that extends the missing features of Group to be able to do everything needed (have the attached commitment scheme traits for example..).
This would reduce duplication of code and also reduce the complexity of the lib significantly. Also, we can later check with the Zcash people to see which things would make sense to upstream to their group crate.
If that's something interesting, I'd love to work on it! So just let me know!

Hi @CPerezz! Thanks for the suggestion! Yes, it would certainly be interesting to investigate this.

I think that makes sense to me to add Base field type to upstream group

I think this issue may not longer be necessary as much of the original Group crate has been refactored into the provider module.

I think this issue may not longer be necessary as much of the original Group crate has been refactored into the provider module.

Makes sense!  In any case, my hope is that we can at some point refactor ff and group on a way on which we can just get ridd of the provider module directly.


有没有遇到过Vue3使用的时候在pc的浏览器无法播放，黑屏呢

中文用户请注意：请尽量用英文描述你的 issue，这样能够让尽可能多的人帮到你。
If you want to report a bug, please provide the following information:

The steps to reproduce.
A minimal demo of the problem via https://jsfiddle.net or http://codepen.io/pen if possible.
Which versions of DPlayer, and which browser / OS are affected by this issue?

我也碰到了这个问题，请问你们解决了吗

Please add a minimal reproduction so we can investigate.

草你妈的
---- 回复的原邮件 ----
| 发件人 | @.> |
| 日期 | 2023年08月14日 01:36 |
| 收件人 | @.> |
| 抄送至 | @.***> |
| 主题 | Re: [DIYgod/DPlayer] 有没有遇到过Vue3使用的时候在pc的浏览器无法播放，黑屏呢 (Issue #1331) |
Closed #1331 as completed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Czech Coder Layout On Waylands

The current installation instruction only work when running Ubuntu with X server. For someone who knows Linux well, this might be obvious, but I think it should be emphasized in the installation instructions.

Not obvious to me. In fact, as wayland uses xkb for keyboard layouts I hoped installation instructions were general enough to work fine there. Unfortunately, I can confirm it does not work in Fedora with wayland (except for apps using x-wayland). I'd be grateful for instructions how to make this work under wayland on behalf of other users because I do not currently use it.

Unfortunately, I have little experience with Linux, so I just fixed the issue by reverting back to xServer. If I ever find a solution I will let you know... :)

When using sway, adding
input * { 	xkb_layout "cz" 	xkb_variant "coder" }
to your sway config (.config/sway/config) works.


Cannot multiply 1 by 0 in strict mode

Hello!
When using Big.strict = true, you cannot multiply new Big('1') with new Big('0').
It generates a TypeError: Invalid number.
Test case:
const Big = require('big.js');
Big.strict = true;
new Big('0').times(new Big('1')); // Type error

Awful bug. Embarassing.
The bug happens because strict mode prevents a Big from being created from a primitive number, yet the library does just that itself internally when multiplying Big zero or multiplying a Big by zero. It also happens with division.
It's an easy fix which will be published tomorrow.
Thanks very much for the report.

Fixed in v6.0.3.

@MikeMcl missed opportunity for a simple unit test?

@MikeMcl missed opportunity for a simple unit test?


feat: attempt to recover machine name when read names malformed

Tested on some of CSTN samples which were previously "Unknown". Seems to work as expected. So far everything's gotten labelled as Hiseq 2000/2500.

I had to add "read_group" to the return of the NGSFile iterator which isn't ideal, but that was the best way to enable the header search. Should be a negligible performance hit.
I also forced "low confidence" when using the recovery feature, not sure if we want to commit to that. But otherwise this is ready for review.


Can juniper be used in production?

Hi. Juniper has not yet released 1.0, so i want to know if the official recommends using juniper in production?
In addition, I need to subscription. Does Juniper provide intact subscription support?

Many people are using Juniper in production. Subscriptions (and async support) are only curently supported on master. Do not use master in production!


add custom git url

@JackZhouCn, Thank you for your work!
How about using git instead of customgit? I think it's more reasonable.

I make some improvements, thank you.

@JackZhouCn,
I think git function should be more careful. For example, it should remove .git suffix from url automatically, and check validate git urls strictly.
This is not good: Installing JLToast.git (1.3.0)
And<EMAIL_ADDRESS>url should make an exception.
I think git function can be the replacement for github and bitbucket function.

Hi @devxoul, any update on this PR? Would love to use this project but need to be able to import internal git resources. Thank you!

Aha! It's what I want!
In fact, the syntax I created like this:
source :PrivateGitSource0<EMAIL_ADDRESS>source :PrivateGitSource1<EMAIL_ADDRESS>
target :SomeTarget do
  # seed is a method used for custom git repo.
  seed "somegroup0/somerepo0", "master", :from=>:PrivateGitRepo0, :files => "xxxx/**/*.{h,m,mm,swift,plist,png}"
  seed "somegroup1/somerepo1", "master", :from=>:PrivateGitRepo1, :files => "yyyy/**/*.{h,m,mm,swift,plist,png}"

  # develop is a method used for local git repo to test some feature.
  develop "zzzz", "../zzzz", :files => "zzzz/**/*.{h,m,mm,swift,plist,png}"
end

@veightz, I think git should be git and local files should be local.

duplicated: #58


transactions with knex.raw

Hi,
I'm implementing a schema patch mechanism where each schema patch is wrapped in a transaction.
My problem is that some schema patches might require knex.raw and I can't figure out how to perform these commands inside the transaction created by knex.transaction
Regards
Colm A

There is no reference to raw on #148. How do you use raw() with a transaction?

@Znarkus Just do:
knex.transaction(trx => {
  trx.raw(...)
})

Thank you! I tried knex.transacting(options.transacting).raw() which didn't work.
Final solution:
(options.transacting || knex).raw()


2055 accessibility

Please verify the following:

[x] yarn ci:test jest tests pass with new tests, if relevant
[ ] README.md has been updated with your changes, if relevant (Will do this in another ticket)

Describe your PR

Adds an animation to the like button, and a long-press action (necessary to keep the like action accessible since it's a nested touchable)
Adds accessibility actions, labels and hints to the episode card
Adds basic accessibility props to Button, Icon, and TextField.

Visuals

https://user-images.githubusercontent.com/6894653/187343748-ee9ff65f-a1d7-4f32-9bf2-ed7a0a7754f4.mov
https://user-images.githubusercontent.com/6894653/187343585-3a027446-711d-428a-8926-eaaff41b9218.mov

Not sure what's going on with CI.


Update enable-troubleshooting-mode.md

updated advanced hunting queries

@JohanFreelancer9 Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/8652

@Dansimp Please merge this PR. thanks


GPU out of memory with reasonable data

Describe the bug(问题描述)
I have a sparse feature with 1M items with 256 embedding. That is 1GB memory. "Adam" optimizor will need 2 more copies of GPU memories. So it is around 3GB. But it is still OOM on GPU with 8GB memory.
Is there any way to reduce GPU memory usage, like put some tensors on CPU instead?
Thanks.
To Reproduce(复现步骤)
Steps to reproduce the behavior:

The code:
import sys
import time
from deepctr.models import DeepFM
from deepctr import SingleFeat
if name == 'main':
PIDCount = 1048576
embedding_size = 256
sparse_feature_list = [SingleFeat("PID", PIDCount)]
dense_feature_list = [SingleFeat('AttrCS', 0)]
model = DeepFM({"sparse": sparse_feature_list,
"dense": dense_feature_list}, embedding_size=embedding_size)
model.compile("adam", "binary_crossentropy",
metrics=['binary_crossentropy'], )
history = model.fit([[0], [0]], [[0]], epochs=1, verbose=2)
OOM for GPU
Summary of in-use Chunks by size:
81 Chunks of size 256 totalling 20.2KiB
11 Chunks of size 512 totalling 5.5KiB
6 Chunks of size 1024 totalling 6.0KiB
1 Chunks of size 1280 totalling 1.2KiB
4 Chunks of size 65536 totalling 256.0KiB
4 Chunks of size 262144 totalling 1.00MiB
7 Chunks of size 4194304 totalling 28.00MiB
2 Chunks of size 4194560 totalling 8.00MiB
6 Chunks of size<PHONE_NUMBER> totalling 6.00GiB
Sum Total of in-use chunks: 6.04GiB
Stats:
Limit:<PHONE_NUMBER>
InUse:<PHONE_NUMBER>
MaxInUse:<PHONE_NUMBER>
NumAllocs:                     124
MaxAllocSize:<PHONE_NUMBER>

@LiChen2012
I  have successfully  ran the code snippet you provided on my laptop without GPU. Because it is a holiday now, I can't test the GPU version.
I don't know how to put some tensors or ops on CPU when using tf.keras,I think there are 2 methods you can try.

Modify the line 39 ofdeepctr.models.deepfm model like following:

with tf.device("/cpu:0"):
    deep_emb_list, linear_logit, inputs_list = get_inputs_embedding(feature_dim_dict, embedding_size, l2_reg_embedding, l2_reg_linear, init_std, seed)

Reduce embedding_size dimension

After modification of code, now GPU memory usage decreased. But it seems still not meet my expectations.
Before the fix, sparse feature embedding memory usage was 3 times of what should be.
After the fix, sparse feature embedding memory usage is double of what should be.
I hope you can take some time to fix it. Thanks.

Another issue:
After modification of code, training is slow. GPU usage jumps between 5% to 95%. I suspected that set tensor to CPU will cause memory copy between GPU and CPU.
Thanks.

This solution puts the vector itself on the CPU, and the parameters created by the optimizer are still on the GPU, so there is still twice the memory usage.
I'm sorry that I don't have a perfect solution right now, and I think I need help from the community~


[Play] - Leaderboard - Tied Teams Sorting #673

Github Issue: https://github.com/rightoneducation/righton-app/issues/673
In the event of a tie, players are not displayed alphabetically.
Location in Design Comments Document: issue # 2 (on the bottom of Page 10).
Resolution:
The teamSorter function has been modified to detect a tie in the rankings and sort that subset of players alphabetically.
Leaderboard.tsx
Preview:

The leaderboard without the alphabetically ordered tied teams ^^

Here is the updated leaderboard ^^

Nice job on this, @josephinaim! Super clean solution.


cuda老是报错，明明装好的CU118，同一台机器能跑chatGLM,就是跑不了百川？

(baichuan) D:>python testpy.py
2.0.1+cu118
True
这里显示装好了。
(baichuan) D:\projact\Baichuan2-main>python cli_demo.py
False
===================================BUG REPORT===================================
D:\anaconda3\envs\baichuan\lib\site-packages\bitsandbytes\cuda_setup\main.py:166: UserWarning: Welcome to bitsandbytes. For bug reports, please run
python -m bitsandbytes
warn(msg)
The following directories listed in your path were found to be non-existent: {WindowsPath('D')}
D:\anaconda3\envs\baichuan\lib\site-packages\bitsandbytes\cuda_setup\main.py:166: UserWarning: D:\anaconda3\envs\baichuan did not contain ['libcudart.so', 'libcudart.so.11.0', 'libcudart.so.12.0'] as expected! Searching further paths...
warn(msg)
CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching in backup paths...
The following directories listed in your path were found to be non-existent: {WindowsPath('/usr/local/cuda/lib64')}
DEBUG: Possible options found for libcudart.so: set()
CUDA SETUP: PyTorch settings found: CUDA_VERSION=118, Highest Compute Capability: 7.5.
CUDA SETUP: To manually override the PyTorch CUDA version please see:https://github.com/TimDettmers/bitsandbytes/blob/main/how_to_use_nonpytorch_cuda.md
CUDA SETUP: Loading binary D:\anaconda3\envs\baichuan\lib\site-packages\bitsandbytes\libbitsandbytes_cuda118.so...
argument of type 'WindowsPath' is not iterable
CUDA SETUP: Problem: The main issue seems to be that the main CUDA runtime library was not detected.
CUDA SETUP: Solution 1: To solve the issue the libcudart.so location needs to be added to the LD_LIBRARY_PATH variable
CUDA SETUP: Solution 1a): Find the cuda runtime library via: find / -name libcudart.so 2>/dev/null
CUDA SETUP: Solution 1b): Once the library is found add it to the LD_LIBRARY_PATH: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:FOUND_PATH_FROM_1a
CUDA SETUP: Solution 1c): For a permanent solution add the export from 1b into your .bashrc file, located at ~/.bashrc
CUDA SETUP: Solution 2: If no library was found in step 1a) you need to install CUDA.
CUDA SETUP: Solution 2a): Download CUDA install script: wget https://github.com/TimDettmers/bitsandbytes/blob/main/cuda_install.sh
CUDA SETUP: Solution 2b): Install desired CUDA version to desired location. The syntax is bash cuda_install.sh CUDA_VERSION PATH_TO_INSTALL_INTO.
CUDA SETUP: Solution 2b): For example, "bash cuda_install.sh 113 ~/local/" will download CUDA 11.3 and install into the folder ~/local
Traceback (most recent call last):
File "D:\projact\Baichuan2-main\cli_demo.py", line 8, in
from transformers.generation.utils import GenerationConfig
File "D:\anaconda3\envs\baichuan\lib\site-packages\transformers\generation\utils.py", line 27, in
from ..integrations.deepspeed import is_deepspeed_zero3_enabled
File "D:\anaconda3\envs\baichuan\lib\site-packages\transformers\integrations_init_.py", line 14, in
from .bitsandbytes import (
File "D:\anaconda3\envs\baichuan\lib\site-packages\transformers\integrations\bitsandbytes.py", line 11, in
import bitsandbytes as bnb
File "D:\anaconda3\envs\baichuan\lib\site-packages\bitsandbytes_init_.py", line 6, in
from . import cuda_setup, utils, research
File "D:\anaconda3\envs\baichuan\lib\site-packages\bitsandbytes\research_init_.py", line 1, in
from . import nn
File "D:\anaconda3\envs\baichuan\lib\site-packages\bitsandbytes\research\nn_init_.py", line 1, in
from .modules import LinearFP8Mixed, LinearFP8Global
File "D:\anaconda3\envs\baichuan\lib\site-packages\bitsandbytes\research\nn\modules.py", line 8, in
from bitsandbytes.optim import GlobalOptimManager
File "D:\anaconda3\envs\baichuan\lib\site-packages\bitsandbytes\optim_init_.py", line 6, in
from bitsandbytes.cextension import COMPILED_WITH_CUDA
File "D:\anaconda3\envs\baichuan\lib\site-packages\bitsandbytes\cextension.py", line 20, in
raise RuntimeError('''
RuntimeError:
CUDA Setup failed despite GPU being available. Please run the following command to get more information:
    python -m bitsandbytes

    Inspect the output of the command and see if you can locate CUDA libraries. You might need to add them
    to your LD_LIBRARY_PATH. If you suspect a bug, please take the information from python -m bitsandbytes
    and open an issue at: https://github.com/TimDettmers/bitsandbytes/issues

但是这里就是报错，怎么办？头疼。

(baichuan) D:>python testpy.py 2.0.1+cu118 True 这里显示装好了。 (baichuan) D:\projact\Baichuan2-main>python cli_demo.py False
===================================BUG REPORT=================================== D:\anaconda3\envs\baichuan\lib\site-packages\bitsandbytes\cuda_setup\main.py:166: UserWarning: Welcome to bitsandbytes. For bug reports, please run
python -m bitsandbytes
warn(msg)
The following directories listed in your path were found to be non-existent: {WindowsPath('D')} D:\anaconda3\envs\baichuan\lib\site-packages\bitsandbytes\cuda_setup\main.py:166: UserWarning: D:\anaconda3\envs\baichuan did not contain ['libcudart.so', 'libcudart.so.11.0', 'libcudart.so.12.0'] as expected! Searching further paths... warn(msg) CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching in backup paths... The following directories listed in your path were found to be non-existent: {WindowsPath('/usr/local/cuda/lib64')} DEBUG: Possible options found for libcudart.so: set() CUDA SETUP: PyTorch settings found: CUDA_VERSION=118, Highest Compute Capability: 7.5. CUDA SETUP: To manually override the PyTorch CUDA version please see:https://github.com/TimDettmers/bitsandbytes/blob/main/how_to_use_nonpytorch_cuda.md CUDA SETUP: Loading binary D:\anaconda3\envs\baichuan\lib\site-packages\bitsandbytes\libbitsandbytes_cuda118.so... argument of type 'WindowsPath' is not iterable CUDA SETUP: Problem: The main issue seems to be that the main CUDA runtime library was not detected. CUDA SETUP: Solution 1: To solve the issue the libcudart.so location needs to be added to the LD_LIBRARY_PATH variable CUDA SETUP: Solution 1a): Find the cuda runtime library via: find / -name libcudart.so 2>/dev/null CUDA SETUP: Solution 1b): Once the library is found add it to the LD_LIBRARY_PATH: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:FOUND_PATH_FROM_1a CUDA SETUP: Solution 1c): For a permanent solution add the export from 1b into your .bashrc file, located at ~/.bashrc CUDA SETUP: Solution 2: If no library was found in step 1a) you need to install CUDA. CUDA SETUP: Solution 2a): Download CUDA install script: wget https://github.com/TimDettmers/bitsandbytes/blob/main/cuda_install.sh CUDA SETUP: Solution 2b): Install desired CUDA version to desired location. The syntax is bash cuda_install.sh CUDA_VERSION PATH_TO_INSTALL_INTO. CUDA SETUP: Solution 2b): For example, "bash cuda_install.sh 113 ~/local/" will download CUDA 11.3 and install into the folder ~/local Traceback (most recent call last): File "D:\projact\Baichuan2-main\cli_demo.py", line 8, in from transformers.generation.utils import GenerationConfig File "D:\anaconda3\envs\baichuan\lib\site-packages\transformers\generation\utils.py", line 27, in from ..integrations.deepspeed import is_deepspeed_zero3_enabled File "D:\anaconda3\envs\baichuan\lib\site-packages\transformers\integrations__init__.py", line 14, in from .bitsandbytes import ( File "D:\anaconda3\envs\baichuan\lib\site-packages\transformers\integrations\bitsandbytes.py", line 11, in import bitsandbytes as bnb File "D:\anaconda3\envs\baichuan\lib\site-packages\bitsandbytes__init__.py", line 6, in from . import cuda_setup, utils, research File "D:\anaconda3\envs\baichuan\lib\site-packages\bitsandbytes\research__init__.py", line 1, in from . import nn File "D:\anaconda3\envs\baichuan\lib\site-packages\bitsandbytes\research\nn__init__.py", line 1, in from .modules import LinearFP8Mixed, LinearFP8Global File "D:\anaconda3\envs\baichuan\lib\site-packages\bitsandbytes\research\nn\modules.py", line 8, in from bitsandbytes.optim import GlobalOptimManager File "D:\anaconda3\envs\baichuan\lib\site-packages\bitsandbytes\optim__init__.py", line 6, in from bitsandbytes.cextension import COMPILED_WITH_CUDA File "D:\anaconda3\envs\baichuan\lib\site-packages\bitsandbytes\cextension.py", line 20, in raise RuntimeError(''' RuntimeError: CUDA Setup failed despite GPU being available. Please run the following command to get more information:
    python -m bitsandbytes

    Inspect the output of the command and see if you can locate CUDA libraries. You might need to add them
    to your LD_LIBRARY_PATH. If you suspect a bug, please take the information from python -m bitsandbytes
    and open an issue at: https://github.com/TimDettmers/bitsandbytes/issues

但是这里就是报错，怎么办？头疼。
同样的问题，拟解决了吗

我也是哦

只能用linux测试吗


fix: Sign in with email no longer have unwanted consquences

What

Save the userId instead of the user's email
Is the userId always returned if the login is successful ?
comments to add ?

Screenshot

Fixes bug(s)

Fixes: #2464

Part of

Thanks @AshAman999


Segfault in qt/clientmodel.cpp:92 on every shutdown

Is there an existing issue for this?

[X] I have searched the existing issues

Current behaviour
On shutdown, I get a crash in return m_node.getNodeCount(connections);
Expected behaviour
No crash
Steps to reproduce

Shutdown Bitcoin Core

Relevant log output
No response
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
master
Operating system and version
ubuntu
Machine specifications
No response

#801

#801

@maflcko Does it fix the issue for you?

Closed by https://github.com/bitcoin-core/gui/pull/801.


Altering module import ordering to adhere to PEP8 standard

Imports should be grouped in the following order:

1. Standard library imports.
2. Related third party imports.
3. Local application/library specific imports.
You should put a blank line between each group of imports.

https://www.python.org/dev/peps/pep-0008/#imports

Thank you!


Could not connect to any available API servers

Hi,
Problem to connect API servers.
I had 600 sources and now nothing. No more validators. How do I get them back?
Thanks
Sebastian

If this kind of error occurs, you should be able to re-connect by refreshing. REStake relies on public nodes for many chains.


fix v0.0.17 version

fix version number in version.go that wasn't updated due to broken bump-version.sh script (fix in #1074)

:white_check_mark: odo build 657 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/3c9e638d43 by @kadel)


Release 9.1.0

I removed gistWiki, as discussed, and reformatted ReleaseNotes as Markdown, adding a 9.1.0 section.

This will also close https://github.com/semanticarts/gist/issues/123

I just took a good look at all the changes from 9.0.0 and noticed a large number of changes with disjoints. I do not recall any discussions about that.  The affected file is gistTop. They call came in with commits by Rebecca on Jan 29 relating to Issue 153. But that issues does not mention disjoints.  I searched through all the issues around then and none mention disjoints.
A lot of the changes are dubious. Here are a few:

A geopoint can now be an intention
a magnitude can now be a language
an organization can also now be a language
a PhysicalIdentifiableItem can now be an Organization

Michael

I looked into this a bit further. The file compare seems to say that a geopoint used to be but no longer is disjoint with an intention.  Similar for the other examples. However, when I load the ontology, the disjoints seem correct.   So the question becomes:

when I look at the file comparison, why does it seem like disjoints have moved all over the place?

It rather defeats the purpose of looking at file differences.

@uscholdm Michael, I think one of the changes that was made during this release is a more consistent reformat of the files. It should improve things going forward, but may have resulted in some weird diffs for this release. As long as it is sound when loaded, we should be good for now.

@sa-bpelakh I haven't looked at the files, but why would reformatting cause changes to disjointness axioms? And does this mean that if we use ontology-toolkit instead of the old serializer in our projects we will initially get a large amount of reformatting?

@rjyounes I don't think the serializer changed the axioms, it just made the diffs less obvious. We can examine the specific axioms Michael is referencing to validate that they have not changed.
The commit hooks on the repo should use the serializer - if you see non-clean diffs in a pull request, that is usually the cause. The bundle functionality in ontology-toolkit that I use to package the release re-runs the standard serializer on each OWL file, just to be sure.

@uscholdm @sa-bpelakh OK, who is going to examine the files?

The commit hooks on the repo should use the serializer
We need to ensure that everyone has it set up, and is using the exact same .jar file.

Another thing that would be nice to have in our ontology toolkit is a script that mushes all the gist files into one ontology. Then we could use Protégé to do an ontology compare.  Dean Allemang did this for his work. Neat trick.

I haven't looked at the files, but why would reformatting cause changes to disjointness axioms?

I don't get it either.  I also saw one of the commits that did a fresh serialize, and I did my compare from there to 9.1 hoping the disjoint differences would go away. Did not work, they were still there.

@uscholdm @Jamie-SA @sa-bpelakh I am going to contact Jamie and ask him not to post the new files until we sort this out.

@sa-bpelakh As the release manager, it would be up to  you to figure this problem out. Do you have the bandwidth? I know you are traveling. We can postpone the release until you are back home.

I had done most of the release. I will undo the easy parts.


Where is Application.Current.MainWindow ?

I'm upgrading from 8.0 to 9.0 and MainWindow property from Application.Current no longer exist. Why has it been removed and what's the replacement? For me it was an easy way to show dialogs on my viewmodel:
var result = await new OpenFolderDialog().ShowAsync(Application.Current.MainWindow);

https://github.com/AvaloniaUI/Avalonia/wiki/Application-lifetimes

Thank you!

How do you now access the mainwindow? Please update these docs https://avaloniaui.net/docs/controls/window#show-a-window-as-a-dialog

AvaloniaUI/Avalonia/wiki/Application-lifetimes

this does not help

PRs welcome!

How do you now access the mainwindow? Please update these docs https://avaloniaui.net/docs/controls/window#show-a-window-as-a-dialog

For anyone else that stumbles upon the issue:
var starTaskWindow = new StartTaskWindow();
if (Avalonia.Application.Current.ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
{
   starTaskWindow.ShowDialog(desktop.MainWindow);
}

@ahmad2smile in general PRs for the docs are welcome. But atm we are working on docs for v11.0. I'll add this to the list of things to review.

Yeah, it's very simple, you just Push IClassicDesktopStyleApplicationLifetime appLifetime into your functions from using Avalonia.Controls.ApplicationLifetimes;.
appLifetime.MainWindow gives you the active window and it may be null


Bypass the PID controller in Gazebo

Dear all,
I would like to control a cube floating in the vacuum in Gazebo by hard-setting the position and the velocity (no real motor). For now I'm moving the cube using PID controllers. The cube is connected to the world link of my model by 3 prismatic joints.
Would the new method disablePID do what I want? "Disable the pid computation for a joint"
Should I rather try to use the PositionDirect interface? "the aim is to reach low level control in firmware bypassing the trajetory generator"
Is there a more appropriate method for doing that?
Best

Hi @charleswilmot,
What you're trying to achieve is to fully bypass the motor, by imposing the state of the cube straightaway. Thereby, you don't have to rely on any of our interfaces, but rather you should be fiddling within Gazebo directly, I suppose.

I believe you should go in the direction of using the world interface instead (see #201).

Hello @pattacini ,
Sorry for the late answer, I have been busy working on the real robot last weeks. I'm still very interested in bypassing the motor in the simulator. Indeed, my first intuition was to use the world interface plugin. Thanks to your help on the forum here, I got it working, unfortunately one functionality is missing for my purpose. I need to control an object's speed is a similar way as the function setPose of the worldinterface plugin controls the position.
I would like to implement it within the worldinterface plugin, but I would need some more advises.
I'm not familiar with the thrift technology. What would be the basic procedure to add a new function to the plugin?
Thank you in advance,
charleswilmot

Hi @charleswilmot
Did you have the chance to peruse our documentation and tutorials on Thrift?

Hello @pattacini , sorry I didn't found that in the doc before. I'll read it next week.
Thank you once more


Implement incrpcorr

Incremental Pearson Correlation. See @stdlib/math/statistics/incr/variance.

Implemented in https://github.com/stdlib-js/stdlib/commit/13ce0902d9fa46b2573264c34ea54a221254d140. Closing.


TemporaI: Implementation of GTE for GaaS Observability Event in MR deprecation for distcp

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-XXX

Description

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

TODO:

Add a description of the necessary fields for GaaS observability event integration

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"

Reminder to capture some of ur comments and high level thoughts in the PR description / ticket


docs: Fix wording to explain how things are now

Because it's better for people wanting to know how to use Headlamp today.

Thanks for the catching that mistake @skoeva !


New package: KiteSimulators v0.1.0

Registering package: KiteSimulators
Repository: https://github.com/aenarete/KiteSimulators.jl
Created by: @ufechner7
Version: v0.1.0
Commit: 113d6a2115a6596bd3192f839fd7bb6132be1d85
Git reference: HEAD
Description: Simulators for kite power systems
Release notes:

Initial release

Superseded by #61050


uart::get on unit tests seg faults

The address of ::get<N>() on non-lpc40xx devices seg faults. A silent crash like this shouldn't occur. Either the compiler should error out if this is not correct usage or the get<N>() function should return a dummy register file for each channel.

A good approach would be to add a uart::construct_custom() factory function and have uart::get<N>() generate a compile time error if it is used outside of a unit test situation. This would ensure that if the lpc drivers are used on a platform it cannot support it generates a compiler error vs silently doing nothing or locking up.
In this way construct_custom_uart() bypasses that check.

Resolved by #72

Using compile_time_platform_check() will ensure that the get function is only used on the correct platform


Enable word timestamps for distil-large-v3

@jongwook determined the alignment_heads for OpenAI Whisper models by manual inspection which are required for DTW-based (Accurate) word timestamps. We need to perform the same manual inspection for distil-large-v3 so word timestamps can be enabled for it. Word timestamps are required to benefit from the "Eager Mode" streaming feature: https://x.com/argmaxinc/status/1774809790595932658?s=20

Completed with https://huggingface.co/distil-whisper/distil-large-v3/discussions/3


KLEBLIIL vs KEBLIIL

KLEBLIIL vs KEBLIIL created by<EMAIL_ADDRESS>on 2017-02-11 13:02:33

<EMAIL_ADDRESS>replied, Masaharu and everyone else,
I received the below email from someone asking the difference between
KLEBLIIL and KEBLIIL.

<EMAIL_ADDRESS>replied, Ak milnguiu er a hong el okedongall el kmo Siukang er a Belau el lilechesii a Rengulbai Ngeburch ma Masaharu Tmodrang e mlarngii a teblo el tekoi el kebliil ma klebliil mlara chelsel tial hong el mle soak el mo medengei a belkul eng di dimlak el bleketakl ma lechub el cherrungel a omesodel. A kulengit ma leborngii a temiu e mluut el smaod a belkul a ikal tekoi.Sulang.

<EMAIL_ADDRESS>replied, Can you provide a better definition for KLEBLIIL please especially one that distinguishes it from KEBLIIL?  All we have right now is:klebliil a betok el kebliil.If you do the definition in Palauan, I'll translate it to English.By the way, the copy of the  SIUKANG ER A BELAU book on tekinged is incomplete.  It ends abruptly in the middle of the 38th page.  Actually it ends right in the middle of the description of KEBLIIL.  Does anyone have a complete copy of this book?

<EMAIL_ADDRESS>replied, Like a group of clans that together make a super-clan?
Can a kebliil belong to multiple klebliil?
Can you provide an example pls?
Thx Souang!

<EMAIL_ADDRESS>replied, Also, every kebliil has a name and a chief right?
Do klebliils also have names?  Do they have a chief?

<EMAIL_ADDRESS>replied, Kebliil is the main clan. Klebliil is what forms the clan.

<EMAIL_ADDRESS>replied, Houses make klebliil that makes the clan. Most houses have 'rubak and
rubak'ldil'. Kebliil is the main house, klebliil are under the kebliil.

<EMAIL_ADDRESS>replied, I just finished the book "The Sacred Remains:  Myth, History and Polity in Belau" by Richard Parmentier, an anthropologist who spent several years in Ngeremlengui in the late 70s.  I highly recommend it.  In there he defines kebliil as a "house affiliation network."  He describes how "prominent houses maintain strong ties of affiliation (kebliil) with equally high-ranking houses in other districts ..."  He doesn't use klebliil that I can see.
File that under the "for what its worth" department ...

<EMAIL_ADDRESS>replied, Good idea to check SACRED REMAINS.  I've exchanged emails before with
Richard so I've just now emailed him to ask him if he can help with this
question.  I'll report back whatever I hear from him.

<EMAIL_ADDRESS>replied, http://tekinged.com/misc/pdf.php?file=parmentier_house

<EMAIL_ADDRESS>replied, Yes, each village has 'saus" (four corners)-main clans(kebliil) from those four corners-comes the houses-'ongalk' from those ongalk comes telungalk-telungalk and ongalk make the klebliil to the kebliil.


Change the Twitter Icon Which is not working properly

Description

...
...
...

Related issue(s)
Related to twitter icon

Please first specify in description the goal of PR, or first open an issue for discussion. Also watch the errors from CI/CD and adjust accordingly. Closing for now


New module order

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 54.71%. Comparing base (bf0ed2c) to head (e250312).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #371   +/-   ##
=======================================
  Coverage   54.71%   54.71%
=======================================
  Files         168      168
  Lines        3670     3670
=======================================
  Hits         2008     2008
  Misses       1662     1662

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


icons in show_icon are not self describing

The icons in the show_icon block are really useful, but it's not obvious what some of them are. In the previous beta you had just the icon names but no visuals. I think what we need here is both the visual representation of the icon and it's name, to get the best of both worlds.

David, have you tried the "show icon" UI in /beta? It provides a tooltip with the name.

fixed in beta and will be ported to release


Try to fix jca hsm

Description
This is a draft PR to support key type rsa-hsm or ec-hsm in JCA.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-security-keyvault-jca


Move docblock processing outside/before filtering

Resolves https://github.com/FriendsOfPHP/Sami/issues/99

Thank you @erikwiffin.


Add the ability to show the QR outside the terminal

Even though this is a command line application, many users are running into rendering issues that may be caused by the terminal font (see https://github.com/claudiodangelis/qrcp/issues/126, https://github.com/claudiodangelis/qrcp/issues/99, https://github.com/claudiodangelis/qrcp/issues/7, https://github.com/claudiodangelis/qrcp/issues/6), would be nice to have the ability to print the QR somewhere else, for example by automatically opening a browser window or an user-defined program.

I think this can be done quite easily.
Instead of having RenderString print directly to the stdout the function need to be adjusted a bit (in a backwards compatible fashion)
func RenderString(s string) {
	q, err := qrcode.New(s, qrcode.Medium)
	if err != nil {
		panic(err)
	}
	fmt.Println(q.ToSmallString(false))
}

Possible solution
func RenderString(s string, out ...io.Writer) {
	q, err := qrcode.New(s, qrcode.Medium)
	if err != nil {
		panic(err)
	}

	var writer io.Writer = os.Stdout
	if len(out) > 0 {
		writer = out[0]
	}
	io.Copy(writer, strings.NewReader(q.ToSmallString(false)))
}

Though the name RenderString doesn't really cover it anymore, this way we you can pass any output writer (which can be a file, or even a http.ResponseWriter.

Props to @camgraff for implementing this feature! You can now pass the --browser flag and have a QR printed to your default browser.


[MM-25128] Fixed keyboard shortcut on new channel sidebar

Summary
This PR adds the changes made to the original sidebar when team sidebar re-ordering was introduced. We now check to make sure CTRL or Cmd isn't pressed when using these shortcuts, as they are specific to the team sidebar.
Ticket Link
https://mattermost.atlassian.net/browse/MM-25128

/update-branch


fixed the model id field where for every new migration a new default is generated

Removed default id uuid.uuid4 on id field. Because CharField doesn't work with uuid. It generates a new id for every migrations.
Since we are manually creating ID every time we insert anyway, it doesn't make a difference.

Good to go!


paddle.trainer .config_parser

I0831 15:27:18.271451 18844 Util.cpp:113] Calling runInitFunctions
I0831 15:27:18.271617 18844 Util.cpp:126] Call runInitFunctions done.
F0831 15:27:18.277050 18844 PythonUtil.cpp:120] Check failed: (pyModule) != nullptr Python Error: <type 'exceptions.ImportError'> : No module named paddle.trainer.config_parser
Python Callstack:
Import Python Modulepaddle.trainer.config_parser failed.

I think this error is because I use the sudo make install ?
when I use ipython , I can import paddle.trainer.config_parser well , but I can't train by ./train.sh ,
?

paddlepaddle has not been tested against anaconda python. Can you check which python paddlepaddle is linked with by looking at build/CMakeCache file?

Maybe you need install PaddlePaddle's python package manually. Try to file paddle*.whl in your install directory. It normally at "/usr/local/opt/paddle/share/wheels/" if you did not change DESTDIR or CMAKE_INSTALL_PREFIX.
During make process, PaddlePaddle will install some python package to default python interpreter in system, not anaconda.

@emailweixu
I added this  to build:
cmake -DWITH_GPU=ON -DWITH_DOC=OFF -DWITH_SWIG_PY=ON -DCMAKE_INSTALL_PREFIX=/home/youhost -DPYTHON_INCLUDE_DIR=/home/youhost/anaconda/include/python2.7 -DPYTHON_LIBRARY=/home/youhost/anaconda/lib/libpython2.7.so ..
From cmake file , I found this:
if(WITH_PYTHON)
find_package(PythonLibs 2.7 REQUIRED)
find_package(PythonInterp REQUIRED)
find_package(NumPy REQUIRED)
endif()
so to make python find my python libs I added :  -DPYTHON_LIBRARY=/home/youhost/anaconda/lib
ref: https://cmake.org/cmake/help/v3.0/module/FindPythonLibs.html
build successed but  But still has this error ...
F0831 20:01:44.284020 28877 PythonUtil.cpp:120] Check failed: (pyModule) != nullptr Python Error: <type 'exceptions.ImportError'> : No module named paddle.trainer.config_parser
太多坑了啊.
Another: gflags no found .
Hope your team slove this , Thank you every much~

@reyoung  yes .  pypaddle_.whl  and paddle_.whl in my install path.

-- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available.
-- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake.
-- Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components.

@mingtop Just run anaconda's pip install these wheels, and will solve this problem

I'm having the  same problem when calling train.sh

@mingtop @Xiaomi2008  I have tested against anaconda2 python, I can run train.sh successfully.  And the  python package is installed in  /home/xxx/anaconda2/lib/python2.7/site-packages/paddle-0.8.0b0-py2.7.egg on my machine which is CentOS.
@Xiaomi2008 You may need to install PaddlePaddle's python package manually as @reyoung mentioned above.

@qingqing01
I used  pip install   pypaddle_.whl and paddle_.whl , the problem is still exist and I  use  python2.7, not  anaconda python. please help.

@Xiaomi2008 You should ensure that the python used for compiling and running PaddlePaddle is the same. Then if you have install paddle-xxx.wh successfully.  You maybe see the package like: your/python/path(or system lib path)/lib/python2.7/site-packages/paddle-0.8.0b0-py2.7.egg/.
You can test it as follows. If there is no problem when importing, then installation is successful and I think it will be ok when run train.sh.
python
import paddle.trainer.config_parser

@qingqing01 I did see  paddle in xxx/lib/python2.7/site-packages/paddle-0.8.0b0-py2.7.egg/
and I import paddle.trainer.config_parser with no error.  But still got No this error when running train.sh.
BTW, my system is Ubuntu 14.04 server

@Xiaomi2008 Will the latest PaddlePaddle get this error? We did some fixes in 674d69ce57ff4d05aad20ddca2d91bc56870a183 .

还是有 ImportError: No module named _sysconfigdata_nd的错误
需要将paddle\utils\PythonUtil.cpp的
Py_SetProgramName(argv[0]);
改为
Py_SetProgramName((char*)"python");
就正常了


Create shared code and lib for vmci_client.c and vmci_server.c

Currently the code there is copy-n-pasted. Should be a shared lib.
It could be handled when cleaning up communication for #35

Related to this https://github.com/vmware/docker-volume-vsphere/issues/439 and https://github.com/vmware/docker-volume-vsphere/issues/439 might be a better way to do this.

@lipingxue, can you review the current way in which the VMCI libs are used (based on changes for skylight) and close/retain this issue.


🚧 Remove aria attributes on radio buttons

What

The aria-describedby attribute on radio buttons with heading and hint text has been removed.
Why

Using a skip to content link on a page with a radio button with page heading and hint causes VoiceOver on Mac to read out the hint text out automatically.
This has led to strangeness - for example, on this question asking about a letter from the NHS reads out "The title of the letter is ‘Important advice to keep you safe from coronavirus’" straight after using the 'skip to content' link. I don't think that would make sense to a user as they don't have the context of the page heading.
I think that this is caused by the aria-describedby attribute - but pointing that attribute at the heading caused nothing to be read out when the skip to content link was used.
Using aria-describedby seems to have made the experience worse. Bearing in mind the First rule of ARIA use I've removed the attribute. This means that nothing is automatically read out in VoiceOver - I think that this is preferable to a hint being read automatically with no context.
Visual Changes

No visual changes.

Out of interest, which browser are you testing with?

I think this might be related to this bug:
https://bugs.webkit.org/show_bug.cgi?id=191742

Out of interest, which browser are you testing with?

Safari

At the minute, my personal preference would be to leave this as-is.
I can see how the description being read out when using the skip link could be confusing, but I'd expect that users would continue to explore the page and would be able to understand it. Removing the association between the hint and the fieldset means the hint is no longer read out when tabbing to the first control in the fieldset.
Secondly, assuming this is happening with the error message as well (which I expect is the case, as it uses the same elements and markup), making this change will only 'fix' the description being read when using the skip link when only the hint is present – it'll still be happening when there's an error message, and I'm less convinced still about removing that association.
In terms of the 'first rule of ARIA', that's essentially saying that if there's a native way to provide the same semantics, use that instead. However, in this instance, removing the aria-describedby association does not leave you with the same semantic structure, as the hint is no longer associated with the fieldset.
I'd be very keen to hear @selfthinker's thoughts on this too.
If you do decide to make this change, we'll need to consider whether it's something we should upstream to the Design System. I'd prefer the two stay in sync as much as possible for established components.

This PR is relevant, for some history and context as to why this relationship exists and the alternatives that we tested:
https://github.com/alphagov/govuk-frontend/pull/681

Having tested this more thoroughly in macOS VoiceOver with Safari, I agree that it then creates a much worse overall experience by removing the link between the form and the hint text so that the hint text is not read aloud when a form field is focused.
Thanks for the discussion everyone - both in this discussion and outside of it. I really appreciate your time in looking at this 🙏