tools: Support running mypy daemon for better performance.

mypy daemon performs significantly better than running the regular
mypy cli tool when we type check the entire codebase multiple
times locally.
This adds running mypy daemon as an option for both
tools/run-mypy and tools/lint.

Screenshots and screen captures:
Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

We removed support for the daemon mode in 99904527f53edc7d3dfd2aa424447dced85936e2; I guess that doesn't necessarily argue against offering an option to run it in that mode if one really wants to ... but it'd be good to see numbers for how it improves the experience in our development environment before we merge something like this. @andersk FYI.

Right now we have an output filter rule in tools/lint, but it will be just cleaner if we can have a command option to silence that in dmypy.

Merged, thanks @PIG208! I encourage you to report back in #backend on how using this has gone for you in a week or so.


Don't download tarballs if a local git repo found

Summary
Impact
Fix warning
Testing
Pass CI

Merging this since do not observe activity from other reviewers. Let's follow-up further improvements in the next PR


@computed function called twice?

I am try the Todo example from this project and see that computed functions in mobx store is called twice every time when one 1 observable change.
http://prntscr.com/e9omwg
Is this a normal?
Also i see this in my own project.
If i remove *mobxAutorun it will be called only once. Example and my own app still works.
http://prntscr.com/e9oois
But now function is called every time i type in input.
http://prntscr.com/e9opxs

And if i write autorun function where i will also use this computed. All things back to normal and computed will be called only once.

The problem exist if use *mobxAutorun with autorunAsync.
With *mobxAutorunSync and autorun computed called only once on update, but still called twice on Init.

this.autoDetect(this.view);
Need to be moved to constructor for autoruns directives.
But stay in Init method for reaction.
This will fix the double computed runs on init

I moved createEmbeddedView and autoDetect to ngOnInit,
and not using autorunAsync anymore.
Seems like it's solving the problem, so I'll also deprecate autorunSync directive.
Fixed in 1.2.8 and published - can you verify?

Fixed twice run on change observable value.
Still runs twice on first run after F5.
http://prntscr.com/ec8utz
I think autoDetect should be called before ngOnInit to be applied for first run.

When I tried it it ran only once
Can you share your code? Maybe you're calling the computed value outside the autorun? Or you're changing an observable?

yeah! you are right, i recheck the code and find the observable value that changed.
So, its fully fixed. =) Thanks.

awesome


[SPARK-45118][PYTHON] Refactor converters for complex types to short cut when the element types don't need converters

What changes were proposed in this pull request?
Refactors converters for complex types to short cut when the element types don't need converters.
The following refactors are done in this PR:

Provide a shortcut when the element types in complex types don't need converters
Check Nones before calling the converter
Remove extra type checks just for assertions

Why are the changes needed?
When the element types in complex types don't need converters, we can provide a shortcut to avoid extra function calls.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Added related tests and existing tests.
Was this patch authored or co-authored using generative AI tooling?
No.

The test failure is from ReattachableExecuteSuite. I don't think it's related to this PR.

Thanks! merging to master.


Add amqp

Signed-off-by: carlosthe19916<EMAIL_ADDRESS>

replaced by https://github.com/project-openubl/ublhub/pull/273


doc.pages is not excepted  in muitiplayer mode

Steps：

draw line or shape or add text in first page
exec app.createPage('XXX')
draw line or shape or add text
now the content in one page and the wrong position and wrong pages

Looking forward to your reply！！！！Thanks!

Closing this as we won't be addressing a fix for this version. Check https://github.com/tldraw/tldraw for the latest! And please share there if the bug persists.


Updated Glam to 0.22 and other minor improvements

Hello! This PR adds:

glam updated form 0.21 to 0.22.
Update Cargo.toml rust edition from 2018 to 2021.
Fixes all clippy lint warnings.

This change is

Changes made, thanks!

Awesome, thanks!

Hey @zakarumych I just realized that is not on crate.io yet. It would be awesome to have it there, however, I have no rush. Thanks!

Ping! Hey @zakarumych is it possible to publish the latest version to crates.io? Thanks!

Sure. Done!

Thank you so much!


Navigator becoming God object

In one of our projects, the Navigator became a God object, referencing more than 20 activities.
Wondering if you may have any thoughts about how to create a solution that does not result in a navigator with a huge method collection :-P.

Hello, long time ago before this archetecture im use some think like navigator .. now i just use parent classes like - SingleFragmentActivity with one overide method - create fragment. In imp of this abstract activity im just inject intents for navigation and provide self intent.. im dont shore its good or not, but for me its working, becouse i can start my activity for result or just start becouse im have just intent. Sorry about my english im houp you understend what im write :D happy coding!


Double // in canonical for English

Audit tool reports a lot of errors with "Has outgoing hreflang annotations to canonicalized URLs"
Example
https://www.equinor.com/no/baerekraft has the following hrefLangs and canonicals
<link rel="alternate" hrefLang="en" href="https://www.equinor.com/en/sustainability"/>
<link rel="alternate" hrefLang="no" href="https://www.equinor.com/no/baerekraft"/>
<link rel="canonical" href="https://www.equinor.com/no/baerekraft"/>
If we go to the English equivalent, is has this canonical
<link rel="canonical" href="https://www.equinor.com//sustainability"/>
This is obviously a mistake, and I think this is what causing these errors

LGTM using the audit tool :thumbsup:


Collectives that could be added

Canadian fediverse coop started by the grandfather of the fediverse
https://blog.cosocial.ca
The first coop run mastodon instance
https://social.coop
A US based tech collective
https://riseup.net
a tech collective
https://www.systemli.org/en/tos/
blog hosting collectives
https://blackblogs.org/
https://noblogs.org/
Noise Bridge hacker space
https://www.noisebridge.net/wiki/Consensus_Process
https://www.noisebridge.net/wiki/Inclusivity
https://www.noisebridge.net/wiki/Do-ocracy
Dreamtime Village
could dig up documents somewhere (this is the commune I grew up at)
http://dreamtimevillage.org/faq.html
Alte Hölle (German commune)
https://alte-hoelle.de/en/our-association/

Thanks very much for these! I have raised issues to include systemli and autistici (behind noblogs) https://gitlab.com/fossgovernance/fossgovernance/-/issues in https://fossgovernance.org/
Would be interested to get your opinions on #17 where I bring up the idea of excluding digital governance from this project.


Struggling to use Mediapipe with tensorflow/cuda following install instructions

I have spent a month trying to get mediapipe working, following the installation instructions for using gpu, however it seems somewhat vague or outdated.
Setting python 3.7 as the default on ubuntu will break apt, however i am using pyenv for this, im not sure if this is a problem or not, it is not explained in the installation material how to prepare this for mediapipe correctly.
Are we meant to build tensorflow from source, through pip or use a docker image? If built, what settings should we be using?
This is pursued on the assumption that cuda inference is used to gain better performance or accuracy?
Is this true or is it better to use opengl?
The current tensorflow version uses cuda 11.0, the installation describes using 10.1.
If using pip to install tensorflow,there is no .bazelrc file to copy from. Using the described expected code and replacing instances of 10.1 with 11.0 a build of:
bazel build -c opt --config=cuda --spawn_strategy=local   --verbose_failures   --define no_aws_support=true --copt -DMESA_EGL_NO_X11_HEADERS     mediapipe/examples/desktop/hand_tracking:hand_tracking_gpu

...

