live-server is stopped

Hi,
Please help me resolve this issue: "Live server is stopped".
None of my packages contain incompatible native modules but live server is still not working.
Can anyone help please?
Cheers!

Got the same issue, packages and dependencies installed/updated without success.

Every time I click on start server for atom-live-server. The message displayed live server stopped.
Also, I am not able to find any solution on the internet.
I am a Windows-7 user.

Same here, I can't get it to run.

Everything works fine on my macOS with Atom 1.20.0, what's your environment?

Just downloaded and installed Atom (1.20.0 x64) and installed atom-live-server (2.1.2) on Windows 10 Pro (Version 1511) for the first time and am having this problem as well.

Removing the .atom-live-server.json file from by project directory has started it working for me.

my server worked but not anymore rip

The package is incompatible with the editor...kindly restart your atom editors and your issue will be solved

same problem occurring here
Can anybody share the fix ?

having the same issue and there's not ".atom-live-server.json" file in my project.

same issue here, on ubuntu 16.04 lts, no options file created.

The package is incompatible with the editor...kindly restart your atom editors and your issue will be solved

how to restart atom editors?

Removing the .atom-live-server.json file from by project directory has started it working for me.

What you mean by the project directory? There are no such files in my project!

on mac mojave a manual update of atom solved the problem for me

Did this problem ever get resolved? I tried all the suggestions on here but none of them worked. I'm on a Lenovo Thinkpad running Linux Mint.

hey, I'm having this problem on Ubuntu 18.04. anyone solved it?

