Unable to get ui-select to work

Hi,
I'm trying to get ui-select to work in my angular project but i'm unable to get the dropdown box to show the  data. I'm pretty sure that the data is returned and actually available because the drop down is showing with some empty lines. Occasionally when i select an empty line a actually can see the value in the input field. I'm unable to find out what is going on and struggling already the whole day with this problem. I don't get any errors in the console output. Help appreciated:
this is the div containing the ui-select tag. I have no  anywere

{{label}}
	items:{{items|json}}
	infoby:{{model}}

controller that is used
angular.module('summary').directive('careproviderSearchCtrl', ['RestCall',
function(RestCall) {
return {
restrict: 'A',
controller:function($scope) {
$scope.findByName=function(filter, cb) {
$scope.items=[];
console.log("careproviderSearchCtrl findByName:" + filter);
var rest = new RestCall('Careprovider');
var params = new _$$.CRUDFindParams();
params.filter = "likeName";
params.context = {name:filter};
				if( filter && filter.length > 1) {
					// execute query
					rest.find(params, function(err,data){
						if(cb) {
							cb(err,data);
						}
						else {
							$scope.items=data;
						}
					});
				}
      		}
		}
	}
}

]);

angular.module('summary').directive('careproviderSearchCtrl', ['RestCall',
	function(RestCall) {
		return {
			restrict: 'A',
			controller:function($scope) {
	      		$scope.findByName=function(filter, cb) {
	      			$scope.items=[];
	      			console.log("careproviderSearchCtrl findByName:" + filter);
					var rest = new RestCall('Careprovider');
					var params = new _$$.CRUDFindParams();
					params.filter = "likeName";
					params.context = {name:filter};

					if( filter && filter.length > 1) {
						// execute query
						rest.find(params, function(err,data){
							if(cb) {
								cb(err,data);
							}
							else {
								$scope.items=data;
							}
						});
					}
	      		}
			}
		}
	}
]);

	{{label}}
	items:{{items|json}}
	infoby:{{model}}

		<input class="form-control" type="text" list="listid" ng-model='filter' ng-change="refreshItems(filter)">
		    <datalist id='listid'>
		       <option ng-repeat="item in items" label="{{item.name}}" value="{{item.name}}" ng-selected="{{model=item._id}}">
		    </datalist>
		</input>

´´´```

{{label}}
    items:{{items|json}}
    infoby:{{model}}

´´´```

	{{label}}

		<ui-select ng-model="model"
             theme="bootstrap"
             ng-disabled="disabled"
             reset-search-input="false"
             style="width: 300px;">
    	<ui-select-match placeholder="{{placeholder}}">{{$select.selected.name}}</ui-select-match>
    	<ui-select-choices repeat="item in items"
             refresh="refreshItems($select.search)"
             refresh-delay="500">

    	</ui-select-choices>
		</ui-select>

I have the same problem on my side.
This line is causing the problem.

You can look at your developer tool where angular shows an error about an unsafe html in a safe context.
I solved it by just removing the div with the ng-bind-html and replaced it with just {{ item.name }}
I also removed the highlight: $select.search because it will display the html tags that formats the selected search result. It's because its not using the $sce to actually render it as a safe html.
The div just actually highlight the text and adds a span that bolds the inputed text. It's no use for me so I just go with the plain old ng binding {{ }}

Tried your solution but without success.
So i just replaced {{item.name}} with TEST. When i open the listbox i can now see 1 line with value TEST. However I was expecting 2 lines with value TEST as i have items is a array with 2 entries.
It gets even more confusing:
Every time i select an item from the list and reopen the listbox a new line with value TEST is added. The newline however is not selectable.
Any other ideas?

ng-model binding is incorrect. Please see top question in FAQ https://github.com/angular-ui/ui-select/wiki/FAQs


Merge coroutine-goodness into libs-refactor

Current dependencies on/for this PR:

main

PR #3

PR #4   (this PR)

This comment was auto-generated by Graphite.


bun: install completions

Description of changes
Adds zsh and fish completions for bun.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

@ofborg build bun bun.passthru.tests

ofborg showed a failure on x86_64-darwin, but just confirmed it builds fine.


Fixed #38 and tidied up code here and there

Fixed issue #38 in which the banner only shows up if the preferences dialog has focus, when typing the global shortcut.
The problem had to do with the method -removeDeliveredNotification removing the last notification instead of the earlier one, even though the right notification was being passed to the method. I guess this happens because the property deliveredNotifications returns copies of notifications (Reference).
Looking forward to see the more cleaned up version of the app in swift :)

I'm closing this as everything that this pull request fixes was merged in as part of #56.


MIXEDARCH-442: Add test for nodeAffinity conflict or non conflict

Add test for nodeAffinity conflict or non conflict

Add one testcase for nodeAffinity non-conflicting test
Add one testcase for nodeAffinity conflicting test
Add one testcase for nodeSeletor test
Add one testcase for multiple MatchExpressions test, one has conflicting, another doesn't

@aleskandro @Prashanth684 could you help review again?
for this pr, I was drafting the automation cases first, but I will update polarion case after the pr aprrove.
for others, I will draft polarion testcases first and request review, then automating.

Great job @lwan-wanglin! Just a few other comments to check if we can anticipate some other future needs

/lgtm
/approve


Broken links

All instances of "Run This Sample" are broken links

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

ID: 6638825c-e251-07c2-db62-711e677b8ed2
Version Independent ID: 68488b20-6c17-1a8d-1618-b87aeaac78fe
Content: Easing Functions
Content Source: docs/framework/wpf/graphics-multimedia/easing-functions.md
Product: dotnet-framework
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

Thanks for reporting this issue @tstedel. We no longer have that functionality working so we should remove this link from the topics that are using it.


Roll engine 400e3b00fb4c..dcf7b510434a (1 commits)

git@github.com:flutter/engine.git/compare/400e3b00fb4c...dcf7b510434a
git log 400e3b00fb4c..dcf7b510434a --no-merges --oneline
2019-10-23<EMAIL_ADDRESS>Roll Dart to 635c47b1c9efe86b896d95bd446c6a5e2459037e. (flutter/engine#13315)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Auto-roller completed checks. About to merge.


adds logos

Is this pull request associated with an issue(s)?
No
Description
Uploads the individual logo images.
TODOs
None. R2g.

🚀 [bumpr] Bumped! New version:v0.3.41 Changes:v0.3.40...v0.3.41


Hub and spoke diagram needs correction

The hub should be taking the traffic from the internet (Azure Firewall inbound) and not the spoke. Please check the attached image. I couldn't find the visio/ppt to edit the diagram. Would have raised a PR.

The network topology in this reference implementation does not use Azure Firewall as part of the ingress flow of traffic.  Public internet for workload traffic enters App Gateway (which could live in the hub if desired).  Firewall is for egress traffic (that is, traffic originating in the cluster.)
Azure Firewall and Application Gateway can live in one of three topologies.
Azure Firewall -> Application Gateway -> Compute  && Compute -> Azure Firewall
Application Gateway -> Azure Firewall -> Compute && Compute -> Azure Firewall
Application Gateway -> Compute && Compute -> Azure Firewall.
The third is the topology used in this reference implementation.  Check out this article on the pros and cons and considerations of all three topologies.
All of them are valid use cases.  But the diagram does show what's happening in THIS reference implementation.

Thanks for the clarification @ckittel


README issue for "Managed Identity Support" section

Should Storage and Key vault be added to this list? Might be others like Azure Functions and Cosmos DB?

Can you also link to some doc somewhere "How to set up managed identity?"

We have the "Configuration Settings" in our Troubleshooting guides. https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/TROUBLESHOOTING.md#troubleshoot-managed-identity-authentication-issues Do you think we should still add them to readme?


Reply to this email directly, view it on GitHub
https://github.com/InWorldz/halcyon/issues/419#issuecomment-366100501,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aie1Zk90XRerPuqvoinVJHEGD8s2Sw1xks5tVMHLgaJpZM4R5Tgu.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/InWorldz/halcyon/issues/419#issuecomment-366148329 , or mute the thread https://github.com/notifications/unsubscribe-auth/ACFq_jbI1yCecggINollvpQUE1fYYjjkks5tVRNagaJpZM4R5Tgu .  https://github.com/notifications/beacon/ACFq_tY9U6lkMCt8Ki6cjTjaw4L2bUVlks5tVRNagaJpZM4R5Tgu.gif

If you are using an independent installation of MySQL, and using XAMPP only for Apache, you should be fine. This is the same configuration I am using in my development test environment.
The only concern I have is MySQL 5.7, is it possible that the other machine you didn't have MySQL trouble with (if I follow the tests so far) could it be MySQL 5.5? I'm not sure if anyone has tested it with 5.7; only 5.5 is used on all the machines I'm aware of, as well as the InWorldz beta and main grids.  As I mentioned above, they added authentication plugins in MySQL 5.5.7 which may also be a factor, although I'm running 5.5.32 on my home test machine.

That is actually a good point.  I didn’t pick up that she might have been using a version other than MySQL 5.7 on her other machines.  In fact I didn’t know about the XAMPP until last night.  That may also account for the connection error as they did add the authentication plugins in 5.5.7 (actually I think that process started in 5.5.6 if memory serves me right).  If you downgrade the MySQL Server to 5.5.32 you would also be fine.  Again this would require uninstalling the current server version and Installing 5.5.32.
It might be a good idea to add a note to the installation documentation to use MySQL Server 5.5.32 as opposed to MySQL Server 5.7
From: appurist<EMAIL_ADDRESS>Sent: Friday, February 16, 2018 8:40 AM
To: InWorldz/halcyon<EMAIL_ADDRESS>Cc: Emperor Starfinder<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [InWorldz/halcyon] Halcyon can not work (#419)
If you are using an independent installation of MySQL, and using XAMPP only for Apache, you should be fine. This is the same configuration I am using in my development test environment.
The only concern I have is MySQL 5.7, is it possible that the other machine you didn't have MySQL trouble with (if I follow the tests so far) could it be MySQL 5.5? I'm not sure if anyone has tested it with 5.7; only 5.5 is used on all the machines I'm aware of, as well as the InWorldz beta and main grids. As I mentioned above, they added authentication plugins in MySQL 5.5.7 which may also be a factor, although I'm running 5.5.32 on my home test machine.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/InWorldz/halcyon/issues/419#issuecomment-366237436 , or mute the thread https://github.com/notifications/unsubscribe-auth/ACFq_pwJmOIov3vHoKkcFlM5rrEizXmNks5tVYUhgaJpZM4R5Tgu .  https://github.com/notifications/beacon/ACFq_obL_HJcfBIh4zikaz9JeezS6fxkks5tVYUhgaJpZM4R5Tgu.gif

XAMPP was uninstalled. Halcyon still could not connect to MySQL. I checked my Discover Creo Mundos installation, it is running MySQL 7.5.21-log and runs fine. Ana has MySQL 7.5.20-log installed and wont connect. So I have two nearly identical installations to compare. The plan is to backup her DBs and reinstall MySQL on Monday. That should clear whatever was the problem with MySQL. At that point I expect Halcyon to be able to start up.

Have you tried install MySQL Workbench?  Can that connect?

Have you tried connecting with MySQL Workbench?

9500.log
No  but Frank was  home  shortly  as  he  had  to work  he  did something and then all started only  not the region part  see  part  log.  He  also said what  happend with that DB then he installed a  new  SQL Manager  for MySQL  but then when it  started to work his pager went of and  he  left  but said "what a  mess" and  was gone.
Smiles  be safe all  I think that  log file will help Bob  its  now  adjust the  ports and find what is  now still wrong in the  config  but Frank said also  I remember  whip works all other grid  files but there was some error in the  config and  he needs to work this whole  week, but in this way  Bob has  less  work  MySQL work  perfect now with Bob his info
With  best regards Ana  Green  - PS  maybe  if Bob sees  the log he  knows what to do.  :)

It sounds like he ran another MySQL installer of some kind which may have corrected whatever problem existed with MySQL. The 9500.log file shows a problem loading the region XML file under Regions.  It's probably empty.  If you have one from another installation, just copy that over and perhaps give it a different region UUID, name, location whatever, but this looks like a fairly simple "missing file" like issue.  Except in this case I think it means empty XML file.

Halcyon setup progress
Dear appurist,
You said "It sounds like he ran another MySQL installer of some kind" but I  saw what  Frank did he  used the  same MySQL as before, however  he found a  DB what  had  no username  and  no password, and on top  even no database  name (twice)  he  removed it  re-create  Vin his DB so  that  it would  match and  it  connected. However he also said to me,  a sure backup all and re-install the newest MySQL to date, and that's what  I  did, also Frank said something about something was missing in the  Halcyon.ini file.
This  ::
2018-02-17 18:24:17,968 [ConsoleThread] ERROR OpenSim.Region.CoreModules.ServiceConnectors.User.LocalUserServicesConnector - [USER CONNECTOR]: UserService missing from Halcyon.ini
2018-02-17 18:24:17,984 [ConsoleThread] ERROR OpenSim.Region.CoreModules.Asset.CoreAssetCache - [ASSET CACHE]: AssetCache missing from Halcyon.ini
According to Frank, it needed to be in there.  As for the region file, I let you know.  And  Vin.
With best regards Ana Green

I have been out from Friday to now. Halcyon is set up to work with the MyWorld website I have installed on the server, with the Grid Owner account and one region defined. The simulator will not start without the required data to support it. I had on Thursday backed up the grid DB and removed it while searching for the MySQL problem. I will restore that today shortly which will allow the grid and region to start up. Much thanks to Frank for clearing up the MySQL problem as I simply do not know enough about MySQL to do that level of problem checking in it. But now that is solved, I can get the grid into operation.

I want to profusely Thank each of you that have done all you could to help solve the problem of getting Halcyon running on Ana's server. A significant amount of information was learned in the process. The grid is up and running with one region set up on her Win2012 server.
The real problem that was happening with Halcyon and MySQL turned out to not be related to anything we had suspected. It was much simpler than all of that. It was my own self deception and blindness that could not see until today and took 1 minute of Ricky's help to remove the blindness and I suddenly could see that dsdata was not the same as dsgrid for the database name. In the configuration setup somehow the database name was set to dsgrid while the actual database and all other website references were given dsdata. Yes, it was that simple and I admit to being easily duped by myself into total blindness of the situation for whatever reason. (big head smack!) So now Ana's DreamCastle Halcyon grid is running.
While we still done know the source of the problem on Ana's Win10 computer with not getting the correct data from PhysX, it is at least not a db name mix-up.

Glad to hear the solution was found and the servers are up and running! Thanks for the update.

Thank  you Vinhold,
And thanks to everybody  involved in this  issue  but it seems not to be over yet, as I see on that world map a nice green flat region, I see on the  region itself no textures at all its complete grey, see here  👍

While Vin did show  me a  picture where all was green did we  missed a port to set?  I use Firestorm 5.0.1 (52150) Dec 10 2016 14:44:37 (Firestorm-Releasex64) with OpenSimulator support and Firestorm 5.0.11 (53634) Jan  9 2018 20:02:54 (Firestorm-Releasex64) with OpenSimulator support both  show the same  result, so  I  looked in the  9500  log from Halcyon (log part included) I think there  is  still something wrong  with MySQL,  any  ideas?
Love,
Ana Green

The log sorry :)
Low physics FPS 43.60465.txt