ERROR: /root/mediapipe/mediapipe/framework/tool/BUILD:66:10: Linking of rule '//mediapipe/framework/tool:encode_as_c_string' failed (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command
  (cd /root/.cache/bazel/_bazel_root/c14cf19f75c61ffdb03065b678c7c641/execroot/mediapipe && \
  exec env - \
    PATH=/root/.pyenv/shims:/root/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin \
    PWD=/proc/self/cwd \
  external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc @bazel-out/host/bin/mediapipe/framework/tool/encode_as_c_string-2.params)
Execution platform: @local_execution_config_platform//:platform
/usr/bin/ld: bazel-out/host/bin/external/com_google_absl/absl/strings/libstrings.a(charconv.o): undefined reference to symbol 'nan@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Target //mediapipe/examples/desktop/hand_tracking:hand_tracking_gpu failed to build

I've explored multiple solutions and have completely reformatted my machine over 10 times in trying to get mediapipe working with cuda, please help.
I need more guidance to install this correctly. Or should i just use OpenGL ES?

TensorFlow GPU adn TFLite GPU are different -- TensorFlow GPU is on cuda and TFLite GPU is on OpenGL ES.
Most mediapipe demos including hand tracking gpu are with TFLite and OpenGL ES.
Unless you plan to run your own TensorFlow model on GPU with MediaPipe, you don't need to setup cuda. Also, the issue you reported is more likely due to the incompatibility between absl and your compiler.

I thought i would be able to run mediapipe models through tensorflow cuda. Well, ill give up on using Cuda for now then. Though tensorflow has a really nice implimentation of iris and face which mediapipe lacks. Both work separately form eachother for me too, so its fairly odd for an incompatibilty like this. I have no idea what absl is though.

Hi @Hakazaba, You can check the latest documentation related to the CUDA and reach us if your still facing any problem through it.

Hi @Hakazaba, Could you please respond if you still looking resolution for the above query. Thanks!

Hi @Hakazaba, Could you please respond if you still looking resolution for the above query. Thanks!

Nothing change. Here the review. Each one need to add linkopts -lm so that it can get cmath library. Also I received libffi error 「undefined symbol: ffi_type_uint32, version LIBFFI_BASE_7.0」 after I added all linkopts in the programs both in Conda or not in conda env. As result need to init LD_PRELOAD=/usr/lib/{os}-linux-gnu/libffi.so.7. Then I realise it get ignored and need LD_DEBUG to run it. Then got ton of error related to other symlink. CUDA support is too old and need update.
OpenCL a better choice.


Cortana icon still on taskbar win10 2004

Take Cortana off the taskbar
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v ShowCortanaButton /t REG_DWORD /d 0 /f
The above command removed the cortana icon from the taskbar. Maybe it should be added to privatezilla.

I'll check this and add it to option "Uninstall Cortana"  if it works.
Thanks 💯

Added https://github.com/builtbybel/privatezilla/releases/tag/0.42.0


I encounter vm.extend is not a function when running a Buefy toast since 3.2.30

Version
3.2.30
Reproduction link
sfc.vuejs.org/
Steps to reproduce
Install VueJS 3.2.30 and the latest Buefy version
Use the this.$toast.open or ProgrammaticToast from the SFC included, you will see that
vm.extend is not a function is the console error after firing the toast.
What is expected?
There should be a toast
What is actually happening?
There is an error crashing the page

Is this an active deprecation? Is this something that will be fixed again?

Please provide a runnable reproduction.

That library does r support Vue 3 as far as I can tell

For a quick fix just make sure to use the 2.* Version range


Fix for has_one relationships where related record does not exist

Looks good to me @lgebhardt, did you want me to try it on my spike branch and see if it fixes my issue?

@joegaudet If you could test it that would be appreciated. There was a definite issue when the new tests were added so I'm optimistic it will fix your issue, but knowing for sure would be best.

@lgebhardt seems I'm still seeing the same stack trace:
NoMethodError
undefined method `_type' for NilClass:Class
/Users/joegaudet/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.9.0/lib/jsonapi/resource_serializer.rb:499:in `add_resource'
/Users/joegaudet/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.9.0/lib/jsonapi/resource_serializer.rb:347:in `block (2 levels) in cached_relationships_hash'
/Users/joegaudet/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.9.0/lib/jsonapi/resource_serializer.rb:346:in `each'
/Users/joegaudet/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.9.0/lib/jsonapi/resource_serializer.rb:346:in `block in cached_relationships_hash'
/Users/joegaudet/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.9.0/lib/jsonapi/resource_serializer.rb:326:in `each'
/Users/joegaudet/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.9.0/lib/jsonapi/resource_serializer.rb:326:in `cached_relationships_hash'
/Users/joegaudet/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.9.0/lib/jsonapi/resource_serializer.rb:154:in `object_hash'
/Users/joegaudet/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.9.0/lib/jsonapi/resource_serializer.rb:506:in `add_resource'
/Users/joegaudet/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.9.0/lib/jsonapi/resource_serializer.rb:196:in `process_source_objects'
/Users/joegaudet/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.9.0/lib/jsonapi/resource_serializer.rb:193:in `block in process_source_objects'
/Users/joegaudet/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.9.0/lib/jsonapi/resource_serializer.rb:193:in `each'
/Users/joegaudet/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.9.0/lib/jsonapi/resource_serializer.rb:193:in `process_source_objects'
/Users/joegaudet/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.9.0/lib/jsonapi/resource_serializer.rb:53:in `serialize_to_hash'
/Users/joegaudet/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.9.0/lib/jsonapi/response_document.rb:111:in `results_to_hash'
/Users/joegaudet/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.9.0/lib/jsonapi/response_document.rb:12:in `contents'
/Users/joegaudet/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.9.0/lib/jsonapi/acts_as_resource_controller.rb:226:in `render_results'
/Users/joegaudet/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.9.0/lib/jsonapi/acts_as_resource_controller.rb:78:in `process_request'
/Users/joegaudet/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/jsonapi-resources-0.9.0/lib/jsonapi/acts_as_resource_controller.rb:16:in `index'


Add limitation to pipe source

There exists a limitation for the pipe() source. if the fifo file gets removed then it gets recreated, syslog-ng will ignore the newly created named pipe, and will still listen on the old one until reload/restart.

https://github.com/syslog-ng/syslog-ng.github.io/pull/121
Added a note, but if anything more is needed, let me know, thanks.


[5.5] Fix order of run migrations

When you run migration
2016_01_01_000000_create_users_table.php

first
and then you add package to your application that has migration:
2014_01_01_000000_create_projects_table.php

and you run this, in database you should have

Migration
Batch

2016_01_01_000000_create_users_table.php
1

2014_01_01_000000_create_projects_table.php
2

When you now run
php artisan migrate:rollback

because migrations are ordered by migration descending, the 2016_01_01_000000_create_users_table.php will be rolled back what could be quite surprising.
That's why the sorting order should by first by batch descending and then by migration descending to rollback migrations in the order they were run.

Nice finding, indeed it should be ordered by the batch number first. 👍


x/build/cmd/gerritbot: don't ask author to do the review

Not sure if I have the right component here, but I just sent a couple of CLs regarding fmt, and "Gobot" asked me and only me to review them.

Thanks for the report; this is a duplicate of #27533. /cc @andybons


Remove rollup-plugin-imagetools

Rollup is great for building libraries, but Vite is better for building apps, which is where you'd use an image plugin so basically no one uses rollup-plugin-imagetools. I'd like to propose dropping it in order to simplify maintenance of this library
https://npmcharts.com/compare/vite-imagetools,rollup-plugin-imagetools?log=false&interval=7

I think we should publish one last release of the package with a readme update first. But in general: agreed 👍

I think we should publish one last release of the package with a readme update first.

Good idea. Here's a PR for that: https://github.com/JonasKruckenberg/imagetools/pull/530


Enforce guid usage in pkg manifests

https://github.com/SGG-Modding/Hell2Modding/commit/2630002e2c7ba0fe0df25ce83bb134d8b08f7391


[FLINK-26183] Support metrics using the Flink metric system

Leverages the existing Metric and Reporter infrastructure of Flink to expose metrics of the Flink operator
Users are able to access the built in metric reporter plugins
Users can add their own plugins by building their own operator image or by using init containers
It exposes standard JVM metrics, and later we can add operator specific metric groups if needed

Thanks, @morhidi. I find this an elegant solution for adding metrics support, since user have their Flink MetricsReporter setups already this leverages that. I am a bit torn on whether we should add all default metric reporter plugins to the base operator image, but I am leaning towards your solution since we also ship them in the Flink image too and they are small.

cc @gyfora @wangyang0918

@morhidi thanks for the contribution! Did you already think about what metrics the operator should expose? That would make for an interesting mailing list thread. There are various metrics that we should track, like reconciliation attempts/failures, count of CRs, etc.

Thanks guys for your comments, I'll look into these today!


Current streak bug

Even though my profile shows 6 continous green box for 6 days of streaks, The current streak is shown as 1 day.

Duplicate of #2290. Thanks for reporting


Add PHP 8 support and update dependencies

Travis failed, see https://travis-ci.org/github/FriendsOfApi/phraseapp/jobs/773516999. Can you have a look?

Travis failed, see https://travis-ci.org/github/FriendsOfApi/phraseapp/jobs/773516999. Can you have a look?

Hi, sorry to answer so late, I just pushed the fix. ;)


Viewport size_changed emitted before viewport transform updated on window maximize

Operating system or device - Godot version:
Happening on version 2.1.1 Steam, Windows 10
Issue description (what happened, and what was expected):
I have a custom Node2D where I draw a grid within _draw using draw_line.
To optimize I limit the drawing of the grid to the visible area.
To do so, I use get_viewport_rect() and get_viewport_transform().get_origin() to get the view rect.
To update the grid when the window is being resized I have connected the size_changed signal to the update function.
Unfortunately when I click the maximize window button, get_viewport_rect() gives and updated value but not get_viewport_transform().get_origin().
Strangely, if I resize the window manually, then both values are updated.
Steps to reproduce:

Create a custom Node2D
Create a _draw function like this:

func _draw():
	var clip = get_viewport_rect()
	var origin = get_viewport_transform().get_origin()
	print("Origin: :", origin)
	var pos = clip.pos - origin
	var end = clip.end - origin

	# Vertical lines
	for x in range(pos.x, end.x):
		if(x == 0):
			draw_line(Vector2(x, pos.y), Vector2(x, end.y), Color(1.0, 1.0, 1.0, 0.5))
		elif(x % 40 == 0):
			draw_line(Vector2(x, pos.y), Vector2(x, end.y), Color(1.0, 1.0, 1.0, 0.25))

	# Horizontal lines
	for y in range(pos.y, end.y):
		if(y == 0):
			draw_line(Vector2(pos.x, y), Vector2(end.x, y), Color(1.0, 1.0, 1.0, 0.5))
		elif(y % 40 == 0):
			draw_line(Vector2(pos.x, y), Vector2(end.x, y), Color(1.0, 1.0, 1.0, 0.25))

Maximize the window
The grid does not fill the entire window

Does this happen on other OS-s too? Also, would you mind if you make a sample project?

First of all thank you for your report and sorry for the delay.
We released Godot 3.0 in January 2018 after 18 months of work, fixing many old issues either directly, or by obsoleting/replacing the features they were referring to.
We still have hundreds of issues whose relevance/reproducibility needs to be checked against the current stable version, and that's where you can help us.
Could you check if the issue that you described initially is still relevant/reproducible in Godot 3.0 or any newer version, and comment about it here?
For bug reports, please also make sure that the issue contains detailed steps to reproduce the bug and, if possible, a zipped project that can be used to reproduce it right away. This greatly speeds up debugging and bugfixing tasks for our contributors.
Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.
Thanks in advance.
Note: This message is being copy-pasted to many "stale" issues (90+ days without activity). It might happen that it is not meaningful for this specific issue or appears oblivious of the issue's context, if so please comment to notify the Bugsquad about it.

As there was no answer to the above request, we're closing this issue as inactive.
If you can still reproduce it, please open a new issue against a currently supported release of Godot.


Abrupt termination when calling plotter.show

I'm using vedo version 2023.4.6 and the following code works on my local machine:
plotter.show(
                pointcloud,
                legend,
                **{'at': 0, 'axes': {'c': 'black', 'xyShift': 0.5, 'numberOfDivisions': 10}, 'title': 'train/sample', 'camera': {'position': (...)}, 'interactive': False, 'resetcam': True, 'elevation': -10}
            )

The problem appears when I'm running vedo on a remote machine (without display access). The following message is displayed in the console and the application gets shutdown:
/opt/miniconda3/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '

Hi I suggest to upgrade your version! Then check out
https://vedo.embl.es/docs/vedo.html#running-on-a-server

Thanks a lot, I missed the /etc/rc.local part of the server instructions. Worked like a charm in my 2023.4.6 version


Move scroll position of table view to the open cell

Hello Guys,
If the cell that I will open is off the screen should move the scroll to show all the cell.
For example in the screen shot attached, the cell number 3 it's cutting on the half, once I open it, should show all the cell automatically.
Could you please help me?

Try to add this line at the end of didSelectRowAt indexPath method
tableView.scrollToRow(at: indexPath, at: UITableViewScrollPosition.top, animated: true)


We should separate the image name from the tag

From a previous PR: https://github.com/UWIT-IAM/gcp-k8/pull/119#discussion_r758836217

I'd find it easier to read if the image and tag were separate like the flux doc example. It seems easier to visually compare the tag to the ImagePolicy pattern. Also, in operation the git diff of the version change would be marginally easier to comprehend.

image:
   repository: gcr.io/uwit-mci-iam/identity-uw # {"$imagepolicy": "default:identity-tom-policy:name"}
   tag: deploy-tom.2<IP_ADDRESS>.58.20.v4.3.9.local.thomasthorogood # {"$imagepolicy": "default:identity-tom-policy:tag"}

This has been fixed.
The new format is:
image:
    repository: gcr.io/uwit-mci-iam/app-name
    tag: deploy-foo.yyyy.mm.dd.hh.mm.ss.v1.2.3 {"$imagepolicy: "default:foo:tag" }


svd_compressed should not assume convergence error with nan inputs

The svd_compressed function currently reports a convergence error if inputs are nan some of the time and in other cases returns all nan results.  Examples:
import dask.array as da
import numpy as np

x = da.array([
    [1, 2, 3],
    [1, -2, 8],
    [0, 3, 1],
])
da.linalg.svd_compressed(x, k=2, n_power_iter=0)[0].compute()
# This is fine

x = da.array([
    [1, 2, 3],
    [1, -2, 8],
    [0, 3, np.nan],
])
da.linalg.svd_compressed(x, k=2, n_power_iter=0)[0].compute()
LinAlgError: SVD did not converge

x = da.array([
    [1, 2],
    [1, -2],
    [0, np.nan],
])
da.linalg.svd_compressed(x, k=2, n_power_iter=0)[0].compute()
array([[nan, nan],
       [nan, nan],
       [nan, nan]])

It would be ideal if this error indicated the issue more directly, possibly with scikit-learn-like messages (e.g. "Input contains NaN, infinity or a value too large for dtype").  Deferred errors/assertions (https://github.com/dask/dask/issues/97#issuecomment-646117043) would be helpful for that.
A shorter term fix would be to at least update the LinAlgError message to note that nan/inf inputs may be responsible.

A short note: I think it is the underlying tsqr that gives you this type of behaviour, since you are going from a square to a "thin".


Update init.py

Proposal to use step_result.error_message rather than the scenario error message with regards to issue: https://github.com/iljabauer/behave-teamcity/issues/1

Thanks buddy!
Cheers,
Jim


Fix slow execution when many breakpoints are used

PR Summary

PR Context

In Pester we use breakpoints in CodeCoverage and can set thousands of them. This makes execution of scripts really slow. This is because on every sequence point, every breakpoint is inspected to see if it should be bound. This PR uses dictionaries to split breakpoints by path, and by sequence point index, to make the lookup fast.
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[x] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

In my measurements, running all my Pester tests runs ~40s without Code Coverage and ~300s with Code Coverage, which is 7 times more. Code Coverage sets around 7k breakpoints for my codebase.
With the fix, it runs ~40s without CC and ~42s with CC, including all the overhead of setting up breakpoints, calculating and printing the coverage report, so the execution is probably <1% slower with 7000 breakpoints enabled.

@PaulHigin Polite nudge :) Could I get a review please? This would be a huge step forward for Pester users. Code coverage performance was always a pain point.

I'll try and look at this later this week.  The problem with changing debugging code is that it is a interactive activity and our tests don't cover everything.  So I am concerned about introducing regressions.  But I should have time to look later this week.

The problem with changing debugging code is that it is a interactive activity and our tests don't cover everything. So I am concerned about introducing regressions

Could we add more xUnit tests? for which methods?

It looks like I won't be able to get to this this week.  Sorry for the delay, and I'll make it a higher priority for next week.

@PowerShell/powershell-committee
Marking this for committee review, as this is a significant change to the debugging code.
This change is to improve performance when using thousands of breakpoints for script code profiling.
Note that the debugging code was not originally intended for this use, even though a number of third party tools do it.
I thought that Jason added profiling support hooks in V3.0, and created a profiling prototype for community members to pick up, but I don't know what happened after that.
Debugging is interactive and our tests to cover many scenarios, and my main concern is regressions.
I feel this should be marked as experimental and/or to get the changes in asap so that any regression bugs can be found and fixed.

I thought that Jason added profiling support hooks in V3.0, and created a profiling prototype for community members to pick up, but I don't know what happened after that.

@PaulHigin This is implemented in #13673

@PowerShell/powershell-committee reviewed this, we understand that Pester may be depending on using the debugger for compatibility reasons with older PowerShell.  We recommend looking at the profiling work as a means to hook into PowerShell for a future Pester.  For this PR, we ask that it gets wrapped as an ExperimentalFeature and try to get this in early to verify there are no unintended side-effects.

I want to get understanding what tests we should add to avoid regressions?

@nohwnd  Sorry for the long delay ... I forgot all about this PR.  I reviewed these changes and feel the perf inspired changes are good and that we should take them.  I'd like to get the changes in so that they can bake for a while.  I am not concerned about deallocating an empty sequence point dictionary and agree with you it is not that impactful.

Thanks @nohwnd for your contribution!

Oh, nice. :)

Something in this has broken the VS Code extension's debugger, and I'm not yet sure what. It doesn't look like the APIs we're using have changed, we're just calling SetLineBreakpoints, but that internal implementation (to add pending breakpoints) has changed.


Unity Plugin

Can you please create a unity package for SpectatorView for us Unity Developers? I'm sure a lot more devs would utilize this feature if you did.

We are looking into this now. Our master branch does have functionality for creating a unity package that can be shared amongst teams. We are still working through how to consume dependencies such as Azure Spatial Anchors, QR Code Detection dlls and the MRTK, which will delay having a NPM feed.
I am going to plan on tracking the issue here: https://github.com/microsoft/MixedReality-SpectatorView/issues/268#issuecomment-607441498

Please reopen this issue if the other issue doesn't suffice.

Any progress on this plugin? I've been at this setup instructions for a few days on and off, it's not as simple as ABC, there seems to be steps that are just enough unclear to make mistakes with the setup. I am struggling to build the unity package properly, very frustrating. :(


Body content is not generating with s.mdx().optional()

If you use s.mdx().optional() instead of s.mdx(), the body is never generated.

Yes, this is a known issue because transform inside s.mdx() does not work when it is modified as optional.
This is related to the internal design of upstream zod, e.g.
z.string().transform(() => {
  // not execute if input undefined
}).optional() // => ZodOptional

z.string().optional().transform(() => {
  // always execute
}) // => ZodEffect

I will try to solve this issue when I have time.


ARTEMIS-970 handle indeterminate JMS destination

@jbertram  the PR test failed with an actual failure: ActiveMQDestinationTest.testFromAddressWithInvalidPrefix
Can you look on it?

PR check on the Apache infrastructure crashed.  I ran it locally and it passed without issue.


Add documentation on how to debug

Hi, I had some problems with gql.tada but I've no idea on how to debug this (I'm using VSCode).
Is there anyway to debug (logs in specific)?

Define problems, if it's with the LSP not working it might be because you aren't using the workspace TS version and if you are you can open the TS server logs with the VSCode command line. If it's about tada we'll need info on what's going wrong.
PS the LSP is in a different repo

Define problems, if it's with the LSP not working it might be because you aren't using the workspace TS version and if you are you can open the TS server logs with the VSCode command line. If it's about tada we'll need info on what's going wrong.
PS the LSP is in a different repo

It's the LSP as I'm not getting any graphql-env.d.ts. I've added the settings.json to use the node_modules one but no success so far.

Define problems, if it's with the LSP not working it might be because you aren't using the workspace TS version and if you are you can open the TS server logs with the VSCode command line. If it's about tada we'll need info on what's going wrong.
PS the LSP is in a different repo

It's the LSP as I'm not getting any graphql-env.d.ts. I've added the settings.json to use the node_modules one but no success so far.

And I've no indication that it's doing something, that's why I wanted to see some kind of logs.
About the LSP logs, where can I find it? Couldn't find it through the "output" tab in VSCode

You can look on the bottom right in VSCode when on a TS file whether or not you are using the workspace version. The settings.json won't automatically switch as VSCode thinks that's not secure, when you go to a TS file you will get a prompt to switch to the workspace version that's what the second property does.
I will also move this issue to the proper repo.

You can look on the bottom right in VSCode when on a TS file whether or not you are using the workspace version. The settings.json won't automatically switch as VSCode thinks that's not secure, when you go to a TS file you will get a prompt to switch to the workspace version that's what the second property does.
I will also move this issue to the proper repo.

It looks like I'm using the workspace version

Got the logs, but nothing useful

Well then you can open the TSserver logs in VSCode and look for crashes/... https://github.com/microsoft/TypeScript/wiki/Getting-logs-from-TS-Server-in-VS-Code

Got the error:
Got invalid response {"errors":[{"locations":[{"column":7,"line":3}],"message":"Field __schema is too complex: complexity is 217 and maximum is 200"},{"locations":[{"column":5,"line":2}],"message":"Operation IntrospectionQuery is too complex: complexity is 217 and maximum is 200"}]}

Is there any configuration file to change the max complexity?

In case you need the schema: https://evm-sidechain.xrpl.org/graphiql

That's coming from your server when fetching the introspection

That's coming from your server when fetching the introspection

That's weird, I don't get that error when using Insomnia or CURL.
I can try to get the introspection json and use that directly

I ran into this problem. I have custom directives in my schema and I'm getting "Unknown directive" errors from GraphQLSP. Is there a plan to support unknown directives?

I had the same problem. No types generated.
Followed the above steps to get logging for the TS Server working and found an issue (It wasn't tagged with  [GraphQLSP]):
Err 232   [09:38:32.346] Exception on executing command unknown:
    Directive "@aws_oidc" may not be used on OBJECT.
    Directive "@aws_api_key" may not be used on OBJECT.

These directives come from AWS AppSync, and to get this 'working' I added the directives to the schema like so:
directive @aws_oidc on OBJECT
directive @aws_api_key on OBJECT

Available locations can be found here https://spec.graphql.org/October2021/#TypeSystemDirectiveLocation
This generates the introspection for me, but: I haven't deployed this yet. I'm guessing that defining them will mess up something on the AWS side  :)
One solution could be if the schema config could handle a list of schemas? I'm thinking I then could provide GraphQLSP with an extra schema holding the directives, just for type generation, and deploy the schema without the declarations.. maybe.. Or run the schema trough a preprocessing step when synthesizing in CDK and strip out the directives.


Fix the Citadel-apiserver connection proliferation issue.

Fixes https://github.com/istio/istio/issues/11744.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: myidpt
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

security/OWNERS [myidpt]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@myidpt: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
b226821ae8d1919538155e7e771f1db4e7ec0608
link
/test istio-integ-k8s-tests

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

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

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
b226821ae8d1919538155e7e771f1db4e7ec0608
link
/test istio-integ-k8s-tests

prow/istio-pilot-multicluster-e2e.sh
b226821ae8d1919538155e7e771f1db4e7ec0608
link
/test istio-pilot-multicluster-e2e

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

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: myidpt, wattli
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

security/OWNERS [myidpt,wattli]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
b226821ae8d1919538155e7e771f1db4e7ec0608
link
/test istio-pilot-multicluster-e2e

prow/istio-integ-k8s-tests.sh
f0b0af24300e9410992f3a3b1295f4a58bd0c126
link
/test istio-integ-k8s-tests

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

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

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
b226821ae8d1919538155e7e771f1db4e7ec0608
link
/test istio-pilot-multicluster-e2e

prow/istio-integ-k8s-tests.sh
f0b0af24300e9410992f3a3b1295f4a58bd0c126
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
0f67b9547b85f4eaec637ed6ed8a5518f6f7f5c9
link
/test istio_auth_sds_e2e

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

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

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
b226821ae8d1919538155e7e771f1db4e7ec0608
link
/test istio-pilot-multicluster-e2e

prow/istio-integ-k8s-tests.sh
a11266aa74681f9ebdf3298fc4f1e0c158198a18
link
/test istio-integ-k8s-tests

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

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: lei-tang, myidpt, wattli
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

security/OWNERS [myidpt,wattli]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@myidpt: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
766d9db0760ad8a2bbe86bf3e3e29120bbf6e13b
link
/test istio-integ-k8s-tests

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


Non-SDK interfaces are used

Find out the non-SDK interfaces and replace them

Was probably caused by Hugo. Removed


Home-assistant website doesn't load after around 24 hours, but automation/zwave all still work

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.42.2
Python release (python3 --version):
3.42
Component/platform:
HomeAssistant Website
Description of problem:
After letting HASS run for around maybe 24+ hours... the homeassistant website stays stuck on 'loading data' screen indefinitely. I've tried clearing my DB just in case this is related, but with an empty database, it still reproduces. As soon as I restart and try loading the site, it works fine... only error I see in the logs is below...
Apr 14 10:58:54 hassbian hass[17261]: 17-04-14 10:58:54 ERROR (MainThread) [homeassistant.components.websocket_api] WS<PHONE_NUMBER>: Unexpected TypeError {'id': 3, 'type': 'get_states'}
All automation rules are still running, and using google voice to control zwave switches all works, just can't load the dashboard without a restart.
Expected:
Homeassistant website to load as usual no matter the up-time on the application
Problem-relevant configuration.yaml entries and steps to reproduce:

Start home-assistant
Let it run for more than 24 hours
Try to load the home-assistant website @ your http://your_ip:your_port/

Traceback (if applicable):

Additional info:
Apr 14 10:58:54 hassbian hass[17261]: 17-04-14 10:58:54 ERROR (MainThread) [homeassistant.components.websocket_api] WS<PHONE_NUMBER>: Unexpected TypeError {'id': 3, 'type': 'get_states'}

Do you have any custom components / panels / ui ?
Try disabling those if you do.
Try clear browser cache.


Quorum: Ansible role to create crypto for Tessera

Description
As a developer I want to create crypto materials for Tessera so that I can deploy Quorum using BAF with Tessera transaction manager.
Pre-requisites
Add new role to download tessera jar.
Steps:

Check if tessera-app.jar is already there, if yes, skip.
If no, then execute

wget -q https://github.com/jpmorganchase/tessera/releases/download/tessera-0.8/tessera-app-0.8-app.jar

Rename tessera-app-0.8-app.jar to tessera-app.jar (version should depend on the version provided at network.config.tm_version )

Steps for Tessera crypto

Check if tm key is already created on Vault, if done, skip all steps.
For each node, run following to generate keys with name "tm"

cd <node name>
printf '\n\n' | java -jar ../tessera-app.jar -keygen -filename tm

Put Crypto in Vault
vault kv put secret/<namespace>/crypto/<node name>/transaction tm.pub="$(cat <node name>/tm.pub)" tm.key="$(cat <node name>/tm.key)"

Acceptance Criteria

All pre-requisites installed for Tessera crypto generation.
Check Vault before generation of crypto.
Upload crypto into Vault.

Closed as per #330


[BUG] Can not integrate with new Alerts reports

Hello tamari,
*according to ticket : https://github.com/whitesource-ps/ws-bulk-report-generator/issues/11
I've download the latest version project, and still can't download the view by vulnerability or view by library reports from the project
Have you verified that ?
Thanks.

There is no report type named view_by_vulnerability . You can see the full list of reports by executing the utility with -h switch. For "alerts" report  pass -r alerts .
There is a PyPi package for easy deployment, upgrade, etc... Just execute pip install ws-bulk-report-generator to obtain the latest release and following execute: ws_bulk_report_generator -u <KEY> ....
If you still want to run this as a script, try to go back one dir level (to: ~/Downloads/ws-bulk-report-generator) and execute: python3 ws_bulk_report_generator/bulk_report_generator.py -u.....

Let me know if it helped.

Closing this. Please reopen if help is still necessary.


Make this into a plugin !

This is a wonderful workflow, but somewhat complicated for non-tech savvy people. It would benefit all users of Logseq and Wallabag to have a plugin to import articles and highlights, just like the Hypothesis plugin does !
Thank you so much for your time !

Feel free to build it! I'm no longer using this tool to sync bookmarks and things to logseq.

Do you use another tool, or you don’t use Wallabag anymore ?
Thanks

I still use Logseq, but it's a crappy tool to publish websites with. At one point my public knowledge graph was a single index.html file of over 15MB. That's just insane. So I stopped publishing my graph, and I'm now waiting for Logseq to improve this.
In the meantime, I publish wallabag articles through a little custom script that renders a "stream" on my personal website.


feat(api-server): require github link for backend projects

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Related to: https://github.com/freeCodeCamp/freeCodeCamp/issues/53470
MERGE/DEPLOY AFTER: https://github.com/freeCodeCamp/freeCodeCamp/pull/53511

I thought we wanted to make the solution link optional. Perhaps, in another PR or something.

The solution link has to be submitted to run the tests. So, I thought it just made sense to keep it as is.
Also, it leaves it open for how we, in the future, want to do something with them.

This can be unblocked @ShaunSHamilton?


Add allOf/anyOf/oneOf concept

One of the very useful features in JSON Schemas is the option to have multiple options via allOf/anyOf/oneOf for the same key/set of keys when nesting. For our project github.com/cividi/spatial-data-package-platform this would solve a major hurdle for fully embracing django-jsonform as an elegant solution for tenant defined forms. Would be awesome to know if this is at all thinkable as a future addition. Thanks so much for your efforts.

Yeah, currently I've implemented a custom, non-standard json schema specification. But I'm working towards adding the standard features. I've got some features lined up for the next release (like referencing and recursive nesting). I'll try to include allOf/anyOf/oneOf also. I'll have to see.
Currently, for basic string based options, you can use the choices keyword. And for anyOf type options, there's a multiselect widget.

I'm starting work on this. But these keywords - allOf/anyOf/oneOf - are mainly for validation and I'm having a hard time trying to figure out how to render a form for them.
If you can give me a couple of example schemas for them and describe the form's expected behaviour, it will make things a bit easier for me. Thanks.

@n0rdlicht Hi, I'm still waiting for suggestions from you. Please, see my previous comment. Thank you.

oneOf is useful as it allows us to map Django TextChoices cleanly to a select field. Otherwise one must use the pre_save_hook to transform the choice label to the choice value.

@bhch Many thanks for this excellent library. It's probably the best tool I've found for unstructured data that needs a visual representation. I'm using it for field translations, but I can think of a dozen other use-cases for early stage prototyping. This project deserves more attention.

A great use case for this would be to build forms for variable field sets for inheritance-simiar discriminated unions, as they are for instance implemented by Pydantic.
https://docs.pydantic.dev/usage/types/#discriminated-unions-aka-tagged-unions
This is a very common JSON/JSON Schema pattern.

Hello, everyone participating in this thread!
I've just implemented this feature on the JS side. You can test it out in the playground here: https://bhch.github.io/react-json-form/playground/#18-anyof.
I encourage you to kindly test with  your own schemas because there might be certain cases which I've forgot to account for. If you do find any bugs, please report. But any sort of feedback is appreciated.
I'll release the Django app next weekend.
Thank you.

Worked like a charm on my test schema. Very nice, thats a game changer for working with Pydantic in Django.

This feature has been released in v2.16.0. Please update and test it out.
There are a few limitations in their implementation, so do read the docs as well.
Thank you.


inference_cli.py fails on longer texts

So I tested out the CLI inference tool, and it works fine with short input prompts or texts, but with longer texts, it outputs gibberish.

You need "cut"


IMU sensor integration with debian based system

Hi,
Stuck in the basic loop.I'have integrated imc20948 sensor with my Debian based system(Luck fox-3566) and with after building Ur repository while executing i'm getting issue of failed to detect the sensor.
Upto build its working fine without an issue and i  even detecting the sensor on my i2c buses.

Hi and thanks for using my code.
Just to clarify, were you able to use this library (and the provided test application) on your Luckfox? If you fail to detect the sensor on the i2c bus, are you providing a correct address? I'm using by default "/dev/i2c-0" but it might be different in your case.

Thanks for the reply .
yeah i'm detecting the sensor at i2c -5 bus .What needs to be change in ur code if i want to use it at i2c-5?

hey,
The maximum value I'm getting here of gyroscope is 5.12 How?
how u have calibrate gyroscope and how  calibration can be done on magnetometer  and accelerometer ?


FETCH RFC822.SIZE

Is your feature request related to a problem? Please describe.
It would be handy to have the size of a message calculated by the IMAP server and available without having to download the whole mail.
Most IMAP servers implement
FETCH NNN RFC822.SIZE
where NNN is the message number/uid shown in this stackoverflow article.
I think this is the way to go for getting this information.
Describe the solution you'd like
To retrieve this information, we can ask for it using the IMAP command directly or parse the result from imap_fetch_overview() depending on which protocol implementation is used.
Describe alternatives you've considered
Some dirty hack with fetching the whole message and calculating it on my own. But this doesn't scale.
Additional context
Relates to Issue #278
Pull request

Hi @didi1357 ,
thanks again for your pr. Live Mailbox testing is now supported as well - thanks for giving me the final push :)

Wow, that was fast. Congratulations, and thanks for the collaboration :handshake:


"genghisapp: command not found" on Windows

Hello there,
I am trying to use genghisapp on my computer which is running on Windows 8.1 64-bit.
I've installed Ruby 2 x64, then installed the Ruby DevKit and after that installed genghis and its dependencies.
I've also added the bin directory of Ruby to my path variables.
But finally, when I run genghisapp in the command prompt, it says "command not found".
I would appreciate some help to solve this problem ;)

i have same problem , oh god , im so sad , i try all , not works for me


[Question] Some questions about computation of λ-returns.

Hi,dininar! Such a great job!
I have some question about the code details。
In your paper, λ-returns is computed by  r_t and v(s_{t+1})
But I found that in your code, you use the  r_t and v(s_{t}), why, Is there something wrong with my understanding?
Here is the code about λ-returns:
https://github.com/danijar/dreamerv3/blob/main/dreamerv3/agent.py#L367
https://github.com/danijar/dreamerv3/blob/main/dreamerv3/behaviors.py#L14

If you use x_t -> a_t -> r_t+1 notation as in the paper, the world model computes s_t from x_t and the history and predict r_t+1 from s_t.
That means when you predict rewards in the code as reward_predictor(s_sequence) then we need to discard the first reward for the time steps to be aligned as your second code link shows.
Then to compute the returns, you need r_t and v_t+1. I do that by removing the first value from the value tensor as your first code link shows.
Hope that helps!


launchPackager.command error

i take terminal error "can not open launchPackager.command"
CoreServicesUIAgent uygulamasının belgeleri Terminal’de açmasına izin verilmediği için “launchPackager.command” açılamıyor.

How did you get react-native? When you download it from web in a zip file, OSX marks all executable files as "unsafe". Try  doing git clone or find launchPackager.command file in the repo (it's in packager/ folder), right click - Open, and it will ask you if you want to trust it. Please reopen if this doesn't help


Licensing

Hi,
I'm one of the LLVM-MOS codegen authors, and I'm looking to incorporate this benchmark into our integration test suite. However, there's no license on this repo that would allow me to do so. Would you mind licensing this under a free or open source license?
Thanks,
Daniel

Hello,
Added 2-clause BSD license to both "master" and "llvm-mos" branches. I hope it suits your needs, if not tell me. I did not expect this code to live longer than the writing of bench blog-post.
Happy to see llvm-mos being worked on,
Sylvain

Hah, there's no telling what can come of a simple blog post! Thanks!


synchronize ecs-logging spec

What
ECS logging specs automatic sync
Why
Changeset

https://github.com/elastic/all/commit/760f1f4 Remove .log suffix from default event.dataset (https://github.com/elastic/all/pull/63)

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2021-08-30T14:23:07.723+0000

Duration: 7 min 25 sec

Commit: 015a89d59d04e040a7b73e35e11da6b4595231c5

Test stats :test_tube:

Test
Results

Failed
0

Passed
171

Skipped
0

Total
171

Trends :test_tube:


Having breakpoints in cshtml files that are not open in the editor breaks debugging

Steps to reproduce:

Create a new Web application
Add a breakpoint in Index.cshtml

Close the file in the editor
Press F5 to run the app
Press F5 again when the breakpoint is hit

I think this is probably a tooling issue but I am not sure.
VS version: 26621.2.d15rel

Is this with Pages? or regular Razor files?

Regular razor files. I didn't test with pages.

I get this message in the error list.
My guess is that something is rev-ing the generated code, which is causing the ENC error.

We should figure out if this is related to how we do checksums. Is this an artifact of having checksums in the design time code?

Is this an artifact of having checksums in the design time code?

No. We do not generate checksums in design time.

@alexgav is taking a look.

This is being tracked here


server: when registering a user, set user name if OIDC identity contains one

When automatically registering a user from an IP that provides
a DisplayName, set it on the created user so that JWT we create
contain a meaningful name field.
Added new test and ran existing ones.

lgtm!


Add basic set of base types and annotations

Coverage remained the same at 100.0% when pulling 918398d27029bbe8879fd2b617c795d56d4aa206 on base-stuff into 5804d34553ebe110f005f56d6a042ff7db40b63e on main.


[$500] Chat - Keyboard closes when swiping down the multiline text in the composer

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.3.99-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Launch New Expensify app
Go to any chat
Enter many lines of message
Expand the composer
Swipe down within the composer to scroll up to the first line

Expected Result:
Keyboard will not close when swiping down the multiline texts in the composer
Actual Result:
Keyboard closes when swiping down the multiline texts in the composer, especially when the swipe is quick
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/714e50e3-5d45-483a-b868-973f1c07ce63
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01f22d16b807352fe4
Upwork Job ID:<PHONE_NUMBER>655684096
Last Price Increase: 2023-11-15

Proposal
Please re-state the problem that we are trying to solve in this issue.
Keyboard dismissed when swiping down
What is the root cause of that problem?
The onSwipeDown handler is dismissing the Keyboard here:
https://github.com/Expensify/App/blob/a9743a23204c2c0bd363fb9098d51ce9ed109cce/src/pages/home/report/ReportFooter.js#L94
What changes do you think we should make in order to solve the problem?
Remove the onSwipeDown={Keyboard.dismiss}
What alternative solutions did you explore? (Optional)

Updated proposal

Updated proposal to include a screen recording

Updated proposal to add Android screen recording

@hoangzinh Looks like it was added in the commit that originally added the ReportFooter.js file here:
https://github.com/Expensify/App/commit/150cad6059072d42d0fab73bbc1e47351fe66ccb#diff-6cbc88ae1e31fd9d7bba715c94c947a8bcb1d2cd3cfcfb7368755994d40b2b02R87
Before that, it was part of the ReportScreen.js where it was first introduced over 2 years ago in this commit:
https://github.com/Expensify/App/commit/47d99be7e05c1ab5058359e92364eb9ade212b36#diff-dd4bfa50713397aca8cb40145317936ab0affe19abc2a9c24d6c8849ed75dc9bR139

Actually, it originally came from ReportView.js file that was refactored into ReportScreen.js file in that commit 2 years ago. The first commit adding the SwipeableView component is this commit:
https://github.com/Expensify/App/commit/956eb7ab4402b19fc6a931c6cda5b5d8eddb375f#diff-0fde357effe9cfca0e46ae05dde144722f716890ac7bb5b1d233de2cae5e696cR29

Proposal
Please re-state the problem that we are trying to solve in this issue.
Swiping down in The Composer during the multiline state causing the keyboard to close
What is the root cause of that problem?
The root cause of this issue is that SwipeableView component catches all swiping events that are occurring under it in the Capture phase, which is causing onMoveShouldSetPanResponderCapture method to be called in scrolling the multiline text in the Composer TextInput.
https://github.com/Expensify/App/blob/1900b7e816d6ca33a0459060ec03a982c4c12802/src/components/SwipeableView/index.native.tsx#L13
Another possible case that causes this issue is when selecting a text in the Composer and swiping down as in the video below.
https://github.com/Expensify/App/assets/52893825/f91ef2e6-8050-47d1-af10-2db21b3ecb85
In general, any swiping down event(more than the distance of COMPOSER_MAX_HEIGHT) in the Composer, will cause the keyboard to close.
What changes do you think we should make in order to solve the problem?
1- We have first to filter TextInput movements events in onMoveShouldSetPanResponderCapture by adding the following check:
const isTextInputEvent =
  event.target?.viewConfig?.uiViewClassName.includes('TextInput');

PanResponder.create({
  // The PanResponder gets focus only when the y-axis movement is over minimumPixelDistance & swipe direction is downwards
  // eslint-disable-next-line @typescript-eslint/naming-convention
  onMoveShouldSetPanResponderCapture: (_event, gestureState) => {
    //check if the event is from a TextInput
    const isTextInputEvent =
      event.target?.viewConfig?.uiViewClassName.includes('TextInput');

    if (
      gestureState.dy - oldYRef.current > 0 &&
      gestureState.dy > minimumPixelDistance &&
      //does not apply if the event is from a TextInput
      !isTextInputEvent
    ) {
      return true;
    }
    oldYRef.current = gestureState.dy;
    return false;
  },

  // Calls the callback when the swipe down is released; after the completion of the gesture
  onPanResponderRelease: onSwipeDown,
});

After this change swiping down in TextInput Composer will not close the keyboard, as we can see the red border represents SwipeableView where the space that the user can swipe down to close the keyboard, above the Composer there is enough space for the user can touch, so I suggest to move the margin above the Composer to be a part of it to make swipe easer from up and down.

What alternative solutions did you explore? (Optional)

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~0181d1beee862a16fa

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~0181d1beee862a16fa

Ah!  Thanks for the details @hoangzinh, yes - I agree this is intentional.


Panel broken for viewers on Grafana Cloud 11+

On Grafana Cloud a user with viewer rights is unable to select a variable when the variable is of type "Query". The following message appears:

For a variable of type "Custom" the values show up and the value of the variable updates, but they do not refresh any panels on the dashboard.

This has been tested for the following versions of Grafana Cloud:

Grafana v11.1.0-70903 (778d9eb69d)
Grafana v11.2.0-72847 (aaf23c64c3)

Example dashboard:
{   "annotations": {     "list": [       {         "builtIn": 1,         "datasource": {           "type": "grafana",           "uid": "-- Grafana --"         },         "enable": true,         "hide": true,         "iconColor": "rgba(0, 211, 255, 1)",         "name": "Annotations & Alerts",         "type": "dashboard"       }     ]   },   "editable": true,   "fiscalYearStartMonth": 0,   "graphTooltip": 0,   "id": 13,   "links": [],   "panels": [     {       "datasource": {         "type": "datasource",         "uid": "grafana"       },       "fieldConfig": {         "defaults": {           "thresholds": {             "mode": "absolute",             "steps": [               {                 "color": "green",                 "value": null               },               {                 "color": "red",                 "value": 80               }             ]           }         },         "overrides": []       },       "gridPos": {         "h": 8,         "w": 12,         "x": 0,         "y": 0       },       "id": 1,       "options": {         "alwaysVisibleFilter": false,         "autoScroll": false,         "collapsedByDefault": false,         "customValue": false,         "displayMode": "table",         "emptyValue": false,         "favorites": false,         "filter": false,         "groupSelection": false,         "header": true,         "padding": 10,         "persistent": false,         "saveSelectedGroup": false,         "saveSelectedGroupKey": "",         "showGroupTotal": false,         "showLabel": false,         "showName": false,         "showResetButton": false,         "showTotal": false,         "statusSort": false,         "sticky": false,         "variable": "customVar"       },       "pluginVersion": "3.1.0",       "title": "Panel Title",       "type": "volkovlabs-variable-panel"     }   ],   "schemaVersion": 39,   "tags": [],   "templating": {     "list": [       {         "current": {           "selected": false,           "text": "2",           "value": "2"         },         "hide": 0,         "includeAll": false,         "multi": false,         "name": "customVar",         "options": [           {             "selected": false,             "text": "1",             "value": "1"           },           {             "selected": true,             "text": "2",             "value": "2"           },           {             "selected": false,             "text": "3",             "value": "3"           },           {             "selected": false,             "text": "4",             "value": "4"           },           {             "selected": false,             "text": "5",             "value": "5"           }         ],         "query": "1,2,3,4,5",         "skipUrlSync": false,         "type": "custom"       }     ]   },   "time": {     "from": "now-6h",     "to": "now"   },   "timepicker": {},   "timezone": "browser",   "title": "Volkovlabs Variable panel test",   "uid": "cdrfloby1kbggb",   "version": 2,   "weekStart": "" }

@BrightGrafana Thank you for reporting the issue. I will check and get back to you.
Do you have any special permissions configured on your data source which can prevent viewers to use it?

@mikhail-vl No, the viewer has the "Query" permission for datasources used for "Query" type variables.
Furthermore, the viewer has the basic-viewer role assigned (RBAC). When the permissions are changed to editor or admin, then the specific user is able to manipulate the variable through the variable panel.

The variables that only display $_all

My current Year variable should be like this

Same issue here.
When placing a variable with query as display variable, the control no longer works.
When I run the query in the variable setting, I get results, but they are not displayed anymore.
Tomorow arround 11:00 it worked, but then I had a Grafana update (cloud version) and it stopped working

@vitPinchuk could you please investigate recent changes.

I'm now experiencing the same issue on Grafana Cloud with volkovlabs-variable-panel v3.2.0. The Business Variable panel only shows $__all or Variable is not selected or do not match returned fields.. The default built in variable dropdown works just fine.

@SamuelBoerlin I can confirm your finding. As work-around untill this is fixed I switched back to the default variable drop down.

We able to reproduce an issue locally with enabled dashboardScenes toggle enabled and investigating.
export GF_FEATURE_TOGGLES_ENABLE=dashboardScene

Grafana confirmed the issue and will work on a fix: https://github.com/grafana/grafana/issues/90538

Until issue is fixed in the new versions of Grafana Cloud the new Scenes dashboards can be disabled by contacting support.

Shoutout to @asimonok. PR https://github.com/grafana/scenes/pull/838 merged and should be updated in Grafana Cloud in the upcoming releases.

Happy to report that the issue has now - at least in my case - been resolved on Grafana Cloud.

Thanks for the fast solution!

@SamuelBoerlin Thank you for confirming.
Grafana team is still working on outstanding issues and it should be a part of the upcoming OSS 11.2.0: https://github.com/grafana/grafana/issues/90538

I'm still seeing this issue on v11.2.0-74290 with the feature toggle disabled as well.


Add signature type for SCW

Would be helpful to have another type here on signature for a SCW.
https://github.com/xmtp/proto/blob/main/proto/message_contents/signature.proto#L11-L29

Looks like we should be able to just use this https://github.com/xmtp/proto/blob/main/proto/identity/associations/signature.proto Will need to swap this in on the clients as needed.


Implementation of Scaffolding for Oracle.

Here is a small implementation of scaffolding for Oracle.
Tables I used as an example:
TableOracle.txt
Result obtained:
Context.txt
Used command
Scaffold-DbContext "USER ID=ralms_dev;PASSWORD=ralms_dev;DATA SOURCE=<IP_ADDRESS>:1521/ralms_ef" Microsoft.EntityFrameworkCore.Oracle -OutputDir SampleModels -force -v

@ralmsdeveloper,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@ralmsdeveloper - The purpose of tables (& schema) are list of included tables in scaffolding. If user has 3 tables but specify only 1 table in args (which will be passed to code using IEnumerable<string> tables) then the scaffolding tool should only scaffold one table and not all 3. At present above code scaffolds everything for current user. You can look at SqlServer implementation of this (which was recently updated), to get idea how to applied table/schema filters.

Yes for sure!
I'll check it out now.

I'm happy to see that this is about a million times easier than how Oracle had to do it on non-Core EF.

Merged via b86eb8548a0deedc1199c3b4bc6b8632bd7824e3
Thanks @ralmsdeveloper


Test actions

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@7facb99). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             main        #8   +/-   ##
========================================
  Coverage        ?   100.00%
========================================
  Files           ?         1
  Lines           ?         8
  Branches        ?         1
========================================
  Hits            ?         8
  Misses          ?         0
  Partials        ?         0

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 7facb99...b8d7501. Read the comment docs.


Implement wildcard ingress for *adorsys.de and *.adorsys.com

Guess we'll move the certs to the ssm and use the clustersecret to propagate them to specific namespaces

i'd say we deploy a new clusterIssuer and externaldns with management capabilities for the openshift aws account.
then we set explicitly ingress objects in our new setup.

with the changes implemented in #67 this should be easily possible


[Publisher] Can't publish API with only mutual SSL security

Description:
From the API publisher lifecycle page, Can't publish an API which has only Mutual SSL security configurations

Steps to reproduce:
Affected Product Version:

Environment details (with versions):

OS:
Client:
Env (Docker/K8s):

Optional Fields
Related Issues:

Suggested Labels:

Suggested Assignees:

Hi @isuruh15,
I think this PR https://github.com/wso2/carbon-apimgt/pull/8233 only change the PUBLISH button disable condition, We have to update the checklist items shown in the lifecycle page as well.

We need to check

Is mutual SSL enabled

If so check whether at least one certificate is associated with mutual SSL

@isuruh15
If Mutual SSL is enabled we need to add another checklist item as following under Publish
Publish

Certificate provided

We need to check whether this condition is satisfied. If this condition is satisfied only the Publish button should be enabled.

@kavishkafernando
As we are getting a business plan as a mandatory requirement when we are adding a new cert, do we need to explicitly say that a business plan has provided?
what if we conditionally show either Business plan(s) provided or Certificate provided depending on the transport layer security preference?

By conditionally rendering business plans and certificate provided, users will get the impression that business plans are not a mandatory requirement.
Since business plans are certificates are both mandatory I think they should both be displayed in the requirements list.
Business plans and endpoints are a mandatory requirement of any API (except for prototyped) so I think we should maintain that uniformity.


Error on running Amplify configure project

Which Category is your question related to?
amplify configure project
Amplify CLI Version
0.1.45
Provide additional details e.g. code snippets
I have an existing project and when I try to configure it on a new machine, I get the following error
Error occured during configuration.
TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at run (/usr/local/lib/node_modules/@aws-amplify/cli/src/lib/config-steps/c1-configFrontendHandler.js:8:37)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

Following is my project-config.json file
{
    "projectName": "project-name",
    "version": "3.0",
    "frontend": "javascript",
    "javascript": {
        "framework": "angular",
        "config": {
            "SourceDir": "src",
            "DistributionDir": "dist",
            "BuildCommand": "npm run-script build",
            "StartCommand": "ng serve"
        }
    },
    "providers": [
        "awscloudformation"
    ]
}

Environment Details:
OS: MacOs
Node Version: 13.8

@nikhname , can you please look into it and let me know what might be wrong in this configuration?

@rehanbabertkxel
Please update the Amplify CLI version to the latest and try again.
npm install -g @aws-amplify/cli

@UnleashedMind , thank you for the response.
I have already tried that with no luck. What can be the other possible reasons for this issue?

@rehanbabertkxel your project config looks correct for an angular project. Do you see the same error when you run amplify configure project with 4.13.2?

@nikhname , I have resolved it.
The issue was that I was using nvm and an old version of amplify was installed with the node version I was using.
I removed nvm and node, installed node again and installed amplify latest version and everything works like a charm now.
Thanks for the response. :)