chore: relock dependencies

What?
lock dependencies
Why?
Monthly maintenace
Notes:

python
	 version: 3.9.14
	location: /usr/local/bin/python
roadie
	 version: 6.4.1
	location: /usr/local/lib/python3.9/site-packages/roadie
✓ Retrieving roadie-enabled Python interpreters
Found roadie for the following Python versions: 3.7, 3.8, 3.9, 3.10, 3.11
✓ Attempting to lock for Python 3.9
✗ Attempting to lock for Python 3.11
Failed to lock Python 3.11 using /root/.pyenv/versions/3.11.0/bin/roadie:
/root/.pyenv/versions/3.11.0/lib/python3.11/site-packages/yaspin/core.py:59: UserWarning: color, on_color and attrs are not supported when running in jupyter
	  self._color = self._set_color(color) if color else color
	python
		 version: 3.11.0
		location: /root/.pyenv/versions/3.11.0/bin/python3.11
	roadie
		 version: 6.4.1
		location: /root/.pyenv/versions/3.11.0/lib/python3.11/site-packages/roadie
✓ Sorting Requirements
✗ Generating lock file for requirements/dev.in
		  ERROR: Could not find a version that satisfies the requirement torch==1.10.2 (from -r /codefresh/volume/projects/recursionpharma/gflownet/requirements/main.in (line 3)) (from versions: 1.13.0, 1.13.1, 2.0.0)
		Traceback (most recent call last):
		  File "/root/.pyenv/versions/3.11.0/bin/pip-compile", line 8, in <module>
		    sys.exit(cli())
		             ^^^^^
		  File "/root/.pyenv/versions/3.11.0/lib/python3.11/site-packages/click/core.py", line 1130, in __call__
		    return self.main(*args, **kwargs)
		           ^^^^^^^^^^^^^^^^^^^^^^^^^^
		  File "/root/.pyenv/versions/3.11.0/lib/python3.11/site-packages/click/core.py", line 1055, in main
		    rv = self.invoke(ctx)
		         ^^^^^^^^^^^^^^^^
		  File "/root/.pyenv/versions/3.11.0/lib/python3.11/site-packages/click/core.py", line 1404, in invoke
		    return ctx.invoke(self.callback, **ctx.params)
		           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
		  File "/root/.pyenv/versions/3.11.0/lib/python3.11/site-packages/click/core.py", line 760, in invoke
		    return __callback(*args, **kwargs)
		           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
		  File "/root/.pyenv/versions/3.11.0/lib/python3.11/site-packages/click/decorators.py", line 26, in new_func
		    return f(get_current_context(), *args, **kwargs)
		           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
		  File "/root/.pyenv/versions/3.11.0/lib/python3.11/site-packages/piptools/scripts/compile.py", line 510, in cli
		    results = resolver.resolve(max_rounds=max_rounds)
		              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
		  File "/root/.pyenv/versions/3.11.0/lib/python3.11/site-packages/piptools/resolver.py", line 260, in resolve
		    has_changed, best_matches = self._resolve_one_round()
		                                ^^^^^^^^^^^^^^^^^^^^^^^^^
		  File "/root/.pyenv/versions/3.11.0/lib/python3.11/site-packages/piptools/resolver.py", line 350, in _resolve_one_round
		    their_constraints.extend(self._iter_dependencies(best_match))
		  File "/root/.pyenv/versions/3.11.0/lib/python3.11/site-packages/piptools/resolver.py", line 463, in _iter_dependencies
		    dependencies = self.repository.get_dependencies(ireq)
		                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
		  File "/root/.pyenv/versions/3.11.0/lib/python3.11/site-packages/piptools/repositories/pypi.py", line 250, in get_dependencies
		    self._dependencies_cache[ireq] = self.resolve_reqs(
		                                     ^^^^^^^^^^^^^^^^^^
		  File "/root/.pyenv/versions/3.11.0/lib/python3.11/site-packages/piptools/repositories/pypi.py", line 213, in resolve_reqs
		    results = resolver._resolve_one(reqset, ireq)
		              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
		  File "/root/.pyenv/versions/3.11.0/lib/python3.11/site-packages/pip/_internal/resolution/legacy/resolver.py", line 509, in _resolve_one
		    dist = self._get_dist_for(req_to_install)
		           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
		  File "/root/.pyenv/versions/3.11.0/lib/python3.11/site-packages/pip/_internal/resolution/legacy/resolver.py", line 461, in _get_dist_for
		    self._populate_link(req)
		  File "/root/.pyenv/versions/3.11.0/lib/python3.11/site-packages/pip/_internal/resolution/legacy/resolver.py", line 422, in _populate_link
		    req.link = self._find_requirement_link(req)
		               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
		  File "/root/.pyenv/versions/3.11.0/lib/python3.11/site-packages/pip/_internal/resolution/legacy/resolver.py", line 388, in _find_requirement_link
		    best_candidate = self.finder.find_requirement(req, upgrade)
		                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
		  File "/root/.pyenv/versions/3.11.0/lib/python3.11/site-packages/pip/_internal/index/package_finder.py", line 941, in find_requirement
		    raise DistributionNotFound(
		pip._internal.exceptions.DistributionNotFound: No matching distribution found for torch==1.10.2 (from -r /codefresh/volume/projects/recursionpharma/gflownet/requirements/main.in (line 3))

	Some equipment was damaged when loading the bus check logs above for more information.
	Do not forget to commit generated files and review warnings and errors

✗ Attempting to lock for Python 3.10
Failed to lock Python 3.10 using /root/.pyenv/versions/3.10.7/bin/roadie:
/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/yaspin/core.py:59: UserWarning: color, on_color and attrs are not supported when running in jupyter
	  self._color = self._set_color(color) if color else color
	python
		 version: 3.10.7
		location: /root/.pyenv/versions/3.10.7/bin/python3.10
	roadie
		 version: 6.4.1
		location: /root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/roadie
✓ Sorting Requirements
✗ Generating lock file for requirements/dev.in
		    error: subprocess-exited-with-error
		    × python setup.py egg_info did not run successfully.
		    │ exit code: 1
		    ╰─> [6 lines of output]
		        Traceback (most recent call last):
		          File "<string>", line 2, in <module>
		          File "<pip-setuptools-caller>", line 34, in <module>
		          File "/tmp/pip-resolver-iehjy5zq/torch-sparse/setup.py", line 8, in <module>
		            import torch
		        ModuleNotFoundError: No module named 'torch'
		        [end of output]
		    note: This error originates from a subprocess, and is likely not a problem with pip.
		Traceback (most recent call last):
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/pip/_internal/operations/build/metadata_legacy.py", line 64, in generate_metadata
		    call_subprocess(
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/pip/_internal/utils/subprocess.py", line 224, in call_subprocess
		    raise error
		pip._internal.exceptions.InstallationSubprocessError: python setup.py egg_info exited with 1
		The above exception was the direct cause of the following exception:
		Traceback (most recent call last):
		  File "/root/.pyenv/versions/3.10.7/bin/pip-compile", line 8, in <module>
		    sys.exit(cli())
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
		    return self.main(*args, **kwargs)
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/click/core.py", line 1055, in main
		    rv = self.invoke(ctx)
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
		    return ctx.invoke(self.callback, **ctx.params)
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/click/core.py", line 760, in invoke
		    return __callback(*args, **kwargs)
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
		    return f(get_current_context(), *args, **kwargs)
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/piptools/scripts/compile.py", line 510, in cli
		    results = resolver.resolve(max_rounds=max_rounds)
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/piptools/resolver.py", line 260, in resolve
		    has_changed, best_matches = self._resolve_one_round()
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/piptools/resolver.py", line 350, in _resolve_one_round
		    their_constraints.extend(self._iter_dependencies(best_match))
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/piptools/resolver.py", line 463, in _iter_dependencies
		    dependencies = self.repository.get_dependencies(ireq)
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/piptools/repositories/pypi.py", line 250, in get_dependencies
		    self._dependencies_cache[ireq] = self.resolve_reqs(
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/piptools/repositories/pypi.py", line 213, in resolve_reqs
		    results = resolver._resolve_one(reqset, ireq)
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/pip/_internal/resolution/legacy/resolver.py", line 509, in _resolve_one
		    dist = self._get_dist_for(req_to_install)
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/pip/_internal/resolution/legacy/resolver.py", line 462, in _get_dist_for
		    dist = self.preparer.prepare_linked_requirement(req)
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 491, in prepare_linked_requirement
		    return self._prepare_linked_requirement(req, parallel_builds)
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 577, in _prepare_linked_requirement
		    dist = _get_prepared_distribution(
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 69, in _get_prepared_distribution
		    abstract_dist.prepare_distribution_metadata(
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py", line 61, in prepare_distribution_metadata
		    self.req.prepare_metadata()
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/pip/_internal/req/req_install.py", line 541, in prepare_metadata
		    self.metadata_directory = generate_metadata_legacy(
		  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/pip/_internal/operations/build/metadata_legacy.py", line 71, in generate_metadata
		    raise MetadataGenerationFailed(package_details=details) from error
		pip._internal.exceptions.MetadataGenerationFailed: metadata generation failed

	Some equipment was damaged when loading the bus check logs above for more information.
	Do not forget to commit generated files and review warnings and errors

Skipping Python 3.7
✓ Attempting to lock for Python 3.8

We'll catch up next month, hopefully #71 will grease the gears here.


How to check receiver read the message or not?

I created 1 channel with 1 to 1 chat and now i want to show the message read status like as WhatsApp.
I review docs but doesn't find anything so i request you to please help me regarding this.
I want to do something like this.
When sender send message and once receiver read the message then sender receive some flag like IsRead = true/false.
How can o do this?
Any help will be appreciated.
Thanks in advance.

Hello @StellarKuldeep,
When a user reads a message, the app can call the markAsRead method to denote that he/she has read the message. https://docs.sendbird.com/ios/group_channel_advanced#3_mark_messages_as_read
The app can also retrieve an array of members who have read a message, and you can determine if the receiver has read the message or not.
https://docs.sendbird.com/ios/group_channel_advanced#3_retrieve_members_who_have_read_a_message

@janna-sendbird , Thanks for your help. I try to get numbers of read members using this
let unreadMember = self.groupChannel.getReadMembers(with: message, includeAllMembers: true)
But the issue is when i send new message to other user and comes to chattingView for 1st time then new message

@janna-sendbird , Thanks for your help, i have done this. Now you can close this question.

Hi @StellarKuldeep
Good to hear that you are able to track the unread counts now in your app.
As an alternative to adding the property, you can use the channelDidUpdateReadReceipt(_ sender: SBDGroupChannel) function, and if sender == self.channel, then you can update the read statuses for the messages.


Type Error in Intellij

The css is working, only Intellij shows type error as below:

TS2339: Property 'text_cyan_400' does not exist on type 'TypewindError"Typewind's types haven't been generated. Run npx typewind generate or follow the docs at https://typewind.dev/docs/installation">'.

Additional info:

A clean setup with Vite, Babel, React, Next UI (v2)
Done npx typewind generate
Tip can show up
npm run build can pass, no error.

Any ideas how to fix the ts error in Intellij? thanks in advance

This is weird, this error is only shown when the type definitions haven't been generated, but since you're getting type preview and autocomplete this means they have been generated.
Is there a possibility you have 2 version of typewind maybe? I haven't personally used IntelliJ so can't comment on that.

hi @Mokshit06 thanks for your thoughts. I tried uninstall and install again, and the error is gone now, :D


python3Packages.amcrest: 1.8.1 -> 1.9.2

Motivation for this change
Update to latest upstream release 1.9.2
Change log: https://github.com/tchellomello/python-amcrest/releases/tag/1.9.2
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.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.

Result of nixpkgs-review pr 138241 run on x86_64-linux 1

2 packages built:

python38Packages.amcrest
python39Packages.amcrest

Result of nixpkgs-review pr 138241 at a65d6a7a run on aarch64-linux 1

2 packages built successfully:

python38Packages.amcrest
python39Packages.amcrest


Fix namespace issue for BinarySecurityToken tag

In nokogiri 1.12.0 the following change was introduced:

[CRuby] Reparented nodes no longer inherit their parent's namespace. Previously, a node without a namespace was forced to adopt its parent's namespace. [https://github.com/sparklemotion/nokogiri/issues/1712, https://github.com/sparklemotion/nokogiri/issues/425]

It seems like the BinarySecurityToken was implicitly relying on this to add the wsse: prefix which is no longer happening. This PR fixes it by explicitly adding the namespace.

👍

Running this patch against a test in our system works, but for some reason  #31 is still producing a BinarySecurityToken tag without the namespace.


CI: Remove travis dependency

I want to migrate away from travis, because it isn't the fastest solution. The github actions finish way sooner.
Github action should be changed to:

Run semantic release (check if it needs a new version and then publish it)
Create a special dev release (from the development branch)
Send a trigger to sonos2mqtt action to update the dependency (new action)

Fixed in https://github.com/svrooij/node-sonos-ts/pull/61


docs for functions ui

@treeder thoughts?
also, should docker command be duplicated here

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

@treeder updated


Complain about "Unspecific primary tag value" (like barrier=yes) in validator

Description
Offer to replace it with more specific feature
Offer to split it into parts (does not apply to nodes and amenity=school barrier=yes taggings)
From https://github.com/openstreetmap/id-tagging-schema/issues/531
Screenshots
No response

BTW, the same can be done with say https://taginfo.openstreetmap.org/tags/traffic_calming=yes

here's a quick list of all primary tag keys with their usage numbers of their yes value (only showing tags with usage numbers > 2k, and excluding building=yes for obvious reasons):

barrier=yes (129k)
craft=yes (3k)
emergency=yes (95k) [^1]
healthcare=yes (13k)
historic=yes (132k) [^1]
landuse=yes (4k)
leisure=yes (3k)
man_made=yes (18k) [^1]
military=yes (2k)
natural=yes (5k)
office=yes (73k)
shop=yes (179k)
tourism=yes (7k)
traffic_calming=yes (13k)
water=yes (5k)

I guess what the validator could do is the following: If the primary tag(s) of an object all have the value yes (adding an exception for building=yes), show a warning/information about the lack of detail. That way a feature tagged as barrier=city_wall + historic=yes would not be flagged.
[^1]: I'd assume that these tags might largely not be used as a primary tag (with the value yes), but rather as properties of other primary tags

Offer to split it into parts

What exactly do you mean by splitting into parts here? And how would it help to solve the issue?

@tyrasd
Would it make sense to request adding "Unspecific Foobar" on iD tagging scheme issue tracker for this list from https://github.com/openstreetmap/iD/issues/9209#issuecomment-1192705808 ?

I've just added support for the remaining common ones (man_made, healthcare, traffic_calming, barrier) in addition to the previously existing ones (shop, office). I think the rest is reasonably uncommon (or used as an non-primary tag / attribute) to not need a dedicated preset IMHO.
I think it's sufficient to just implement the validator to show a hint about all of these (and the remaining primary tags like aerialway=yes, etc. as well).


Bug when calling write_uvfits

When I read in a uvfits file from FHD_prep.py, make some changes to the data_array only, and then write out a new uvfits file using write_uvfits, some problem comes out when writing history, the error message is like this:
Traceback (most recent call last):
File "/Users/wenyangli/eoranalysis/db/capo/omni/omni_apply_ucla.py", line 97, in
uvi.write_uvfits(newfile)
File "/Users/wenyangli/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/uvdata/uv.py", line 759, in write_uvfits
hdu.header['HISTORY '] = self.history.value
File "/Users/wenyangli/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/astropy/io/fits/header.py", line 195, in setitem
self._update((key, value, comment))
File "/Users/wenyangli/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/astropy/io/fits/header.py", line 1678, in _update
self.append(card)
File "/Users/wenyangli/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/astropy/io/fits/header.py", line 1226, in append
card = Card(*card)
File "/Users/wenyangli/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/astropy/io/fits/card.py", line 448, in init
self.value = value
File "/Users/wenyangli/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/astropy/io/fits/card.py", line 603, in value
'represent printable characters in ASCII.' % value)
ValueError: FITS header values must contain standard printable ASCII characters; 'MDLVIS: created file.\nMDLVIS: /Users/wenyangli/eoranalysis/db/aipy/scripts/mdlvis.py -s for,pi\nsdf=.0005 --inttime=10.0 --startjd=2455930.24787 --endjd=2455930.24926 -\nFHD_prep:/Users/wenyangli/eoranalysis/db/brownscripts/jcp/FHD_prep.py -C\nFITS: Miriad fits: fits: CVS Revision (not recorded)\nFITS: Executed on: 16MAY11:16:21:22.0\nFITS: Command line inputs follow:\nFITS:    in=zen.2455930.24787.xx.uvM\nFITS:    op=uvout\nFITS:    out=zen.2455930.24787.xx.uvM.uvfits\nFITS: NOTE: Use options=varwt if loading into Miriad\nAIPS WTSCAL =  1.00000000000E+00' contains characters/bytes that do not represent printable characters in ASCII.

Will come up with test for producing this error.

Fixed.


Reporting

Develop a framework for generating "compiled" reports. Given an instance and its current forensic payload situation, we should be able to invoke something akin to fablab report, and have it produce a distributable report containing standardized results from the instance.
Will probably use d3.js to produce some relatively nice-looking analysis of the data set contained in the instance.

The entirety of the data set for characterization reporting is in place. All of the data elements are arranged on a consistent timeline, which should make dynamic reporting from a SPA data set visualizer fairly straightforward.


support ./src/stdio/*.c

Codecov Report

Merging #35 (900d540) into musl-go (319bcb3) will decrease coverage by 1.80%.
The diff coverage is 1.46%.

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


commands "rce" and "rcep" introduce 2 exports

import React, { Component } from 'react'

export class FileName extends Component {
  render() {
    return <div>$2</div>
  }
}

export default FileName;

Due to this two exports the react-redux HOC (connect) and react-router-dom HOC are not applied.
As a workaround i manually remove the export from the top class definition

@TRomesh It's because when I was using class components, I liked to test pure classes without hocs etc. That was just easier and more reliable. #71


Destroy method throw an error when enabled OnSpill plugin

Problem:
When revertOnSpill property is enabled and I'm trying to destroy an instance I get an error:

Uncaught TypeError: Cannot read property 'changedTouches' of undefined

Please, look at an example below.
JSBin/JSFiddle demonstrating the problem:
jsbin.com

Solved in 9fd576951eed5742138152c36cd68122c162e1bc


THIS PROJECT IS DEAD

There haven't been any contributions, bug fixes, or responses to issues. All contributions stop either in or before April 2017. There hasn't been any activity since.

Unfortunately, we are no longer providing help support for Nylas Mail or N1. As a company, Nylas is focused on our API products to help other developers build email, calendar, and sync capabilities into their own applications.
While we no longer provide help support, N1 and Nylas Mail will continue working just as they do today – we are not turning them off any time in the forseeable future. If you have a subscription for N1 or Nylas Pro, those will continue to work. If you’re a developer, or you know some developers interested in email or Electron applications, we encourage forks of the Nylas Mail project. - Source

For everybody interested, there's a maintained fork.

So sad, it is only mail client in Ubuntu that provides me user experience like in Mac.
Does anyone know alternative of this project?
Or, I'd better just keep using latest stable release..

This is so sad. The app works great for me and have the decent look on both linux, mac

Yet they have the decency to charge money for snoozing emails in a dead app.

@dubstrike I've been a paying customer for a long time, recommended the app to a lot of people. It's a huge let-down that they don't even have the decency to properly announce the full-stop of development. I surely hope the community will pick-up the pieces and continue development.
Since there are quite a number of paying users, we may as well set-up a fund, to support future development, independent from Nylas. I'm certainly willing to chip-in.

Hey folks! I'm one of the original authors of Nylas Mail (hey, I'm in the screenshot!)
I left Nylas back in December, but I'm also working on a fork of the app over at https://github.com/bengotow/N1. The first release isn't quite ready, but should be in a couple weeks. I'm bringing up infrastructure to continue to power the cloud features and re-writing the mail sync code (which I was never really satisfied with) in C++ using mailcore2, the same framework used by Airmail and Mailbox.  Stay tuned!

@bengotow  Nice that you keep it up, but I realy dislike that you rewrite it in C++. The best part if nylas was that I can completly configure it by my own with js.

@bengotow Super excited that your keeping it up. I notice that the there is no issue track and the slack invite link does not work. How would I go about getting involved in helping you?

@bengotow, it's really good that you're keeping it up. I'll try to contribute whenever possible. Two things for now. 1- Does your fork still store user credentials into you servers (that was a serious concern for me)? 2 - I couldn't see any issues area in the fork, will you open it?

@diegomachadosoares  Good point I would be much more comfortable with it storing credentials if the server is open source and I can deploy it myself

@corbinu The server is actualy open source (see it here https://github.com/nylas/sync-engine), but from what I got by exchanging some emails with the Nylas team, this client stores your credentials into their servers anyway to enable features like snooze and etc... I believe that it should be at least * easily * configurable and at that time it wasn't (at least not without tinkering into the code)... therefore my question.

Is this why snoozed messages stopped coming back to inbox?

@ceilican hah I was wondering about that too..

@moon6pence I'm increasingly using the new thunderbird which can be configured to look a bit like Nylas especially with its new themes http://www.omgubuntu.co.uk/2017/04/a-modern-thunderbird-theme-font but I miss features like snoozing and the way the aliases are handled. One bonus though it does have a spam filter.

How ironic. I only downloaded Nylas Mail today searching for a proper email client.
Oh, well... 🗡 R.I.P.
@bengotow : Good luck with the project will follow it closely. :)

Additionally, a group from the community is working on maintaining the existing Nylas codebase (seen here: https://github.com/nylas/nylas-mail/issues/3564

danielmelogpi
I gave this a shot and forked the project to https://github.com/nylas-mail-lives/nylas-mail.
I still need to study it in my spare time and I imagine you guys are in the same boat.
@mayurdw, @sotayamashita and @dweremeichik I sent you invites for membership.
May be we can try to set this in motion!

I guess this issue still has some activity. I'm one of the developers at https://github.com/nylas-mail-lives/nylas-mail, and just like to say hi!
A couple of things people may have missed:

Nylas made their official sunset notice: https://www.nylas.com/blog/sunsetting-nylas-mail-development
We do have a release (v2.1.0, based off v2.0.15 [which isn't the latest Nylas codebase]) over at https://github.com/nylas-mail-lives/nylas-mail/releases/tag/2.1.0
We'll be releasing v2.2.0 shortly. The large version jump is because this version will include the entire code dump Nylas made (read the blog post above) and will have all of the latest Nylas-made features that is missing in v2.1.0
NML has a slack channel; you can get your invite at https://nylasisalive.slack.com/join/shared_invite/MjAzMDE1NTU0MDM2LTE0OTgyNzM3MTItODY4OWNlNTdkMw

Wow, such a great product simply died. A really sad story.

Thank you for posting this! I guess that explains the little bugs I've noticed creeping in.

For god's sake someone remove the issues or at least add a comment (as in template) to ensure that people stop posting new issues even though they are never going to get addressed. I can't believe how negligent Nylas is... then again, they abandoned this mail client after making people pay for it.

@franzos I'll reach out to my connection at Nylas to see if they can lock the Issues down somehow or leave a note in an issue template.


chore(rust)::> used --locked argument with cargo run argument

Current behavior
Currently, things are less reproducible due to potential dependency changes (because of cargo run) and potentially less stable if dependency updates introduce breaking changes.

Proposed changes
After using --locked flag, things become highly reproducible as dependency versions are fixed and more stable as dependency versions are locked.

Addressed #3005 pointer 4

@PsychoPunkSage can you change the commit message to chore(rust): used cargo --locked argument also, we should use a more descriptive commit message

@PsychoPunkSage can you change the commit message to chore(rust): used cargo --locked argument also, we should use a more descriptive commit message

Sure @metaclips I will keep this in mind from next time

@PsychoPunkSage here's how I'll fix my commit message
git pull --rebase https://github.com/build-trust/ockam.git develop
git commit --amend -m "commit_message_here"
git push -f

Thanks for an amazing PR @PsychoPunkSage


Achievements sync per user

idk how this happened, but it does. in my new server achievements sync per user, simple as that. everyone has the same achievements. it also messes up the achievements progress menu. i'm considering just shutting down this server just because of this bug.

This was fixed


Subprocess keeps running after cell interruption (subshell)

Environment data

VS Code version: Version: 1.85.1
Jupyter Extension version (available under the Extensions sidebar): v2023.11.1003402403
Python Extension version (available under the Extensions sidebar): v2023.22.1
OS (Windows | Mac | Linux distro) and version: Local: MacOS Ventura 13.4.1, Remote: Ubuntu 22.04.3 LTS
Python and/or Anaconda version: Python 3.11.7, miniconda3-3.11-23.11.0-2
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): pyenv, miniconda
Jupyter server running: Reproduces when local and remote, but a bit differently

Expected behaviour
When cell is interrupted, any running subprocesses started in this cell are terminated
Actual behaviour
https://github.com/microsoft/vscode-jupyter/assets/4602302/699b9a25-94b1-4e29-aca7-82e1ce92dbb6
Before interruption:

After interruption:

You can see that shell child process is terminated but python loop remains dangling.
Steps to reproduce:
There are a few ways to reproduce it, but the key point is to run subprocess in subshell. I was able to reproduce it when jupyter server is running locally and remotely, though when connecting to remote server it reproduces more often.
loop.py:
import time
for i in range(100000):
    print('loop.py:', i, flush=True)
    time.sleep(0.5)

# if you run this cell and interrupt it, subprocess will keep running. This is reproduced both on local and remote kernels
%%sh
python loop.py

###

# same issue, though I was able to reproduce it only on remote server. Maybe there is difference between MacOS/Linux?
subprocess.run('python loop.py', shell=True)

###

# though if subprocess is started without subshell, it terminates correctly
!python loop.py

###

# this also terminates on interruption
subprocess.run(['python', 'loop.py'], shell=False)

###

I checked the same steps with Jupyter lab and plain ipython, and there were no such issues, i.e. when I interrupted execution subprocess were terminated correctly.
https://github.com/microsoft/vscode-jupyter/assets/4602302/2f884cf5-8192-4c1d-bafd-583e4194a7d0
Logs

Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)

17:27:14.239 [info] Handle Execution of Cells 3 for ~/lichess/test_interrupt.ipynb
17:27:14.246 [debug] Cell Index:3 sent to kernel
17:27:14.254 [debug] Start cell 3 execution @<PHONE_NUMBER>254 (clear output)
17:27:14.255 [info] Kernel acknowledged execution of cell 3 @<PHONE_NUMBER>254
17:27:17.526 [debug] VS Code interrupted kernel for ~/lichess/test_interrupt.ipynb
17:27:17.527 [debug] Command interrupted kernel for ~/lichess/test_interrupt.ipynb
17:27:17.527 [debug] interrupt the kernel, options.disableUI=false for ~/lichess/test_interrupt.ipynb
17:27:17.527 [info] Interrupt kernel execution
17:27:17.527 [debug] Cancel pending cells
17:27:17.528 [info] Interrupt requested ~/lichess/test_interrupt.ipynb
17:27:17.528 [info] Interrupt kernel execution
17:27:17.528 [info] Interrupting kernel: pythonjvsc74a57bd049169f8013b1c4a348b385264fb83aa338acd62288944654d64458e1964c50ae
17:27:17.528 [info] Interrupting kernel via SIGINT
17:27:17.635 [info] End cell 3 execution after 3.381s, completed @<PHONE_NUMBER>635, started @<PHONE_NUMBER>254
17:27:17.636 [debug] Cell 3 executed with state Success
17:27:17.637 [info] Interrupt requested & sent for ~/lichess/test_interrupt.ipynb in notebookEditor.
17:27:17.781 [debug] Start cell 3 execution @ undefined
17:27:17.781 [info] End cell 3 execution after<PHONE_NUMBER>.635s, completed @<PHONE_NUMBER>635, started @ undefined
17:27:18.281 [debug] Start cell 3 execution @ undefined
17:27:18.281 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
17:27:18.782 [debug] Start cell 3 execution @ undefined
17:27:18.782 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
17:27:19.282 [debug] Start cell 3 execution @ undefined
17:27:19.282 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
17:27:19.781 [debug] Start cell 3 execution @ undefined
17:27:19.782 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
17:27:20.282 [debug] Start cell 3 execution @ undefined
17:27:20.282 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
17:27:20.782 [debug] Start cell 3 execution @ undefined
17:27:20.783 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
17:27:21.283 [debug] Start cell 3 execution @ undefined
17:27:21.283 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
17:27:21.783 [debug] Start cell 3 execution @ undefined
17:27:21.783 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
17:27:22.283 [debug] Start cell 3 execution @ undefined
17:27:22.284 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
17:27:22.783 [debug] Start cell 3 execution @ undefined
17:27:22.783 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
17:27:23.283 [debug] Start cell 3 execution @ undefined
17:27:23.283 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
17:27:23.784 [debug] Start cell 3 execution @ undefined

Thank you filing this issue and sorry you are running into this.
Please can you share the full logs when you run into this issue in Jupyter extension (I would need all of the logs, to see what kernel is staretd alogn with the pytholn environment information as well).
Also in Jupyter Lab, please can you run the following code and let me know what you get import sys;print(sys.executable)
thanks
Please could you enable logging as follows:

Open settings & go into Jupyter->Logging
Change the value to verbose
Reload VS Code,
Attempt to repro the issue & then copy the output from the Jupyter output panel.

Hi, @DonJayamanne, you can't to reproduce it? Do you think it could depend on specific python version? As you can see below, both VSCode and Jupyter lab use the same python executable.

Also in Jupyter Lab, please can you run the following code and let me know what you get import sys;print(sys.executable)

Jupyter lab:

VSCode:

I added more logs, hope, it will be enough, if you need  more information, let me know.

VSCode Jupyter logs
01:55:48.321 [debug] Initialize notebook communications for editor ~/lichess/test_interrupt.ipynb
01:55:48.321 [debug] Resolving notebook UI Comms (resolve) for ~/lichess/test_interrupt.ipynb
01:55:48.321 [debug] initialize CommonMessageCoordinator
01:55:48.321 [debug] IPyWidgetMessageDispatcher.initialize
01:55:48.321 [debug] Attempting to determine version of IPyWidgets
01:55:48.323 [debug] KernelProvider switched kernel to id = .jvsc74a57bd049169f8013b1c4a348b385264fb83aa338acd62288944654d64458e1964c50ae.~/.pyenv/versions/miniconda3-3.11-23.11.0-2/python.~/.pyenv/versions/miniconda3-3.11-23.11.0-2/python.-m#ipykernel_launcher
01:55:48.323 [debug] start the kernel, options.disableUI=true for ~/lichess/test_interrupt.ipynb
01:55:48.323 [debug] Preferred Remote kernel for ~/lichess/test_interrupt.ipynb is undefined
01:55:48.323 [debug] Waiting for IPyWidgets version
01:55:48.323 [debug] Waiting for IPyWidgets version promise
01:55:48.324 [debug] Initialize notebook communications for editor ~/lichess/test_interrupt.ipynb
01:55:48.324 [debug] Resolving notebook UI Comms (resolve) for ~/lichess/test_interrupt.ipynb
01:55:48.324 [debug] initialize CommonMessageCoordinator
01:55:48.325 [debug] Registering commtarget jupyter.widget
01:55:48.325 [debug] IPyWidgetMessageDispatcher.initialize
01:55:48.325 [debug] Attempting to determine version of IPyWidgets
01:55:48.325 [debug] Controller selection change completed
01:55:48.325 [debug] Waiting for IPyWidgets version
01:55:48.325 [debug] Waiting for IPyWidgets version promise
01:55:48.326 [info] Starting Kernel startUsingPythonInterpreter, .jvsc74a57bd049169f8013b1c4a348b385264fb83aa338acd62288944654d64458e1964c50ae.~/.pyenv/versions/miniconda3-3.11-23.11.0-2/python.~/.pyenv/versions/miniconda3-3.11-23.11.0-2/python.-m#ipykernel_launcher  (Python Path: ~/.pyenv/versions/miniconda3-3.11-23.11.0-2/bin/python, Conda, base, 3.11.7) for '~/lichess/test_interrupt.ipynb' (disableUI=true)
01:55:48.326 [debug] Creating raw notebook for resource '~/lichess/test_interrupt.ipynb'
01:55:48.333 [debug] Getting activated env variables, Class name = Ip (started execution), Arg 1: "~/lichess/test_interrupt.ipynb", Arg 2: "~/.pyenv/versions/miniconda3-3.11-23.11.0-2/bin/python", Arg 3: undefined
01:55:48.333 [debug] Get Custom Env Variables, Class name = _m (started execution), Arg 1: "~/lichess/test_interrupt.ipynb", Arg 2: "RunPythonCode"
01:55:48.333 [debug] Get Custom Env Variables, Class name = _m, completed in 0ms, has a truthy return value, Arg 1: "~/lichess/test_interrupt.ipynb", Arg 2: "RunPythonCode"
01:55:48.334 [debug] Got env vars with python ~/.pyenv/versions/miniconda3-3.11-23.11.0-2/bin/python, with env var count 50 in 1ms.
    PATH value is ~/.pyenv/versions/miniconda3-3.11-23.11.0-2/bin:~/.pyenv/versions/miniconda3-3.11-23.11.0-2/condabin:~/.pyenv/versions/miniconda3-3.11-23.11.0-2/bin:~/.pyenv/libexec:~/.pyenv/plugins/python-build/bin:~/.pyenv/plugins/pyenv-virtualenv/bin:~/.pyenv/plugins/pyenv-update/bin:~/.pyenv/plugins/pyenv-doctor/bin:~/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/bin/remote-cli:~/.pyenv/plugins/pyenv-virtualenv/shims:~/.pyenv/shims:~/.pyenv/bin:~/.pyenv/plugins/pyenv-virtualenv/shims:~/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin and
    Path value is undefined
01:55:48.334 [debug] Prepend PATH with python bin for ~/.pyenv/versions/miniconda3-3.11-23.11.0-2/bin/python
01:55:48.334 [debug] Activated Env Variables for ~/.pyenv/versions/miniconda3-3.11-23.11.0-2/bin/python,
    PATH value is ~/.pyenv/versions/miniconda3-3.11-23.11.0-2/bin:~/.pyenv/versions/miniconda3-3.11-23.11.0-2/condabin:~/.pyenv/versions/miniconda3-3.11-23.11.0-2/bin:~/.pyenv/libexec:~/.pyenv/plugins/python-build/bin:~/.pyenv/plugins/pyenv-virtualenv/bin:~/.pyenv/plugins/pyenv-update/bin:~/.pyenv/plugins/pyenv-doctor/bin:~/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/bin/remote-cli:~/.pyenv/plugins/pyenv-virtualenv/shims:~/.pyenv/shims:~/.pyenv/bin:~/.pyenv/plugins/pyenv-virtualenv/shims:~/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin and
    Path value is undefined
01:55:48.334 [debug] Getting activated env variables, Class name = Ip, completed in 1ms, has a truthy return value, Arg 1: "~/lichess/test_interrupt.ipynb", Arg 2: "~/.pyenv/versions/miniconda3-3.11-23.11.0-2/bin/python", Arg 3: undefined
01:55:48.349 [info] Process Execution: ~/.pyenv/versions/miniconda3-3.11-23.11.0-2/bin/python -c "import ipykernel; print(ipykernel.__version__); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.__file__)"
01:55:48.366 [debug] Launching kernel .jvsc74a57bd049169f8013b1c4a348b385264fb83aa338acd62288944654d64458e1964c50ae.~/.pyenv/versions/miniconda3-3.11-23.11.0-2/python.~/.pyenv/versions/miniconda3-3.11-23.11.0-2/python.-m#ipykernel_launcher for ~/lichess/test_interrupt.ipynb in ~/lichess with ports 9010, 9008, 9013, 9011, 9012
01:55:48.369 [debug] Kernel Env Variables for ~/.vscode-server/extensions/ms-toolsai.jupyter-2023.11.1003402403-linux-arm64/temp/jupyter/kernels/pythonjvsc74a57bd049169f8013b1c4a348b385264fb83aa338acd62288944654d64458e1964c50ae/kernel.json, PATH value is ~/.pyenv/versions/miniconda3-3.11-23.11.0-2/bin:~/.pyenv/versions/miniconda3-3.11-23.11.0-2/condabin:~/.pyenv/versions/miniconda3-3.11-23.11.0-2/bin:~/.pyenv/libexec:~/.pyenv/plugins/python-build/bin:~/.pyenv/plugins/pyenv-virtualenv/bin:~/.pyenv/plugins/pyenv-update/bin:~/.pyenv/plugins/pyenv-doctor/bin:~/.vscode-server/bin/0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2/bin/remote-cli:~/.pyenv/plugins/pyenv-virtualenv/shims:~/.pyenv/shims:~/.pyenv/bin:~/.pyenv/plugins/pyenv-virtualenv/shims:~/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
01:55:48.387 [info] Process Execution: ~/.pyenv/versions/miniconda3-3.11-23.11.0-2/bin/python -m ipykernel_launcher --f=~/.local/share/jupyter/runtime/kernel-v2-302303G2WoLubPqHDa.json
    > cwd: ~/lichess
01:55:48.545 [debug] Attempting to determine version of IPyWidgets
01:55:48.545 [debug] Attempting to determine version of IPyWidgets
01:55:48.545 [debug] Waiting for IPyWidgets version
01:55:48.545 [debug] Waiting for IPyWidgets version promise
01:55:48.545 [debug] Waiting for IPyWidgets version
01:55:48.545 [debug] Waiting for IPyWidgets version promise
01:55:48.562 [debug] ipykernel version & path 6.28.0, ~/.pyenv/versions/miniconda3-3.11-23.11.0-2/lib/python3.11/site-packages/ipykernel/__init__.py for ~/.pyenv/versions/miniconda3-3.11-23.11.0-2/bin/python
01:55:48.883 [warn] StdErr from Kernel Process 0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
01:55:48.883 [debug] KernelProcess error: 0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.

01:55:48.951 [debug] Kernel output: NOTE: When using the `ipython kernel` entry point, Ctrl-C will not work.

To exit, you will have to explicitly quit this process, by either sending
"quit" from a client, or using Ctrl-\ in UNIX-like environments.

To read more about this, see https://github.com/ipython/ipython/issues/2049

To connect another client to this kernel, use:
    --existing kernel-v2-302303G2WoLubPqHDa.json

01:55:48.997 [debug] Waiting for Raw Session to be ready in postStartRawSession
01:55:48.997 [debug] Waiting for Raw session to be ready, status: connected
01:55:48.997 [debug] Raw session connected
01:55:48.997 [debug] Waiting for Raw session to be ready
01:55:48.997 [debug] Waited for Raw session to be ready & got status: connected
01:55:48.997 [debug] Successfully waited for Raw Session to be ready in postStartRawSession
01:55:48.997 [debug] Kernel status is 'unknown' before requesting kernel info and after ready
01:55:48.997 [debug] Sending request for kernelInfo
01:55:49.007 [debug] Got response for requestKernelInfo
01:55:49.007 [debug] Successfully completed postStartRawSession
01:55:49.008 [debug] Executing silently Code (idle) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys
01:55:49.020 [debug] Executing silently Code (completed) = import sys as _VSCODE_sys\nprint(_VSCODE_sys.executable); del _VSCODE_sys with 1 output(s)
01:55:49.020 [debug] End sendTelemetryForPythonKernelExecutable after 12ms
01:55:49.020 [debug] Started running kernel initialization for ~/lichess/test_interrupt.ipynb
01:55:49.020 [debug] Executing silently Code (idle) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy
01:55:49.089 [debug] Executing silently Code (completed) = try:\nimport ipywidgets as _VSCODE_ipywidgets\nprint("e976ee50-99ed-4aba-9b6b-9dcd5634d07d:IPy with 1 output(s)
01:55:49.089 [debug] Determined IPyWidgets Version as 8
01:55:49.089 [debug] Version of IPyWidgets 8 determined after 0.768s
01:55:49.089 [debug] Version of IPyWidgets 8 determined after 0.544s
01:55:49.089 [debug] Version of IPyWidgets 8 determined after 0.764s
01:55:49.089 [debug] Version of IPyWidgets 8 determined after 0.544s
01:55:49.091 [debug] Executing silently Code (idle) = import os as _VSCODE_os\nimport sys as _VSCODE_sys\n%cd "/~/lichess"\nif _VSCODE_os.getcwd() not in
01:55:49.103 [debug] Executing silently Code (completed) = import os as _VSCODE_os\nimport sys as _VSCODE_sys\n%cd "/~/lichess"\nif _VSCODE_os.getcwd() not in with 1 output(s)
01:55:49.104 [debug] Requesting Kernel info
01:55:49.104 [debug] Got Kernel info
01:55:49.104 [debug] End running kernel initialization, now waiting for idle
01:55:49.104 [debug] Waiting for idle on (kernel): eff10548-13d6-4a7e-a67c-dec63433371a -> idle
01:55:49.105 [debug] Finished waiting for idle on (kernel): eff10548-13d6-4a7e-a67c-dec63433371a -> idle
01:55:49.105 [debug] End running kernel initialization, session is idle
01:55:49.105 [debug] IPyWidgetMessageDispatcher.initialize
01:55:49.105 [debug] IPyWidgetScriptSource.initialize
01:55:49.757 [debug] IPyWidgetMessageDispatcher.initialize
01:55:49.757 [debug] Web view is ready to receive widget messages
01:55:49.757 [debug] IPyWidgetMessageDispatcher.initialize
01:55:49.757 [debug] Web view is ready to receive widget messages
01:55:49.826 [debug] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
01:55:49.826 [debug] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
01:55:49.827 [debug] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
01:55:49.827 [debug] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
01:55:49.829 [debug] IPyWidgetMessageDispatcher.initialize
01:55:49.829 [debug] IPyWidgetMessageDispatcher.initialize
01:55:49.830 [debug] IPyWidgetMessageDispatcher.initialize
01:55:49.830 [debug] IPyWidgetMessageDispatcher.initialize
01:55:49.832 [debug] Widget Message: data-base-url set to https://vscode-remote%2Bssh-002dremote-002b95-002e217-002e3-002e198.vscode-resource.vscode-cdn.net~/.vscode-server/extensions/ms-toolsai.jupyter-2023.11.1003402403-linux-arm64/temp/scripts/123cff2cc44fec9f53080a5a0f8702fcb80d625d64edf87fd2c5bddd2df0d658/jupyter
01:55:49.832 [debug] Widget Message: data-base-url set to https://vscode-remote%2Bssh-002dremote-002b95-002e217-002e3-002e198.vscode-resource.vscode-cdn.net~/.vscode-server/extensions/ms-toolsai.jupyter-2023.11.1003402403-linux-arm64/temp/scripts/123cff2cc44fec9f53080a5a0f8702fcb80d625d64edf87fd2c5bddd2df0d658/jupyter
01:55:49.833 [debug] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
01:55:49.833 [debug] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
01:55:49.833 [debug] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
01:55:49.833 [debug] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
01:55:49.833 [debug] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
01:55:49.833 [debug] Widget Message: Received IPyWidgets_kernelOptions in ScriptManager
01:55:49.833 [debug] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
01:55:49.833 [debug] Widget Message: Received IPyWidgetMessages.IPyWidgets_kernelOptions
01:55:49.833 [debug] Widget Message: data-base-url set to https://vscode-remote%2Bssh-002dremote-002b95-002e217-002e3-002e198.vscode-resource.vscode-cdn.net~/.vscode-server/extensions/ms-toolsai.jupyter-2023.11.1003402403-linux-arm64/temp/scripts/123cff2cc44fec9f53080a5a0f8702fcb80d625d64edf87fd2c5bddd2df0d658/jupyter
01:55:49.833 [debug] Widget Message: data-base-url set to https://vscode-remote%2Bssh-002dremote-002b95-002e217-002e3-002e198.vscode-resource.vscode-cdn.net~/.vscode-server/extensions/ms-toolsai.jupyter-2023.11.1003402403-linux-arm64/temp/scripts/123cff2cc44fec9f53080a5a0f8702fcb80d625d64edf87fd2c5bddd2df0d658/jupyter
01:56:37.739 [info] Handle Execution of Cells 3 for ~/lichess/test_interrupt.ipynb
01:56:37.743 [debug] Cell Index:3 sent to kernel
01:56:37.752 [debug] Start cell 3 execution @<PHONE_NUMBER>752 (clear output)
01:56:37.753 [info] Kernel acknowledged execution of cell 3 @<PHONE_NUMBER>752
01:56:39.869 [debug] VS Code interrupted kernel for ~/lichess/test_interrupt.ipynb
01:56:39.870 [debug] Command interrupted kernel for ~/lichess/test_interrupt.ipynb
01:56:39.871 [debug] interrupt the kernel, options.disableUI=false for ~/lichess/test_interrupt.ipynb
01:56:39.871 [info] Interrupt kernel execution
01:56:39.871 [debug] Cancel pending cells
01:56:39.873 [info] Interrupt requested ~/lichess/test_interrupt.ipynb
01:56:39.874 [info] Interrupt kernel execution
01:56:39.874 [info] Interrupting kernel: pythonjvsc74a57bd049169f8013b1c4a348b385264fb83aa338acd62288944654d64458e1964c50ae
01:56:39.874 [info] Interrupting kernel via SIGINT
01:56:39.982 [info] End cell 3 execution after 2.23s, completed @<PHONE_NUMBER>982, started @<PHONE_NUMBER>752
01:56:39.982 [debug] Cell 3 executed with state Success
01:56:39.984 [info] Interrupt requested & sent for ~/lichess/test_interrupt.ipynb in notebookEditor.
01:56:40.281 [debug] Start cell 3 execution @ undefined
01:56:40.283 [info] End cell 3 execution after<PHONE_NUMBER>.982s, completed @<PHONE_NUMBER>982, started @ undefined
01:56:40.781 [debug] Start cell 3 execution @ undefined
01:56:40.782 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
01:56:41.281 [debug] Start cell 3 execution @ undefined
01:56:41.282 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
01:56:41.782 [debug] Start cell 3 execution @ undefined
01:56:41.783 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
01:56:42.283 [debug] Start cell 3 execution @ undefined
01:56:42.284 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
01:56:42.782 [debug] Start cell 3 execution @ undefined
01:56:42.782 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
01:56:43.283 [debug] Start cell 3 execution @ undefined
01:56:43.284 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
01:56:43.783 [debug] Start cell 3 execution @ undefined
01:56:43.783 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
01:56:44.283 [debug] Start cell 3 execution @ undefined
01:56:44.284 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
01:56:44.784 [debug] Start cell 3 execution @ undefined
01:56:44.785 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
01:56:45.284 [debug] Start cell 3 execution @ undefined
01:56:45.285 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
01:56:45.783 [debug] Start cell 3 execution @ undefined
01:56:45.783 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
01:56:46.283 [debug] Start cell 3 execution @ undefined
01:56:46.284 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
01:56:46.784 [debug] Start cell 3 execution @ undefined
01:56:46.785 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
01:56:47.285 [debug] Start cell 3 execution @ undefined
01:56:47.286 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined
01:56:47.784 [debug] Start cell 3 execution @ undefined
01:56:47.785 [info] End cell 3 execution after 0s, completed @ undefined, started @ undefined

Hey @DonJayamanne, this issue might need further attention.
@stas-sl, you can help us out by closing this issue if the problem no longer exists, or adding more information.

Note to self
We might be missing the equivalent of _send_interrupt_children in kernelbase.py
    def _send_interrupt_children(self):
        if os.name == "nt":
            self.log.error("Interrupt message not supported on Windows")
        else:
            pid = os.getpid()
            pgid = os.getpgid(pid)
            # Prefer process-group over process
            # but only if the kernel is the leader of the process group
            if pgid and pgid == pid and hasattr(os, "killpg"):
                try:
                    os.killpg(pgid, SIGINT)
                except OSError:
                    os.kill(pid, SIGINT)
                    raise
            else:
                os.kill(pid, SIGINT)


Support burnthin in get_samples method

Description:
Allow users to remove burnin after calling get_samples in when using Gibbs sampling more easily.
Suggested change. Overload the dict object as "JointSamples" object, which contains multiple samples objects. Enable method burnthin such that users can call:
sampler.get_samples().burnthin(200) # Should work in both single Samples object and JointSamples

The code would be this in _samples.py
class JointSamples(dict):
    """ An object used to store samples from joint distributions.

    This object is a simple overload of the dictionary class to allow easy access to certain methods
    of Samples objects without having to iterate over each key in the dictionary.

    """

    def burnthin(self, Nb, Nt=1):
        """ Remove burn-in and thin samples for all samples in the dictionary. """
        self.update({key: samples.burnthin(Nb, Nt) for key, samples in self.items()})
        return self

Definition of done:

[ ] Suggested change is reviewed.
[ ] JointSamples object is implemented.
[ ] Implementation is reviewed and approved.

@jakobsj DoD review and review the suggested change

@nabriis Sounds sensible, and many thanks for adding the example code. I think a brief discussion at daily would be useful to clarify.  In general, this new class should seek to align as much as possible with Samples, as well as I suppose JointDistribution, such that the prepended "Joint" onto "Samples" and "Distribution" behaves in the same way, which appears from your suggestion to be OK.  Which other aspects/alignments are there to consider - how about other functionality of Samples, such as plotting - could one align the behaviour there as well to generate the meaningful plots of each of the sets of samples?

@jakobsj Plotting and other operations are usually done like this:
samples["x"].plot_ci()

I think this work fine. One could add more methods over time like Ns or compute_std from Samples object and return a list of stds for this joint object.

@nabriis But doesn't that assume that samples there is a dict, and the proposal is to change it to an instance of a new JointSamples class?

@nabriis But doesn't that assume that samples there is a dict, and the proposal is to change it to an instance of a new JointSamples class?

It does assume the samples is a dict (or at least asssumes it has a key, value pair). The proposal is to subclass JointSamples from dict to maintain the same behavior.

Ah I see, I had missed that. Interesting. Maybe that does make a lot of sense. Somehow I had/would? expect it to be subclassed from Samples if it is to "behave like Samples" for example by having a burnthin method. Would multiple inheritance make sense here?

@nabriis DoD approved.


FORCE without IOS or Android?

Hi!
Is there a way to force arm (as in an open sensor) without using IOS or Android?
I'm using a custom keypad by each entry door and a Telegram bot to arm and disarm. To arm, I'm using something like this for Telegram:

  - alias: Telegram set alarm to armed_away.
    trigger:
      - platform: event
        event_type: telegram_command
        event_data:
          command: /arm_away
      - platform: event
        event_type: telegram_callback
        event_data:
          command: /arm_away
    condition: '{{ states.alarm_control_panel.alarmo.state != "armed_away" }}'
    action:
      - service: alarm_control_panel.alarm_arm_away
        entity_id: alarm_control_panel.alarmo
        data:
          code: !secret alarm_code_telegram

However, I can't work out how to get ALARMO_FORCE_ARM or ALARMO_RETRY_ARM to Alarmo without using the IOS or Android integrations.  Something like "alarm_control_panel.alarm_arm_away_forced" doesn't exist for the stock panel. Is there some trick you can think of to allow FORCE from an HA automation?
Thank you for this work. It has saved me literally hours and hours of effort.

Hi Ryan,
You can setup a code as “override code”.
Entering this code on arming would result into the automatic bypassing of any sensor that is blocking.
It seems to be a good match for your use-case.
I’m also planning to introduce a service (alarmo.arm) which can be used to force-arm (even if your alarm doesn’t require a code for arming) and for skipping the delay.
There is a Alarmo-card in the making (which is currently a copy-exact of the Alarm Panel Card in Lovelace), which will support these options as well.

Fantastic. This is exactly what I need.
Is override code
Entering this code will arm the alarm in force

I'm thinking out loud... I wonder if it would be nicer to have each existing user have two alarm codes. One normal and one for forcing.  It would be nice to know who forced the arming without duplicating each existing user. The forcing code would be optional.
Anyway, this is great. And, thanks again for such an awesome effort! 🥇

It would be great if this functionality was available directly as a service, without the need for special codes. For example alarm_arm_force or alarm_force_arm could be used in custom automations:
action:
  - service: alarm_control_panel.alarm_arm_force
    target:
      entity_id: alarm_control_panel.alarmo


Support for creating reaction for a release

Hi everybody!
I found that this endpoint is missing its implementation over here. Do the maintainers intend to cover it? If yes, can I work on it?

Thank you, @viveknathani - sounds good.  Yes, it is your to implement.
Please check out our CONTRIBUTING.md guide if you haven't contributed before.


Works great on Pi 3 B

Note you must pass in  pin name not pin number. Other library I was using
took the GPIO name so I though it was not working at first...
So GPIO 17 is # 11
gpio.setup(11,...);

Great, cheers for the feedback.
Yes, the pin numbering is very confusing and there are lots of outstanding issues around it which I hope to deal with soon.


feat: Added 5 new quotes

PULL REQUEST TEMPLATE
My PR closes #issue_number_here
👨💻 What did you do ?

Note to reviewers

📷 Screenshots

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[] This PR does not contain plagiarized content.
[x] The title and description of the PR is clear and explains the approach.
[x] I have read the contribution guideline properly and following the criteria.

I have added 5 new quotes into quotes.js file

you didnt read the contribution guideline. else overal sems ok, star the repo to get merged

I have starred the repo.

Your pull request has been closed.
reason : spam + false trying

my mistake.
pull request merged.


On upgrading to SF CLI - 2.37.4 in Jenkins pipeline (used to deploy to different environments), When running the sf login command, getting the SSL3 certificate error.

Note
Before you submit your issue, make sure that:

You're using the latest version of Salesforce CLI.
You've searched both open and closed issues for related posts.
You've used the doctor command to diagnose common issues.
You understand that GitHub Issues don't adhere to any agreement or SLA.

If you require immediate assistance, use official channels such as Salesforce Customer Support.

Summary
We are trying to update to sf cli (2.37.4) from sfdx cli (7.158.1) in the jenkins pipeline.
when using the new sf cli, we are getting the below error when
Steps To Reproduce

IMPORTANT
Provide a repository that's configured to reproduce the issue. If you are unable to provide a repo, please explain why not. The more info we have from the start, the faster we can resolve your issue.
We may close your issue if you don't include proper instructions.

Generate a project with sf project generate or fork dreamhouse-lwc.
Provide detailed step-by-step instructions on how to reproduce the issue.

Expected result

Actual result

System Information

14:37:49  + /opt/sfdx-cli/bin/sf version --verbose --json
14:37:50  You acknowledge and agree that the CLI tool may collect usage information, user environment, and crash reports for the purposes of providing services or functions that are relevant to use of the CLI tool and product improvements.
14:37:50
14:37:50  {
14:37:50    "architecture": "linux-x64",
14:37:50    "cliVersion"<EMAIL_ADDRESS>14:37:50    "nodeVersion": "node-v20.11.1",
14:37:50    "osVersion": "Linux 5.10.214-202.855.amzn2.x86_64",
14:37:50    "rootPath": "/opt/sf",
14:37:50    "shell": "bash",
14:37:50    "pluginVersions": [
14:37:50      "@oclif/plugin-autocomplete 3.0.13 (core)",
14:37:50      "@oclif/plugin-commands 3.2.2 (core)",
14:37:50      "@oclif/plugin-help 6.0.20 (core)",
14:37:50      "@oclif/plugin-not-found 3.1.2 (core)",
14:37:50      "@oclif/plugin-plugins 5.0.7 (core)",
14:37:50      "@oclif/plugin-search 1.0.20 (core)",
14:37:50      "@oclif/plugin-update 4.2.4 (core)",
14:37:50      "@oclif/plugin-version 2.0.16 (core)",
14:37:50      "@oclif/plugin-warn-if-update-available 3.0.15 (core)",
14:37:50      "@oclif/plugin-which 3.1.7 (core)",
14:37:50      "@salesforce/cli 2.37.4 (core)",
14:37:50      "apex 3.1.4 (core)",
14:37:50      "auth 3.5.5 (core)",
14:37:50      "data 3.2.5 (core)",
14:37:50      "deploy-retrieve 3.5.6 (core)",
14:37:50      "info 3.1.3 (core)",
14:37:50      "limits 3.2.1 (core)",
14:37:50      "marketplace 1.1.1 (core)",
14:37:50      "org 4.0.4 (core)",
14:37:50      "packaging 2.3.0 (core)",
14:37:50      "schema 3.2.1 (core)",
14:37:50      "settings 2.1.2 (core)",
14:37:50      "sobject 1.2.2 (core)",
14:37:50      "source 3.2.3 (core)",
14:37:50      "telemetry 3.1.18 (core)",
14:37:50      "templates 56.1.1 (core)",
14:37:50      "trust 3.5.4 (core)",
14:37:50      "user 3.4.3 (core)"
14:37:50    ]
14:37:50  }
Collapse
has context menu```
### Additional information
<!-- Feel free to attach a screenshot -->

dup of https://github.com/forcedotcom/cli/issues/2907


Looking for collaborators

Any contributions are welcome, as this is such a big project I don't feel like I can handle it all by myself. Indeed, currently we have nearly 4000 tests that are generated for the output module!
These contributions can be (but are not limited to) tests (passing/failing), improving the code coverage, documentation of current code (perhaps we should look into some automated documentation?), features, bug fixes, advice for implementing more properties, or helping me tackle anything that is labelled 'help wanted'.
I'm open to adding collaborators directly to the repository if I already know you, or after a first pull request if I don't. :smile:

The thing that I think would help the most in bringing me or some other potential contributor up to speed on the intentions module would be an example how it would get used. How would a tool like stylelint use this? Would stylelint have to run acquire and run itself and then use the built functions? Or would the built functions be published somehow?

css-values is a tool to create modules (or other things). So if we wanted to make a plugin for stylelint, we would install css-values as a development dependency, and then run the generator to output that plugin. Then, consumers of that plugin download the built functions and not the methods used to generate them.
I haven't decided on acquire, other than we should run that periodically to catch updates to the dataset - that's a good task that a bot could do. I think it will be good when we reach 1.0.0 to publish dataset updates with semantic versioning - new properties are minor versions, changes to existing properties are major versions.

Ok, I'd like to try to talk through some details and you correct me if I'm wrong :)

Acquire simply gets the latest JSON data from MDN.
When you run, you parse the values of that JSON data (so css-values includes an MDN-spec-syntax parser) to generate an tree of nodes.

The end-user, then, has access to the generated functions (if they want to validate property-value pairs) and also to the node tree itself (if they want to, say, generate a document or do something else).

So if stylelint made a rule that uses generated functions to check for invalid values, it would

Pull in CSS-values as a dev dependency.
Run CSS-values and put the output into a directory that is part of the repo, versioned & released.
Reference those generated functions from its value-no-unknown rule.

Does the above sound right? This kind of practice really helps me understand new things.

Spot on, yeah. Note that in addition to acquire, we supplement that data with Autoprefixer (this is just for vendor specific keywords). At the moment that is pulled in via whatever Autoprefixer version the module is currently using.

Thanks for the confirmation. Will probably dig in pretty soon. Meanwhile, just ran across this: http://www.slideshare.net/maxdesign/understanding-the-mysteries-of-the-css-property-value-syntax. You probably already reviewed that information when making the parser. Helped me.

This is also a good resource. :smile:
https://developer.mozilla.org/en/docs/Web/CSS/Value_definition_syntax

@ben-eb I can be an collaborator :) Atm I'm not familiar with API yet, but I can help with property coverage for a first time.

@delorge I've sent an invite so you can contribute directly to this repo if you would like! I think there are a few more simple tasks in this format (#10), if you would like to take those also it would be really great;

<url>; for properties that use <uri> instead of the <url> identifier, we can provide an override in https://github.com/ben-eb/css-values/blob/master/src/data.js#L10. More details here: https://developer.mozilla.org/en-US/docs/Web/CSS/url
<single-animation-iteration-count>; the syntax is infinite | <number> so we can re-use the isNumber validator again here. More details here: https://developer.mozilla.org/en/docs/Web/CSS/animation-iteration-count
<track-size>; slightly more complicated, but not by much. There are patterns that you can follow for function validation in both isColor and isRepeatStyle. More details here: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-columns
<geometry-box>; we can re-use the isBox validator for this. More details here: https://developer.mozilla.org/en-US/docs/Web/CSS/mask-origin

@ben-eb okay, I will take a look today or next week


Discuss: Use :-> instead of :> for combining arguments.

This would be analogous to ->

I like it. Check first on hoogle to see if it's used a lot in a more
prominent library
On Thu, 2 Feb 2017 at 22:27, teh<EMAIL_ADDRESS>wrote:

This would be analogous to ->
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jml/graphql-api/issues/111, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHq6mUBbfkoKxFhSBeUpYGFbUYeFyjqks5rYlhTgaJpZM4L1uAy
.

https://www.stackage.org/lts-7.18/hoogle?q=%3A->
A few prominent ones like QuickCheck and profunctors so maybe not.


Code Relevance

VSCode Version: 1.18.0
OS Version: Windows

When I open a Project, I can't use "jump to caller", "jump to reference" or "jump to defination" if they are in a file not opened. Only if I open the destination file can I do these operations. It's very unfriendly for reading code.
I hope I can sync all the project forced in the background.
Reproduces without extensions: Yes

@Geeprox what language are the files?

Python and Java.

Reading your description it seems that the issue originates from an extension and not VS Code itself. Thereby I will close this issue and kindly ask you to report this issue against the extension repository.
Most extensions are on GitHub as well so it should be easy to file it against the extension. If you open an extension on the market place, click on the Support link to find out more.

Thanks again for your feedback!


[Runtime] Dynamically evaluate AnyObject and superclass constraints.

Extend support for runtime evaluation of generic requirements to also handle layout constraints (T: AnyObject) and superclass constraints (T: SomeSuperclass). We can now evaluate the full breadth of generic requirements at runtime, which is currently used to map mangled type names to type metadata (Any.Type).

@swift-ci please smoke test and merge


make operator for StackTrace const

Fixes #87 as discussed.

Note that the TravisCI build was failing before this change due to
ConanException: First argument of CMake() has to be ConanFile. Use CMake(self)

@bombela  - just checking if you've had a chance to look at this PR.

sorry for the delay! totally forgot to take a look. thank you for the good work :)


Provide a way to load resources/images from bytes easily.

Right now, the only way to load resources (that I can see) is either from disk, or hoping that the specific resource you want to load provides an API to load it without a direct disk file.
I'm in a situation where I'm loading assets from a zip file, and I'd like to avoid having to do any disk writes to temporary files just to be able to run ResourceLoader on the temporary file path.
My issue specifically right now is with PNG images, but I'm not seeing any ways to load say models or audio files directly (though I might've not dug deeply enough). Because of this I put resources/images in the title.
I did take a look at the way the resource loader works, and AFAICT making this a generic thing in the resource loader itself seems infeasible, so should each resource type provide APIs taking in a byte array of bytes that could have raw file data?

problem is that images and audio files are imported, so you can't really
open a png or wav.
That said, it should be relatively easy to add a method in Image or
AudioStreamSample to load from a buffer, should that be enough?
On Tue, Dec 19, 2017 at 5:42 PM, Pieter-Jan Briers<EMAIL_ADDRESS>
wrote:

Right now, the only way to load resources (that I can see) is either from
disk, or hoping that the specific resource you want to load provides an API
to load it without a direct disk file.
I'm in a situation where I'm loading assets from a zip file, and I'd like
to avoid having to do any disk writes to temporary files just to be able to
run ResourceLoader on the temporary file path.
My issue specifically right now is with PNG images, but I'm not seeing
any ways to load say models or audio files directly (though I might've not
dug deeply enough). Because of this I put resources/images in the title.
I did take a look at the way the resource loader works, and AFAICT making
this a generic thing in the resource loader itself seems infeasible, so
should each resource type provide APIs taking in a byte array of bytes that
could have raw file data?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/14839, or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z22cHbpL2xqEcuIsGoRWUTwi9obO7ks5tCB_EgaJpZM4RHh6L
.

Yeah I already figured it probably wouldn't be possible to load say a StreamTexture from a .png directly, but being able to load an Image and then make an ImageTexture out of it would be great.

I've been looking into this more and discovered that Godot appears to have an internal system of loading zip files directly. I can find issues hinting that it's possible to load zips manually, but I can't find where. Is this maybe just not exposed to user code?
Either way, I think exposing an API for custom PackSources would be a good way to handle this. Then you can "load" files directly from wherever without needing every resource loader to implement it.

I made an API to allow this by allowing you to load Pack Sources such that you can implement virtual file systems (and by extension pretend like files exist on disk). Haven't tested it well though.
https://github.com/space-wizards/godot/tree/18-04-28-file_access_script

Closing in favor of https://github.com/godotengine/godot-proposals/issues/732, as feature proposals are now tracked in the Godot proposals repository.


MRP April updates

Updated release notes

@willduff : Thanks for your contribution! The author(s) have been notified to review your proposed change. @hferrone


zedUpload: Fallback to maxsize on HEAD request error

Some registries, like AWS ECR do not respect the OCI spec regarding HEAD requests to get the size of a layer (blob), leading to errors like the following:
error could not get layer size XXXXX: HEAD XXXXX: unexpected status code 403 Forbidden (HEAD responses have no body, use GET for details)
This commit provides a workaround, falling back size to maxsize if the layer's size cannot be retrieved. This fix was tested with the faulty registry and it works.
Thanks @deitch for helping debug this issue.

In principle, I think this is fine. I have a few questions:

Does this cause issues? As far as I can see, we use the returned size only here where we report the size via types.SendStats(). maxSize does not necessarily have to be the size. We might allow a maxSize of 10MB but the file itself is 5MB. Later we return the actual size. What happens if the initial stats size is > the actual final size? I don't think it matters but it is worth checking. I don't know what uses the SendStats() data.
What happens if there is an error that other than the one that ECR currently returns? Do we care? Or is this a more general, "look, we want to get the size and report it, but if we don't, that is ok"?

Looks reasonable. Nevertheless, couldn't we add something similar to
aws ecr describe-images --repository-name <repository> --image-ids imageTag=<tag>

to get the size on fallback in the case of EC?

@OhmSpectator, well, we rely on go-containerregistry to handle requests to the registry, the command you provided here will perform which HTTP requests of the OCI spec?

Looks reasonable. Nevertheless, couldn't we add something similar to
aws ecr describe-images --repository-name <repository> --image-ids imageTag=<tag>

to get the size on fallback in the case of EC?

@OhmSpectator, well, we rely on go-containerregistry to handle requests to the registry, the command you provided here will perform which HTTP requests of the OCI spec?

To be honest, I just found this command on the internet when googled for the problem described here (ECR is not respecting the OCI spec). And this command was mentioned as an alternative way to get the blob size. Unfortunately, I don't know how it works under the hood.

works under the hood

it uses the AWS API, as opposed to the OCI registry API (distribution spec). It is a nice idea, but I don't think we want to fork out to it. There is an AWS go-sdk, which already is partially integrated into eve-libs, for s3sync, but I don't think we would want to start handling complex special use cases, like, "oh, this returned an error, maybe it was AWS and we should try to get it the other way?" Tomorrow it will be some other part in another registry, and before you know it, a big mess.
@rene was going down the smarter path of limiting this to when necessary, and even smarter of just determining it in advance, since everything is in the manifest anyways.

works under the hood

it uses the AWS API, as opposed to the OCI registry API (distribution spec). It is a nice idea, but I don't think we want to fork out to it. There is an AWS go-sdk, which already is partially integrated into eve-libs, for s3sync, but I don't think we would want to start handling complex special use cases, like, "oh, this returned an error, maybe it was AWS and we should try to get it the other way?" Tomorrow it will be some other part in another registry, and before you know it, a big mess.
@rene was going down the smarter path of limiting this to when necessary, and even smarter of just determining it in advance, since everything is in the manifest anyways.

Ok, thanks for the explanation!

In principle, I think this is fine. I have a few questions:
1. Does this cause issues? As far as I can see, we use the returned size only [here](https://github.com/lf-edge/eve-libs/pull/29/files#diff-6eac4f1f1f8b81481e049c7879af2ea556a34c58dfa811443b3cd5191ff8e283R153-R154) where we report the size via `types.SendStats()`. maxSize does not necessarily have to be the size. We might allow a maxSize of 10MB but the file itself is 5MB. [Later](https://github.com/lf-edge/eve-libs/pull/29/files#diff-6eac4f1f1f8b81481e049c7879af2ea556a34c58dfa811443b3cd5191ff8e283R214) we return the actual size. What happens if the initial stats size is > the actual final size? I don't _think_ it matters but it is worth checking. I don't know what uses the `SendStats()` data.

The pullBlob() function for OCI payloads is called on processDownload(), and the size limit comes from Drona Request, NewRequest(), I realized during the tests that the layer size was being passed as the maximum size, probably it's getting during the parsing of the manifest on function processObjectMetaData(), but I don't think we can assume that always, you are right about that @deitch. Regarding errors, like you said, I just see this size being used for stats and to mark how far the download is to be complete

2. What happens if there is an error that other than the one that ECR currently returns? Do we care? Or is this a more general, "look, we want to get the size and report it, but if we don't, that is ok"?

We don't care about the type of the error, remote layer Size() will return an error only if the HEAD request has failed, so it means we couldn't retrieve the layer size....

Regarding errors, like you said, I just see this size being used for stats and to mark how far the download is to be complete

In that case, I think it is ok.

We don't care about the type of the error

In that case, we are good.
But if you are going to be able to just use the manifest size as the maxsize, or it already is plumbed through, then the whole layer.Size() just doesn't matter. I don't see any reason to prefer the result of HEAD over what is in the manifest. So if you can get rid of it, much preferable.

LTGM, but is there already a bug against the upstream for this?

Erik, do you mean a bug for AWS ECR? I don't think so, it looks like the runtimes don't care about this API call since they can process the manifest at once, and the sizes are in the manifest already, in our case we parse each blob separately supporting a maximum download value for each request, I also observed this issue on another registry (NVIDIA), but I'm not sure if it's AWS based or not. Actually I prefer to let as it is now (in the PR), acting like a workaround, and think in a new implementation where we can get the size from the manifest and safely get rid of this HEAD request.... for now I want to merge this fix to unblock folks that are having issues with AWS ECR.....

Sure we can merge it once the build and test passes.

@rene what happens when you run lint locally? And what version are you using?

golangci-lint is getting killed. This is my local version

I will try locally, see if I can figure it out.

I opened a PR to bump the lint version. I will find any issues there and clear there, and then this should be able to rebase cleanly. It is quick. Hang tight.

See #30 ; once that is in, rebase on it, should help with these.

@rene #30 is in. Try to rebase on that and see if it clears everything?

Updates in this PR:

Rebased on top of main (thanks @deitch for the build fix)
Addressed @eriknordmark's comment

And it all is happy now too!


NPC Interact Event

Hi, is there any solution to nullify several times event popup at one click?

Can you provide more information? I do not understand the problem completely... 🤔

if the player clicks on an NPC, the interact event executes 4 times.

If I remember correctly this happens due to the client sending packets for the main hand, off hand and maybe other things now I'm not quite sure. I've handled this issue with a debouncer before so that code only gets called once. Not sure if you've solved your issue @arthurr0 but hopefully that clarifies.

On some entities the client will send both interact and interact_at so you will have to check for the action and the hand.

Note that v3 is already only calling this for INTERACT, so you only need to check if the interact action was made with the main hand to prevent double action. It might be an idea to only call the event if the action was performed with the main hand, although if somewhere in the future minecraft actually starts to differentiate between main and off hand, that could be a missing feature. So leaving the hand in will call the event twice, but simply checking for the hand will prevent any issues like this :)


fix: Upgrade to wasmtime-java 0.19.0 (DVC 9128)

This upgrades to the latest release of wasmtime-java, which should support running on aarch64-linux (i.e. docker on an m1 mac).
I also updated the README and build settings to use a new compatibility target of Java 11.

Generally looks good.
Could you update the sourceCompatibility/javac.target in the two example apps and benchmark projects as well so it is all the same?


Change host API to separate fetching chain from fetching power tables

Step 1 of #151. This is in preparation for fetching power tables for validation of messages for future instances.
See discussion in #151 about the interface design. The powertable offset parameter is encapsulated by the host, which can respond to a request for the power table to use for some (possibly-future) instance. This capability isn't used yet.
This change also removes fixed beacons in the sim, which was previously using the same beacon for every instance. Now it's generated (by setting it equal to the base tipset key bytes).

Codecov Report
Attention: Patch coverage is 93.10345% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 71.63%. Comparing base (c7da7b0) to head (dc17a83).

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #256      +/-   ##
==========================================
- Coverage   71.66%   71.63%   -0.04%
==========================================
  Files          31       31
  Lines        2333     2337       +4
==========================================
+ Hits         1672     1674       +2
- Misses        532      533       +1
- Partials      129      130       +1

Files
Coverage Δ

gpbft/participant.go
85.71% <100.00%> (+0.60%)
:arrow_up:

sim/adversary/decide.go
80.00% <100.00%> (ø)

sim/adversary/repeat.go
85.00% <100.00%> (ø)

sim/adversary/withhold.go
84.46% <100.00%> (ø)

sim/ec.go
55.17% <100.00%> (+0.38%)
:arrow_up:

sim/options.go
75.34% <ø> (-0.66%)
:arrow_down:

sim/sim.go
75.51% <100.00%> (-0.49%)
:arrow_down:

sim/host.go
94.73% <81.81%> (-5.27%)
:arrow_down:


Remove Aggregate as reserved word

Why is AggregateBalance a reserved name for models?

Ah, just looked at the Rust list. We will look into if it is possible to remove this reserved name (as with many others).

Thanks, please tag me when this is fixed so I can switch my model name back

No promises this will happen any time soon - but it is a general thing we are trying to do.

This is fixed in the latest dev version - 2.12.0-dev.19 and will be shipped on latest next week Tuesday in our 2.12.0 release.


Improve docs.rs documentation

Part of gtk-rs/gir#820.
cc @EPashkin @sdroege @sfanxiang

Seems it time to change cargo fmt to run on stable here too.

Thanks and 👍  for this batch after CI pass


Replace problematic for..in loops with C-style loops

Because for..in loops are designed to iterate over the properties of Objects, they access enumerable properties up the prototype chain. Thus if the caller has extended Array.prototype, those new functions will be enumerated along with the contents of the array. This will cause ethereumjs-abi to break in the places I've changed to C-style loops.
More info on for..in loops here.

Coverage remained the same at 86.842% when pulling 3c73e56f8e12cc330174eb38ae6657a9fc1a0fdf on SettleFinance:master into 00ba8463a7f7a67fcad737ff9c2ebd95643427f7 on ethereumjs:master.


adds updated copyright year

The life of a maintainer is often thankless with many hours
spent saving the world from utter misery.
Attempts to help Anton maintain proper Rights.

Description

/(c) 2018/g replacement
Motivation and context

This change is required to save Anton some time and brain-power.
It solves the problem of distracting the prolific Maintainer from saving the world.
How has this been tested?

This change has not been tested.
Screenshots (if appropriate):

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.

Very important one!!! :trollface:


crypto: Add chain_id to system object

https://github.com/MystenLabs/sui/issues/1402

I unfortunately seemed to have missed this conversation. Independently I just merged https://github.com/MystenLabs/sui/pull/6683 which uses a u8 as a chain-id. It seems that form some of the discussion from @sblackshear that this may not have been the correct thing to do and we instead should look at changing the genesis txn context?


Add Adguard DNS to the resolvers list

Hello from Adguard!
Could you please add other Adguard resolvers to the resolvers list?
We've prepared the CSV with all the information:
https://gist.github.com/ameshkov/8cc0da559229f7e0dccd4fe2e1e4f355

Pull request:
https://github.com/jedisct1/dnscrypt-proxy/pull/483

@jedisct1 could you please take a look? It's just current resolver is invalid and it does not work with it.


Ignoring coverage of certain functions

I tried doing this to disable coverage of a function,
/* istanbul ignore next */
export async function foo() {}

but it didn't work. Does node-tap support ignoring like this?

I would expect that to work.  Are you using tap's built-in nyc coverage, or c8 or something else?

Also, is this typescript, esm that's compiled to common js, or native esm with node?

yes, this is typescript esm, compiled to common js.
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
``

As of version 18, tap now uses c8-ish coverage, so /* c8 ignore ... */ is the thing to use.  (It uses c8 for reporting, but generates the coverage data by talking to the V8 inspector API directly, so as to not dump quite so much to disk.)
npm i tap@pre to get it. Be sure to review the changelog, a bunch of stuff has been updated.


chore(main): release 1.0.0

:robot: I have created a release beep boop
1.0.0 (2024-10-01)
Contributors: @andrijadukic-syntio
⚠ BREAKING CHANGES

initial implementation of the lib-retry package (#1)

Features

initial implementation of the lib-retry package (#1) (1711548)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.0.0
:sunflower:


Podpora pro pojištění

Zonky zavádí pojištění schopnosti splácet. Už je to v API (fc4977cb8412445852d173fff1fc36fe8e00cf2a). Bude potřeba to přidat do strategie.

@jhrcek FYI. Will be doing a final release in about one week's time. But this change is fully backwards compatible, so the web tool need not support it. No rush.

@triceo ok, let me know if there's any action required from my side.

@jhrcek At some point, the extra condition would have to be added to the web tool. I'll leave it up to you, when you can get to it.

@triceo ok, I missed that change. Will add the new condition it within the next two weeks

@jhrcek Yes please.


Disable Auto Play

For whatever reason, Reddit will sometimes autoplay video even if you disable it in the settings.   I've noticed the behavior usually kicks in after you manually play a single video.

Hi, thank you for reporting the issue. I'll have a look.


Problem Connecting to Project Online App

While connecting to the Project Online App, I got the following error:
Something went wrong
Failed to update model parameters. Please try again later.
Please try again later or contact support. If you contact support, please provide these details.
Activity ID: d7740ad3-dc50-44fe-8bff-5ea30228007d
Request ID: cdf76757-60b4-ff2f-b8f7-df558be1953b
Correlation ID: f7f338cd-e007-b756-56bc-ad94d9cfb127
Status code: 400
Time: Thu Jul 25 2019 11:05:30 GMT+0800 (Malay Peninsula Standard Time)
Version: 13.0.10175.153
Cluster URI: https://wabi-south-east-asia-b-primary-redirect.analysis.windows.net
Could anyone help?

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

ID: fc8a7a22-e258-4da3-4c55-6ddb1085c521
Version Independent ID: 0b3f2b88-9e73-f4dd-0f21-fe3c156a99b8
Content: Connect to Project Online with Power BI - Power BI
Content Source: powerbi-docs/service-connect-to-project-online.md
Service: powerbi
Sub-service: powerbi-template-apps
GitHub Login: @SarinaJoan
Microsoft Alias: sarinas

Hi, @gohkohwee -- referring you to @jaduong, who may be able to help. If not, please do as the error message says and contact support with that information: https://powerbi.microsoft.com/en-us/support/
Good luck with your issue!

Hi @gohkohwee, contacting support might be more helpful. My immediate thoughts are: did you type in your PWA site correctly, and select the correct language of your PWA site?

Thanks @maggieMSFT and @jadong. @gohkohwee - closing this one out with a recommendation to contact support. Thanks!


mamba/conda  installation of degiro_connector

Dear Chavithra,
With a bit of effort, I managed to obtain the degiro_connector package installed in a conda environment.
Qualitatively, this is what I've done:
created a conda version of the onetimepass package with conda skeleton, conda-build -c local commands
installed onetimepass
installed poetry (not sure if it is 100% needed)
prepared for the creation of a conda version of the degiro_connector (very important UNDERSCORE) package with conda skeleton,
Modified the meta.yaml addind poetry in all resources sections
created the package with conda-build -c local commands
is it interesting to write down these steps in a more quantitative way?

By the way the creation of conda version is done by following this manual entry:
Building conda packages with conda skeleton

Dear Chavithra,
With a bit of effort, I managed to obtain the degiro_connector package installed in a conda environment.
Qualitatively, this is what I've done: created a conda version of the onetimepass package with conda skeleton, conda-build -c local commands installed onetimepass installed poetry (not sure if it is 100% needed) prepared for the creation of a conda version of the degiro_connector (very important UNDERSCORE) package with conda skeleton, Modified the meta.yaml addind poetry in all resources sections created the package with conda-build -c local commands
is it interesting to write down these steps in a more quantitative way?

Hello @lucaga ,
POETRY
Poetry is not necessary if you handle the dependencies with another mean.
STEPS
Maybe some people would be interested in know the steps to do it themselves.
Can you enlighten me on why you need a Conda package version of this library?
Thanks

Dear Chavitra,
Thanks for the quick reply.
About the steps:
I'll write it here when I'm able to reproduce it. I was able to create a cobra package of degiro_connector 2.x but I'm not succeeding yet with 3.x
About the reason for the need of a conda package:
It's a combination of being a newbie, habit and the setup of the environment I'm using.
Thinking about the answer to your question, I do realize that I could get all I need from pip. Though I would have to recreate my environment.
Maybe it's a good plan b when I cannot create a package for DeGiro_connector 3.x
Regards
Luca

Update:
Still not able to create a conda package of degiro_connector 3.x
I resorted to install pip in conda and use pip to solve dependencies for degiro_connector within an environment.
THe easiest way to achieve that was to create an environment from a environment.yml file (see conda manual).
My initial, raw environment.yml was like this:
`name: AnEnvironment
channels:

conda-forge
defaults
prefix: /home/lg/miniforge3/envs/AnEnvironment
dependencies:
python=3.12.*
numpy
pandas
yfinance
PyPortfolioOpt
pip
pip:

degiro_connector
`
Hope this helps


Facing an issue the, here is the error i am seen on my screen, please help

Do you want to request a feature or report a bug?

What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.

Please mention other relevant information such as the browser version, Operating System and Device Name
What is the expected behavior?
If this is a feature request, what is motivation or use case for changing the behavior?

was solved from server side

@Samar3dgeneralists as i can see from the log you are using an old AR.js version. We don't support anymore the artoolkit.min.js and artoolkit.api.js files. Please switch to the latest AR.js version.
And to help other potential user fill all the requested entry in the issue with a detailed description of the problem you encountered, and some more informations: AR.js version, your OS...


Unique validation at update time

get rules() {
const companyId = this.ctx.params.id;
return {
// validation rules
name: [
rule("required"),
rule("max", 30),
rule("regex", /^([a-zA-Z0-9 ]+(.)?([a-zA-Z0-9 ]+)?)+$/u),
rule("unique","companies",id,${companyId}),
],
email: required|unique:companies,email,id,${companyId}|email,
contact: required|integer|max:15|unique:companies,contact,id,${companyId},
};
}
Here as you can see i have to update company details,and i have to use regex for validation too so i can't write validation in normal way (without using array and rule method i.e unique:companies,name,${companyId}).
I have to use it in above manner but unique inside rule method not accepting ignore row field as we can do it in normal way.So what should be the correct syntax.
Either tell me how to write above validation correctly or how to use regex properly without using rule method
Will be thankful for help

Issue doesn't adhere to the guidelines of creating a proper issue.

Make sure that you are only reporting bugs or submitting feature requests on Github.
In case of feature requests, please be descriptive and explain how this feature helps a broader audience and not just you.

If you are not submitting a bug and neither a feature request, then please use the discussion threads
In any case, issues which are not descriptive enough will be closed. Please respect our time.


Save chart with query + share chart link

When saving a query we should offer an option to include the chart configuration. Should be included in shareable link.
Initially this wouldn't run the query automatically. Maybe we just show (run query to see chart) and have the chart tab highlighted.
Ideally we would be able to full screen charts and share a link.
cc @jling

Links now include the chart config. Users can add &run_query=true&tab=charts to run the query and switch the chart view on load.
We do plan to save chart state with a query, but it needs a small re-design.
Specifically, the save button will be moved out and put in a parent panel - thus associating it with the chart and query (not just the query). If a user edits a chart (or query) we'll show a warning there is unsaved state. This is prefered over a pop dialog that warns when navigating on the left. The results will also be saved with a query and chart config.
Saved queries will also be associated with examples.
On saving a new query and chart the popup will include an option to save the chart and results (selected by default).

Done and deployed


Set a Python version in GitHub Actions

This ensures that the docs are actually rendered.

We should really add CI at some point. 😅


Staff Check-in Error Handling Fix

Description
Fixes #599

Fixed bug in error checking for incorrect code "402" instead of the correct code "404"
Updated alert error messages to be a little more descriptive

The API should return an error message. Would we be able to display what's returned when there's an error instead of hardcoding the phrases?