Hi Ana,
Glad to hear you are up and running.  The grey in the picture and the avatar cloud is likely because the viewer is still downloading the textures and the inventory.  When you log into a new grid this sometimes will take a few minutes for Firestorm (or any other viewer for that matter) to download everything and add it to your viewer's cache.  So I would say this would appear to be normal.
Best Regards
Emperor


Description Should tell that thios requires Java runtime!

So I downloaded this extension in the hope that it could format my xml files,
but vscode tell me that it can't find the Java-runtime!!
It is not described anywhere that this requires java.

Well maybe im mistaken that is not this extension that run Java?
In that case the format simple dont due anything..

@alfnielsen you tried  vscode-xml from Red Hat
which required Java, but please install vscode-xml 0.15.0 from Red Hat  *no longer require Java.


Header Parsing Problem?

Hi mobizt,
I'm not sure if I'm missing something, but when receiving messages via IMAP, I can't get any properties populated apart from msg.msgNo and msg.UID. I tried using an ESP32 and ESP8266 (Wemos D1 Mini) with the Read_Single_Email example and library Version 1.0.8. Interestingly debug (333) outputs all the properties (see console output below). With your old library (ESP32-Mail-Client) I am able to access all the properties, but I would like to use the new library. Any help would be greatly appreciated.
Kind regards
Dkalliv
Connecting to IMAP server...

C: ESP Mail Client v1.0.8
C: connect to IMAP server
C: host > imap.swizzonic-mail.ch
C: port > 993
C: starting socket
C: connecting to Server
C: seeding the random number generator
C: setting up the SSL/TLS structure
C: setting hostname for TLS session
C: performing the SSL handshaking
C: verifying peer X.509 certificate
C: certificate verified
IMAP server connected
C: server connected

Get the capability...

C: get the capability
$ CAPABILITY

OK swizzonic-mail.ch CommuniGate Pro IMAP Server 6.2.15 ready
CAPABILITY IMAP4 IMAP4REV1 ACL NAMESPACE UIDPLUS IDLE LITERAL+ QUOTA ID MULTIAPPEND LISTEXT CHILDREN BINARY ESEARCH LOGIN-REFERRALS UNSELECT SASL-IR LIST-EXTENDED SPECIAL-USE CREATE-SPECIAL-USE XLIST AUTH=LOGIN AUTH=PLAIN
$ OK completed

Logging in...

C: send imap command, LOGIN
$ LOGIN<EMAIL_ADDRESS>*********
$ OK completed

Reading the list of mailboxes...

C: send imap command, LIST
$ LIST "" *

LIST (\HasNoChildren \Marked) "/" INBOX
$ OK completed

Available folders: INBOX
Selecting the INBOX folder...

C: open the mailbox folder
$ EXAMINE "INBOX"

FLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent $Hidden $Media $Forwarded Junk $Label1 $Label2 $Label3)
OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent $Hidden $Media $Forwarded Junk $Label1 $Label2 $Label3)] limited
5 EXISTS
5 RECENT
OK [UIDNEXT 6] predicted next UID
OK [UIDVALIDITY 402276210] UIDs valid
OK [UNSEEN 1] message 1 is first unseen
$ OK [READ-ONLY] EXAMINE completed

Info of the selected folder
Total Messages: 5
Predicted next UID: 6
Flags: \Answered, \Flagged, \Deleted, \Seen, \Draft, $MDNSent, $Hidden, $Media, $Forwarded, Junk, $Label1, $Label2, $Label3
Fetching message 1, UID: 5

C: send imap command, FETCH
C: fetch message header
$ UID FETCH 5 BODY.PEEK[HEADER.FIELDS (SUBJECT FROM TO DATE CC Message-ID Accept-Language content-type Content-transfer-encoding Content-Language)]

5 FETCH (BODY[HEADER.FIELDS ("SUBJECT" "FROM" "TO" "DATE" "CC" "Message-ID" "Accept-Language" "content-type" "Content-transfer-encoding" "Content-Language")] {282}
Subject: test 5
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS><EMAIL_ADDRESS>Date: Sun, 27 Dec 2020 22:42:28 +0100
Message-ID<EMAIL_ADDRESS>Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
UID 5)
$ OK completed

C: fetch body part header, 1
$ UID FETCH 5 BODY.PEEK[header.fields (content-type Content-transfer-encoding)]

5 FETCH (BODY[header.fields ("content-type" "Content-transfer-encoding")] {95}
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
UID 5)
$ OK completed

Downloading messages...

C: download plain TEXT message
$ UID FETCH 5 BODY.PEEK[TEXT]
download /email_data/5/msg.txt, 100%
$ OK completed

Saving message header to file...

C: Free Heap: 217404

Logging out...

C: send imap command, LOGOUT
$ LOGOUT

BYE CommuniGate Pro IMAP Server closing connection
$ OK completed
! E: SSL - The peer notified us that the connection is going to be closed

C: cleaning SSL connection

Message fetch cmpleted

C: message fetch completed

################################
Messsage Number: 1
Messsage UID: 5
Messsage ID:
Accept Language:
Content Language:
From:
From Charset:
To:
To Charset:
CC:
CC Charset:
Date:
Subject:
Subject Charset:
Text Message: tst
Text Message Charset: utf-8
Text Message Transfer Encoding: 8bit
HTML Message:
HTML Message Charset:
HTML Message Transfer Encoding:
Free Heap: 260020

Can you view the message source?
You can view the raw data of message from web browser in PC.
Please remove the private data from message source and post it here.
I want to check what's the problem in that message.

