Losses are now stored as negative values

Changes Unknown when pulling 744f3a0c6c4bb4372265f2922c07f87d4144dc9f on in-n-out into ** on master**.


Return syncmembers diffs to file and have it sent back

Here's a small addition to the syncmembers command that probably needs to be tested. Uses the same method as /breakdown where we create an output string and write it to a temp file to be displayed on the command being complete.
The syncmembers log should display:

added user w because they joined
removed user x because they left the server
skipped user y because they don't have a "Member" role
skipped user z because they don't have a nickname in Discord

as requested.
The logic is already there so it was as simple as adding the strings within the if/else statements.
Something I do have a concern about is for example, the remove_members() try/except statement fails on line 688, and how to handle the output string in such a case (which is why this obviously would need some testing).

Also I believe the description for the check_role() function is a bit confusing as it shows "Check if a member has a leadership role." but in syncmembers case we're using it to check if the member has a "Member" role.

Thank you for the changes and adding a test!


Discord Bots creation

@JennaLynGallagher @robotic-coder @Michael-Stroh @NitronBiohazard @CalebJohnstone this is a test

@JennaLynGallagher @robotic-coder @Michael-Stroh @NitronBiohazard @CalebJohnstone this is another test

Bot is up and running - it will notify us of pushes to master and repost issues/PRs into dedicated channels. These reposts will ping us on Discord if a PR/issue comment includes a ping on GitHub. @JennaLynGallagher


[FEATURE] New datasource - machine learning (ML)

Is your feature request related to a problem?
SQL plugin depends on ML plugin which depends on ....
What solution would you like?
Create new datasource: ML

It will use ML to obtain data (the same happens now)
It will provide few unique functions (now those functions exist in the common scope - kmeans, knn, ad, ml, etc)
It will be pluggable, so
3.1. We could be able to deactivate it in case of dependency conflict or any other compilation errors.
3.2. Probably, the end user would be able to opt-in/out this feature too in the SQL plugin.

What alternatives have you considered?
N/A
Do you have any additional context?

Common compilation errors due to ML dependency
Doctests are disabled for ML

The goal
To avoid having a strict dependency on ML plugin. Make this dependency loose and/or optional.

Related to #811


Wrong e-mail regex

https://github.com/eugenp/tutorials/blob/master/spring-boot-modules/spring-boot-mvc/src/main/java/com/baeldung/swagger2boot/model/User.java
<EMAIL_ADDRESS>message = "Email should be valid")
==>
<EMAIL_ADDRESS>message = "Email should be valid")

Hi @heannig,
Thanks for the feedback! We'll update the code and the article.

Hey @heannig,
We've updated the article.


Update toc.yml

Follow up from https://github.com/TuringLang/TuringTutorials/pull/422

Doesn't look like I have merge rights. If you wouldn't mind hitting the button @torfjelde


The  and  directive is mandatory in your travis config

previs doesn't start.
✗ previs
You are using '.travis.yml' file
Creating Dockerfile
The <from> and <version> directive is mandatory in your travis config%

What does that mean?
I am using snap beta:      0.4.1 (77) 3MB - <.

Hey, thank's for your feedback.
This error report mean either you forgot to pass the language and the version of the language used or either you just passed the things in a manner that Previs don't understand.

Here is the .travis.yml - https://github.com/Multy-io/Multy-back/blob/fb4fa80244144444c28f258bd8711ff42bc504fd/.travis.yml - it is the same as in master right now, so you clone and run it yourself.

I think you should read the readme and the wiki. Many things in your travis.yml is not yet supported by Previs.

I could write a patch for this specific message if I could understand where is comes from.


gto add and artifacts.yaml arguments/fields

Some questions/feedback on gto add and artifacts.yaml:
My biggest question is whether the gto add TYPE NAME PATH really needs all 3 required arguments. It's a lot to remember and type to add an artifact, and it's not clear why all 3 are required and how each is useful. Related questions:

Why not make a --type option instead?
Should artifacts be defined by path or name? It's unclear if names are intended to be aliases for paths, or if names are the primary artifact identifiers, in which case it's unclear why paths are required. If paths aren't required, --virtual is probably not even necessary since external artifacts could be added without paths.
Why is the name listed both as a top-level key in artifacts.yaml and also under each key in the name field? Are both needed?

One smaller unrelated question:

Could tags be renamed to something else like labels to avoid confusion with git tags?

Just found this. Interesting discussion

I never seen git tags like<EMAIL_ADDRESS>Finally, from technical perspective, git tags that contain slashes / may cause some issues

My related comment is that at least GTO tags should at least be grouped into gto/alias@version format. This could be useful for other systems to avoid clutter when displaying Git tags (hypothetically).


empty column tooltip

run the cell with class MyClass at the end of test/ipynb/groovy/MapLikeTableTest.ipynb
and then hover over the column. the tooltip is empty.  should be "Object".

@scottdraves could you plz test it once again?
And please give me more info about when and where it does not work for you.


Rename repo from special-resource-operator to kernel-module-management-operator

The community has chosen a new name for this operator called kernel-module-management-operator(kmmo).  The code base will be entirely different from SRO, continuing with the management for out-of-tree kmods and device plugins, supporting vendor solutions where an OOT kmod is needed.

Resolved with:  https://github.com/kubernetes/org/issues/3587


[incubator/kafka]: restart job-config OnFailure

What this PR does / why we need it:
This prevents the kafka-config job from spawning more than 1 pod by simply restarting the existing one on failure.
This behaviour is 'better' than the exisiting one because when kafka (and zookeeper) have multiple replicas, the kafka-config job will most likely timeout (4 minutes) serveral times and a bunch of pods (sometimes hundreds) will be created and have an Error status. With this change, whenever the job pod timeouts, it will restarted and try to set configuration again.
Checklist

[x] DCO signed
[x] Chart Version bumped

/assign @davidkarlsen

/assign @benjigoldberg

/ok-to-test

/lgtm


absl SC2 isn't running, so bailing early on the websocket connection.

Hi, I can run "src/main.py --config=qmix --env-config=sc2 with env_args.map_name=2s3z" in the terminal ok. However, when I try to run the same function on pycharm I get the error I show below, any idea on what could be causing this and how to fix it?
Thanks in advance for any help :)
[INFO 11:48:25] my_main Beginning training for 2050000 timesteps
[INFO 11:48:25] absl Launching SC2: /Applications/StarCraft II/Versions/Base82457/SC2.app/Contents/MacOS/SC2 -listen <IP_ADDRESS> -port 22434 -dataDir /Applications/StarCraft II/ -tempDir /var/folders/vy/0tj1lc296lnfn5twwx3gxdj40000gq/T/sc-btqhfm1c/ -displayMode 0 -windowwidth 1920 -windowheight 1200 -windowx 50 -windowy 50
[INFO 11:48:25] absl Connecting to: ws://<IP_ADDRESS>:22434/sc2api, attempt: 0, running: True
[INFO 11:48:26] absl Connecting to: ws://<IP_ADDRESS>:22434/sc2api, attempt: 1, running: True
[INFO 11:48:27] absl Connecting to: ws://<IP_ADDRESS>:22434/sc2api, attempt: 2, running: True
[INFO 11:48:28] absl Connecting to: ws://<IP_ADDRESS>:22434/sc2api, attempt: 3, running: True
[INFO 11:48:29] absl Connecting to: ws://<IP_ADDRESS>:22434/sc2api, attempt: 4, running: True
[INFO 11:48:30] absl Connecting to: ws://<IP_ADDRESS>:22434/sc2api, attempt: 5, running: True
[INFO 11:48:31] absl Connecting to: ws://<IP_ADDRESS>:22434/sc2api, attempt: 6, running: True
[INFO 11:48:32] absl Connecting to: ws://<IP_ADDRESS>:22434/sc2api, attempt: 7, running: True
[INFO 11:48:33] absl Connecting to: ws://<IP_ADDRESS>:22434/sc2api, attempt: 8, running: True
[INFO 11:48:34] absl Connecting to: ws://<IP_ADDRESS>:22434/sc2api, attempt: 9, running: True
[INFO 11:48:35] absl Connecting to: ws://<IP_ADDRESS>:22434/sc2api, attempt: 10, running: True
[INFO 11:48:36] absl Connecting to: ws://<IP_ADDRESS>:22434/sc2api, attempt: 11, running: True
[WARNING 11:48:38] absl SC2 isn't running, so bailing early on the websocket connection.
[INFO 11:48:38] absl Shutdown gracefully.
[INFO 11:48:38] absl Shutdown with return code: 1
[DEBUG 11:48:39] pymarl Stopping Heartbeat
[ERROR 11:48:39] pymarl Failed after 0:00:14!
Traceback (most recent calls WITHOUT Sacred internals):
File "/Users/lucas/Documents/pymarl-master/src/main.py", line 35, in my_main
run(_run, config, _log)
File "/Users/lucas/Documents/pymarl-master/src/run.py", line 48, in run
run_sequential(args=args, logger=logger)
File "/Users/lucas/Documents/pymarl-master/src/run.py", line 166, in run_sequential
episode_batch = runner.run(test_mode=False)
File "/Users/lucas/Documents/pymarl-master/src/runners/episode_runner.py", line 49, in run
self.reset()
File "/Users/lucas/Documents/pymarl-master/src/runners/episode_runner.py", line 45, in reset
self.env.reset()
File "/Users/lucas/miniconda3/lib/python3.6/site-packages/smac/env/starcraft2/starcraft2.py", line 347, in reset
self._launch()
File "/Users/lucas/miniconda3/lib/python3.6/site-packages/smac/env/starcraft2/starcraft2.py", line 297, in _launch
self._sc2_proc = self._run_config.start(window_size=self.window_size, want_rgb=False)
File "/Users/lucas/miniconda3/lib/python3.6/site-packages/pysc2/run_configs/platforms.py", line 88, in start
self, exec_path=exec_path, version=self.version, **kwargs)
File "/Users/lucas/miniconda3/lib/python3.6/site-packages/pysc2/lib/sc_process.py", line 143, in init
self._host, self._port, self, timeout_seconds=timeout_seconds)
File "/Users/lucas/miniconda3/lib/python3.6/site-packages/pysc2/lib/remote_controller.py", line 146, in init
sock = self._connect(host, port, proc, timeout_seconds)
File "/Users/lucas/miniconda3/lib/python3.6/site-packages/pysc2/lib/stopwatch.py", line 212, in _stopwatch
return func(*args, **kwargs)
File "/Users/lucas/miniconda3/lib/python3.6/site-packages/pysc2/lib/remote_controller.py", line 180, in _connect
raise ConnectError("Failed to connect to the SC2 websocket. Is it up?")
pysc2.lib.remote_controller.ConnectError: Failed to connect to the SC2 websocket. Is it up?
During handling of the above exception, another exception occurred:
Traceback (most recent calls WITHOUT Sacred internals):
File "/Users/lucas/miniconda3/lib/python3.6/contextlib.py", line 99, in exit
self.gen.throw(type, value, traceback)
File "/Users/lucas/miniconda3/lib/python3.6/subprocess.py", line 1469, in wait
raise TimeoutExpired(self.args, timeout)
subprocess.TimeoutExpired: Command '['tee', '-a', '/var/folders/vy/0tj1lc296lnfn5twwx3gxdj40000gq/T/tmp9434b86g']' timed out after 1 seconds

