Automate gem build and deployment with github actions

I'd like to set up a github actions workflow with manual triggering to cut a new release of tailwindcss-rails.
We should use the trusted publishing capabilities of https://github.com/rubygems/release-gem

I chatted with @segiddins about this yesterday and have an idea of how to approach that I'd like to explore in https://github.com/flavorjones/ruby-c-extensions-explained first.

Also let's look at https://github.blog/2024-05-02-introducing-artifact-attestations-now-in-public-beta/


build on windows with csharp interface failed

cmake -G"Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=Release -DBUILD_META_EXAMPLES=OFF -DENABLE_TESTING=OFF -DINTERFACE_CSHARP=ON ..
the cmake out is ,don't know why it  Could NOT find CSharp
-- Found the following C# .NET versions: v4.0.30319, v3.5, v2.0.50727
CMake Error at D:/soft/cmake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find CSharp (missing: CSHARP_INTERPRETER) (found version
  "v2.0.50727")
Call Stack (most recent call first):
  D:/soft/cmake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindCSharp.cmake:66 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  src/interfaces/csharp/CMakeLists.txt:1 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!
See also "D:/source/shogun/build/CMakeFiles/CMakeOutput.log".
See also "D:/source/shogun/build/CMakeFiles/CMakeError.log".

oh we never tried C# on windows. would be great to get it working. as far as i can see our .NET cmake script is waaaaay too old. lemme look into it a bit.

I make a manual build C# on windows ,but the procedure is ugly mod ,comment out a few line code in cmake script.
it will be great if  you can modify the  .NET cmake script .

this is my mod ,
diff --git a/cmake/FindCSharp.cmake b/cmake/FindCSharp.cmake
index 10b7fd55b..3579719d4 100644
--- a/cmake/FindCSharp.cmake
+++ b/cmake/FindCSharp.cmake
@@ -64,12 +64,12 @@ endif( )

 FIND_PACKAGE_HANDLE_STANDARD_ARGS(CSharp FOUND_VAR CSHARP_FOUND
-                                  REQUIRED_VARS CSHARP_TYPE CSHARP_COMPILER CSHARP_INTERPRETER
+                                  REQUIRED_VARS CSHARP_TYPE CSHARP_COMPILER
                                   VERSION_VAR CSHARP_VERSION)

-mark_as_advanced( CSHARP_TYPE CSHARP_VERSION CSHARP_COMPILER CSHARP_INTERPRETER CSHARP_PLATFORM CSHARP_SDK )
+mark_as_advanced( CSHARP_TYPE CSHARP_VERSION CSHARP_COMPILER CSHARP_PLATFORM CSHARP_SDK )

 # Set the USE_FILE path
 # http://public.kitware.com/Bug/view.php?id=7757
 get_filename_component( current_list_path ${CMAKE_CURRENT_LIST_FILE} PATH )
-set( CSHARP_USE_FILE ${current_list_path}/UseCSharp.cmake )
\ No newline at end of file
+set( CSHARP_USE_FILE ${current_list_path}/UseCSharp.cmake )
diff --git a/cmake/FindDotNetFrameworkSdk.cmake b/cmake/FindDotNetFrameworkSdk.cmake
index 0b321b411..35e2c59e9 100644
--- a/cmake/FindDotNetFrameworkSdk.cmake
+++ b/cmake/FindDotNetFrameworkSdk.cmake
@@ -77,15 +77,16 @@ if( CSHARP_DOTNET_FOUND )
   # Do not force, so that the user can manually select their own version if they wish
   if ( DEFINED CSHARP_DOTNET_COMPILER_v2.0.50727 )
     # If available, select .NET v2.0.50727 (this is the minimal version as it supports generics, and allows use of VS2008)
-    set( CSHARP_DOTNET_VERSION "v2.0.50727" CACHE STRING "C# .NET compiler version" )
+    set( CSHARP_DOTNET_VERSION "v4.0.30319" CACHE STRING "C# .NET compiler version" )
   else( )
     # Select the highest version (first in reverse sorted list)
-    list( GET CSHARP_DOTNET_VERSIONS 0 csharp_dotnet_version_temp )
-    set( CSHARP_DOTNET_VERSION ${csharp_dotnet_version_temp} CACHE STRING "C# .NET compiler version" )
+    #list( GET CSHARP_DOTNET_VERSIONS 0 csharp_dotnet_version_temp )
+    #set( CSHARP_DOTNET_VERSION ${csharp_dotnet_version_temp} CACHE STRING "C# .NET compiler version" )
+    set( CSHARP_DOTNET_VERSION "v4.0.30319" CACHE STRING "C# .NET compiler version" )
   endif( )
   mark_as_advanced( CSHARP_DOTNET_VERSION )
 endif( )

 # Set USE_FILE
 get_filename_component( current_list_path ${CMAKE_CURRENT_LIST_FILE} PATH )
-set( DotNetFrameworkSdk_USE_FILE ${current_list_path}/UseDotNetFrameworkSdk.cmake )
\ No newline at end of file
+set( DotNetFrameworkSdk_USE_FILE ${current_list_path}/UseDotNetFrameworkSdk.cmake )
diff --git a/data b/data
index d62d2a31f..7fecaa29f 160000
--- a/data
+++ b/data
@@ -1 +1 @@
-Subproject commit d62d2a31ffdcabaf86c6b58d4559a8af48fefa41
+Subproject commit 7fecaa29f5a2eb34191b05613e7f7ce717e64d0b
diff --git a/src/gpl b/src/gpl
index 31b7d62ee..0b5c4f4c6 160000
--- a/src/gpl
+++ b/src/gpl
@@ -1 +1 @@
-Subproject commit 31b7d62eed794f82f45f6aacc1443819e2c9a48e
+Subproject commit 0b5c4f4c616205c8765163c2dc03474656f0f7b6

after these mod ,run
cmake -G"Visual Studio 15 2017 Win64" -DCMAKE_BUILD_TYPE=Release -DBUILD_META_EXAMPLES=ON -DENABLE_TESTING=OFF -DINTERFACE_CSHARP=ON -DCSHARP_DOTNET_VERSION="v4.0.30319"  ..

it will generated makefile successfully  ,but  still can't build the .net dll , need manually execute:
setlocal
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\csc.exe /t:library  /out:shogun.net.dll *.cs


Reverted to original datasource Grafana

Related issue: https://github.com/stolostron/backlog/issues/19142.
Signed-off-by: dislbenn<EMAIL_ADDRESS>

/approve


Get the raw samples from a node

During model interpretation, if you see an interesting leaf/node, a very useful functionality would be to see the raw samples from that particular node.  Having this samples in a dataframe, you can simple browse through them to check theirs similarities/characteristics or apply any kind of analysis that you need.

Sounds useful to me :)


Backport lift release fixes to Iron

This PR backports the fixes in #369 to the iron branch. Hopefully this addresses https://github.com/open-rmf/rmf/discussions/549

This now includes the fixes from #393 as well.

We don't expect the style check CI to pass on noble for this branch, so we can ignore those failures.