Below I've attached the message source of the particular message,  however no messages retrieved from this provider seem to work...
Return-Path<EMAIL_ADDRESS>Received: from [<IP_ADDRESS>] (account<EMAIL_ADDRESS>by xxxxxxxxxxxx.xx (CommuniGate Pro XIMSS 6.2.15)
with HTTPU id 161881748 for<EMAIL_ADDRESS>Sun, 27 Dec 2020 22:42:28 +0100
X-Mailer: CommuniGate Pronto! HTML5 6.2.4612
Subject: test 5
MIME-Version: 1.0
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS><EMAIL_ADDRESS>Date: Sun, 27 Dec 2020 22:42:28 +0100
Message-ID<EMAIL_ADDRESS>Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
tst

It should be complete. Is it completed?

It is complete, it's rather short, since it is sent from another account on the same mailserver. Below is an example sent from a different mailserver (same problem). I extracted the message source with Thunderbird, as I don't know how to do it with the browser...
Return-Path<EMAIL_ADDRESS>Received: from malta.iway.ch ([<IP_ADDRESS>] verified)
by switchplus-mail.ch (CommuniGate Pro SMTP 6.2.15)
with ESMTP id 161943087 for<EMAIL_ADDRESS>Mon, 28 Dec 2020 13:10:11 +0100
Received: from localhost (localhost [<IP_ADDRESS>])
by localhost (Postfix) with ESMTP id 9A1D720017B
for<EMAIL_ADDRESS>Mon, 28 Dec 2020 13:10:11 +0100 (CET)
X-Virus-Scanned: iway amavisd-new at malta.iway.ch
X-Spam-Flag: NO
X-Spam-Score: 0.001
X-Spam-Level:
X-Spam-Status: No, score=0.001 tagged_above=-999 required=5
tests=[HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001,
RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
autolearn=disabled
X-Spam-Report:
*  0.0 RCVD_IN_DNSWL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to DNSWL
*      was blocked.  See
*      http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for
*      more information.
*      [<IP_ADDRESS> listed in list.dnswl.org]
* -0.0 SPF_PASS SPF: sender matches SPF record
*  0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record
*  0.0 HTML_MESSAGE BODY: HTML included in message
* -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2)
*      [<IP_ADDRESS> listed in wl.mailspike.net]
Received: from malta.iway.ch ([<IP_ADDRESS>])
by localhost (malta.iway.ch [<IP_ADDRESS>]) (amavisd-new, port 10031)
with ESMTP id DtDjE6IXsj0E for<EMAIL_ADDRESS>Mon, 28 Dec 2020 13:10:06 +0100 (CET)
Received-SPF: pass (bluewin.ch ... _spf.bluewin.ch: Sender is authorized to use<EMAIL_ADDRESS>in 'mfrom' identity (mechanism 'include:_netblocks.bluewin.ch' matched)) receiver=malta.iway.ch; identity=mailfrom<EMAIL_ADDRESS>client-ip=<IP_ADDRESS>
X-Greylist: client address auto-whitelisted by SQLgrey-1.8.0
Received: from vimdzmsp-sfwd05.bluewin.ch (vimdzmsp-sfwd05.bluewin.ch [<IP_ADDRESS>])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client did not present a certificate)
by malta.iway.ch (Postfix) with ESMTPS id 1C1922001DC
for<EMAIL_ADDRESS>Mon, 28 Dec 2020 13:10:05 +0100 (CET)
Received: from X250 ([<IP_ADDRESS>])
by vimdzmsp-sfwd05.bluewin.ch Swisscom AG with ESMTPA
id trLhkVvLpGCW8trLhkoe5T; Mon, 28 Dec 2020 13:10:05 +0100
X-Bluewin-Spam-Analysis: v=2.4 cv=IOzHtijG c=1 sm=1 tr=0 ts=5fe9cb1d
a=JIbG404j7Vy8dhpSN5W1tg==:117 a=JIbG404j7Vy8dhpSN5W1tg==:17
a=DAwyPP_o2Byb1YXLmDAA:9 a=tENOcLu-v82Jmo2qmpMA:9 a=CjuIK1q_8ugA:10
a=yMhMjlubAAAA:8 a=SSmOFEACAAAA:8 a=R3l9YQUt1bmqkSa4GCUA:9 a=gKO2Hq4RSVkA:10
a=UiCQ7L4-1S4A:10 a=hTZeC7Yk6K0A:10 a=frz4AuCg-hUA:10
X-Bluewin-Spam-Score: 0.00
X-FXIT-IP: IPv4[<IP_ADDRESS>] Epoch[1609157405]
X-Bluewin-AuthAs<EMAIL_ADDRESS>From: "xxxxxxxxxxxxxxxxxxxxxxxxx"<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Subject: New Test
Date: Mon, 28 Dec 2020 13:10:05 +0100
Message-ID<EMAIL_ADDRESS>MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0001_01D6DD1A.C267F790"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AdbdEktUQskUX4hrQxSWq19l6c0wyg==
Content-Language: de-ch
X-CMAE-Envelope: MS4xfBFUR4Npu+JoVy2DvQ+Za21KIlXM125cai5mEJTy0nlNSY6EwbZ4p/JJWQ0AZMiKsXHu2nuPWVMfaZT96b7PqnVOaJp/3MQV6XWTvDV6NVM0nWzpih8q
wv/BBYUE3+vAIBD5aSc+5o4eiZNDeqzmPkvaEk2+rgWCep8Xdf5XntfZ
This is a multipart message in MIME format.
------=_NextPart_000_0001_01D6DD1A.C267F790
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
tst (lazy form of test)
------=_NextPart_000_0001_01D6DD1A.C267F790
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
tst (lazy form of =
test)
------=_NextPart_000_0001_01D6DD1A.C267F790--

Is this the source from the same message UID 5 that you test?
I see some different from the debug.  From the debug, it is only plain text but the message source has multipart body included html and plain text.

No, this is a different message. The source for message UID 5 from the log file is the short one I've sent initially. If you want I can also send you the log file for the multipart message. The behavior is however the same...

I don't want other message. need only UID 5 full message source as you mention the first post

Well the short message source (see my previous message) is all I get from Thunderbird for message UID 5. Maybe I'm not extracting the source the right way. How would I extract the source using a web browser? This is not an IMAP server I run myself, but one operated by a commercial ISP. If there is a problem with RFC compliance, what is missing?

It's a IMAP server which run on your domain or host service provider.
I try to register for this service too but it's not allow for international user (only swiss).
The message source should not in the short text like that. The data you post for UID5 called message envelope which missing some information of server.
Please test for me again by edit this line
from

if (imap->_imap_cmd != esp_mail_imap_cmd_search && imap->_imap_cmd != esp_mail_imap_cmd_fetch_body_text && imap->_imap_cmd != esp_mail_imap_cmd_fetch_body_attachment && imap->_imap_cmd != esp_mail_imap_cmd_fetch_body_inline)
              esp_mail_debug((const char *)response);

to

  esp_mail_debug((const char *)response);

and post the debug message.
Warning, after you edit and send me a debug message, please undo the change because it will print huge data of message body and can cause your IDE or serial monitor to freeze.

Hmm, not sure if I'm missing something here. This change didn't do much, (basically I just had to comment line 5360 in ESP_Mail_Client.cpp). Below is the debug message. If it helps, I can create a test account for you (I just need a way to send you the credentials).
Connecting to IMAP server...

C: ESP Mail Client v1.0.8
C: connect to IMAP server
C: host > imap.swizzonic-mail.ch
C: port > 993
C: starting socket
C: connecting to Server
C: seeding the random number generator
C: setting up the SSL/TLS structure
C: setting hostname for TLS session
C: performing the SSL handshaking
C: verifying peer X.509 certificate
C: certificate verified
IMAP server connected
C: server connected

Get the capability...

C: get the capability
$ CAPABILITY

OK swizzonic-mail.ch CommuniGate Pro IMAP Server 6.2.15 ready
CAPABILITY IMAP4 IMAP4REV1 ACL NAMESPACE UIDPLUS IDLE LITERAL+ QUOTA ID MULTIAPPEND LISTEXT CHILDREN BINARY ESEARCH LOGIN-REFERRALS UNSELECT SASL-IR LIST-EXTENDED SPECIAL-USE CREATE-SPECIAL-USE XLIST AUTH=LOGIN AUTH=PLAIN
$ OK completed

Logging in...

C: send imap command, LOGIN
$ LOGIN<EMAIL_ADDRESS>xxxxxxxxxx
$ OK completed

Reading the list of mailboxes...

C: send imap command, LIST
$ LIST "" *

LIST (\HasNoChildren \UnMarked) "/" INBOX
LIST (\HasNoChildren \UnMarked) "/" Trash
$ OK completed

Available folders: INBOX, Trash
Selecting the INBOX folder...

C: open the mailbox folder
$ EXAMINE "INBOX"

FLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent $Hidden $Media $Forwarded Junk $Label1 $Label2 $Label3)
OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent $Hidden $Media $Forwarded Junk $Label1 $Label2 $Label3)] limited
7 EXISTS
0 RECENT
OK [UIDNEXT 8] predicted next UID
OK [UIDVALIDITY 402276210] UIDs valid
OK [UNSEEN 1] message 1 is first unseen
$ OK [READ-ONLY] EXAMINE completed

Info of the selected folder
Total Messages: 7
Predicted next UID: 8
Flags: \Answered, \Flagged, \Deleted, \Seen, \Draft, $MDNSent, $Hidden, $Media, $Forwarded, Junk, $Label1, $Label2, $Label3
Fetching message 1, UID: 5

C: send imap command, FETCH
C: fetch message header
$ UID FETCH 5 BODY.PEEK[HEADER.FIELDS (SUBJECT FROM TO DATE CC Message-ID Accept-Language content-type Content-transfer-encoding Content-Language)]

5 FETCH (BODY[HEADER.FIELDS ("SUBJECT" "FROM" "TO" "DATE" "CC" "Message-ID" "Accept-Language" "content-type" "Content-transfer-encoding" "Content-Language")] {282}
Subject: test 5
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS><EMAIL_ADDRESS>Date: Sun, 27 Dec 2020 22:42:28 +0100
Message-ID<EMAIL_ADDRESS>Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
UID 5)
$ OK completed

C: fetch body part header, 1
$ UID FETCH 5 BODY.PEEK[header.fields (content-type Content-transfer-encoding)]

5 FETCH (BODY[header.fields ("content-type" "Content-transfer-encoding")] {95}
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
UID 5)
$ OK completed

Downloading messages...

C: download plain TEXT message
$ UID FETCH 5 BODY.PEEK[TEXT]

5 FETCH (BODY[TEXT] {5}
tst
UID 5)
download /email_data/5/msg.txt, 100%
$ OK completed
$ OK completed

Saving message header to file...

C: Free Heap: 217268

Logging out...

C: send imap command, LOGOUT
$ LOGOUT

BYE CommuniGate Pro IMAP Server closing connection
$ OK completed
! E: SSL - The peer notified us that the connection is going to be closed

C: cleaning SSL connection

Message fetch cmpleted

C: message fetch completed

