Revert "fix(find): force unsubscribe when it completes or errors (#25…

This just reverts #2550 ... I accidentally merged that, when it's a breaking change.
@Podlas29, can you possibly reopen or resubmit that PR?

Coverage decreased (-0.0007%) to 97.734% when pulling 0358fdff2be67922e76182c57947e01211ede38a on benlesh:revertFindChange into cf88a208883f99f4fd0f368dcbaa0d0b646877aa on ReactiveX:master.


Adds zipkin2 support to Brave 3 api and removes internal package sharing

This removes the need to share internal packages between the brave 3 and
4 apis and zipkin. In doing so, it unlocks some OSGi problems.
This also makes it easier to transition to zipkin2 by allowing reporter2
as a Brave.Builder.spanReporter arg.
See https://github.com/apache/camel/pull/2151

verified with camel


Should optionally allow white

https://github.com/mattdesl/get-rgba-palette/blob/master/index.js#L50
I think this should be an option that you can turn off
if (!(r > 250 && g > 250 && b > 250)) {

Sometimes you want white to be one of the colors in the palette

Yeah true. I think that line should be removed and alpha threshold should be configurable:
getRgbaPalette(pixels, count, quality, alphaThreshold)

Or maybe change to opt to future-proof the API?
getRgbaPalette(pixels, { count, quality, alphaThreshold })

User can always pre-process pixels if they want to remove white/black from the results.

Another idea: allow a filter function instead of threshold parameter, and have it default to:
function filter (color, index, array) {
    return color[3] >= 125
}

+1 on filter
definitely the most robust

you wanna PR?

closing, adedd filter and removed the white thing


Page load performance

The following pages load pretty slowly when you have lots of transactions saved:

Dashboard
Payments
Wallets
Networks

There's certainly stuff we can do to improve this over time (eg. caching or not grabbing so much data).

This is bad enough for me that we can kick it up to phase 3.

Related to #316.

Bumped up the prio on this as it's getting pretty bad (at least for me).


uploader not loading on new clean install

James,
I have created a new 2.4.6 install of SS and loaded DisplayAnything, using the code in the documentation to create GalleryPage.php and GalleryPage.ss.
The Gallery, Image and Videos tabs load correctly and within the Gallery tab, everything seems to load except that the Loading uploader... message never goes away.
I'm running Safari on Mac OS X using the local Apache/PHP/MySQL webserver. I get the same result in Firefox or loading DisplayAnything onto a VPS hosted site.
I am guessing there is something missing in the documentation that more knowledgable people are automatically fixing.

That would be Javascript error. What does the Firebug or Chrome/Safari console say (F12) ?
I'll try running up a super clean install and attempt to duplicate it.

James,
Neither the Safari console nor the apache error log are reporting any problems. I had attached my Gallerypage.php, assuming attachments are allowed.
cheers
Bruce Bowden
Frogmouth Communications
40 Blackburn St, Bittern, Vic 3918
ph: 03 5983 0428
mobile: 0402 339 550
http://frogmouth.com.au/
On 23/01/2012, at 6:10 PM, James wrote:

That would be Javascript error. What does the Firebug or Chrome/Safari console say (F12) ?
I'll try running up a super clean install and attempt to duplicate it.

Reply to this email directly or view it on GitHub:
https://github.com/codem/DisplayAnything/issues/5#issuecomment-3609981

Bruce, I did a fresh clean install of 2.4.6 and dropped in DA, then ran a /dev/build and the required fields were created.
I then knocked together a GalleryPage and it all worked just fine.
 Can you confirm you are using the most recent source code. When developing, ensure SS is ing 'dev' mode by using "Director::set_environment_type('dev');" in your site config.
Here's the example page I set up:
<?php
class GalleryPage extends Page {

	public static $has_one = array(
		'ImageGallery' => 'DisplayAnythingGallery',
	);

	public function PublicImageGallery() {
		$gallery = $this->ImageGallery();
		if($gallery->Visible == 1) {
			return $gallery;
		}
		return FALSE;
	}

	public function getCmsFields() {
		$fields = parent::getCmsFields();

		//GALLERY per page
		$gallery = new DisplayAnythingGalleryField(
			$this,
			'ImageGallery',
			'DisplayAnythingGallery'
		);
		$gallery->SetTargetLocation('gallery_files');
		$fields->addFieldToTab('Root.Content.Gallery', $gallery);

		return $fields;
	}
}

class GalleryPage_Controller extends Page_Controller {}
?>

Hi Bruce,
I think I was having a similar issue with this and my problem was that I had named the module folder incorrectly.  User Error!  Your module directory should be 'display_anything'. It worked for me after I changed it to that.
Cheers,
Jim.

Jim,
That was it. A simple name change and everything started working.
James,
An extra line in the readme file under the 'Installing' heading would help others like me who don't use Git to manage their sites.
cheers
Bruce Bowden
Frogmouth Communications
40 Blackburn St, Bittern, Vic 3918
ph: 03 5983 0428
mobile: 0402 339 550
http://frogmouth.com.au/
On 28/01/2012, at 12:08 AM, jim2mullered wrote:

Hi Bruce,
I think I was having a similar issue with this and my problem was that I had named the module folder incorrectly.  User Error!  Your module directory should be 'display_anything'. It worked for me after I changed it to that.
Cheers,
Jim.

Reply to this email directly or view it on GitHub:
https://github.com/codem/DisplayAnything/issues/5#issuecomment-3686363

Bruce, I understand, that same issue has hit me before with modules in SS but instructions for install at https://github.com/codem/DisplayAnything/blob/master/readme.md do note that you have to use the directory name display_anything. They are the same whether you use Git, Bzr or a zip download.
Git or Bzr are recommended as you'll be able to keep up to date with code updates as they are released, so it's a skill worth picking up.
Thanks
James

James,
The only time display_anything is mentioned is at the end of the git and bzr commands. If, like me, you are not familiar with these commands, then you ignore those lines as irrelevant and go straight to the download link.
An extra line stating that the folder must be called display_anything is the only way people like me could know what to do.
However its now working and I'm onto the more interesting bit - building a nice front end to display my gallery.
cheers
Bruce Bowden
Frogmouth Communications
40 Blackburn St, Bittern, Vic 3918
ph: 03 5983 0428
mobile: 0402 339 550
http://frogmouth.com.au/
On 28/01/2012, at 2:32 PM, James Ellis wrote:

Bruce, I understand, that same issue has hit me before with modules in SS but instructions for install at https://github.com/codem/DisplayAnything/blob/master/readme.md do note that you have to use the directory name display_anything. They are the same whether you use Git, Bzr or a zip download.
Git or Bzr are recommended as you'll be able to keep up to date with code updates as they are released, so it's a skill worth picking up.
Thanks
James

Reply to this email directly or view it on GitHub:
https://github.com/codem/DisplayAnything/issues/5#issuecomment-3697939

Hmm, I see. I'll make an update in the readme file and it'll appear in the next update.
Thanks for the feedback
James


added changes to make local e2e test work/ update doc

Which issue this PR addresses:

Fixes https://msazure.visualstudio.com/AzureRedHatOpenShift/_workitems/edit/11839492/
What this PR does / why we need it:

Test plan for issue:
Checked that it worked locally

Is there any documentation that needs to be updated for this PR?
This is mainly a doc update.

/azp run e2e


Collision Avoidance and Object Following on Jetracer

Hi, has anyone tried collision avoidance or object following on the Jetracer? I have worked on those with my Jetbot and would like to do the same with my Jetracer but not sure how. Any help would be much appreciated. Thanks!

Update:
I have managed to collect collision avoidance data into my Jetracer and have successfully trained the model using codes similar to Jetbot. However when trying to run the live demo on my Jetracer, when running the last line "camera.observe(update, names='value')" I get the following error:
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.6/dist-packages/jetcam-0.0.0-py3.6.egg/jetcam/camera.py", line 34, in _capture_frames
self.value = self._read()
File "/usr/local/lib/python3.6/dist-packages/traitlets/traitlets.py", line 584, in set
self.set(obj, value)
File "/usr/local/lib/python3.6/dist-packages/traitlets/traitlets.py", line 573, in set
obj._notify_trait(self.name, old_value, new_value)
File "/usr/local/lib/python3.6/dist-packages/traitlets/traitlets.py", line 1205, in _notify_trait
type='change',
File "/usr/local/lib/python3.6/dist-packages/traitlets/traitlets.py", line 1210, in notify_change
return self._notify_observers(change)
File "/usr/local/lib/python3.6/dist-packages/traitlets/traitlets.py", line 1247, in _notify_observers
c(event)
File "", line 18, in update
car.throttle = -0.4
File "/usr/local/lib/python3.6/dist-packages/traitlets/traitlets.py", line 584, in set
self.set(obj, value)
File "/usr/local/lib/python3.6/dist-packages/traitlets/traitlets.py", line 573, in set
obj._notify_trait(self.name, old_value, new_value)
File "/usr/local/lib/python3.6/dist-packages/traitlets/traitlets.py", line 1205, in _notify_trait
type='change',
File "/usr/local/lib/python3.6/dist-packages/traitlets/traitlets.py", line 1210, in notify_change
return self._notify_observers(change)
File "/usr/local/lib/python3.6/dist-packages/traitlets/traitlets.py", line 1247, in _notify_observers
c(event)
TypeError: 'int' object is not callable
Anybody knows how to overcome this problem?

it would be nice if we can implement it here too but sure if jetson nano have power to process road following and object avoidance at high speed or not since it seem at max processing power already.


[BUG] CIS scan 5.7.4 fails on RKE1 custom hardened cluster

Rancher Server Setup

Rancher version: v2.7.2-rc5
Installation option (Docker install/Helm Chart): Docker install

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): N/A

Proxy/Cert Details: N/A

Information about the Cluster

Kubernetes version: RKE1 v1.25.6
Cluster Type (Local/Downstream): downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): downstream custom cluster manually provisioned in DigitalOcean

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom): Admin

If custom, define the set of permissions: N/A

Describe the bug

CIS check 5.7.5 is displayed as pass in the UI for the hardened profile CIS 1.23 for RKE1. However, after manually inspecting the JSON results file it's possible to see that the check errored.
To Reproduce