Same problem, have you addressed it

getting the sample problem as well

My solution is crude but works:
apt-get remove libtcmalloc*


Allow interpolation in url parameter for metrics/collect

Is your feature request related to a problem? Please describe the problem.
To better support deployment in multiple namespaces or to be able to deploy to a current context other than default, it would be beneficial to be able to allow the namespace to be a parameter everywhere. Today, we support this, for example, in run commands using {{ .Namespace}}. Allow this elsewhere that namespaces are commonly used.
Describe the feature/solution you'd like
Allow specification of url for metrics/collectusing {{.Namespace}}. For example:
url: http://hello.{{.Namespace}}:8080

Will this feature/solution bring new benefits for Iter8 users? What are they?
Easier to write experiments without resorting to a templating tool like helm.
Does this issue require a design doc/discussion? If there is a link to the design document/discussions, please provide it below.
Use this issue
How will this feature be tested?

[ ] Added test case

How will this feature be documented?

[ ] Update reference documentation

With v0.8, this problem can be trivially solved in Iter8Hub experiments, all of which will be templated.
Wherever, namespace information needs to be included, it can be done so using {{ .Release.Namespace }} construct.


Cam remote

Please,
It is possible install the web interface in a Raspberry and visualize the image camera installed in other Raspberry in the same network?
I have three boards with the RPi cam and I don't know if it is possible.
Thanks!

Do anyone help me?

The web interface should be accessible from most web browsers.  So if you browse from one raspberry to another supporting the camera interface then it should be viewable.

Thanks, @roberttidey !
But I need show the thumbnails with all the interfaces in the same page.
I think that I can change the code to work as I need. I can mount the code made to one interface to show many interfaces in the same page, correct?

Yes. It should be fairly straightforward to construct a page that showed multiple views from different cameras.
You would need to have a home page on one of the servers that knew the IP addresses of each of the cameras.
An advanced version would allow drilling through to access the settings and captures on each server.
If you do any work on this then please let me know so I can make it available for general use.


Improve docs sidebar styling