################################
Messsage Number: 1
Messsage UID: 5
Messsage ID:
Accept Language:
Content Language:
From:
From Charset:
To:
To Charset:
CC:
CC Charset:
Date:
Subject:
Subject Charset:
Text Message: tst
Text Message Charset: utf-8
Text Message Transfer Encoding: 8bit
HTML Message:
HTML Message Charset:
HTML Message Transfer Encoding:
Free Heap: 259936

Thank you, I will check and update.

You can send me a credential of test account to my email<EMAIL_ADDRESS>

The test credentials are in your inbox...

In your code, are you comment these line out?
config.enable.html = true;
config.enable.text = true;

If yes, the message body and header will not store in the session data unless save to file.

I tested your library with the Read_Single_Email example, so both settings are enabled (true). When testing with other providers (Gmail for example) everything works as expected. With that particular provider however, properties like To, From, Subject, ... are not populated, while the body is there. Chances are, there are other providers out there, having the same problem. Fixing this might increase compatibility...

I test with your test account and everything is ok wen send  from other email to or event from and to it self.
Can you send the message to the test account the same  way you send message UID 5?

The non standard may be at the smtp server that send email UID 5. It's depending on IMAP server that parse the message UID 5 based on the command and the information that required for identification are missing from message UID 5.

Just sent you a message through the same way as email UID 5 to your test account (UID 10). I also sent you two messages from other providers/SMTP gateways (bluewin UID 11 and Gmail UID 12). All messages show the same problem...

The issue is at the reponse from this imap server when fetching the header fields.
When client sent this in a part of fetch command
BODY.PEEK[HEADER.FIELDS (SUBJECT FROM TO DATE CC Message-ID Accept-Language content-type Content-transfer-encoding Content-Language)]

Expected response (most tested imap server)
BODY[HEADER.FIELDS (SUBJECT FROM TO DATE CC Message-ID Accept-Language content-type Content-transfer-encoding Content-Language)]

This imap server response
BODY[HEADER.FIELDS ("SUBJECT" "FROM" "TO" "DATE" "CC" "Message-ID" "Accept-Language" "content-type" "Content-transfer-encoding" "Content-Language")]

The different is the header fields returned are inside the quotes e.g. "SUBJECT" instead of SUBJECT.
This issue is fixed now, please update the library

This did the trick! Thank you, your library now also works with this IMAP server.


Out of Bounds feature Crash

https://pastebin.com/ap66bGT8
Happens in the dark forest

Thanks for the report! Uploaded 1.3.6 which should fix this.


Stop clobbering Django csrf on POSTs

At first we saw this trying to use dash ... But I think I convinced myself that the problem was in the proxy layer.
@scottx611x : Did you have other thoughts on this right now?

@scottx611x : Have we had any more trouble with this? If it were still a problem, I don't think it would have fallen off the radar, so I'm inclined to close...

@mccalluc I thought we fixed this by not clobbering CSRF by default let me check


Add font weight global variables

Adds font weight variables ala #6167

Heyo!!!! Thank you for getting this in so fast 🙌
Just to ensure I understand how this differs from the original PR.

@fontWeightNormal -> @normal
@fontWeightBold -> @bold
Remove @fontWeightIcon (wasn't entirely sure if this was necessary in the first place)
Only update bold/normal values within the default theme (I had made updates across all themes)

Thanks again :)

You can now just put in a component's theme variables @bold: 700; to modify how it handles bold.
To modify it globally add to site.variables for site or theme.


add tests for underef_checker

@Quasilyte, it looks like we have done with tests for now?

@fexolm, probably. I'm going to send sanity checks today.


error during init cells unreported

If you open a notebook with initialization cells, and there is an error while they are running,
then Beaker gets stuck with the "Please wait" window up.
It should close the window and move the notebook to the cell showing the error.
Actually it should change the window to one that says "initialization failed" with an OK button.

after the (last month?) evaluation queue changes the evaluate call will resolve the promise as failure si it should be straightforward to add this

https://github.com/twosigma/beaker-notebook/pull/1758


Updated docker related links and added link to tutorial in README

Performed the updates described in the title.

Codecov Report

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

@@           Coverage Diff           @@
##           master      #56   +/-   ##
=======================================
  Coverage   80.64%   80.64%
=======================================
  Files          36       36
  Lines         806      806
  Branches       99       99
=======================================
  Hits          650      650
  Misses        156      156

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 d9bdd40...e701a76. Read the comment docs.

Added tutorial and blog entry about  work-flow managers to main README.md. You can now check it and see if everything is ok and if so merge it. However, note that issue 49 should also address the creation of tasks with js functions and streams.

Added a way to create a manifest file that allow to make a correspondence between folders created within data and the task names.

I have separated the tutorial updates from the summary log file commits, in order to simplify the revision. So, if you feel this is ok, please feel free to merge.


Creating custom builds with alternative kernels

Is there a recipe for building custom Jupyter Desktop installers that bundle alternative kernels?
I am looking to distribute JupyterLab-Desktop to users in a limited permissions secure environment who only require access to an R kernel, and was wondering easy that might be with a custom built installer?

@psychemedia Thanks for opening this! Creating a custom environment, such as with Anaconda's conda tool, should let you deploy JupyterLab Desktop and other packages for custom kernels. This is not likely to be a feature in JupyterLab Desktop itself, though. Would using a package manager solve this problem for you?

The issue is not so much installing a new kernel into an already downloaded JupyterLab distribution, it's more a case of building a distribution with a different kernel built in (and then most likely disabling the ability to install further packages).
I'm exploring solutions that can be used in secure environments (prison estates, essentially), so as you might imagine there are certain conditions attached with installing software depending on the prison category.

Coincidentally, the previous issue (#852) asks about using JupyterLab Desktop in a completely offline/airgapped environment. On my macOS laptop, I tried using JupyterLab Desktop with no network connections at all, and it worked for me. I would expect that deploying a JupyterLab Desktop installation with additional kernels and configuration should be possible, but I'm not experienced with doing so.
See a Discourse thread, with a response by @minrk, here: https://discourse.jupyter.org/t/install-common-jupyterlab-extension-and-custom-kernel-in-jupyterhub/24442/2

Presumably we can install additional kernels via the server setup file? https://github.com/jupyterlab/jupyterlab-desktop/blob/master/env_installer/jlab_server.yaml
For example, for R: https://github.com/jupyter-xeus/xeus-r/ or  https://anaconda.org/r/r-irkernel (do they include https://anaconda.org/r/r as a dependency?)
What does https://github.com/jupyter-xeus/xeus-r/
Where we custom jupyter extensions be installed into the application? Into env_installer as pip dependencies? How could we then remove the pip installer?

@psychemedia You can customize the bundled Python environment by updating the jlab_server.yaml as you guessed. You can add / remove packages to that file.
It is also possible to make changes to the environment configuration by placing files into env_installer/extras/ directory. See this page_config.json which disables the announcements extension.
You can refer to developer documentation for creating an installer locally.

@mbektas thabks. I tried adding the xeus R kernel to the server yaml and rebuilt the app but did't see the r kernel listed as an option in the app.

sorry I missed another command that needs to be called after updating the yaml.  yarn update_conda_lock. I opened a test PR that adds xeus-r. Installers will be available here.

@mbektas Testing on my Mac, (osx-arm64), the downloaded application reports as broken when I try to run it.

that alert is shown because the created installers are not code signed & notarized. We only sign & notarize installers that will be released. If you build locally, you shouldn't run into this issue.
If you plan to distribute a customized JupyterLab Desktop installer for macOS you will need to sign and notarize yourself.

Ah, of course... so this maybe is the temp workaround: % xattr -d com.apple.quarantine /Applications/JupyterLab.app


Run from source

Griddle version
source 2017-12-17, 1e6346a Merge pull request #771 from dahlbyk/gh672
Expected Behavior
Story book should work
Actual Behavior
ERROR in ./stories/index.tsx
(923,31): error TS2339: Property 'searchString' does not exist on type '{}'.
ERROR in ./stories/index.tsx
(947,22): error TS2339: Property 'searchString' does not exist on type '{}'.
ERROR in ./stories/index.tsx
(947,43): error TS2339: Property 'data' does not exist on type '{}'.
ERROR in ./stories/index.tsx
(948,17): error TS2339: Property 'data' does not exist on type '{}'.
ERROR in ./stories/index.tsx
(949,76): error TS2339: Property 'searchString' does not exist on type '{}'.
Steps to reproduce
git clone https://github.com/GriddleGriddle/Griddle.git && cd Griddle && npm install && npm run storybook
I use node v8.9.3

start-storybook -p 6006

@kadira/storybook v2.35.3
=> Loading custom .babelrc
=> Loading custom webpack config.
React Storybook started on => http://localhost:6006/
We will collect some anonymous usage stats of how you use storybook.
See why?: https://getstorybook.io/tracking
ts-loader: Using<EMAIL_ADDRESS>and /home/user/workspace/Griddle/tsconfig.json
webpack built 46757a42dcf954be8b77 in 8341ms
Hash: 46757a42dcf954be8b77
Version: webpack 1.15.0

Are there any additional requirements to run from source?

I'm having the same issue on Node 7.10.0

Can you share output from npm ls?

Nevermind, this failure is confirmed by Travis: https://travis-ci.org/GriddleGriddle/Griddle/jobs/308447676. The issue seems like it might be<EMAIL_ADDRESS>The original build for https://github.com/GriddleGriddle/Griddle/pull/768 was green.
¯\_(ツ)_/¯

Confirmed build was broken by https://github.com/DefinitelyTyped/DefinitelyTyped/pull/21400, submitting a fix now.

Thank you a ton! I saw this broke but couldn't make sense of it just yet.


[Bug?] Automatically processing the images after sync makes the image link unusable.

I am using remotely sync, and recently I find that after sync, image-converter will process the images updated again and make the image link unusable (not to mention I don't need the images to be compressed again)。I need the converter process only in the pasting the image behavior. Is there any way to fix this? THANKS A LOT!

Can you provide some more details about your setup ?
Do you sync to mobile or from one PC to another etc. do you have both instances of Obsidian open at the same time?

The problem I describe happens when I sync between two PCs，both with Obsidian maintaining open. Additionally, I use other attachment management plugin to rename image while pasting, so my settings of image-converter are as follows:

Convert: webp, quality = 75
Output: default, keep original name
Settings: custom size = 200
Advanced: default

And it reminds me the rename behavior is done by other plugin, but is triggered by the converting behavior. So I disable that plugin, paste some new images, and try to sync again. Here is the new problem: converting behavior always happen when I have new images in the vault, and it rename the "111.image" to "111-1.image", so again, the image links "![[111.webp]]" fail. Can you fix it to stop the automatically converting behavior?

You must wait for sync to complete on 1 device before opening it on another.
If you want to use Obsidian on both devices at the same time, then make sure that whatever sync method you use - it does not change note content and does not re-attach files to them. And make sure Image Converter settings are fully synced on both, otherwise you will have even more random results.
Taken all that into consideration, I still strongly advice against having 2 Obsidian instances open at the same time.

OK，I guess I just have to disable the converter plugin before syncing, which should be the easiest way.

Does "Remotely Save" have any status indicator?

For instance, Obsidian Sync has this green icon when it is done syncing, which indicates that everything got synced and should be safe to open Obsidian on another device

Yes, Remotely Save has the similar status indicator, I just have to wait for the syncing process and then open the converter, the only problem is if I forget to disable, I have to open the attachment folder to find the altered pictures.

kept losing images and see there's no solution other than not having obsidian open on 2 computers. Hopefully we can get another solution.

Hi! I'm experiencing something similar, using Obsidian Sync between two (2) macOS desktop versions of Obsidian (and iPhone/iOS and iPad/iPadOS, but no plugins enabled on iOS/iPadOS - only enabled on desktops)
The "bug": I have (some) orphaned images, which have the "old name" in the note, but the file has been renamed (filesystem), but the note does not reflect this change.
Example: I now have a note with the (invalid) embedded image link ![[20241218150519319-img.webp]], which was from the initial copy & paste (screenshot), but the file has been (incorrectly) renamed (again/afterwards), to<PHONE_NUMBER>4116733-img.webp, which is now on my filesystem, but originally was<PHONE_NUMBER>0519319-img.webp.

[!NOTE]
Based on the actual file metadata (macOS), I see that the timestamp for created (15:05) matches the original file name<PHONE_NUMBER>0519319-img.webp) and that the modified timestamp (17:41) matches the new file name<PHONE_NUMBER>4116733-img.webp)