Manually provision downstream custom cluster for RKE1 v1.25.6 (the cluster has all roles inside - etcd, cp and worker) following the hardening guides.
Install CIS benchmark chart 4.0.0-rc3 and execute a scan using the profile rke-profile-hardened-1.23.
In the UI the CIS check 5.7.4 is displayed as pass.
Inspect the JSON results file with kubectl --kubeconfig <k8s config> get clusterscanreports.cis.cattle.io <scan id> -o json | jq '.spec.reportJSON | fromjson | .results' > results.json. See that the check 5.7.4 has "state": "pass", but it errors out in "actual_value_per_node": {.

        "actual_value_per_node": {
          "cluster-test": "Error from server (Forbidden): replicationcontrollers is forbidden: User \"system:serviceaccount:cis-operator-system:cis-serviceaccount\" cannot list resource \"replicationcontrollers\" in API group \"\" in the namespace \"default\"\nError from server (Forbidden): services is forbidden: User \"system:serviceaccount:cis-operator-system:cis-serviceaccount\" cannot list resource \"services\" in API group \"\" in the namespace \"default\"\nError from server (Forbidden): daemonsets.apps is forbidden: User \"system:serviceaccount:cis-operator-system:cis-serviceaccount\" cannot list resource \"daemonsets\" in API group \"apps\" in the namespace \"default\"\nError from server (Forbidden): deployments.apps is forbidden: User \"system:serviceaccount:cis-operator-system:cis-serviceaccount\" cannot list resource \"deployments\" in API group \"apps\" in the namespace \"default\"\nError from server (Forbidden): replicasets.apps is forbidden: User \"system:serviceaccount:cis-operator-system:cis-serviceaccount\" cannot list resource \"replicasets\" in API group \"apps\" in the namespace \"default\"\nError from server (Forbidden): statefulsets.apps is forbidden: User \"system:serviceaccount:cis-operator-system:cis-serviceaccount\" cannot list resource \"statefulsets\" in API group \"apps\" in the namespace \"default\"\nError from server (Forbidden): horizontalpodautoscalers.autoscaling is forbidden: User \"system:serviceaccount:cis-operator-system:cis-serviceaccount\" cannot list resource \"horizontalpodautoscalers\" in API group \"autoscaling\" in the namespace \"default\"\nError from server (Forbidden): cronjobs.batch is forbidden: User \"system:serviceaccount:cis-operator-system:cis-serviceaccount\" cannot list resource \"cronjobs\" in API group \"batch\" in the namespace \"default\"\nError from server (Forbidden): jobs.batch is forbidden: User \"system:serviceaccount:cis-operator-system:cis-serviceaccount\" cannot list resource \"jobs\" in API group \"batch\" in the namespace \"default\"\ntrue"
        },

Result
The 5.7.4 passes in UI, but errors in the results file.
Expected Result
The 5.7.4 should either pass with no errors, or if it contains errors, it should fail (not pass).
Screenshots

Additional context

N/A

CC @jiaqiluo @prachidamle @MKlimuszka

To aid with the investigation, the root cause might be related to PR https://github.com/rancher/charts/pull/2117.

Validated on the rancher v2.7.2-rc6.
Validation steps.

Created a rancher v2.7.2-rc6
Provisioned a downstream RKE2 v1.25 hardened custom cluster with CIS profile cis-profile-1.6.
Validated that the cluster and nodes come up Active in Cluster Management and Cluster Explorer.
Installed the CIS benchmark chart v4.0.0-rc4 on the downstream cluster.
Ran a CIS scan with profile rke2-cis-1.23-profile-hardened.

The 5.7.4 passes with no errors. Actual value in json also show ip-172-xx-xx-x: true as expected.
However, there are 4 other test failures (see attached screenshot).

Since the above mentioned failures are expected, and the test 5.7.4 is passing without any errors in json as well. Hence, closing this issue.


HDDS-3262. Fix TestOzoneRpcClientWithRatis.java.

What changes were proposed in this pull request?
With RATIS-840 incorporated in ozone, the test is expected to work. Re-enabling it here.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3262
How was this patch tested?
Will Verify it in the CI runs.

Codecov Report

Merging #1061 into master will decrease coverage by 0.06%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #1061      +/-   ##
============================================
- Coverage     69.48%   69.42%   -0.07%
- Complexity     9110     9113       +3
============================================
  Files           961      961
  Lines         48132    48148      +16
  Branches       4672     4679       +7
============================================
- Hits          33446    33428      -18
- Misses        12468    12501      +33
- Partials       2218     2219       +1

Impacted Files
Coverage Δ
Complexity Δ

.../org/apache/hadoop/hdds/scm/pipeline/Pipeline.java
85.71% <100.00%> (+0.20%)
44.00 <0.00> (+1.00)

.../org/apache/hadoop/ozone/om/helpers/OmKeyInfo.java
86.25% <100.00%> (+0.33%)
42.00 <0.00> (+2.00)

...adoop/ozone/om/helpers/OmKeyLocationInfoGroup.java
75.60% <100.00%> (+1.25%)
12.00 <2.00> (+1.00)

...g/apache/hadoop/ozone/om/helpers/OzoneAclUtil.java
81.91% <100.00%> (+1.23%)
39.00 <4.00> (+2.00)

...adoop/ozone/om/request/key/OMKeyCommitRequest.java
97.00% <100.00%> (ø)
18.00 <0.00> (+1.00)

...otocol/commands/RetriableDatanodeEventWatcher.java
55.55% <0.00%> (-44.45%)
3.00% <0.00%> (-1.00%)

...er/common/transport/server/GrpcXceiverService.java
70.00% <0.00%> (-10.00%)
3.00% <0.00%> (ø%)

...ache/hadoop/ozone/om/codec/S3SecretValueCodec.java
90.90% <0.00%> (-9.10%)
3.00% <0.00%> (-1.00%)

...va/org/apache/hadoop/hdds/utils/db/RDBMetrics.java
85.71% <0.00%> (-7.15%)
13.00% <0.00%> (-1.00%)

.../transport/server/ratis/ContainerStateMachine.java
69.36% <0.00%> (-6.76%)
59.00% <0.00%> (-5.00%)

... and 17 more

Continue to review full report at Codecov.

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

Filed https://issues.apache.org/jira/browse/HDDS-3789 to track the unit test failure.

+1 to get this in BTW.
@bshashikant how this test is related to RATIS-840?
just trying to understand the issue, I believe this test is added by HDDS-1121. Not sure If I am missing something here.

+1 to get this in BTW.
@bshashikant how this test is related to RATIS-840?
just trying to understand the issue, I believe this test is added by HDDS-1121. Not sure If I am missing something here.

Thanks @bharatviswa504 . Without Ratis-840, the write/watch requests on ratis were timing out leading to many test failures in this class. Now that , its fixed, we can reenable the tests here.

Thanks @bharatviswa504 for the review. I have committed this.


Only Context working output is 6 and 18

Hello I am running SigProfilerExtractor command and the only signatures that are received as output are the CH6 and CH18.
It does not bring any signature for any number of samples.
Can you please explain the situation happening?

Dear @pinunQ,
CH is the name given to signatures using a non-standard mutational context (i.e., different from COSMIC standard SBS96, DBS78, ID83 or CN48). Not sure if this is something that can be of interest to your analysis. If you want to use the standard contexts, I recommend you to follow our wiki page instructions at https://osf.io/t6j7u/wiki/home/ and check our video tutorials at https://github.com/AlexandrovLab/SigProfilerExtractor#video_tutorials.
I hope this helps, and please feel free to reopen the ticket if you have further questions.


Release Wasmtime 0.32.1

This is an automated pull request from CI which is intended to
notify maintainers that it's time to release Wasmtime version
0.32.1. Version numbers have been bumped
in this PR automatically and the release process will automatically
enter the next stages once this PR is merged.
It's recommended that maintainers double-check that RELEASES.md
is up-to-date. If not please feel free to push to this PR any
modifications to the release notes. Additionally before merging it's
probably best to double-check the release process and make sure that
everything is ship-shape.

Hurray it worked! I'm thinking now though that despite this being probably too late to be a meaningful patch release I'd like to go ahead and push forward with it because it can exercise the workflows we have. For example this won't actually release anything unless https://github.com/bytecodealliance/wasmtime/pull/3644 is merged. I'll prep that backport once it's ready.
@cfallin would you be up for updating RELEASES.md here? I'm not actually sure the best process for that. In theory we want RELEASES.md updated on the main branch as well, so perhaps a PR against main which is cherry-picked onto this PR as well?

Sure, I actually already updated RELEASES.md in this branch when we initially tried pushing the button; the only issue is the date is Dec 17. I'll do a quick PR to update that, and another to update the releases list on the main branch.

Updated cg_clif in https://github.com/bjorn3/rustc_codegen_cranelift/commit/e4fff03d40ca602d447f3965e1afed2262978640


Fixes 2140 onselectedchange per @tig

Please remove the IsOverridden fixes from this PR so we can keep it separate (unless it's required; which I don't think it is).

It's required, otherwise the ComboBoxTests will fail.

I also did a cherry pick into #2124


Provide DevOps training for Andrea

Describe the Issue
Andrea requires context for technology in order to understand the PIA (Privacy Impact Assessment) and the activities we and our clients do that fall under her purview as team Privacy Officer and contact point for very technical client teams.
cloud 101
Additional context
Definition of done

Take one of the demo decks, copy and use it for the below slidedeck
Consolidate the material into a slidedeck (2 days)
Add more material and anything missing to the deck
Give a quick overview to PO and demo the content
Provide understanding of concepts that are in Andrea's ticket and have subsequent (3-4) meetings with Andrea

Used a CFP template and created a slide deck covering a variety of concepts around cloud computing.
Shared with the CFP team for feedback.
Andrea provided her comments (20 in total). I'll update the deck to reflect them.
Meeting with Andrea Monday morning to go over the deck.


Issue with k8s.io/fr/docs/tutorials/kubernetes-basics/expose/

Empty page

/language fr
It seems that after someone adds the French version of either

https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/
https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-interactive/

then that page would have the link to the added pages.


Minus sign not available when editing numeric values

Hello,
-/+ keys are used to zoom out/in, but it would be nice if those keys were available when editing numeric values.  At the moment, my only solution is to copy/paste with mouse, which is not very convenient.

This is a bug - thanks for submitting! Will fix for 0.3.1

Ok fixed in master and cloud.shapesmith.net. If the mouse cursor is over the treeview on the left, it will accept +/- as input into the text fields. If the mouse cursor is over the 3D view, it will zoom.
Alternatively, +/- should always go to the input if there is an active input field. What do you think?

Thanks, this is indeed much more convenient. Your question is difficult; I prefer the latter, but OTOH the current behavior is more powerful, one can still zoom in/out while a text input field is active.

Both have their advantages and drawbacks. I'll consider this issue closed for now.


Update README.md

Fix miscellaneous spelling errors.

Sorry @cmarkle I think you actually want to edit this. The top-level README.md is generated from that one.

@cmarkle will resubmit a new PR.


qmplay2: 24.04.02 -> 24.04.07

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/zaps166/QMPlay2/releases.
meta.description for qmplay2 is: Qt-based Multimedia player
meta.homepage for qmplay2 is: https://github.com/zaps166/QMPlay2/
meta.changelog for qmplay2 is: https://github.com/zaps166/QMPlay2/releases/tag/24.04.07
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 24.04.07 with grep in /nix/store/b8fx54c1k7salfb3q0c3dq6wfkca7rp9-qmplay2-24.04.07
found 24.04.07 in filename of file in /nix/store/b8fx54c1k7salfb3q0c3dq6wfkca7rp9-qmplay2-24.04.07

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
qmplay2

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/b8fx54c1k7salfb3q0c3dq6wfkca7rp9-qmplay2-24.04.07 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A qmplay2 https://github.com/r-ryantm/nixpkgs/archive/99b27274c3d9f387907f1848ed0ef19eaa01da66.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/99b27274c3d9f387907f1848ed0ef19eaa01da66#qmplay2

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/b8fx54c1k7salfb3q0c3dq6wfkca7rp9-qmplay2-24.04.07
ls -la /nix/store/b8fx54c1k7salfb3q0c3dq6wfkca7rp9-qmplay2-24.04.07/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

qmplay2

Maintainer pings
cc @AndersonTorres @kashw2 for testing.

@ofborg eval


Too many chickens must be sacrificed to get spreadsheet working

I think adding &usp=web_drive to the URL fixed a problem accessing the spreadsheet on a recent project. Maybe.

 Need to nail this process down better.

See also #400, #493.


MtLogTailer.log fills disk with repeated "System.ArgumentException: The output char buffer is too small to contain the decoded characters..."

Something caused MTLogTailer.exe running on INX-SRV-APPL79 to repeatedly write the following error message to MtLogTailer.log until the local disk was filled.
2015-05-11T13:13:56.4995462Z System.ArgumentException: The output char buffer is too small to contain the decoded characters, encoding 'Unicode (UTF-8)' fallback 'System.Text.DecoderReplacementFallback'. Parameter name: chars
   at System.Text.Encoding.ThrowCharsOverflow()
   at System.Text.Encoding.ThrowCharsOverflow(DecoderNLS decoder, Boolean nothingDecoded)
   at System.Text.UTF8Encoding.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, DecoderNLS baseDecoder)
   at System.Text.DecoderNLS.GetChars(Byte* bytes, Int32 byteCount, Char* chars, Int32 charCount, Boolean flush)
   at System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex, Boolean flush)
   at System.Text.DecoderNLS.GetChars(Byte[] bytes, Int32 byteIndex, Int32 byteCount, Char[] chars, Int32 charIndex)
   at System.IO.BinaryReader.InternalReadOneChar()
   at System.IO.BinaryReader.Read()
   at MtLogTailer.LogShipper.ReadLine(BinaryReader reader, StringBuilder buf)
   at MtLogTailer.LogShipper.ShipLogData(Stream stream)
   at MtLogTailer.LogShipper.Process()
   at MtLogTailer.PathWatcher.Process()