Modal should follow scroll (fixes #26)

It looks sluggish on gif, but in fact is pretty smooth.

I added this to the demo modal box to test modal that is higher then screen:
<ModalFooter>
  {submitButton}
  <Button onClick={this.toggleModal} type="link-cancel" disabled={this.state.formProcessing}>Cancel</Button>
</ModalFooter>
<div style={{background: 'linear-gradient(to bottom, rgba(201,222,150,1) 0%,rgba(138,182,107,1) 44%,rgba(57,130,53,1) 100%)', height: window.innerHeight}} />

And it works fine with modal that is smaller then window (easy case)

Nice work @nkbt, love the gifs.
I kind of think we should block scrolling on the body entirely (scroll the dialog if it's too high to fit in the window) but this is a great solution unless we do that later. Thanks!

Awesome. I reckon it's a matter of opinion - I personally like when my main page is not blocked in any way and modal just follows the screen (allowing me to scroll whole thing if modal is too high to fit in the window). But I would not definitely insist on this solution. It should be easy to change it.
And by the way, if you specify top in props, it completely overrides this behavior, so modal will not follow.

PS: I use licecap to make gifs.

@nkbt good call, if we end up implementing that we should make it configurable via a prop.


[WIP] Add an additional array of arguments to the simple command event infomap

As the title implies this adds an additional (more sane) set of args starting after the command to the infomap emitted by commands. It may need some additional formatting so it looks nicer.

I'm not sure why I didn't merge this. Nice!


Decrease repo size

Remove version history from plots?

removing the notebook outputs should help. need to get rid of their history, unfortunately.


Guidance on using ConfigureAwait(...) in async life-cycle methods in Razor component

The Microsoft.CodeAnalysis.FxCopAnalyzers analyzers recommends (considering) calling ConfigureAwait(...) on awaited tasks.
With that in mind, I would like some guidance on what are the recommended thing to do in the async life-cycle methods, in the  context of a Razor component that inherits from ComponentBase?
Is the default (e.g. ConfigureAwait(true)) always the right thing, or is there a benefit to explicitly using ConfigureAwait(false) sometimes, e.g. in OnAfterRenderAsync?
Thanks, Egil

Somewhat relevant to this discussion: ASP.NET Core already takes some of that burden away from the developer in the MVC stack, where it doesn't matter if you use ConfigureAwait in action methods (it'll always behave as false and calling ConfigureAwait explicitly behaves as a no-op).
So the underlying question here is "Does the same apply to Blazor?"

Thanks for contacting us, @egil.
Our guidance is to simply not use ConfigureAwait in Blazor.

Thanks for contacting us, @egil.
Our guidance is to simply not use ConfigureAwait in Blazor.

Thanks @mkArtakMSFT. Does that include all parts of a Blazor app, e.g. also services, or just the ones directly related to components or the render tree?

Just for UI related scenarios. For non-UI impacting scenarios (query a data store or a service) ConfigureAwait(false) is useful.

Ok, thanks!


TypeError: argument must be an int, or have a fileno() method while trying to use send_file

Hi.
I have data in the mongodb:
db.fs.files.find()
{ "_id" : ObjectId("5da4cee17ad6b383c8c3f7ed"), "filename" : "kot_accounts_2019-09-filtered.xlsx", "contentType" : "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "md5" : "3095642c99eafb93e2c0d35ac5dd07f5", "chunkSize" : 261120, "length" : NumberLong(76937), "uploadDate" : ISODate("2019-10-14T19:39:13.770Z"), "file_type" : "list", "round_id" : "kot_2019-10-14_19:43:46", "mess" : "test2", "mess_type" : "prefix" }

And trying to send it to browser:
@app.route('/getdbfile/<path:filename>', methods=['GET',])
def getdbfile(filename):
    res = mongo.send_file(filename)
    return res

But if I trying to get file with filename kot_accounts_2019-09-filtered.xlsx I'm getting the error:
TypeError: argument must be an int, or have a fileno() method.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2463, in __call__
    return self.wsgi_app(environ, start_response)
  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2449, in wsgi_app
    response = self.handle_exception(e)
  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1866, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.6/dist-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2446, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1951, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1820, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.6/dist-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1949, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1935, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "./app.py", line 388, in getdbfile
    res = mongo.send_file(filename)
  File "/usr/local/lib/python3.6/dist-packages/flask_pymongo/__init__.py", line 198, in send_file
    data = wrap_file(request.environ, fileobj, buffer_size=1024 * 255)
  File "/usr/local/lib/python3.6/dist-packages/werkzeug/wsgi.py", line 530, in wrap_file
    return environ.get("wsgi.file_wrapper", FileWrapper)(file, buffer_size)
SystemError: <built-in function uwsgi_sendfile> returned a result with an error set

What I'm doing wrong?

This looks like a bug, or rather a mismatched expectation between werkzeug (which states that the object passed to wrap_file() must have a read() method only) and uwsgi, which seems to want an actual file with fileno().
This blog suggests a potential work-around, which you might try.

Thanks a lot, it helped! And thank you for the great library! I could create PR to insert this info to your doc but didn't find where is it, sorry.

Glad that worked! If you'd like to add a note, we can maybe add a "troubleshooting" section to https://github.com/dcrosta/flask-pymongo/blob/master/docs/index.rst, I'd accept a PR for that.

Excellent, I'll do it.


Investigate using React's new Context API

Pros:
???
Cons:

More complexity: 2 ways of doing things
No support for old React versions
Collisions if another component also uses context

https://reactjs.org/docs/context.html

One benefit of the new context-api is not having to pass props through component-hierarchies which is ugly, error-prone and increases coupling.
Not sure though how undux rectifies some of these problems to begin with.

@cjk With Undux, you simply wrap each component that uses the store with withStore. This makes it clear where store is coming from, and exactly which components are connected.
See https://undux.org/#quick-start/2.


chore: Move flake8 config to toml

Codecov Report

Merging #3 (c088497) into main (35188a2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #3   +/-   ##
=======================================
  Coverage   41.97%   41.97%
=======================================
  Files           8        8
  Lines         436      436
=======================================
  Hits          183      183
  Misses        253      253

Continue to review full report at Codecov.

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


Merge social-coding and software-licensing

What do you mean by "merge" I had the feeling social-coding would replace software-licensing.

What I meant by "merge" is "carefully replace" :-)

Perfect!

Done - I have deprecated the older slide set.


Setting root to '/' throws an "Invalid regular expression" error

I want to set the root to / so that the activeClassName is set properly for nested routes within the root(because currently if you have a route definition for /, and then other routes starting with /, ex: /cats and you navigate to /cats, both anchors to / and /cats will have the active class), but I get this exception thrown:
Invalid regular expression: /^\/: \ at end of pattern

being thrown by this line: https://github.com/vuejs/vue-router/blob/dev/src/history/html5.js#L14

Have a look at the exact option of v-link:  http://vuejs.github.io/vue-router/en/link.html
usage:
This way the link will only be active if the route path is matched exactly, and won't be highlighted when the user is at /cats


Proper form validation rules

When generating controllers, the fields in _validate_input() only contains a rule of required. It must consists of rules based on the field's properties.

Confirmed as fixed in https://github.com/rougin/combustor/pull/20. Instead of writing logic in the controller, it was implemented in the Model class as part of Form Validation implementation in Credo and Wildfire packages.


resetStores util function

PR Checklist
Please check if your PR fulfills the following requirements:

[X] The commit message follows our guidelines: https://github.com/datorama/akita/blob/master/CONTRIBUTING.md#commit
[X] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: 104
What is the new behavior?
resetStores function is now available via store-utils, to allow resetting all stores to their initialState as configured by the user.
the function have an excluded property as an option, an array of strings that will exclude the specific store names from the reset process.
Does this PR introduce a breaking change?
[ ] Yes
[X] No

Other information

:tada: This PR is included in version 1.17.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


[META] Update all instances of admin:admin across different repositories

Description
There are many instances of admin:admin credentials usage across different repositories. They will be affected by the change to replace hard-coded admin password with a dynamic value. This issue requests fixing all those instances of admin credentials to address this breaking change.
Acceptance Criteria

[ ] All hard-coded instances across repos are addressed
[ ] Ensure that tests, if any, work as expected

Tasks
Search and update the references to admin:admin, password admin and demo install script in following repos, as required:
(to track work done, tag the PR next to the repo name)

[ ] OpenSearch-Dashboards

[ ] opensearch-py <- https://github.com/opensearch-project/opensearch-py/pull/631

[ ] opensearch-js <- https://github.com/opensearch-project/opensearch-js/pull/669

[x] security <- https://github.com/opensearch-project/security/pull/3844

[ ] opensearch-php

[ ] opensearch-go

[ ] opensearch-benchmark

[ ] project-website

[ ] cross-cluster-replication

[ ] terraform-provider-opensearch

[ ] opensearch-rs

[ ] documentation-website <- https://github.com/opensearch-project/documentation-website/pull/5887

[ ] opensearch-k8s-operator

[ ] opensearch-ruby

[ ] data-prepper

[ ] opensearch-build-libraries

[ ] sql-odbc

[ ] helm-charts

[ ] opensearch-migrations

[x] alerting-dashboards-plugin <- https://github.com/opensearch-project/alerting-dashboards-plugin/pull/849

[ ] opensearch-build

[ ] reporting-cli

[x] index-management-dashboards-plugin <- https://github.com/opensearch-project/index-management-dashboards-plugin/pull/954

[x] security-dashboards-plugin <- https://github.com/opensearch-project/security-dashboards-plugin/pull/1696

[ ] opensearch-py-ml

[x] dashboards-observability <- https://github.com/opensearch-project/dashboards-observability/pull/1296

[ ] opentelemetry-demo

[ ] sql-cli

[ ] opensearch-dashboards-functional-test <- https://github.com/opensearch-project/opensearch-dashboards-functional-test/pull/978

[ ] search-processor <- https://github.com/opensearch-project/search-processor/pull/214

[ ] logstash-output-opensearch <- https://github.com/opensearch-project/logstash-output-opensearch/pull/233 (need to ask maintainer to understand if this repo is archived)

[ ] logstash-input-opensearch  <- https://github.com/opensearch-project/logstash-input-opensearch/pull/55 (need to ask maintainer to understand if this repo is archived)

[ ] opensearch-cluster-cdk <- https://github.com/opensearch-project/opensearch-cluster-cdk/pull/85

[x] docker-images <- archived

[ ] performance-analyzer-rca <- https://github.com/opensearch-project/performance-analyzer-rca/pull/526

[ ] opensearch-net <- https://github.com/opensearch-project/opensearch-net/pull/480

[x] opensearch-net-abstractions <- archived

[Triage] This is a meta tracking issue for replacing default credential usage in the cluster.

Relevant line in opensearch-build repo: https://github.com/opensearch-project/opensearch-build/blob/main/scripts/default/integtest.sh#L92

CI references to admin:admin :https://github.com/search?q=org%3Aopensearch-project+admin%3Aadmin&type=code&p=1

https://github.com/search?q=org%3Aopensearch-project+admin%3Aadmin+repo%3Aopensearch-project%2Fopensearch-js&type=code&p=1, solved by: https://github.com/opensearch-project/opensearch-js/pull/669

https://github.com/opensearch-project/alerting-dashboards-plugin/pull/849

https://github.com/opensearch-project/index-management-dashboards-plugin/pull/954

What version of OpenSearch will have the new password? Data Prepper actually has quite a few occurrences of the password admin. Search for password=admin, password: admin, password: "admin".

@dlvenable it will be for version 2.12 and above

https://github.com/opensearch-project/sql-cli/pull/25

https://github.com/opensearch-project/reporting-cli/pull/56

https://github.com/opensearch-project/cross-cluster-replication/pull/1298

https://github.com/opensearch-project/terraform-provider-opensearch/pull/138

https://github.com/opensearch-project/opensearch-ruby/pull/217

https://github.com/opensearch-project/opensearch-rs/pull/234

https://github.com/opensearch-project/opensearch-go/pull/449

https://github.com/opensearch-project/project-website/pull/2501

Most references in this repo: seem to disable install demo config: https://github.com/opensearch-project/opensearch-benchmark/blob/main/osbenchmark/resources/docker-compose.yml.j2#L18, I don't think we need to do anything for this repo, but maybe we should make an issue and tag maintainers.

This one is testing that the jenkins builds are working with admin:admin, I think this repo doesn't need changes: https://github.com/search?q=repo%3Aopensearch-project%2Fopensearch-build-libraries admin%3Aadmin&type=code, but we need to change in the build repo so that the job is configured to create distributions with admin:admin

https://github.com/opensearch-project/opensearch-php/actions/runs/7250326156/job/19750248987 - opensearch-php is running without security it seems like, so no changes necessary

https://github.com/opensearch-project/opensearch-build/pull/4302 - this means that all repos which still need to maintain their own integtest.sh files should be switching to admin:myStrongPassword123! as new default creds

https://github.com/opensearch-project/opensearch-php/issues/172

https://github.com/opensearch-project/opensearch-migrations/pull/480

https://github.com/opensearch-project/sql-odbc/issues/65

[1/4/2024] Current status:
PRs we are blocked for reviews on (build related):
https://github.com/opensearch-project/opensearch-build-libraries/pull/357
https://github.com/opensearch-project/helm-charts/pull/504
https://github.com/opensearch-project/helm-charts/pull/503
https://github.com/opensearch-project/terraform-provider-opensearch/pull/138
https://github.com/opensearch-project/opensearch-build/pull/4302
https://github.com/opensearch-project/opensearch-build/pull/4250
https://github.com/opensearch-project/opensearch-build/pull/4274
https://github.com/opensearch-project/opensearch-build/pull/4279
https://github.com/opensearch-project/opensearch-k8s-operator/pull/692
Other PRs we should merge before 2.12.0 release (plugins):
https://github.com/opensearch-project/opensearch-dashboards-functional-test/pull/981 (In progress)
https://github.com/opensearch-project/cross-cluster-replication/pull/1298 (In progress)

[1/10/2024]
PRs blocked on reviews:

Decision on RPM/DEB : https://github.com/opensearch-project/opensearch-build/pull/4332

adding @bbarani to keep this in his radar

Right now we have 34 non-compliant/unknown issues

Right now we have 27 non-compliant/unknown issues

This number is down to 22 now.

For AD:
pr for addressing anomaly-detection: https://github.com/opensearch-project/anomaly-detection/pull/1134

For AD-Dashboard:
No action needed as there's no reference of using the admin:admin credential

Please help updating AD and AD-Dashboard status in the Task sheet in the issue description above (I cannot edit it..

Please help updating AD and AD-Dashboard status in the Task sheet in the issue description above (I cannot edit it..

Already updated.

Please help updating Neural Search status in the Task sheet in the issue description above (I cannot edit it.)
cc: @DarshitChanpura

[Update: 01/24/'24]

Status
Count

Will be merged post release ⌛
10

In Progress 🕐
8

No updates ❌
11

Complete ✅
21

[Update: 01/26/'24]

Status
Count

Will be merged post release ⌛
10

In Progress 🕐
9

No updates ❌
5

Complete ✅
26

[Update: 01/29/'24]

Status
Count

No updates ❌
2

In Progress 🕐
7

Will be merged post release ⌛
9

Complete ✅
32

[Update: 01/31/'24]

Status
Count

❌ No updates
2

🕐 In Progress
7

⌛ Will be merged post release
9

✅ Complete
33

[Update: 02/01/'24]

Status
Count

❌ No updates
1

🕐 In Progress
4

⌛ Will be merged post release
10

✅ Complete
36

[Update: 02/02/'24]

Status
Count

❌ No updates
1

🕐 In Progress
4

⌛ Will be merged post release
10

✅ Complete
36

[Update: 02/05/'24]

Status
Count

❌ No updates
1

🕐 In Progress
4

⌛ Will be merged post release
10

✅ Complete
37

[Update: 02/06/'24]

Status
Count

❌ No updates
0

🕐 In Progress
4

⌛ Will be merged post release
9

✅ Complete
40

[Update: 02/07/'24]

Status
Count

❌ No updates
0

🕐 In Progress
2

⌛ Will be merged post release
9

✅ Complete
42

[Update: 02/07/'24]

Status
Count

❌ No updates
0

🕐 In Progress
0

⌛ Will be merged post release
11

✅ Complete
42

Next update will be post 2.12 release. This task is no longer a blocker for 2.12

[Update: 02/22/'24]

Status
Count

❌ No updates
0

🕐 In Progress
0

⏳  Will be merged post release
9

✅ Complete
44

This is the last update on this issue. The maintainers of PRs with ⏳ status have been nudged to bring this across the finish line. Closing this as the feature has been delivered in 2.12.


Feedback approval

To help combat spam and bots, it would be helpful to have an "approve" functionality.
Please create a public version of this page that does not have admin capability.  Users viewing this public page can only see feedback that has been approved, and they do not have delete capability.
The existing page can be considered the "admin" dashboard.  Add an approval option on each feedback.  There doesn't need to be any authentication mechanism on the admin dashboard.
Acceptance Criteria

Modify root page
a. Add capability to mark each feedback as approved or declined
b. No need to provide authentication
Create new page
a. Visually and functionally similar to admin page, but with limited functionality
b. Remove "delete" functionality
c. Only show feedback that has been marked as approved
d. Average review formula does not included declined reviews
e. Review count does not include declined reviews

Hi Parris,
I have uploaded my work in the branch named "1-feedback-approval".  Please let me know if I need to do anything else here in Github.  Thank you

Hi Parris,
I just wanted to let you know that I have added in and fixed a few other small issues over the last few days.  I look forward to hearing from you.  I would love the opportunity to come work with your team!


Error thrown while subscribing stream in user profile modal.

Repro:

Open user profile modal and select a stream from dropdown in "Streams" tab.
Open "Manage user" tab.
Open "Streams" tab again and click on "Subscribe".

@Vector73  it's working fine in my case
I logged in as user.
followed above instruction to reproduce error but when I subscribed, it was successful.

Can you post a video of that?

Screencast from 28-10-23 11:52:39 PM IST.webm

That's not the correct way of reproducing this issue. You have to login as owner and open other user's profile modal.
After selecting the stream click on "Manage user" tab and then again click on "Streams"  tab. Then click on "Subscribe".

Screencast from 29-10-23 12:28:08 AM IST.webm

It occurs on other user's profile not your own. Your own modal doesn't have Manage user panel. Click on any user avataar icon in recent conversations.

i got this error

Thanks for the report! Flagged on CZO.

@Vector73 are you planning to submit a PR to fix this?

I am trying to solve this issue but am unable to find a solution. It looks like there is some issue while re-rendering dropdown widget in "Streams" tab when navigating between tabs.

@zulipbot claim

Work in progress.

@zulipbot claim


element-ui  after calling the popup, I found that the attributes of the html tag (such as lang="en-US") were deleted?

https://github.com/ElemeFE/element/issues/12378#issuecomment-413163214
Element UI version
2.4.6
OS/Browsers version
GOOGLE
Vue version
2.5.17
Reproduction Link
https://github.com/liuhuanhui/bug01/
Steps to reproduce
https://github.com/liuhuanhui/bug01/
F12, run, check the HTML tag, and then click the button on the page.

This question is available on Nuxt community (#c120)

Same Problem Here,
I try this setting of nuxt-i18n below, solve the problem
seo: false

Hi all, there seem to be an issue with the mixin that handles SEO in nuxt-i18n, it causes some issues with meta tags and other things in the <head>, I'm not sure what's the best way to fix this yet, I'll work on it asap. All suggestions/PR are very welcome!

Thank you, I will also see how to solve this problem.
@paulgv

@trylovetom https://github.com/liuhuanhui/nuxt-i18n/commit/8cb7764d60b7ff192904f43b5db2ebc2c4cb9ade
I used a very good way of repair.

@liuhuanhui probably solved with #154


[CD] update pypi description, setup.py

Description
update pypi description, setup.py
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] Changes are complete (i.e. I finished coding on this PR)
[x] To the best of my knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x] update pypi description to include nightly manifest link
[x] update setup.py

retriggered unix gpu


USB Record? XR12

I am having a small issue setting up a simple record start and stop function.
The X-AIR Edit app does have the function in their so I take it is possible to send the command to the system. I just don't know which option in companion I need to use to set this feature up. I noticed their is no USB record button :).
What I did notice is:
$(xair:f_rtn_aux_d) | USB/Aux In dB | +0.4 -- | -- | --
$(xair:f_rtn_aux_p) | USB/Aux In % | 76
$(xair:l_rtn_aux) | USB/Aux In Label | Aux
So I take it I would need to use $(xair:l_rtn_aux).
I know on the X32 has /-stat/tape/state/4

@redimongo Those variables are for the USB playback status.
The X18 has RCA in/out connectors instead of the USB player/recorder which is the reason for the dual name.
The recording actions are called 'Tape Operation'. Select which operation (Play/Record/Stop) there.
You will need to configure the recording source in XAir Edit.


Unstyled css flashes while using vue-styled-components

Version
v1.4.0
Reproduction link
https://fork-glider.glitch.me/
Steps to reproduce

Go to the link provided https://fork-glider.glitch.me/

I use vue-styled-components for my styles but instead of being rendered properly, they flash the unstyled component before.
Live example here: https://fork-glider.glitch.me/
Source: https://glitch.com/edit/#!/fork-glider
My component looks like:

<template>

    <app-title>Welcome!</app-title>
    <router-link to="/about">About page</router-link>

</template>

Here is a quick gif reproducing the issue:

What is expected ?

Title shows styled size and color

What is actually happening?

Title flashes original size and color before changing to styled one.

(As this problem is not happening while using plain css, I am wondering if the issue has to do with the run-time of the script tag. 🤔)

This bug report is available on Nuxt community (#c7294)

same problem

We need to figure out how vue-styles-components handles the SSR.
For now you can wrap with no-ssr to avoid server rendering.

<template>
  <no-ssr>

      <app-title>Welcome!</app-title>
      <router-link to="/about">About page</router-link>

  </no-ssr>
</template>

I think current vue-style-component doesn't completely support SSR yet.
Because they don't handle serverRule in ComponentStyle or StyledComponent now

@clarkdo Are you going to open a issue in vue-styled-components or should I?

@AlexeyShaykov has opened an issue there, so we can track it at that ticket
https://github.com/styled-components/vue-styled-components/issues/52

Thanks @clarkdo, I will keep track of this and try to help as much as I can.


feat(followUp): add followUp() for slash and message commands

Please describe the changes this PR makes and why it should be merged:
This PR adds the followUp() function to the CommandRunOptions and inhibitors.
#188
Status and versioning classification:
Please move lines that apply to you out of the comment:

I know how to update typings and have done so, or typings don't need updating
This PR changes the library's interface (methods or parameters added)

Tested?

Yes


Tweak in build from source instructions

Pre-merge checklist
Performance:

[ ] Compare zig benchmark on linux before and after this pr.# benchmark results before
...

# benchmark results after
...

OR

[X] I am very sure this PR could not affect performance.

Wrong fork :]


Feature Request: optionally output JSON formatted nfo files for use in XBVR

XBVR's only JAV metadata souce is R18, which hasn't been updating VR releases since the beginning of June.  This means that users are unable to catalog new VR releases using XBVR.  However, one can use the "Import" function in XBVR to import JSON formatted metadata, that essentially tracks what Javinizer scrapes and saves as nfo files.
Here's an example of a proper JSON formatted "Content Bundle" that XBVR can ingest: https://files.catbox.moe/1hylzn.json
Bonus feature - optionally concatenate all scraped metadata from a javinizer search command into a single JSON file - XBVR is able to parse the individual titles from a "Content Bundle" which would allow users to skip some steps when importing batches of files as a single bundle rather than one at a time.  sivr content bundle.zip
Thanks for your consideration!

XBVR has resumed support for manually scraping JAV sites


Problem regarding Clustering on DEG's

Sir,
I want to create clusters on some found DEG'S. But there are more than one number of files stating DEG's from a RNaSeq raw count data taken in various length 10min, 20min,... Also in triplicates. What values should I pass to the dpgp script, so that it can cluster efficiently. One of the error I got was: can't convert float64 to int64.
Please help me.
Waiting for an early reply.

Just found the solution for the "convert float64 to int64" thing. This is a bug that triggers if none of the values in the table is floating point. Just add ".0" to one value and it works.


Add fixed point support using variants

You can set the type of the variable to "variant" and perform reads. Since variants automagically coerce data to the selected type, we can read fxp values and just autoconvert to dbl. Slow, yes, but better than not supporting them if we need them (which we don't right now).

I did some testing on this, and reading/writing fixed point values (either shared variables or UDVs) works correctly if we tell the Read/Write Variable function that it is actually accessing a DBL (wire a DBL constant to the data type input).  Looks like the function will already handle the conversion for us.

I have been attempting to make this change to our DCAF project. We have analog input modules on the cRIO-9030 going through the FPGA where we do some filtering. At the moment we are using the I16 data type for our UDV's but would like to switch to fixed point so we could use the calibrated voltages.
As a start I changed the analog input UDVs to fixed point and all related items in the DCAF configuration editor were set to doubles.
When I run the cRIO Main.vi I get a command error in the init.vi. The error occurs when the Open Variable Connection function  tries to open the variable location thinking it is a double. This appears to be the first place where the Tag data and actual variable come together.  Apparently the open variable connection function does not like the fixed point type.  Any recommendations?

A simple test in LV 2015 with a network published shared variable (though not a UDV) works well:
fxp.zip

Next is to try the UDV case.  This would be interesting, since typically UDV and regular shared variables share the same properties in terms of access.  I had assumed that they would work the same in this case as well, but perhaps that was incorrect.  Let's find out!

The shared variable works fine with LV 2016 as well.

I will try that one on Monday – I gave it a shot but forgot my FPGA is set for I16 so I’ll compile something simple and try it out. Thanks again!
Regards,
Steve
From: pollockm<EMAIL_ADDRESS>Sent: Friday, January 20, 2017 3:47 PM
To: LabVIEW-DCAF/Scan-Engine-Module
Cc: Smith, Steven (HC DI MI PNT CPM CE); Comment
Subject: Re: [LabVIEW-DCAF/Scan-Engine-Module] Add fixed point support using variants (#7)
Next is to try the UDV case. This would be interesting, since typically UDV and regular shared variables share the same properties in terms of access. I had assumed that they would work the same in this case as well, but perhaps that was incorrect. Let's find out!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/LabVIEW-DCAF/Scan-Engine-Module/issues/7#issuecomment-274175786, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUSCWLmuuYpjGbGPqxaljKo1CmJQ8lreks5rUR01gaJpZM4DYlDw.
This message and any attachments are solely for the use of intended recipients. The information contained herein may include trade secrets, protected health or personal information, privileged or otherwise confidential information. Unauthorized review, forwarding, printing, copying, distributing, or using such information is strictly prohibited and may be unlawful. If you are not an intended recipient, you are hereby notified that you received this email in error, and that any review, dissemination, distribution or copying of this email and any attachment is strictly prohibited. If you have received this email in error, please contact the sender and delete the message and any attachment from your system. Thank you for your cooperation

I ran another test and the FXP to DBL is not working properly. cRIO 9030 in hybrid mode.  I removed all FPGA processing, just analog inputs to FIFO and then wait for the scan engine and out to UDV. Everything to this point is FXP.
Using the DCAF Execution Service template for the project with the modified init.vi (Clear Errors.vi set for error -66212 following the Open Variable Connection.vi). Without the Clear Errors mod the shared memory won't even initialize due to a -66212 command fault.  DCAF configuration set with Scan Engine channel set: ni.var.io://localhost/User-Defined Variables/M1_AI0 as a Double.  Mapped to a Tag also set as a Double.
When I deploy and run this the UDVs are active (per Distributed System Manager). With a calibrated voltage input the voltages show up as an integer; tenths of a volt are rounded up or down but not displayed. The shared memory input/output files are initialized and the indexes update but the voltage values are not being written to the memory.
I took a few screen shots and put a bit more detail in a word doc that is attached.
Using FXP variables for AI modules testing 012317.docx

I can reproduce good behavior on my side without DCAF - if accessing a FXP shared variable, the automatic data conversion works without error.  If accessing a FXP UDV via the ni.var.io protocol, I get data type does not match error on opening the variable connection.  If accessing the same FXP UDV via the ni.var.psp protocol (going through the network published shared variable interface), I do not get any errors and can see the value update.
Try modifying the URL to use ni.var.psp instead of ni.var.io and see if you can reproduce the good behavior.

fxp test.zip

For the above workaround to work, you'll need to have the UDVs marked as 'Enable Network Publishing' in their properties dialogs.  This is the default for UDVs.

Modified the URLs to use ni.var.psp, network publishing enabled. I've got the same integer result for the UDVs in the Distributed System Manager and shared memory input/output files are not initializing.  I'll check out the fxp test.zip you sent.

The working theory at this point is the psp interface has a data conversion layer in its stack, whereas the udv interface does not.  The underlying data is the same, but one access method is permissive of different (but convertible) data type and the other is not.
If you can reproduce good behavior without DCAF, then it's just a matter of finding if there are any tweaks to DCAF necessary to allow that logic flow.  I'll see what I can find.

Reproduced good behavior with DCAF.  Project attached.  You'll of course need to change the IP addresses for the UDP module to work right, and the usual FPGA stuff to get it compiling on a 9030.

dcaf fxp.zip

Tested the fxp test.zip. Modified for my 9030, downloaded the FPGA and ran the RT vi interactively. It works!
The integer issue I was seeing may be because I did not redeploy the UDVs when I was doing my previous testing. Could have made all the difference - I will retest that tomorrow.

Let me know what you find.  If it works tomorrow for you I'll consider the issue closed, since it would have been shown to work on my machine and yours.

Several issues with dcaf fxp.zip.

Can't open the pcfg file - Error 1108 occurred at Unflatten From XML in Standard Engine Configuration.lvclass:from string.vi->NISE_CEF_TreeSerializer.lvlib:strings to memory.vi->NISE_CEF_HierarchyRepo.lvclass:Open.vi->Standard Editor.lvlib:Configuration Utility.vi, Possible reason(s): LabVIEW:  XML value text is illegal or out of range for type and/or format.
fxp fpga.vi is missing

FYI-UDV deployment was not the issue on my end, so something else is causing the integer UDV display in Distributed System Manager (type is correctly listed as fixed point).

dcaf fxp2.zip  FPGA VI was in the wrong directory - my mistake.  Regarding the config file, this is an error due to my test machine being on the pre-release version of DCAF that is in testing now.

I can see non-integer UDV values in system manager in 2016, but I don't have any sensors to pull actual data from.
With regard to the config file, that is an error that won't be corrected for a little while - I'd need to downgrade my system to the currently released one and build a new config file (the latest release introduces a change to the config file format such that old files will still work with the new release but new files won't work with the old release).
I'll spin up another test machine with the previous release and rebuild.

No problem and thanks. r.e. the integer UDV issue, it appears one of my controls had an improperly configured fxp type. I will recompile fpga and retest but hopefully that issue is solved.

Reproduced error 1108 on opening config from new version editor in old version runtime.  Opened new issue to track that one.  https://github.com/LabVIEW-DCAF/StandardEngine/issues/59

Integer issue is solved. Butterworth filter has a word length limit in multi-channel mode of 16. So 32,16 fxp was truncated to 16,16. As expected, not a DCAF issue.

I modified your dcaf fxp2 to eliminate the UI (we aren't planning to use one) and generated a new config file since I was unable to open the one you provided. I was able to demonstrate fxp data updates from the FPGA into the shared memory using the psp interface by running the cRIO Main.vi interactively. So it does appear to work, unfortunately, I have not been able to get it to run with everything fully deployed to the cRIO chassis but we are working on that.

Thank you for the help on this one but we are going to abandon this effort for now. In interactive mode the FXP ->DBL works fine. In deployed mode it does not work and continues to throw errors.  Instead we are implementing the fixed-point bitwise representation and will pass the FXP as an integer where it can be recovered in the C App running on the Linux RTOS.


Eliminate TODO about build script output dir

Changed

Rename $out/build_output directory to $out/build_script_output for clarity, remove TODO comment.

When PR #118 was merged, the final name for the directory containing the build script output wasn't finalized. We've settled on calling it build_script_output for the sake of clarity.

Referencing previous discussion we had here: https://github.com/tenx-tech/cargo2nix/pull/118#discussion_r456255704


love what you are building here. wondering if you are up for a colab?

So I'm the co-maintainer of ragas an evaluation tool for LLM pipelines and a contributor to llama_index, langchain and a few ml tools. We have been seeing that there is a solid use case for tracing, debugging and visualizing tools for people building LLM apps. I found your PR on llama_index and found it intriguing and was wondering if there was any possibility of a collaboration with your project and Ragas.
would love to have a chat 🙂

Hi @jjmachan) It would be great to improve hayloft functionality by evaluation features from ragas. For now I think about something like protocol so different LLM frameworks/tools wil be enable to visualize valuable stuff for developers. Let's discuss evaluation features I can implement in hayloft package.

honestly, the protocol is the key. Llamaindex already has something with callbacks which is neat. wandb also has the prompt and tracer concepts which are neat but if we can make something that is easy to use for devs to add into their systems and then make a solid UI experience for that. It would be valuable.
if you share your emailID I'd love to chat more - I'll keep this issue open for ragas integration in the time, what do you say?

I consider LLM apps will require more convenient approaches to track and improve them. I texted you to your email, let's discuss features for next milestones.


compliance entity value pattern is nullable when idlogicaltype is not…

… custom. fixes issue with validation of empty custom regex not happening on type change

Codecov Report

Merging #1172 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #1172   +/-   ##
======================================
  Coverage    8.42%   8.42%
======================================
  Files          63      63
  Lines        2338    2338
  Branches      499     499
======================================
  Hits          197     197
  Misses       2141    2141

Continue to review full report at Codecov.

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

Coverage remained the same at 26.531% when pulling a0f51e76123682cc2733e6651665fff3ec151afb on theseyi:custom-input-init into ff8897f1a5e285dd99e6408026eee5aef4ef7edb on linkedin:master.


Ensure that the Disqord migration has the latest changes.

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


Use keyboardDidShow/keyboardDidHide events for android

https://github.com/Andr3wHur5t/react-native-keyboard-spacer/issues/7
This will works since keyboardDidShow/keyboardDidHide events fires before android keyboard animation stops. We'll likely need to revisit this once https://github.com/facebook/react-native/issues/3468 is fixed.

Looks good, Thanks for the PR :+1:


Query on the labels of .npy file

Hi,
I was going through the data folder and opened the uttr_emots.npy in the train folder of ED dataset. While I understand that they are probability distributions of the 41 classes , is it possible to provide an order for them, or if I can say a mapping of the classes to the index. Or is it safe to assume that the distributions follow the same order as the Figure 2: Distribution of emotions/intents in the emotional dialogs in OpenSubtitles provided within the paper?

Hi,
Thanks for pointing out. I just uploaded the labels. Please see "emo_labels.txt".


Add ReferenceManager to azure-core

This PR adds ReferenceManager to azure-core which tracks an object reference until it is phantom reachable. Upon the referent becoming phantom reachable a cleanup action is ran, any exceptions thrown during cleanup are caught and ignored.

Closed for #24320


As a content editor, I want to create, edit, and delete content pages in wagtail so that I can manage new and existing site content.

testing notes
fyi - for the duration of this big upgrade (v3.0), you'll be able to access the new versions of pages at a special URL, /pages. so if you were testing the event co-sponsorship form page, you would go to /pages/events/cosponsor.
you should be able to do a direct comparison by looking at the real site (cdh.princeton.edu) and simply removing the "pages" part of the URL, like /events/cosponsor. and ideally, nothing should appear different at all - we want all the pages to look the same as they did before.
be careful because a lot of links (especially in the navigation menus) will still take you to the old versions of pages. if you're testing a page, double-check that the URL has /pages in it, because you want to be looking at the new versions.
the big changes will be on the admin side. instead of going to /admin, you'll now be visiting /cms. the purpose is the same, but the interface is very different! we're hoping that it will improve lots of workflows for adding and updating content. if there are things you don't like, we might be able to customize them later.
for testing this issue, we want to be able to create new pages on the site. there are two new kinds of pages that can be created: the landing page and the content page. landing pages are ones like /people and /research that have a big image across the top and a tagline. content pages are basically other "regular" pages that just have text on them - like the about page (/about).
content pages:

log into the new admin interface (/cms)
play around with the "pages" tree on the left. if you click the folder icon, you see what pages are listed under that page. if you click the pencil, you edit that page. if you click the arrow, you go down one level in the tree.
try creating a new content page. you can create one underneath the homepage, or underneath any of the existing landing pages. you could try a variety of different formatting options for the body text.
visit your new content page using its /pages url. does everything look right?

landing pages:

repeat steps 1 and 2 above
try creating a new landing page. the only place you should be allowed to do this is underneath the homepage.
visit your new landing page using its /pages url. does everything look right? check the header image and tagline, if you set them.

dev notes
this is a new app that will be created to house page-related parts of resources. eventually it may be fully generalized and so will just be installed and used as-is in other projects.
new models

[x] ContentPage (port from s&co)
[x] LandingPage (port of ContentLandingPage from s&co)
[x] HomePage (port s&co HomePage and add logic from cdh-web view)
[x] PagePreviewDescriptionMixin (port from s&co)

templates

[x] update homepage template
[x] update landing page template
[x] update content page template

hooks

[x] port blockquote feature from s&co

tests

[x] test models
[x] convert homepage template tests to wagtail model tests
[x] convert landingpage template tests to wagtail model tests
[x] contentpage template tests?

We should consider adapting work from ppa — https://github.com/Princeton-CDH/ppa-django/blob/develop/ppa/pages/models.py
at least the expanded list of html tags for paragraphs, and we probably want to add embed blocks

For the normal page:
@thatbudakguy I wasn't able to embed videos using the plus sign + "embed". It says "cannot find an embed for this url." I tried the links on Media Central.
oembed: https://mediacentral.princeton.edu/id/0_mnz807tm?width=608&height=402&playerId=25624581
embed:
In addition, I tried adding a photo. Though I was able to do it, the photo was distorted: https://cdh-test-web.princeton.edu/pages/engage/graduate-students/new-grad-program/
Otherwise it worked well!

For the normal page:
@thatbudakguy I wasn't able to embed videos using the plus sign + "embed". It says "cannot find an embed for this url." I tried the links on Media Central.
oembed: https://mediacentral.princeton.edu/id/0_mnz807tm?width=608&height=402&playerId=25624581
embed:
In addition, I tried adding a photo. Though I was able to do it, the photo was distorted: https://cdh-test-web.princeton.edu/pages/engage/graduate-students/new-grad-program/
Otherwise it worked well!

@thatbudakguy
For the landing page, I had the same issues as above with the photo distortion and the videos not working.
Two more things: 1) please move the “header image” field up above the text editor part. It's hard to figure out where to add that big image for landing pages. 2) And the ability to have captions for photos.
Here's the page I made: https://cdh-test-web.princeton.edu/pages/new-heading/

@thatbudakguy
For the landing page, I had the same issues as above with the photo distortion and the videos not working.
Two more things: 1) please move the “header image” field up above the text editor part. It's hard to figure out where to add that big image for landing pages. 2) And the ability to have captions for photos.
Here's the page I made: https://cdh-test-web.princeton.edu/pages/new-heading/

@cvansant OK, this is ready for another look.

video embeds: I steered you wrong here, sorry about that. Wagtail works via oEmbed, but it doesn't actually accept regular oEmbed links - it wants you to paste the URL from the thing you're trying to embed, so that it can "magically" get the right oEmbed link from that. However, this functionality only works for some popular sites (like YouTube), and not for e.g. Princeton's media central. We could make it work, but probably won't (yet) as part of this update. so go ahead and try by just pasting in any regular old YouTube URL to make sure that works.
I added the captioned image and SVG image options from s&co; they should work exactly the same. fortunately you already know how they work and are well-equipped to test them!
I wasn't able to see your example pages because the test data got reset, but when I tested using the captioned image, the styles looked right (no warping). see if that's resolved for you too.
I reordered the landing page fields to put the header image above the body text.

@cvansant OK, this is ready for another look.

video embeds: I steered you wrong here, sorry about that. Wagtail works via oEmbed, but it doesn't actually accept regular oEmbed links - it wants you to paste the URL from the thing you're trying to embed, so that it can "magically" get the right oEmbed link from that. However, this functionality only works for some popular sites (like YouTube), and not for e.g. Princeton's media central. We could make it work, but probably won't (yet) as part of this update. so go ahead and try by just pasting in any regular old YouTube URL to make sure that works.
I added the captioned image and SVG image options from s&co; they should work exactly the same. fortunately you already know how they work and are well-equipped to test them!
I wasn't able to see your example pages because the test data got reset, but when I tested using the captioned image, the styles looked right (no warping). see if that's resolved for you too.
I reordered the landing page fields to put the header image above the body text.

@thatbudakguy The video is in a long, thin box: https://cdh-test-web.princeton.edu/pages/engage/grants/external-funding-opportunities/

@thatbudakguy The video is in a long, thin box: https://cdh-test-web.princeton.edu/pages/engage/grants/external-funding-opportunities/

@thatbudakguy I have no meaningful idea what an svg image is, alas, but I have one on my laptop (an S&Co logo) and tested it and it worked! Images look good with or without captions. Only thing is if you try to italicize a caption, it doesn't work because it's already in italics. But whatever.
Landing page is much clearer now!

@thatbudakguy I have no meaningful idea what an svg image is, alas, but I have one on my laptop (an S&Co logo) and tested it and it worked! Images look good with or without captions. Only thing is if you try to italicize a caption, it doesn't work because it's already in italics. But whatever.
Landing page is much clearer now!

Shouldn't have closed it yet because of the video situation!

Shouldn't have closed it yet because of the video situation!

@cvansant added some basic styles for embeds to make them not as flat.

@cvansant added some basic styles for embeds to make them not as flat.

@thatbudakguy Looks good with YouTube! Closing the issue.

@thatbudakguy Looks good with YouTube! Closing the issue.


Style file

Hi thanks for this great repo!
Can you explain what the style file does (--style_path argument) ? Is it the same as Stable DIffusion embeddings?
Any way to condition the sketch generation with an existing picture also?

hello darkzbaron,
--style_path is used to load the style diagram. We haven't updated this part of the code yet, we are working on it.
As for the second question, I think you can simply modify the pipeline to load an existing picture as target_img.
Best regards,
Ximing

Cool, will do thanks so much for this amazing model!


Build fails on Ubuntu220.4

I follow the building steps in README.md, but got this Error and build failed.
Error message:
mvfst/quic/state/test/AckHandlersTest.cpp:7779:1: internal compiler error: in invert, at value-range.cc:1811
7779 | } // namespace quic
| ^

edit quic/state/test/CMakeLists.txt and delete this:
quic_add_test(TARGET AckHandlersTest
SOURCES
AckEventTestUtil.cpp
AckHandlersTest.cpp
DEPENDS
mvfst_server
mvfst_state_machine
mvfst_state_ack_handler
mvfst_test_utils
)

ugh, yeah unfortunately the workaround recommended by @junkai0531 is the fastest way forward, as this seems to be a compiler issue.
Do you mind pasting here your compiler version, so that we can try to reproduce?

Thx, I solved the problem by editing the CMakeLists.txt file.
And my compiler version is
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0


Create a linux/arm64 docker image

Pull requests:

https://github.com/Senzing/docker-yum/pull/109


Bot Error Handling

When creating an issue, please fill out the description box. I am going to be working on this as i have nothing else to do in life. Please expect this in next update. Moving this into In Progress and self assigning.

Have moved this to In Review for @mat-1 to determine if this should be added

This will be extremely hard to do as we will have to manipulate the handleInteraction function so then we can send stuff back with just a Interaction ID rather than being required to use the Command constructor


Miscellaneous upgrades to the slider.

Slider and module renaming to be more generic.
Slider attributes renaming.
Label positioning fix to stay inside the bar's bounds.
Minor graphical changes.
Slider can now be used as an attributes to simplify support in IE.

grt work, should be merged! Only one that works for me. :P

@coomsie Thanks!


fix whitespace encoding in urls

Keep encoded links encoded. With this PR markdown like this:
![internal](image%20wtih%20spaces.jpeg)
![exernal](https://examle.com/image%20wtih%20spaces.jpeg)

Will result in:

Instead of not:

See also issue  #1622

Without even running any tests, I know this will be an issue because you've removed an important bit of logic.

This is restored and currently this PR will only encode whitespaces in a URL.


feat(frontend): Update ckErc20 Tokens

Modifications have been made to the list of ckErc20 tokens deployed by the Orchestrator and/or to their icons.

@AntonioVentilii-DFINITY We don't use those two icons. For CK tokens, they are fetched at runtime, and for ERC20 tokens, we use the official logo.
Should we merge these into the codebase but exclude them from being used, or should we enhance the script that imports the tokens to only populate icons based on specific rules? However the rules can't be fully automated, that would be more a manual list of icons to import or not.

Good question... For what I understood, these will not be the last tokens to have these rules, correct? If so, I would prefer to make a list in the script, something like "tokens that do not need icons to be fetched", and expand that.
But if only these two are the ones in question, forever (but I am not sure of it), then better to have them and write some comment/exception in the usage

Both sounds good to me at this point, which one you prefer?

I am more on the first one... it gives more flexibility, if something changes in the future and we have more exceptions

Let's do that. Can you take care of it?
We can close this automatic PR then.

Done with PR https://github.com/dfinity/oisy-wallet/pull/2178
(there was already a place to put the tokens we want to exclude)


make the article shippingtime field translatable

Description

Questions
Answers

Why?
At the moment the article shipping time is the same for every sub shop. If you deliver products to different countries you usually want to set a different shipping time for each sub shop.

BC breaks?
no

Tests exists & pass?
yes/hope so

Related tickets?
https://issues.shopware.com/issues/SW-19279

How to test?
Open article details in backend. The field Delivery time (days) is now translatable (also for variants). Click on the globe and insert a shippingtime for another language. Set the article Stock value to 0 for displaying the custom shipping time. open article in store frontend for this language.

Requirements met?
yes

Any feedback? 😃

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-19567.
Please use this issue to track the state of your pull request.

thanks for your contribution @larsbo :+1: :tada:


Blank screen with usb/thunderbolt dock or usb-c -> hdmi or igpu

basically AQ fails to modeset some limited hardware for reasons...
possibly related issues hyprwm/Hyprland#7321 #59 #40
to test if you have this
get a DRM log and if it contains the below, then you have some hardware limitation
Requested display configuration exceeds system DDB limitations

btw @romanstingler made a script if you want to use it
https://github.com/romanstingler/scripts/blob/main/hyprland_drm_debug.sh

known causes

limited graphics hardware, Ex. integrated graphics or old gpus trying to do 4k
usb hub with limited bandwidth, Ex. it can't transmit 4k
sometimes usb-c to hdmi cables. with limited bandwidth?
thunderbolt dock with limited bandwidth

it can show up in multiple ways

screen is on but not displaying anything
in hyprland logs AQ spams Invalid Argument or No format for output
in dmesg DRM logs repeating Requested display configuration exceeds system DDB limitations

possible mitigations (untested)

lower resolution or refresh rate on monitors
use a different hub or cable
use a discrete gpu
use less monitors
play around with different monitor to plug configurations until it hopefully works

@ikalco thanks for creating this issue!
Just to get a better understanding of the problem, reading the description it seems like the evidence points to be hardware related.
In my case the exact same hardware works running 0.41 but if I exit and start 0.42 the external screen goes black
Anything that have changed in 0.42 that change the hardware requirements?
Happy to help doing more tests and debug if I can help, and until then I stay on 0.41 :)

@stjernstrom this is because hyprland <0.42 was based on wlroots and wlroots had this swapchain manager
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4567/diffs
This code provides utilities for managing swapchains, which are sets of buffers used by the compositor for rendering frames.
Compositors first initialize the swapchain manager and prepare it with desired output states.
If a configuration works, the compositor can get the swapchains and render buffers before committing the configuration.
After a successful commit, the new swapchains are applied to the outputs.

Thanks @romanstingler
II can confirm that running lastest aq-git and hl-git (v0.42.0-122-gb0fca6ea) with env = AQ_NO_MODIFIERS,1 in the config fixes the problem I had and now my external screen works exactly like before!
Awesome work! I appreciates the effort and support!


Support Kotlin 1.2 (Not a valid Kotlin file error)

@Module(includes = [LoginInteractorModule::class])
abstract class LoginModule {

    @Binds
    abstract fun view(view: LoginActivity): LoginView

}

LoginModule.kt:8:19: Not a valid Kotlin file (expecting an expression)

Hi @deviant-studio<EMAIL_ADDRESS>will be supported as soon as it's available in Maven Central (in other words, as soon as it's out of EAP).

The RC has been released. Does this make a difference?

@vRallev unfortunately no. It's still not available it Maven Central. The reason why we wait for stable release(s) is to avoid https://github.com/shyiko/ktlint/issues/31.

Included in<EMAIL_ADDRESS>:tada:


Doubts regarding the project

Is the code applicable for oblique or slant angle images also or is it only for NADIR images
What are the good sources for getting DEM data and EO images along with the associated information required to inference the code for better understanding

Thanks and Regards
Manjunath

Hello Manjunath.  I have only tested the code on NGI imagery, which is near-nadir.  It should work for oblique images though, so long as it is a pinhole camera, and you have accurate position/orientation info.
I'm not sure where to get suitable imagery, I can only suggest experimenting with the included test data.


Invalidate a match based on strict equality of a column

How do we deal with strict rules/requirements? For example, mismatching middle names should not be found in matches/linked groups.
An example scenario:
Let us say we have two individuals, John A. Smith, and John B. Smith, and the information I have on hand to compare is address and profession. Profession and Address are matching and any other fields are missing. From that alone, Splink should give this match a high match_probability. Now, if we have requirements or rules which state that in no circumstances should individuals with mismatching middle names be grouped together, this match should be invalidated even if the resulting match_probability says otherwise.
So far I've tried blocking rules and using sql_gen_case_smnt_strict_equality_2 (w/c I found in case_statements.py). These didn't give the result I require. As a last resort, I'm thinking of attempting to just modify the dataframe which contains the match scores (df_e in the demos), wherein I look for pairs with mismatching middle names and explicitly set the match_probability as 0.

You've almost done it by using sql_gen_case_smnt_strict_equality_2. The missing step is to specify the m-probabilities for the column you want a strict rule on, and to hold these m-probabilities fixed. For your example scenario with a column called middle_name that must match, your settings["comparison_columns"] should include something like the following:
    {
        "col_name": "middle_name",
        "m_probabilities": [1e-9, 1.],
        "fix_m_probabilities": True
    },

The default num_levels is 2 and the default case expression is sql_gen_case_smnt_strict_equality_2 so they don't need to be specified. Among matches, the m-probability of a match on middle name is set to 1, and of a non-match (effectively) zero. These probabilities are fixed so the EM algorithm will not update them.
Note that I have used 1e-9 as zero probabilities can be problematic in the final match weight calculations.

Thanks for the quick reply!
Apologies, I forgot to mention I also tried fixed probabilities before, it wasn't completely effective. Although I haven't tried 1e-9, the closest number to zero I used was 0.001.
I mentioned using fixed probabilities wasn't completely effective as there are cases where pairs with mismatching middle names would still match up and group together. Upon inspecting charts, specifically the bayes_factor_intuition_chart, I noticed that with enough matching columns, the mismatched middle name score/gamma would get overridden by other columns' score/gamma. Especially if the middle name alone mismatches and everything else, if present, matches.
I'll try your suggestion of using 1e-9 to represent zero and see if it changes the results. I'll also prepare to show samples of the bayes_factor_intuition_chart if I see the same cases as before. Thanks again for your help.

0.001 corresponds to a match weight/log2 bayes factor of just -10 so if several other fields match, it would not be surprising if the match probability ends up quite high.
1e-9 gives a match weight of -30 which should be much more robust to such cases, but you can go arbitrarily small to make sure. I hope that solves it for you 🤞

The suggestion of using 1e-9 works great. I have significantly fewer cases where middle names mismatch yet the match score is high. I still have a few cases but I think making the zero representation for m-probabilities smaller would help.
Thanks again for the help 😄


Update HOWTO-bn.md (bengali review requested)

What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
For resources
Description
This PR adds a "How to at a Glance" document in Bengali language for the Free-Programming-Books repository. The document provides an overview of how to contribute to the repository and serves as a quick guide for both new and experienced contributors.
Why is this valuable (or not)?
This addition is valuable because it makes the repository more inclusive and accessible to Bengali-speaking contributors. It lowers the entry barrier for new contributors by providing essential resources and guidance, and it enhances the overall user experience.
How do we know it's really free?
The content is translated and adapted from the original English version, and no restrictions or paid resources are mentioned. It is consistent with the repository's goal of providing free programming resources.
For book lists, is it a book? For course lists, is it a course? etc.
This is not a book or course; it's a document that serves as a guide for contributors.
Checklist:
Read our contributing guidelines.
Search for duplicates.
Include author(s) and platform where appropriate.
Put lists in alphabetical order, correct spacing.
Add needed indications (PDF, access notes, under construction).
Used an informative name for this pull request.
Follow-up
Check the status of GitHub Actions and resolve any reported warnings!

asking for bengali review

Thanks, and welcome to free-programming-books! and for review!


Drop wrap content starting with text/html

New versions of Django give HTML responses with the content type
'text/html; charset: utf-8'. We don't want to wrap that, so only check
for a start of text/html.

LG


Enable to limit the prompt size

Feature request
I need the feature to set limitation of the prompt size
Why?
If I make large file changes, forget about it, and carelessly just type "aicommits", the OPENAI receipt will be terrible.
To prevent this situation, I need the feature to set limitation of the prompt size
Alternatives
If this is a feature that already exists and I just haven't discovered it, I'd appreciate it if you could let me know.
Additional context
No response

I just noticed that the maximum length of the prompt is 8000. At $0.002 per 1k tokens, I don't think I'll have the problem I was worried about.


Wrong information about limitation of the usage of "Per Node" pricing tier

[Enter feedback here]
The sentence:
"The Per Node pricing tier should only be used by customers with active Operations Management Suite (OMS) licenses."
is in opposition to this documentation:
https://learn.microsoft.com/en-us/azure/azure-monitor/logs/cost-logs
"Subscriptions that contained a Log Analytics workspace or Application Insights resource on April 2, 2018, or are linked to an Enterprise Agreement that started before February 1, 2019, and is still active, will continue to have access to use the following legacy pricing tiers:
- Standalone (Per GB)
_ - Per Node (Operations Management Suite [OMS])"_
Regards,
Loïc

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 89791188-1dd6-c1fa-4fcc-d4641bfb410e
Version Independent ID: 07d22da7-d8f2-4abe-f2b1-7019678aff2a
Content: Azure Monitor Logs cost calculations and options - Azure Monitor
Content Source: articles/azure-monitor/logs/cost-logs.md
Service: azure-monitor
Sub-service: logs
GitHub Login: @guywi-ms
Microsoft Alias: guywild

@loic-git
Thanks for your feedback! We will investigate and update as appropriate.

@loic-git, thank you for bringing it to our attention. The per-node pricing tier was a legacy tier which is available only when fulfilling the criteria as mentioned here - Legacy Pricing Tier.
I will update the doc to reflect this information.


Offline first react

Q
A

Bug fix?
no

New feature?
no

New sample?
yes

Related issues?
no

What's in this Pull Request?
This webpart attempts to demonstrate how to do the offline first technique of retrieving requests from local storage first, then rendering the component on the page, then making the live request to a server, then redrawing if required (react looks after this in the Virtual DOM).
The webpart has a services folder, and that is the main part of this sample. The TSX file shows how to use this service.

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

thx @AustinBreslinDev, appreciated. Good technical demo of preferred patterns. Would you be interested in doing a life demo and code explanation of this one in one of our community calls? - We have bi-weekly SPFx community call where we typically have 2-3 demos from the community. We would book you 10-15 to explain the used code etc. In this case, the actual technical solution is pretty straightforward, but no harm doing a quick demo (even for 5 min) to increase awareness of the good techniques.
FYI @patrick-rodgers

Hi @VesaJuvonen ,
You can schedule me in for a demo, it shouldn't take too long it's a relatively simple front-end design practice. Please get back to me about when, as the meetings are during my working day.
I already have the SPFX bi-weekly community call in my calendar, the one from Patrick-Rodgers.

Hi @AustinBreslinDev - this is great, if you are available we can get you in on this Thursday March 1st.

Great, you are on the agenda! Thanks!

and just to be 100% clear on the process - Please join on the bi-weekly SPFx call - you can get the invite from https://aka.ms/sppnp-js-sig-call. We'll then upgrade you as a speaker for the call. We have 3 different community demos tomorrow and you'll be the first one to go around 20 past on the hour. Call will be recorded and shared from official SP Dev video channel at http://aka.ms/spdev-videos within 24 hours after the call. If you have any challenges on joining or getting access to call details, please let us know. Thx for volunteering on this one, really appreciated.


Feature: Reroll All

Add some kind of /reroll all function, which takes every player on the server, moves them to the next Reroll spawn position, and resets them.

I think that a gamerule would work here.

Added in e62d959ab9178334951a4e8f9ed9df2fb9a6f1aa


Allow to paginate post reactions

Description

This PR is implementation of #504.
Close #504

Reconstructed PostReaction struct
Remove PostReactionEntry
Added PostReactions query

Checklist

[x] Targeted PR against correct branch.
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[x] Wrote unit tests.
[ ] Wrote integration tests (simulation & CLI).
[x] Updated the documentation.
[x] Added an entry to the CHANGELOG.md file.
[x] Re-reviewed Files changed in the Github PR explorer.

Great job! 🚀 There are some minor things to tweak but otherwise looks very good.
I see that you also improved the registered reactions query, or am I wrong? Maybe it's worth adding a CHANGELOG entry for that one as well?

Yes, I improved registered reactions a bit by removing the unused struct and adding iterate function. I will add it as well into CHANGELOG.


Azure State backend - silence logs

Feature scope
Configuration (settings parsing, validation, etc.)
Description
Using Azure as a backend fills the meltano log with noise, multiple log lines for each http request, basically making the log unusable.
So far I have managed to silence these logs with an addition to meltano/core/state_store/azure.py
import logging

logger=logging.getLogger('azure.core.pipeline.policies.http_logging_policy')
logger.setLevel(logging.WARNING)

Without the suppression above, the logs are full of multiline messages like this, logs become virtually useless:
2023-05-31T08:29:59.892347Z [info     ] Request URL: 'https://***.blob.core.windows.net/meltano-state/dev%3Atap-freshdesk-to-target-postgres/lock'
Request method: 'HEAD'
Request headers:
    'x-ms-version': 'REDACTED'
    'Accept': 'application/xml'
    'User-Agent': 'azsdk-python-storage-blob/12.16.0 Python/3.9.16 (Linux-<IP_ADDRESS>-microsoft-standard-x86_64-with-glibc2.31)'
    'x-ms-date': 'REDACTED'
    'x-ms-client-request-id': '54f13080-ff8d-11ed-8616-00155da6d400'
    'Authorization': 'REDACTED'
No body was attached to the request
2023-05-31T08:29:59.901579Z [info     ] Response status: 404
Response headers:
    'Transfer-Encoding': 'chunked'
    'Server': 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0'
    'x-ms-request-id': 'fe209118-f01e-0044-229a-935122000000'
    'x-ms-client-request-id': '54f13080-ff8d-11ed-8616-00155da6d400'
    'x-ms-version': 'REDACTED'
    'x-ms-error-code': 'BlobNotFound'
    'Date': 'Wed, 31 May 2023 08:29:59 GMT'
2023-05-31T08:29:59.913150Z [info     ] Request URL: 'https://***.blob.core.windows.net/meltano-state/dev%3Atap-freshdesk-to-target-postgres/lock?comp=REDACTED&blockid=REDACTED'
Request method: 'PUT'
Request headers:
    'Content-Length': '17'
    'x-ms-version': 'REDACTED'
    'Content-Type': 'application/octet-stream'
    'Accept': 'application/xml'
    'User-Agent': 'azsdk-python-storage-blob/12.16.0 Python/3.9.16 (Linux-<IP_ADDRESS>-microsoft-standard-x86_64-with-glibc2.31)'
    'x-ms-date': 'REDACTED'
    'x-ms-client-request-id': '54f45b48-ff8d-11ed-8616-00155da6d400'
    'Authorization': 'REDACTED'
A body is sent with the request

Would you consider a PR to suppress the INFO logs from Azure Blob Client?

Thanks for reporting @acarter24!

Would you consider a PR to suppress the INFO logs from Azure Blob Client?

I think so! I wonder if we could set the level for that logger in the default logging config:
https://github.com/meltano/meltano/blob/857d62b8b18d04ca31c29f9d5d7f20a17e43bd74/src/meltano/core/logging/utils.py#L104-L125

Looks like a good solution. I'm just attempting something with logging.yaml to see if I can fix for my specific case, but I think it would be wise to have it in the default logging config, it absolutely obliterates the meltano logs :)

I tried this in logging.yaml
version: 1
loggers:
  azure.core.pipeline.policies.http_logging_policy:
    handlers: [console]
    level: WARNING
    propagate: yes

but received this error
Unable to configure logger 'azure.core.pipeline.policies.http_logging_policy'

First time using logging.yaml so have I misunderstood how to target a specific logger?

@acarter24 I believe you're missing a definition for the console handler. Try this:
version: 1
formatters:
  structured:
    (): meltano.core.logging.console_log_formatter
    colors: true
handlers:
  console:
    class: logging.StreamHandler
    level: INFO
    formatter: structured
    stream: "ext://sys.stderr"
loggers:
  azure.core.pipeline.policies.http_logging_policy:
    handlers: [console]
    level: WARNING
    propagate: yes

If I were to apply the filter in meltano/src/meltano/core/logging/utils.py as you suggested above, is it only affecting core meltano activities like state, or should the logging settings apply to taps/targets too?

It'd only affect the Meltano core. SDK-based plugins can use their own YAML configuration. For example: https://github.com/edgarrmondragon/meltano-dataops/blob/3a742fe69823cc0c83f44a17a878ee9697845bde/meltano.yml#L5-L8

I tried both methods, altering utils.py and the logging.yaml you suggested above, only the alteration to utils.py suppressed the logs.

I tried both methods, altering utils.py and the logging.yaml you suggested above, only the alteration to utils.py suppressed the logs. The error I previously had with logging.yaml did go away, but the messages from that logger were not suppressed.

Interesting, might be worth trying with
version: 1
disable_existing_loggers: yes
...

Happy to make the PR if you like?

By all means 😄

Just realised the issue with the file, needs to be logging.yaml and not logging.yml :) Sorry for the confusion.

Relevant issue for the file name

https://github.com/meltano/meltano/issues/7013


Updated requirements

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


Update api.py support stream

Add Streaming Method for DuckChat Responses

Description:
This pull request adds a new method to the DuckChat class that supports streaming responses from the chatbot. The key changes are:

Introduction of Streaming Method:

Added a new method get_answer that yields parts of the response as they are received from the server, allowing for real-time streaming of chatbot responses.
This method is designed to handle long-running responses more efficiently, improving the user experience by providing immediate feedback as the data is processed.

Modification of ask_question Method:

Updated the ask_question method to utilize the new streaming approach. It now collects streamed parts into a full message and prints each part immediately, ensuring smoother and more responsive interaction.

Why This Change is Necessary:
The previous implementation required waiting for the entire response before processing, which could result in delays, especially with large or long-running queries. By adding streaming capabilities, the bot can now provide real-time feedback, enhancing interactivity and user experience.
Testing:
The streaming functionality has been tested to ensure that responses are properly streamed and assembled without introducing any errors or unexpected behavior.
Documentation:

Added inline documentation for the new get_answer method.
Updated comments in the ask_question method to reflect the changes.

Closed for new pr


Add option to set alwaysCallMultiChoiceCallback to AlertDialogWrapper

As requested in #303
This pull requests add the option, as the stock AlertDialog calls the callback everytime a choice is clicked. However, if this behaviour was enabled by default, it would alter how the AlertDialogWrapper.Builder works for existing users and may be confusing.

Thanks!


fix: lightgbm binary classifier getting stuck due to single label in some partitions

fix lightgbm binary classifier getting stuck due to single label in some partitions
By default, lightgbm will now fail with exception message instead of timing out with connection refused error when some workers only have a single class and exit early during training.

/azp run

/azp run

closing as this has been fixed with a different PR

Dose the version 0.18.1 contains the fix?

nope, 0.18.1 does not, the 1.0 version does however


(node:20744) [DEP0128] DeprecationWarning: Invalid 'main' field in '/usr/local/lib/node_modules/npm-check/node_modules/find-parent-dir/package.json' of 'find-parent-dir.js'. Please either fix that or report it to the module author (Use node --trace-deprecation ... to show where the warning was created)

Hello, I get this error displayed since the update from Node 14.x.x to Node 16.13.0
Do you have any idea why?
(node:20744) [DEP0128] DeprecationWarning: Invalid 'main' field in '/usr/local/lib/node_modules/npm-check/node_modules/find-parent-dir/package.json' of 'find-parent-dir.js'. Please either fix that or report it to the module author (Use node --trace-deprecation ... to show where the warning was created)
Thank you!

I could eliminate the error message now in that I under:
'/usr/local/lib/node_modules/npm-check/node_modules/find-parent-dir/package.json'
deleted this entry:
"main": "find-parent-dir.js",

@Nastras,
The mentioned issue was fixed in v0.3.1. But many dependent packages still require v0.3.0

For any devs stumbling over this, I solved it by updating to version 0.3.1. As this package is not a direct dependency of my project but used by some dependency I use, I had to install it explicitly in the project.
yarn add -D find-parent-dir@latest

Then use the resolutions property in the package.json file to force all dependencies to use this latest package version. Then reinstall the dependencies.
yarn install --force

Important for npm users
If you use npm instead of yarn, you need to install the package npm-force-resolutions first, as resolutions are not supported out-of-the-box.
npm install npm-force-resolutions

The rest is the same as explained above.


Failing e2e tests - scorecard-head on ossf-tests/scorecard-action

Matrix: null
Repo: https://github.com/ossf-tests/scorecard-action/tree/main
Run: https://github.com/ossf-tests/scorecard-action/actions/runs/5274212810
Workflow name: scorecard-head
Workflow file: https://github.com/ossf-tests/scorecard-action/tree/main/.github/workflows/scorecards-head.yml
Trigger: schedule
Branch: main

I added Scorecard to a project yesterday and they just reported this same issue there.
https://github.com/go-logr/logr/actions/runs/5281306289/jobs/9554695929
I asked them to re-run the workflow and that solved it, but I downloaded the log archive, so I'll attach the "Run analysis" log (and the entire log archive) here in case the original is lost.
Run analysis.txt
Complete log archive.zip
Is some part of the tlog pipeline flaky?


fix(#65): add code to preserve existing deps

closes: #62

This PR is attempt to close https://github.com/prisma/nuxt-prisma/issues/65.

@Dobefu closing this in favour of #71 😄 .
I'll be back on the 26th to create the docs for this as it introduces quite some changes. Meanwhile, you can checkout the prereleased  version here 0.0.0-experimental-2aea052.
Happy holidays 🫶 !


IOS crash if apple wallet not instaled

Hi! In old devices like iphone 7 you can remove apple wallet from device. In this case the aplication crashes when you try to add a pass to the wallet.
I try to use Linking.canOpenUrl('shoebox://') to know if device can open it, but if apple wallet is not installed this link opens directly the app store to download it...
Anyone knows some way to handle that case??

I ran into this same issue. I am not associated with this package, but I created a PR to hopefully workaround this:
https://github.com/dev-family/react-native-wallet-manager/pull/12

Interesting solution, i patch the library to resolve it too. My solution was add a new validation for this case:

definitely your solution is better ajja

Fixed in version 0.0.4.
https://github.com/dev-family/react-native-wallet-manager/blob/main/CHANGELOG.md

https://github.com/dev-family/react-native-wallet-manager/blob/main/CHANGELOG.md

It is not fixed, I faced the same issue when calling showAddPassControllerFromFile method on IOS

@ghorbani-m hi! the canAddPasses method was added. Have you used it?

Hi @mshekspirtt
Yes, I used canAddPasses And it did not work, and still the App crashed, then I created a fork and made a change in IOS walletManager and the issue was resolved, It also seems IOS managed this situation and displayed an Alert and notifies the the user that Apple wallet is not installed

This is the change log, later will create a PR
https://github.com/dev-family/react-native-wallet-manager/compare/main...ghorbani-m:react-native-wallet-manager:main

@ghorbani-m thank you, I look forward to your PR :)

fixed in version 1.1.1
thanks @ghorbani-m


Improve “Editor is not responding” dialogue

When the “Editor is not responding” dialogue appears and user tries to dismiss it using Escape key, the Atom window is closed instead. This behaviour is counter-intuitive because closing a dialogue should never result in a destructive action.

closing a dialogue should never result in a destructive action.

:+1: I agree with this.
I think that we actually probably reorder the buttons, such that we wouldn't have to override the default cancelId of zero. From the macOS Human Interface Guidelines for Dialogs:

The Cancel button is to the left of the action button.

Also, make sure that the keyboard shortcut Command-period and the Esc (Escape) key are mapped to the Cancel button.

For GNOME it is the same. On Windows, however, it is the opposite. We would probably need to change the order based on the platform and that would probably be unnecessarily complicated.

On Windows the dialog looks like this:

Actions that close the dialog are the same. I think the look of this dialog is very counter intuitive. I would expect clicking the Close button to just close the dialog in this case. Maybe it should have the same look as the Keep Waiting button but with the text Force Close and the current Close button changes text to Cancel and just dismisses the dialog?

Yes, using more specific “Force Close” would be even better. I also changed the order of the buttons, it should look the way you describe on Windows and the order of buttons on other platforms should be correct too.

The CI failure looked like a flaky test. I restarted the build.

While we're improving the dialogue box, I had a few extra comments that I wrote in #13191 which @Ben3eeE suggested I post here.
The main issue is that the wording is potentially misleading. While Atom may call the window the editor, most people think of the editor as being the actual code editor inside a tab. As such, the idea of "closing the editor" that the dialogue presents would make a lot of people assume that the current tab (only) will be closed. This is (somewhat) consistent with the way Chrome works, for example.
I'm aware that the implementation of Atom's and Chrome's tabs are far from each other - Chrome using a new process per tab, Atom doing everything in one JS process, so I'm sure even being able to 'close' a tab when 'its' JS becomes unresponsive is impossible, as the JS is not constrained to a tab.
As such, my suggestion (at least, assuming the above Chrome-like suggestion cannot be done, as that would be the best) is simply to change the text to explain to the user that the window will be closed not the ambiguous "editor".

The crash dialog has the text "The editor has crashed". If the text changes here maybe we should also change that dialog.
/cc: @lee-dohm for :eyes: on the suggestion by @alexrussell

"Atom has crashed" sounds better.
I wanted to ask, maybe it's just my imagination, but this dialog stops Atom from continuing loading and the dialog needs to be closed before Atom resumes...
As an example, Chrome shows the dialog but the tab continues loading in the background, if the tab becomes responsive in this process, the dialog is dismissed automatically. This would be great because sometimes Atom just needed one more second to finish loading but the dialog stops this

I wanted to ask, maybe it's just my imagination, but this dialog stops Atom from continuing loading and the dialog needs to be closed before Atom resumes...

You are correct in your observations.  I started a PR to fix that but never finished it - if you want to take a look, the basic idea is that you need to make the message dialog asynchronous (https://electron.atom.io/docs/api/dialog/).

Hey @jtojnar Apologies we didn't get the chance to view this on time. The issue was already fixed by https://github.com/atom/atom/commit/fd4dfefb6aab60762d1f921ca74430cdf18ba47c#diff-23441b1e2ecd41b45a9b24a1f2bbf6af72c96396d34409560a5441813591179d.
I am closing this for now. I am happy to reopen is you feel there is something I have missed.


[WIP] Revert dropwizard dependencies version to 2.02

Breaks mvn verify

We’ve upgraded to 2.0.14 now.


Support wildcard 0 AS during path segment fetching

The path segment fetcher introduced by pull request https://github.com/scionproto/scion/pull/1619 does not support the wildcard 0 destination AS (e.g., 11-0 or 12-0) for path segment queries. A destination AS of 0 means any core AS in the destination ISD.
After https://github.com/scionproto/scion/pull/1619 is merged, support needs to be added for this.

Fixed by #1731.

Fixed-ish. See https://github.com/scionproto/scion/issues/1778 for the follow-up issue.


NuxtHub  integration

I just stumbled on this project and what a nice surprise. Looks really promising. I will definitely give it a try.
One suggestion I have is Nuxthub integration. That will provide one click, seamless deployment and hosting. Currently one needs to setup database locally/externally to get started. With Nuxthub taking care of this it will remove big friction point.
From what I see it should be not a difficult task, as Nuxthub supports Sqlite (D1), blobs, cache, DrizzleOrm.
That alone will make this such a powerful stack
@murisceman this project is an excellent and much needed initiative. Thank you for all the effort

Thank you for your suggestion, @husayt. I have already reviewed the scope of work required to adapt Pruvious to function on CloudFlare Workers. Here's a summary:

Replace Sequelize with Kysely or Drizzle (WIP: #14)

Needs to support D1.

Figure out how to optimize images (https://github.com/nuxt-hub/core/issues/131)

Currently Pruvious uses Sharp, which doesn't work on the edge.

Add bcrypt support (https://github.com/dcodeIO/bcrypt.js)

Besides Argon2, which is the only password hashing algorithm in Pruvious (and does not work on CFW), a reasonable solution would be to add an option for bcrypt.

As simple as it sounds, a significant amount of work (~100-200 hours) is required to ensure that everything runs smoothly. Recently, I've had just enough time to fix bugs and add minor features to Pruvious, so this will have to wait until my main job becomes less demanding.

Absolutely. This might look easy on the surface, but there might be  a lot of parts needed to change to bring this to work. @murisceman thanks for mentioning some of them.
Might be good to find the minimal scope for this work, as investing 200 hours upfront might be too much time one might want to put into this at first.
@murisceman would you be open to have a chat to discuss some ideas and suggestions I have. If you could drop me your email (my email in my profile) we could take it from there.
Thank you

I would appreciate if you could share your ideas and suggestions here, so other users could join the conversation. Thank you!

@murisceman what I wanted to discuss was bit wider than this project.
I became very intrigued by the story you provided in producthunt.  Your history with wordpress, envato, templates, issues you described about wordpress templates drew a lot of parallels to my experience. We have been working on something very related, but it is not yet open to public. That is why I wanted to discuss that with you separately.
Hopefully it might open some exciting directions

Hey @husayt, you can contact me privately at<EMAIL_ADDRESS>Cheers!

I see that this issue is closed and that there is much work to be done, but wanted to add that I would also love this support.
I think the optimized images could be a lower priority in the beginning.
Is there anything I can do to help?

Thank you for offering your help, @MineDrum.

@murisceman this could be helpful I guess
https://github.com/atinux/nuxt-bcrypt-edge

@murisceman I can take a look if I find some time, can't make any guarantees though. Also have a job and my own company to look after.

Hey @Flexusma and @husayt, thank you both for the link and for offering to help with this. I have already checked out this package, and it works reasonably well. The performance isn't the best, but it's acceptable for now. I hope there will be a more optimized way to hash passwords on Cloudflare Workers in the future.
Here's a demo: https://bcrypt.nuxt.dev/
I'm considering setting a default of 12 hashing rounds, which takes about 500-600 ms on a Worker.

I'm an amateur when it comes to hashing, but what about https://github.com/unjs/uncrypto?
Found this issue/topic after I had some build pipeline issues. For Nuxt projects, when I push to Git, an automatic build triggers on an ARM-based Mac Mini. Only the .output folder is deployed (expected for Nuxt3). However, it seems argon2 built on macOS/ARM doesn't run on Linux/x86 or other platforms.

Hey @vanling, PBKDF2 (Web Crypto) was my last resort for this. Fortunately, we can now use bcrypt, which is a much better option for password hashing.
https://github.com/unjs/uncrypto/issues/40

Hey @LTDCoaching, here is an update:

✅ ORM - created one from scratch that supports SQLite, PostgreSQL, and D1. It works like a charm in Cloudflare Workers.
✅ Auth - solved using bcrypt-edge, and I have prepared the codebase for future hashing algorithms.
❌ Images - this is still on my to-do list. Planning to explore pure JS image optimization solutions.

Wow Muris: This is already 2/3 of climbing a really high mountain!! Unbelievable how you are focussed on solving this task!!

+1 for NuxtHub
@murisceman any plans on enabling GitHub Sponsorships (or any other means of donations) so we can help support/show our gratitude?

Hey @sambedingfield, thanks for asking! I'll look into this after v4 launch 😊

Hey @sambedingfield, thanks this is very important!!
Meanwhile we stand on the sidelines, watch and as 'who is faster?'
Muris on this climb with v4 or the community with adding another 500 stars ;)
Go on folks, star this!!!