Questions:

Do you think the above is due to a race condition in Obsidian Sync and/or Plugin re-processing the (webp) file, hence causing a new "rename" (without updating the note..)?

If the latter, why are webp files re-processed?
Can I simply add it to "skipPatterns"?

Can we disable auto-processing somehow? (I don't see it in settings, but in data.json, I see "autoRename": true), if this will fully eliminate the situation(s) above; the goal is of course not to have many orphaned images lying around (and notes referencing the "non-existing old name.." :-).

I love this plugin, so thank you very much!

@esodesod - the problem is mobile. And in particular that there is no drag and drop on mobile.  The options provided by obsidian e.g.: 'editor-drop' and 'editor-paste' work great on Desktop, but are not supported on mobile. Thus I have to resort to using create event handler before any of those events. create event handler enables image processing on mobile. But the problem is that it lacks context about how the file was created (e.g., pasted, dropped, or inserted via the paperclip) and if I run it directly before editor-drop, editor-paste events* - then it simply reacts to everything, including sync. Hence why images get reprocessed*. Another problem is that I cannot simply remove create event from the code, as it is still needed for actual image processing. There are already quite a few safety checks in-place, which should prevent or at least minimize image processing - but clearly they are not enough.
To anwser your question:

Yes, this is likely due to a race condition between Sync and the plugin's processing logic
WebP files are processed because the create event handler doesn't discriminate between file types (it's needed for mobile support)
While adding .webp to skipPatterns might help in some cases, it wouldn't address the underlying issue
The autoRename setting controls renaming, but not the core image processing logic. You could technically disable all format conversions and set the quality to 100 to minimize processing, but the plugin would still react to create events. So you would need to disabled all conversion and renaming settings (convert to: same as original, quality 100, resize: none, file renaming: keep original, rename, use markdown links:disabled, non-destructive resize: none). Not to mention that some of these checks (and many others) are already being done automatically and applied in the background, in effort to minimize reprocessing. But timings might be off due to various factors, so create is still being slips through in certain cases.

The solution could be to completely remove mobile support, and only allow Image Converter to work on Desktop.
Or...
An option to allow image processing on mobile to only work on demand e.g. via right click - so then default Obsidian settings would handle image insertion into the note and if user would want to compress them on mobile they could right-click on the image and run appropriate command.
Basically, the core idea would be to minimize the number of events being constantly listened and only activate the necessary logic after user explicitly pastes or drops an image e.g.: register create event handler only AFTER a paste or drop event takes place.
On Desktop, in theory this would significantly reduce number of unnecessary event triggers and processing (in particular the problematic create event), and should lead to better overall plugin performance.
On Mobile, because drop/paste is not supported via official Obsidian API, and we would not use problematic create event globally -  it would mean  images would not be processed immediately after adding via CMD+P or paperclip, instead user would now need to right click on the image and select conversion options there.
While this would be a compromise in terms of mobile functionality, it should provide much better reliability for image links across all platforms.

Thank you for a great explanation of how the plugin automatically processes images, and highlighting the pros & cons of possible (future) changes; appreciate all the details!
As you mentioned, "on-demand processing" is exactly what I was wondering about, and maybe (personally) would prefer, especially if it could help to avoid possible orphaned images, e.g. images being renamed twice and note left with old image name (broken), as I experienced. That said, it goes both ways; some like it manual/controlled, and some like it automatic (I see both options as valuable, based on the use case).
To add a minor detail to my initial rename issue; guess you noticed based on my example, but I'm using {date:YYYYMMDDHHmmssSSS}-img as filename template. I initially thought this was based on created timestamp, but seeing the multiple renames (of the same file, twice), it seems to be based on the modified timestamp (even though I never "modified the image"). Point being; I thought the "replace existing" would simply add '-1, -2 -3 etc.' suffix to the end of the file, but results (when race condition or something occurs) is that the file is renamed (again) to the (latest) modified timestamp, which to my understanding, is due to the create event handler sees this as a new image (webp) file and then image converter processes the image file again, which is causing the image to be renamed twice. That said, I don't fully grasp why my note still referenced the "old image name" (the note should sync when the image is renamed, right?), but maybe not too important to dig into further, for now.
I've actually set up a testing vault with Obsidian Sync and Image Converter, trying to replicate/reproduce the "rename issue", now using version 1.2.22 (as I think my initial rename issues; and only a few - was from around my upgrade from 1.2.16 to 1.2.17, at least based on the sync log for manifest.json, for the plugin), but all my rename-, crop-, new image/paste-operations, etc. are working fine, is being synced fine, and working both ways (which is a good thing, I guess).
As suggested, I've now also disabled the "sync active community plugins" (selection using Obsidian Sync, even though I'd personally prefer to have it synced 1:1 between my desktop devices), and now disabled Image Converter on my "second desktop", leaving Image Converter only enabled in one instance of Obsidian, being my main desktop, which is usually always on (hence will get sync updates on-the-fly, if anything new comes in, from all devices). Hopefully, this workaround will not result in any orphaned images.
I'll keep an eye on the release notes and please let me know if I can assist in testing/verifying anything.
Again, thanks for your time! Happy new year (depending on TZ).


[Bug] [UI] Custom parameter types do not have LIST type

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
Custom parameter types do not have LIST, as shown in the following figure:

What you expected to happen
According to Parameter Context, Custom parameter types should have LIST, as shown in the following figure:

How to reproduce
new SQL node --> add Custom Parameter --> select parameter type
Anything else
No response
Version
2.0.5
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I think this is a bug.
@qingzhongli Could you please submit a pr to fix it?


[Bug]: Page Does Not Scroll to Top on Route Change(/privacypolicy)

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
When navigating to a new route, such as /privacypolicy in the footer section , the page content opens at the bottom, requiring the user to click the scroll to top button to go to the top to see the beginning of the page content.
Expected behavior
The page should open at the top
Add ScreenShots
https://github.com/MAVRICK-1/e-commerce_website/assets/154724111/a1358cfb-fc05-4967-a158-c9c81671d8e0
On which device are you experiencing this bug?
Chrome, Windows
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@MAVRICK-1 can I work on this?

@pani2004 go ahead

@MAVRICK-1 pls add the level tag

@pani2004 done


chore(deps): :arrow_up: update dependency aws-sdk to v2.1395.0

This PR contains the following updates:

Package
Change
Age
Adoption
Passing
Confidence

aws-sdk
2.1394.0 -> 2.1395.0

Release Notes

aws/aws-sdk-js
v2.1395.0
Compare Source

feature: Connect: This release adds search APIs for Prompts, Quick Connects and Hours of Operations, which can be used to search for those resources within a Connect Instance.

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

any of the package files in this branch needs updating, or
the branch becomes conflicted, or
you click the rebase/retry checkbox if found above, or
you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:
File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@angular/animations
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS>|| ^17.0.0" from<EMAIL_ADDRESS>npm ERR!   node_modules/@angular/material
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   2 more (@angular/platform-browser, @ngneat/spectator)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>npm ERR! node_modules/@angular/core
npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR!   node_modules/@angular/animations
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /tmp/renovate/cache/others/npm/_logs/2023-06-12T18_55_58_564Z-eresolve-report.txt

npm ERR!


defineParameterType throws confusing error

I might just be holding the example code wrong. I want to add a custom parameter type, so I can have a step like
Then('I can find a {string} role with a {moduleEntitlement} entitlement', (name: string, entitlement: any) => { ... });