@fandrei,
I think there are 3 issues here:

Why does the exception happen once?
Why does the exception happen repeatedly without the MtLogTailer.exe crashing?
Why does it write to a local log file?

agreed. wrt 3 - I added it as a precaution, just in case if exceptions aren't reported to the cluster for some reason. However, I didn't expect any exceptions to happen often.
As the first part of solution, I'll limit this file in size.

As the first part of solution, I'll limit this file in size.

:+1:

https://github.com/cityindex/LogSearchShipper/pull/101


Add new API to change style

This PR fixes the buggy behavior seen here
We still need some tests!
Forgot to add those. If anyone is feeling like it, please go ahead!
Otherwise I'll add them eventually :)

This PR does affect the behavior of ipycytoscape because before people were counting on the complete erasure of the style to add their new styles.
So now... We either have to fix the examples by adding clear_style every time someone adds a new style to the cytoscape obj or better yet we conform to the new API added here.
I'm thinking about also writing something on the README to let users know of this API change. It ended up having more impacts than I first anticipated. :/


Reencode mismatch

Hey, I might be doing it wrong, but i can't load my save in. Please help me if you can. Thanks, Silver

Sorry, I'm retard, just noticed i was using a wrong release :D

That would do it. Glad you got it sorted.


Loan Calculator Finance Tool

Create a Loan Calculator in html,css and javascript.

Add navbar in your tool's html file. You can copy the navbar from index.html.
Add screenshot of your tool in, PR message and also in the folder of your tool
Before Making the PR Pull the latest changes that have been made to the repository

**Note: Please Don't Make Any Changes In `index.html` AND `contributors.html` **

Add the below mention section to your PR message

Title

Number of files/folder added

Changes made

Check the options that you have completed,

I have;

[x] Read contibuting.md
[ ] Followed all the guidelines
[ ] updated readme.md
[ ] add your name in the footer of your tool.html file (if you created length conversion tool then add your name to length.html file you created)
[ ] provide below mentioned details if you want your name to be added in contributors.html
[ ] mail, twitter, github profile link.

May I please be assigned to the Loan Calculator in Finance Tools?

Would you be willing to use EJS templating instead of copying all the nav bar code and other features from the index.js file? Contributors would be able to just write one line, "<%- include('../../layout/nav') %>" for example into their code. That one line would import all the navbar code to the contributors file and eliminate any risk of typos, keeping the whole site layout completely uniform. If you were into using it I would be more than happy to go through and set up the file structure and update the README with instructions. This would also make the workflow much faster and simpler.

Yes it would be great and

Would you be willing to use EJS templating instead of copying all the nav bar code and other features from the index.js file? Contributors would be able to just write one line, "<%- include('../../layout/nav') %>" for example into their code. That one line would import all the navbar code to the contributors file and eliminate any risk of typos, keeping the whole site layout completely uniform. If you were into using it I would be more than happy to go through and set up the file structure and update the README with instructions. This would also make the workflow much faster and simpler.

Yes it would be a great feature. Our team is planning on that, we will be adding the functionality of handlebars and middlewares . we will change the contributing guidelines as soon as this happens. But until then the guidelines remains the same and all the contributors have to manage with copy/paste, Because we have to also account for the beginner developers/contributors.

@Rearo43 Are you still working on this?


_calculate_ms_and_mpd()

I am trying to understand how trainlen and related variables are calculated using: _calculate_ms_and_mpd, what does ms and mpd stand for?
I think ideally, I would like to set up my own training to be able to train again after training, as if I am not wrong, neither is possible at the moment - yes?
I will attempt to do this, but there are some bits of the code I don't understand yet.

The question is how to select the meta-parameters.
Heres, mpd deals with the number of iterations. mpd is the ratio between number of nodes and number of training data. trainlen is decided based on mpd but in 4 different ways:
(rough_train or finetune_train)x( initialization == 'random' or self.initialization == 'pca'). the coefficients are chosen logically and based on several experiments.
ms is to decide about the radius in neighborhood search.
for both of these factors, they are calculated differently if the SOM grid is one dimensional.
It would be much better if those final coefficients would be input parameters.

Thanks that makes sense with what I discovered in the meantime too. So I have modified my version of .train to allow training length and the initial and final radii to be set from outside the som and to allow multiple training sessions (i.e., weights not reset every time train is run).


SDK: Go

Tried to generate this tonight with Speakeasy, but ran into some schema issues. Created it from our public OpenAPI schema though vs. basing it on existing SDKs so might be some transformations I'm not picking up. I'll pick this up tomorrow and should be something we can ship quickly.


Feature/we chat transport integration

@hodgestar just adding some comments to docstring about how it works?

:+1:


Queue implementation

I will implement functions such as

Front
Pop
Push
IsFull
IsEmpty

Please Assign me this issue, I will do this in C++

Please assign me this issue, I will do it in C language.

can you please assign me this? I will do it in python

Please open up this issue once SWOC begins on 5th Jan 2021


CSRMatrix can be printed or used in an operation, but not both when using vectorized execution

After a CSRMatrix has been used in certain operations, it can be either printed, or used in another operation, but not both. This only happens when using the --vec flag.
../apps/printcsr.daphne
M = readMatrix($filename);
X = fill(as.f64(1), 1, 10);
newM = M * X;
print(newM);

$ ./build/bin/daphne --select-matrix-repr --vec ../apps/printcsr.daphne filename=\"../dataset/small/matrix_0.csv\"
CSRMatrix(10x10, double)
0 0 1 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
1 0 0 1 0 0 0 0 0 0
0 0 1 0 1 0 0 0 0 0
0 0 0 1 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0

../apps/usecsr.daphne
M = readMatrix($filename);
X = fill(as.f64(1), 1, 10);
newM = M * X;
NewNewM = newM * X;
print(NewNewM);

$ ./build/bin/daphne --select-matrix-repr --vec ../apps/usecsr.daphne filename=\"../dataset/small/matrix_0.csv\"
CSRMatrix(10x10, double)
0 0 1 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
1 0 0 1 0 0 0 0 0 0
0 0 1 0 1 0 0 0 0 0
0 0 0 1 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0

../apps/bothcsr.daphne
M = readMatrix($filename);
X = fill(as.f64(1), 1, 10);
print(X);
newM = M * X;
print(newM);
NewNewM = newM * X;
print(NewNewM);

$ ./build/bin/daphne --select-matrix-repr --vec ../apps/bothcsr.daphne filename=\"../dataset/small/matrix_0.csv\"
JIT session error: Symbols not found: [ _vectorizedPipeline__CSRMatrix_double__CSRMatrix_double__bool__Structure_variadic__size_t__size_t__int64_t__int64_t__int64_t__int64_t__size_t__void_variadic ]
JIT-Engine invocation failed: Failed to materialize symbols: { (main, { _mlir__vect1, main, _mlir_ciface_main, _mlir_main, _vect1, _mlir__mlir_ciface_main }) }Program aborted due to an unhandled Error:
Failed to materialize symbols: { (main, { _mlir__vect1, main, _mlir_ciface_main, _mlir_main, _vect1, _mlir__mlir_ciface_main }) }
Aborted (core dumped)

Using the result in 3 or more operations is not supported and the corresponding error is given:
../apps/use3csr.daphne
M = readMatrix($filename);
X = fill(as.f64(1), 1, 10);
newM = M * X;
ResultA = newM * X;
ResultB = newM * X;
ResultC = newM * X;
print(ResultA);
print(ResultB);
print(ResultC);

$ ./build/bin/daphne --select-matrix-repr --vec ../apps/use3csr.daphne filename=\"../dataset/small/matrix_0.csv\"
Pass error: Encountered vectorizedPipelineOp with 3 results. We support them with either one or two results atm.

Attachments:
../dataset/small/matrix_0.csv
0,2
2,0
2,3
3,2
3,4
4,3

../dataset/small/matrix_0.csv.meta
10,10,1,f64,nnz=6

../dataset/small/matrix_handles.csv
localhost:50000,matrix_0.csv,0,0,10,10

../dataset/small/matrix_handles.csv.meta
10,10,1,f64,nnz=6

Thanks @jonnygiger for reporting these problems. There are actually two separate problems:

JIT session error: Symbols not found:: This typically indicates that the system tries to JIT-compile a call to a kernel that doesn't exist. In this case, we were simply lacking an instantiation of the vectorizedPipeline-kernel (with two outputs) for CSRMatrix. I've just fixed that in 322e601c44f9fb786ec71261a3976270c0bb3fa1. This gets us past this error, but unfortunately, it revealed another, more complex problem (#378).
Pass error: Encountered vectorizedPipelineOp with 3 results. ...: Currently, we do not support vectorized pipelines with more than two outputs. This is already on our radar (#379).


After updating to latest release version (v5.22 Release) - Request DTOs without any publicly accessible properties are not supported

Hello, Thank you for your excellent project!
I have several fast endpoints that accept DTOs, but there are no publicly accessible properties, therefore I utilized this way to adjust the DTO as needed. However, everything was operating properly until I updated the fast endpoint to the current version. Then I faced a runtime error that affected swagger rendering as well.
I'm not sure if this issue belong to FastEndPoints nor Nswag. However,
The stack trace for the error is as follows:
Request DTOs without any publicly accessible properties are not supported. Offending Endpoint: [IntegrationServices.RestServices.FastEndPoints.CancelIrisCapture] Offending DTO type: [DataContracts.RequestsDtos.Biometrics.Iris.CancelIrisCaptureRequestDto]
System.NotSupportedException: Request DTOs without any publicly accessible properties are not supported. Offending Endpoint: [IntegrationServices.RestServices.FastEndPoints.CancelIrisCapture] Offending DTO type: [DataContracts.RequestsDtos.Biometrics.Iris.CancelIrisCaptureRequestDto]
at FastEndpoints.Swagger.OperationProcessor.Process(OperationProcessorContext ctx)
at NSwag.Generation.AspNetCore.AspNetCoreOpenApiDocumentGenerator.RunOperationProcessors(OpenApiDocument document, ApiDescription apiDescription, Type controllerType, MethodInfo methodInfo, OpenApiOperationDescription operationDescription, List1 allOperations, OpenApiDocumentGenerator generator, OpenApiSchemaResolver schemaResolver)    at NSwag.Generation.AspNetCore.AspNetCoreOpenApiDocumentGenerator.AddOperationDescriptionsToDocument(OpenApiDocument document, Type controllerType, List1 operations, OpenApiDocumentGenerator swaggerGenerator, OpenApiSchemaResolver schemaResolver)
at NSwag.Generation.AspNetCore.AspNetCoreOpenApiDocumentGenerator.GenerateApiGroups(OpenApiDocumentGenerator generator, OpenApiDocument document, IGrouping`2[] apiGroups, OpenApiSchemaResolver schemaResolver)
at NSwag.Generation.AspNetCore.AspNetCoreOpenApiDocumentGenerator.GenerateAsync(ApiDescriptionGroupCollection apiDescriptionGroups)
at NSwag.AspNetCore.Middlewares.OpenApiDocumentMiddleware.GenerateDocumentAsync(HttpContext context)
at NSwag.AspNetCore.Middlewares.OpenApiDocumentMiddleware.GetDocumentAsync(HttpContext context)
at NSwag.AspNetCore.Middlewares.OpenApiDocumentMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.OutputCaching.OutputCacheMiddleware.<>c__DisplayClass11_0.<g__ExecuteResponseAsync|0>d.MoveNext()
--- End of stack trace from previous location ---
Thank you in advance for your support!

fastendpoints never supported binding to request dtos without public properties. the new version just started to warn users properly. you can do the following for endpoints that has a blank request dto:
sealed class MyEndpoint : Endpoint<EmptyRequest,ResponseDto>

// or use the endpoint variation

sealed class MyEndpoint : EndpointWithoutRequest<ResponseDto>


Getting error while creating the OSB domain

Hi,
Getting below errors while creating the OSB domain with WDT.
####<Nov 18, 2020 10:47:16 PM>     <createDomain failed to create the domain: selectTemplate(Oracle OSB Suite) failed : Error adding Template:
60708: Template not found.
60708: Found no templates with Oracle OSB Suite name and null version
60708: Select a different template.>
Issue Log for createDomain version 1.9.7 running WebLogic version <IP_ADDRESS>.0 offline mode:
SEVERE Messages:
    1. WLSDPLY-12409: createDomain failed to create the domain: selectTemplate(Oracle OSB Suite) failed : Error adding Template:

60708: Template not found.
60708: Found no templates with Oracle OSB Suite name and null version
60708: Select a different template.
Total:       WARNING :     0    SEVERE :     1
createDomain.sh failed (exit code = 2)

I believe the correct name for the OSB template is "Oracle Service Bus".
The entry in your typedef file would look like:
             "extensionTemplates": [
                 "Oracle Service Bus"
             ],

Be sure to install OSB in the Oracle Home you are using for create.

Ok. Let me check the OSB.json file once

"definitions": {
"OSB_12214": {
"baseTemplate": "Basic WebLogic Server Domain",
"extensionTemplates": [
"Oracle OSB Suite"

Hi,
Getting a different error while creating the OSB domain. Any advice?
####<Nov 18, 2020 11:48:02 PM>     <createDomain failed to create the domain: Unable to create(Trust Service Identity Asserter, oracle.security.jps.wls.providers.trust.TrustServiceIdentityAsserter, AuthenticationProvider) in offline mode at location /SecurityConfiguration/osb_domain/Realm/myrealm : null
@com.oracle.cie.domain.aspect.AbstractConfigAspect.getAspectClass(AbstractConfigAspect.java:126)>
Issue Log for createDomain version 1.9.7 running WebLogic version <IP_ADDRESS>.0 offline mode:
SEVERE Messages:
    1. WLSDPLY-12409: createDomain failed to create the domain: Unable to create(Trust Service Identity Asserter, oracle.security.jps.wls.providers.trust.TrustServiceIdentityAsserter, AuthenticationProvider) in offline mode at location /SecurityConfiguration/osb_domain/Realm/myrealm : null

@com.oracle.cie.domain.aspect.AbstractConfigAspect.getAspectClass(AbstractConfigAspect.java:126)
Total:       WARNING :     0    SEVERE :     1
createDomain.sh failed (exit code = 2)

Unless you are customizing security providers, you can probably remove the whole SecurityConfiguration section from your model.

Thanks a lot for the help @Carolyn Rountree @rakillen
The issue has been fixed as per the below document and the OSB domain has been created without any errors.
https://github.com/oracle/weblogic-deploy-tooling/blob/master/site/use_cases.md#modeling-security-providers

After unpack , the config.xml is not uploading into node2 under config folder . Any advice ?

Closing this issue as it appears to be resolved.  @prathapdasari Please post your pack/unpack question to the WebLogic public slack channel and the broader WebLogic teams will be able to see it and hopefully jump in to help.

Ok, thank you. I will do the same public slack channel


Improve contingent claims utility functions for Swaps/Bonds

There are a few improvements to the contingent claims utility functions for Swaps (and Bonds):

[x] Use give instead of weightMultiple 1.0 / -1.0
[x] Merge createFxLegPrincipalClaim and createRedemptionClaim into one function.
[x] Look into the utility functions of the contingent claims repo and check if there is something to leverage / align there.
[x] Consider merging createConditionalCreditFixRatePaymentClaims and createFixRatePaymentClaims (either to one function or break out shared code to a separate utility function)

Implemented here: https://github.com/digital-asset/daml-finance/pull/173

Regarding item 3 above (utility functions from the contingent claims repo): they are quite similar to the ones we now have in Generic.Util above, but we also take roll conventions and day count conventions into account.


DataRow DisplayName is not generated properly in .NET Framework when using null values

Steps to reproduce
Run this test in .NET Framework 4.6.1 mode
[TestClass]
public class UnitTest1
{
    [TestMethod]
    [DataRow("OK", "OK Test")]
    [DataRow("OK1", "OK1 Test")]
    [DataRow(null, " Test")]
    public void TestMethod1(string input, string output)
    {
        Assert.AreEqual(output, $"{input} Test");
    }
}

Expected behavior
Should output the same display name as in .NET Core
Actual behavior

And even worse with multiple null tests

Environment
VS 2017 15.3.5
.NET Core 2.0 / .NET Framework 4.6.1
<package id="MSTest.TestAdapter" version="1.2.0-beta3" targetFramework="net461" />
<package id="MSTest.TestFramework" version="1.2.0-beta3" targetFramework="net461" />

This is essentially an issue with string.join(String separator, object[] values).
If first value is null like in [DataRow(null, " Test")] , both .net framework and net core used to return an empty string earlier. But this issue got fixed in netcore to return (,Test) refer this[https://github.com/dotnet/coreclr/issues/4506]. However, it appears that the same fix is not yet ported to .net framework and hence we are observing a difference in behavior.


Logo design for SwipePicker

Hi @m4xp1 , my name is Zuur W. I'm a graphic designer and I'd like to collaborate on your open source project and propose free logo/icon design for your project. If it's something you're interested in, please, let me know!
Best Regards
Zuur

Hi @m4xp1, thats great!
Do you have any idea for the logo? do you have any request? can you give me something our say something to I get inspired?
Best Regards

As such, I have no idea. Take a look at the link, i found a few pictures. You can try to make a mix with them and screenshots from the readme file. I'm also not against your ideas )
Best Regards
maXpi

Hi @m4xp1, here are my designs, I create a pointing finger and put the arrows for swipe reference, then I create some variations of the logo with backgroud and outlined , also create the black version of all the 3 logos. I hope you like one of this, if not I can create other designs.
Best Regards!

Hi @zuurw , It's great! My favorite is number 3 (black), he is really cool, just bewitches! But he does not have enough color. My fantasy sees it differently than you painted in color. Look at the picture to understand how I see it. Think about it, maybe this will inspire you to further refine the color.

Colors are chosen randomly to demonstrate the idea. You can try to make a mix of 3.1 and 3.2. Or think of something else )
Best Regards!

Hi @m4xp1, I will make that changes I try mix colors.
Best Regards!

Hi here are the new designs with different colors variations, see if you like one of this.

Hi @zuurw I like this one ))

Hi @zuurw If you do not mind, we could publish a ready-made icon. We can do everything through pull request or if you send me a vector, then I'll cut it all myself and insert it into the project.

Hi @zuurw Is there any news on the icon?

Hi @m4xp1, I submit the PR with the logo files, see if you need something more.
Best Regards!

Hi @zuurw Sorry for such a long answer. There was no access to the computer. I accepted the request and updated the icons in the application, and corrected the file readme, please get changes to your fork. The icon and the logo turned out very beautiful, I really like it! Thank you very much! Have worked well! If you do not mind then I would like to keep in touch with you in the future to work on commercial or free projects.


quizlet paywall

Browser Version
chrome and edge
Exension Version
last
Actual behaviour
it doenst work anymore
Reproduction steps
No response
Expected behaviour
No response

We are working on it on #450


[5.4] Make logout redirect path cofigurable

When a controller using \Illuminate\Foundation\Auth\AuthenticatesUsers, we can configure the path where users redirect to after login by define the property $redirectTo. But we cannot configure where users redirect to after logout.
This pull request makes logout path configurable. Just define the property $logoutRedirectTo.
For example
class Foo extends BaseController
{
    use AuthenticatesUsers;

    /**
     * Where to redirect users after logout.
     *
     * @var string
     */
    protected $logoutRedirectTo = '/somewhere';

}

Call parent::logout() and then return whatever response you want.


Account recovery and MFA features in the My Account app should be rendered based on the tenant preference

Is your feature request related to a problem? Please describe.
Right now, the security questions section is shown to the users irrespective of whether or not security questions have been enabled by the admin. In case of this feature being disabled by the admin, showing this section in the UI is redundant.
In addition, the Multi-factor Authentication section is also shown to the user even if it is disabled by the admin.
Ideally, these sections should be shown to the user only if these are enabled by the administrator. Currently, there is no API to get such information from.
Describe the solution you would prefer

[ ] There should be a meta endpoint that the My Account app can query to see if security questions, TOTP, FIDO, and SMS/Email recovery are enabled.
[ ] Configuration for Security questions in the My account should be only visible when it's enabled for the tenant
[ ] TOTP Set-up wizard should be only visible when it's enabled for the tenant for its applications that are accessible by the user
[ ] FIDO Set-up wizard should be only visible when it's enabled for the tenant for its applications that are accessible by the user
[ ] SMS and Email recovery options Set-up wizard should be only visible when it's enabled for the tenant

Related to #9572

API to retrieve information related to account recovery has been done. Progress can be seen through [1]
[1] https://github.com/wso2/product-is/issues/9895

API to retrieve information related to account recovery has been done. Progress can be seen through [1]
[1] https://github.com/wso2/product-is/issues/9895

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Added proto file for all services.

When running swagger-codegen to generate server code, it only accepts 1 input file.
So if you want to a single server to handle multiple services, one method is to put all your services into 1 file.
This means that we'll have to keep this all_services.proto file up-to-date with any changes to any *.proto file, but this shouldn't be too expensive (they don't change frequently).

I've found this useful. Can you update it to include the g2p functionality?

Closing, however, the feature is noted in the issue https://github.com/ga4gh/schemas/issues/776


Bash script node installer

Describe the feature request
a bash script that contains all the commands from the tutorial
Describe alternatives you've considered
Description of the alternatives you've considered here.
Additional context
Additional context here.

Hello, i made this pr for the issue, https://github.com/taikoxyz/simple-taiko-node/pull/141

Hello again, currently i m working on the script to install the utils as git, docker if they are not installed, choose between prover and proposer (or both) the make the required changes in .env file. Note that the pr above works for the moment only for prover. I will submit a new pr once the full script is working as expected.

new pr , the node installation (plus docker, git and the utils) is now fully automated, the users can choose to instal a Prover, Proposer or both https://github.com/taikoxyz/simple-taiko-node/pull/142

left a small comment on the PR @tudorpintea999 , thanks!

@tudorpintea999 bump

@2manslkh check my last comment on the pr

hello @d1onys1us is my script used somewhere? thanks


bug in displaying completion list

It is python language server, and I am trying to trigger auto completion by typing class, next I deleted the word and then trigger the completion again. Note that the completion list is different at the second time.

LSP settings
    "show_view_status": false,
    "auto_show_diagnostics_panel": false,
    "diagnostics_highlight_style": "box"

Thanks for opening a new issue for this with this clear repro. You have configured LSP to complete_all_chars and not only_show_lsp_completions, correct?

By the way, @randy3k could you leave some feedback on your diagnostics issue #67 and the proposed PR #96 ?

complete_all_chars and only_show_lsp_completions as their default values.

I will find some time tomorrow to response those two threads.

I found one solution from SublimeJEDI: Sublime refuses to update the completion list with LSP completions until we hide the list first. This animation shows the behaviour after this fix, with a single c entered:

I wonder if LSP should differentiate between normal completion and member completion
Without only_show_lsp_completions, normal word completions are inserted where you would expect only members to be shown:

That seems like a really hard problem and language-specific 😞

Agreed.
Feels like completions from language server should get much faster (they can be near-instant).
Then we only have to figure out how to turn off that initial snippet entry (it feels like INHIBIT_EXPLICIT_COMPLETIONS should be doing this already).

but it seems that it now does not show sublime word completions?

I consider it is fixed.

I am also facing the same issue: regardless of the only_show_lsp_completions value, I no longer see the normal word completions from sublime (the ones that are actually present in the initially displayed completion list, which is then hidden and replaced by LSP's completions).
Is there any workaround for this? Am I missing something? I am very used to word regular sublime word completions and I rely on them being first on the list every time I start typing something, but now they are not present at all :(


Plugin generates easy difficulty worlds despite server being set to hard

Running Paper 1.20.6-115-master@9d6f2cc
If I disable the plugin and generate a world, it generates hard. If I enable the plugin, it generates an easy world, and any world after generated using fahare reset is also easy, making us have to manually change the difficulty every time.
It looks like you have some other bugs that are outstanding and this plugin isn't a high priority for you, just leaving it here in case you're ever inclined to fix it up 😄 I appreciate your work supporting the niche hardcore community

Haha yeah been busy with work and moving, appreciate the reports and do plan on tackling them. I wonder if you do something like /execute in minecraft:overworld run difficulty hard if that would fix your issue because I do believe I should be cloning the overworld's settings, but those might be hard to change due to how bukkit derivatives treat all worlds separately

Seems like difficulty wasn't actually being cloned but should be good now. Might still need to make sure the vanilla world has the difficulty set.

I really appreciate you checking it out so quickly! I didn't expect any movement on this.
I did a build myself and while the health/hunger bug is fixed, it looks like the first world generates as hard but after that, it's still generating easy worlds ☹ I'm pretty sure this is an improvement over last version where it only generated easy worlds
Also, using the command you suggested makes it extra confusing. The image attached shows me using /fahare reset then /difficulty then the execute command. It's claiming the difficulty is already hard when difficulty reports it's easy. Changing difficulty with /difficulty hard works fine though.


NSLocationWhenInUsage always returning unavailable

Bug report
Summary
The NSLocationWhenInUsage description always returns unavailable, even on real devices. When I show a MapView from react-native-maps with showUserLocation: true, the user's location is shown, so it is available. react-native-permissions just returns unavailable.
My Podfile:
# ...
permissions_path = '../node_modules/react-native-permissions/ios'
pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse.podspec"
# ...

My Info.plist:
<!-- ... -->
<key>NSLocationWhenInUseUsageDescription</key>
<string>$(PRODUCT_NAME) needs your location to find items near you. A location will only be stored when you choose to by creating a post.</string>
<!-- ... -->

Environment info
react-native info output:
info Fetching system and libraries information...
System:
    OS: macOS 10.15.5
    CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    Memory: 13.85 GB / 32.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 14.3.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.4 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 25, 28, 29
      Build Tools: 28.0.3, 29.0.3, 30.0.0
      System Images: android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.5 AI-191.8<IP_ADDRESS>10548
    Xcode: 11.5/11E608c - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_252 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: 0.62.2 => 0.62.2
  npmGlobalPackages:
    *react-native*: Not Found

Library version: ^2.1.5
Steps to reproduce

Ask for permission using check(PERMISSIONS.IOS.LOCATION_WHEN_IN_USE)
Check result value

Describe what you expected to happen:

It should return blocked, denied or granted on my device.

Reproducible sample code
const result = await check(PERMISSIONS.IOS.LOCATION_WHEN_IN_USE);
if (result === 'unavailable') console.error('permission unavailable')

Screenshot of location being enabled in settings:

In the app it still returns unavailable. Geolocation, Maps, etc. APIs work fine.

Might be similar to https://github.com/react-native-community/react-native-permissions/issues/463
Try to run https://github.com/zoontek/rn-location-permission-example on your device.

@zoontek Yes, the example works fine for me, but I'm not doing anything else in my app than in the example app. Are there any known issues causing this?

Are you sure everything in ran in sequence?
check permission -> denied -> request permission -> granted -> only then starts geolocation service / display map

Yes, because the check function already returns unavailable. If I try to call geolocation after check returns unavailable, it displays the correct position. It's just the permissions API that's not working I'm guessing

I just gave it a quick try and it works perfectly.

My issue is different somehow: the permission check is OK, the geolocation watcher start but I can't have my position on the map (maybe related to Apple Maps vs Google Maps)

react-native-maps seems to have few issues regarding user location, but if a watch the geolocation and place a marker it works quite well.
No issues with permissions.
Could you create a repository with the minimum amount of code to recreate your issue?

@zoontek hmm, apparently it is an issue on my side. I don't know what's causing it, but on a clean repository with minimal code I can't reproduce the issue..
I'll keep you updated.

@mrousavy hi!
Did you manage to find the root cause of the issue?
After disabling hermes we also start facing this problem..


FIXING ISSUE ##1456  make the login page more consistent

fix : #1456
I made the login and the sign up page on a single page and made the transition in between them rather than having a new html file for each

@anuragverma108 hi sir, pls review my PR

@OKpoorav Attach SS

here is the image of the new login and register page

@PriyaGhosal Please check the ss attached

Conflicting files
register.html
@OKpoorav Please resolve the conflicts in the mentioned files. Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!


Fix escaped like wildcards

Which issue does this PR close?
Closes #415
Rationale for this change
It is explained in the Issues linked above.
What changes are included in this PR?
Added a new function that replaces the like wildcards '%' and '_' for the regex counterparts before executing them. It also takes into account that the wildcards can be escaped, in that case, it does remove the escape characters and leaves the wildcards so that they are matched against the raw character.
This is implemented iterating over all the characters of the pattern to figure out when it needs to be transformed or not.
Are there any user-facing changes?
N/A

Codecov Report

Merging #2258 (46f80b5) into master (3032a52) will increase coverage by 0.00%.
The diff coverage is 94.54%.

@@           Coverage Diff            @@
##           master    #2258    +/-   ##
========================================
  Coverage   82.29%   82.29%
========================================
  Files         243      245     +2
  Lines       62443    62737   +294
========================================
+ Hits        51387    51629   +242
- Misses      11056    11108    +52

Impacted Files
Coverage Δ

arrow/src/compute/kernels/comparison.rs
93.89% <94.54%> (-0.01%)
:arrow_down:

...row/src/array/builder/string_dictionary_builder.rs
90.64% <0.00%> (-0.72%)
:arrow_down:

parquet/src/encodings/encoding/dict_encoder.rs
90.74% <0.00%> (-0.49%)
:arrow_down:

...rquet/src/arrow/record_reader/definition_levels.rs
88.60% <0.00%> (-0.43%)
:arrow_down:

parquet/src/column/writer/mod.rs
92.85% <0.00%> (-0.15%)
:arrow_down:

arrow/src/array/mod.rs
100.00% <0.00%> (ø)

arrow/src/array/array_fixed_size_list.rs
92.91% <0.00%> (ø)

parquet/src/arrow/arrow_writer/byte_array.rs
76.72% <0.00%> (ø)

parquet/src/arrow/arrow_writer/mod.rs
97.66% <0.00%> (+0.01%)
:arrow_up:

parquet/src/arrow/arrow_reader.rs
95.12% <0.00%> (+0.12%)
:arrow_up:

... and 9 more

Help us with your feedback. Take ten seconds to tell us how you rate us.


Network: Don't depend on kernel for ipvlan NIC cleanup

Detach ipvlan interface back to random host name on stop, then delete.
Fixes #8427

jenkins: test this please

https://jenkins.linuxcontainers.org/job/lxd-github-pull-test/2816/ is the actual ongoing test

Testsuite passed


Unable to stub method with required keyword arguments

When attempting to stub a method that contains required keyword arguments as such
class Foo
  def test(test:)

  end
end

describe Foo do
  it "should stub required keyword argument method" do
    allow_any_instance_of(Foo).to receive(:test).and_return("bar")

    b = Foo.new
    expect(b.test).to eq('bar')
  end
end

the following error is raised
  1) Foo should stub required keyword argument method
     Failure/Error: expect(b.test).to eq('bar')

     ArgumentError:
       Missing required keyword arguments: test

It doesn't seem like expected behavior to me, so I can try to write up a fix for it if you're interested.

b.test is an invalid method call, though.

Agh, I should've caught that on the sample spec. I modified the original spec that showed this issue but I'm sure it must've been something similar. Thanks for catching this!


Test trained model with our own data?

Hi @rickyxume,
Just read your article and follow the code along, but i'm curious on how to test the trained model with our own data. Do we still need to do the pre-processing step, converting extracted asm opcodes into image? If so, how do we do that with a .txt files?
Thanks.

To the first question, my answer is yes. So far, if you want to test the trained MalwareViT model, you have to do preprocessing, i.e., convert the asm opcodes into images.
For the question of what to do with .txt files? You can take a look at this notebook gen_asm_img.ipynb. There are some examples inside.
I'm glad you follow my work. Hope it helps.

Hi @rickyxume,
Just read your article and follow the code along, but i'm curious on how to test the trained model with our own data. Do we still need to do the pre-processing step, converting extracted asm opcodes into image? If so, how do we do that with a .txt files?
Thanks.

To the first question, my answer is yes. So far, if you want to test the trained MalwareViT model, you have to do preprocessing, i.e., convert the asm opcodes into images.
For the question of what to do with .txt files? You can take a look at this notebook gen_asm_img.ipynb. There are some examples inside.
I'm glad you follow my work. Hope it helps. @bobbyhaliwela


Added missing fromStart to JSON

https://trello.com/c/QgD1o0pG/84-test-nullreferenceexception-in-ongetcontactsstarted

@diablo23q, SOOMLA is very appreciated you for the contribution.
We'll give your commit in this branch: https://github.com/vedi/unity3d-profile/commits/nre-getcontacts-3980
It will be merged into SOOMLA master in the next release.


LSP doesn't support references in tsconfig

Here are some quick steps to reproduce. If I had more time I'd provide a more stripped-down example.

Make a new app from a vite template. The react-ts template sets up an app that uses tsconfig files with references.

yarn create vite my-app --template react-ts
cd my-app
yarn

Open it in VSCode and open ./src/main.tsx. You'll see this error:

Cannot find name 'document'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.typescript(2584)

❗ This issue does not show up when the civet VSCode extension is disabled.

Be confused because ./tsconfig.app.json does include the dom in the lib compiler option and no changes to ./tsconfig.app.json seem to have any effect.

Fix the problem by moving ./tsconfig.app.json to ./src/tsconfig.json and updating reference to it in ./tsconfig.json

Open ./src/main.tsx and observe the problem is fixed. (there are other problems, but those can be addressed by updating civet config and/or ./src/tsconfig.json.)

Thanks for the report! I'll need to study exactly how reference is supposed to work. If you (or anyone else) has cycles to work on this, it'd be much appreciated.

I wish I did have free cycles to dig in. I was mostly filing the issue to document it for the next person who runs into the problem.


Python 3 support

Great little library, exactly what I need!
I've seen that Python 3 is supported in the develop branch. Any plans on updating the package in PyPI?
Thanks.

Seconded.  @jayvarner could you make a new release and publish on pypi?  It would be helpful for me as well.  I've been installing from my fork on GitHub, but it would be much nicer to use an actual release.

@versae I got permission from Emory to take over maintenance.  I'll try to get a new release published soon.

Great news! Thanks.


Ensure DocumentChooserBlock can be deconstructed for migrations

Fixes #8989. Now that DocumentChooserBlock is constructed dynamically via wagtail.documents.viewsets.chooser, we need to explicitly set its __module__ attribute so that the result of calling deconstruct() for migrations points back to the wagtail.documents.blocks module.
Also update the documentation for defining custom choosers, and add tests for deconstructing the other chooser blocks.

:+1: Merged with blackening of the docs change + changelog entries in a6a94a9a04a70334db73672024f9cafb99f5e0c9.

Cherry picked to 4.0 stable<PHONE_NUMBER>f5ca7e9e0e890f0f9dfe53be59b66d


I can't use get_ept_pte()

When I use get_ept_pte(), it causes a BSOD which "system thread exception not handled".
I use "physical_address = MmGetPhysicalAddress((PVOID)addr).QuadPart & 0xFFFFFFFFFFFFF000" to find the physical_address page.
When I use "ept_pte* pte = get_ept_pte(ept, physical_address, true);", it can return a non-zero pointer.
But when I access any member of pte, such as "pte->execute_access", it causes BSOD.

Hi, are you calling MmGetPhysicalAddress() from root-mode?

here is the code
void test_pte() {
PVOID addr = allocate_contignous_memory(0x1000);
NT_ASSERT(KeGetCurrentIrql() <= APC_LEVEL);
for (unsigned long i = 0; i < hv::ghv.vcpu_count; ++i) {
auto const orig_affinity = KeSetSystemAffinityThreadEx(1ull << i);
UINT64 physical_address = MmGetPhysicalAddress((PVOID)addr).QuadPart & 0xFFFFFFFFFFFFF000;
ept_pte* pte = hv::get_ept_pte(hv::ghv.vcpus[i].ept, physical_address, true);
if (pte) {
//DbgPrint("execute_access %I64X\n", pte->execute_access);
__try {
DbgPrint("execute_access %I64X\n", pte->execute_access);
}
__except (1) { DbgPrint("error\n"); }
}
else {
DbgPrint("pte error\n");
}
KeRevertToUserAffinityThreadEx(orig_affinity);
}
}
NTSTATUS driver_entry(PDRIVER_OBJECT const driver, PUNICODE_STRING) {
DbgPrint("[hv] Driver loaded.\n");
if (driver)
driver->DriverUnload = driver_unload;
if (!hv::start()) {
DbgPrint("[hv] Failed to virtualize system.\n");
return STATUS_HV_OPERATION_FAILED;
}
if (ping() == hv::hypervisor_signature)
DbgPrint("[client] Hypervisor signature matches.\n");
else
DbgPrint("[client] Failed to ping hypervisor!\n");
test_pte();
return STATUS_SUCCESS;
}

You can't call get_ept_pte() from non-root mode, since get_ept_pte() internally reads physical memory using the host page tables (host_physical_memory_base). Make your function into a hypercall, and do your stuff there.

thank you so much, I will try that later


When entering visual mode after starting multiple-cursors, the selection column is off by one

Current behavior:
https://github.com/brenton-leighton/multiple-cursors.nvim/assets/21299126/dbf33e55-8946-4b83-8703-7ad2429379f7
Changing the following line seems to fix the issue, but I'm not sure if it has unwanted side-effects:
diff --git a/lua/multiple-cursors/normal_mode_change.lua b/lua/multiple-cursors/normal_mode_change.lua
index b3e978d..dacc486 100644
--- a/lua/multiple-cursors/normal_mode_change.lua
+++ b/lua/multiple-cursors/normal_mode_change.lua
@@ -75,7 +75,7 @@ local function _v()

     -- Save cursor position as visual area start
     vc.visual_start_lnum = vc.lnum
-    vc.visual_start_col = vc.col
+    vc.visual_start_col = vc.col - 1

     -- Move cursor forward if there's a count
     if count > 0 then

Behavior after this change:
https://github.com/brenton-leighton/multiple-cursors.nvim/assets/21299126/7fbc5926-80c0-42ff-a550-d773504534c7

This doesn't happen for me on Neovim 0.9.4, which version are you using?

NVIM v0.10.0-dev-2751+g19d63563e1

Does your cursor move forward when you use the v command?

Nope, it stays in place until I move it with h/j/k/l.

I just noticed another thing that happens: when I've entered visual mode and press v again to return to normal mode, my "real" visual selection goes away as expected, but the virtual visual selections remain:
https://github.com/brenton-leighton/multiple-cursors.nvim/assets/21299126/7ef52b5e-a266-4732-ad2c-2d92cdb3e911

I think this is a compatibility issue with which-key. I noticed that if I wait a moment after pressing v before pressing l, the issue doesn't happen. I believe it's due to which-key overriding default mappings, leading to needing to wait for timeoutlen milliseconds for the mapped sequence to complete.

I think the original issue is a compatibility issue with which-key.
I noticed that if I wait a moment after pressing v before pressing l, the issue doesn't happen. I believe it's due to which-key overriding default mappings, leading to needing to wait for timeoutlen milliseconds for the mapped sequence to complete.

OK thanks. Is there any issue with it being disabled/re-enabled with pre_hook/post_hook?

I just noticed another thing that happens: when I've entered visual mode and press v again to return to normal mode, my "real" visual selection goes away as expected, but the virtual visual selections remain:

Yeah I noticed that too. It's because v in visual mode isn't handled but it should be easy.

After searching through which-key's docs, it does not appear to have a way to disable it after setup has been called. There's an open issue for this: https://github.com/folke/which-key.nvim/issues/548.
However, it does have a way to disable it for certain operators, like v:
-- make sure to run this code before calling setup()
-- refer to the full lists at https://github.com/folke/which-key.nvim/blob/main/lua/which-key/plugins/presets/init.lua
local presets = require("which-key.plugins.presets")
presets.operators["v"] = nil

I tested this and it does fix the issue.
Do you think there is any way this plugin could be made compatible with which-key by default? If not, I suppose this is an acceptable workaround.

Can you see if it works with this branch? I think I made an error in setting the key maps which would fail to replace local buffer key maps.

Unfortunately, it still has the issue.

Can you show me the output of :lua vim.print(vim.fn.maparg("v", "n", false, true))?

The output is vim.empty_dict()

From what I can see it's not a problem with the mapping, I think there's something in which-key that delays calling the function for certain commands. When you use the v command and then a motion before timeoutlen, the function for the motion command is called before the function for the v command.
Temporarily setting timeoutlen to 0 would be a workaround, but it means <Leader> key maps won't work.
I don't think there's anything I can do, I think the best solution is for which-key to implement disable/enable functions.

That's okay, I think adding a section to the README about this workaround would be sufficient.


fix(date-picker): filter out non-DOM props to prevent console errors

Closes #2823
📝 Description
This PR addresses console errors that appear when unrecognized props are passed to the DOM elements in the DatePicker. Props like placeholderValue and hideTimeZone are now handled to prevent them from being passed to the DOM.
Test Steps

Display a DatePicker with the following setup:

  return (
    <DatePicker
      isRequired
      hideTimeZone={true}
      label="Activity date"
      placeholderValue={now(getLocalTimeZone())}
    />
  );
};

Open the calendar and verify that no warnings are displayed.

Before
https://github.com/nextui-org/nextui/assets/76232929/cc4a617c-bf1f-4e64-8e07-cf51f029ea24
After
https://github.com/nextui-org/nextui/assets/76232929/80206116-36cd-4021-90b8-54651b66f33d
⛳ Current behavior (updates)
Passing unrecognized props like placeholderValue and hideTimeZone to the DatePicker triggers console errors.
🚀 New behavior
Unrecognized props are now filtered out before rendering, preventing any console errors.
💣 Is this a breaking change (Yes/No):
No.
📝 Additional Information

Summary by CodeRabbit

Bug Fixes

Improved error handling in the DatePicker component to prevent console errors related to inappropriate prop types.

Refactor

Enhanced type declarations and function return types in DatePicker functionalities for better code clarity and reliability.
Updated value handling in DatePicker to ensure more robust and fault-tolerant input processing.

Tests

Added new props and console spies for comprehensive testing coverage in the DatePicker component.

@wingkwong
I've tightened type constraints in the useDatePicker hooks without using the as keyword.
This should statically prevent the problem in the future.

@ryo-manba maybe also check once in useCalendar

@wingkwong
Thanks for the comment. I added a test.


Dot is not always stay at the end of the progress bar

I've noticed the dot is not always at the end of the progress bar (probably only when progress bar is not at constant speed).
I encounters that when uploading file.

@shiyu3169 can your share your config and maybe some screenshots or gifs? Does this happen on IPhone XS in Chrome?

It is happening on WIndows 10 latest chrome (Version 85.0.4183.83).
"vue-ellipse-progress": "^1.2.0"
Here is my setting in the component:
   <vue-ellipse-progress
        :progress="uploadingProgress"
        :angle="90"
        :size="140"
        color="#FF354D"
        :thickness="2"
        :emptyThickness="0"
        dot="10 red"
      >
         %
      </vue-ellipse-progress>

Where uploading process is from Axios uploading process
 onUploadProgress: function (progressEvent) {
        var percentCompleted = Math.round((progressEvent.loaded * 100) / progressEvent.total)
        store.commit("Instapro/Vod/setUploadingProgress", percentCompleted)
      },

@shiyu3169 thanks, i will take a look at this tonight

@shiyu3169 I just checked your config and I cannot reproduce this behavior, everything works as expected. Do you see some lags in the animation? Are you working on slow machine? Are you sure that nothing affects the dot transition value in your app? I would recommend you to inspect the dot in your browser. By default the element with the class ep-circle--progress__dot-container should have the following CSS:
    transition-duration: 1000ms;
    transition-timing-function: ease-in-out;
    animation-duration: 1000ms;

This must be consistent with the values of progress circle.

Closing due to inactivity


tumbler tags

View all tags on a Tumblr post without clicking “see all”

@harshita214 please assign this issue to me

Sure , can you explain this issue more briefly with its working

This is a Chrome Extension that lets you browse your Tumblr - Dashboard in a style similar to Pinterest which means you have multiple columns of posts that are nicely aligned, so more information fits on your screen. You can customize the look of your dashboard through the settings of the extension

You can take 2 days, its alright 👍


google drive fstab entry slows down boot after upgrade to linux Mint 21.1

Hello,
after an upgrade to Linux Mint 21.1 Vera and google-drive-ocamlfuse, version 0.7.30 the boot procedure takes very long (~90-120 seconds). Before it was around 15-20 seconds.
Here is the suspect log entry from /var/log/boot.log. During boot it pauses at that point.
[***   ] A start job is running for /home/mike/cloud/GoogleDrive (30s / 1min 34s)
and the entry in /etc/fstab:
gdfuse#gdrive /home/mike/cloud/GoogleDrive     fuse    uid=1000,gid=1000,allow_other,user,_netdev     0       0
uname -a:
Linux nucki 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Any hints on how to improve boot performance?
Thanks!
PS: I've also running automount (autofs) configured to mount NFS folders on a QNAP NAS.

Removing the fstab entry seems to fixed the problem. Drive is still mounted and boot time is back to normal


Error: unrecognized keyword argument "density"

Hello,
I tried to plot a histogram with relative frequency by using the keyword argument "density". The code were as follows:
plot(x=X, Geom.density, Geom.histogram(density=true))
Bug?
/Gus

I missed that the same question were asked just two weeks ago. The fix can be found here https://github.com/dcjones/Gadfly.jl/commit/5b9d72fa040c45b3017d8a3cb00ef5df125d8f5b


Position Reseting when Full Screen is toggled

Using Firefox, I'm finding that if I put the display at the bottom of my screen it will get shunted upwards and stay there when I toggle between full screen.

Yeah that's an expected behaviour at this point; listening for and reacting to viewport changes is something I've toyed with but so far it's been not worth the effort it would take to make it work right. May revisit if I get a larger chunk of dev time in the future.


[Suggestion] Provide a way to opt-out strict object literal check for a specific property

TypeScript Version:
1.8.10
Problem
Sometimes we want to opt-out strict object literal check for a specific property. Some types have large amount or even unlimited number of properties, and we only want to model the most frequently used ones. However when we do use an unmodeled property in an object literal, the compiler  complains. E.g.:
interface AttrBag {
  id?: string;
  style?: string;
  title?: string;
  'class'?: string;
}

function setAttrs(el: Element, attrs: AttrBag) {
  //...
}

setAttrs(document.createElement('a'), {
  title: 'foo',
  href: 'bar', // error
  'data-x': 'y', //error
});

Existing solutions
Existing solutions have some limitations:

Add a type assertion for the object literal. This turns off object literal check entirely, which is undesirable, e.g.:

setAttrs(document.createElement('a'), {
  titile: 'foo', // typo, but no error
  href: 'bar',
  'data-x': 'y',
} as AttrBag);

Augument the interface for all used properties. This is heavy weight for infrequently used properties; and more importantly, the effect is usually global and can't be undone in a specific source file.

Proposed solution: "additional property" modifier
If a property name in a object literal is modified with + ("additional property" modifier), and it doesn't exist in the target type, compiler should skip strict object literal check for this property, and treat this property as optional. E.g.:
setAttrs(document.createElement('a'), {
  title: 'foo',
  +href: 'bar', // OK
  +'data-x': 'y', // OK
});

// The type of attrs is { title: string, href?: string, 'data-x'?: string }
var attrs = {
  title: 'foo',
  +href: 'bar',
  +'data-x': 'y',
};

attrs = {  // OK
  title: 'bar',
};

Why not add an index signature to the original type?
Details:

http://www.typescriptlang.org/docs/release-notes/typescript-1.6.html#stricter-object-literal-assignment-checks
https://github.com/Microsoft/TypeScript-Handbook/pull/211

Because index signature effectively turns off strict object literal check, much like type assertion:
interface AttrBag {
  id?: string;
  style?: string;
  title?: string;
  'class'?: string;
  [index: string]: any;
};
function setAttrs(el: Element, attrs: AttrBag) {
  //...
}
setAttrs(document.createElement('a'), {
  titile: 'foo', // typo, but no error
});

How do you feel about this?
function setAttrs<T extends AttrBag>(el: Element, attrs: T) {
  //...
}

setAttrs<AttrBag & { href; 'data-x'; }>(document.createElement('a'), {
  title: 'foo',
  href: 'bar',
  'data-x': 'y',
});

Yeah, it's a clever solution for passing arguments (the <AttrBag & { href; 'data-x'; }> part can be omitted actually). But for variable assignment, it is a bit verbose:
var attrs: AttrBag & { href?; 'data-x'?; } = {
  title: 'foo',
  href: 'bar',
  'data-x': 'y',
};

And I have no idea what to do with nested object literal:
interface ElementDescription {
  tagName: string;
  attrs: AttrBag;
}

var el: ElementDescription = {
  tagName: 'a',
  attrs: {
    title: 'foo',
    href: 'bar', //error
    'data-x': 'y', //error
  }
};

Well, the type parameter in the function call of the solution @RyanCavanaugh proposed actually should not be omitted, or strict object literal check is also turned off:
function setAttrs<T extends AttrBag>(el: Element, attrs: T) {
  //...
}
setAttrs(document.createElement('a'), {
  titile: 'foo', // typo, but no error
  href: 'bar',
  'data-x': 'y',
});

I suspect developers too easily forget the type parameter when calling the function because of its verboseness.

I think another use case of "additional property modifier" is guiding type inference for optional properties.
Current behavior:
// can't write "var colorList = [{ r: 0, g: 255, b: 0, a: 0.5 }]",
// or the third line has error
var colorList: { r: number; g: number; b: number, a?: number }[]
  = [{ r: 0, g: 255, b: 0, a: 0.5 }];
colorList.push({ r: 255, g: 0, b: 0 });

With additional property modifier, it is a lot cleaner:
// type of colorList is infered as { r: number; g: number; b: number, a?: number }[]
var colorList = [{ r: 0, g: 255, b: 0, +a: 0.5 }];
colorList.push({ r: 255, g: 0, b: 0 });

The language already has support for disabling the excess properties for a whole compilation (--suppressExcessPropertyErrors), for a specific target (adding index signature), for a specific expression (casting to an intersection type). where as i see how these all do not fit this specific scenario, I do not believe that the added complexity (new syntax and concepts for language users to learn, and implementation complexity in the compiler) does not justify the value.


Operation to simply retrieve and output the Terms of Service URL

I would like to be able to display the ToS URL of the configured ACME server without doing anything else. I realise it would be a fairly simple operation to implement as a separate script, however, it would be really nice if dehydrated could handle this directly without the need for additional code.
Is there any chance of a feature like this being added to a future version of dehydrated?

This has now been implemented in 7cc9e2d07f8f1a2a1144e0d865dbf8fec75806d3.


Add drop-down selectors with multiple values

Description
Hi,
When I use selectors, there isn't a combination that lets me have a multiple-value selector that is also a drop-down.
Solution Proposed
Something like drop-down and check boxes for example. The following doesn't give an error but also doesn't "work":
tgb.selector
    (...
        multiple=True,
        dropdown=True,
        mode="check",)

Another thing that could be great, is if the callback is only called after I select/unselect all my values (when I go out of the drop-down list). Right now, every time I check a box, it calls on_action, so if I check (or uncheck) a lot of boxes, it calls the Callback many times.
Impact of Solution
To give an example, I used a side pane to hold a long list of checkboxes, but it would have been quicker to have this drop-down list, and also more efficient.
Additional Context
No response
Acceptance Criteria

[ ] Ensure new code is unit tested, and check code coverage is at least 90%.
[ ] Create related issue in taipy-doc for documentation and Release Notes.
[ ] Check if a new demo could be provided based on this, or if legacy demos could be benefit from it.
[ ] Ensure any change is well documented.

Code of Conduct

[X] I have checked the existing issues.
[ ] I am willing to work on this issue (optional)

Is your issue with checkboxes or dropdown+multiple in general? You should be able to create a selector with a dropdown, and multiple equal to True at the same time.

Hi Florian,
I think this is what I mean: If your list of values is long (imagine, the 50 values like American states), and they're all selected, your dropdown becomes so crowded that it's almost "theoric". It would be great if you could have a selector that displays a label (eg "Select States"), and when you click on it, it drops down and you select the states.
And even greater if it only calls the Callback when you're out of the selector (not each time you select/unselect a single value)
Checkboxes are not the most important, I like them, but it could be done with color gradients like the default.
The feature request is more on the display than on the functional side. Except for the Callback behavior, that is functional.
I hope this makes sense :) Here is how a crowded list looks, it takes too much space in the app:

I like it! I also had an issue with this. It would also be great to have a "All" option that will check everything

@KunjShah95 You are already assigned to another issue. For hacktoberfest, we only assign issues one at a time. Please submit a PR on the other issue first, or remove your assignment.
Thank you.

@FlorianJacta can you assign this task to me.

hey @FlorianJacta can you assign this issue to me?
I am a first-time contributor to Hactoberfest. I would want to work on this issue.

I will assign @JagjeetChauhan, as he was the first one to ask for this issue. Thank you for taking care of it
@mohammed-anwar404, there are many more issues on our repo!

Thankyou @FlorianJacta

pls ssign it to me @FlorianJacta

@durveshwagh11, sorry, this issue has already been assigned. You have many more to take in this repo

assign it to me

@FlorianJacta If inactive, I can resolve this issue.

Here you go @akanshSirohi

/assign

please assign it to me

@FlorianJacta Any suggestions on this approach? I'm just getting started and exploring the project, so I came across this approach we can use.

That could do the trick! What do you think @FabienLelaquais ?

@FlorianJacta, you can check out the branch feature/#1834-add-compact-dropdown-checkbox-support.
I have added functionality to support the requested feature. Now, this syntax can be used:
tgb.selector(
    ...
    multiple=True,
    dropdown=True,
    mode="check",
)

Any suggestions would be helpful for me to continue working on this, including anything else I might need to add or change.

Can you create the PR and mention @FredLL-Avaiga and @FabienLelaquais ?

Would it work if we define a new property that would make the dropdown selection display only the number of selected items
show_multiple_selected: boolean
True: actual way of displaying selection
False: display the number of selected items
@enarroied @FlorianJacta @FabienLelaquais ?

Had a short talk with @FredLL-Avaiga.
@enarroied, @FlorianJacta please give your feedback on what we propose.

Regarding the crowded field when many items are selected.
We propose to provide a new dynamic property: a string provided by the user, which would be displayed instead of the list of chips should a given condition be met.
I.E. : you want to display a message if more than 5 items are selected.
In the on_change callback, the user would set this property like this:

       if var_name == "my_selection":
           my_selector_message = "{my_selection.len} states selected" if len(my_selection.len) > 5 else None

The property name has still to be defined. message seems a bit vague to me.

Regarding the postponing of the callback invocation.
We propose to provide a new property apply_button (?)  that if set to True (and the selector is dropdown and muliple), will add a 'Apply' button to the UI. The action of this button will close the popup and invoke the on_change callback.

We also have to decide anything on a 'Select all'/'Select None' button of some sort that to me make a lot of sense.

What do you think?

This seems great to me. Would we lose the styling when just a few values are selected? Normally, values are put inside a little container.
I would love to have this "Select All"/"Select None" button; this happens a lot in apps

HI. Yes I like the ideas.
Select All / None would be a nice improvement.
Will users be able to exit the drop-down selector after changing selections but without validating them (and then no callback is triggered either)?

This seems great to me. Would we lose the styling when just a few values are selected? Normally, values are put inside a little container.

The legacy behavior needs to be maintained. So I guess the answer is yes.
I mean no.
Well you get the point right?

I would love to have this "Select All"/"Select None" button; this happens a lot in apps
Sure. That's a bit tricky in terms of UI though. but ok.

HI. Yes I like the ideas. Select All / None would be a nice improvement. Will users be able to exit the drop-down selector after changing selections but without validating them (and then no callback is triggered either)?

I guess click outside / ESC can do that.
But then... your variable is not aligned with the selection.
This action should not impact the selection bound variable whatsoever... and your selection is lost (remains what it was when you first opened the popup).
Would that work for you?

Yes, I think that if you don't trigger the callback, the bound variables shouldn't be updated; both go together. The only "risk" I see with losing selection clicking outside is that it could be less intuitive, but I think users would get used to it.
You could also have the opposite, a "Cancel" button (or another name) that leaves the selection as it was before and doesn't trigger the callback. And let the variables update and the callback trigger happen when the user closes the selector. But either way makes sense to me.
Also, I think the the select all / none should be pure front-end elements, that check/uncheck all boxes. The reason is that we often use these to clear a selection to select a new set, or we select all to then select "all but one".


Update hyperlink in Custom Prompt Template page

The current link points to a non-existent page. I've updated the link to match what is on the "Create a custom example selector" page.

It doesn't look like I have access to edit the labels of this pull request, but I believe it should receive the "documentation" label


resize pixelTriplet kernels

for SDL::createPixelTripletsInGPUFromMapv2 (on V100; 20 events) time reduced from  3.04ms to 1.23 ms by changing to  nThreads(32,4,1); nBlocks(1,4096,1);

Here the outer y loop typically goes over 0.2 - to 0.5 million entries;
the innermost loop varies : 83% is below 16 (not counting zeros); around 8% goes above 32; 1% is above 128. So, there will still be some tails of lonely threads.
Still, a factor of 2.5 speedup is almost for free
I went up to 16384 blocks in y and down to only 32-x in block size; these had worse times

removeDupPixelTripletsInGPUFromMap has a bit odd behavior; it's a loop of N*N, where N is around 300 to 800. It writes to bool isDup[N] to the outer index.
The cost of computation inside the kernel thread seems small.
I find that the smallest time is achieved with nBlocks smaller than number of SMs.
nBlocks(1,40); nThreads(32,32) runs faster than nBlocks(1,80); nThreads(32,32): time changes from 0.117ms to 0.085ms.

times go up by a factor of 2 with more blocks
I'm guessing there is something with memory coherency in cache that could slow things down: either the writes happen to the same cache line but different location, or perhaps even the same location.
We are writing only "1" in this case and it wouldn't matter which thread value makes it. Is there a way to tell it to the compiler or GPU runtime?

Since my setup is on phi3, I think that it would be better to get reference timing values from lnx/Cornell.

validation including PR #143:  https://www.classe.cornell.edu/~mgr85/www/SegmentLinking_keep/PR152/eff_plots__GPU_explicit_cache_516229d_PU200/


Fix asyncSlot not returning future

Fixes #14.
See CabbageDevelopment/qasync#5.

The AppVeyor tests are failing on Python 3.8; this is also an issue in qasync, which I haven't managed to fix yet.


[Merge] MONDO:0010128 and MONDO:0022913

Mondo term (ID and Label)
MONDO:0010128 and MONDO:0022913.
Reason for deprecation
OMIM 274240 is Cutler-Bass-Romshe Syndrome  according to the shared citation referenced in OMIM and https://link.springer.com/referenceworkentry/10.1007/978-3-319-66816-1_1823-1
Term to be merged with
not sure which should be kept, but the capitalization of Cutler-Bass-Romshe Syndrome should be corrected in Mondo (cutler bass Romshe syndrome)
Your nano-attribution (ORCID)
If you don't have an ORCID, you can sign up for one here

I see Orphanet also considers them synonymous: https://www.orpha.net/consor/cgi-bin/OC_Exp.php?Expert=3327

Request to merge Cutler-Bass-Romshe Syndrome MONDO:0022913 into 'thyrocerebrorenal syndrome' MONDO:0010128 is based on OMIM 274240 and Orphanet https://www.orpha.net/en/disease/detail/3327 cited above will remove the duplicate concept.


[tests-only][full-ci] cleanup ocis/oc10 parallel-deployment tests

Description
This PR cleans up tests and files related to ocis/oc10 parallel-deployment.
Related Issue

Related to: https://github.com/owncloud/ocis/issues/9870

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[ ] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation ticket raised:

LGTM. let's wait for @ScharfViktor . @prashant-gurung899 Please, mark issue #9870 as fixed in this PR (that should automatically close the issue)

Sure. :+1:

@prashant-gurung899 Could you also check: https://github.com/owncloud/ocis/pull/9914#discussion_r1741532784


Overlay for Coq PR 14224

Not sure why I get this error.  pCUICSafeChecker.ml is compiled.
CAMLOPT -c -for-pack Metacoq_safechecker_plugin src/g_metacoq_safechecker.ml
File "src/g_metacoq_safechecker.mlg", line 10, characters 5-21:
Error: Unbound module PCUICSafeChecker
Command exited with non-zero status 2

The error in CI is different:
  File "src/g_template_coq.mlg", line 16, characters 41-151:
  Error: Error: This expression has type
           < constant : 'a; dterm : 'b; level : 'c; name : 'd; pattern : 'e;
             reference : 'f; tacexpr : 'g; term : 'h >
           Ltac_plugin.Tacexpr.gen_tactic_arg
         but an expression was expected of type
           < constant : 'i; dterm : 'j; level : 'k; name : 'l; pattern : 'm;
             reference : 'n; tacexpr : 'o; term : 'p >
           Ltac_plugin.Tacexpr.gen_tactic_arg CAst.t

And it looks a lot more related to your change :) (I have no idea what it means though)

That is to be expected, not a problem.  I changed that line to match a breaking change in Coq 14224.

My error message appears in the Coq CI job for metacoq.

Ah, it worked in Coq's CI as-is.


You need multiple milk jars

Minecraft Version: 1.12.2
Forge Version: <IP_ADDRESS>38
Mod Version:6.4.71
What is wrong: To make cake you need 3000mb of milk, but you need to have 2 jars in your kitchen and they both need to have at minimum 1000mb of milk
What you expected to happen:Only needing 1 jar that has 3000mb of milk in it.
Additional notes:

I can replicate this. Cake doesn't show up in the Cooking Table unless two Cow in a Jars are present in the multiblock. I have all the same versions as the OP.

I know this isn't really the issue here, but how about an industrial milker? (maybe something more for Farming for Blockheads though)

Same problem with XLFoods Mod, Cheese takes 6 Milk buckets... (Thats the only ingredients)  I put 8 empty buckets in the Fridge, and had a Full Cow, but it wouldn't make it.  So I added 3 more Cows in a jar, and even with 4 cows full it wont' craft.  Unless I tossed 2 full buckets of milk into the fridge.  I suppose I need to go get 2 more cow jars to make it work.


Dashboard: No wanted items instead of blank

If I use dashboard "Show couchpotato" and have no wanted movies the dashboard should be something like "No wanted movies" instead of just a blank field.

Seems that some browser refreshes fixed these. Now showing: "No wanted movies found" and "No future episodes found"