I preferred to use another editor than trying to find out what caused the error; I used ST3 for a while but it didn't convince me much, VS code has worked for me with its similar extension but there are some Atom features that don't come by default in the rest of the free editors. Now I use three or four different editors for various tasks (even for the same project) |-(

I preferred to use another editor than trying to find out what caused the error; I used ST3 for a while but it didn't convince me much, VS code has worked for me with its similar extension but there are some Atom features that don't come by default in the rest of the free editors. Now I use three or four different editors for various tasks (even for the same project) |-(

Reinstalling Atom worked for me


Update CAPI dependencies to 1.2.0, add json logging, Kubernetes 1.24 change

What this PR does / why we need it:
This change uptakes the newer version of CAPI 1.20 release. The changes are as suggested here - https://main.cluster-api.sigs.k8s.io/developer/providers/v1.1-to-v1.2.html#required-api-changes-for-providers

Add support for json logging
Add the toleration/affinity for Kubernetes 1.24

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #112

All e2e tests ran

• [SLOW TEST:822.876 seconds]
Workload cluster creation
/home/ubuntu/go/src/github.com/oracle/cluster-api-provider-oci/test/e2e/cluster_test.go:50
  Machine Pool - Simple
  /home/ubuntu/go/src/github.com/oracle/cluster-api-provider-oci/test/e2e/cluster_test.go:517
------------------------------
STEP: Tearing down the management cluster

Ran 15 of 22 Specs in 4705.857 seconds
SUCCESS! -- 15 Passed | 0 Failed | 0 Pending | 7 Skipped

Ginkgo ran 1 suite in 1h18m29.103645732s
Test Suite Passed
make[1]: Leaving directory '/home/ubuntu/go/src/github.com/

unit tests ran
setting up env vars
?   	github.com/oracle/cluster-api-provider-oci	[no test files]
ok  	github.com/oracle/cluster-api-provider-oci/api/v1beta1	0.960s	coverage: 18.7% of statements
?   	github.com/oracle/cluster-api-provider-oci/cloud/config	[no test files]
ok  	github.com/oracle/cluster-api-provider-oci/cloud/ociutil	0.563s	coverage: 25.0% of statements
ok  	github.com/oracle/cluster-api-provider-oci/cloud/scope	177.661s	coverage: 73.4% of statements
?   	github.com/oracle/cluster-api-provider-oci/cloud/scope/mocks	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/compute	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/compute/mock_compute	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/computemanagement	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/identity	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/identity/mock_identity	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/networkloadbalancer	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/networkloadbalancer/mock_nlb	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/vcn	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/cloud/services/vcn/mock_vcn	[no test files]
ok  	github.com/oracle/cluster-api-provider-oci/controllers	28.401s	coverage: 71.0% of statements
?   	github.com/oracle/cluster-api-provider-oci/exp/api/v1beta1	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/exp/controllers	[no test files]
?   	github.com/oracle/cluster-api-provider-oci/feature	[no test files]


Fails to run with recent versions of aiosmtpd

Image on docker hub is for linux/amd64; so I locally built this for my Pi4 and it fails to run.  I suspect it's due to updated Alpine.
Creating emqtt ... done
Attaching to emqtt
emqtt    | 2021-04-10 04:17:31,523 - emqtt - INFO - Setting up a filehandler
emqtt    | 2021-04-10 04:17:31,524 - emqtt - INFO - Configured to save attachments
emqtt    | Exception in thread Thread-1:
emqtt    | Traceback (most recent call last):
emqtt    |   File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
emqtt    |     self.run()
emqtt    |   File "/usr/lib/python3.8/threading.py", line 870, in run
emqtt    |     self._target(*self._args, **self._kwargs)
emqtt    |   File "/usr/lib/python3.8/site-packages/aiosmtpd/controller.py", line 169, in _run
emqtt    |     asyncio.set_event_loop(self.loop)
emqtt    |   File "/usr/lib/python3.8/asyncio/events.py", line 753, in set_event_loop
emqtt    |     get_event_loop_policy().set_event_loop(loop)
emqtt    |   File "/usr/lib/python3.8/asyncio/unix_events.py", line 1365, in set_event_loop
emqtt    |     super().set_event_loop(loop)
emqtt    |   File "/usr/lib/python3.8/asyncio/events.py", line 647, in set_event_loop
emqtt    |     assert loop is None or isinstance(loop, AbstractEventLoop)
emqtt    | AssertionError

Thanks for the fix!


Support "Issue Tracker" url

PYPI supports "Issue Tracker" url as follows:
# setup.py
    url="https://github.com/HDE/aapns",
    project_urls={
        "Documentation": "https://aapns.readthedocs.io/en/latest/",
        "Code": "https://github.com/HDE/aapns",
        "Issue tracker": "https://github.com/HDE/aapns/issues",
    },

When looks like this on PYPI:

Poetry hoists documentation and repository to the top level, but not issue tracker.
If there's a canonical list of links that PYPI understands (shows icon), perhaps poetry should support all.

This would be covered by #466 in a general way.
Apart from those listed there are a lot of URLs and url names recognized by PyPI, see here.

This is possible with #1137.


Dump binary encoded genotypes after regenotyping

At the end of the regenotyping pipeline, it would be very easy to dump the following

Some kind of summary/signature of all the snps/indels in the VCF (might just be md5)
for each sample, a JSON with two entries. One is a bitfield and one an integer array, each as long as the VCF has records (ie one bit/integer per record). In these we put:

for each record, set bit to 1 if genotype is either  ./. or het
for each record, set integer to the (haploid) genotype.
Once stored at the end of regenotyping, this will make distance measuring trivial

Then at the end we can just "cat" all the bitarrays for ./. or het, and cat all the intvectors, and then the distance measurement is trivial:
dist=0
for i= 0 to number of records-1
for j= i to number of records-1
if the bitfield[i]==bitfield[j]==0 (meaning it is neither missing nor het)
if the int vector[i] != int vector [j]
dist++
Ought to be v fast

Note these could be merged as vcfs are merged

This just an idea for the future

maybe this is now redundant?


[Bug]: Browse Folder Is Empty

Bug Description
When searching "o Useful Tools" and I hit enter to browse the corresponding folder, "Search Obsidian Vault" briefly pops up under the main search bar, but then disappears. No results show up for notes within the Obsidian folder.
I noticed that oinfo reports: "Not all metadata not found. Please run osetup and retry. metadata.json String Length: 209662". However, I've tried running osetup multiple times, but this issue persists.
Relevant Screenshot

To Reproduce

Open Alfred
Search for a folder "o "
Hit enter (to browse)
Nothing shows up

Debugging Log
[14:59:28.988] Shimmering Obsidian[Script Filter] Processing complete
[14:59:29.018] Shimmering Obsidian[Script Filter] Passing output 'Research/Useful Tools' to Call External Trigger
[14:59:29.019] Shimmering Obsidian[External] Processing complete
[14:59:29.020] Shimmering Obsidian[External] Passing output 'Research/Useful Tools' to Arg and Vars
[14:59:29.020] Shimmering Obsidian[Arg and Vars] Processing complete
[14:59:29.021] Shimmering Obsidian[Arg and Vars] Passing output 'Research/Useful Tools' to Arg and Vars
[14:59:29.022] Shimmering Obsidian[Arg and Vars] Processing complete
[14:59:29.022] Shimmering Obsidian[Arg and Vars] Passing output 'Research/Useful Tools' to Conditional
[14:59:29.022] Shimmering Obsidian[Conditional] Processing complete
[14:59:29.023] Shimmering Obsidian[Conditional] Passing output 'Research/Useful Tools' to Call External Trigger
[14:59:29.023] Shimmering Obsidian[Script Filter] Running directly with argument ''
[14:59:29.024] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
[14:59:29.254] Shimmering Obsidian[Script Filter] Script with argv '(null)' finished

Workflow Configuration

Version & System Information
-------------------------------
INTERNAL WORKFLOW CONFIGURATION
Vault Path: /Users/yeongwoohwang/Documents/Woo's Vault
config folder: exists
Metadata JSONs: 0/4
Not all metadata not found. Please run `osetup` and retry.
metadata.json String Length: 209662
-------------------------------
WORKSPACE DATA
'workspace' exists
'workspace.json' exists
-------------------------------
SYSTEM
macOS: 13.0
Alfred: 5.1.2
-------------------------------
INSTALLED VERSION
Obsidian: 1.4.13
This Workflow: 4.1.0
Advanced URI Plugin: 1.38.1
Metadata Extractor: 1.1.0
-------------------------------
LATEST VERSION
Obsidian: 1.4.13 (Insider: 1.4.13)
This Workflow: 4.1.0
Advanced URI Plugin: 1.38.1
Metadata Extractor: 1.1.0
-------------------------------

Last working version
3.8.1
Make sure you have done the following

[X] I have updated to the latest version of this workflow.
[X] I have read the documentation of the feature I am having problems with.
[X] I am using Alfred 5. (Alfred 4 is not supported by this workflow anymore.)
[X] I have updated to the latest version of the Metadata-Extractor and the Advanced URI plugin.
[X] If the o… main search does not work, I made sure that I haven't changed any of the default settings of the Metadata-Extractor. Furthermore, I have tried rerunning osetup and it still does not work.
[X] If notes in general can be found, but recently created or renamed notes cannot, I used the oupdate command to manually update the metadata.

This is quite puzzling to me, since without any metadata, the search should already fail to begin with. Can you paste the debugging log when pasting osetup?
A possible reason why nothing in that particular folder can be found is that there is either no note, or that you added the folder (or all its notes) to the excluded files in the Obsidian settings (Files and Links → Excluded Files)
Could you go to the folder yourVaultPath/.obsidian/plugins/metadata-extractor and list all files in that folder?

This is the output of the debugger when running osetup
[07:13:20.374] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
[07:13:20.512] Shimmering Obsidian[Script Filter] Queuing argument '(null)'
[07:13:21.895] Shimmering Obsidian[Keyword] Processing complete
[07:13:21.896] Shimmering Obsidian[Keyword] Passing output '' to Run Script
[07:13:22.640] Shimmering Obsidian[Run Script] Processing complete
[07:13:22.640] Shimmering Obsidian[Run Script] Passing output '' to Conditional
[07:13:22.641] Shimmering Obsidian[Conditional] Processing complete
[07:13:22.641] Shimmering Obsidian[Conditional] Passing output '' to Post Notification
[07:13:22.641] Shimmering Obsidian[Post Notification] Processing complete
[07:13:22.642] Shimmering Obsidian[Post Notification] Passing output '' to Play Sound
My excluded files is empty:

I have the following files in metadata-extractor

allExceptMd.json
main.js
tags.json
canvas.json
manifest.json
data.json
metadata.json

If it's useful, I also see that in allExceptMd.json, the following lines are present,
{       "name": "Useful Tools",       "relativePath": "Research/Useful Tools"     },

Something interesting that I've noticed; the browsing seems to fail when a folder contains no other subfolders. If I create a folder within the folder I'm searching for, then it works! If I then delete the folder, it once again fails.

It seems that the metadata is correctly created, only the oinfo command for some reason is not able to correctly identify it. Weird.

Something interesting that I've noticed; the browsing seems to fail when a folder contains no other subfolders. If I create a folder within the folder I'm searching for, then it works! If I then delete the folder, it once again fails.

That's a good find! I pushed an update which potentially fixes this issue. Could you download it and try again? https://github.com/chrisgrieser/shimmering-obsidian/releases/download/4.1.1/shimmering-obsidian.alfredworkflow
In case it fails, please share the debugging log for when it fails.

That fixed it!! Thank you for the quick fix!

Hello, when I updated to the latest version, this problem recurred.

INTERNAL WORKFLOW CONFIGURATION
Vault Path: /Users/zhuangzhu/Library/Mobile Documents/iCloud~md~obsidian/Documents/Md 文档
config folder: exists
Metadata JSONs: 4/4
metadata.json String Length: 746257
METADATA EXTRACTOR CONFIG
{"writingFrequency":"30","writeFilesOnLaunch":true}
WORKSPACE DATA
'workspace' exists
'workspace.json' exists
SYSTEM
macOS: 14.2.1
Alfred: 5.5
INSTALLED VERSION
Obsidian: 1.5.12
This Workflow: 4.4.2
Advanced URI Plugin: 1.40.0
Metadata Extractor: 1.1.0
LATEST VERSION
Obsidian: 1.5.12 (Insider: 1.5.12)
This Workflow: 4.4.2
Advanced URI Plugin: 1.40.1
Metadata Extractor: 1.1.0

@chrisgrieser

@chrisgrieser Thank you for your quick reply!😄,I just found out that it might be a problem with the latest version of Alfred (5.5), and when I went back to the previous version (5.1.4), the workflow worked well without folder problems. Let's see if Alfred has the same problem after another update🤔.


Crashing when visualizing odom message with large covariance values

Hello,
I am running kinetic and I am encountering crashes when trying to visualize odometry from kobuki/turtlebot.
Here is the crash message:

rviz: /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreAxisAlignedBox.h:252: void Ogre::AxisAlignedBox::setExtents(const Ogre::Vector3&, const Ogre::Vector3&): Assertion `(min.x <= max.x && min.y <= max.y && min.z <= max.z) && "The minimum corner of the box must be less than or equal to maximum corner"' failed.

It seems to be caused by  kobuki sending large covariance values like "1.7976931348623157e+308".
Here is an example of kubuki odom message:

I tried sending the same message but replacing these large values by 1 and Rviz doesn't crash anymore.
I also found a commit concerning a similar problem in rtbamap :
link to the commit
It was working before so there might be an update or a change in turtlebot driver that broke something . I would really appreciate if someone could look into this.
Thanks in advance,
PLK

I am also encountering this issue, with odom covariances reaching 1e+308.
Currently working around this issue by piping the odom (from the kobuki node) into another node, which limits the covariances.

Fixed via #1400, released into 1.13.4.

Thanks! So, what version of ROS do I need to have a fixed rviz?

Melodic. rviz 1.13.4 was synced on Monday, Sep. 30th.


Out of memory while browsing large repositories (pprof report attached)

Gitea Version
1.13.4
Git Version
2.34.1
Operating System
NetBSD 9.2
How are you running Gitea?

Gitea built via pkgsrc framework
Run on a virtual server (Xen) from NetBSD rc-Script

Database
SQLite
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Description
Hello all,
when browsing a larger repository (NetBSD sources, about 2.5 GB with very many subdirectories and small files) the memory used by Gitea increases continuously and rapidly until finally even the swap is not enough anymore and the system has to kill the process because of OOM.
The Gitea version I use is a bit older (1.13.4) since there is no newer one in pkgsrc.
Gitea is configured with Redis as cache and cache for last commits.
I found a similar ticket #753 on this topic, which was closed due to lack of contributors. I would like to follow up on this one by attaching a report from pprof showing the state of the heap memory after browsing a larger repository (only home page open and a few directories clicked). The report shows about 1292 MB of memory usage. However, on the system (NetBSD) the process shows a size of 2241 MB (RES) and 3722 MB (SIZE).
profile006.pdf
Meaning of SIZE in NetBSD: Total size of the process (text, data, and stack) given in kilobytes
Meaning of RES in NetBSD: Resident memory: current amount of process memory that resides in physical memory, given in kilobytes.
Can someone possibly help me here and clarify on which side there is a problem here? Obviously Gitea does not release  memory once allocated, but I can't explain the big differences between the report and the output of top. I also like to run more reports here, if that is useful for the cause research. And if the problem is already known and by chance already addressed in a newer release, I would of course also try to get an update with higher urgency. But at the moment I'm not quite sure if it's worth the effort or if I'm reaching a performance limit of Gitea that it's not built for?
I would be very happy to receive an answer.
Many greetings
Matthias
Screenshots
No response

There have been many many improvements since 1.13.4. Please upgrade to 1.15.x or even main and see if you can reproduce there.

Looking at your provided mem profile the issue appears to be related to memory use from earlier versions of go-git in those versions of gitea.
This has been addressed (or at least attempted to be addressed) in the many intervening changes between this 1.13.4 and 1.15.x.
$ git diff  --shortstat v1.15.9..v1.13.4                                                     [12:07:54]
 6766 files changed, 350744 insertions(+), 654174 deletions(-)
warning: exhaustive rename detection was skipped due to too many files.
warning: you may want to set your diff.renameLimit variable to at least 2140 and retry the command.

 $ git diff  --shortstat origin/release/v1.15..v1.13.4                                        [12:08:03]
 6767 files changed, 350906 insertions(+), 654787 deletions(-)
warning: exhaustive rename detection was skipped due to too many files.
warning: you may want to set your diff.renameLimit variable to at least 2140 and retry the command.

$ git diff  --shortstat main..v1.13.4                                                        [12:33:09]
 7714 files changed, 416025 insertions(+), 758405 deletions(-)
warning: exhaustive rename detection was skipped due to too many files.
warning: you may want to set your diff.renameLimit variable to at least 2754 and retry the command.

With such extensive changes in the codebase you just need to upgrade.
If you come to discord or use the matrix bridge #gitea:matrix.org and ask for help on how to compile gitea we would be glad to help you to compile and build a newer version but otherwise there's nothing we can.
Marking as wontfix as 1.13 is out of support.

Hello, thank you for the feedback and your assessment. You have definitely convinced me to try a new version. Maybe I can take this opportunity to contribute some updates for the pkgsrc right away and will give it a try :-) In any case, thanks again for taking the trouble to look at my memory dump anyway - I really appreciate it.


unable to install

After enabling execution,
and running Set-ExecutionPolicy RemoteSigned -scope CurrentUser
The following is output

Fixed. undid bloatware removeal and installer worked


The Font in the window of atom-script is not changeable

Hi,
I had changed the default font of the theme for all Atom windows, but only the font of atom-script's window has not changed. Why is so?
Thank's.

See #861

Thank's, it works!
But, I think, it is not KISS decision! (


playnite: use release version from github

As of version 8.12, the author is no longer distributing the updates through the main site. The latest version does include a github release, but the previous 2 don't and the original update url is still being used and will likely be more reliable, so I left that as-is.
See https://playnite.link/forum/thread-613-post-3925.html#pid3925

Came here after making a similar modification on my end, before creating a new pull request.
@mgziminsky already did the hard work.

Why did you remove Themes from persist again? Is there some reason you don't want that persisted?

Why did you remove Themes from persist again? Is there some reason you don't want that persisted?

I'm thinking these two entries are the reason, it's a different type of modification.
https://github.com/lukesampson/scoop-extras/issues/4919
https://github.com/lukesampson/scoop-extras/pull/5088
so discussion should be moved to those items.
Not sure I completely understand, but I think Ash258 (bless his soul, he probably deals with a lot of crap from us users of application he doesn't use) stated that some automated test failed, and he never received any feedback.


Enable prefer-replace-all

https://github.com/sindresorhus/eslint-plugin-unicorn/blob/master/docs/rules/prefer-replace-all.md
Currently holding due to questionable support in engines.

same goes for optional catch binding, for example. Maybe I should make a config for "modern" syntax or similar, that can coexist with the babel one?
I should also get a vanilla esmodule one going.


Jsconflicts

my preclass work before java, takes array of ingredients, searches by them, gets cocktail name for a random result and outputs it into the URL for the other API


Failed to load extension (Chrome 87)

After downloading the zip from the releases page and attempting to load the unpacked extension, I get the following error:
Could not load javascript 'dist/wildcard.js' for content script. Could not load manifest.

Thanks for the report! Could you try the following:

unzip the zip file
examine the unzipped directory. it should have two things in it: a manifest.json file and a dist directory
in "load unpacked", select the unzipped directory

and see if that works? Sorry, I know the docs are still messy and unclear, but hoping that that fixes things. Let me know if not!

Thanks for the report! Could you try the following:

unzip the zip file
examine the unzipped directory. it should have two things in it: a manifest.json file and a dist directory
in "load unpacked", select the unzipped directory

and see if that works? Sorry, I know the docs are still messy and unclear, but hoping that that fixes things. Let me know if not!

Just tried that, and I get the same error.

Just tried that, and I get the same error.

Gah, thanks for trying that out and sorry to hear that it's not working! I'm a bit puzzled because I've seen ~5 to 10 people manage to install successfully using this workflow, so there must be something different about your setup that's causing the issue.
To confirm, are you downloading from this link: https://github.com/geoffreylitt/wildcard/releases/download/v0.2.1/wildcard-v0.2.1.zip
Would you also mind telling me what OS you're on? It shouldn't make a difference because Chrome is Chrome, but might reveal something...


Increment version in master now that 1.11 is cut

This was addressed in the 1.12 PR: https://github.com/pachyderm/pachyderm/pull/5111/commits/959dbb0642583399758e4b881dfed227838cb108#diff-0b1649da9b588637da6a5311c4725f9f

Obsolete


Fix variable name in doc.

Fix a mismatched variable name in the "Sharing Extention Types"
documentation.

Thanks.

Cool.  Thanks a lot for merging this in.


multi batches spatial datasets

Hi,
I am using cell2location to deconvolution my single cell datasets. Now I have four spatial samples and I have concatenate them in one object. Can I run them together using
cell2location.models.Cell2location.setup_anndata(adata=adata, layers="counts",batch_key="sample") ?
In the tutorial its "cell2location.models.Cell2location.setup_anndata(adata=adata_vis, batch_key="sample")", but there are only one sample in adata_vis, so I wanna know if it supports more samples.

This is a duplicate


Support drawer direction

Is it possible to change drawer direction based on choosen language (LTR or RTL) ?

@alex-melnyk ??

@alex-melnyk thanks a lot 👍


java.util.Date should not be converted to spanner Date type

java.util.Date represents an instant in time, with millisecond precision, while Spanner Date represents a date without time.

java.util.Date represents an instant in time, with millisecond precision, while Spanner Date represents a date without time.

So, we have to use Timestamp as a column  in spanner Database and we are forced to use com.google.cloud.Date as a type in Entity if we want to put column type as Date. Please let me know if my understanding is correct.

LocalDateTime seems to be the perfect match for the Spanner DATE. Both are just dates with no timezone.

Thanks @meltsufin . I guess that makes sense.

@ayancancode You're absolutely right, I meant to say LocalDate.


qemu-vm: support TPM usecases

Description of changes
This (somewhat) large PR enables proper TPM support refactored inside the test driver and QEMU infrastructure.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

cc @baloo (while I have you) :).

Hi Ryan,
I just skimmed through the code. It feels like the TPM support that you just built would also be very very useful for everyone who wants to use it with the sole run-qemu-vm script without the test driver.
What do you think about also supporting those by making the whole TPM thing and daemon launching and socket preparation a part of the qemu VM bash script?
Just configuring this in the VM's NixOS configuration and then having it provided by the sole bash script would be very elegant and powerful.
This way we would have support for mentioned single-vm-without-test-driver scenarios, and we could drop all of the python code changes (Users just need to "find" the socket either by convention or adding additional parameters to the machine class so they reach the vm script, we can still streamline that when we have actual test that really use it).
What do you think?

Hi Ryan,
I just skimmed through the code. It feels like the TPM support that you just built would also be very very useful for everyone who wants to use it with the sole run-qemu-vm script without the test driver. What do you think about also supporting those by making the whole TPM thing and daemon launching and socket preparation a part of the qemu VM bash script? Just configuring this in the VM's NixOS configuration and then having it provided by the sole bash script would be very elegant and powerful.

Very good point. I will try to go for this change. :)
Thank you!

This way we would have support for mentioned single-vm-without-test-driver scenarios, and we could drop all of the python code changes (Users just need to "find" the socket either by convention or adding additional parameters to the machine class so they reach the vm script, we can still streamline that when we have actual test that really use it).
What do you think?

Ideally, I'd love to have it still "very automatic" like you can see it in the systemd credentials test for QEMU test infra, but I am okay with going incrementally on that!

Support for TPMs in a "normal" non-test VM would be awesome.

I've made it so that the implementation is entirely in qemu-vm.nix, and I've updated a couple more tests to use it.
Question at the moment: In my testing, qemu does reliably shut down the TPM itself. So I don't have any code to ensure the swtpm process is exited. Is this acceptable? Or do we need to do something about it?

I've made it so that the implementation is entirely in qemu-vm.nix, and I've updated a couple more tests to use it.
Question at the moment: In my testing, qemu does reliably shut down the TPM itself. So I don't have any code to ensure the swtpm process is exited. Is this acceptable? Or do we need to do something about it?

I think it's okay for now, I just hope swtpm cannot enter into an uninterruptible sleep mode or something.

@RaitoBezarius Actually, I realized a couple cases where we can't rely on that. 1) If our bash script fails before exec qemu, but this is fixable with trap ... EXIT. But if qemu fails to start after being exec'd, e.g. because it rejects the cmdline args, it probably won't shutdown swtpm.

I tested locally the 3 TPM2 tests, they are still passing and any non-TPM2 tests should still be passing with this, @ElvishJerricco do we have any blocker or concern over this PR?


Incorrect naming of AbstractCondition when using Negate

When creating a user-defined Condition using AbstractCondition as base class and using Negate(), the Name property is incorrectly named. All such Conditions are named "Not_Condition" which make them hard to separate in graphical listings. Bug is shown in the below test code.
Part of the solution can be to actually mirror the Name property of the inner Conditions when using AbstractCondition instead of keeping another instance of this string in _name.
using System;

namespace Gu.Reactive.Tests.Conditions
{
    using Gu.Reactive.Tests.Helpers;
    using NUnit.Framework;

    [TestFixture]
    public class AbstractConditionTests
    {
        [SetUp]
        public void Setup()
        {

        }

        [Test]
        public void Naming()
        {
            var fake = new Fake {IsTrue = false};
            var condition = new ConditionExpandsAbstract(
                                fake.ObservePropertyChanged(x => x.IsTrue));
            var notCondition = new ConditionExpandsAbstract(
                                fake.ObservePropertyChanged(x => x.IsTrue)).Negate();

            Assert.AreEqual("TestNameCondition", condition.Name);
            Assert.AreEqual("Not_TestNameCondition", notCondition.Name);
        }
    }

    internal class ConditionExpandsAbstract : AbstractCondition
    {
        public ConditionExpandsAbstract(IObservable<object> observable) : base(observable)
        {
            Name = "TestNameCondition";
        }

        protected override bool? Criteria()
        {
            return false;
        }
    }
}

Thank you for the issue!


Remove NORP from its original place once it has been raised up a level

Consider, "He is an American actor"
Now, the result would be, [actor, American actor, American].
We want, [actor, American].

Never mind. We might not want to lose the information that 'American' used to modify 'writer.' Closing issue.


"Duration" from a variable

I am struggling around with following issue:
I want to define the duration of the pages with a input_number.
I cannot get this work.
duration: "{{ states('input_number.divoom_duration') }}"
With the following code the value of the variable will be displayed:
- type: text
  content: "{{ states('input_number.divoom_duration') }}"
  font: five_pix
  position:
	- 1
	- 1

But as soon I enter the duration part the page will not be displayed
What I am doing wrong?

There is currently no template support for duration. The duration only supports integer for seconds.

It would be possible to add it, but it would act a bit strange. All I can think is that it would use the value of the template when the page first gets rendered. If the template changes during the time the page is displayed, it will be ignored.

I have 4 pages configured to display.
My thoughts are that I change the duration value in HA, when the last (4th) page is displayed and the first is the next again, the new value will be taken (for all pages).


Add reject keyword for promises and get promise state

To actually support cancelling promises that have "started execution" we would probably need to move from concurrent.Futures to asyncio.futures Tasks.
Documentation why we cannot cancel concurrent.Futures: https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.Future.cancel

We can re-open if we want to prioritize this in the future


Graph sidepanel colors for 4xx and 5xx too close, hard to distinguish

On the graph side panel the 4xx and 5xx colors are very difficult to distinguish from each other. I would think the 5xx would be red and the 4xx be orange or yellow.
Here is the image:

For tired eyes, this looks almost the same.

UxD approves orange for 4xx.

@mtho11  Thinking back I'm almost positive that we made this change on purpose, from orange.  Would you mind looking at the commit history and checking for when and why we may have selected the current colors?

@jshaughn does this ring a bell?
   { name: '4xx', x: 'rate', y: percent4xx, color: colorVals.DangerBackground }, // 4xx is also an error use close but distinct color
The core of the issue is that the colors of the two Reds are indistinguishable from each other. So maybe there is a good reason for not using Orange for 4xx since it is counted as an error as well. But some other treatment like a masked Red or cross-hatching should be used  instead of the current DangerBackground

We can revisit this again at the UxD meeting Tuesday.

@mtho11 Right, that's what I was referring to.  We made a concious decision there and so we just need to be careful not to start a loop.

Just realized that --pf-global--palette--red-300 is also 7d1007 ... @mtho11 let's try
4xx ... --pf-global--palette--red-100 (#C9190B) {this is the same as the danger CSS variable, but may be safer in case they change the danger variables}
5xx ... --pf-global--palette--red-200 (#A30000)
Here's what they look like next to eachother:


pipx installs new

As the below shows, when installing with pipx, it will install "new" as an app instead of "create-mountaineer-app"
(base) cj@desktop:~/code/mountaineer$ python -m pipx install create-mountaineer-app
  installed package create-mountaineer-app 0.1.3, installed using Python 3.12.2
  These apps are now globally available
    - new
done! ✨ 🌟 ✨
(base) cj@desktop:~/code/mountaineer$ which new
/home/cj/.local/bin/new
(base) cj@desktop:~/code/mountaineer$ cat $(which new)
#!/home/cj/.local/pipx/venvs/create-mountaineer-app/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from create_mountaineer_app.cli import main
if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
    sys.exit(main())
(base) cj@desktop:~/code/mountaineer$

Thanks for reporting @CJHarmath. I've always run pipx to create a short lived environment, so never inspected the mounted bin files. Addressed this fix in https://github.com/piercefreeman/mountaineer/pull/45.

you are super fast! thank you!
I am keen to test this awesome project out!


Fix/ocp411

Summary
Fix several problems with running tests on OCP:

Backport of consul fix by @pjgg
Use http instead of grpc for oltp tracing
Make the tests use the latest version of Quarkus 2.7(2.7.6)

Please check the relevant options

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Dependency update
[ ] Refactoring
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] This change requires a documentation update
[x] This change requires execution against OCP (use run tests phrase in comment)

Checklist:

[ ] Example scenarios has been updated / added
[x] Methods and classes used in PR scenarios are meaningful
[x] Commits are well encapsulated and follow the best practices

run tests

run tests


react: i18next not implemented in repository

Package version (if known): v8
Describe the bug
if the latest search-ui is used other than app-rdm - this will through an error: https://github.com/inveniosoftware/invenio-search-ui/pull/127/files -  dont think we have implemented the i18next for this repo? right?

Proposed Solution

add the i18next workflow for this repo
mark/extract and push the files to the transifex
replace the mentioned above link import with corresponding repo import.


Upgrade notification (dashboard/home) is not translated

Issue Summary
Upgrade notification is not translated
Steps to Reproduce

Change your admin user language to non-english
Be on an older version of Wagtail
Sign in as an admin user
Observe the admin upgrade notification
Expected - it should match the user's language
Actual - it is still in English

Any other relevant information. We may no consider this a bug or we may not have addressed it as the translation would contain a lot of HTML.

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: (no)

Technical details
https://github.com/wagtail/wagtail/blob/33552136559f1d6b33950858e8bd89364087240c/wagtail/admin/templates/wagtailadmin/home/upgrade_notification.html#L4

I would like to give this one a shot if it is not in the works yet

Go for it.
I have a potential fix in a different PR I am working on.
See this file.
https://github.com/lb-/wagtail/blob/f6be7dc8ed40f5f39c29d9ec4d1410921a3e57e3/wagtail/admin/templates/wagtailadmin/home/upgrade_notification.html
You could use that code (but without the data attribute changes)
Hope that makes sense.
Note - to test this out is a bit tricky - you will either have to get a browser extension to fake a different response or temporarily change the version template tag to return something like '2.0'.

@rme7  sorry for the confusion but some other PRs were working on the same area of code so it made sense to fix this issue up as part of that.
Let us know if you are still keen to pick up something for a Wagtail PR.


Update KIDS file and add tag

Add a new KIDS file which includes the updates to the testing routines from the previous pull request.

Hey Joe,
I don't think the tag got pushed. Did you do push --tags?
--Sam
On Mon, Jun 15, 2015 at 1:13 PM, Joseph Snyder<EMAIL_ADDRESS>wrote:

Add a new KIDS file which includes the updates to the testing routines
from the previous pull request.
You can view, comment on, or merge this pull request online at:
https://github.com/shabiel/VISTA-xml-processing-utilities/pull/5
Commit Summary

Update KIDS file and add tag

File Changes

A kids/XML_PROCESSING_UTILITIES_2P4.KID
https://github.com/shabiel/VISTA-xml-processing-utilities/pull/5/files#diff-0
(7122)
M routines/MXMLBLD.m
https://github.com/shabiel/VISTA-xml-processing-utilities/pull/5/files#diff-1
(2)
M routines/MXMLDOM.m
https://github.com/shabiel/VISTA-xml-processing-utilities/pull/5/files#diff-2
(2)
M routines/MXMLDOMT.m
https://github.com/shabiel/VISTA-xml-processing-utilities/pull/5/files#diff-3
(2)
M routines/MXMLPATH.m
https://github.com/shabiel/VISTA-xml-processing-utilities/pull/5/files#diff-4
(2)
M routines/MXMLPATT.m
https://github.com/shabiel/VISTA-xml-processing-utilities/pull/5/files#diff-5
(2)
M routines/MXMLPRS0.m
https://github.com/shabiel/VISTA-xml-processing-utilities/pull/5/files#diff-6
(2)
M routines/MXMLPRS1.m
https://github.com/shabiel/VISTA-xml-processing-utilities/pull/5/files#diff-7
(2)
M routines/MXMLPRSE.m
https://github.com/shabiel/VISTA-xml-processing-utilities/pull/5/files#diff-8
(2)
M routines/MXMLTEST.m
https://github.com/shabiel/VISTA-xml-processing-utilities/pull/5/files#diff-9
(2)
M routines/MXMLTMP1.m
https://github.com/shabiel/VISTA-xml-processing-utilities/pull/5/files#diff-10
(2)
M routines/MXMLTMPL.m
https://github.com/shabiel/VISTA-xml-processing-utilities/pull/5/files#diff-11
(2)
M routines/MXMLTMPT.m
https://github.com/shabiel/VISTA-xml-processing-utilities/pull/5/files#diff-12
(2)
M routines/MXMLUTL.m
https://github.com/shabiel/VISTA-xml-processing-utilities/pull/5/files#diff-13
(2)

Patch Links:

https://github.com/shabiel/VISTA-xml-processing-utilities/pull/5.patch

https://github.com/shabiel/VISTA-xml-processing-utilities/pull/5.diff

—
Reply to this email directly or view it on GitHub
https://github.com/shabiel/VISTA-xml-processing-utilities/pull/5.

--
Sam Habiel, Pharm.D.
VISTA Expertise Network

Not at the time.  I didn't realize it was a separate flag on the push.  It is there now, but I don't know how to push just the tag in a request.

Hmm... I will go ahead and do it in the web interface.
k done.
https://github.com/shabiel/VISTA-xml-processing-utilities/releases/tag/2.4
--Sam
On Mon, Jun 15, 2015 at 1:45 PM, Joseph Snyder<EMAIL_ADDRESS>wrote:

Not at the time. I didn't realize it was a separate flag on the push. It
is there now, but I don't know how to push just the tag in a request.
—
Reply to this email directly or view it on GitHub
https://github.com/shabiel/VISTA-xml-processing-utilities/pull/5#issuecomment-112205431
.

--
Sam Habiel, Pharm.D.
VISTA Expertise Network


Suggested adapter configuration for transformers with pre-layer normalization

What is suggested adapter configuration for transformers with pre-layer normalization? I mean where to keep Layer-normalization within adapters?
Thanks

Hi Vasudev,
Could you explain a bit more what you are trying to do?
I am not sure what exactly you mean with "pre-layer normalization".

I was trying to fine-tune mbart using language specific adapters. So for that I was writing my own adapters for bart.
What I meant by Pre-layer normalization is adding layer-normalization before the Feed-forward network and Multi-head attention layer instead of having just like we had in original transformer.
In this scenario, where should I apply layer normalization within adapter? Any suggestions.


Check that a class correctly implements its interfaces

Fixes #940

@j0shuams correctly pointed out that this is raising an error in the CustomButton test. When the method implementation isn't coming from the class directly, but from one of its base types, the current algorithm still returns null. Will work on this a bit more.


Accessibility: results and suggestions not being read by screen reader in flow launcher

ℹ Computer information

PowerToys version: 0.21.1
PowerToy Utility: Flow Launcher
Running PowerToys as Admin: No
Windows build number: [run "winver"] Version 2004 (OS Build 19041.508)

📝 Provide detailed reproduction steps (if any)

With the NVDA screen reader running, press the keyboard command, like Alt + Space, to open the flow launcher.
Type ~2*4~.

✔ Expected result
The screen reader should report the result, or suggestions, of typed text. In this case, the screen reader should read speak "8".
❌ Actual result
The screen reader reads none of the output. One can use the arrow keys to change the input, but that's it.
📷 Screenshots
No screenshots necessary.

@saahmedm I put this in the 2010 milestone since this is pretty fundamental for accessibility.

This should probably work exactly as Start menu does.

@devinprater We made several fixes in this space in 0.23. I'm unable to reproduce the behavior mentioned on the new release, can you check if it works as expected for you?

This will depend on the fixing of this issue, because I really don't want to even try to reconfigure the current command to launch the launcher, currently set to Control + Alt + Delete, so it doesn't work.

@devinprater we have a fix for #6110 but that won't be in until 0.25 is release end of month.

hi @devinprater, we think we've fixed this with our accessibility fixes and @arjunbalgovind was unable to repro. Please do checkout when 0.25 is released and let us know if you're still facing this

I will when the issue of binding keys trapping screen readers in that dialog is fixed, as the current key for me to launch the launcher is Control + Alt + Delete, which will not work.

@devinprater the trap has been fixed in 0.25 in settings.

Okay, I thought I'd replied to this but it works great now, thanks so much for the fix.


Add album type 'EP'

Spotify seemingly added the album type "EP" which crashes librespot when attempting to load album metadata for such an album (spotify:album:5UlvhrjweEYAHFvwyzuV6U for example).

Thanks !

Now that's what I call efficient :)

Yeah sorry... forgot to recalc the checksums after fixing the indentation.


logging interface

implementing logging interface fixing https://github.com/rainyl/opencv_dart/issues/173
sync and async interfaces and test cases

i dont think getLogTagLevel or stuff related to tags is needed, but will leave it since it may be needed in specific use cases that i dont know

Actually I think it's not necessary to add async version, getting and setting log level are fast enough. In my test, allocate and free memories have extra cost that will damage the performance.

Actually I think it's not necessary to add async version, getting and setting log level are fast enough. In my test, allocate and free memories have extra cost that will damage the performance.

i thought that too, but i saw openCvVersionAsync so i followed it to match the sync async for all

well well here i go will delete the async for logging and the version stuff

done, but i think test will fail again.

done, but i think test will fail again.

Ok, I will test and fix it.

@abdelaziz-mahdy
I don't know why too, maybe the tag is not actually registered or available between different calls.
https://github.com/opencv/opencv/blob/eab21b61067385515c77783608f8c374bfe131c6/modules/core/src/logger.cpp#L146-L167
I searched in the repo of opencv and it seems the two API are not actually used. So, I think it's fine to remove setLogTagLevel and getLogTagLevel.

done, i think we can merge after ci is successful

@abdelaziz-mahdy Merged, thanks for your contribution!


Uncaught TypeError: Cannot read property 'queue' of undefined @Initialization.ts:106

This TypeError shows for a website that has two App Insights instances both using the JavaScript snippet set-up.  The website uses both version 1.0 and 2.0 for different uses.

If I am not able to upgrade the version 1.0 App Insights instance, is there a way to solve this?
Thanks,
Eric

I believe this is because the 1.0 & 2.0 snippet setup scripts are writing to the same window variable (both use window.appInsights). You can now modify this in the 2.0 snippet at the very beginning of it
var sdkInstance="appInsightsSDK";window[sdkInstance]="appInsights"

change this to something like
var sdkInstance="someInstanceName";window[sdkInstance]="someWindowName"

Hi Mark,
Thanks for helping me with this issue.  I tried your solution, but there seems to be another issue where changing the sdkInstance name causes the window[sdkInstance] to not have all functionality attached.

I remember v1.0's appInsights loading script attached properties specifically to window.appInsights.  Is v2.0 doing a similar thing?

@eyang414 My mistake. You only need to change the 2nd string var. You should not change the 1st
var sdkInstance="appInsightsSDK";window[sdkInstance]="someWindowName"

@markwolff  This error has been happening with the 2nd string var being set to something custom.

@markwolff  Hi Mark, any updates on this issue?

It seems like it is a bug. I will likely look into it by next week

The cause of this is the rollup config has an output name of "Microsoft.ApplicationInsights" which conflicts with the legacy version's name. A fix will go out for the next patch release
https://github.com/microsoft/ApplicationInsights-JS/blob/master/vNext/AISKU/rollup.config.js#L20

I got the same error when trying to setup my AppInsights scripts on Dynamics365.
I tried to update the 2nd string in the window[sdkInstance] but no luck.
Any workaround?
The code I used:
`var sdkInstance = "appInsightsSDK"; window[sdkInstance] = "someWindowName"; var aiName = window[sdkInstance], aisdk = window[aiName] || function (e) {
function n(e) { t[e] = function () { var n = arguments; t.queue.push(function () { t[e].apply(t, n) }) } } var t = { config: e }; t.initialize = !0; var i = document, a = window; setTimeout(function () { var n = i.createElement("script"); n.src = e.url || "https://az416426.vo.msecnd.net/next/ai.2.min.js", i.getElementsByTagName("script")[0].parentNode.appendChild(n) }); try { t.cookie = i.cookie } catch (e) { } t.queue = [], t.version = 2; for (var r = ["Event", "PageView", "Exception", "Trace", "DependencyData", "Metric", "PageViewPerformance"]; r.length;)n("track" + r.pop()); n("startTrackPage"), n("stopTrackPage"); var s = "Track" + r[0]; if (n("start" + s), n("stop" + s), n("setAuthenticatedUserContext"), n("clearAuthenticatedUserContext"), n("flush"), !(!0 === e.disableExceptionTracking || e.extensionConfig && e.extensionConfig.ApplicationInsightsAnalytics && !0 === e.extensionConfig.ApplicationInsightsAnalytics.disableExceptionTracking)) { n("" + (r = "onerror")); var o = a[r]; a[r] = function (e, n, i, a, s) { var c = o && o(e, n, i, a, s); return !0 !== c && t["" + r]({ message: e, url: n, lineNumber: i, columnNumber: a, error: s }), c }, e.autoExceptionInstrumented = !0 } return t
}({
instrumentationKey: ""
});
window[aiName] = aisdk, aisdk.queue && 0 === aisdk.queue.length && aisdk.trackPageView({});`

We have updated the snippet version to be able to handle multiple "named" instances as well as configuration that allow you to set the sdkInstance name -- see the readme for the updated details or the snippet code (full and minifed here)
https://github.com/microsoft/ApplicationInsights-JS/tree/master/AISKU/snippet


Hi, I am getting this issu,RuntimeError: Cannot share client between multiple processes

config file:
defaults:
ttl: 1800
readonly: false
urlencode: false
c_threshold: 10000
compression: true
debug: false
namespace: ""
sessions: true
fragments: true
memory: 128
servers:
- my-test-server:11211
benchmarking: true
raise_errors: true
fast_hash: false
fastest_hash: false
error:
my-test-server:11211 failed (count: 0) RuntimeError: Cannot share client between multiple processes
<Dalli::NetworkError: Socket operation failed, retrying...>
retrying request with new server
Dalli::Server#connect my-test-server:11211
I have two nodes of AWS elastic cache server, when multiple users hit the same cache.
Am i missing some configs, please help.
Thanks in advance.

It seems that the error message people are seeing (and I'm seeing it too) is misleading. I'm getting
this error message:
localhost:11211 failed (count: 0) RuntimeError: Cannot share client between multiple processes

Reading the code, it appears to be the fix for issue #208 in action: it detects the fork, prints this intimidating message, and then proceeds to reconnect. My app appears to work fine, but I never got to check that, because I first wanted to fix this error.
My concern is twofold. First, if the message is just a warning that Dalli is re-opening the socket because it detected a fork(), it should probably be reworded to something like "fork detected, re-connecting to memcached to avoid mixing data streams".
Second, the mechanism counts toward the socket_max_failures counter, which I'm not sure is correct, as one is now one brief hickup away from not connecting at all with the default socket_max_failures.

agree with @driehuis that the message is misleading.

After stumbling upon this error message myself, I implemented @driehuis's suggestions in PR #556. @mperham could you comment on whether this seems like a good way to avoid future confusion on this issue?

@wjordan I'm the current Dalli maintainer.  To answer your question, I think the PR looks good.  Just waiting for tests to go green.

Could we get this message changed?


Attempted import error: 'ThemeProvider' is not exported from '@material-ui/core/styles'.

All the ThemeProvider examples have the following import:
import { ThemeProvider } from "@material-ui/core/styles";
eg.  https://material-ui.com/styles/advanced/
However this gives the error in the title, and when looking through the node_modules package I see that ThemeProvider is exported from @material-ui/styles, not @material-ui/core/styles.

This is a bug report. The bug is in the documentation as described by @adamerose

import { ThemeProvider } from '@material-ui/styles';

import { ThemeProvider } from '@material-ui/styles';

This worked for me

but in docs it is given like this
import { ThemeProvider } from '@material-ui/core/styles';


Segmentation fault in Ubuntu

I have installed btcdeb on an Ubuntu VM but am having trouble working with the program. Here is what I type/get:
$ btcdeb 0x515293
btcdeb -- type btcdeb -h for start up options
valid script
3 op script loaded. type help for usage information
script  |  stack
--------+--------
1       |
2       |
OP_ADD  |
#0001 1
btcdeb> step
Segmentation fault (core dumped)
Could I possibly be doing something wrong?

I installed libssl-dev and recompiled and now it works!
Thank you! Great utility :-)

Huh! The build process should be more helpful there for sure. I'm gonna reopen this and see if I can make it more intelligent.

I can't reproduce this problem on my side. Closing until someone else brings it up!


WIP: Use upcalls for malloc/exdata

An upcall is when a provider calls up (back) to the core for some
functionality.  This commit adds the ex_data and malloc.

This shows how we can add whatever the FIPS module needs by calling back to the core for various services. It avoids having to include ex_data, crypto_malloc, secure_malloc, etc., in the provider, which means that complex initialization interactions between modules and the core aren't necessary and things like adding ex_data into a module aren't needed either.
IT's a WIP because I didn't make the FIPS module actually link, and I didn't add the dozen function typedef's in a public place.  Thoughts on where to do the latter?

This allows us to have a common memory allocation scheme, configurable via libcrpyto. I have written enhancements to memory tracking, protection, etc. but have not pushed them up because I feared that FIPS would use a different memory allocator, and cause issues with how memory is allocated/freed/shared between modules.

This also allows the application to set policy (secure_memory or not, key storage size in that), and keeps things much simpler for Windows where different DLL's have different heaps.
BTW, based on Q&A on the FIPS sponsors list, this approach is completely valid.

There are other aspects that make this is a bad idea. For example, there environnements where it is desirable to keep provider objects in provider controlled memory.

I'd be ok with a guarantee that module memory is only freed by the module.
But this has benefits for applications which want to provide their own memory management, and/or track memory better. This is a very common scenario.

A provider isn't forced to use these callbacks for memory allocation.  It is perfectly entitled to do its own thing.  An HSM e.g. will allocate key material internally.
This is why it is critical that allocated memory should only be freed by the party that allocated it.

I'd be ok with a guarantee that module memory is only freed by the module.

What do you mean by "module memory"? If the memory allocator is an upcall to libcrypto or the application, then it's potentially not "module memory" being allocated (on windows for example)

I am broadly ok with the memory stuff. In fact I had been thinking largely along the same lines. In particular it does make sense to me to provide services for secure memory, and cleansing of memory. This is the sort of low level service that makes sense to implement as an upcall. It is likely to be widely useful to provider authors and probably meets @t-j-h's statement on openssl-project where he said "The safest approach is to limit to OS like services". I think this memory management stuff could be described as an OS like service (although it would be good to get an opinion from @t-j-h on this).
I am strongly opposed to the ex_data stuff being implemented this way. I think this just opens a whole new can of worms that we really don't want to do. Creating the index on the libcrypto side means that new, dup and free calls that the provider registers are held on the libcrypto side of the boundary. Those callbacks are likely to call memory management functions which might be implemented purely provider side, or possibly partially provider side with upcalls back to the libcrypto mem management functions. This means every time we interact with ex_data we could end up crossing the module boundary multiple times. I also suspect that registering these things on the libcrypto side will mean that you will need to move a number of the other ex_data calls into upcalls in order to get this to work (probably at least any of the functions that call "get_and_lock" at the moment). This will result in some very complex interactions between libcrypto and the provider. I think it is difficult to justify the ex_data stuff as an "OS like service" and even if we could trying to explain this and present that justification in a clear way is going to be very hard. The ex_data thing really is quite an OpenSSL specific thing and I think it is unlikely to be generally useful to provider authors which further steers me to keep it out of the public libcrypto<->provider interface.

I think you are confused about exdata.  An RSA_free will destroy the exdata stuff and walk through all the "delete" handlers.  It doesn't matter if that handler is in the module or in the core. Removing a DLL module while there are still RSA objects tied to it is an application error. @mattcaswell does this make things more clear?
@levitte what other objections do you have?  Is your memory concern addressed, such as by @paulidale 's comment?

I think you are confused about exdata. An RSA_free will destroy the exdata stuff and walk through all the "delete" handlers. It doesn't matter if that handler is in the module or in the core. Removing a DLL module while there are still RSA objects tied to it is an application error. @mattcaswell does this make things more clear?

No it doesn't - not at all. By centralising ex_data handling in libcrypto you are merging all the provider indexes and the libcrypto indexes in one place. That means that libcrypto is going to have to be in control of all ex_data handling.
Imagine a provider side object that has associated ex_data. In order to free that object you start on the provider side (because its a provider side object). You then have to free the ex_data so you have to cross the boundary to the libcrypto side to lookup the delete handler. The delete handler will be a function pointer to code back on the provider side so you have to cross the boundary again to invoke it. That delete handler will probably want to free data so it crosses the module boundary a third time in order to invoke the upcall for CRYPTO_free. In my mind crossing the boundary 3 times for a simple free operation is unnecessarily complex and muddies the distinction between provider side responsibilities and libcrypto side responsibilities. This is purely an OpenSSL problem (third party provider authors are unlikely to be using ex_data).
Objects that use ex_data on the provider side are liable to be fundamentally linked to crypto operations. It certainly isn't clear to me that such usage of ex_data would not "alter the algorithm handling" (quote from @t-j-h on openssl-project). I think it is a difficult and dangerous path to attempt to claim that it doesn't.

@mattcaswell  Memory allocation and deallocation are considered an OS-like service in the context I was noting. I agree that a cautious approach is this area is appropriate as it is not black-and-white context.
I would leave ex-data handling out of this as it makes the clear separation argument more challenging as it is an extensions interface for specific objects (in how we use it).
I also conceptually think of the management of specific objects allocated by a provider as private to the provider. We have mechanisms for moving data to/from the provider in a portable/transparent manner and everything else is an opaque handle.

@mattcaswell I don't understand your concern about boundary-crossing: it's a function call, not a user/kernel system call, and in this PR it's an indirect function call -- big deal.  No context switch. In my view, it's exactly the same kind of thing as having a method structure (which can be FIPS or not FIPS) and functions in that structure. I don't know why you see this as different.
The exdata functions in core are nothing more than keeping a table of function pointers globally and then specific objects.  It's just housekeeping.  Yes, it is possible for an application to "look inside" the memory (by iterating over exdata) and do bad things, but that means the application is outside the scope of FIPS compliance, just as if it makes /dev/random be a flag file that returns known contents.

What do you mean by "module memory"? If the memory allocator is an upcall to libcrypto or the application, then it's potentially not "module memory" being allocated (on windows for example)

Memory allocated by the provider's malloc is only freed by the provider's free. I don't want to get into a situation where the memory is allocated and freed by two different implementations.

What do you mean by "module memory"? If the memory allocator is an upcall to libcrypto or the application, then it's potentially not "module memory" being allocated (on windows for example)

Memory allocated by the provider's malloc is only freed by the provider's free. I don't want to get into a situation where the memory is allocated and freed by two different implementations.

Ok, that's not quite what I mean...  it's been mentioned more than once that Windows DLLs have a separate heap, right?  But if a provider module allocates memory via upcalls to libcrypto, the objects will end up in application or libcrypto heap, not in the provider's heap.  This may be undesirable (there are environments where this sort of separation of heaps is even more important)

I don't understand your concern about boundary-crossing:

I see several problems:

Separation of concerns: this introduced unnecessary inter-dependencies between the module code and libcrypto
Unnecessarily adds to the public interface. It is likely that the only consumer of this will be the FIPS module. Any other provider will either not use ex_data at all or will link directly with libcrypto.
It unnecessarily confuses the definition of the module boundary into something quite simple to understand to something more complex
I see no benefit to adding this interface. The only advantage I can think of is that it ever so slightly decreases the module size. I don't think module size is something we are currently concerned about.

Ok, that's not quite what I mean... it's been mentioned more than once that Windows DLLs have a separate heap, right? But if a provider module allocates memory via upcalls to libcrypto, the objects will end up in application or libcrypto heap, not in the provider's heap. This may be undesirable (there are environments where this sort of separation of heaps is even more important)

I want separation of the memory; or unity. I don't want something where the OpenSSL core frees memory that the OpenSSL FIPS module allocates, and vice-versa. This prevents something like PR #8862 (that I just pushed) from working.

I want separation of the memory; or unity. I don't want something where the OpenSSL core frees memory that the OpenSSL FIPS module allocates, and vice-versa. This prevents something like PR #8862 (that I just pushed) from working.

I don't see how the use of upcalls provides separation.  As for avoiding OpenSSL core from freeing provider allocated memory, isn't that just a question of discipline, i.e do not deallocate provider data directly from libcrypto?

I don't see how the use of upcalls provides separation. As for avoiding OpenSSL core from freeing provider allocated memory, isn't that just a question of discipline, i.e do not deallocate provider data directly from libcrypto?

I said "or unity". Upcalls provide unity. No upcalls and some sort of memory protection (e.g. PR #8862) provide separation. I want one or the other. I don't want a mix, and I want to prevent someone (app developer or provider developer) from screwing up.

A provider should release all its resources when unloaded. If it does that via upcalls to CRYPTO_secure_free, that's great. If it does that via releasing handles on an HSM that's great. If it does that via per-DLL-heap-free that's great.
Providing the upcall hooks allows all three to happen as @paulidale has pointed out.  Not providing them limits what can be done.  The alternative is to import all the crypto/mem*.c files into the FIPS provider -- is that what you want?
As @t-j-h has pointed out, memory allocation is a system service and the core should provide that to a crypto module if it choose to use them.

The alternative is to import all the crypto/mem*.c files into the FIPS provider -- is that what you want?

I'm not sure I see an issue with that, especially considering:
https://github.com/openssl/openssl/blob/0c4e984de28b1477e002766b2751576f5c6c47d6/crypto/build.info#L24-L26

Closing in favor of #8862 and because the exdata issue is being discussed in #8863


WIP Spike/deploy build backfill

Updated the backfill process to include Deployments and Builds.
Reused most of the existing transform code from the webhooks.
Actions read permissions is a new permission requirement
Successful example

If the Org has not accepted the new permissions we will display a warning triangle with a popup on hover with the following copy.

@joshkay10 don't forget to change the countSyncedReposFromSubscription in RepoSyncState with your new statuses :)

@joshkay10 don't forget to change the countSyncedReposFromSubscription in RepoSyncState with your new statuses :)


Doesn't make Visual Studio Code transparent

On Windows 11 22H2 Build 22621.2715 with Visual Studio Code version 1.84.2, and installed the GlassIt-VSC extension.
But when I tried to use the shortcuts Ctrl + Alt + Z and Ctrl + Alt + C, nothing initially happened. I tried changing the glassit.alpha value to 25, no transparency. I even tried uninstalling Visual Studio Code and reinstalling it, and uninstalled all other extensions except for GlassIt-VSC, nothing happened, again. I checked what used the Ctrl + Alt + Z and the Ctrl + Alt + C extensions, only the GlassIt-VSC extension. I literally gave up for another two months, and tried again, nothing happened, and I was left confused.
This is probably uncommon to happen, but it happened somehow.
If needed, here's the list of my extensions installed on Visual Studio Code:
.NET Install Tool
Atom One Dark Theme
C/C++
C/C++ Extension Pack
C/C++ Themes
C#
C# Dev Kit
Code Runner
CodeSnap
Debugger for Java
DotENV
Error Lens
Extension Pack for Java
GlassIt-VSC
HTML CSS Support
HTML to CSS autocompletion
IntelliCode
IntelliCode API Usage Examples
IntelliCode for C# Dev Kit
JavaScript (ES6) code snippets
Language Support for Java(TM) by Red Hat
Live Preview
Live Server
Makefile Tools
Material Icon Theme
Material Theme Icons
Maven for Java
One Dark Pro
Prettier - Code formatter
Processing Language
Project Manager for Java
Pylance
Python
Test Runner for Java
Tokyo Night
vscode-icons
WSL

Theme: One Dark Pro Flat

I'm unsure why this didn't work and would appreciate any insights or solutions to fix this issue.

I am getting the same issue...

Same issue...

I am using Linux Ubuntu and i3WM. I have to reload the window and reload the window or switch back and forth to another one to get the updates

After messing around for a while, it works now. Closing this issue now.


Add a Codacy badge to README.md

Pull Request Test Coverage Report for Build 13

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.592%

Totals

Change from base Build 12:
0.0%

Covered Lines:
140

Relevant Lines:
142

💛  - Coveralls


Can "useImmutableImage" be relaxed for pulling the OneAgent?

From what I could figure out, the useImmutableImage flag is used to pull both the dynatrace operator and the oneagent images from a private Docker registry with an optional custom pull secret. I wonder if it makes sense to allow this optionally only for the operator image and relax the constraint for the oneagent image.
If the useImmutableImage is not set, the operator tries to pull the image from Docker Hub - wouldn't it make sense to pull directly from the Dynatrace environment instead?

The useImmutableImage field is not used for the dynatrace operator image but just for the OneAgent.
Here you can find additional information on the difference between the immutable and the lightweight image:
https://www.dynatrace.com/support/help/setup-and-configuration/setup-on-container-platforms/kubernetes/store-dynatrace-images-in-private-registries-kubernetes/#tabgroup-installer-modes--use-an-immutable-oneagent-image


Release: integrate from release to dev

[x] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[x] I adhere to the Command Guidelines.

Pushed  to upstream


[BUG] Hiding buttons with conditionals. Uncaught TypeError: Cannot read property 'loading' of null

Environment

Hosting type

[] Form.io
[x] Local deployment

Version:

Formio.js version: ^3.25.3
React-formio version: ^4.0.0-rc.10
Frontend framework: React ^16.8.6
Browser: Chrome

Steps to Reproduce

Create a form
Add fields including a radio button
Add a button, and set the conditional that when a certain value of a radio button, the button will show

Expected behavior
-Shouldn't have any errors or delay in changing values.
Observed behavior

When changing other field values, there are delays. Console log displays

Uncaught TypeError: Cannot read property 'loading' of null
    at ButtonComponent.setLoading (Component.js:2199)

Example

@kentferolino
This should be resolved in the latest 4x renderer. Please let us know otherwise.


log get file line number by default

Currrent either a way to using format to log or prints any usable information such as line number..

The log format is fixed (and includes the file / line number) unless you override the formatter. Are you asking how to change the format so it doesn't include the line numbers?
Examples of logs: https://github.com/abseil/abseil-py/blob/62b0407d5e6cd3912d2c7d130cffdf6613018260/absl/logging/tests/logging_functional_test.py#L56-L69

Simply python script does not print anything, why?:
[10:44:27] fagjin:~ $ python a.py
[10:44:29] fagjin:~ $ cat a.py
from absl import logging as logger

a = 3434
logger.info('{}'.format(a))

I am really confusing right now:
from absl import logging as logger
import logging

fmt = '[%(levelname)s %(asctime)s %(filename)s:%(lineno)s] %(message)s'
formatter = logging.Formatter(fmt)

logger.get_absl_handler().setFormatter(formatter)
logger.set_verbosity('debug')

a = 3434
logger.info('{}'.format(a))

Doesn't applied format...........

Re https://github.com/abseil/abseil-py/issues/124#issuecomment-560974099:
The verbosity of logs before flags are parsed (via absl.app.run(main)) is WARNING, so only WARNING/ERROR/CRITICAL logs are logged. After absl.app.run(main), the verbosity is INFO. Example:
$ cat t.py
from absl import app
from absl import logging
# Logging before flags are parsed (or app.run is called)
logging.info("info before")
logging.warning("warning before")
def main(argv):
    del argv  # Unused.
    # Logging after flags are parsed from app.run(main)
    logging.info("info after")
    logging.warning("warning after")
if __name__ == "__main__":
    app.run(main)
$ python t.py
WARNING:absl:warning before
I1202 20:37:36.482917<PHONE_NUMBER> t.py:13] info after
W1202 20:37:36.483098<PHONE_NUMBER> t.py:14] warning after

Re https://github.com/abseil/abseil-py/issues/124#issuecomment-560975474:
Again, this must be done inside the main function, otherwise the format always defaults to the standard logging module:
$ cat t.py
import logging
from absl import app
from absl import logging as logger
def main(argv):
    del argv  # Unused.
    fmt = "[%(levelname)s %(asctime)s %(filename)s:%(lineno)s] %(message)s"
    formatter = logging.Formatter(fmt)
    logger.get_absl_handler().setFormatter(formatter)
    logger.set_verbosity("debug")
    a = 3434
    logger.info("{}".format(a))
if __name__ == "__main__":
    app.run(main)
$ python t.py
[INFO 2019-12-02 20:40:29,394 t.py:15] 3434


add nl2br option for textarea column

WHY
BEFORE - What was wrong? What was happening before this PR?
I missed multiple times a simpler way to break lines of a textarea content
AFTER - What is happening after this PR?
Now, if you have a textarea column, you can set the option 'nl2br' => true to do so. Like
[
    'name' => 'message',
    'type' => 'textarea',
    'escaped' => false,
    'nl2br' => true
]

HOW
How did you achieve that, in technical terms?
Added if clause in the column text generation
Is it a breaking change?
No
How can we test the before & after?
Change the nl2br (boolean) option on a textarea column

Hello @nikolai-nikolajevic
Thanks for the PR. I am a bit concerned in adding nl2br support to this column. If you look at issues mentioned in https://www.php.net/manual/en/function.nl2br.php you will see that there are many caveats to using it.
If you still want to use it, you can do it without adding this method to backpack:
[
    'name' => 'message',
    'type' => 'textarea',
    'escaped' => false,
    'value' => function($entry) {
        return nl2br($entry->message);
   }
]

I will be closing this one, sorry it didn't get merged.
Don't let this stop you form sending more PR's, but if you want to make sure you work on something that could get merged you can always open an issue and we discuss it beforehand. 👍
Thanks again, let me know if you have any issues 🙏

But in general: Do you like the option to the add <br /> at linebreaks of textareas? I could add str_replace instead of nl2br like its mentioned https://www.php.net/manual/en/function.nl2br.php#73440


Tutorial kore

This startus updating the tutorial to use kore. IMP works, up to formatting changes in expected output.
There are various execution problems with IMP++ and lambda++.

@andreistefanescu @daejunpark please review

lgtm

@bmmoore Your IMP++ assumed #1668 fix regarding IO, right? Otherwise, lgtm.

I haven't actually gotten to the point of testing or trying to fix IO in IMP++.


Problem in filestore-to-bluestore.yml

I was trying to run the filestore-to-bluestore.yml, but it stopped at "mark out osds" tasks with the error:
  msg: |-
    the field 'args' has an invalid value ({u'_raw_params': u'{{ container_exec_cmd }} ceph --cluster {{ cluster }} osd out {{ (item.0.stdout | from_json).whoami }}'}), and could not be converted to an dict.The error was: No JSON object could be decoded

The item.0.stdout output (that's the output of ceph-volume --cluster ceph simple scan /dev/sdd1 --stdout) is:
    Running command: /usr/sbin/cryptsetup status /dev/sdd1
    {
        "active": "ok",
        "ceph_fsid": "4a09cf34-796c-4c36-a062-873958d65b5f",
        "cluster_name": "ceph",
        "data": {
            "path": "/dev/sdd1",
            "uuid": "6bdaeb60-8e3f-40e7-b179-3a851e24d7d8"
        },
        "fsid": "6bdaeb60-8e3f-40e7-b179-3a851e24d7d8",
        "journal": {
            "path": "/dev/disk/by-partuuid/fda49570-eb14-40a1-bf4f-00324186dc16",
            "uuid": "fda49570-eb14-40a1-bf4f-00324186dc16"
        },
        "journal_uuid": "fda49570-eb14-40a1-bf4f-00324186dc16",
        "keyring": "AQA/hxRexHSwFxAAvxrsGMbKLfGdYfXLWRbL2Q==",
        "magic": "ceph osd volume v026",
        "ready": "ready",
        "systemd": "",
        "type": "filestore",
        "whoami": 6
    }

The first line Running command: /usr/sbin/cryptsetup status /dev/sdd1 is breaking the the JSON reading.
This line appears because in the /usr/lib/python2.7/site-packages/ceph_volume/util/encryption.py there's a line (out, err, code = process.call(command, show_command=True, verbose_on_failure=False)) where the show_command is set to True.
I don't know if there's a reason for this command to be shown, but I think that this output must be correct filtered.
I run the ceph-volume --cluster ceph simple scan /dev/sdd1 --stdout command in Luminous 12.2.12 and in Nautilus 14.2.1 and in both the Running... message appears.
The ceph-ansible version is stable-4.0, and ansible version 2.8.8

@raxidex could you provide the full playbook log please?

The "Running command" lines are from the stderr and not stdout so the json should be correctly decoded.
[root@osd0 ~]# ceph-volume --cluster ceph simple scan /dev/sdb1 --stdout | jq .
Running command: /usr/sbin/cryptsetup status /dev/sdb1
Running command: /usr/sbin/cryptsetup status ab6fc98f-c235-44bc-948d-5bf95bee224f
Running command: /usr/sbin/cryptsetup status /dev/sdb5
Running command: /bin/ceph --cluster ceph --name client.osd-lockbox.ab6fc98f-c235-44bc-948d-5bf95bee224f --keyring /var/lib/ceph/osd-lockbox/ab6fc98f-c235-44bc-948d-5bf95bee224f/keyring config-key get dm-crypt/osd/ab6fc98f-c235-44bc-948d-5bf95bee224f/luks
Running command: /usr/sbin/cryptsetup status /var/lib/ceph/osd/ceph-0/block_dmcrypt
Running command: /usr/sbin/cryptsetup status /var/lib/ceph/osd/ceph-0/block
Running command: /usr/sbin/cryptsetup status /dev/mapper/ab6fc98f-c235-44bc-948d-5bf95bee224f
{
  "active": "ok",
  "block": {
    "path": "/dev/sdb2",
    "uuid": "6f9406d5-d979-409e-bac6-dea65d65cdc6"
  },
  "block_dmcrypt": {
    "path": "/var/lib/ceph/osd/ceph-0/block_dmcrypt",
    "uuid": "6f9406d5-d979-409e-bac6-dea65d65cdc6"
  },
  "block_uuid": "6f9406d5-d979-409e-bac6-dea65d65cdc6",
  "bluefs": 1,
  "ceph_fsid": "084e7a44-9119-4aeb-ad8b-f7e69098c8c8",
  "cluster_name": "ceph",
  "data": {
    "path": "/dev/sdb1",
    "uuid": "ab6fc98f-c235-44bc-948d-5bf95bee224f"
  },
  "encrypted": true,
  "encryption_type": "luks",
  "fsid": "ab6fc98f-c235-44bc-948d-5bf95bee224f",
  "keyring": "AQDBuk5eQqKCDRAAWJFmnmZH5Tg6yUc/tppUHw==",
  "kv_backend": "rocksdb",
  "lockbox.keyring": "AQDBuk5eoVpFExAAaxwm9Kvb/k3mOz9xu16OhQ==",
  "magic": "ceph osd volume v026",
  "mkfs_done": "yes",
  "none": "",
  "ready": "ready",
  "require_osd_release": 14,
  "type": "bluestore",
  "whoami": 0
}
[root@osd0 ~]# ceph --version
ceph version 14.2.7 (3d58626ebeec02d8385a4cefb92c6cbc3a45bfe8) nautilus (stable)

But I know that few fixes have been added in nautilus for this since 14.2.1
Would you able to test this with an updated Ceph nautilus version instead of 14.2.1?

Sorry for the long delay, I'd some troubles in my labs making it impossible to upgrade. But then when I changed the luminous to 12.2.13 and nautilus to 14.2.7 it worked in both of them as @dsavineau suggested. Thanks all.


Does this use a modified typeahead?

Hard to tell without the git history :grin:

Ah don't worry - I can see that it does.


Add dynamic pyproject.toml, post_gen_project.py

Add dynamic pyproject.toml, post_gen_project.py
Update tests
Fixes unknown bug in workflow that wasn't loading the same version of poetry installed locally
Fixes #24

See comments in #24


SYNC write OD 0x1019 add value check...

according to DSP310, when writing a "reserved" value to this index, a error response should be created (page 39). There's nothing about this behavior in CiA301.
I think actively rejecting those values is a reasonable behaviour, so I implemented it.

I agree. I changed a little your code. For invalid value it returns CO_SDO_AB_INVALID_VALUE.
Janez


Fallback only when Host not found or Format error, rest of dns failur…

…e, will stick to last successfully ip

Closes #10


Odd formatting of this array literal

From
        WeightedChoice::new(&mut [Weighted { weight: x, item: 0 },
                                  Weighted { weight: 1, item: 1 },
                                  Weighted { weight: x, item: 2 },
                                  Weighted { weight: 1, item: 3 }]);

to
        WeightedChoice::new(&mut [Weighted {
            weight: x,
            item: 0,
        },
                                  Weighted {
            weight: 1,
            item: 1,
        },
                                  Weighted {
            weight: x,
            item: 2,
        },
                                  Weighted {
            weight: 1,
            item: 3,
        }]);

Note Weighted constructor and its fields being in completely different locations.

It seems indentation is incorrectly set to block indentation instead of visual indentation..

I think we should probably change the defaults so that very small structs stay on one line.

Yes! But it shouldn't format larger structs like this either.


Use new playbook run modal when no runs

Summary
The new playbook run modal supports checking permissions to handle the case when a playbook cannot be run (including all playbooks). But tweak the styling when a playbook is disabled, otherwise it blocks the action but doesn't explain why.

Ticket Link
Fixes: https://github.com/mattermost/mattermost-plugin-playbooks/issues/1693

Oops, I just realized this overlaps significantly with https://github.com/mattermost/mattermost-plugin-playbooks/pull/1692/files. I'll rebase on that one.

Fixed!


Jetson Nano container build failed with ROS2 Galactic + Pytorch

Hi,
I'm currently using a ROS2 Galactic container for my robotics project on my Jetson Nano 4Gb and I want it to add the machine learning framework Pytorch to it.
Unfortunately when build the container with ROS2 Galactic and Pytorch, I ended up in an OCI Runtime fail :
failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: error adding seccomp filter rule for syscall clone3: permission denied: unknown

Do you have any Idea why this error occur ?
Best regards !
Here is the full output :
neurotronic@MARVIN01:~/jetson-containers$ ./scripts/docker_build_ros.sh --distro galactic --with-pytorch
ARCH:  aarch64
reading L4T version from /etc/nv_tegra_release
L4T BSP Version:  L4T R32.6.1
l4t-base image:  nvcr.io/nvidia/l4t-base:r32.6.1
selecting OpenCV for L4T R32.6.1...
OPENCV_URL=https://nvidia.box.com/shared/static/5v89u6g5rb62fpz4lh0rz531ajo2t5ef.gz
OPENCV_DEB=OpenCV-4.5.0-aarch64.tar.gz
ROS_DISTRO:   galactic
ROS_PACKAGE:  ros_base
WITH_PYTORCH: on
WITH_SLAM:    off

Building container ros:galactic-ros-base-l4t-r32.6.1
BASE_IMAGE=nvcr.io/nvidia/l4t-base:r32.6.1

Building ros:galactic-ros-base-l4t-r32.6.1 container...
Sending build context to Docker daemon  188.4kB
[WARNING]: Empty continuation line found in:
    RUN mkdir -p ${ROS_ROOT}/src &&     cd ${ROS_ROOT} &&     rosinstall_generator --deps --rosdistro ${ROS_DISTRO} ${ROS_PKG} 		launch_xml 		launch_yaml 		launch_testing 		launch_testing_ament_cmake 	demo_nodes_cpp 		demo_nodes_py 		example_interfaces 		camera_calibration_parsers 		camera_info_manager 		cv_bridge 		v4l2_camera 		vision_opencv 		vision_msgs 	image_geometry 		image_pipeline 		image_transport 		compressed_image_transport 		compressed_depth_image_transport 	> ros2.${ROS_DISTRO}.${ROS_PKG}.rosinstall &&     cat ros2.${ROS_DISTRO}.${ROS_PKG}.rosinstall &&     vcs import src < ros2.${ROS_DISTRO}.${ROS_PKG}.rosinstall &&     rm -r ${ROS_ROOT}/src/ament_cmake &&     git -C ${ROS_ROOT}/src/ clone https://github.com/ament/ament_cmake -b ${ROS_DISTRO} &&     apt-get update &&     cd ${ROS_ROOT} &&     rosdep init &&     rosdep update &&     rosdep install -y     	  --ignore-src        --from-paths src 	  --rosdistro ${ROS_DISTRO} 	  --skip-keys "libopencv-dev libopencv-contrib-dev libopencv-imgproc-dev python-opencv python3-opencv" &&     rm -rf /var/lib/apt/lists/* &&     apt-get clean &&     colcon build         --merge-install         --cmake-args -DCMAKE_BUILD_TYPE=Release &&     rm -rf ${ROS_ROOT}/src &&     rm -rf ${ROS_ROOT}/logs &&     rm -rf ${ROS_ROOT}/build &&     rm ${ROS_ROOT}/*.rosinstall
[WARNING]: Empty continuation lines will become errors in a future release.
Step 1/32 : ARG BASE_IMAGE=nvcr.io/nvidia/l4t-base:r32.5.0
Step 2/32 : FROM ${BASE_IMAGE}
 ---> 1735192d3d51
Step 3/32 : ARG ROS_PKG=ros_base
 ---> Using cache
 ---> cdc45e7b376d
Step 4/32 : ENV ROS_DISTRO=galactic
 ---> Using cache
 ---> 8ef79422e79d
Step 5/32 : ENV ROS_ROOT=/opt/ros/${ROS_DISTRO}
 ---> Using cache
 ---> 8c9611056127
Step 6/32 : ENV ROS_PYTHON_VERSION=3
 ---> Using cache
 ---> e06a42dbca63
Step 7/32 : ENV DEBIAN_FRONTEND=noninteractive
 ---> Using cache
 ---> 6bf69b0ce618
Step 8/32 : ENV SHELL /bin/bash
 ---> Using cache
 ---> 4c24f222ec96
Step 9/32 : SHELL ["/bin/bash", "-c"]
 ---> Using cache
 ---> 0b0d2c2fb40d
Step 10/32 : WORKDIR /tmp
 ---> Using cache
 ---> dd97348ff8ba
Step 11/32 : RUN locale-gen en_US en_US.UTF-8 && update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
 ---> Running in 2bd6302518e0
failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: error adding seccomp filter rule for syscall clone3: permission denied: unknown

Hi @ParadoxRobotics, you can find the fixes for this here:

https://github.com/dusty-nv/jetson-containers/issues/108#issuecomment-962597353
https://github.com/dusty-nv/jetson-containers/issues/108#issuecomment-995090398

If you still can't get it to work, then I would just re-flash the device and not do the apt-get upgrade
BTW, pre-built Galactic+PyTorch container images are on DockerHub here:  https://hub.docker.com/repository/docker/dustynv/ros/tags?page=1&ordering=last_updated&name=galactic-pytorch

Thanks for your answer !
I will look at the pre-build on Dockerhub


Invariant Violation: View config not found for name span. Make sure to start component names with a capital letter.

Current code:
<Avatar
            size="56"
            name="John Doe"
            src="https://images.samsung.com/is/image/samsung/uk-evo-plus-microsd-card-with-sd-adapter-100-mb-mc64ga-eu-frontred-63687853?$PD_GALLERY_L_JPG$"
            />

Could you add more information on where and how you are using this?
What version of React are u using?
What renderer are you using? (this package is intended for react-dom for now)
Could you provide us with a reproduction in CodeSandbox?

This issue has been open for move than 2 months without any additional feedback. Feel free to leave a comment if more information becomes available.


fix build of maybe package on Windows

Fixes #29, as reported by @ainar-g.

Thanks for the swift response!  I confirm that this fixes the build for me.


Remove cb from create method

Summary
feathers 3 doesn't support cb param for create function. (Breaking change)
causes too many arguments error
no dependencies ive seen

Thanks for this.
Those client-side cb should have been removed when the server-side was changed to promises. Good catch.

Published as 1.0.2


2.1 Implement Authentication

[x] Hello world for auth
[x] Merge to development
[ ] Grab users from database
[ ] Get/Create unique ids for users to see exclusive content

@wyminc @drcox23
Hey, Auth0 seems to be very streamlined, but I am having trouble integrating it completely.
May need your brains on this one too, as I am getting a little caught up with deployment.
If you got time! :3


heptabase: init at 1.32.16

Description of changes
Closes  #313853

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

> nix build .#heptabase
> tree result/
 result
├──  bin
│  └──  heptabase -> /nix/store/7d3lag5j5ipj3z8ifp6y3k2441x58lxp-heptabase-1.32.13-bwrap
└──  share
   ├──  applications
   │  └──  project-meta.desktop
   └──  icons
      └──  hicolor
         └──  0x0
            └──  apps
               └──  project-meta.png

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/1016/130

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1693

@MaxwellDupre since the PR is still opened I've bumped the version derivation to the latest available

Release notes

┃        > trying https://github.com/heptameta/project-meta/releases/download/v1.32.16/Heptabase-1.32.16.AppImage
┃        >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
┃        >                                  Dload  Upload   Total   Spent    Left  Speed
┃        >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
┃        > curl: (22) The requested URL returned error: 404
┃        > error: cannot download Heptabase-1.32.16.AppImage from any mirror

┃        > trying https://github.com/heptameta/project-meta/releases/download/v1.32.16/Heptabase-1.32.16.AppImage
┃        >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
┃        >                                  Dload  Upload   Total   Spent    Left  Speed
┃        >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
┃        > curl: (22) The requested URL returned error: 404
┃        > error: cannot download Heptabase-1.32.16.AppImage from any mirror

Apparently the changed something in the meantime. I've bumped the derivation to use the latest version available

@pbsds I've applied all the requested changes and bumped version to 1.35.3. Please let me know if there are other changes to do


Form Controls

Form properties and methods
Focusing: focus/blur
Events: change, input, cut, copy, paste
Form submission: event and method submit
Form validation: novalidate, HTML attributes, constraint validation API
Form elements: input, select, textarea, button, label, fieldset, legend

Almost done will soon send a pr


Pass --provenance option to npm-publish

https://docs.npmjs.com/cli/v9/commands/npm-publish#provenance
https://docs.npmjs.com/generating-provenance-statements
https://github.blog/2023-04-19-introducing-npm-package-provenance/

Fixed by https://github.com/option-t/option-t/pull/1875


the position of the dropdown for components like alignment and heading is not the best

I don't think it is best to place the dropdown icon beneath the main icon.
I suggest you place it beside the component.

They were on the side previously. There is some UI bug placing it below the main icon which needs to be fixed


Short solution needed: "Add element to Redis list" (python-redis)

Please help us write most modern and shortest code solution for this issue:
Add element to Redis list (technology: python-redis)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

Add element to Redis list


An error "Cannot access a disposed object..." pops up when save Python Project File.

Environment

Steps to Reproduce

Create a new Python project
Create a virtual environment
Close the VS
Click “Save” to save some changes

And then click "Yes"

Expected behavior
The changes can be saved without any error.
Additional context and screenshots
An error pops up.

I'm able to repro this, but it has nothing to do with my previous bug like I thought it did.
This only seems to happen when you try to exit visual studio immediately after modifying the pyproj (by adding a new environment). You'll know you did it right because it opens the Save File As dialog, when it really should just be saving the file over the existing one without opening that dialog.
I don't think this is a PTVS problem, I think this is a race condition in Visual Studio itself, since we don't own the process of saving files, nor do we have anything called FileChangeService.
I will reach out to the Visual Studio team about this, I don't think its ours.

I can repro in today's build 17.2.0 Preview 3.0 [32328.412.main].
when a project add reference

This issue still reproduced on today's build.

@linette-zyy Does this still repro?

@AdamYoblick
I can not repro this in today's latest build:17.6.0 Preview 1.0 [33402.156.main],Python Packages:17.0.23033.1


update dimDivision index

Coverage remained the same at 59.529% when pulling e68bf74a1a109f00f694f8fab2a5eb5673825c19 on vfenk:uat into 729493004a9647af284d1d91bba44ea1be72cec9 on danliris:uat.


Collections - method:every

The behavior of the every method has been moved to the nth method to match the method name defined by Lodash.

Not used


babybuddy.add_pumping - Unable to use timer: true?

Hi,
I am trying to implement a start stop automation for a pumping timer.
Does pumping not have the same features as sleep and feeding where you can click use timer?
If I use the timer: true it fails so I imagine this is a feature request?

Thanks.

I'm going to stop using services for now. Can't seem to get them to be reliable.


adds ignore-missing-keys

This adds the ability for kexpand to ignore missing field values so that environment variable interpolation can still be used as per this demo https://youtu.be/A8JonqXNfCk?t=1849

LGTM


[Bug]: Python docstring issue

What happened?
Really cool library overall, but I think I stumbled into a documentation error.
The arguments don't seem to match with the error.

Other than that, rookiepy.chrome(['...']) and rookiepy.load(['...']) are working fine.
Also, is this a feature or a bug lol? (seems like there is not commit hash for this)

Steps to reproduce
python 3.11.4
rookiepy 0.5.2()
ubuntu
call rookiepy.any_browser() and pass a list of strings
What browsers are you seeing the problem on?
No response
Relevant log output
No response

Hey!
Thanks for report.
It seems that the type hints are wrong. the function accept more parameters
https://github.com/thewh1teagle/rookie/blob/78c292cafb9d8ecc5a09f093834d3c0a15594866/bindings/node/src/lib.rs#L44-L48
You may want to use instead the function load()

Got it. Would love to submit a PR with the changes reflecting what is defined in lib.rs


Hunter Trap Spellhit fix + Trap Talent/Rune Refactoring

Used a small workaround to have traps be agnostic of spellhit stats, school buffs, and debuffs
refactored TNT and Resourcefulness runes to apply modifiers on registration rather than in the spell code
refactored Trap Mastery and Clever Traps talents to apply modifiers on registration rather than in the spell code

Ptr update says that ring runes should impact trap hit chance now, since ring runes modify school hit chance I updated the code to no longer remove the school hit bonus when calculating trap hit chance.


Rain Effect

Description
created and added code for rain effect .
Fixes #92
Type of change

[x] New feature (non-breaking change which adds functionality)

Explain the Testing instructions
Test Configuration:

Operating system: windows 10
Text-editors used: visual studio

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

Good Work @RC2208  Its really great 🎉🎉