(I'd rather not type this any but I wanted to get past the next part before I go back and fix that.)
I looked at the example, and some StackOverflow, and tried adding import '../../../support/custom-parameter-types'; to my step definition file, where that imported file looks like
import defineParameterType from 'cypress-cucumber-preprocessor';

defineParameterType({
  name: "moduleEntitlement",
  regexp: /BUILD|ADMIN/,
  transformer(moduleEntitlement: any) {
    cy.log(`the transformer transformed a "${moduleEntitlement}" argument but returned "BUILD" no matter what`);
    return "A_BUILD";
  },
});

Expected: A cool new parameter type to which I could add some checking logic.
Got:
Error: Webpack Compilation Error
Module not found: Error: Can't resolve 'core-js-compat/data' in '/Users/tomhenderson/lg/logicgate/platform/cypress/src/cypress/node_modules/babel-plugin-polyfill-corejs3/core-js-compat'

Module not found: Error: Can't resolve 'core-js-compat/entries' in '/Users/tomhenderson/lg/logicgate/platform/cypress/src/cypress/node_modules/babel-plugin-polyfill-corejs3/core-js-compat'

Module not found: Error: Can't resolve 'module' in '/Users/tomhenderson/lg/logicgate/platform/cypress/src/cypress/node_modules/coffeescript/lib/coffee-script'

Module not found: Error: Can't resolve 'module' in '/Users/tomhenderson/lg/logicgate/platform/cypress/src/cypress/node_modules/coffeescript/lib/coffee-script'

Module not found: Error: Can't resolve './modules-by-versions' in '/Users/tomhenderson/lg/logicgate/platform/cypress/src/cypress/node_modules/core-js-compat'

Module not found: Error: Can't resolve './modules' in '/Users/tomhenderson/lg/logicgate/platform/cypress/src/cypress/node_modules/core-js-compat'

Module parse failed: Unexpected character '�' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
(Source code omitted for this binary file)

Module not found: Error: Can't resolve 'module' in '/Users/tomhenderson/lg/logicgate/platform/cypress/src/cypress/node_modules/require-from-string'
    at Watching.handle [as handler] (/Users/tomhenderson/lg/logicgate/platform/cypress/src/cypress/node_modules/@cypress/webpack-preprocessor/dist/index.js:180:23)...

Versions

Cypress version: ^9.2.1
Preprocessor version: ^4.3.1
Node version: v12.22.6

The package has moved to @badeball/cypress-cucumber-preprocessor, read more about the transfer here, IE. you're not using the most recent version, but you should.


CICD/Container deployment paradigm Contribution

If you’ll indulge me by leaving this open a bit,
I’d like to contribute 1) a GitHub action .yml and 2) see about wiring up Docker release images to publish on the repo.
...
Both are straightforward tasks.
Shouldn’t be more than an hour this weekend if I play my cards right.
—-
Why?
I don’t have python on my host, and would like to use your project. Which means the developing the above contributions preempt me using it much anyways. 🙂
Wrt this issue, in a more meta sense: Just, saw 0 issues, and would love to not only use this but contribute upstream if you’re interested.
—-
Would you like an upstream ~PR? Lmk thoughts on this facet and if you’d like that to take a certain form.
Feel free to delete, mark wontfix, etc, nbd.
Wanted to stub this for provenances’ sake prior to allocating the dev cycles.
Cheers!
e

hey totally and thank you for checking out the project @coip


Support SGR ANSI escape sequences in quick pick labels

Would be nice to allow some styling of quick picks, I mainly just want the "dim" style. Blocked on https://github.com/microsoft/vscode/issues/151963

My hope is that this goes into IconLabel or something and QP gets this for free... but before that work happens it would be good to have this issue to make sure we track it.

I think some debug/test stuff is using xterm.js for this now, you can close this if you want

Yeah I don't think I'll get to it.


How to use some production-ready table components in this framework

like ag-grid