[x] Text should indent consistently, and not wrap around the arrows or icons (https://cl.ly/2w3l0F3O2m19)
[x] Space between items in the list could be reduced (https://cl.ly/1I3C3M2J1O0r).
[x] The padding on nested list items could be reduced slightly to make more horizontal room available for the page titles.
[ ] Vertical divider does not appear to go all the way to the bottom of the list (https://cl.ly/122P153p2A2D)

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Vertical divider is fixed in in-this-post branch.

@daveyheuser there is appears to be a conflicting file (see above).  Can you please rebase off develop and resolve?

@ashenden I rebased the code.

Retest this please

@daveyheuser @TimonVS some comments from reviewing the changes after merging into develop:
[ ] The indent of the page icon vs. the arrow icon are different (https://cl.ly/0A3l2p0w3h3A)
[ ] When a menu item is unfolded, but not "active", the arrow is showing as purple (https://cl.ly/3m3x3i0F3s2Q).  Seems like this should only be purple when "active", right?
[ ] Vertical divider does not appear to go all the way to the bottom of the list (https://cl.ly/1S1r361A1m0f)
Could you please address these issues and reopen this PR or open a new one?  Thanks.

Fixes are here: https://github.com/dcos/dcos-website/pull/968. @TimonVS is going to give the sidebar divider another look.

Thanks!


EVM. XCMs to EVM network - can't calculate fee.

Description
Can't calculate network fee when user use EVM address in recipient for non EVM networks, example - Acala -> Moonbeam
Steps to Reproduce

User has as substrate, as EVM accounts in his wallet

Go to assets tab
Find Acala network
Click Transfer
Select Moonbeam
Click "Myself"

Expected Behavior
XCM for Acala -> Moonbeam works right
Actual Behavior
Problem with fee calculation

error:
2024/03/12 16:06:55.183 [development#1.5.0]-renderer [info] > Error getting fee -  Error: createType(Call):: Call: failed decoding xTokens.transferMultiasset:: Struct: failed on args: {"asset":"{\"_enum\":{\"__Unused0\":\"Null\",\"V2\":\"XcmV2MultiAsset\",\"__Unused2\":\"Null\",\"V3\":\"XcmV3MultiAsset\"}}","dest":"{\"_enum\":{\"__Unused0\":\"Null\",\"V2\":\"XcmV2MultiLocation\",\"__Unused2\":\"Null\",\"V3\":\"StagingXcmV3MultiLocation\"}}","dest_weight_limit":"{\"_enum\":{\"Unlimited\":\"Null\",\"Limited\":\"SpWeightsWeightV2Weight\"}}"}:: Struct: failed on dest: {"_enum":{"__Unused0":"Null","V2":"XcmV2MultiLocation","__Unused2":"Null","V3":"StagingXcmV3MultiLocation"}}:: Enum(V2):: Struct: failed on interior: {"_enum":{"Here":"Null","X1":"XcmV2Junction","X2":"(XcmV2Junction,XcmV2Junction)","X3":"(XcmV2Junction,XcmV2Junction,XcmV2Junction)","X4":"(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)","X5":"(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)","X6":"(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)","X7":"(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)","X8":"(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)"}}:: Enum(X2):: Tuple: failed on 1:: Enum(AccountId32):: Struct: failed on id: [u8;32]:: Expected input with 32 bytes (256 bits), found 20 bytes

Environment

Version: https://github.com/novasamatech/nova-spektr/commit/39582c09745bd2ae548ba6edb25e897672bdce3c

Status verification: ✅


[WIP] Squash positional arguments

https://github.com/spree/spree-storefront-api-v2-js-sdk/issues/253
https://github.com/spree/spree-storefront-api-v2-js-sdk/issues/226

https://github.com/spree/spree-storefront-api-v2-js-sdk/issues/290


Go vendor

This is an update to https://github.com/github/linguist/pull/2620 that only treats .go files in vendor as generated.
I'm not a gopher, so one question I have about go 1.6: does it vendor non-.go files as well? If it does, then this won't work.
/cc @kr @rakyll @cespare @parkr @arfon

The vendoring mechanism itself is not (yet) provided by an official tool as part of the Go distribution.
Some tools might choose to implement only the specific files needed as dependencies (but even this can include .go, .s, .c, .cc, .h, and other files). Other tools might instead choose to simply cp packages (and maybe delete the VCS metadata). Finally, most vendoring tools also write metadata files (typically .json).
So yes, typical Go /vendor directories will contain non .go files.

So yes, typical Go /vendor directories will contain non .go files.

I was afraid of that.
Ok, any other brilliant ideas? Currently, linguist evaluates each file separately, so there's not a way for it to know that it is looking at a "go project" and should ignore vendor.

@bkeepers What about looking for a hostname? vendor/github.com/*, for example, would satisfy this.

Vendoring a cgo-using project means you must vendor *.c etc too, regardless of the tool that does it. Consider what happens when you vendor https://github.com/mattn/go-sqlite3

@bkeepers What about looking for a hostname?

@parkr will there always be a hostname in the path?

@arfon no

@arfon no

@cespare :disappointed: OK. Unless we can craft a regular expression to match these paths then I'm afraid this PR is a non-starter because of the effect it will have for non-Go projects.

@arfon no

@cespare What if we just include when there is a hostname and if you have vendor/mypkg then we don't consider it generated? Then at least for the vast majority of the time (where you do have a hostname), you don't have to see the diff.

Is there a reason not to consider everything in /vendor as generated?

@cespare What if we just include when there is a hostname and if you have vendor/mypkg then we don't consider it generated? Then at least for the vast majority of the time (where you do have a hostname), you don't have to see the diff.

@cespare - what do you think about @parkr's suggestion?

@parkr @arfon SGTM, that seems like it will have some false positives and false negatives but probably quite few of either.

🎏 flagging this a stale 🎏

Seems like we're going to need to revisit this. We've recently changed the behaviour of GitHub to hide all paths defined in vendor.yml which is a good change for Go folks but not for lots of other people.
@parkr's suggestion above is the closest solution I have seen to solving the issues for Go people but not hiding all vendor paths by default.
/ cc @nathany

@afron I can't think of any quick fix for this, though @parkr's might work, it still feels like a bit of a hack. For those in language communities where they place first-party code under vendor/, I don't know if they have paths containing hostnames or not, though this example seems not to.
As per my earlier comment, the change didn't quite achieve the desired effect, because the full diff still isn't available after collapsing vendor files.
It may be best to revert and come up with a better overall solution. My suggestion is:

A generalized solution requires some way to review individual directories of code at a time -- as a way to split up large diffs.

The goal of this pull request and associated issue  is to help make the GitHub UI more responsive on large diffs, not to prevent people from reviewing third-party code.

Would it be helpful if I created an example repository and pull request that used a vendor tool such as gvt to bring in a few large dependencies as one might do when starting a new Go project?

An existing workaround for the Go community is to review individual commits, with one or more commits for vendoring libraries, and a single commit for everything else.

This is really the key issue. The error "Sorry, we could not display the entire diff because it was too big" needs to be addressed. The UI shouldn't need an error message like that.

I feel your pain. Thanks for describing this so clearly, this is excellent feedback @nathany.

It may be best to revert and come up with a better overall solution.

I think that's what I'm going to have to do unfortunately. In addition, let's patch up this PR (albeit in its somewhat hacky form to match where there's a hostname) to remove some of the pain for some Go developers.

Would it be helpful if I created an example repository and pull request that used a vendor tool such as gvt to bring in a few large dependencies as one might do when starting a new Go project?

Yes please. That would be really useful to see.

Here is an example repository. https://github.com/nathany/gvt-sample/pull/1

OK, I'm about to revert the changes on GitHub.com that have hidden the vendor path by default. I then plan to cut a new gem based on this PR to improve the situation for Go users.

OK these changes are now live on GitHub. Looking at https://github.com/nathany/gvt-sample/pull/1/files it would appear that the Go-specific vendor check is catching a good number of the files that we would want it to.

:tada:

Now if only we have Sorry, we could not display the entire diff because too many files (305) changed fixed with 0 diffs displayed :-)
From UX perspective it would be great idea to have all suppressed changes grouped and collapsed by default.
Functionally we just need suppressed files not to count towards diff limit.


Remove Default, HasCompact, and TypeInfo trait bounds on AssetId

Fixes https://github.com/paritytech/substrate/issues/12738 for an XCMv3 MultiLocation-friendly AssetId.
Default and HasCompact are not necessary, and TypeInfo is implied by Parameter.
Breaks transaction version for Statemint runtimes.
Cumulus companion: https://github.com/paritytech/cumulus/pull/1898

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2064120

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2064118

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2064190

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2064188

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2064452

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2064450

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2064451

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2064575

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2064574

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2064573

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2065244

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2065245

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2065243

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2066181

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2066183

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2066182

(as long as no calls relating to this are stored on-chain)

Do we need to give the undecodable calls a dummy signature, or can we just move the indices into a new range with #[pallet::call_index]? Adding a commit for the latter.

Looks reasonable.

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-each-crate
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2082663

bot merge


feat: #2397 simplify dev mode access

What

simplify dev mode access without having to be logged in (Turn it into a toggle)
hide the toggle in the Setting contribute

Screenshot

https://user-images.githubusercontent.com/87010739/176649295-4cdb6c9b-64f9-4f84-bd9b-2dd92b0e4338.mp4
Fixes bug(s)

Fixes: #2397

Codecov Report

Merging #2437 (9458e6c) into develop (2ea0da3) will decrease coverage by 1.31%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           develop   #2437      +/-   ##
==========================================
- Coverage     8.86%   7.55%   -1.32%
==========================================
  Files          161     203      +42
  Lines         6623    9747    +3124
==========================================
+ Hits           587     736     +149
- Misses        6036    9011    +2975

Impacted Files
Coverage Δ

...kages/smooth_app/lib/widgets/attribute_button.dart
0.00% <0.00%> (-92.00%)
:arrow_down:

...s/smooth_app/lib/data_models/user_preferences.dart
8.73% <0.00%> (-23.57%)
:arrow_down:

packages/smooth_app/lib/themes/smooth_theme.dart
60.00% <0.00%> (-22.98%)
:arrow_down:

...p/lib/generic_lib/dialogs/smooth_alert_dialog.dart
15.29% <0.00%> (-18.92%)
:arrow_down:

...mooth_app/lib/data_models/product_preferences.dart
24.65% <0.00%> (-6.78%)
:arrow_down:

packages/smooth_app/lib/main.dart
14.40% <0.00%> (-3.49%)
:arrow_down:

.../smooth_app/lib/pages/onboarding/welcome_page.dart
0.00% <0.00%> (-3.13%)
:arrow_down:

.../smooth_app/lib/pages/onboarding/scan_example.dart
0.00% <0.00%> (-2.28%)
:arrow_down:

...p/lib/pages/onboarding/consent_analytics_page.dart
0.00% <0.00%> (-1.57%)
:arrow_down:

...smooth_app/lib/pages/product/new_product_page.dart
0.00% <0.00%> (-0.88%)
:arrow_down:

... and 203 more

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 04a37f6...9458e6c. Read the comment docs.

thanks you @cli1005 👍


GO terms with EC:<IP_ADDRESS> xref

https://enzyme.expasy.org/EC/<IP_ADDRESS>
Entry: EC:<IP_ADDRESS>
Accepted Name: hydroxyquinol 1,2-dioxygenase
Reaction catalysed: benzene-1,2,4-triol + O2 <=> 2 H(+) + maleylacetate
That EC is currently on two GO terms (shown below), but should only be associated with the second one (GO:0047074)
Tasks:

[ ] Remove EC:<IP_ADDRESS> xref from GO:0018581
[ ] Remove EC:<IP_ADDRESS>-attributed synonyms from GO:0018581
[ ] Change GO:0018581 def attribution to use RHEA:19441
[ ] Tweak GO:0047074 def to match EC:<IP_ADDRESS> def

id: GO:0018581
name: hydroxyquinol 1,2-dioxygenase activity
def: "Catalysis of the reaction: benzene-1,2,4-triol + O2 = 3-hydroxy-cis,cis-muconate." [EC:<IP_ADDRESS>]
synonym: "benzene-1,2,4-triol:oxygen 1,2-oxidoreductase (decyclizing)" RELATED [EC:<IP_ADDRESS>]
synonym: "hydroxyquinol dioxygenase activity" RELATED [EC:<IP_ADDRESS>]
xref: EC:<IP_ADDRESS>
xref: MetaCyc:HYDROXYQUINOL-12-DIOXYGENASE-RXN
xref: RHEA:19441
xref: UM-BBD_reactionID:r0232
is_a: GO:0016702 ! oxidoreductase activity, acting on single donors with incorporation of molecular oxygen, incorporation of two atoms of oxygen
id: GO:0047074
name: 4-hydroxycatechol 1,2-dioxygenase activity
namespace: molecular_function
def: "Catalysis of the reaction: O2 + benzene-1,2,4-triol = maleylacetate." [RHEA:35595]
xref: EC:<IP_ADDRESS>
xref: MetaCyc:R308-RXN
xref: MetaCyc:RXN-10137
xref: RHEA:35595
is_a: GO:0016702 ! oxidoreductase activity, acting on single donors with incorporation of molecular oxygen, incorporation of two atoms of oxygen

Also:

[ ] MetaCyc:HYDROXYQUINOL-12-DIOXYGENASE-RXN is obsolete. Replace with RXN-17556.
[ ] MetaCyc:R308-RXN is obsolete. Remove.


Bump google.golang.org/grpc to the latest version

This patch replaces https://github.com/knative/networking/pull/820.
google.golang.org/grpc is used only by test code so it does not effect but we should avoid the security alert.
/cc @dprotaso @ReToCode

/cc @KauzClay

/lgtm
/approve


Please provide version of all linting tools in docs/development.md

We saw several times local lint passed but server lint failed...

/assign @morvencao


Document DD Mauro Training Environment Requirements

DD Mauro Training Environment Requirements for Data Products team need documenting

21/05/24 - Gouri and Steve are working on this with Data Solutions.

19/08/24 - System C have done this.


NG: Image Federation

What is image layer federation?
Image federation is where dependent image layers are served from different servers. For example, an ISV builds on a Red Hat base image. The ISV layers are served from cdn.isv.com and the Red Hat layers are served from cdn.redhat.com.
The content-addressable v2 image format and registry makes this an ideal time to consider this model.
Why is it important? Who cares?
Many companies require to host their own bits. It's their control point. It's an important legal and provenance issue for them.
How does it work?
A simple example:
$ docker pull isv/app
bef54b8f8a2f <- served from cdn.redhat.com
8da983e1fdd5 <- served from cdn.isv.com

What might implementation look like?
Support pushing of metadata only. This assumes image has landed on CDN by another means.
$ docker push rhel7 --redirect-url https://cdn.redhat.com/registry/images/
bef54b8f8a2f <- pushing metadata only

When an image based on the above is pushed the layer upload is skipped.
$ docker push isv/app
bef54b8f8a2f <- skipped, metadata already uploaded
8da983e1fdd5 <- layer pushed to registry

Example Implementation
This has been implemented in Crane, a component of Pulp. Red Hat uses this as its production registry. Crane is a read-only implementation of the docker registry protocol. Registry metadata (json) is created by the Pulp server.
Crane serves calls to /v1/repositories/<namespace>/<repository>/images|tags directly and then redirects (302) any calls to /v1/images/<image_id>/*.
In the following example note the two URL values.
Red Hat base image
{
    "images": [
        {
            "id": "bef54b8f8a2fdd221734f1da404d4c0a7d07ee9169b1443a338ab54236c8c91a"
        }
    ],
    "protected": true,
    "repo-registry-id": "rhel7",
    "repository": "redhat-rhel7",
    "tags": {
        "0-23": "bef54b8f8a2fdd221734f1da404d4c0a7d07ee9169b1443a338ab54236c8c91a",
        "latest": "bef54b8f8a2fdd221734f1da404d4c0a7d07ee9169b1443a338ab54236c8c91a"
    },
    "type": "pulp-docker-redirect",
    "url": "https://cdn.redhat.com/images/registry/",
    "version": 1
}

A child ISV image file redirects to another URL.
ISV image
{
    "images": [
        {
            "id": "8da983e1fdd58a2fdd221734f1da404d4c0a7d07ee9169b1443a338b8f8a2fdd"
        }
    ],
    "protected": true,
    "repo-registry-id": "isv/app",
    "repository": "isv-app",
    "tags": {
        "latest": "8da983e1fdd58a2fdd221734f1da404d4c0a7d07ee9169b1443a338b8f8a2fdd"
    },
    "type": "pulp-docker-redirect",
    "url": "https://cdn.isv.example.com/images/registry/",
    "version": 1
}

Superseded by docker/distribution#88.


MAISTRA-1724: Don't watch namespaces if MemberRoll is used

Rewrite of the following for Maistra 2.1 / Istio 1.8 rebase:
a161a53541 - MAISTRA-1724 Don't watch namespaces if MRC is used (#161)

cc: @dgn pinging you specifically here since you did this last time I guess. Thought you might want to take a look.

/test unit


go 1.16

ci(deps): bump GolangCI-Lint
ci(deps): bump Go to 1.16

Codecov Report

Merging #51 (e4069cb) into master (5fd7b01) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #51   +/-   ##
=======================================
  Coverage   96.59%   96.59%
=======================================
  Files          13       13
  Lines         235      235
=======================================
  Hits          227      227
  Misses          6        6
  Partials        2        2


InfluxDB query costs

Hi everyone,
i need to calculate the query time cost on InfluxDB to compare it with other databases.
but i found nothing on influx log or anywhere.
can anyone please help me with that?

[http] 2016/03/05 02:48:46 <IP_ADDRESS> - - [05/Mar/2016:02:48:46 +0000] GET /query?q=SHOW+FIELD+KEYS+FROM+cpu&db=telegraf HTTP/1.1 200 175 - python-requests/2.6.0 CPython/2.7.5 Linux/4.3.0-coreos c82e7bc1-e27c-11e5-a823-000000000000 690.896µs

but how should i have such output as result, i mean what was the command to get this result?

@JavadMajidi it's logged into log after response is sent to the client ;)

@zstyblik you mean influx log file, because my log file is empty, or i look at wrong location

@zstyblik i found it :)

@JavadMajidi cool! If your original question/issue has been resolved, please, close the issue. Thanks.

i can't find the log file position, could you please tell me,,

for me it was in LOG directory in Linux, there is a Influx Log text file there. @z1q1q7


[2b1] wrong status Chromecast players

What version of Music Assistant has the issue?
2b1
The problem
When Chromecast players are streaming external content, eg  from a mobile Spotify app, the state in MA is either idle or off instead off playing.
Note: The status in HA via the chromecast integration is correct
How to reproduce
See above
Relevant log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2023.3.3
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Raspberry Pi

This is the intended behavior. I have no intention of tracking external playback on players as that makes things way to complicated. MA only tracks its own playback to players and ignores other playback. That is the scope of MA.

If you want to track state of all "controllers" to a player you can use HA

Hmm that is pity, I planned to de-install the existing player integrations, once MA gets integrated with HA. For automations I need to know the player status

Plz reconsider, or check more opinions. It is existing MA1 functionality


Remove concordium-wallet-common-helpers

Some functionality seems to be isolated into https://github.com/Concordium/concordium-wallet-common-helpers for the purpose of being reused across with the desktop-wallet.
Since this is not being used yet and not being actively developed, I suggest that we remove this repo again, moving the code back into the browser-wallet to simplify development.

The code was moved in as part of https://github.com/Concordium/concordium-browser-wallet/pull/481


[NEW] Black Hat Europe 2024

Name: Black Hat Europe
Website: https://www.blackhat.com/eu-24/
Date(s): December 11-12 2024
Location: London, England
Twitter/Mastodon Handle:  @BlackHatEvents
Free: N

Thanks!


Developer Documentation for using broker-cli is out of date

Hi,
The documentation for how to locally develop  and interact with the broker using broker-cli is out of date.

That seems as if it's probably true. Can @ageekymonk, can you please help us out a bit by pinpointing where in the documentation things started not working for you?

Believe this was fixed by #506. Please re-open if I've got that wrong.


Dupe ghost disappearing in multiplayer

OwnerChanged always gets called when any player in the game dies or drops a weapon
Also seems to happen when any player holsters a swep https://github.com/Facepunch/garrysmod/blob/b6c4159bbe8b95591c8189a27d7fa68d607aeebf/garrysmod/gamemodes/sandbox/entities/weapons/gmod_tool/stool.lua#L127
which calls ReleaseGhostEntity which then clears all ghosts.
This happens quite often on larger populated servers and makes advdupe2 pretty hard if not impossible to properly use.
https://user-images.githubusercontent.com/69946827/215128812-6bc86bab-833c-4934-b646-b25f858f189f.mp4

I can confirm the problem

@wrefgtzweve @HavannaFR you likely have an addon causing the issue. Can you add debug.Trace() at this place https://github.com/wiremod/advdupe2/blob/master/lua/weapons/gmod_tool/stools/advdupe2.lua#L762 and tell us what the console prints when the issue happens.

I've done that, i got more proof on the wire discord https://discord.com/channels/231131817640460288/237764217736921089/1069073763385225297
Added it through a detour thus the runstring
(i was holding a crowbar at the time)
AdvDupe2_RemoveGhosts = AdvDupe2_RemoveGhosts or AdvDupe2.RemoveGhosts

function AdvDupe2.RemoveGhosts()
    AdvDupe2_RemoveGhosts()
    debug.Trace()
end

Can you see if adding if self:GetOwner()~=LocalPlayer() then return end in that spot fixes the issue?

Kind of looks like your gmod_tool code might be out of date as well. Your trace shows 325 as the ReleaseGhost call, but it's on line 327. https://github.com/Facepunch/garrysmod/blob/master/garrysmod/gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua#L327

seems like it's the holster function that's different

I think that's because the latest commit isn't in gmod yet

Can you see if adding if self:GetOwner()~=LocalPlayer() then return end in that spot fixes the issue?

seems to runs for other players too, as the issue states gets called when any player in the game dies or drops a weapon

Can you open a garrysmod-issue about it? 'Clientside SWEP:OwnerChanged getting called on local player's swep when other players switch weapons', and reference this issue?

Can you see if adding if self:GetOwner()~=LocalPlayer() then return end in that spot fixes the issue?

seems to only print when i die with the tool out, not when the dupe is getting cleared

Oh, so something else is maybe clearing the ghosts?

it's hard to test live, i'll see if i can get another player in a clean dev enviroment to test

If there's a new problem since friday, it's more likely to be caused by this:
https://github.com/Facepunch/garrysmod/commit/165a5e19996b2f94b4d9a65da639b3aaf560e77e
Although I do not see a reason it would affect a player by other players doing anything.

My guess is that it's because https://github.com/Facepunch/garrysmod/blob/f49947b238183e0929f47dcb882553478662f9d9/garrysmod/gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua#L323 this gets called for everyone, not just the player thats holding the toolgun

Hmm, I see. It does indeed get called on all clients clientside sometimes, and the recent changes to GetToolObject() make the bug happen.
I will get that sorted on the toolguns end.

This is now fixed within gmod, thanks robotboy!


Fixing this code be compatiable with v2.x I also added some comments …

…and moved variable declarations to the top to clean up the code a bit
Summary
Describe the goal of this PR. Mention any related Issue numbers.
Requirements (place an x in each [ ])

[ ] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[ ] I've read and agree to the Code of Conduct.

 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.

Thanks for sending a PR! I've left some feedback for some small changes

@stevengill I created another pull request with your suggested updates to my code.

@stevengill all changes suggested have been committed

Looks good to me. @stevengill can you take a look at this again?


Prevent the Default Contact Role from being used for Soft Credit or Household Contact Roles

A validation rule should be in place to prevent the Opportunity Contact Role Default Role being the same Role as the Household or Soft Credit Contact Roles.

**lurch: add

Tracking W-010808

Probably can't be a validation rule (OCRs) but could be a healthcheck option

I updated the description, this is for the settings page.

👍

Included in beta release 3.85 (Beta 8)


How can we use Python 3.5 instead of 3?

What do you mean? IP3 first version will be compatible with python v3.5.

We're planning on being compatible to 3.6

Oh sorry, I've wrote 3.5, for sure 3.6 is correct.

I have build ironpython3 from sources.. but looks like it is trying to use Python 3.0 interpreter.. I have Python 3.5 code and want to use Python 3.5 interpreter.. can I do this now?

IronPython3 is not ready for any use yet.


Can't execute in-app html to chrome on chrome os (debian)

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.58.2
OS Version: Chrome OS 91.0.4472.147 (64 bits), Debian GNU/Linux 10 (buster)

Steps to Reproduce:

Open an HTML file
do Ctrl + F5

here a screenshot of the error:

We should fall back to the discovered version in these cases


Is it still maintained?

Do you have any plans on maintaining this project?
If not, do you consider any options on donating it?
We will actually use it. But firstly upgrade it to python3.

Hey. Yup, I currently use it in my own project  but there is not much activity on this repo so it won't be a necessary change.
After your words of course I will update it to python 3.

Updated to Python 3. Tested on 3.5, 3.6.


Enhancements for User Engagement

Description
The application lacks personalized user engagement features, such as a greeting with the user's name upon sign-up, a daily motivational quote, current weather updates, attractive buttons for better user interaction, and moving background images. These enhancements could significantly improve user experience.
Steps to Reproduce
Sign up or log in to the application.
Observe the greeting displayed.
Check for the absence of a motivational quote.
Look for current weather information.
Assess the design and functionality of the buttons.
Review the background design for visual appeal.

Expected Behavior
Users should see a personalized greeting with their name, a random motivational quote, current weather, attractive buttons, and an engaging moving background.
Actual Behavior
Currently, users receive a generic greeting without personalization, quotes, or weather updates, the buttons lack visual appeal, and the background is static.
Screenshots

Additional Context
Integrating these features can improve user engagement and satisfaction. Consider using APIs for quotes and weather data, updating button designs for enhanced usability, and implementing CSS animations for moving backgrounds.
Please assign me this issue , I would like to work on this .
@yashmandi

i appreciate your suggestions @Keerthi421 , but currently focusing on other priorities right now.
btw, i’m curious about your thoughts on background animations—could you share your ideas in detail what changes are u planning to make?

@yashmandi , I had an idea of adding some of background images with quotes and with a scrolling option

sounds good to me, but im looking for background animations, can you think something related to that?

i can add  animations to the website scroll and load animations and buttons and else animations

i can add animations to the website scroll and load animations and buttons and else animations

explain more please. i am just looking for scrolling animations, on scrolling it should go smoothly. and some bg animations.

i will add the animations like on hover animations , cards popping out or coming from the side one by one like a sequence of animations  and for bg animations i will add a animated background gif  or a video can be added related to the website

sounds good, but let's wait for @Keerthi421 's response.. what she is planning ;)

@yashmandi , I am working on issue i have raised and I am not working on background animations


SMTP Sender Address

The smtp sender address should only allow one of the registered (and verified) domains (generated or custom).

what do we put as default for the setup of an instance


Use underlying RNG's SIMD (if Xoshiro)

A wee bit faster (sampling 10^6 times goes from 1.5ms to 1ms)
Also restrict the scope of @inbounds.

Much faster on 64-bit Ubuntu, 1.10+. A wee bit slower on mac. Increased TTFX.


Add website Visitors count widget #181

As per the solution mentioned in Issue #181 , I have added a website visitor widget

@yatulearn , I have resolved the conflicts of the previous Pull request, please merge the PR


setState() or markNeedsBuild() called during build.

======== Exception caught by foundation library ====================================================
The following assertion was thrown while dispatching notifications for DrawerControllerStateCustom:
setState() or markNeedsBuild() called during build.
This _InheritedProviderScope<DrawerControllerStateCustom?> widget cannot be marked as needing to build because the framework is already in the process of building widgets. A widget can be marked as needing to be built during the build phase only if one of its ancestors is currently building. This exception is allowed because the framework builds parent widgets before children, which means a dirty descendant will always be built. Otherwise, the framework might not visit this widget during this build phase.
The widget on which setState() or markNeedsBuild() was called was: _InheritedProviderScope<DrawerControllerStateCustom?>
value: Instance of 'DrawerControllerStateCustom'
listening to value
The widget which was currently being built when the offending call was made was: Consumer
dirty

══╡ EXCEPTION CAUGHT BY FOUNDATION LIBRARY ╞════════════════════════════════════════════════════════
The following assertion was thrown while dispatching notifications for DrawerControllerStateCustom:
setState() or markNeedsBuild() called during build.
This _InheritedProviderScope<DrawerControllerStateCustom?> widget cannot be marked as needing to
build because the framework is already in the process of building widgets. A widget can be marked as
needing to be built during the build phase only if one of its ancestors is currently building. This
exception is allowed because the framework builds parent widgets before children, which means a
dirty descendant will always be built. Otherwise, the framework might not visit this widget during
this build phase.
The widget on which setState() or markNeedsBuild() was called was:
_InheritedProviderScope<DrawerControllerStateCustom?>
The widget which was currently being built when the offending call was made was:
Consumer


Can't run an async function that operate MySQL via Connection Pool.

Hi @mvniekerk,
Thank you for offering the wonderful project "tokio-cron-scheduler".
I use tokio-cron-scheduler run an async function to write MySQL, but there are some errors, would you like to have a look at those, thank you very much.
Code:
#[tokio::main]
async fn main()  {
    let db_pool = connect("mysql://root:123456@localhost:3306", 10, 30).await.unwrap();

    let mut sched = JobScheduler::new();
    let job_async = Job::new_async("0 */1 * * * * *", |_uuid, _l| Box::pin(async move {
            cron_sync_ohlc_to_db(&db_pool).await.unwrap_or(());
        })).unwrap();
    sched.add(job_async).unwrap();
    tokio::spawn(sched.start());

    let server = TcpListener::bind("<IP_ADDRESS>:3000").await.unwrap();
    println!("Sync listening on: <IP_ADDRESS>:3000");

    loop {
            server.accept().await.unwrap();
    }
}

pub async fn connect(url: &str, min_conn: u32, max_conn: u32) -> Result<MySqlPool, sqlx::Error> {
    println!("Connecting to MySql...");

    let pool = MySqlPoolOptions::new()
    .min_connections(min_conn)
    .max_connections(max_conn)
    .connect(url).await?;

    Ok(pool)
}

pub async fn cron_sync_ohlc_to_db(
    db_pool: &MySqlPool,
) -> anyhow::Result<()> {
    println!("Begin to cron sync ohlc data to databse...");

    let mut tx = db_pool.begin().await.unwrap();
    let sql_string = "INSERT INTO test1 (u,a,b,c,d) VALUES<PHONE_NUMBER>, 1, 2, 3, 4)";
    let sql_query = sqlx::query(&sql_string)
        .execute(&mut tx)
        .await?
        .last_insert_id();

    tx.commit().await.unwrap();

    Ok(())
}

Compile errors:
 `dyn Future<Output = Result<bool, sqlx::Error>> + Send` cannot be shared between threads safely

More details:
error[E0277]: `dyn Future<Output = Result<bool, sqlx::Error>> + Send` cannot be shared between threads safely
  --> src/main.rs:24:9
   |
24 | /         Box::pin(async move {
25 | |             cron_sync_ohlc_to_db(&db_pool).await.unwrap_or(());
26 | |         })
   | |__________^ `dyn Future<Output = Result<bool, sqlx::Error>> + Send` cannot be shared between threads safely
   |
   = help: the trait `Sync` is not implemented for `dyn Future<Output = Result<bool, sqlx::Error>> + Send`
   = note: required because of the requirements on the impl of `Sync` for `Unique<dyn Future<Output = Result<bool, sqlx::Error>> + Send>`
   = note: required because it appears within the type `Box<dyn Future<Output = Result<bool, sqlx::Error>> + Send>`
   = note: required because it appears within the type `Pin<Box<dyn Future<Output = Result<bool, sqlx::Error>> + Send>>`
   = note: required because it appears within the type `for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8, 't9, 't10, 't11, 't12, 't13> {ResumeTy, pool::connection::Floating<'r, pool::connection::Idle<MySql>>, &'s PoolOptions<MySql>, impl Future, (), &'t2 mut pool::connection::Floating<'t3, pool::connection::Idle<MySql>>, impl Future, Result<(), sqlx::Error>, sqlx::Error, PoolOptions<MySql>, std::option::Option<Box<(dyn for<'t14> Fn(&'t14 mut MySqlConnection) -> Pin<Box<dyn Future<Output = Result<bool, sqlx::Error>> + Send>> + Send + Sync + 't7)>>, &'t8 std::option::Option<Box<(dyn for<'t14> Fn(&'t14 mut MySqlConnection) -> Pin<Box<dyn Future<Output = Result<bool, sqlx::Error>> + Send>> + Send + Sync + 't9)>>, &'t10 Box<(dyn for<'t14> Fn(&'t14 mut MySqlConnection) -> Pin<Box<dyn Future<Output = Result<bool, sqlx::Error>> + Send>> + Send + Sync + 't11)>, pool::connection::Idle<MySql>, pool::connection::Live<MySql>, MySqlConnection, &'t12 mut MySqlConnection, Pin<Box<(dyn Future<Output = Result<bool, sqlx::Error>> + Send + 't13)>>, Result<bool, sqlx::Error>, bool}`
   = note: required because it appears within the type `[static generator@pool::inner::check_conn<'_, '<empty>, MySql>::{closure#0} for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8, 't9, 't10, 't11, 't12, 't13> {ResumeTy, pool::connection::Floating<'r, pool::connection::Idle<MySql>>, &'s PoolOptions<MySql>, impl Future, (), &'t2 mut pool::connection::Floating<'t3, pool::connection::Idle<MySql>>, impl Future, Result<(), sqlx::Error>, sqlx::Error, PoolOptions<MySql>, std::option::Option<Box<(dyn for<'t14> Fn(&'t14 mut MySqlConnection) -> Pin<Box<dyn Future<Output = Result<bool, sqlx::Error>> + Send>> + Send + Sync + 't7)>>, &'t8 std::option::Option<Box<(dyn for<'t14> Fn(&'t14 mut MySqlConnection) -> Pin<Box<dyn Future<Output = Result<bool, sqlx::Error>> + Send>> + Send + Sync + 't9)>>, &'t10 Box<(dyn for<'t14> Fn(&'t14 mut MySqlConnection) -> Pin<Box<dyn Future<Output = Result<bool, sqlx::Error>> + Send>> + Send + Sync + 't11)>, pool::connection::Idle<MySql>, pool::connection::Live<MySql>, MySqlConnection, &'t12 mut MySqlConnection, Pin<Box<(dyn Future<Output = Result<bool, sqlx::Error>> + Send + 't13)>>, Result<bool, sqlx::Error>, bool}]`
   = note: required because it appears within the type `from_generator::GenFuture<[static generator@pool::inner::check_conn<'_, '<empty>, MySql>::{closure#0} for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5, 't6, 't7, 't8, 't9, 't10, 't11, 't12, 't13> {ResumeTy, pool::connection::Floating<'r, pool::connection::Idle<MySql>>, &'s PoolOptions<MySql>, impl Future, (), &'t2 mut pool::connection::Floating<'t3, pool::connection::Idle<MySql>>, impl Future, Result<(), sqlx::Error>, sqlx::Error, PoolOptions<MySql>, std::option::Option<Box<(dyn for<'t14> Fn(&'t14 mut MySqlConnection) -> Pin<Box<dyn Future<Output = Result<bool, sqlx::Error>>
+ Send>> + Send + Sync + 't7)>>, &'t8 std::option::Option<Box<(dyn for<'t14> Fn(&'t14 mut MySqlConnection) -> Pin<Box<dyn Future<Output = Result<bool, sqlx::Error>> + Send>> + Send + Sync + 't9)>>, &'t10 Box<(dyn for<'t14> Fn(&'t14 mut MySqlConnection) -> Pin<Box<dyn Future<Output = Result<bool, sqlx::Error>> + Send>> + Send + Sync + 't11)>, pool::connection::Idle<MySql>, pool::connection::Live<MySql>, MySqlConnection, &'t12 mut MySqlConnection, Pin<Box<(dyn Future<Output = Result<bool, sqlx::Error>> + Send + 't13)>>, Result<bool, sqlx::Error>, bool}]>`

Hi @CHCP
Thanks for the bug report. Can you perhaps provide an example repository that replicates your issue, that I can maybe look into it?

@mvniekerk
Thanks for your reply.
The source code is simple, there is the repository, it can't be compiled because of errors.
scheduler-test

I had a quick look. Seems like the linked list implementation used somewhere in the sqlx crate was not marked as Sync / Send... This is bad news for your implementation.
I also need to have something similar (cron job + sql commands). Will let you know on this .

Hi @mvniekerk
May I know the progress of this issue?  Thanks for you help.

Hi
I have the same issue, I think. It's just with the tokio_modbus Client:
future cannot be shared between threads safely
the trait `Sync` is not implemented for `(dyn tokio_modbus::prelude::Client + 'static)`

Any work around is appreciated.

An easy workaround is to send a message in the job, using mpsc:
    sched.add(Job::new_async("1/10 * * * * *", move |_uuid, _l| {
        let tx = tx.clone();
        Box::pin(async move {
            tx.send(1).await.unwrap();
        }
    })}).unwrap()).unwrap();

And then do the action in another thread:
    let (tx, mut rx) =  mpsc::channel::<u8>(1);
    tokio::spawn(async move {
        loop {
            for _ in rx.recv().await {
                do_whatever_wasnt_possible_before().await;
            }
        }
    });

This works for me at least.

It is a possible way, I will try this. Thanks for sharing code.

Thank you @saabye-io - that's about the only solution right now is if you "escape" out of sync+send land into non-sync+send land using mpsc.
I'm going to close this ticket @CHCP because there's not much I can do. Thank you for the bug report - I'm sure this is a gotcha that others will also encounter.


Ensure the return path analysis traverses the entire CFG

Description
The return path analysis ensures that if a method must return a value then the spine of the method returns a value. The analysis traverses a linearized version of the CFG (one which ignores branching expressions such as if-then-else and loops, and simply treats them as a single node) of each method from the (unique) entry point to the (unique) exit point. If there is ever a node in the graph that does not have outgoing edges, then an error is thrown.
When constructing such a linearized CFG we have so far treated local impls as branches, meaning that the spine was in fact not linear:
fn main() -> u64 {
   // This point has two outgoing edges

   // One goes to here
    impl core::ops::Eq for X {
        fn eq(self, other: Self) -> bool {
            asm(r1: self, r2: other, r3) {
                eq r3 r2 r1;
                r3: bool
            }
        }
    }

    // The other goes to here
    if X::Y(true) == X::Y(true) {
        a
    } else {
        a
    }
}

This has been the case even though the edge into a local impl does not in fact represent legal control flow.
This incorrect construction has made the traversal of the spine-CFG very convoluted and difficult to follow.
This PR fixes the incorrect construction, and simplifies the traversal of the spine so that it is clear what is going on. I have also added an additional test to show that methods inside local impls are in fact analyzed separately, even though there is no longer an edge going into the impl from the surrounding function.
Checklist

[x] I have linked to any relevant issues.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have updated the documentation where relevant (API docs, the reference, and the Sway book).

[ ] If my change requires substantial documentation changes, I have requested support from the DevRel team

[x] I have added tests that prove my fix is effective or that my feature works.
[x] I have added (or requested a maintainer to add) the necessary Breaking* or New Feature labels where relevant.
[x] I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
[x] I have requested a review from the relevant team or maintainers.

Can we test this to validate some previously unhandled state at least?

I haven't been able to find an example where the old algorithm gave an incorrect result. I can keep looking if you want?
When I removed the rovers[0] != exit_point check I got an error in this test case (as well as in a number of others):
https://github.com/FuelLabs/sway/tree/master/test/src/e2e_vm_tests/test_programs/should_pass/language/enum_in_fn_decl
That's the one I used to debug my algorithm.

@IGI-111 : I managed to fix the linearization problem, and the traversal algorithm is much cleaner now. Take a look at your convenience.


Tile and Bola throwing nerf

About the PR

Adds DamageOnLand to bolas and tiles so they break in 3 throws and 4 throws respectively.
Reduced thrown damage of tiles from 10 to 5 to reduce their abuse when used on windows.

In future maybe their damage should be based on velocity so throwing is bad and pneumatic cannon is good.
Currently neither thing breaks into a resource either because they should be expendable in my eyes. Their component parts are abundant and it's unnecessary.
Screenshots

Changelog

:cl:

tweak: Bolas and tiles now break after 3 and 4 throws respectively. Reduced tile damage from 10 to 5. No more tile abuse.

failing build

Bola should prob be like ten less weight then


Add OutWatch to libraries

Please add OutWatch, the FRP UI framework to the list of usable libraries.

Moving to scalafiddle-editor.


use tailRecM in combine

This fixes Issue 54 in purescript-concur-react by using tailRecM to do the monadic recursion in combineInner.

Thanks for this PR! I will look it over soon

Thanks for this PR! I will look it over soon


use "golang.org/x/net/context" instead of "context"

- What I did
Following on #28224 looks like a file slipped into master branch from 0f9fc54 with go import "context". This PR will change go to import "golang.org/x/net/context" instead of "context".
- How I did it
One character at a time.
- How to verify it
$ time make manpages # upon merge of PR, manpages will build
...
Step 13 : ENTRYPOINT man/generate.sh
 ---> Using cache
 ---> 1a10ea51a51f
Successfully built 1a10ea51a51f
docker run --rm \
                -v /Users/andrewhsu/src/thaJeztah-docker:/go/src/github.com/docker/docker/ \
                docker-manpage-dev
Generating man pages into ./man/man1

real    0m32.956s
user    0m0.070s
sys     0m0.082s

- Description for the changelog

N/A
- A picture of a cute animal (not mandatory but encouraged)
🐘
Signed-off-by: Andrew Hsu<EMAIL_ADDRESS>

/cc @vieux @thaJeztah @aaronlehmann

LGTM
We should probably add a validation until we are ready to drop 1.6 support.

LGTM thanks @andrewhsu

all green, merging


Only 10.30 bots

When i star the bots i get 100+ bots and after a few min j just goot 10-30 bots ? is there a fix for this? or is it possbile to add a auto restart or is there any better fix.

me too

yeah the bots slowly disappear

you can change "config.onboardingTimer = 0;" to "config.onboardingTimer = 2500;"
They will come slowly, but they wil go slowly :D


Regarding inline doctests

For learners, I think inline doctests serve as clean examples of what that particular method is doing. I don't think it is really good to remove doctests which are located in docs of each method; we can have all the doctests at *_test.py.
@norvig a decision need to be taken if we want to keep doctests in each method or not.

refer issue #74

Yeah, I have seen that and I have submitted a PR #66 (changes only utils.py) which is merged. But, now I am having second thoughts if we want to leave some doctests which can serve as examples for learners.

Good point. I think there are two purposes of tests: examples, and true tests.
For functions where it is not immediately obvious how to use them, it would be good to have exactly one example in the docstring.  For example:
def product(numbers):
"""Return the product of the numbers.
>>> product([2, 3, 4])
24"""
What we don't want is a long collection of true tests in the docstring that cover all the corner cases (one number, no numbers, zeroes, etc.).

I've updated the README.md to reflect @SnShine 's idea of "leave some doctests which can serve as examples for learners."


Show Compliance status/history of replicators, pods, nodes

Purpose or Intent
#9813 adds ability to define replicator/pods/nodes compliance policies but the results are mostly invisible; this PR allows seeing compliance status & history on these entities' views.
Should be safe (though not very useful) to merge before of #9813.
First commit refactors nearly-duplicated methods.
If you prefer less refactoring in darga, let me know and I'll copy-paste here and follow with a darga/no refactor.
Replicators

Pods

Nodes

Breadcrumbs are messed up in some screenshots as I directly navigated by editing the URL.
The "Status" lines have title like »Show Details of Compliance Check on Wed Jul 13 14:02:36 UTC 2016« and lead to a similar history screen showing only 1 check.
Links
https://bugzilla.redhat.com/show_bug.cgi?id=1341253 (master)
https://bugzilla.redhat.com/show_bug.cgi?id=1346057 (darga)
@miq-bot add-labels providers/containers, ui, darga/yes

@moolitayer Can you review?

@miq-bot assign cben

Should be safe (though not very useful) to merge before of #9813.

Please confirm this works without adding ComplianceMixin to entities in #9813. ComplianceMixin adds
has_many :compliances ... to entities

@cben 1 nit comment from my side overall looks good. @h-kataria could you please review

Tested locally, LGTM :+1:
cc @dclarizio

LGTM :+1: reday for merge
cc @chessbyte @blomquisg @agrare
@miq-bot assign chessbyte

Darga backport details:
commit a1cbdadb0e5fbb4bf7a79dd5ffc83913d57365c9
Author: Oleg Barenboim<EMAIL_ADDRESS>Date:   Mon Jul 25 17:43:54 2016 -0400

    Merge pull request #9948 from cben/compliance-history-rep-pod-node

    Show Compliance status/history of replicators, pods, nodes
    (cherry picked from commit ee1b37c3847fc6a4d9ea297a3401200a71a41af6)


Small Video Ideas

In GitLab by @manuel-g-castro on Nov 14, 2022, 08:49
Hi, @ggcr @ jberlin @mcastril! As we discussed last thursday, it would be great if you guys proposed small little videos that I could make to show off the features that the GUI has.
Here are the first ones that I made:
EXPID SEARCH + PERFORMANCE PAGE (Miguel said to search a more meaningful experiment, on it)

SEARCH BY USER + TREEVIEW

USER SEARCH + GRAPH VIEW (This one has some broken features in the page that I want to correct)

In GitLab by @mcastril on Nov 14, 2022, 19:27
Load a log file for a previous run of a task. I think that not everybody knows the feature. It can be done by selecting a task in the tree view and clicking on the clock sign in the righthand panel.

In GitLab by @mcastril on Nov 14, 2022, 19:19
A tricky one: Press on Active Exps -> Show detailed data -> Clic on the tree view for an experiment that has a FAILED tasl -> Open the error log for the failed task

In GitLab by @mcastril on Nov 14, 2022, 19:19
You could even try the Order by: FAILED Jobs if you have time

In GitLab by @mcastril on Nov 14, 2022, 19:21
One another case shows the Graph View with the Job Monitor enabled. You can run a dummy case that usually has very fast tasks to at least see the transition of some tasks. You can increase the number of start dates and members to increase the chances of having state transitions.

In GitLab by @mcastril on Nov 14, 2022, 19:23
In the SEARCH BY USER + TREEVIEW it seems at one point that there's no clear action. You could move to the experiment's Log for example.

In GitLab by @manuel-g-castro on Nov 16, 2022, 11:36
EPXID SEARCH + PERF (remade it to show some more meaningful stats)

GRAPH + LOG (also kind of remade it)

KEYWORD SEARCH (with waiting time edited out, but nobody needs to know that)

USER SEARCH + DIFFERENT ORDERINGS

ACTIVE + SORT FAILED + CHECK LOG

PREVIOUS LOG RUN


Vue 2.5.6 error on compiling

Laravel Mix Version: #.#.#<EMAIL_ADDRESS>Node Version (node -v): v6.11.3
NPM Version (npm -v): 5.5.1
OS: MacOs 10.12.6 (Sierra)

Description:
I have up and running project in Vue 2.5.3 with laravel mix but now I am trying to upgrade it to latest i.e. 2.5.6 it gives error on compiling. I tried nuke node_modules and re-install again same error it says
Vue packages version mismatch:
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>
Steps To Reproduce:
Install latest Vue Js with laravel mix 1.6.1 and compile you vue files it will throw error

Manually install vue-template-compiler@latest should fix your problem.

@ruchern
Now it throws
Module not found: Error: Can't resolve 'vue-loader' in @ ./resources/assets/js/somemodule.js

@msonowal Do you have vue-loader installed?

@ruchern  not in my package.json directly

@msonowal Okay forget what I have just said.
Can you delete your node_modules directory and installing the packages again via npm or yarn, depending on what you are using. It looked like you have a broken install where vue-loader was not being installed properly.

@ruchern  wait doing that and will post here

@ruchern
ERROR  Failed to compile with 5 errors
These dependencies were not found:
* /resources/assets/sass/app.scss in multi ./resources/assets/js/app.js ./resources/assets/sass/app.scss
* !!vue-style-loader!css-loader?sourceMap!.

ERROR in ./node_modules/vue-loader/lib/template-compiler?{"id":"data-v-d471cd54","hasScoped":false,"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0&bustCache!./resources/assets/js/components/Profile.vue
(Emitted value instead of an instance of Error)
  Error compiling template:

Would need the code in your webpack.mix.js and Profile.vue

@ruchern It works with Vue 2.5.3
But If I upgrade it breaks regardless off that Profile.vue any .vue file does not get compiled
here is my webpack mix its default only
let mix = require('laravel-mix');

/*
 |--------------------------------------------------------------------------
 | Mix Asset Management
 |--------------------------------------------------------------------------
 |
 | Mix provides a clean, fluent API for defining some Webpack build steps
 | for your Laravel application. By default, we are compiling the Sass
 | file for your application, as well as bundling up your JS files.
 |
 */

mix.options({
    processCssUrls: false
});

// uglify:
//    { sourceMap: true,
//      compress: { warnings: false, drop_console: true },
//      output: { comments: false } },
//   cleanCss: {},
//   webpackConfig:

if (!mix.inProduction() ) {
    Config.sourcemaps = 'source-map';
}
//console.log(Config);

mix.js('resources/assets/js/app.js', 'public/js');
mix.sass('resources/assets/sass/app.scss', 'public/css');

mix.browserSync({
    proxy: 'project.dev',
    logConnections: false,
    files: [
        // 'resources/',
        // '!app/' // Note the ! here
        'resources/views/**/*.php',
        'public/js/**/*.js',
    ]
});

// mix.js('src/app.js', 'dist/')
//     .sass('src/app.scss', 'dist/');

// Full API
// mix.js(src, output);
// mix.react(src, output); <-- Identical to mix.js(), but registers React Babel compilation.
// mix.extract(vendorLibs);
// mix.sass(src, output);
// mix.standaloneSass('src', output); <-- Faster, but isolated from Webpack.
// mix.fastSass('src', output); <-- Alias for mix.standaloneSass().
// mix.less(src, output);
// mix.stylus(src, output);
// mix.browserSync('my-site.dev');
// mix.combine(files, destination);
// mix.babel(files, destination); <-- Identical to mix.combine(), but also includes Babel compilation.
// mix.copy(from, to);
// mix.copyDirectory(fromDir, toDir);
// mix.minify(file);
// mix.sourceMaps(); // Enable sourcemaps
// mix.version(); // Enable versioning.
// mix.disableNotifications();
// mix.setPublicPath('path/to/public');
// mix.setResourceRoot('prefix/for/resource/locators');
// mix.autoload({}); <-- Will be passed to Webpack's ProvidePlugin.
// mix.webpackConfig({}); <-- Override webpack.config.js, without editing the file directly.
// mix.then(function () {}) <-- Will be triggered each time Webpack finishes building.
// mix.options({
//   extractVueStyles: false, // Extract .vue component styling to file, rather than inline.
//   processCssUrls: true, // Process/optimize relative stylesheet url()'s. Set to false, if you don't want them touched.
//   purifyCss: false, // Remove unused CSS selectors.
//   uglify: {}, // Uglify-specific options. https://webpack.github.io/docs/list-of-plugins.html#uglifyjsplugin
//   postCss: [] // Post-CSS options: https://github.com/postcss/postcss/blob/master/docs/plugins.md
// });

@ruchern have you tried installing latest vue with any existing project that has vue files?

@msonowal I have no issues with it. I am using vue 2.5.8 in fact.

@ruchern can you post your package.json
mine is as below
{
  "name": "userin",
  "version": "0.0.1",
  "description": "A SPA for UserIn",
  "author": "Manash Jyoti Sonowal<EMAIL_ADDRESS>  "private": true,
  "scripts": {
    "dev": "npm run development",
    "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
    "watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
    "watch-poll": "npm run watch -- --watch-poll",
    "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
    "prod": "npm run production",
    "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --profile --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
    "silent": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --config=node_modules/laravel-mix/setup/webpack.config.js"
  },
  "dependencies": {
<EMAIL_ADDRESS>"^17.1.0",
    "animate.css": "^3.5.2",
    "axios": "^0.17.1",
    "bootstrap-sass": "^3.3.7",
    "firebase": "^4.6.2",
    "font-awesome": "^4.7.0",
    "idle-js": "^0.1.3",
    "ioredis": "^3.2.1",
    "jquery": "^3.2.1",
    "laravel-echo": "1.3.2",
    "lodash": "^4.17.4",
    "moment-duration-format": "^1.3.0",
    "moment-timezone": "^0.5.14",
    "raven-js": "^3.20.1",
    "socket.io": "^2.0.4",
    "socket.io-client": "^2.0.4",
    "v-toaster": "^1.0.3",
    "v-tooltip": "^2.0.0-rc.22",
    "vue": "^2.5.8",
    "vue-checkbox-radio": "^0.6.0",
    "vue-echo-laravel": "0.0.4",
    "vue-form-wizard": "^0.7.0",
    "vue-json-excel": "https://github.com/msonowal/vue-json-excel#f593876f5426ff34e25f719b8beb116a3eda9e03",
    "vue-lightbox": "^1.1.6",
    "vue-multiselect": "^2.0.6",
    "vue-progressbar": "^0.7.3",
    "vue-rate-it": "^2.1.0",
    "vue-router": "^3.0.1",
    "vue-sweetalert": "^0.1.18",
    "vue-typeahead": "^2.3.2",
    "vue2-datepicker": "^1.6.1",
    "vue2-filters": "0.2.2",
    "vuedals": "git+https://github.com/msonowal/vuedals.git#v1.6.2",
    "vuedialog": "git+https://github.com/msonowal/vue-dialog#v1.0.2",
    "vuefire": "^1.4.4",
    "vuetable-2": "^1.7.0",
    "vuex": "^3.0.1"
  },
  "devDependencies": {
    "browser-sync": "^2.18.13",
    "browser-sync-webpack-plugin": "^1.2.0",
    "cross-env": "^5.1.1",
    "laravel-mix": "^1.6.1",
    "node-sass": "^4.5.3"
  }
}

"devDependencies": {
    "axios": "^0.17.1",
    "browser-sync": "^2.18.12",
    "browser-sync-webpack-plugin": "^1.2.0",
    "laravel-mix": "^1.5.1",
    "lodash": "^4.17.4",
    "uikit": "^3.0.0-beta.35",
    "vue": "^2.5.8"
  },
  "dependencies": {
    "ckeditor": "^4.7.1",
    "font-awesome": "^4.7.0",
    "simplemde": "^1.11.2"
  }

This is mine.

@ruchern can you try installing mine in your machine

This was an issue for me using<EMAIL_ADDRESS>with yarn. My resolution was to remove the yarn.lock and node_modules, then rerun yarn install. Error was resolved after that. Looks like a conflict was introduced into the yarn.lock.

@ellisio yeah now its working issue regarding yarn


Add LGM-SOC'21 score card in readme.md

Add LGM-SOC'21 score card in readme.md

@Creatoon pls assign this issue to me.

Like this

@ishitakapoor26 go for it


Running in both AP mode and as a regular WiFi client at the same time

This would be useful to keep AP mode always on so that we can always change the actual network parameters.
An example of such a setup would be helpful.
Here is a post which explains how to setup this wifi network configuration on the rpis (without using the network-manager):
http://imti.co/post/145442415333/raspberry-pi-3-wifi-station-ap
Connects to: https://github.com/resin-io/resin-wifi-connect/issues/66#issuecomment-352571800

I did some research on this and I am reposting part of the original discussion from our forums: Currently NetworkManager cannot create an AP with the device in being in STA+AP mode. It has a fixed flow for how to handle newly added interfaces. To enter STA+AP mode a virtual interface of type __ap has to be added like this: iw dev wlan0 interface add ap0 type __ap. After the interface is added NetworkManager forces the interface to enter station/client mode, which does not work, since the interface created with AP type.
(more on that in the forums link above...)
As for WiFi Connect, it uses NetworkManager for creating the AP instead of hostapd, and since using the device in STA+AP mode is not that essential, I do not think we will add support for this (unless future versions of NetworkManager do that). Closing for now as wontfix.


Can't display map images on CN Client

the same question with #29
i disable the plugin and then enable it, and find no error log in '/xllog'
and this problem only matters CN client.

Unfortunately I can't test on CN client.
But I know CN is a different version from global, and CN Dalamud is different from normal Dalamud.
So I can't really help if there is no error message.

got it:(
thx for your reply!


Can't teleport to places when 2 roblox instances are running

When having multiple roblox instances opened, and trying to teleport from one place to another on the first instance, this happens:

Known issue that's been happening since May. Nothing I can do about it, sorry.
https://devforum.roblox.com/t/teleportserviceteleportasync-fails-if-there-are-multiple-clients-running-on-the-same-machine-byfron-issue/2324412


 I get the same warnings with a new project. Maybe these warnings are intentional but they seem pretty unfriendly and should be fixed, imo.
Reproduction
Steps

Create a new project.
Run yarn init
Run yarn add @algolia/autocomplete-js
Received output

[1/4] Resolving packages...
[2/4] Fetching packages...
warning<EMAIL_ADDRESS>The engine "pnpm" appears to be invalid.
[3/4] Linking dependencies...
warning "workspace-aggregator-8d0bd819-678b-4381-8a21-4e795aadea2f > frontend ><EMAIL_ADDRESS>has unmet peer dependency "@algolia/client-search@>= 4.5.1 < 6".
warning "workspace-aggregator-8d0bd819-678b-4381-8a21-4e795aadea2f > frontend ><EMAIL_ADDRESS>has unmet peer dependency "algoliasearch@>= 4.9.1 < 6".
warning "workspace-aggregator-8d0bd819-678b-4381-8a21-4e795aadea2f > frontend > @algolia/autocomplete-js ><EMAIL_ADDRESS>has unmet peer dependency "@algolia/client-search@>= 4.9.1 < 6".
warning "workspace-aggregator-8d0bd819-678b-4381-8a21-4e795aadea2f > frontend > @algolia/autocomplete-js ><EMAIL_ADDRESS>has unmet peer dependency "algoliasearch@>= 4.9.1 < 6".
warning "workspace-aggregator-8d0bd819-678b-4381-8a21-4e795aadea2f > frontend > @algolia/autocomplete-js ><EMAIL_ADDRESS>has unmet peer dependency "@algolia/client-search@>= 4.9.1 < 6".
warning "workspace-aggregator-8d0bd819-678b-4381-8a21-4e795aadea2f > frontend > @algolia/autocomplete-js ><EMAIL_ADDRESS>has unmet peer dependency "algoliasearch@>= 4.9.1 < 6".
warning "workspace-aggregator-8d0bd819-678b-4381-8a21-4e795aadea2f > frontend > @algolia/autocomplete-js > @algolia/autocomplete-core ><EMAIL_ADDRESS>has unmet peer dependency "search-insights@>= 1 < 3".
[4/4] Building fresh packages...
Done in 3.88s.

Expected behavior
No warnings should be thrown.
Environment

OS: Linux
Autocomplete version: v1.11.1

I'm not sure how we can solve this, but you should install algoliasearch before or right after installing autocomplete. Normally most information should already be updated with npm install algoliasearch @algolia/autocomplete-js. If you copied from somewhere that doesn't have that, I'd gladly fix it

I mean, the readme of this repo (at least on the next branch, which is default) says you should install the package with
yarn add @algolia/autocomplete-js
# or
npm install @algolia/autocomplete-js

If that's not the right way for someone looking to install this project to get started it should say that. Additionally, the project will still warn about unmet peer dependencies.  You still need to install @algolia/client-search and search-insights. I get that those are required by projects that aren't this one, but I think they should be either included as dependencies for this project, or at least included in the documentation of how to install this project.


Bug: Conflict with Sortable 0.2.6 on Sanctum 0.15.9

Bug Description
In Sortable's latest version, the arrows beside the table headings are hidden by default, only being shown when a heading was clicked on for sorting. This conflict also causes the arrows to remain even after disabling Sortable and restarting Obsidian. This must be caused by the support added for Sortable.
To Reproduce

Install and enable Sortable from community plugins
Make a table

Expected behavior
Table heading arrows should be hidden by default.
Relevant Screenshot(s)
0.15.9 with Sortable 0.2.6

0.15.8 with Sortable 0.2.6

Obsidian Version
0.15.9
Installer Version
0.14.15
Font Size
16
Which editor are you using?

[X] New Editor
[ ] Legacy Editor

In which mode(s) does the problem occur? (if applicable)

[X] Reading View (Preview)
[X] Editing View - Source Mode
[ ] Editing View - Live Preview

Which operating system?

[X] Windows
[ ] macOS
[ ] Linux
[ ] Android
[ ] iOS

Checklist

[X] I updated to the latest version of the theme (Settings → Appearance → Themes - Manage → Update).
[X] I made sure that the issue is related to this theme by checking that the problem does not occur with the default theme.
[X] If the bug occured after updating the theme, I read the last couple Releases to make sure the bug is not an intentional change.

Additional Context
No response

Hi! Sorry to only get back to you at this time, but I've been completely rewriting Sanctum from scratch, as well as helping out with the 0.16 alpha build with feedback and bug reports. I plan on adding support for this plugin in the new rewritten theme, as well as adding a couple of style setting options for controlling how the filters look. It is currently a bit down the list of priorities, so if you update to 0.16 (in case you're an insider) you'll basically see the plugin work the same as default.
I'm currently focusing my attention on preparing the theme for the official 0.16.X Obsidian release, so I ask for your patience regarding this matter. Hopefully I'll get it sorted out (no pun intended) and working better than before by the time that comes out!


Role of hygiene test in ontology testing

It seems to me that it is possible that a prod-level version of FIBO has unresolved hygiene issues.
I run https://github.com/edmcouncil/fibo/blob/master/etc/testing/hygiene/testHygiene0001.sparql on prod.fibo-quickstart.ttl from Q2 2020 and got 100+ failures, i.e. RDF nodes without rdf:type - as far as I can tell they are all ontologies that are not declared as of type owl:Ontology. testhygiene001_fails_2020_q2.txt
Apparently, hygiene failures are somehow by-passed in the automation.
This is not a definitive remark since we know that there are differences between different FIBO products as reported in https://github.com/edmcouncil/fibo/issues/1065.

These are all declared in the RDF/XML version, so something is going wrong in the translation to Turtle or in how we produce the quickstart.

I run this test on LoadFIBOProd and indeed all missing types were found.
Thus this issue is an offshot of https://github.com/edmcouncil/fibo/issues/1065 and can be closed for now.
However we still need to check that the hygiene tests, if fail, make the Jenkins process terminate with an appropriate error.


Error: Cannot find module './picker.js'

Description
Hi,
I installed materializse-css via NPM to use it's api in my Vue components. But when I try to run it through browserify I get
Error: Cannot find module './picker.js' from '***/node_modules/materialize-css/bin'
"materialize-css": "^0.97.8",
"browserify": "^13.1.0",

Repro Steps
I created a repo to reproduce it git@github.com:faebeee/vueapp-skeleton.git use the branch materialize

Duplicate of https://github.com/Dogfalo/materialize/issues/3139. Please close


Support sparse accessors in Model

The old Model class didn't handle sparse accessors from the glTF spec. For better spec compliance, the new ModelExperimental should add this.
Not sure the exact scope of how to implement this, but some thoughts:

Certainly GltfLoader (or related loaders) would need more parsing logic for sparse accessors
If it's possible, handle this completely at load time so ModelComponents and runtime code such as the GeometryPipelineStage don't need to worry about whether the accessor was sparse or dense.

This would also be useful for animation with morph targets, since the weights are packed per keyframe. It gets even more cumbersome to pull the data when CUBICSPLINE interpolation is involved, since there are three values per morph weight per keyframe.

In https://github.com/CesiumGS/cesium/issues/11961, @mramato pointed out a glTF which fails to load, and @javagl Identified lack of support for sparse accessors as the cause for the failure.

house.glb.txt is a draco encoded glTF model that loads fine in all viewers I tried except for CesiumJS. It validates cleanly with no errors.

When loaded into CesiumJS, it reports:

RuntimeError: Failed to load model: ../../SampleData/models/house.glb
Failed to load glTF
One of options.bufferViewId and options.draco must be defined.

... the way CesiumJS is failing here is not very useful and a clear error message or warning about lack of sparse accessors would be the least we could do. But it definitely bugs me that there is part of the glTF standard we seem to not support, especially since tools like gltf-transform's optimize function produces sparse accessors where applicable.

@ggetz @lilleyse What is the level of effort to support them?

What is the level of effort to support them?

Correct me if I'm wrong @lilleyse, but supporting sparse accessors is a matter of updating the loader parsing and shouldn't be complex to support.

Yeah it seems pretty straightforward. The simplest approach would be to expand the sparse accessor at load time.

An example that I created for https://github.com/CesiumGS/cesium/pull/12379 :
MorphTestWithSparseAccessors 2024-12-21.zip
It uses an artificially and intentionally sparse morph target for the POSITION attribute, and should look like this:

It currently bails out with this message:
An error occurred while rendering.  Rendering has stopped.
DeveloperError: attribute.value.length must be in the range [1, 4].
Error
    at new DeveloperError (https://sandcastle.cesium.com/CesiumUnminified/Cesium.js:9080:13)
    at addAttribute (https://sandcastle.cesium.com/CesiumUnminified/Cesium.js:34733:15)
    at new VertexArray (https://sandcastle.cesium.com/CesiumUnminified/Cesium.js:34863:7)
    at buildDrawCommandForModel (https://sandcastle.cesium.com/CesiumUnminified/Cesium.js:106182:25)
    at ModelDrawCommands.buildModelDrawCommand (https://sandcastle.cesium.com/CesiumUnminified/Cesium.js:106154:21)
    at ModelSceneGraph.buildDrawCommands (https://sandcastle.cesium.com/CesiumUnminified/Cesium.js:106589:55)
    at buildDrawCommands (https://sandcastle.cesium.com/CesiumUnminified/Cesium.js:109707:25)
    at Model.update (https://sandcastle.cesium.com/CesiumUnminified/Cesium.js:109530:5)
    at PrimitiveCollection.update (https://sandcastle.cesium.com/CesiumUnminified/Cesium.js:147560:21)
    at updateAndRenderPrimitives (https://sandcastle.cesium.com/CesiumUnminified/Cesium.js:241551:23)

Things like https://github.com/CesiumGS/cesium/blob/47b5d295facaca795381bf607b78cc60c643fd85/packages/engine/Source/Scene/Model/MorphTargetsPipelineStage.js#L65 should be tracked in an issue, and at least generate a warning instead of failing silently or even "crashing silently"...


[add-resource] New Plugin: Cookies Notice

Hello,
I created plugin for their own needs with my project where as backend I use Grav.
Plugin displays banner at the top or bottom of the page. It can be freely modified, because it has the ability to import your own css, of course supports multi language on the page.
This is a project page on GitHub:  kwachu96/grav-plugin-cookies-notice
Regards,
kwachu

Out of curiosity, does this differ from https://github.com/giansi/grav-plugin-cookies-policy or the end result is more or less the same?

The difference is that: my plugin only display banner (but on top or bottom) and
it has the possibility of changing the appearance easier by load own css in field by admin panel e.g.

Added for next repo update


Custom view support

Can this setup be used to obtain a view model in custom view and what would be required steps to make it capable of such a thing?
You are using arguments to pass information for the class type and obtain view model from that, arguments are not available in custom view

I have managed to support custom views by using tags, instead of arguments that you use for fragments and activities
These are helper methods
@Suppress("UNCHECKED_CAST")
fun <T> View.viewModelContract(): T {
    val clazz: Class<ViewModel> = getTag(R.id.CUSTOM_VIEW_VIEW_MODEL_ID) as Class<ViewModel>
    val viewModelProvider = ViewModelProvider(getViewModelStoreOwner())
    return viewModelProvider.get(clazz) as T
}

fun <T> View.registerViewModelContractCustomView(viewModelContract: Class<T>) {
    return setTag(R.id.CUSTOM_VIEW_VIEW_MODEL_ID, viewModelContract)
}

fun View.getViewModelStoreOwner(): ViewModelStoreOwner {
    return try {
        findFragment()
    } catch (e: Exception) {
        (context as AppCompatActivity)
    }
}

/***
 * @return fragment's viewLifecycle owner if view is part of a fragment or activity's lifecycle if view is part of activity
 */
fun View.getViewLifecycleOwner(): LifecycleOwner {
    return try {
        val fragment: Fragment = findFragment()
        fragment.viewLifecycleOwner
    } catch (e: Exception) {
        (context) as LifecycleOwner
    }
}

And this is how I use it in my custom view
override fun onAttachedToWindow() {
        super.onAttachedToWindow()
        val lifecycleOwner = getViewLifecycleOwner()

        lifecycleOwner.lifecycle.addObserver(this)

        viewModelContract = viewModelContract()
        viewModelContract.someProgressLiveData.observe(lifecycleOwner, { value: Int ->
            text2.text = "New value: $value"
        })
    }

And this is how to register it in a fragment or activity
customView.registerViewModelContractCustomView(SomeFragmentViewModel::class.java)


[BUG] Crash with script (invalid memory address or nil pointer dereference)

Go Hass Agent Version
go-hass-agent: v7.3.0
Describe the bug
If I try to include my script, go-hass-agent will not even start. It does not matter if it is written in bash or go. I get the error
10:17AM DBG Debug logging enabled.
10:17AM DBG Setting language to [de].
10:17AM DBG Agent already registered.
10:17AM DBG Listening for notifications.
10:17AM DBG Starting worker funcs.
10:17AM WRN Cannot run script error="fork/exec /home/peter/.config/com.github.joshuar.go-hass-agent/scripts/system update info.sh: exec format error" script="/home/peter/.config/com.github.joshuar.go-hass-agent/scripts/system update info.sh"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xd4e178]

goroutine 80 [running]:
github.com/joshuar/go-hass-agent/internal/scripts.(*script).Schedule(...)
        /home/joshua/git/go-hass-agent/internal/scripts/scripts.go:63
github.com/joshuar/go-hass-agent/internal/agent.runScripts({0x1161720, 0xc00036b080}, {0xc0001f5080?, 0x1d49c0001d456?}, {0x1161560, 0xc000396780}, {0x1161598, 0xc000113c20})
        /home/joshua/git/go-hass-agent/internal/agent/runners.go:90 +0x158
github.com/joshuar/go-hass-agent/internal/agent.(*Agent).Run.func2.3()
        /home/joshua/git/go-hass-agent/internal/agent/agent.go:96 +0x145
created by github.com/joshuar/go-hass-agent/internal/agent.(*Agent).Run.func2 in goroutine 69
        /home/joshua/git/go-hass-agent/internal/agent/agent.go:93 +0x248

To Reproduce
Steps to reproduce the behaviour:

copy script in config
make it executable
start go-hass-agent

Expected behaviour
I would expect it to start and run the program.
Logs
go-hass-agent.log
Desktop (please complete the following information):

OS: Linux
Distribution Arch Linux
Version Linux 6.8.2-arch1-1

Additional context
Here is my script in go and in bash
system update info.sh.txt
system_update_info.go.txt

Hey @dflvunoooooo it looks like the script here does not contain a valid shebang line. The scripts need to be able to be run directly on the command-line when invoked (i.e. ./system_update_info.sh should work). I think if you add a valid shebang line (like #!/bin/sh) as the first line, this script will work?
It is a problem that the agent crashed with a panic though. I'll look into fixing that.

Thank you for answering. I seem to have accidentally deleted the shebang. I now can run the script from the command line the way you mentioned. But I have the same error after adding it again.

Okay I have been able to reproduce the crash on my Arch VM, it is fixed by 07d3e0ea36a4a3836641e4585964a4278bbed62a, which will be included in the next release, to happen imminently :tada:
I did however also encounter some JSON parsing issues with your script output. Here is a modified version that works for me:
#!/bin/bash

update_seconds=$((($(date +%s) - $(date -d $(sed -n '/upgrade$/x;${x;s/.\([0-9-]*\).*/\1/p}' /var/log/pacman.log) +%s))))
number_updates=$(($(sudo yay -Sy > /dev/null && yay -Qu | wc -l) - 1))

# JSON-Format ausgeben
cat << EOF
{
  "schedule": "@every 12h",
  "sensors": [
    {
      "sensor_name": "System Last Update",
      "sensor_icon": "mdi:update",
      "sensor_state": $update_seconds,
      "sensor_device_class": "duration",
      "sensor_units": "s"
    },
    {
      "sensor_name": "System Available Updates",
      "sensor_icon": "mdi:numeric",
      "sensor_state": $number_updates
    }
  ]
}
EOF

I've cleaned up the JSON and used a HEREDOC to make writing the JSON output a little easier (without needing to escape a lot of strings).
You can use dasel to validate the JSON output of the script. Once you have dasel installed, a command like:
~/.config/com.github.joshuar.go-hass-agent/scripts/system.update.info.sh > /tmp/script.output.json && dasel validate /tmp/script.output.json && rm /tmp/script.output.json

Should print out pass /tmp/script.output.json or a fail (some error)... if it failed to validate.


Remove unnecessary yarn setup step in extension publish workflow

Summary
With the addition of corepack to the extension chart publish workflow, yarn no longer needs to be setup as a separate step. When yarn is setup separately it will install yarn classic 1.22.2 which will cause a corepack error:
Error: Error when performing the request to https://registry.npmjs.org/yarn/latest; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting
    at fetch (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:22762:11)
    at async fetchAsJson (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:22776:20)
    ... 4 lines matching cause stack trace ...
    at async Object.runMain (/usr/local/lib/node_modules/corepack/dist/lib/corepack.cjs:24232:5) {
  [cause]: TypeError: globalThis.fetch is not a function

Example action run
Occurred changes and/or fixed issues

Removed the unnecessary yarn setup step
Added a node setup step prior to enabling corepack

Technical notes summary

This will need to be backported to 2.8 as well.
Areas or cases that should be tested

A successful run of this reusable workflow using @rancher/shell version 1.2.3 can be seen here.
Areas which could experience regressions

Screenshot/Video

Checklist

[x] The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
[x] The PR has a Milestone
[x] The PR template has been filled out
[x] The PR has been self reviewed
[x] The PR has a reviewer assigned
[x] The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
[x] The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

This will need a backport for 2.8, right?


feat(tutorial): complete step 5 - Hursley

carbon-tutorial-joekent1.mybluemix.net

Looks good! Please continue to the 'wrapping up' stage to claim your badge and t-shirt.