Dictation timeout causes speech to become unavailable

Describe the bug
After a Dictation time out, Speech is unavailable.
To reproduce
Steps to reproduce the behavior:

Setup a scene with Speech and Dictation
Call DictationHandler.StartRecording and let it timeout
Try to use any Speech commands

Expected behavior
Speech commands should be available after Dictation times out.

May be related to #6941

We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visithttps://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!


[SPARK-7231] [SPARKR] Changes to make SparkR DataFrame dplyr friendly.

Changes include

Rename sortDF to arrange
Add new aliases group_by and sample_frac, summarize
Add more user friendly column addition (mutate), rename
Support mean as an alias for avg in Scala and also support n_distinct, n as in dplyr

Using these changes we can pretty much run the examples as described in http://cran.rstudio.com/web/packages/dplyr/vignettes/introduction.html with the same syntax
The only thing missing in SparkR is auto resolving column names when used in an expression i.e. making something like select(flights, delay) works in dply but we right now need select(flights, flights$delay) or select(flights, "delay"). But this is a complicated change and I'll file a new issue for it
cc @sun-rui @rxin

Merged build triggered.

Merged build started.

Test build #32216 has started for   PR 6005 at commit 0521149.

Test build #32216 timed out     for PR 6005 at commit 0521149     after a configured wait of 150m.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/32216/
Test FAILed.

Jenkins, retest this please

Merged build triggered.

Merged build started.

Test build #32250 has started for   PR 6005 at commit 0521149.

Merged build triggered.

Merged build started.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/32255/
Test FAILed.

Merged build finished. Test FAILed.

Jenkins, retest this please

Merged build triggered.

Merged build started.

Test build #32259 has started for   PR 6005 at commit 5e0716a.

Test build #32250 has finished for   PR 6005 at commit 0521149.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/32250/
Test FAILed.

Unrelated python test failure -- @rxin I've seen this fail a couple of times before test_count_by_value_and_window.
Jenkins, retest this please

Test build #32259 has finished for   PR 6005 at commit 5e0716a.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public class EnumUtil
class Binarizer(JavaTransformer, HasInputCol, HasOutputCol):
class IDF(JavaEstimator, HasInputCol, HasOutputCol):
class IDFModel(JavaModel):
class Normalizer(JavaTransformer, HasInputCol, HasOutputCol):
class OneHotEncoder(JavaTransformer, HasInputCol, HasOutputCol):
class PolynomialExpansion(JavaTransformer, HasInputCol, HasOutputCol):
class RegexTokenizer(JavaTransformer, HasInputCol, HasOutputCol):
class StandardScaler(JavaEstimator, HasInputCol, HasOutputCol):
class StandardScalerModel(JavaModel):
class StringIndexer(JavaEstimator, HasInputCol, HasOutputCol):
class StringIndexerModel(JavaModel):
class Tokenizer(JavaTransformer, HasInputCol, HasOutputCol):
class VectorIndexer(JavaEstimator, HasInputCol, HasOutputCol):
class Word2Vec(JavaEstimator, HasStepSize, HasMaxIter, HasSeed, HasInputCol, HasOutputCol):
class Word2VecModel(JavaModel):
class HasSeed(Params):
class HasTol(Params):
class HasStepSize(Params):

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/32259/
Test PASSed.

@rxin - I finally made jenkins happy :) Any other comments ?
also cc @cafreeman who added some of the original DF functions

This looks pretty cool! And +1 on figuring out how to specify columns without quotes or $. I've been thinking about that quite a bit myself as I've been using the API.

Thanks @cafreeman for taking a look. I opened https://issues.apache.org/jira/browse/SPARK-7499 for the column specification thing. I investigated this a bit yesterday and found one way to do it, but I think involves some code re-org. Feel free to take a shot at it if you get time - we can target it for Spark 1.5

lgtm

Merging this


support late+specified values (1.3.2)

Support 1.3.2 feature https://github.com/ceylon/ceylon/issues/3544

Done for static and non-static member values, but I guess we need to support top-levels too? Top-levels are already lazy.

late is redundant for toplevels, isn't it?

@gavinking I agree, but there is also the wrinkle that late values can be assigned to as an alternate form of initialization.
(side note: the wrinkle has the side effect of eliminating thread safe initialization on the Java backend)

Closing. Additional initialization checks differed to #39


nomulti/sql/insert NULL bug

#3 tried to insert "pong" to core_heartbeat table at "ping" column but found NULL in database

Found call exeute1 not 2

fixed 0.6


iOS Newsletter Section

Huge fan of iOS Dev Weekly and maybe this is a conflict of interest, but I think there should be a section for other iOS/Swift Newsletters.
https://swiftweekly.github.io/ - could be one to add.

I'd be absolutely fine with this, I did even consider including a section like this. Please feel free to create a new category in the JSON and submit a PR.


Clarify how a Solid resource server can determine a resource is a WebID Profile

          Since statements with the `solid:oidcIssuer` predicate is defined as *protected* in this spec, I assume it only applies to resources that are WebID Profiles. How the solid storage/resource server is going to determine that a given resource should be handled as a WebID Profile?

Originally posted by @elf-pavlik in https://github.com/solid/webid-profile/pull/98#discussion_r1280011715

As an implementer of clients and servers for Solid and WebID, I would advise against the following mechanisms for a server to identify resources (if resources need to be identified/classified at all).
I don't know that any of these have been proposed, so I'm only arguing against myself.

Based on resource URI. At least some Solid servers do not associate any meaning with resource URIs (except what is required by the Protocol). Requiring them to do so might be an unacceptable architectural burden.
Based on content-type. This would be problematic, in my opinion, for several reasons:

Solid servers will have different ways to store the contents of resources. They will support content-negotiation in different ways. If we classified resources based on content-type then we would potentially interfere with these mechanisms.
I think that it is unlikely to have a MIME for these profile documents, so matching on their content-type would preclude that content-type from usage by other resource classes. Even if there was a MIME for some class of resources, it would still be problematic to reuse the content-type property of resources for this purpose of classification.

Based on resource contents. This would be problematic, in my opinion, for several reasons:

There is cost associated with Solid servers reading/accessing/inspecting/parsing/validating the contents of resources. It would be quite a burden for them to have to do this in order to identify a resource as a certain type/class.
Any classification that is based on the content of resources would make it hard or impossible to reuse the patterns used for classification in other contexts like quoting or caching. If we, for example, match on a certain predicate, then that predicate is excluded from all other resources that should not be classified as the given type.


Solo machines need to proto-marshal a MerklePath when submitting misbehaviour

Summary of Bug
Solo machines are currently expected to proto-marshal the path over which data is signed when submitting misbehaviour.
Expected Behaviour
The path should not be a proto-marshalled commitmenttypes.MerklePath. A byte representation of the path string should be enough.
Version
All versions.

For Admin Use

[x] Not duplicate issue
[x] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

You meant to replace
	if err := cdc.Unmarshal(sigAndData.Path, new(commitmenttypes.MerklePath)); err != nil {
		return err
	}

with something like
	if merklePath, ok := path.(commitmenttypes.MerklePath); err != nil {
		return err
	}


(GH-2012) Print objects using out::message

This allows users to pass any data type to the out::message() plan
function and send it to the configured outputter for printing. This
adds a formatting function to the outputter that all messages pass
through, which formats known Bolt datatypes and classes nicely for
readable printing. Any unhandled types are stringified and passed to the
outputter. Printing is still left entirely to the outputter, but
formatting is shared among all outputter that inherit from the base
outputter class Bolt::Outputter. This ensures a consistent experience
across outputters.
Closes #2012
!feature