Hi @sylvoslee!
Lona has support for Bootstrap 5 tables for example (https://lona-web.org/demos/bootstrap-5-confirmation-popup/index.html)
If you need another frontend library, the documentation has a guide on how to add/package a frontend library (https://lona-web.org/cookbook/integrating-a-frontend-library.html)


C# Cloud Libraries

Lean-CLI should provide the C# libraries available in QuantConnect Cloud.
We document the following list: get-libraries.py#L24:L79 which users need to manually add to a custom Lean build.

This behavior can be achieved using lean library add
> lean library add TestProject "Microsoft.ML"
Adding package Microsoft.ML to project D:\quantconnectOrg\TestProject
Retrieving latest available version from NuGet
Adding Microsoft.ML 2.0.1 to 'TestProject\TestProject.csproj'
Restoring packages in 'TestProject' to provide local autocomplete
Restored successfully


React Native: Unable to resolve "react-tv-player" from [Page.tsx]

So, I stumbled across this package a few hours ago and it literally is exactly what I am looking for in terms of a functional player with a custom UI that supports youtube  videos. Unfortunately, I think that because it is a React package, using it in Expo and ReactNative can't work but I wanted to check here first.
Is there any way I can use this package inside of ReactNative?

Hey, thanks for taking a look.
Yes unfortunately you suspected right, this library component is designed for React (web) and relies on HTML elements like  and , which are not available in React Native.
Have you tried looking at React Native video libraries? react-native-video looks promising, and react-native-youtube-iframe for youtube urls.
Alternatively, if you really want to use this repo in react native, you could consider loading it inside a react native webview, but it may introduce performance limitations and won't use native controls.
Hope this helps!

So currently that is my solution, that is using react-native-youtube-iframe, for playing youtube videos but the user experience isn't great on tvos and I can't figure out how to customize that player in any way. If I may ask, how does it support Android and iOS if there isn't a native layer for it?
My other thought wwas to use it in a react native webview and make custom controls but I am not that concerned about using native components for this.

Hi,
This player component supports TV web apps, not native tvOS or Android apps. Here's a snippet from the readme in case you skipped the enthralling read!

Broad Device Support
From Amazon Fire TV, LG webOS and Samsung Tizen Smart TVs to Xbox consoles and desktop web browsers, ReactTVPlayer covers most big-screen devices running web apps with post-2017 Chromium browsers.

If you want to get YouTube working in tvOS apps and react-native-youtube-iframe isn't cutting it, might be worth taking a look at the iOS YouTube helper library but I don't know how it works I'm afraid.
As a last resort, yes you could try this component in a react native webview, but I'm not familiar with how you do that. This is how I've got it working in a codepen web page so that might help you get started: https://codepen.io/lewhunt/pen/dyLOQVg
Good luck, let me know how you get on.


How about a collection of view components

Would love to see a list of collection of view components, we need reusable view components

Do you have any reusable view components to start this list? It could be a good idea.

Here is a start, https://github.com/ianbusko/reusable-components-library


Launching osv via cli args

idk if this is possible or easy to fix but I thought I'd go ahead and create this issue anyway for reference/help/feedback. It's not a huge deal, but it does keep me from (or makes it harder at least) debugging tests (which are typically run in headless mode).
I haven't investigated this a ton yet; any ideas? Perhaps it has something to do with how nvim operates internally while in headless mode (e.g. not allowed to start a job or rpc client/server until after the ui channel/client/server/job has started)? Maybe it would require changing the rpc/server/client functions that are used for communication (e.g. to use libuv instead) in order to fix this? Or is this something that is supposed to work and is an issue on my end? Thanks

Oh, it seems that nvim -u NONE -i NONE -n +'=require"osv".launch({port = 8086})' isn't working either. This might just be the same issue that I was experiencing last time in #37 (having to do with argv being copied and reused in child processes recursively). I suppose that launching this plugin simply isn't supported via cli args. If that's the case, maybe we should document it?
Other ideas:

Filter argv before passing it on
Even better: somehow blacklist functions which spawn processes (such as osv.launch()) so that they return immediately if called within a nested/child process

Good debugging of the issue. I haven't thought about it too much but at the moment the environment variable solution seem to be the most flexible. Maybe another way because I think this usecase is very specific and only people really knowing the inner working would use it, we should provide a solution so it doesn't affect the general usecase. I was thinking about adding a function to check if the server is already running so you can early exit in that case in the lua commands. How does it sound?

I added a new API to override how the headless instance is spawned.  The handle to the instance has to be returned by the callback.
For example:
require"osv".on["start_server'] = function(args, env)
      -- do something with args and env, args is a table and env is a dict
      return vim.fn.jobstart(args, {rpc = true, env = env})
end

I will close this for now, let me know if something else could be done.

Thanks!
I was skimming over the source just now. I haven't tried it out yet, but I think 5417de4 fixes the recursive process spawn issue.


Texts in Horror check, Evade and Attack (MoM)

Hello,
maybe I am totally stupid, but I need to ask. I am new in Valkyria and I have an issue with texts around monsters.
When I am trying play some scenarios, everytime I try some Evade, Attack or Horror check texts, I see just general text. For example: "MONSTER_HUNTING_HORROR_EVADE_04". I found out this text in evade.ini file in my computer. Right now I see only one solution to resolve this. Just change all texts in this ini and all others too. I search for this ini file on internet but without success.
Thank you for your answers!

The text is not in evade.ini but in the language file in the app data folder:
e.g.
Localization_en.txt for English
%AppData%\Roaming\Valkyrie\MoM\import\text
e.g.
C:\Users\Me\AppData\Roaming\Valkyrie\MoM\import\text
Please can you check if the text file exists in the import folder.  What is your language set to?

The app data folder may be hidden.
The following link describes how to access it on Windows 10.
https://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_files-insiderplat_pc/windows-10-roaming-folder/6c99ffdc-90d5-4d1d-8ab1-b4f448ecc8ee?auth=1
If you are using a tablet or smart phone then I can't help but I'm sure others here can.

NicolaZee: I look at the folder you metioned. It was there, but almost no files inside (just 4 of them and others than "localization").
I try to run Valkyria one more time and run "reimport content". After that I checked the folder one more time in appdata and voila.. resolved. I have all files there and all scenarios in Valkyria are working. Thank you for your advice!


Gracefully handle statds being down

Sentry Issue: BOT-7R
Since stats aren't critical, the bot shouldn't fatally crash if statsd is down. In this case, it was down due to a temporary outage.
gaierror: [Errno -2] Name or service not known
(1 additional frame(s) were not displayed)
...
  File "runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "__main__.py", line 28, in <module>
    bot = Bot(
  File "bot/bot.py", line 52, in __init__
    self.stats = AsyncStatsClient(self.loop, statsd_url, 8125, prefix="bot")
  File "bot/async_stats.py", line 18, in __init__
    family, _, _, _, addr = socket.getaddrinfo(
  File "socket.py", line 918, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):

I can probably look at this, if you assign it to @tagptroll1


[CLI] When using torch.multiprocessing.spawn(), wandb will stuck after main code is finished

Description
When using multiprocessing.spawn(), wandb will block at the end of the program.
Wandb features
How to reproduce
origin, this script works well:
import torch.multiprocessing as mp
import torch.distributed as dist

def main():
    mp.spawn(main_worker, nprocs=4)

def main_worker(gpu):
    print(gpu)

    dist.init_process_group(
        backend='nccl',
        init_method='tcp://<IP_ADDRESS>:4568',
        world_size=4,
        rank=gpu
    )

if __name__ == '__main__':
    main()

this origin script can successfully exit.

add wandb, will stuck after main code is finished:
import torch.multiprocessing as mp
import torch.distributed as dist
import wandb

def main():
    mp.spawn(main_worker, nprocs=4)

def main_worker(gpu):
    print(gpu)

    dist.init_process_group(
        backend='nccl',
        init_method='tcp://<IP_ADDRESS>:4568',
        world_size=4,
        rank=gpu
    )

    if dist.get_rank() == 0:
        wandb.init(project="aaa")

    if dist.get_rank() == 0:
        wandb.log({'loss': 666})

if __name__ == '__main__':
    main()

after add wandb, this script will be stuck at:
(py36) ccc@xxx:~/one/PROJECT$ /home/cbh/anaconda3/envs/py36/bin/python /home/cbh/one/PROJECT/test.py
3
0
2
1
wandb: W&B syncing is set to `offline` in this directory.  Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.

if using group method to use wandb, also stuck:
import torch.multiprocessing as mp
import torch.distributed as dist
import wandb

def main():
    mp.spawn(main_worker, nprocs=4)

def main_worker(gpu):
    print(gpu)

    dist.init_process_group(
        backend='nccl',
        init_method='tcp://<IP_ADDRESS>:4568',
        world_size=4,
        rank=gpu
    )

    # if dist.get_rank() == 0:
    wandb.init(project="aaa", group='DDP')

    # if dist.get_rank() == 0:
    wandb.log({'loss': 666})

if __name__ == '__main__':
    main()

2
0
1
3
wandb: W&B syncing is set to `offline` in this directory.  Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
wandb: W&B syncing is set to `offline` in this directory.  Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
wandb: W&B syncing is set to `offline` in this directory.  Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
wandb: W&B syncing is set to `offline` in this directory.  Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.

Environment

OS: Ubuntu 16.04
Environment: linux
Python Version: 3.6.7
wandb Version: 0.10.31

I also found #1771 seems similar to this problem.

Hey @chenbong , can you check if adding wandb.finish() at the end of main main code fixes the issue?

Yes, if I add wandb.finish(), it works well. Thanks your reply.


Add numbering for figure and equations in pdf-preview mode

Addresses:

https://github.com/NASA-IMPACT/nasa-apt/issues/654
https://github.com/NASA-IMPACT/nasa-apt/issues/653

@wrynearson It should be fixed now


slog: structured logging

See the OG PR here: https://github.com/btcsuite/btclog/pull/17
all the initial commits are the same. Only addition is the last few commits that just removes the old logger impl & runs unit tests in GH. Also basic Readme updates.

cc @yyforyongyu - This is the same as the PR in btclog with 3 additional commits & just changing the module name to github.com/lightninglabs/btclog

closing in favour of a v2 module in the upstream repo


UnSendable futures returned by service endpoints

The TokenCredential trait isn't bound by Send or Sync. As a result, dyn TokenCredential isn't Send. Since the OperationConfig in each (or some?) services contains Box<dyn TokenCredential>, the OperationConfig itself isn't Send. And so, futures returned by functions that require OperationConfig tend to not be Sendable (as far as I understand, anyway). This seems to cause problems when using a multi-threaded runtime.
Would it be reasonable to add a Send + Sync bind to TokenCredential? I tried it locally and it seems to solve my problems. I'm happy to give you a PR.

Hi @uint, yes a PR that shows what needs to change for one service would be great! I can adjust the code in autorust accordingly.

Hi @uint, yes a PR that shows what needs to change for one service would be great! I can adjust the code in autorust accordingly.

There! It's actually just a small change to core, so there's probably no need for the codegen.

There! It's actually just a small change to core, so there's probably no need for the codegen.


Policy mapstate cleanups

Clean up code not that selector cache is transactional, please review by commit:

policy: Rename ForEach...WithBroaderID/NarrowerID
policy: Remove redundant code left over from CIDR checks
policy: cleanups with transactional selector cache
policy: Skip checking for deny entries when there are none
policy: Remove DatapathKey helpers
policy: Clean-up trie iteration helpers
policy: Remove dead mapstate_test code

/test

/test

Rebased to bypass a broken unit test.

Rebased to resolve merge conflict.

GitHub claimed merge conflict with pkg/policy/mapstate.go when there is none. Let's see if reopening the PR gets rid of that.

/test

Rebased after #35150 merged.

/test


meadow farms

Good afternoon. Houses in the Meadows with hives are restored every time a player leaves the area. In the configuration is 50 days. But as soon as the player runs between two houses - they are restored. That is, the player gets an infinite supply of bees. Maybe there is a conflict with the mod DayCycle? I set the coefficient of 0.33.

com.orianaventure.mod.LocationReset.txt

I think this is the same issue that some people have been seeing with fuling camps. I don't think it's a mod conflict, but DayCycle might be causing the time to be off, I'm not sure. I am looking into the issue and will try to figure out why this is happening.

@vitalikbyrevich This should be fixed in version 0.3.1, if you still have issues you can reopen this ticket or reach out to me on discord.


Feature:   Linking the new page cbse_notes.html with resource.html

Feature description
Linking the new page cbse_notes.html with resource.html. cbse_notes.html will be a new page created for displaying the cbse notes for all subjects (class 11th and 12th). (feature issue has been requested before)
This issue is regarding the following features :

Need to link the new page (cbse_notes.html) to the navbar of resource.html
Also, Need to fix this image using web development courses section.

Few notes/documents from cbse_notes.html can be included in the body of resource.html, i.e, below the section contents of
NCERT BOOKS.

Please approve and assign this issue to me if you find it relevant : )
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Hey,@smilewithkhushi can you assign this to me.I can work on this.

Hi @smilewithkhushi ,
The web development image is properly working. The screenshot of the same is below-


Translate returning invalid value

After updating to the latest version and switching to <Translate> from localize(), the following error logs to the console and the app doesn't render at all:
Invariant Violation: Translate.render(): A valid React element (or null) must be returned.
It happens when using <Translate> with the id property, but if I supply it a render prop function, everything works well. The code is pretty simple:
const Introduction = () => {
  return (

        <Translate id="introduction" />

  );
};

export default Introduction;

Looks like a typings error ... are you using Flow or TypeScript?

I am using typescript and I just installed version v2.17.3 (from 2.16). I get Translate does not exist when trying to import it (other functions seem to be there if I import * as T from 'react-localize-redux).

@RikuVan see https://github.com/ryandrewjohnson/react-localize-redux/issues/68#issuecomment-380125253

I have just updated to version 2.17.4 and the problem didn't go away. And my project is a JS project, not TypeScript. I've started to suspect it might be some version incompatibility between different packages, as I updated only react-localize-redux and not other packages. But then again, why would it work with a render prop function and not simply by id reference?

Can you provide a copy of your package.json? That way I can try with the same dependencies you're using.

Can I see the translation data for this id="introduction"?

{
    "introduction":
    [
        "dummy text",
        "yoxlama mətn",
        "проверочный текст"
    ]
}

Here is the data, just text replaced with dummy values to make it shorter. I'm not sure about what to post as a working example. I followed the documentation when doing all the other steps, which is probably confirmed by localize() and render prop functions working as expected. Still, if I can provide anything specific, let me know.

I will need the exact translation data, not dummy values, as I'm suspecting the content could be the issue. I want to use it on my end to see if I can reproduce.
The difference between the render prop, and the passing id method is that copy will be run through ReactDOMServer.renderToStaticMarkup, which I'm suspecting may be having difficulties with the data being provided. This method does not get used by the translate function which is used by the render props.

Here is the actual data:
{
    "introduction":
    [
        " is a fast, reliable and eco-friendly courier service that you can trust!",
        " - əmanətlərinizi etibar edə biləcəyiniz güvənli, sürətli və ekoloji təmiz kuryer xidmətidir.",
        " - надежная, быстрая и экологически чистая курьерская служба, которой можно доверять!"
    ]
}

But I did test with the dummy values, and it still gave me the error.

K tested with that data and working fine on my end. Unfortunately there isn't much I can do if I can't reproduce. The only other thing I can suggest is if you can get a version running at https://codesandbox.io/ that is producing the same error, and then share that.

So I analyzed the source and located the line that is causing the issue. React throws error because it is given a simple string to render as a component. I got it to work by replacing the corresponding line in the locally installed module with React.createElement('div', {}, translateFn(id, data, options)), but I'm not sure that it is the best solution and I wonder why it happens only in my project.

I also discovered that if the translation data is an HTML string, like "
some text
", then no error is thrown, app renders OK, but the elements described in the string are rendered within a , though the elements themselves may be block-level elements, like ` in this case, which goes against HTML best practices.

As mentioned previously I really need to see a working example that is throwing the error to help out. Right now I don’t have a full view of your source.
Another option if you don’t want to provide your source is to fork this repo and create a unit test that reproduces the error, and then submit a PR. The Translate component has plenty of unit tests that you can look at for reference.
Finally, the translation data you provided me worked fine on my end, which is why I believe it’s either a implementation issue or maybe it’s the older version of React.
I will try and test on my end with older React version to at least rule that out.

I was able to reproduce the problem -  - and indeed, it happens with old version of React, 15.5.4 specifically. Updating React to the latest version fixes the problem. Still, digging deeper into the source, I found that getLocalizedElement returns either a React element, or just a translation string, depending on a couple of conditions. I may be wrong, but is this function not supposed to return a React element (or maybe null in certain cases), no matter what the conditions?

Thanks for taking the time to put this together. I will take a closer look at this when I get some time, but my guess it has to do with React 16 supporting fragments and strings, while older versions of React do not. I'm guessing there is a scenario in the Translate component that results in one of these fragments that aren't supported by React 15 being returned.
I will need to see if there is a clean fix I can do to make things backwards compatible. If not I may just bump the React peer dependency to 16 - meaning users on older versions of React would have to stick to the older API without the Translate component.

I have just published v2.17.5 where I have update the peerDependency in the package.json to "react": "^16.0.0", which will now warn user's when installing an older version of React.
I have also updated the documentation with callouts for those using older versions of React along with a new entry in the FAQ page Can I use Translate component with React 15.x.x?.
Thanks again for your help on tracking this one down.

Great! I'm glad I was able to help.


fix: Discrete slider label centered

JIRA Reference: JIRA
Design Reference: Design
Motivation and context
Discrete slider label should be properly centered below slider thumb.
Before

After

How to test
Storybook - DiscreteSlider

Would you mind linking the tickets and designs for the component, I am curious how the intended mobile behaviour was designed for that.

Description is now up to date with reference to ticket and design.


[RFC] Remove @param and @return when they don't provide new informations

Description:
I'd like to propose the idea of a "strip down useless PHPDoc"-fixer that:

Removes @param records when they don't provide additional informations
Removes @return records when they don't provide additional informations

Before:
<?php

class Example
{
    /**
     * @param \stdClass $obj
     * @return \stdClass
     */
    public function canBeRemoved(\stdClass $obj): \stdClass
    {
    }

    /**
     * @param \stdClass|array $mixed
     * @return \stdClass
     */
    public function canNotBeRemoved($mixed): \stdClass
    {
    }

    /**
     * @param \stdClass $obj
     * @param int|bool $mixed
     * @return \stdClass
     */
    public function firstParamCanBeRemoved(\stdClass $obj, $mixed): \stdClass
    {
    }
}

After:
<?php

class Example
{
    public function canBeRemoved(\stdClass $obj): \stdClass
    {
    }

    /**
     * @param \stdClass|array $mixed
     */
    public function canNotBeRemoved($mixed): \stdClass
    {
    }

    /**
     * @param int|bool $mixed
     */
    public function firstParamCanBeRemoved(\stdClass $obj, $mixed): \stdClass
    {
    }
}

Hi.
This feature was accepted and even discussed how to do it as part of bigger, more generic rule.
Need to find that discussion.
@localheinz , I remember I was discussing it with you and you thumbed this issue as well, do you remember our discussion?

@keradus
Cannot recall, but I remember countless times re-iterating personal rules for when a method needs a docblock and when it doesn't to former team members, hehe.
In the light of that, a fixer that solves this problem would be a nice addition to the tool belt!

However, I would suggest to

remove entire docblocks only when they do not contain any additional information
not remove parts of a docblock

<?php

class Example
{
    /**
     * @param \stdClass $obj
     * @return \stdClass
     */
    public function canBeRemoved(\stdClass $obj): \stdClass
    {
    }

    /**
     * @param \stdClass|array $mixed
     * @return \stdClass
     */
    public function canNotBeRemoved($mixed): \stdClass
    {
    }

    /**
     * @param \stdClass $obj
     * @param int|bool $mixed
     * @return \stdClass
     */
    public function firstParamCanBeRemoved(\stdClass $obj, $mixed): \stdClass
    {
    }
}
After:

<?php

class Example
{
    public function canBeRemoved(\stdClass $obj): \stdClass
    {
    }

    /**
     * @param \stdClass|array $mixed
     */
    public function canNotBeRemoved($mixed): \stdClass
    {
    }

    /**
     * @param int|bool $mixed
     */
    public function firstParamCanBeRemoved(\stdClass $obj, $mixed): \stdClass
    {
    }
}
```

ok, I will try to find that ticket to have full overview and not creating 2 different specs.

I think you are looking for https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/2464 :)

@keradus Is there a spec for this issue? Or is it waiting for a pull request?

I believe there is spec somewhere, yet it needs to be found.
For sure, one of open issues


rise_startup()

Hi, Dr.Maih
Thanks for your amazing work for RISE toolbox.
I read your 2018 paper, Oil and Macroeconomic (In)Stability. I tried to replicate the model but i faced the question at the beginning.
I have added the toolbox path to Matlab. and then I run the rise_startup(). But I get below information:
'abstvar' is not a valid base class.
Error in set
Error in rise_startup
It works before, but I do not understand why does not work again. I even reinstalled matlab.

Hi,
Most likely you have not fully downloaded or installed RISE.
Cheers,
J.
On Mon, Aug 16, 2021 at 11:06 AM Guimin95 @.***> wrote:

Hi, Dr.Maih
Thanks for your amazing work for RISE toolbox.
I read your 2018 paper, Oil and Macroeconomic (In)Stability. I tried to
replicate the model but i faced the question at the beginning.
I have added the toolbox path to Matlab. and then I run the
rise_startup(). But I get below information:
'abstvar' is not a valid base class.
Error in set
Error in rise_startup
It works before, but I do not understand why does not work again. I even
reinstalled matlab.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jmaih/RISE_toolbox/issues/164, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATKBTZC6I373POVZWFW7ALT5DIITANCNFSM5CHJ6JWA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

Hi - I'm having this issue too. Seems to be the same as closed issue #139

Let me know if this is still an issue. It may be related to your operating system in the sense that you might be using an operating system that I have not thought about or used before. Should this be the case, the problem would be easy to solve.


add TOC generator to nimble file

This creates a simple

 list and puts it in books/toc.mustache. Now we just have to get a layout that can read it in which is in the works at https://github.com/pietroppeter/nimib/pull/43
An example of a toc.mustache:

basic_plotting

hej

tjo

@Clonkk I didn't mess anything you did now, right?

entirely possible. What are you referring to ?
The CI failed once due to a network issue (relaunching the actions made it pass).

@Clonkk I had to resolve a merge conflict in the Nimble file. Just wanted to check that I didn't corrupted the whole thing :)

I've discovered a flaw with the links now. They are relative so if we are in folder foo and we have a link to index.html, it will take us to foo/index.html.

An option would be to make all links absolute so that they work on a server. But they would work when just opening them as raw HTML files in the browser. Is that ok, or will people want to have a local copy? Perhaps they want to, but starting a simple HTTP server isn't too much of a hassle then. I'm not really sure which solution to use here 🙃

Ok I think I solved it. I had to introduce a partial called path_to_home that has the current file's path to the home dir. The link is then relative to it.

Let's use html only for now.
I believe the application part to serve html files should be handled by Nimib down the road.

Too late 😛 Now it works both on servers and locally. Plus I had to create the generated toc.mustache in the docs/ folder, it wouldn't find it otherwise.

Oh, I thought you meant having a direct link to html files vs routing a function to serve the HTML .
Down the line, I believe Nimib could to use Karax to serve documentation and make it usable as a documentation server and not just an html generator

Hehe my thoughts weren't very clear so my words were even worse... I'm not really sure of the difference either. Now it (automatically) hardcodes the relative links. So if we have /index.html and /book1/part1.html the link from part1 to index is ../index.html.
Not a bad idea. 👍

Github pages already serve all the file inside the docs folder so there isn't much difference for now (that's why I wouldn't worry about it for now)
But f we want to host the documentation elsewhere then you need an HTTP server to serve the HTML page. That's wherestuff like Karax could come in handy and where Nimib has room to grow I believe

Ahh ok yes that's true 😄
Yeah you may be on to something. The more we use the Nim ecosystem the better B)

minimal mdbook support is finally done. see example here: https://pietroppeter.github.io/nimib/book/index.html
@HugoGranstrom to adapt it to this repo you can look at the toc.mustache there. I used a {{path_to_root}} and in this way the relative links work correctly (experiment with the sample book above).
to use it you basically need to copy the complete content of docs/book folder and merge the nbPostInits.

ah, one basic feature of the toc I am not so sure how to implement with the template is the class="active" to highlight current section of book.

sorry, realized this book thing is to big and deserves a repo of its own. I forced the removal of last PR. I will open a new repo with this mdbook content

and it's back alive here: https://pietroppeter.github.io/nimiBook/
I copied the structure from this repo, so it should be straightforward to port here. I could probably do it later in the weekend, but if you someone wants to go ahead and try it, feel free!

I'll take a look at it. Thanks you for doing all this work it's awesome

@pietroppeter Wow it looks great! :D Only thing missing visually is a "Made with Nimib" at the bottom 😉

ah, one basic feature of the toc I am not so sure how to implement with the template is the class="active" to highlight current section of book.

I have an idea for how to solve this but it involves a bit of javascript. I'll basically loop over all links in javascript and add the class to the right element there. And I'll use mustache's text-interpolation to get all the paths. If I get it to work I'll make a PR to NimiBook (nice name btw! 😎). This is the situation when one would want if-statements in Mustache...

I'll take a look at it.

Great! Feel free to create a new PR and incorporate my changes here if you find them useful and then we'll close this one 😄

Another option would be to use a lambda and use it kinda like this:
{{#parse_active}}
{{here_path}} basics/plotting.html
{{/parse_active}}

Where basics/plotting.html is the relative link inserted by the TOC generator.
parse_active would then be implemented something like this:
nbDoc.context["parse_active"] =
  proc(s: string, c: Context): string =
    let rendered = s.render(c)
    let splitted = rendered.split(" ")
    if splitted[0] == splitter[1]: # we might have to adjust them so the leading `/` are the same and that both are using the same convention (/ vs \)
      return "class=\"active\""
    else:
      return ""

Does this sound sane?

I copied the structure from this repo, so it should be straightforward to port here. I could probably do it later in the weekend, but if you someone wants to go ahead and try it, feel free!

Great! Feel free to create a new PR and incorporate my changes here if you find them useful and then we'll close this one

I probably won't have enough time to polish a PR before next week so don't wait for me if you want to.

@HugoGranstrom I am actually testing an approach using fixed mustache templates: see a writeupt here: https://pietroppeter.github.io/nblog/drafts/toc_mustache.html

I probably won't have enough time to polish a PR before next week so don't wait for me if you want to.

I think we don't have to hurry too much here. It's more resource-effective to implement all the basic features in NimiBook first and once it's done port it over to here. Otherwise we may fall into writing the same code twice. :)


ENH: New interface for Coregistration

This PR summarizes the ideas to implement for coreg:

Milestone 1.0

[ ] increase fiducial picking performance (https://github.com/mne-tools/mne-python/pull/9689#issuecomment-951910957)
[ ] add support for the guess_mri_subject parameter
[ ] add support for the project_eeg parameter
[ ] add support for the scale_by_distance parameter
[ ] add support for the mark_inside parameter
[ ] add support for the scale parameter
[ ] add support for the head_inside parameter
[ ] find a better name for the "Digitization Source" section (which could be confusing)
[ ] make the sections collapsible (ipywidgets)
[ ] add units to UI (Omit more explicit message)
[ ] console idea to add to the UI whatever is printed in the terminal
[ ] add tooltips as much as possible on buttons
[ ] add legend to plot alignment / coreg to see what colored points are etc.
[ ] display dist estimation in mm.
[ ] 📁 icon for file button widgets (instead of "Load")

Done

[x] Update Coregistration() to require parameters (https://mne.discourse.group/t/mne-coreg-based-on-ctf-data/3022/4)
[x] Decouple GUI code from model (suggested in https://github.com/mne-tools/mne-python/pull/6693#issuecomment-542364434, done in https://github.com/mne-tools/mne-python/pull/9516)
[ ] Build a coreg GUI using pyvista (work in progress in https://github.com/mne-tools/mne-python/pull/9689)

Bugs

[ ] inconsistent behaviour of checkbox layout for ipywidgets

I am not able to get past this:
from mne.coreg import Coregistration
it throws error: cannot import name 'Coregistration' from 'mne.coreg'
The other function from mne.coreg work well like getting fiducials from fiducials = mne.coreg.get_mni_fiducials(subject, subjects_dir=subjects_dir)
but this import Coregistration from mne.coreg fails for some reason.
Can someone help me resolve this?

from mne.coreg import Coregistration

To start up the coregistration GUI, you need to call
mne.gui.coregistation()

Yes, but I want to use automated coregistration as explained in MNE tutorial: https://mne.tools/dev/auto_tutorials/forward/25_automated_coreg.html
So, how should I resolve this error?

@hbk008 I cannot reproduce this with MNE-Python 0.24. Please update to MNE-Python 0.24, then it should work.
Please note that the issue tracker is intended for bug reports and development issue tracking only. For usage questions like yours, please refer to our forum at https://mne.discourse.group

Okay, will post in the forum next time. You meant update from 0.23 to 0.24, right? Anyway, I updated to 0.24 and it worked finally, thanks!

Great to hear it works now!! 👍