Print objects using out::message() (#2012)
Users can now print any valid data type using the plan function
out::message().

CLA signed by all contributors.


Girder does not find hpccloud and pvwproxy plugins when main VM (development) is restarted

Hi,
I am working on a new type of HPCCloud simulation and to test it, I would like HPCCloud-deploy to use my own HPCCloud directory.
To do that, I followed the instructions provided at the bottom of this file and built my main VM using:
DEVELOPMENT=1 vagrant up
At the end of the building, my VM is running correctly and the HPCCloud directory used is the mine. Everything is working correctly.
Restarting the VM with the following command, I got several issues in the web console:
vagrant halt && DEVELOPMENT=1 vagrant up
The issue is:

GET http://localhost:8888/api/v1/projects 404 (Not Found)

Looking a Girder logs, it seems that hpccloud and pvwproxy plugins can not be loaded:

vagrant@vagrant-ubuntu-trusty-64:~$ cat /home/hpccloud/.girder/logs/error.log
[2017-12-08 13:04:14,139] ERROR: Required plugin pvwproxy does not exist.
[2017-12-08 13:04:14,139] ERROR: Required plugin hpccloud does not exist.

Weirdly, these two plugins seem available in the Girder plugin directory:

vagrant@vagrant-ubuntu-trusty-64:~$ ls -alsh /opt/hpccloud/girder/plugins/
0 lrwxrwxrwx  1 hpccloud hpccloud   38 Dec  8 10:15 hpccloud -> /opt/hpccloud/hpccloud/server/hpccloud
0 lrwxrwxrwx  1 hpccloud hpccloud   38 Dec  8 10:15 pvwproxy -> /opt/hpccloud/hpccloud/server/pvwproxy
...

These two symbolic links seem correct:

vagrant@vagrant-ubuntu-trusty-64:~$ ls -alsh /opt/hpccloud/hpccloud/server/
total 0
0 drwxr-xr-x 1 hpccloud 1003 204 Nov 22 13:51 hpccloud
0 drwxr-xr-x 1 hpccloud 1003 204 Nov 22 13:51 pvwproxy
0 drwxr-xr-x 1 hpccloud 1003 204 Dec  7 16:56 taskflows

Thanks for your help !

@jourdain Do you have any intuition concerning this issue ?
@cjh1 took a look yesterday but without success :(

Hi @felixveysseyre, I now understand what you where trying todo. DEVELOPMENT=1 has to be used when the VM is created ( its not enough to halt the VM and then bring it back up ).

Well, some time I just want to restart the VM without rebuilding it.
For example when I restart my computer.
Did I missed something ?

@felixveysseyre Try #113, this should resolve your issue. When the VM is restart the services don't get restarted, this adds two provisioners to ensure this is done. If this resolves the problem please review the PR and then we can merge it.

@cjh1 I tried your pull request and the issue seems to be fixed !
Thanks !

I think this is now resolved


RegExp in ssr.noExternal is ignored in SvelteKit due to config merging issue

Describe the bug
We had a bug in SvelteKit where a user tried to provide a RegExp to ssr.noExternal, which is an accepted value, but it was having no effect.
vite-plugin-svelte provides some config and that's overriding the user's config. If I changed the user input from a RegExp to a RegExp[] then the config is properly merged and things work as expected
A few potential fixes:

fix Vite's config merging to merge RegExp with (string | RegExp)[]. Though I don't know how we'd do this in a generic way since we don't know that the single value is of a type accepted by the array
disallow RegExp input to ssr.noExternal and make the user pass RegExp[] which works
handle this case specifically. I see that there is supposed to be "special handling" for ssr.noExternal though I don't know where that happens
https://github.com/vitejs/vite/blob/dd8869bf4c1a84e8dd223e2edc8cde986355a5da/packages/vite/src/node/config.ts#L701

Reproduction
Add any ssr.noExternal option to https://github.com/sveltejs/sites/tree/master/sites/svelte.dev
System Info
Happens on `main`

Used Package Manager
npm
Logs
N/A. I inserted `console.log` statements to find out what was happening

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I think the first fix is the ideal way to solve this.

Though I don't know how we'd do this in a generic way since we don't know that the single value is of a type accepted by the array

Wouldn't we be still able to merge as the array can contain both strings and regexs? It looks like the config merging handles true only, which takes the highest precedence. But doesn't handle arrays.

Yeah, I think we could do that. The only case where the single-valued element and array have different types is https://vitejs.dev/config/#resolve-alias and it already has special handling:
https://github.com/vitejs/vite/blob/dd8869bf4c1a84e8dd223e2edc8cde986355a5da/packages/vite/src/node/config.ts#L695


Web: no images in magazine and other views

heya, from a previous newsblur update, i don't have images in some views (tho i do have 'em in the full article view)..
they stopped appearing some time ago, and around that time i think i saw something about one of the image-related docker things being for arm, whereas i'm on an intel macos.. i can't find that label now tho..
i thot things looked a little extra spacious, and then remembered i ignored this issue when i first noticed it..

hmm, i thot there was some extra space to the right of the dates on the list view, but that's on the case now.. regardless, here's the magazine view; no broken images, just a big space where the images should be..:

there's a div with an inline style that contains a background-image declaration, and that url does point to a valid image:

i'm using macos/safari, and i can't test in firefox because i can't remember how i was able to login with safari, and haven't been able to login from any other browser or device..

Here's what I'm seeing:

Seems something is going on with your network requests. Do you see any network errors?

Whoops, here it is in magazine view...

only errors for the default_profile_photo.png (could not connect to the server), a fonts.css from cloud.typography.com (403 forbidden), and a socket.io.js.map (404 not found)..

hmm i think it's a css issue; the resulting problematic styles i think are
display: none;
height: 0;
right: -84px;
when i override these with the following sloppy values, the image appears
display: block;
height: 100px;
right: 0;
these values aren't ideal, but they do demonstrate that the images are loading, just inhibited from appearing by the css..
no images:

hacked to be visible:

I believe you have image previews turned off. Here's where you'll find it.

wow, that was indeed it; i guess i thot something was broken cuz of the big empty space when there's previews are set to 'no image', but selecting another option does indeed show the images..
plz excuse my ignorance


Eidolon walkthrough.

From earlier today :tada:

Perfect. Simple. To the Point.

Yup, copy+pasted yours, then modified :sweat_smile:


Clear localStorage in e2e scenario ?

browser() does not expose a way to clear localStorage. It would be really useful. I can provide a PR...

The ngScenario module is deprecated and we are not accepting further code changes for it. Please look at using Protractor for your e2e testing.


Make phone numbers interactive

Is your feature request related to a problem? Please describe.
If you are looking at someone's page via the app and the have their phone number entered, you have to copy it and paste it elsewhere if you want to use it.
Describe the solution you'd like
It would be great if phone numbers were interactive where if you press on it, it prompts you to select how you want to proceed eg call, send a message, save to contacts
Screenshot

I read this blog:- https://medium.flutterdevs.com/implementing-phone-calls-using-the-flutter-app-e350ea275c92
and wish to work on this issue.

Hi, I am Ninad, a contributor to OpenForce 2022. I would like to work on this issue. I would be making a PR as soon as I am done with resolving the issue. Thank you

Hey @yahu1031 . I am Shubham Shah, a contributor to OpenForce 2022.
I would like to work on this issue
Can you brief me more about the issue before I send my PR.

is this issue is still open??
I am looking for work on this

About the message "sonle-geekyants pushed a commit that referenced this issue" => It's incorrect linking - fix not for this issue

@nik132-eng yes it is still open.


Default key in plugin ';' prevents me from typing said key in code

Rather bothersome for when trying to correct an error from leaving out a semicolon. It's the keymap for auto indenting.

Does this happen in a unsaved buffer? #93 and #102 look similar.

In the other two cases, the semi-colon did not appear because the server had not come up.  @agmcleod could you check the console (ctrl + `) to see if there are messages about bringing up the server?  Where is node installed on that machine?
I will change the plug-in so that it still lets you type a ';' in this situation.

@zhengbli unsaved or saved seems to have the issue. If i do a new tab even, set syntax to typescript the issue occurs.
@steveluc not seeing any errors. I opened up a simple .ts file. Able to make changes and save okay. Compiles out the .js file.
I think i installed node from the website's installer. Binary is: /usr/local/bin/node, using v0.12.0.

Are you getting completions?

In commit 04fe273, added exception handling for the case where the node executable isn't found.  This should make the ';' appear if that is the problem.  If that's not the problem, we may need to ask you to send us an excerpt of the console output for the plug-in.

@steveluc no completions. ; does format on key i think though, not auto complete.
Did a git pull and restarted sublime, still cannot type ; character.
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 74, in reload_plugin
    m = importlib.import_module(modulename)
  File "./importlib/__init__.py", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 678, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "/Users/aaronmcleod/Library/Application Support/Sublime Text 3/Packages/TypeScript/TypeScript.py", line 38, in <module>
    from nodeclient import NodeCommClient
ImportError: No module named 'nodeclient'
plugins loaded
Emmet: No need to update PyV8
Package Control: Skipping automatic upgrade, last run at 2015-04-06 19:21:41, next run at 2015-04-06 20:21:41 or after

I'm also running in to this issue.  Sublime 3 Build 3083 on Mac, latest version of Typescript plugin as of current time.  Semicolon does not work in Typescript buffer, but works fine in other buffers.  Also cannot paste with Cmd-V but pasting using the menu option works fine.
I also have Sublime 2 (build 2221) on this machine, and it does not suffer from the same issue.

Interesting.  We update the search path to put our module folder on it.  Could you please try the below to see what the result is.

Open the Sublime console ( View / Show Console )
In the console, first run "import sys", then run "sys.path"
You should see output such as ['/Users/bill/Library/Application Support/Sublime Text 3/Packages/TypeScript/libs', '/Applications/Sublime Text.app/Contents/MacOS', '/Applications/Sublime Text.app/Contents/MacOS/python3.3.zip', '/Users/bill/Library/Application Support/Sublime Text 3/Packages', '/Users/bill/Library/Application Support/Sublime Text 3/Packages/bz2/st3_osx_x64']
Note how one of the paths has the ./libs folder of the TypeScript plugin on it.  Does yours?
If so, can you confirm the nodeclient.py module is present in this folder.  Anything look odd about your paths or package locations compared to mine above?

One other question - is this a regular install or a portable install?
Sorry for the hassle.  Hopefully we can figure this out soon.

Thank you, looking at sys.path did point me to the source of the trouble:

'/Users/mike/Library/Application Support/Sublime Text 3/Installed Packages/TypeScript.sublime-package/libs'

This was from a previously installed plugin called "TypeScript" which I think used to exist on package control but no longer does (not sure if that was an earlier version of your plugin, or a completely separate one).  Since your TypeScript plugin does not seem to exist on Package Control yet I followed the instructions to clone the repo into a TypeScript directory under my "/Application Support/Sublime Text 3/Packages/"  but the sys.path did not reference the newly created TypeScript directory, only this old "Typescript.sublime-package/libs".
Using Package Manager to remove all Typescript related plugins (I had a couple others, including BetterTypescript and TypeScriptCompletion) and then redoing the "git clone" solved my issue.  I don't think the BetterTypescript and TypeScriptCompletion plugins had anything to do with the problem, but they never did anything worthwhile for me that I was aware of, so I nuked them.

Yeah that seemed to be my issue too, the older TypeScript package.

Probably a large number of potential users of this new Microsoft Typescript plugin will have also tried the old "TypeScript" plugin that caused the name conflict.  This might not be a problem once you guys get on package control, since it seems like the name is going to be "TypeScriptLang" according to the front page.
But you might want to do one of the following things to help prevent this:

Change the "git clone" unstructions to use a different directory name, not "TypeScript", or at least provide a warning that users should watch out for naming conflicts and remove any previous plugins named "TypeScript"
Change your TypeScript plugin to validate the sys.path to check for this problem, provide clearer error if the sys.path does not contain the expected directory.

I added the note about the conflict and changing the name to the readme once we identified the cause.  See 212464a0b1 .


Miniflare 3 not safe to run with a lot of concurrency

If you spin up a not unreasonable number of miniflare instances in parallel with port 0, workerd can fail to start saying a port is in use. I believe this is a  TOCTOU race condition within Miniflare due to this line: https://github.com/cloudflare/miniflare/blob/tre/packages/tre/src/index.ts#L350
It's finding an open port number but that's not safe to do in a concurrent way because separate threads/processes may discover the same port number and try to spin up workerd with it.
There are 3 ways I can think of to handle this:

workerd reports the port it bound to somehow
Miniflare remembers that port 0 was requested and a failure to start workerd is implicitly treated as an "address already in use" failure and automatically retried a few times. This can be cleaned up a bit by having a distinct error code from workerd that communicates "address already in use".
Miniflare binds the socket so it can obtain the address and hands that socket to workerd directly.

Discovered when I went to run my unit tests in parallel with Mocha's test runner.

I'm not aware of anything similar. Either 1 or 3 are options. Honestly, option 3 may be more appealing to the runtime team but not sure (sending FDs around is very natural to how things work).

In the short term, using https://www.npmjs.com/package/ipc-mutex may help alleviate this if there's a natural point where you know workerd has actually bound the socket so that you can release the mutex. The cost is serializing concurrent startups of workerd which negates some of the benefit of running Mocha in parallel.


code cleanup

Checklist

[X] The title of the PR is clear and informative
[ ] If applicable, the changes made in the PR have proper test coverage
[ ] Issues addressed by the PR are mentioned in the description followed by Fixes.

Description

Fixes

@navya-ganta Please resolve the merge conflicts


Adjust curl options to use best practices

Currently curl is called with -S (this is different from the lowercase -s) which hides error messages:
https://github.com/jakeg/heroku-buildpack-bun/blob/cded310383f8809383e2608eafc08e1773cad266/bin/compile#L54
Also, it doesn't use timeouts or retries.
I'd recommend using some of the options we use in Heroku's official buildpacks, eg:
https://github.com/heroku/heroku-buildpack-python/blob/99684a6ffdb23e50a9a2ee0b59ddf3c5e865ea5d/bin/steps/python#L115

I don't see a problem with -sS - the small s makes it silent in terms of showing status bars etc, then the large S overrides that silence in order to show errors. Surely that's desired?
I have, however, added retries in https://github.com/jakeg/heroku-buildpack-bun/commit/42225de7f368a0b99a7030c8b9f4a5827fb5e078 in case of eg temporary network issues.

then the large S overrides that silence in order to show errors.

Ah sorry you are right, I had that one inverted in my head for some reason!
Thank you for adding the retries :-)

@edmorley I've added this buildpack to Heroku Elements many months ago, but it never appears when searching the web interface, eg at https://elements.heroku.com/search/buildpacks?q=jakeg or https://elements.heroku.com/search/buildpacks?q=bun . Can you possibly look into this? I'm concerned people may try to find a Bun buildpack and as there's one not listed there assume it's not possible to use Bun with Heroku, while clearly it is.


todo list

Here's a rough draft of tasks ahead -- individual issues should be filed as needed:

improve the infrastructure of "verifying client-under-test state" -- e.g. make it easy to verify client metadata cache contents in a test #10
Refactor, polish:

current code is a quick hack, e.g. we should probably use unittest or something as a runner: #7
setup linting, mypy, CI: #6, #2

define the initial "client-under-test" CLI: see ClientRunner and the initial test client clients/python-tuf.py
write the client-under-test scripts for at least two implementations (python-tuf, go-tuf-metadata?)
Document the CI story

in the end the client-under-test implementations should live in the client library repos themselves (like python-tuf) and their CI should run the tests -- no point in doing this quite yet though
test suite could offer a github action for the implementations to use #8
before all of that: the test suite needs tests as well. Makes sense to build something within this repo first: #2

enable debugging: it has to be possible to dig into possible failures

More optional logging
Ability to preserve the client temp directory
Ability to export repository state (see RepositorySimulator.write()), and using it in testrunner or the tests

start designing and implementing individual tests -- python-tuf test suite is a good starting point I guess

I think everything here has been filed as individual issues now, closing


mina.netty jar file contains javaassist classes, this may collide with components needed to use another version

The dependency tree is as follows (extract):
org.kaazing:mina.netty:jar:develop-SNAPSHOT
+- io.netty:netty:jar:3.10.5.Final:compile
+- org.kaazing:mina-core:jar:develop-SNAPSHOT:compile
|  \- org.slf4j:slf4j-api:jar:1.7.21:compile
+- org.kaazing:mina-integration-beans:jar:develop-SNAPSHOT:compile
+- org.kaazing:mina-integration-jmx:jar:develop-SNAPSHOT:compile
+- org.kaazing:mina-integration-ognl:jar:develop-SNAPSHOT:compile
|  +- ognl:ognl:jar:2.7.2:compile
|  \- jboss:javassist:jar:3.7.ga:compile
+- org.slf4j:slf4j-jdk14:jar:1.7.21:provided

This shows javaassist is pulled in via org.kaazing:mina-integration-ognl

We should see if we can remove our dependency on ognl (may be needed for management). Or we can pull the javaassist into a kaazing namespace module so shade will rename the classes.

We will not fix this unless asked to by a customer


Getting a max value from an array

So this will give me raw_data:
=IMPORTJSONAPI("https://ycharts.com/charts/fund_data.json?securities=include%3Atrue%2Cid%3ADBX%2C%2C&calcs=include%3Atrue%2Cid%3Amarket_cap%2C%2C&correlations=&format=real&recessions=false&zoom=5&startDate=&endDate=&chartView=&splitType=single&scaleType=linear&note=&title=&source=false&units=false&quoteLegend=true&partner=&quotes=&legendOnChart=true&securitylistSecurityId=&clientGroupLogoUrl=&displayTicker=false&ychartsLogo=&useEstimates=false&maxPoints=880","$..raw_data", "@")

In this case, 1st value in raw_data is a timestamp and 2nd is market cap. I'm trying to get max marker cap value regardless of timestamp... any suggestions, please?

After lots of struggle, the answer is:
=MAX(IMPORTJSONAPI("https://ycharts.com/charts/fund_data.json?securities=include%3Atrue%2Cid%3ADBX%2C%2C&calcs=include%3Atrue%2Cid%3Amarket_cap%2C%2C&correlations=&format=real&recessions=false&zoom=5&startDate=&endDate=&chartView=&splitType=single&scaleType=linear&note=&title=&source=false&units=false&quoteLegend=true&partner=&quotes=&legendOnChart=true&securitylistSecurityId=&clientGroupLogoUrl=&displayTicker=false&ychartsLogo=&useEstimates=false&maxPoints=880","$..raw_data.[*][1]", "@"))


Add NNS Plugin

This is a plugin for NEO Name Service. The initial use case is to provide base level support for resolving domain names to addresses.

@nickfujita there is currently no plans to support NNS.

Even if individual wallets don't want to support NNS, why not add it to neon-js so those that do have the ability? Why leave out features people want?


Escape all HTML Entities

Right now Trumbowyg escapes characters such as < and > into < and > which is great.
However it doesn't escape apostrophes and quotes into ' and " (I'm guessing there could be a few others, but these are the ones that are important to me).
Could this be changed? Or could you point me to the area Tumbowyg does the current escaping so I can look at fixing this?
Thanks

Trumbowyg does not do this, it's the browser since Trumbowyg is based on a content editable div.
Sooo, there is no code to point you to :/
Why do you not manage that on form submit, or on the server-side?


[FCR] Support Raspberry Pi Pico HAL

Is your feature request related to a problem? Please describe.
Current manifest in west.yml doesn't support the Raspberry Pi Pico, so I'm unable to build anything for e.g. the Raspberry Pi Pico development hardware.
Describe the solution you'd like
Add hal_rpi_pico to the allowlist.
Describe alternatives you've considered
Non.
Additional context
Non.

is now in 3.3 and main


Minify CSS build output

Would you consider minifying the CSS output (when running charge build) using a PostCSS plugin? For example, using something like cssnano.
This seems like it would fit with the “it works the way you probably expect it to” philosophy as long as only safe minification techniques are enabled.

Hey! Yeah, I think that makes sense. Charge is mostly for smaller sites so the minification doesn’t need to be super aggressive. Want to make a pull request?


Show number of chunks and document an index has in the stats endpoint[ENHANCEMENT]

Is your feature request related to a problem? Please describe.
I would like to know the sum of the chunks and documents found in an index.
Describe the solution you'd like
When calling the stats endpoint for an index, I'd like to be shown the sum of the chunks and documents found in that index.
Describe alternatives you've considered
There is no real way to do this currently.
Additional context
Add any other context or screenshots about the feature request here.

Perhaps we can hit the marqos _stats endpoint, and use the docs field found there...


PT Run Copilot Plugin

Description of the new feature / enhancement
Similar to the %% for unit conversion plugin. It would be useful to have a plugin that would allow for a quick copilot search entry.
Scenario when this would be used?
Example of user flow I'm thinking of:
User has an question they would like to ask copilot but they are not in a browser or in another application and want quick access to Copilot and PT Run is their go to way to search inside windows.
User input flow

user press PT Run keyboard shortcut to opens PT Run
plugin command appears in dropdown menu i.e. ``
user enters `` or navigates to `` from dropdown menu and press enter
user enters question for copilot and press enter
handoff user question to Copilot (preview) sidebar in windows if available; if not, open browser navigated to copilot and handoff with user entry

Supporting information
No response

/dup https://github.com/microsoft/PowerToys/issues/34024


a little confusion

hi , i am watching you website article:https://www.codeinsideout.com/blog/stm32/semihosting/
and i maybe find some place incorrect in it.
2.3. Debugger option: the "SemiHosting" should be semihosting
3. Debug with SemiHosting: in the article, you give a note that useing fopen in linux,  i think the file path parameter shoud be absolute path.
thank you for you article, it gives me a lot help : )

hi @hellowoad
Thanks for visiting my page, and pointing my mistakes ( I though it was the replace function in editor).
About the file path, here is the original guide from ARM (in here):

When using fopen(), the file path is specified either as relative to the current directory of the host process (e.g. openocd.exe), or absolute, using the path conventions of the host operating system.

However, the actual behavior may vary, depending on the implementation of the debugger.
I updated the page. When I have more free time, I will continue adding more posts.


Addition of HeliosLang with corrected github link

Buildtool addition

Name: HeliosLang
Description: DSL of writing Smart Contracts for Cardano
Link: https://github.com/Hyperion-BT/Helios
Source: https://github.com/Hyperion-BT/Helios
Tags:

javascript
plutus
library

Thanks for resubmitting, however there is still a problem with your getstarted field. There is a specific section in get started on developer portal dedicated to builder tools tutorials. The format is in markdown. Feel free to add your guide as well ,otherwise please write null in that field.

getstarted has been set to null

Conflict hopefully resolved now


Chef-15:  require instead of load libraries

This reverts a change which was working around problems caused by
unforked interval runs.  Fixes issues with chefspec, should make
it faster and reduce warning spam.
closes #6450

I certainly hope that this is enough of a edge condition in behavior that it affects absolutely no-one, so think i'm going to leave this off the release notes.

Thank you @lamont-granquist :)

It certainly have side-effect for people toying with multiple libraries overriding same method.
https://xkcd.com/1172/ !
Adding this in the release note is probably necessary


generator generates code for static fields

Describe the bug
generator generates code for static fields, this leads to a compiler warning since they can't be overridden.
To Reproduce
Steps to reproduce the behavior, e.g.:

Create new Driver
add a (public) static field to driver
run generator
observe described behavior

Expected behavior
the generator runs and ignores static files

aha, nice catch. I didn't think about this


#bbcode_formatted? method for String

Hello, in my project i need to check if string has bb-tags so i can choose decorator method for it, so i propose to add a simple method to your gem: it checks if any bb-tags present in given string.
And i also found some mistypes in @@tags examples

ok, i did separate commits and change method name

@iarie v1.3.0 released with these changes.  Thanks


docs: Specify udpated bot StateHandler API.

Reflects changes made in https://github.com/zulip/python-zulip-api/pull/134 and https://github.com/zulip/zulip/pull/7043.

Merged with the second commit as 51f1281ee9eb68198bcae15793997c07b56b9b5e, covering the perf issues around this.  Thanks @derAnfaenger!
Since this does make the documentation inconsistent with the latest release, we should plan to do a release fairly soon.
@showell I wanted to bring up the question of whether we should also get rid of the bot_handler argument, and move that to be accessed via self in the bot code.  It seems like we should decide that now, while we're breaking the ABI.  Maybe a good topic for discussion on Friday's meeting.


Tests

Reopened #2

Doesn't seem to pickup anything ...

ok. try another commit plz. I've enabled all options on circleci config.

Voila. 💚

bump @manekinekko


Updated EKS-D prod for 1.20 - 1.23

Issue #, if available:
closes https://github.com/aws/eks-distro/issues/1227
Description of changes:

Updated 1.20-20, 1.21-18, 1.22-10, and 1.23-5

/hold
Waiting until 1.20 release is out

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/unhold
/approve

/test kind-tooling-presubmit


Fixed incorrect type declaration.

This is a non-issue typo. Located in the CPP module docs, Introductory.md.

Thank you very much!


Add newcomers workflow w/signoff

Signed-off-by: Ankita Pareek<EMAIL_ADDRESS>Description

This PR adds a workflow to notify about good first issues on the #newcomer channel of Layer5.
This is reusable as it doesn't operate on the hardcoded repo name from which the issue was created.

This PR fixes #326
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

Good work, @Ankita13-code, @theBeginner86


Question: are there any good ways to run gulp in cluster mode for a web server?

are there any good ways to run gulp in cluster mode for a web server? I saw some solutions but not understand it..

It seems you missed the part of our issue template that states "Support questions should be directed to StackOverflow".  It is not recommended to use gulp inside a web server; instead use the modules that make up gulp in the proper combinations.  Not only does that make it easier to stay up-to-date on the modules, web server workflows don't require all the parts gulp brings together.


Move SDK sample code to being injected

We should not have sample application code embedded directly in the documentation. Instead, we should have a folder called samples which we can then code inject. This will help ensure the documentation and the codebase do not go out of sync with each other.

@MichaelEdwardBlack need any help on this issue?

@fundthmcalculus I think I should be good on this. I believe most of it has been resolved. There are just a few things here and there that I'll get as I update to 1.4

I'll close this issue then.


data filtering: new api for js

Kinda confused what's going on here git-wise -- this PR seems like it includes lots of changes unrelated to js data filtering


betterDefine cannot resolve TS from file paths beginning with "@"

Describe the bug
This import works:
import type { IFieldEmits } from "../../my-component-lib/src/forms/FieldProps"

This import does not work, even though it resolves to the same folder:
import type { IFieldEmits } from "@/my-component-lib/src/forms/FieldProps"

The error I receive is:
5:48:41 PM [vite] warning: unplugin-vue-better-define SyntaxError: Cannot resolve TS definition.
  Plugin: unplugin-vue-better-define
  File: C:/MyProjectPath/src/forms/FieldInput.vue
SyntaxError: Cannot resolve TS definition.
    at resolveDefinitions (C:\MyProjectPath\node_modules\@vue-macros\api\dist\index.js:459:13)
    at async handleTSEmitsDefinition (C:\MyProjectPath\node_modules\@vue-macros\api\dist\index.js:389:43)
    at async processDefineEmits (C:\MyProjectPath\node_modules\@vue-macros\api\dist\index.js:622:15)
    at async analyzeSFC (C:\MyProjectPath\node_modules\@vue-macros\api\dist\index.js:548:9)
    at async transformBetterDefine (C:\MyProjectPath\node_modules\@vue-macros\better-define\dist\chunk-7CI72ON6.js:17:18)
    at async TransformContext.transform (C:\MyProjectPath\node_modules\@vue-macros\better-define\dist\chunk-7CI72ON6.js:99:16)
    at async Object.transform (file:///C:/MyProjectPath/node_modules/vite/dist/node/chunks/dep-c842e491.js:41421:30)
    at async loadAndTransform (file:///C:/MyProjectPath/node_modules/vite/dist/node/chunks/dep-c842e491.js:37808:29)

It appears (so far) that I can use the "@" syntax just fine for the defineProps types or their base types, just not for defineEmits. ("@" is mapped to the project root in my tsconfig.json, not to "/src".)
Thanks for writing this plugin!
Reproduction
https://github.com/richardtallent
System Info
I can provide a reproduction next week if needed, but I'm shutting down my work laptop for the weekend and wanted to get this issue filed beforehand.

 System:
    OS: Windows 10 10.0.19044
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
    Memory: 17.01 GB / 31.73 GB
  Binaries:
    Node: 16.15.1 - C:\Program Files\nodejs\node.EXE
    npm: 8.13.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (107.0.1418.26)
    Internet Explorer: 11.0.19041.1566

Also:
- vue 3.2.41
- vite 3.2.2
- unplugin-vue-macros 0.16.0

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

Fixed, please try the latest version.

Thanks, this worked!


Trying to download comments of a public post, do I need to login first?

here's the link to it: C58oKsroFdY

Did you find a solution? You can close this issue if you did


How to only use codegen to generate .rs files.

Hello, I've been looking around at different code-generation crates for smithy v2 particularly for Rust.
I've been looking through this project quite a bit and see how it's tightly integrated with aws code gen. However, I was wondering if there were any directions/guides on how to simply use the codegen-core/client/server parts to take existing .smithy file (or a large smithy project) and then generate the according Rust crate .rs file that can then be consumed from a different Rust application.
There's doesn't seem to be an straightforward documentation about how to do this/if it is even possible.
Any help would be greatly appreciated!

The examples folder is the closest thing to docs that we have right now:
https://github.com/smithy-lang/smithy-rs/tree/main/examples
If you clone the repo and then start re-writing the example to work for your use case, that's probably the easiest way to get started.
We do want to support use of this generator for things other than the AWS SDK but that's not currently a high priority for us.


Add support for onMouseEnter / onMouseExit

For when a Flutter app is running on a device with a connected mouse.

Related to #757

Dupe of https://github.com/flutter/flutter/issues/5504.


Travis cache configuration is missing

Configuring the cache may solve the build timeout when Travis is running.

Closing since we moved CI to GH Actions


{Packaging} Bump knack to 0.10.1 to support bytearray serialization

Description
Adopt https://github.com/microsoft/knack/pull/268 to provide a temporary workaround for https://github.com/Azure/azure-cli/pull/24763. This unblocks containerservice (AKS) extension's serialization of ManagedClusterSecurityProfileCustomCATrustCertificates object.

Bump knack


Not 60 FPS on recommended setup

I am using yuzu early access 4176.
My specs are:
Processor: AMD Ryzen 9 5900HS with Radeon Graphics, 3301 Mhz, 8 Core(s),
GPU: NVIDIA RTX 3060 Laptop GPU
RAM: 16 GB
I'm trying to just use the Medium settings and get a solid 30 fps but nothing more than that even if I set the optimizer to 60 fps.

You should be able to go above 30 in shrines. If you cannot, you have some other software imposing a 30 fps limit on your game.


Connection Refused when trying to crawl a certain website

Dear Sirs,
I am successfully crawling dozen websites with the 2.8.1 Collector-Http, successfully sending/committing contents to my Solr7.5.0 schema
But a (Italian) website always returns Connection Refused at StartUrl - and the collector early terminates
My  config is the following:
<crawler id="lazioeuropa"> <!-- NON FUNZIONA IL CRAWLING: sempre CONNECTION REFUSED !!! -->
		<!-- UNCOMMENT START-URLS TO MAKE THIS CRAWLER WORKING -->

			<!-- Requires at least one start URL (or urlsFile).
            Optionally limit crawling to same protocol/domain/port as
            start URLs.
			-->
			<startURLs stayOnDomain="true" stayOnPort="true" stayOnProtocol="false">
				<url>http://www.lazioeuropa.it</url>
				<url>http://www.lazioeuropa.it/sitemap/</url>
			</startURLs>

			<userAgent>Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0</userAgent>

			<!-- Specify a crawler default directory where to generate files. -->
			<workDir>./tasks-output/lazioeuropa</workDir>

			<!-- Put a maximum depth to avoid infinite crawling (default: -1). -->
			<maxDepth>10</maxDepth>

			<!-- Be as nice as you can with sites you crawl. -->
			<!-- delay default="2000" / -->
			<delay default="3000" ignoreRobotsCrawlDelay="true" class="$delayResolver">
				<!-- schedule dayOfWeek="from Monday to Sunday"
                    time="from 8:00 to 20:30">86400</schedule -->
			</delay>

			<!-- keep downloaded pages/files to your filesystem './rl_agricoltura/downloads/' folder -->
			<keepDownloads>false</keepDownloads>

			<!-- Optionally filter URL BEFORE any download. Classes must implement
			 com.norconex.collector.core.filter.IReferenceFilter,
			 like the following examples.
			-->
			<referenceFilters>
				<!-- exclude extension filter -->
				<filter class="$filterExtension" onMatch="exclude" >
					jpg,gif,png,ico,bmp,tiff,svg,jpeg,css,js,less,json</filter>
				<!-- regex filters -->
				<filter class="$filterRegexRef">.*lazioeuropa.*</filter>
				<filter class="$filterRegexRef">.*regione.lazio.it/binary/.*</filter>
				<filter class="$filterRegexRef" onMatch="exclude">.*image.*|.*gallery.*|.*json.*|.*ical=.*|.*/css/.*</filter>
			</referenceFilters>

			<!-- Document importing -->
			<importer>
				<postParseHandlers>
					<!-- If your target repository does not support arbitrary fields,
               make sure you only keep the fields you need. -->
					<tagger class="com.norconex.importer.handler.tagger.impl.KeepOnlyTagger">
					  <fields>title,keywords,description,document.reference,document.contentType,collector.referenced-urls</fields>
					</tagger>
					<!-- adds a constant metadata field: FromTask -->
					<tagger class="com.norconex.importer.handler.tagger.impl.ConstantTagger">
						<constant name="FromTask">lazioeuropa_task</constant>
					</tagger>
				</postParseHandlers>
			</importer>
		</crawler>

while, the default configuration sections is:
<crawlerDefaults>
		<!-- Identify yourself to sites you crawl.  It sets the "User-Agent" HTTP
			 request header value.  This is how browsers identify themselves for
			 instance.  Sometimes required to be certain values for robots.txt
			 files.
		  -->
		<userAgent>progetto 'KMS NUR' (2018-2019), unified_PRL HTTP Collector</userAgent>

		<numThreads>4</numThreads>

			<!-- Stop crawling after how many successfully processed documents.
         A successful document is one that is either new or modified, that was
         not rejected, not deleted, or did not generate any error.  As an
         example, this is a document that will end up in your search engine.
         Default is -1 (unlimited)
			-->
		<maxDocuments>-1</maxDocuments>

		<httpClientFactory class="$httpClientFactory">
			<connectionTimeout>300000</connectionTimeout>
			<connectionRequestTimeout>300000</connectionRequestTimeout>
			<socketTimeout>120000</socketTimeout>
			<cookiesDisabled>false</cookiesDisabled>
			<trustAllSSLCertificates>true</trustAllSSLCertificates>
		</httpClientFactory>

		<!-- Indicates if a target URL is ready for recrawl or not.
		 Default implementation is the following.
		-->
		<recrawlableResolver class="$recrawlResolver" />

		<!-- We know we don't want to crawl the entire site, so ignore sitemap. -->
		<sitemapResolverFactory ignore="true" />

		<!-- Optionally filter URL BEFORE any download. Classes must implement
		 com.norconex.collector.core.filter.IReferenceFilter,
		 like the following examples.
		-->
		<referenceFilters>
			<!-- exclude extension filter -->
			<filter class="$filterExtension" onMatch="exclude" >
				jpg,gif,png,ico,bmp,tiff,svg,jpeg,css,js,less,json</filter>
			<!-- regex filters -->
			<filter class="$filterRegexRef">.*regione.lazio.it.*</filter>
			<filter class="$filterRegexRef" onMatch="exclude">.*image.*|.*gallery.*|.*json.*|.*ical=.*|.*/css/.*</filter>
		</referenceFilters>

		<robotsMeta ignore="true" class="$robotsMeta" />

		<!-- Extract links from a document.  Classes must implement
		 com.norconex.collector.http.url.ILinkExtractor.
		  Decide what to do with your files by specifying a Committer. -->
		<committer ...>

		</committer>
</crawlerDefaults>

and the log says:
unified_95_PRL_32_HTTP_32_Collector.log

I just tested and could crawl it without problems. So I think it may be a connectivity issue like suggested by @abolotnov.

[image: image.png]
ciroBorrelli

Il giorno ven 1 feb 2019 alle ore 19:23 abolotnov<EMAIL_ADDRESS>ha scritto:

Can you curl this site's pages from that host at all?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Norconex/collector-http/issues/554#issuecomment-459818996,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOzk_RsAQrHhFaBpgUFoeT8fI4_-JCxlks5vJIYMgaJpZM4aeQTJ
.

Solved adding some proxy settings
<httpClientFactory> <!-- for proxy settings -->
   <proxyHost>proxy.regione.abruzzo.it</proxyHost>
   <proxyPort>8080</proxyPort>
   <proxyScheme>http</proxyScheme>
</httpClientFactory>

Closing


GCC and DOD Public IP Address including Loopback address (<IP_ADDRESS>)

The GCC and DoD public IP Address documentation is including the loopback IP address (<IP_ADDRESS>) and should be removed from the documentation.

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

ID: 0a7b1f84-92bd-7188-a7d0-359a930525dd
Version Independent ID: dd7d2d01-bdee-b656-ca63-e19305963d28
Content: Limits and configuration - Power Automate
Content Source: articles/limits-and-config.md
Service: flow
GitHub Login: @MSFTMan
Microsoft Alias: deonhe

@SteveWinward  Thanks for reporting this issue. It's now fixed.


bug somewhere in get_unique_craters.py

@cczhu since you changed get_unique_craters.py there is now a bug in there somewhere. I ran a new set of extracting crater distributions and there are tons of nan entries in the long/lat coordinates, e.g.
[        nan         nan  4.65171524]
[       nan        nan  3.4377277]
[        nan         nan  7.02831142]
[        nan         nan  3.58227701]

not sure yet at the moment where the problem is, but you might better understand where it could be coming from? My guess is that it has to do with taking np.sin or np.cos of a number not in [-1,1] range, but I actually don't know at the moment. If you don't think you have time to look into this then I will.
It might ultimately be easier for me to look at it since I have the get_unique_craters.py pipeline set up and could just print everything every time a nan shows up....

It probably would be easier for you to check this with your pipeline.  The fastest way to troubleshoot this would be to insert
assert lat_deg is not np.nan
assert long_deg is not np.nan

right before return np.column_stack((long_deg, lat_deg, radii_km)) in estimate_longlatdiamkm.  If the problem is my function, this will throw an AssertionError, which you can use in IPython or Jupyter to interactively debug with (by printing out the values of lat_deg_firstest, latdiff, etc., to check the problem).
It would actually be good to set up a test in the test suite that's doing what you're checking.  Is it possible to break up your pipeline into individual tests?  (Ideally we wouldn't put yet another bunch of .hdf5 or .csv files into the tests folder, but we could if we had to.)

@cczhu - looked into this just now and the problem is stemming from when latdiff = 0. I.e. sometimes lat_central - lat_deg_firstest = 0 and this propagates into np.sin(np.pi * latdiff / 180.)) = 0, which blows up lat_deg and propagates to long_deg. Do you think there's a simple fix you can make?

Ahh, I didn't appreciate that discretization of our positions to 256 x 256 means sometimes a crater's centre will be right at the long/lat centre.  I put a limiter in there taking advantage of the fact that
assert (np.pi * latdiff / 180.) / np.sin(np.pi * latdiff / 180.) == 1

works if latdiff is less than 1e-6.  See #13.


Bluetooth: controller: set refactored as default

This PR sets the refactored LLCP as the default instead of legacy
so that more people will use this, giving us more feedback
Signed-off-by: Andries Kruithof<EMAIL_ADDRESS>

Scheduled PR #https://github.com/zephyrproject-rtos/zephyr/pull/45547#issuecomment-1123740620 after 15:11:55.

#AutoPTS run zephyr SM

diff comparing to last weekly run:
GAP GAP/BOND/BON/BV-02-C XML-RPC ERROR
GAP GAP/SEC/AUT/BV-21-C INCONC
GAP GAP/SEC/SEM/BI-22-C PASS (2)
GAP GAP/SEC/SEM/BV-28-C PASS (3)
GAP GAP/SEC/SEM/BV-41-C PASS (2)
GAP GAP/SEC/SEM/BV-42-C PASS (3)
GAP GAP/SEC/SEM/BV-56-C PASS (2)
GAP GAP/SEC/SEM/BV-57-C BTP ERROR
GAP GAP/SEC/SEM/BV-58-C BTP ERROR

Scheduled PR #https://github.com/zephyrproject-rtos/zephyr/pull/45547#issuecomment-1124118582 after 20:22:09.

Scheduled PR #https://github.com/zephyrproject-rtos/zephyr/pull/45547#issuecomment-1124118582 after 10:23:14.


Add in ability to specify the cursor class to use for fetch_all, fetch_one etc

This adds in the ability to specify the cursor typed used when running a query using methods such as fetch_all, fetch_one etc
Close #72
Example
from snowflake.connector import DictCursor

with SnowflakeConnector.load(config.snowflake_block_name, validate=False) as connector:
   results = connector.fetch_all("SELECT * FROM JAFFE_SHOP", cursor_class=DictCursor)

Screenshots
N/A?
Checklist

[x] References any related issue by including "Closes #" or "Closes ".

If no issue exists and your change is not a small fix, please create an issue first.

[x] Includes tests or only affects documentation.
[x] Passes pre-commit checks.

Run pre-commit install && pre-commit run --all locally for formatting and linting.

[ ] Includes screenshots of documentation updates.

Run mkdocs serve view documentation locally.

[x] Summarizes PR's changes in CHANGELOG.md

@ahuang11  Do you want me to change cursor_class in the fetch methods to cursor_type so it matches across the whole package?

Yes that seems good to me!

Yes that seems good to me!

All set!

I think to fix the Python 3.7 and 3.8 tests, you need to using Type[SnowflakeCursor] from the typing library.

hello! are the changes here ready for release? I'm using the latest 0.26.1 but noticed these changes aren't out yet. it's not available to download via pip (unless using commit hash with Github ssh / https)
thank you!


Document that CRC should not be run with admin privileges

The crc binary should not be run with root privileges on Linux or macOS. Likewise, it should not be run with administrator privileges on Windows.

Fixed by #444.

In addition to documentation, we could also have a preflight check for it.


PreDecorationFilter#addProxyHeaders append X-Forwarded-xx headers even if these headers are ignored

Bug report
PreDecorationFilter#addProxyHeaders appends X-Forwarded-Host, X-Forwarded-Port, X-Forwarded-Proto headers even if these headers are ignored.
Below is how to reproduce the problem:

Echo server
I use echo server to see the headers send from zuul. Run a echo server:
docker run -p 9080:8080 -p 9443:443  -d --name echo-server gcr.io/google-containers/echoserver:1.10

Zuul
application.yaml
zuul:
  add-proxy-headers: true
  ignored-headers: X-Forwarded-Port,X-Forwarded-Host,X-Forwarded-Proto
  routes:
    echo-server:
      path: /echo-server/**
      url: http://localhost:9080/

Application.java
@SpringBootApplication
@EnableZuulProxy
public class Application {

  public static void main(String[] args) {
    SpringApplication.run(Application.class, args);
  }

}

Fire a request
curl -H 'X-Forwarded-Port:A' -H 'X-Forwarded-Host:B' -H 'X-Forwarded-Proto:C' http://<IP_ADDRESS>:8080/echo-server

Actual result
...
Request Headers:
 ...
	host=localhost:9080
	user-agent=curl/7.54.0
	x-forwarded-for=<IP_ADDRESS>
	x-forwarded-prefix=/echo-server
	x-forwarded-host=B,<IP_ADDRESS>:8080
	x-forwarded-port=A,8080
	x-forwarded-proto=C,http
...

Expected result
The old value of x-forwarded-host, x-forwarded-port, x-forwarded-proto should be abandoned, like this:
...
Request Headers:
 ...
	x-forwarded-host=<IP_ADDRESS>:8080
	x-forwarded-port=8080
	x-forwarded-proto=http
...

@dev-priporov @ryanjbaxter

@chanjarster
The doc tells that it's global ignored headers for both request and response. In my understanding it means we have to remove all ignored headers from response.
But I've got your point and looks like now it's impossible (correct me please if I'm wrong). In order to cover this case we need to add a new property that can tell us to remove only sender's headers.
@ryanjbaxter please have a look and let us know. I'd like to complete this one if you don't mind and the property would be useful

I think the problem is the conflict in the proxy headers (add-proxy-headers is true by default) and what is set in ignored-headers.  ignored-headers effects both the request and response.  So if a header is listed there it should be removed before the request is made downstream and be removed in the response from the downstream service.  So in that case, my expectation of how this would work is that the the downstream service would not receive any of the proxy headers and the client should not receive any of the proxy headers in the response.  In other words, I think @dev-priporov's change is correct.  However I am open to be convinced otherwise.


Register Participants

Description

Installed mongoose and @loskir/styled-qr-code-node
Configured Webpack for @loskir/styled-qr-code-node
Created function to connect to DB
Created DB Schema for Participant
Endpoint to register a participant on DB

Relevant GitHub Issues that will be fixed are: #168
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to
not work as expected)
[ ] This change requires a documentation update
[ ] Chore (anything else)

How Has This Been Tested?

N/A
Checklist

[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation

PR Closure

Use Squash And Merge to Close Pull Request
Delete any branch after merging

Branch is out-of-date, merge latest changes from dev.


That worflow manager must use for SharePoint 2019 ?

That worflow manager must use for SharePoint 2019 ?
"SharePoint Workflow Manager Preview" is the right product or I need to use "Workflow Manager 1.0 Cumulative Update 5" ? Missing install documentation..

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

ID: 716557e6-63fd-f26f-dd96-a2565081e03a
Version Independent ID: 6360722b-3970-776b-3440-4a1b984edf0a
Content: Overview of SharePoint Workflow Manager in SharePoint Servers 2016 and 2019
Content Source: SharePoint/SharePointServer/governance/configure-SharePoint-WorkflowManager-2019.md
Product: sharepoint-server-itpro
GitHub Login: @kirks
Microsoft Alias: kirks

@paololec Thank you for this feedback
I am not sure what workflow manager you need. Let me get this over to the SharePoint team for investigation.
The team will get this prioritized into a sprint plan. Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@paololec You will need to use Workflow Manager 1.0 CU5 and Azure ServiceBus 1.1. This is the same product you can use with SharePoint 2013/2016.

@scanum you can close this one as this page was removed.


Fixing trailing spaces or empty values causes "Nothing to upload"

When I fix an object that has a trailing space, or a key with an empty value, the space or the key with the empty value is already removed automatically while the data are added to the editor.
If nothing else is changed in the data, Level0 complains "Nothing to upload" and does not create a changeset.

Are you sure? Please try this taginfo page, click on the "Level0" link in the top right corner and then "Show osmChange" to verify the osc file.
Can you provide me with an example object on which level0 refuses to upload changes?

Not sure anymore.
I remember my problem was with a space in the value, not in the key as in your example (for which there are zero occurences now).
Anyway, I tested now and successfully fixed a

trailing space in value, a
leading space in value,
value being a single space and a
trailing space in key.

Could not find a leading space in a key; or a key with an empty value, currently.
I found a CS removing an empty value 30s after this ticket was created. Maybe it worked in the end.
We should probably close as not reproducible for now.

Found keys with empty values now, overpass query [~"."~"^$"]
https://www.openstreetmap.org/way/32958037 has <tag k="source:width" v=""/>
Loading into level0 automatically strips this key.
"Upload to OSM" produces red "Nothing to upload."
Show osmChange displays:
OsmChange contents (this will be uploaded to the server)
<?xml version="1.0" encoding="UTF-8"?>
<osmChange version="0.6" generator="Level0 v1.2">
</osmChange>

Trying on a node as well (n5176220022), same result.


Improving README.md and making it developer-friendly

This PR will track changes in the project's README.md
Current status

add Quick Start similar to karpathy/minbpe

Thank you!


Is it possible to make the mod also server-side?

The mod is great, I just placed it to my modpack so my friends can join me freely without installing anything else.
But I was wondering that is it possible to make the mod also server-side? Like, instead of setting up Cloudflared on the server, just place Modflared to the mods folder on Minecraft server. So it just would be able to run only when the Minecraft server is running, and Cloudflared shuts down when the Minecraft server is closed as well. Or is there any existing way to do this?
I'm asking because I created my server on my own PC, not on a different computer else than I play the game. I'm playing on 1.20.1

I'll probably get around to it at some point, but unfortunately I don't have much time at the moment.

The problem is that Cloudflared was designed to run constantly in the background. If you follow the setup, it installs it globally as a service and the config file is also installed in a global folder. In my opinion, having the server start the Cloudflared binary would only make the installation extremely difficult. Because the step-by-step installation on the Cloudflare panel doesn't work this way.

If you are using Linux you can disable the service so that it does not start automatically with sudo systemctl disable cloudflared.service and add sudo service cloudflared start and sudo service cloudflared stop to your start.sh. If you are using Windows I am not entirely sure how to do it.

If you are using Linux you can disable the service so that it does not start automatically with sudo systemctl disable cloudflared.service and add sudo service cloudflared start and sudo service cloudflared stop to your start.sh. If you are using Windows you can do:

Search for "service" in the taskbar, open the Services app, find cloudflared, change the start type to manual.
Add net start [serviceName] /y and net stop [serviceName] /y to your start.bat

Start-Stop Windows
Stop it from starting on boot

sorry for late reply, didnt have any notifications.
seems fair, i think i ll use the start-stop BAT file. thank you for considering it!


RabbitMQ Tracing Informations are missing

Describe the bug
I want to use a sleuth with RabbitMQ messaging, but I can't see the tracing informations. I generated a demo application with spring start, and add some minimal functionality, to produce a message to rabbitmq.
Sample
Here are the dependencies

    <properties>
        <java.version>15</java.version>
        <spring-cloud.version>2020.0.0</spring-cloud.version>
    </properties>

    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-amqp</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-sleuth</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-stream</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-stream-binder-rabbit</artifactId>
        </dependency>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.springframework.cloud</groupId>
                <artifactId>spring-cloud-dependencies</artifactId>
                <version>${spring-cloud.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

application.yml
spring:
  # Cloud Stream
  cloud:
    stream:
      rabbit.bindings:
        ipnMessageSupplier-out-0:
          producer:
            autoBindDlq: true
            bindingRoutingKey: simplepay
            routingKeyExpression: '''simplepay'''
      bindings:
        ipnMessageSupplier-out-0:
          destination: financial
          content-type: application/json
          producer.requiredGroups: simplepay.financial
    function:
      definition: ipnMessageSupplier

  # RabbitMQ
  rabbitmq:
    host: <IP_ADDRESS>
    port: 5672
    username: root
    password: root

and the application java
@SpringBootApplication
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }

    @Bean
    Supplier<String> ipnMessageSupplier() {
        return () -> "DEMO";
    }
}

You're not logging anything so what do you expect to see? Where do you see the tracing information being missing?

You're not logging anything so what do you expect to see? Where do you see the tracing information being missing?

When I read the Message from the Rabbit I get a new TraceId, SpanId not that ones when I send a message. Thus I suppose that a tracing informations are missing.

When I read the Message from the Rabbit I get a new TraceId, SpanId not that ones when I send a message. Thus I suppose that a tracing informations are missing.

Can you create a sample that has 2 projects - a producer and a consumer of the message.  That way we will see whether the trace / span ids got properly passed (we do have end to end samples that use rabbit and everything does work fine).

Can you create a sample that has 2 projects - a producer and a consumer of the message.  That way we will see whether the trace / span ids got properly passed (we do have end to end samples that use rabbit and everything does work fine).

I have tried to compose an samples, here are:
Supplier - Example
Consumer - Example
Be aware a correct rabbitMQ host name and user/pass. You have to run it one on locally or somewhere else.
Another thing is I tried to reproduce my real life project, so when I got a message from a rest interface I have to do some actions and then send it to the rabbitMQ. As you will see when I got the message from rest i have a trace informations, but when i send it to rabbit that informations are missing. And the consumer got a different one , more precisely generate a new one.
I hope I can help with these samples,

I have tried to compose an samples, here are:
Supplier - Example
Consumer - Example
Be aware a correct rabbitMQ host name and user/pass. You have to run it one on locally or somewhere else.
Another thing is I tried to reproduce my real life project, so when I got a message from a rest interface I have to do some actions and then send it to the rabbitMQ. As you will see when I got the message from rest i have a trace informations, but when i send it to rabbit that informations are missing. And the consumer got a different one , more precisely generate a new one.
I hope I can help with these samples,

@jmecsei Thanks for the sample apps, I checked them and as far as I can see, there are two issues (please correct me if I'm wrong and your issue is different):

The tracing info is not propagated between components inside of the demo-supplier (between the POST endpoint and the Supplier bean), more that that, the supplier is not in a tracing scope so there is no tracing info in the "Send message" log event
The tracing info is not propagated between the applications (demo-supplier and demo-consumer) so the consumer creates a new one because the rabbit message headers do not contain it that's why you see a different traceId in the consumer

Fixing the second issue is simple, set spring.sleuth.integration.enabled: true and the tracing info will be propagated through Rabbit headers (you can see this in the logs when the supplier creates the connection or in rabbit admin if you look into the messages).
The first issue is harder because the components are pretty separated (the instance goes over a BlockingQueue). Here's what happens under the hood:
On the Controller side:

Somebody sends an HTTP POST request to the service w/o tracing info in the headers
Since there is not tracing info in the headers, Sleuth will create a new tracing context
This is the traceId and spanId that you can see in the controller logs
After this, an object will be pushed into the BlockingQueue and the trace is over, nothing is propagated further

On the Supplier side:

Spring Integration polls the Supplier from a thread-pool and if the result in not null, it sends it to Rabbit
Since this is in a completely different place than the Controller, the tracing context is not propagated

I don't really think that any propagation is possible other than sending the span through the BlockingQueue in a message wrapper but this will not fix the problem either since you might have the right traceId in the logs of your Supplier but since the polling mechanism and sending the message to Rabbit is above of this, a different traceId will be used for sending the message.
One possible solution could be sending the message synchronously from the controller e.g.: using a MessageChannel (through spring-cloud-stream) or an AmqpTemplate (spring-amqp).

@jmecsei Thanks for the sample apps, I checked them and as far as I can see, there are two issues (please correct me if I'm wrong and your issue is different):

The tracing info is not propagated between components inside of the demo-supplier (between the POST endpoint and the Supplier bean), more that that, the supplier is not in a tracing scope so there is no tracing info in the "Send message" log event
The tracing info is not propagated between the applications (demo-supplier and demo-consumer) so the consumer creates a new one because the rabbit message headers do not contain it that's why you see a different traceId in the consumer

Fixing the second issue is simple, set spring.sleuth.integration.enabled: true and the tracing info will be propagated through Rabbit headers (you can see this in the logs when the supplier creates the connection or in rabbit admin if you look into the messages).
The first issue is harder because the components are pretty separated (the instance goes over a BlockingQueue). Here's what happens under the hood:
On the Controller side:

Somebody sends an HTTP POST request to the service w/o tracing info in the headers
Since there is not tracing info in the headers, Sleuth will create a new tracing context
This is the traceId and spanId that you can see in the controller logs
After this, an object will be pushed into the BlockingQueue and the trace is over, nothing is propagated further

On the Supplier side:

Spring Integration polls the Supplier from a thread-pool and if the result in not null, it sends it to Rabbit
Since this is in a completely different place than the Controller, the tracing context is not propagated

I don't really think that any propagation is possible other than sending the span through the BlockingQueue in a message wrapper but this will not fix the problem either since you might have the right traceId in the logs of your Supplier but since the polling mechanism and sending the message to Rabbit is above of this, a different traceId will be used for sending the message.
One possible solution could be sending the message synchronously from the controller e.g.: using a MessageChannel (through spring-cloud-stream) or an AmqpTemplate (spring-amqp).

@jonatan-ivanov Thanks for your reply, and yes you understand right my issue. But let me to be a little bit confusing :)

Fixing the second issue is simple, set spring.sleuth.integration.enabled: true

I thought that is the default value: https://docs.spring.io/spring-cloud-sleuth/docs/current-SNAPSHOT/reference/html/appendix.html
But no problem I set if it is solve my problem. 👍

One possible solution could be sending the message synchronously from the controller e.g.: using a MessageChannel
This was my old working model. But the spring-cloud-stream guys changed this so this become a legacy solution. And the new one is Functional Programing Model. This was why I rewrite the code like this.
https://docs.spring.io/spring-cloud-stream/docs/current/reference/html/spring-cloud-stream.html#_annotation_based_binding_names_legacy

Now I can undo this changes and use again a MessageChannel solution with Annotation Base processing. But I dont know how long this solution is supported.
What do you think ? It is a problem of the future or we have to start to thinking a solution?

@jonatan-ivanov Thanks for your reply, and yes you understand right my issue. But let me to be a little bit confusing :)

Fixing the second issue is simple, set spring.sleuth.integration.enabled: true

I thought that is the default value: https://docs.spring.io/spring-cloud-sleuth/docs/current-SNAPSHOT/reference/html/appendix.html
But no problem I set if it is solve my problem. 👍

One possible solution could be sending the message synchronously from the controller e.g.: using a MessageChannel
This was my old working model. But the spring-cloud-stream guys changed this so this become a legacy solution. And the new one is Functional Programing Model. This was why I rewrite the code like this.
https://docs.spring.io/spring-cloud-stream/docs/current/reference/html/spring-cloud-stream.html#_annotation_based_binding_names_legacy

Now I can undo this changes and use again a MessageChannel solution with Annotation Base processing. But I dont know how long this solution is supported.
What do you think ? It is a problem of the future or we have to start to thinking a solution?

@jonatan-ivanov and all
Just ab FYI - https://github.com/spring-cloud/spring-cloud-stream/issues/2078

@jonatan-ivanov and all
Just ab FYI - https://github.com/spring-cloud/spring-cloud-stream/issues/2078

What does it mean in point of view of my code ? Do I need to do some changes in my code ?
That's clear if a sleuth  register a ChannelInterceptor they can put the tracing informations to the message header.
One thing is unclear for me, if I  put a message to the queue and a functional consumer process the message, how can it get my original trace informations?
For example in my sample: https://github.com/jmecsei/rabbitmq-sleuth-supplier

What does it mean in point of view of my code ? Do I need to do some changes in my code ?
That's clear if a sleuth  register a ChannelInterceptor they can put the tracing informations to the message header.
One thing is unclear for me, if I  put a message to the queue and a functional consumer process the message, how can it get my original trace informations?
For example in my sample: https://github.com/jmecsei/rabbitmq-sleuth-supplier

@jmecsei

I thought that is the default value

I though that too, but looking at SleuthIntegrationMessagingProperties, this might not be the case. Could you please confirm if it fixes the second issue for you? If so, I will look into this deeper and create a PR to fix it (you can PR this too if you are up to).

But I dont know how long this solution is supported. What do you think ? It is a problem of the future or we have to start to thinking a solution?

Since it is not deprecated I think the intention right now is keeping it at least in the next major release with Spring Framework 6.
@olegz Do you happen to know if there are plans deprecating the synchronous way of sending messages e.g.: using a MessageChannel not through a BlockingQueue see this?
Also, could you pease confirm that tracing information is not propagated using the functional/async way (above) of sending messages?

@jmecsei

I thought that is the default value

I though that too, but looking at SleuthIntegrationMessagingProperties, this might not be the case. Could you please confirm if it fixes the second issue for you? If so, I will look into this deeper and create a PR to fix it (you can PR this too if you are up to).

But I dont know how long this solution is supported. What do you think ? It is a problem of the future or we have to start to thinking a solution?

Since it is not deprecated I think the intention right now is keeping it at least in the next major release with Spring Framework 6.
@olegz Do you happen to know if there are plans deprecating the synchronous way of sending messages e.g.: using a MessageChannel not through a BlockingQueue see this?
Also, could you pease confirm that tracing information is not propagated using the functional/async way (above) of sending messages?

@jmecsei

What does it mean in point of view of my code ? Do I need to do some changes in my code ?

I think it means that you will also be able to use spring-cloud-stream-binder-rabbit and StreamBridge to send messages after that fix he mentioned above is released.

@jmecsei

What does it mean in point of view of my code ? Do I need to do some changes in my code ?

I think it means that you will also be able to use spring-cloud-stream-binder-rabbit and StreamBridge to send messages after that fix he mentioned above is released.

@jonatan-ivanov If I use a sync way of message sending I have got the trace informations and the property does not needed.

spring.sleuth.integration.enabled: true

@olegz
I updated my sample project and I realized that I can not combine functional and the annotation based programming model.
@jonatan-ivanov @olegz What do you think , how can I use a functional_base programming model with sleuth. Because as @jonatan-ivanov mentioned the tracing information is not propagated.
I think if I put the current tracing informations into the message before I put it to the queue , that is working.

@jonatan-ivanov If I use a sync way of message sending I have got the trace informations and the property does not needed.

spring.sleuth.integration.enabled: true

@olegz
I updated my sample project and I realized that I can not combine functional and the annotation based programming model.
@jonatan-ivanov @olegz What do you think , how can I use a functional_base programming model with sleuth. Because as @jonatan-ivanov mentioned the tracing information is not propagated.
I think if I put the current tracing informations into the message before I put it to the queue , that is working.

@jmecsei Glad to hear that the tracing propagation works if you do it synchronously.
As for the async way, as far as I understand, this happens under the hood: there is a poller in Spring Integration that polls the your Supplier from a thread-pool. If the result returned by the Supplier is not null, it sends the message to Rabbit.
In order to propagate tracing information, we need to pass the tracing data to this poller thread somehow.
To me, it seems that the only option for this is sending the tracing data (in a message wrapper) through the BlockingQueue and returning it from the Supplier so the poller can create a span before sending the message to Rabbit. For this, we can create a special tracing queue, wrapper, and supplier but it would be great if the user would not notice anything from this so this message wrapping-passing magic should not be visible to them which I'm not sure if it is possible.
Let me ping @olegz if he has any idea to do this.

@jmecsei Glad to hear that the tracing propagation works if you do it synchronously.
As for the async way, as far as I understand, this happens under the hood: there is a poller in Spring Integration that polls the your Supplier from a thread-pool. If the result returned by the Supplier is not null, it sends the message to Rabbit.
In order to propagate tracing information, we need to pass the tracing data to this poller thread somehow.
To me, it seems that the only option for this is sending the tracing data (in a message wrapper) through the BlockingQueue and returning it from the Supplier so the poller can create a span before sending the message to Rabbit. For this, we can create a special tracing queue, wrapper, and supplier but it would be great if the user would not notice anything from this so this message wrapping-passing magic should not be visible to them which I'm not sure if it is possible.
Let me ping @olegz if he has any idea to do this.

Independent of this issue I think a TracingQueue not a bad idea, and it's worth to make one.
@jonatan-ivanov what do you think ?

Independent of this issue I think a TracingQueue not a bad idea, and it's worth to make one.
@jonatan-ivanov what do you think ?

@jmecsei I think having an async client that hides even the blocking queue and you just need to call send on would be the best but I'm not familiar with the reasoning behind the current solution. I'm going to ask around next week to see what can we do.

@jmecsei I think having an async client that hides even the blocking queue and you just need to call send on would be the best but I'm not familiar with the reasoning behind the current solution. I'm going to ask around next week to see what can we do.

@jmecsei I'm closing this in favor of the followings:
https://github.com/spring-cloud/spring-cloud-stream/issues/2102
https://github.com/spring-cloud/spring-cloud-stream/issues/2103
https://github.com/spring-cloud/spring-cloud-stream/issues/2104


Enable pct, apct, ytypct for MVTSeries

This change became a little more extensive than anticipated. In order to not duplicate code I have added some functions previously in tseries.jl to tsmath.jl and moved tsmath.jl to later in the load-order so that it comes after mvtseries.jl.
Another notable / possibly-breaking change is that I have restricted the ytypct function to YPFrequency TSeries/MVTSeries, whereas previously there was no such restriction. The ppy function it calls is defined for calendar frequencies because we use it to compare relative frequency (i.e. Daily > Quarterly), but it's not precise so should not be used for ytypct for these frequencies.
Do we want a ytypct function for these? Should I undo this change?

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (248a82d) 92.90% compared to head (4ee7490) 92.90%.

Files
Patch %
Lines

src/tsmath.jl
91.66%
3 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #58   +/-   ##
=======================================
  Coverage   92.90%   92.90%
=======================================
  Files          20       20
  Lines        2918     2918
=======================================
  Hits         2711     2711
  Misses        207      207

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add versioning for DLLs on Windows

@lawruble13 wondering if there is still an ask for this functionality?

@apwojcik do you have any comments or feedback on this approach to adding versioning for DLLs in Windows?

Closing stale ticket


Add reward plotting script

Added in https://github.com/ikostrikov/jax-sac/commit/76830c1394a1530c8aeee85997fa597655d39ac2

Added in https://github.com/ikostrikov/jax-sac/commits/main


patrol test doesn't exit after test finish on Android

I encountered it only on Mac, not on Windows.
@KmlBaranowski also has this issue.
The cause is lack of adb in user's $PATH.

Action item: update the adb package to throw an exception if adb executable isn't found.


Possible breaking change in pyo3-build-config from 0.20.0 0.20.1?

I haven't looked into this deeply, and possibly dependabot has done something screwy with the lockfile — but this patch upgrade seems to raise an error in https://github.com/PRQL/prql/pull/4033
The error is at https://github.com/PRQL/prql/actions/runs/7378972354/job/20074705518?pr=4033

OK, we'll do that.
Though it does seem like a breaking change fwiw

I don't think we want to commit to full semver compatibility for these internal API, but I do think we should use more specific version in our dependencies, e.g. pyo3-ffi should depend on
version = "=0.20.1"

instead of
version = "0.20.1"

as it does now, so that these helper crates will always be updated in lock step.

internal API

How are you thinking about what's internal? AFAIU, the common meaning is "internal to the crate"...
Should we not be specifying this crate explicitly here?

Should we not be specifying this crate explicitly here?

You need to as you make use of the add_extension_module_link_args workaround to support building without Maturin/setuptools-rust on macOS.

How are you thinking about what's internal? AFAIU, the common meaning is "internal to the crate"...

This is conventionally true but PyO3 is in a bit of a difficult situation as we have multiple API which are strictly speaking public, but which are only so because they are internal support structures for the code generated by our macros within downstream crates. We usually mark these items as #[doc(hidden)] to indicate that we do not adhere to semver compatibility for them (which after is all is highly regarded and useful convention, but not a functional requirement).
Similarly, the pyo3-build-config crate is primarily a means to centralize information on the build configuration so that both the pyo3 library crate (in its build script) as well as the proc macros in pyo3-macros (when generating code) can access it in any uniform manner. That downstream code sometimes needs to call into a directly to workaround integration issues is unfortunate, but getting around this for the sake of semver purity is not always worth it even though the approach is complicated by the absence of a #[doc(hidden)] equivalent for a whole crate.

OK thanks!
(not sure if you're looking for feedback on your comment — if you are — totally empathize with not investing in semver purity, but then you might want to think about doing more minor releases. There are lots of crates that only do minor releases. My understanding is that the core difference is signifying whether there are breaking changes, which in this case there do seem to be, based on the general definition of breaking change...)

Hi. Not 100% whether my problem relates to this issue, or whether my observation is relevant to you, but we have following CI job on our end: cargo +nightly -Zdirect-minimal-versions update && cargo build. Recently it started to throw following error:
   Compiling pyo3-ffi v0.20.0
error[E0599]: no method named `emit_pyo3_cfgs` found for struct `InterpreterConfig` in the current scope
  --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pyo3-ffi-0.20.0/build.rs:96:24
   |
96 |     interpreter_config.emit_pyo3_cfgs();
   |                        ^^^^^^^^^^^^^^ method not found in `InterpreterConfig`
For more information about this error, try `rustc --explain E0599`.

The solution on our side is to specify the patch version for pyo3: 0.20.1. But I think, the preferred way to go would be to continue to not specify the last number. What do you think?

It probably is; I suspect with -Zdirect-minimal-versions you're having pyo3 and pyo3-ffi downgraded but not pyo3-build-config.

(not sure if you're looking for feedback on your comment — if you are — totally empathize with not investing in semver purity, but then you might want to think about doing more minor releases. There are lots of crates that only do minor releases. My understanding is that the core difference is signifying whether there are breaking changes, which in this case there do seem to be, based on the general definition of breaking change...)

Feedback is welcome. We indeed try to use minor vs patch releases to signify breaking changes, even though semver before 1.0 has no standard rules. However, to clarify, while this was technically breaking, we made this in a hidden API and the Rust community has generally agreed that hidden APIs are semver exempt.
And to be clear, the fact that we made a change to this API broke you is straight up a bug. I think we're looking at doing a 0.20.2 release so I'll see if there's a way that this can be fixed.

Will reopen this just to remind me to think of there's a way to backport for the patch.

Ok I think this will be fixed by #3724 which we'll ship shortly as a pyo3-build-config 0.20.2.

Ok I think this will be fixed by https://github.com/PyO3/pyo3/pull/3724 which we'll ship shortly as a pyo3-build-config 0.20.2.

I think we should backport the definite version specifications as well, as there should be no mixing and matching of the pyo3-* helper crates.

Thanks!

how do you use emit_pyo3_cfgs on the new version?


Put the Request on the Context for Axum

Inspired by @gbj I realized that I can con provide the Request on the Context by wrapping it in an Arc, in addition to RequestParts, so that people could run extractors on it in their components or in their server fns.
I am tempted to delete RequestParts and just say people should just use Request, but that's a breaking change, and I'm curious what you think

Thanks! It's worth saying that this particular implementation is also a breaking change, as it changes the signature of generate_request_parts, which is a pub fn. We can easily do it in a non-breaking way that would involve creating another function and deprecating the earlier one with #[deprecate].
It would be good to work on some examples to make sure we have the API right, here. For example, I'm pretty sure the Arc<Request<Body>> in its present form can't actually be used. The reason is that the FromRequest trait consumes the request, but we can't get an owned Request<_> from an Arc<Request<_>> because the context system will still own a handle to it.
I'd propose actually wrapping it in a leptos_axum::Response<B> struct that's something like
pu struct Response<B>(Arc<RwLock<Option<Request<B>>>>)

impl<B> Response<B> {
  pub fn take(&self) -> Option<Response<B>> {
    self.0.write().take()
  }
}

This means that
a) we could share the response safely via context via the Arc<_>
b) but could still consume it somewhere during the request by taking the value from the Option
For RequestParts, we should probably impl From<RequestParts> for Parts so that you can just do
let foo = use_context::<RequestParts>(cx).unwrap().into().from_request_parts();

I think you meant Request here, as I haven't changed the Response types.
Do we really need an RwLock and an Option here? I can't really think of a reason why someone would want to mutate the Request object

I think you meant Request here, as I haven't changed the Response types.

Yep sorry, I meant request.

Do we really need an RwLock and an Option here? I can't really think of a reason why someone would want to mutate the Request object

Part of the idea here, in my understanding, is to allow people to use extractors without needing a special handler. Extractors are either FromRequest, which takes an owned Request, or FromRequestParts, which takes &mut Parts. So if we want people to be able to use a FromRequest extractor, we need to let them take control of an owned Response. The only way to do this, as far as I can tell, as it have something like an Arc<RwLock<Option<Response<_>>> so that we have

cloneability (for context)
interior mutability around an Option<_>, so that we can not just mutate but actually take ownership of the Request

Does that make sense?

Yeah, thinking about it a bit more, it seems like that might be the only way to do it.
I don't think we're going to be able to write a From for Parts, it has a private field on it to prevent construction. We can definitely do it from the Request though.
In the end, that suggests to me we might want to deprecate RequestParts in favor of the Request type with helpers.

I don't think we're going to be able to write a From for Parts, it has a private field on it to prevent construction. We can definitely do it from the Request though.

I think this is actually okay because if you have access to &mut Request you can use extract_parts to apply a parts extractor to it using extract_parts.
So as long as we provide the request object it should be fine.

Yeah, meant to add that, but that was my understand as well. I'm editing the PR to create the new LeptosRequest type, and setting this up. Are we OK with deprecating RequestParts?

Deprecate away!

OK, so I have a new version up to play with. Unfortunately I still have to change generate_request_parts(), because it consumes the request, and I need it not to so that generate_leptos_request() can consume it.
Since it's so clunky to get access to the Request types, I'm thinking about leaving RequestParts undeprecated, to make that easier for people

OK, I've added a with(), update(), fixed my typos, and restored take_request()


SASS App issues

Hello,
I would like to request to have something fixed for the SASS App because the new learning facilitators do not have codes and cannot access the app which results in them not being able to see whether they have appointments with students or not.
Thank you in advance.

Hi @kriziabel,
Thank for you posting this issue.
Are you saying when adding a new learning facilitator, they do not the corresponding emails? This emails, if I remember correctly, will prompt them to set a password. So then they can access the app.
Does this makes sense?

Yes, they did not get a corresponding email and therefore they did not get prompted into setting up a password. Which results in them not being able to access the app to see their appointments.

Ahh sorry about that @kriziabel , I had assumed this fixed from https://github.com/sass-team/sass-app/issues/105
Can you do one thing for me please, before I start debugging this?
Can you check that those emails are not in the spam folder?

I checked the spam folder. there are no emails there.

That is totally fine!


typo in Sigmoid function range

typo
https://stanford.edu/~shervine/teaching/cs-229/cheatsheet-supervised-learning
g(z)=1+e−z1∈ ]0,1[
need:
[0, 1]

Thanks for your message and your interest @AlexandrParkhomenko.
This notation follows the ISO 31-11 convention on sets. Here, ]0,1[ denotes the interval in R from 0 to 1, bounds excluded. The exclusion of bounds is intentional since the function never outputs 0 nor 1.

I did not know. Thanks for a quick and complete answer.