No such file or directory: '../../../data.imagenet/train'

The example in ""Direct" Quantization Without Training" contains the following code
"python3 compress_classifier.py -a resnet18 ../../../data.imagenet  --pretrained --quantize --evaluate"
When I run it I get: " No such file or directory: '../../../data.imagenet/train'"

Hi @dorian95,
All of our examples assume that you have your data in ../../../data.imagenet (ImageNet) and ../../../data.cifar (CIFAR).  These are relative paths from distiller/examples/classifier_compression.

Unfortunately we cannot provide the datasets as part of Distiller, due to both size and license issues.
Please look at https://github.com/NervanaSystems/distiller#set-up-the-classification-datasets for an explanation.
Cheers,
Neta

See also: https://github.com/NervanaSystems/distiller/wiki/Use-of-image-classification-datasets
which addresses a different aspect of using ImageNet, that is causing some confusion.


Counts could use housekeeping in documentation and validation

The documentation and/or the behavior could be cleaned up.
The doc string says
https://github.com/Qiskit/qiskit-terra/blob/9f5f8fba5145cdfb521a0ed650e2273b8830b158/qiskit/result/counts.py#L39-L48
This might be better:

All keys must be in exactly one of the following formats. The format will be determined by examining the first key.

Recommendations
I make the recommendations first and give examples of problems later. I'll mention one main issue, however: A stored key 100010 may be generated from either dit or binary input. That information is lost.
Easy to do recommendations

Improve the doc string as mentioned above.
Do a bit more input validation. Currently, if the first key is a string that is not binary or hex, it is assumed to represent a dit. Go further by checking that each subsequent key is a string.
Keep some metadata describing the format. A minimum for now would be a flag that is true if the data is dits. This can be queried and makes the logic in other methods more clear and less dependent on quirks of data storage.
EDIT: another thought. It seems very easy for someone to misread the documentation and send binary strings with no leading 0b. After all, they are stored without 0b. In this case, the integer and hex dicts are not built. But, hex_outcomes and int_outcomes will still build and return dicts, after checking each key for the correct format. Checking each key in __init__ on construction may be too expensive.

Further possibilities
I suspect that these have been discussed, but not implemented yet for lack of resources (time).

You could go further by restricting character sets for dits to standard ones, and store the base as metadata.
Use simpler more efficient data types when possible and move formatting to metadata. I've mentioned this elsewhere. It's more efficient, less complex, better for interop, and scales better. (For more about performance and scaling, see issue #8618) Examples are

Store information about registers in metadata rather than inserting spaces or commas in each string. When displaying, use the metadata to construct the desired visual representation. This is more efficient and flexible. Decouples input and output semantics from data format.
Use integers or bit fields as keys. Convert to binary or hex for display. Also can offer conversion to formatted keys for convenience. I'm not sure how possible or practical this is in Python. The ints are arbitrary precision. What are space and efficiency implications of using these as opposed to strs of 1s and 0s?  It should be fairly easy to run tests.

Possibly use subclasses for different fundamental data types. Methods can convert to another type. Currently, multiple dictionaries are stored, presumably for convenience.

Examples of problematic behavior
It's not really validation, but an error in parsing that enforces the same format. (Is this "Parse, don't validate"?)
Counts({'0b1001': 3}) # This is OK
Counts({9: 3}) # This is OK
Counts({'0x9': 3}) # This is OK
Counts({1: 3, '0b1001': 3}  # TypeError: 'str' object cannot be interpreted as an integer
Counts({'0b1001': 3, 1: 3}) # TypeError: int() can't convert non-string with explicit base

But, if the first string is not binary or hex it is considered a dit and no further validation is done
Counts({'%#*(*%$': 1, 1.8: 5, (1.6, 3.5): 1}) # This is OK

Finally, this error message for invalid input neglects to mention dit input.
https://github.com/Qiskit/qiskit-terra/blob/9f5f8fba5145cdfb521a0ed650e2273b8830b158/qiskit/result/counts.py#L103-L104
Ambiguity between dits and bits
Counts({'1001': 3}) is interpreted as having dits for keys. ('0b1001' would be necessary for it to be recognized as binary.) But the base is not stored so subsequent method calls implicitly assume the former is binary.
list(Counts({'0b1001': 3, '0b1101': 3}).keys()) # Binary inputs.
['1001', '1101']

 list(Counts({'1001': 3, '1101': 3}).keys())  # These are dit inputs, but the stored keys are exactly the same as above.
 ['1001', '1101']

# Converting to hex is unambiguous
list(Counts({'0b1001': 3, '0b1101': 3}).hex_outcomes())
['0x9', '0xd']

# Trying to convert dits to hex is ambiguous, because the base is not recorded.
list(Counts({'1001': 3, '2101': 3}).hex_outcomes()) # QiskitError: 'Counts objects with dit strings do not currently support conversion to hexadecimal'

# Because the base isn't stored, an erroneous conversion to hex is allowed.
list(Counts({'1001': 3, '1101': 3}).hex_outcomes()) # Stored keys from dit input are the same as for binary input, so hex_outcomes works.
['0x9', '0xd']

Looking at the logic in the constructor, it seems that an input format of bitstrings with no leading 0b and no spaces is intended to be supported.


Custom fields with FormBuilder | Update broke this?

Context: I'm attempting to hook into my LuisDialog from a FormFlow dialog, in the scenario where the users input doesn't match one of the FormFlow options for example. In this case I'd like to be able to check if the user is asking something other than what the current set of questions expects, and be able to handle giving them a response other than some version of "Not an option".
I've implemented a custom field, based on this SO question: http://stackoverflow.com/questions/36361918/custom-fields-with-formbuilder-in-the-microsoft-bot-framework?rq=1 as well as this one: http://stackoverflow.com/questions/36438545/how-to-hook-luis-into-a-bot-framework-formdialog/36859323#36859323.
Problem: Until updating to the latest release of the botbuilder, via nuget, I was successfully hitting my code in my custom field in overrides of Matches and Parse for example. However, now nothing is getting through to the custom fields overrides.
Questions:

Has the update changed how we are able to derive from IRecognizer/RecognizePrimitive?
Are there any examples/samples of this type of functionality out there?
Will an easier way to jump from FormFlow dialogs to LuisDialogs be implemented in the future?
What is the timeline on this?

Any help much appreciated.

Looks like I broke this in the most recent release when I added the ability to dynamically define fields.  I will fix it in our next release.  Thanks for bringing it to our attention and sorry about that.
The reason we did not initially implement FormFlow sub dialogs is because of the inconsistency of supporting commands--i.e. if you had a sub dialog that didn't know anything about quit or help it would be weird from the user standpoint.  We have a more general solution to the problem of how dialogs fallback and we are actively working on that now.  When we finish that work, it should be much easier to do what you are doing.

If you need something quicker, you could also override        public virtual IPrompt Prompt
instead.  Just take the current _prompt and substitute your recognizer.

Actually simplest way in the current code is to dynamically define the field using SetDefine and put your SetRecognizer in there. I'm looking at how best to make this work if you explicitly specify in your form builder.  The issue is that with the new localization stuff about to come out you want to redefine recognizers that are based on value terms.  That means either SetRecognizer should take a closure, or explicitly specified recognizers will not pick up the change in ui culture.  In any case the dynamic solution works today and might be the best choice moving forward because of that issue.

OK, I have not made a change but I have added some documentation--you should do your SetRecognizer in your DefineAsyncDelegate for the reasons outlined above.  Let me know if that does not work for you for some reason.

Thanks, will give this a try!


Google Play Services 11.0.0 doesn't work with GooglePlayCallbackExtractor.java

GooglePlayCallbackExtractor.java does not work with the latest Google Play Services 11.0.0
line return new GooglePlayJobCallback(((PendingCallback) parcelledCallback).getIBinder());
references PendingCallback.getIBinder() method which was removed in 11.0.0

Thank you for filing the issue. We are working on it right now.
The fix will be ready soon.

Any updates?

I can't upgrade Google Play Services until this is resolved and there are useful Location updates in the newest version.

doesn't work with play services 11.0
6-21 22:52:03.885 17295-17295/com.halebop.servicetips.test E/AndroidRuntime: FATAL EXCEPTION: main
  Process: com.halebop.servicetips.test, PID: 17295
  java.lang.NoSuchMethodError: No virtual method getIBinder()Landroid/os/IBinder; in class Lcom/google/android/gms/gcm/PendingCallback; or its super classes (declaration of 'com.google.android.gms.gcm.PendingCallback' appears in /data/app/com.halebop.servicetips.test-1/split_lib_dependencies_apk.apk:classes25.dex)
      at com.firebase.jobdispatcher.GooglePlayCallbackExtractor.extractCallback(GooglePlayCallbackExtractor.java:48)
      at com.firebase.jobdispatcher.GooglePlayReceiver.prepareJob(GooglePlayReceiver.java:159)
      at com.firebase.jobdispatcher.GooglePlayReceiver.onStartCommand(GooglePlayReceiver.java:98)
      at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3010)
      at android.app.ActivityThread.-wrap17(ActivityThread.java)
      at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1442)
      at android.os.Handler.dispatchMessage(Handler.java:102)
      at android.os.Looper.loop(Looper.java:148)
      at android.app.ActivityThread.main(ActivityThread.java:5417)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

Same problem

Sorry for the inconvenience. We are working on it right now.

11.0.1 is also broken. Please up the priority of this. I am surprised firebase-dispatcher was NOT tested before v11 of the play service was release.

@unEgor any update?

Please review https://github.com/firebase/firebase-jobdispatcher-android/pull/123
I plan to test one more time and submit it tomorrow.
Sorry for the delay.

This should be fixed with the v0.7.0 release

@unEgor any updates for this issue? version 11.0.2 still broken

It works.

Still broken in 11.4.0

@vit001 This is fixed in v0.7.0 +. Make sure you compile firebase jobdispatcher.

@sarathch - Got it, thanks.


E/AsyncHttpRH﹕ User-space exception detected! using 1.4.9

Hello
I was using version 1.4.7 until today and everything was alright.
Today I have updated library to 1.4.9. When my application starts, it crashes and in logcat I can see:
java.lang.AbstractMethodError: abstract method not implemented
            at com.loopj.android.http.AsyncHttpResponseHandler.onSuccess(AsyncHttpResponseHandler.java)
            at com.loopj.android.http.AsyncHttpResponseHandler.handleMessage(AsyncHttpResponseHandler.java:351)
            at com.loopj.android.http.AsyncHttpResponseHandler$ResponderHandler.handleMessage(AsyncHttpResponseHandler.java:510)
            at android.os.Handler.dispatchMessage(Handler.java:102)
            at android.os.Looper.loop(Looper.java:212)
            at android.app.ActivityThread.main(ActivityThread.java:5137)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:515)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:902)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:718)
            at dalvik.system.NativeStart.main(Native Method)

What could be the reason on this exception and how can I fix it?

And what exactly is confusing to you? The callback method changed and you haven't updated the overriding implementation.
Also If you've updated to 1.4.9-SNAPSHOT (release is not yet published), you need to replace the imports with new package name of httpclient, see the https://github.com/loopj/android-async-http/issues/830#issuecomment-139798197
What IDE do you use that you don't see sub-classing, type errors before compilation?

I'm using Android Studio (last version), so I am a little suprised that I don't have any warnings/errors.
I've replaced imports with new package name of httpclient.

I'm sorry, I've misread the stacktrace first time, it's strange that the error seems to be in library itself.
Could you please try reinstall the application (meaning uninstall the app first before installing it again), so we can strike out possibility this is related to Dalvik/Art op-code cache?

I've uninstalled an application, rebuild whole project and installed an application ones again. There is the same error. I've compiled your sample and everything works, so I don't understand why in my project a library doesn't work.
After updating to 1.4.9-SNAPSHOT I have to use jumboMode in my project. Do you thing it could be connected in some way?

jumboMode shouldn't be necessary, but yes, that could be relevant.
do you use Proguard (minifyEnabled, ...) ? If so, could you please put up your rules for the library?

I've solved the problem. My application uses a library (call it LibA). LibA uses your library but in 1.4.6 version. Sorry for creating that issue, but in LogCat it looked like there is some kind on bug in 1.4.9-SNAPSHOT. Thank you.

Great to hear that, I think proper solution would be to change namespace of classes in planned 1.5.0 release, so this clash is visible on first-sight. Is LibA your custom or something public, where I could lead discussion with developers?
Also, if you do use Maven dependency management, this should be solved on Maven level, where it would prefer newer version of library or you could directly exclude older versions of library through it.
And last thing, I'm surprised that AS won't notice (or Gradle/JDK won't notice) that you're using two different implementations of same named class in same package.

LibA is my library. It was created as a proof of concept so Maven was no used. After a while it was used in main application and I just forgot to finish my code - by finish I mean clean my code etc.

Cool, so I'm closing the issue, and thank you for using this library!


Allow for a catch-all page for compiler/sdk error messages

Issue description
Currently compiler/SDK error pages do not have a 'catch-all' route, where errors and diagnostics that don't currently have a page can route to. This page could be a call to action to contribute, or just a general 'sorry, we don't have content for this yet' page.  Without this, tools that provide links to error pages, like IDEs or terminals, will generate links that 404, presenting a bad experience to the user. Examples of this situation would be:

SDK Errors
C# Errors
F# Errors

Therefore, I propose that a mechanism for creating such a catch-all page be established. The semantics might:

require a dedicated page for the page content
have a new top-level node in the toc.yml as a sibling to name and href, whose value would be the (relative) path to a catch-all template, and which would be invoked if this route path segment matched but none of the children of this route matched.

Target framework

[x] .NET Core
[x] .NET Framework
[x] .NET Standard

There is a catch all page for C# errors, but unfortunately it currently requires manual updates for new undocumented errors:
https://github.com/dotnet/docs/blob/main/docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md
It's in my mind for long to have a GitHub Action that does automated PRs to update f1_keywords from roslyn repo. But haven't yet got time to do that.

See https://github.com/dotnet/docs/pull/20069 for reference on how I did the manual update once before.

Thank you for the pointer, I'll take a look!

@Youssef1313 from what I can see this linked PR just updates the F1 keyword text, which requires using the query search url, correct? How stable is this query url, do you have any references to its API?  Right now given the way that F# tooling in VSCode works we're creating the literal url to the error code's doc page blindly, so something like this would be an improvement for us. I just want to make sure I'm making a change to something with a documented usage instead of just copy-pasting.

from what I can see this linked PR just updates the F1 keyword text, which requires using the query search url, correct?

Indeed. Roslyn uses the query url:
https://github.com/dotnet/roslyn/blob/fb4ac545a1f1f365e7df570637699d9085ea4f87/src/Compilers/CSharp/Portable/Errors/ErrorFacts.cs#L161-L164
Probably @kexugit, @OsmondJiang, and @junshi356 can help adding a new app id for F# and provide more info about how stable the query url.

Thanks for writing this @baronfel This is a really good idea.
#5410 also tracks related concerns for new(er) C# compiler warnings and errors.
I'd like to continue planning what we should do for these issues, and start working on that plan after .NET 6 ships (this November).

@Youssef1313 @baronfel  here is F1 doc: https://review.docs.microsoft.com/en-us/engineering/projects/docs-hosting/dhs-f1-query?branch=main
It's stable because it serves all F1 query requests from VS and other clients.
Which tool/application will this search url be used? If it's VS, can we just reuse the existing app id instead of creating new one?

My immediate use case for this would be for FSAutoComplete, an F# LSP that is used primarily from VS Code, though it's also used in emacs, vim, and other LSP-compatible editors.


gitea can not escape [[ ]] pair in markdown

Gitea version (or commit ref):
Git version: 1.4.2
Operating system: ubuntu 16.04
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[x ] Yes (provide example URL)
[ ] No
[ ] Not relevant

Log gist:

Description
I was tying to document a bash code snippet that contains [[ ... ]] and it will never show up after I saved it, not even with using ... or code , the [[ ]] pair just disappears

Same as #2168.

Duplicate of https://github.com/go-gitea/gitea/issues/2168


Required field with angular

How can I validate if the text editor is fill as a required field with angular?
Thanks!

It's duplicated with #22 . I want to it too, but it is need for supporting of summernote.


New error?

Calling GetWatchlistAsync() method but even others I get this error:
Could not find member 'tradeIdStr' on object of type 'AuctionInfo'. Path 'auctionInfo[0].tradeIdStr', line 1, position 1047.
Cheers

Take a look at this, will include the changes asap.

ok solved! thanks a lot


Merge dev changes to dist

Automated changes by create-pull-request GitHub action

Bypassing review as no code changes to package (forwarding Actions workflow changes.)


Revert "Chore: upgrade kind in tests, fix flaky test"

Reverts kubevela/kubevela#4105

the CI is too slow and more flaky after this PR merged, so revert it for now.


I don't see the upgrade tap

I am clicking around Billing and my products and I don't see the upgrade tab mentioned in this documentation.

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

ID: d3519dc1-b7fa-cb9f-d9d7-cc5831ddbd67
Version Independent ID: 18096313-720b-9f75-f9e0-6509b7dc8578
Content: Upgrade to a different business plan
Content Source: microsoft-365/commerce/subscriptions/upgrade-to-different-plan.md
Service: o365-administration
GitHub Login: @cmcatee-MSFT
Microsoft Alias: cmcatee

@edmiidz Thank you for your feedback. We have made changes to the document  via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/8168
Once you select the subscription, you will see the below options to choose from

Once the author approves, the changes will be live.
Thanks
Sri

@msbemba Thank you very much for the contribution and updating the documentation with PR. @edmiidz Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Add Dockerfile-runtime step for CUDA 8/9

This PR adds four steps to the Jenkins pipeline:

It will build a Dockerfile-runtime image for CUDA 8 & 9 with the latest bleed edge .whl file.
It will upload the above mentioned images as a .tar.gz files to S3.

Will also add a step for CUDA 9

The main idea here is to have a Dockerfile-runtime for bleeding edge always available. We can also do something for stable, which will only get update upon stable releases.

All looks good, merge!

@mmalohlava All sounds reasonable, although some improvements really only help if we had proper versioning.

@pseudotensor oki, let's change that

Ya, I will get to doing what dt does today later, but right now I'm working on xgb DAI related things.

Oki, i can help on monday (hope to finish custom metrics for h2o-3 during weekend).
We can even go simple way which we did for procsy: http://mr-0xc1:8080/view/H2OAI/job/procsy/job/master/

@navdeep-G Some key issue with S3.  S3 only checked once going to master, so hard to test.  Probably need to test on command line.
[Pipeline] sh
[h2o4gpu_master-C5X2X3XWTDU4EUPD74QCYXN4IG4GLHK5GBESSDCFPPEID4CNXQYA] Running shell script

echo 'Uploading artifacts: [groupId:ai/h2o, remoteArtifactBucket:s3://artifacts.h2o.ai/releases/bleeding-edge, keepPrivate:false, credentialsId:awsArtifactsUploader, updateLatest:true, isRelease:true, localArtifact:h2o4gpu-cuda9-runtime.tar.gz, artifactId:h2o4gpu, majorVersion:0.0, buildVersion:4]'
Uploading artifacts: [groupId:ai/h2o, remoteArtifactBucket:s3://artifacts.h2o.ai/releases/bleeding-edge, keepPrivate:false, credentialsId:awsArtifactsUploader, updateLatest:true, isRelease:true, localArtifact:h2o4gpu-cuda9-runtime.tar.gz, artifactId:h2o4gpu, majorVersion:0.0, buildVersion:4]
s3cmd --recursive --no-progres --access_key=**** --secret_key=**** put h2o4gpu-cuda9-runtime.tar.gz s3://artifacts.h2o.ai/releases/bleeding-edge/ai/h2o/h2o4gpu/0.0.4/
upload: 'h2o4gpu-cuda9-runtime.tar.gz' -> 's3://artifacts.h2o.ai/releases/bleeding-edge/ai/h2o/h2o4gpu/0.0.4/h2o4gpu-cuda9-runtime.tar.gz'<PHONE_NUMBER> bytes in 57.2 seconds, 17.92 MB/s) [1 of 1]
[Pipeline] echo
S3UP: h2o4gpu-cuda9-runtime.tar.gz --> s3://artifacts.h2o.ai/releases/bleeding-edge/ai/h2o/h2o4gpu/0.0.4/
[Pipeline] sh
[h2o4gpu_master-C5X2X3XWTDU4EUPD74QCYXN4IG4GLHK5GBESSDCFPPEID4CNXQYA] Running shell script
s3cmd --recursive --no-progress --access_key=**** --secret_key=**** put h2o4gpu-cuda9-runtime.tar.gz s3://artifacts.h2o.ai/releases/bleeding-edge/ai/h2o/h2o4gpu/0.0.latest/
upload: 'h2o4gpu-cuda9-runtime.tar.gz' -> 's3://artifacts.h2o.ai/releases/bleeding-edge/ai/h2o/h2o4gpu/0.0.latest/h2o4gpu-cuda9-runtime.tar.gz'<PHONE_NUMBER> bytes in 70.0 seconds, 14.65 MB/s) [1 of 1]
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] sh
[h2o4gpu_master-C5X2X3XWTDU4EUPD74QCYXN4IG4GLHK5GBESSDCFPPEID4CNXQYA] Running shell script
s3cmd setacl --acl-public s3://artifacts.h2o.ai/releases/bleeding-edge/ai/h2o/h2o4gpu/0.0.4/h2o4gpu-cuda9=-runtime.tar.gz
ERROR: S3 error: 404 (NoSuchKey): The specified key does not exist.
[Pipeline] }

Yep, this was due to a typo. Fixed it.


use weights as defined in dataset.yaml

I like the change overall. Left some comments wrt this code being able to run like before.

Also note we're still missing invalid_periods here. Leaving it up to you to decide whether to have a separate PR for that.

Sounds good, I wanted to make a quick draft of the overall concept. Since you agree with the change overall, I will go ahead and implement it!
The invalid_periods is addressed through cursor_outlier_segments: 0.0.

The invalid_periods is addressed through cursor_outlier_segments: 0.0.

It was only outliers that had weight 0. Invalid trials had weight 0.1


Publish on Homebrew?

I think it would be a cool option to provide the server as a package at brew.sh itself. Hosting the SpotifyAPIServer in a cloud, or using a shared instance is generally good for preventing token invalidation. I don't mind re-authenticating on every session though. I would really enjoy the option to host the SpotifyAPIServer locally from an official source that will be updated. The package should make use of the services API of Homebrew, so that it can be enabled/disabled at will. This would also require that environment variables can be read from a configuration file as well.
Could this be considered, please?

Hosting the SpotifyAPIServer in a cloud, or using a shared instance is generally good for preventing token invalidation.

Where/how the server is hosted should not affect whether or not the tokens become invalid. I don't understand what you're "preventing" based on how you host the server. I think you're making a mistake some how.
The access token expires after an hour, and the refresh token only becomes invalid after you exchange it for a new refresh token. The access token can also become invalid if you retrieve a new access token and try to use the old access token. This can happen if you have multiple different instances of the same application (e.g., multiple instances of Soft Player) accessing the same local storage of the access/refresh token.

I don't mind re-authenticating on every session though.

You should only ever need to open the authorization URL and approve the application once. After that, the access token can be refreshed as needed automatically in the background without any user input.

I would really enjoy the option to host the SpotifyAPIServer locally from an official source that will be updated.

Github is the official source of this package. I still do not understand the benefit of publishing on Homebrew. You can clone, configure, and run this server automatically with a script already. You can automate the process of injecting environment variables as well.

Thanks for the education on the token logic. For some reason I thought otherwise because I experienced a different behavior on another app. After using your server for 2 days, I'm happy to see that my session is still valid, despite sleeping etc.
That got me thinking about the necessity of having the server not embedded within SoftPlayer, wouldn't that make sense? You wouldn't need to host the server. Maybe you decided not to embed the server into SoftPlayer, because it be easier to setup for multiple devices?
I do agree on all points you made, but I still think it could be nicer by packaging software to a distribution platform such as Homebrew in general, solely for the auto updating and having less work on setting things up, in case the user doesn't want to use the version from the AppStore.
However, even when you reject my request, I'm grateful nonetheless.  This is open-source after all.

That got me thinking about the necessity of having the server not embedded within SoftPlayer, wouldn't that make sense? You wouldn't need to host the server. Maybe you decided not to embed the server into SoftPlayer, because it be easier to setup for multiple devices?

Soft Player uses this server for security purposes. This server can securely store your client secret, as opposed to it being exposed in the front-end application. And, this server encrypts the refresh token. See also here.
I could, however, add a compilation condition Soft Player that allows it to be used without a backend server.

I could, however, add a compilation condition Soft Player that allows it to be used without a backend server.

This would nail it. Surely, the SoftPlayer wouldn't be as light-weight, but it would be fully contained without any external dependencies.

Surely, the SoftPlayer wouldn't be as light-weight

It would be just as light-weight. Eliminating the server doesn't require adding more code to soft player. The security of the server derives from the fact that it is hosted on a server, where a malicious actor cannot access it.

I could, however, add a compilation condition to Soft Player that allows it to be used without a backend server.

Done in 43e5553.
Soft Player now supports user defaults for setting the authorization credentials as well.


Research Springboot

Research how springboot can be used in our web app.

https://spring.io/guides/tutorials/react-and-spring-data-rest/
Spring boot is a Java framework for building stand alone applications. Spring boot offers a REST API and you can use curl to retrieve data from Java backend in a JSON format. Below is sample code of JSON data retrieved using curl

The following is sample React code using the API to retrieve data. Properties (props) are values passed to a component that do not change (like parameters). States are data the component handles that can change. In this class, the state is the employees, which is populated with data retrieved from the server through the API call
client({method: 'GET', path: '/api/employees'}).done(response =>


A property can't be nullable and accept multiple data types

For instance, I have a nullable property that can be a String or a Number, but
@property {?String|Number}
Doesn't work, and neither does
@property {?String|?Number}
The documentation produces <optional> instead of <optional><nullable> in both cases

This works if you enclose the type union in parentheses and put the nullable operator outside of the parentheses:
/**
 * Foo function.
 * @param {?(string|number)} bar - The bar parameter.
 */
function foo(bar) {}


Break Change Notice in V5 Update

In v5 update, Protocol Buffer features would be newly added in.
By the way, as interface of protobuf functions are almost same with JSON related functions, I'll separate them into each namespace. So, when v5 update being released, main functions of typia would be refactored like below. Runtime validators are same with before, but JSON related functions would be placed into json namespace.
The v5 update would be released in this weekend (maybe Saturday).
// RUNTIME VALIDATORS
export function is<T>(input: unknown): input is T; // returns boolean
export function assert<T>(input: unknown): T; // throws TypeGuardError
export function validate<T>(input: unknown): IValidation<T>; // detailed

// JSON FUNCTIONS
export namespace json {
    export function application<T>(): IJsonApplication; // JSON schema
    export function assertParse<T>(input: string): T; // type safe parser
    export function assertStringify<T>(input: T): string; // safe and faster
}

// PROTOCOL BUFFER
export namespace protobuf {
    export function message<T>(): string; // Protocol Buffer message
    export function assertDecode<T>(buffer: Buffer): T; // safe decoder
    export function assertEncode<T>(input: T): Uint8Array; // safe encoder
}

// RANDOM GENERATOR
export function random<T>(g?: Partial<IRandomGenerator>): T;

Fully changed.


Exam mode: Misleading notification when updating grace period during exam

Describe the bug
When updating the grace period during the exam the change is not reflected in the notification.
To Reproduce

1 Instructor
1 Student

Instructor: Prepare an exam
Student: Participate in the exam
Instructor: Change the grace period time
Stuent: See an announcement that does not mention a change of the grace period

Expected behavior
The announcement should display the actual change, which is not the working time but the grace period.
Screenshots

Which version of Artemis are you seeing the problem on?
6.6.5
What browsers are you seeing the problem on?
Chrome
Additional context
No response
Relevant log output
No response

Is this a duplicate of #7380? Was this tested before #7382 got merged?

This was tested before #7382 got merged - however this is about a misleading notification when the grace period is changed.
Was the implementation changed in a way that mitigates this issue?


[rancher-compose] Interpolate Service Number Into Environment Variables

Think this has been asked before, and I can't find any documentation, only a few places where it's been denied.
I have an image that requires a hardcoded hostname in environment variables. I could specify these as three different services, but that defeats scaling. I would like one service defined that I can scale, but this requires that I have the scale index or hostname available
environment:
      - NEO4J_dbms_connector_bolt_advertised__address=hosts-neo4j-%%id%%:7687

This pull request for docker does something like that: https://github.com/docker/compose/pull/1131
Is there a variable I can use for this?

Moving this to a cli question  https://github.com/rancher/rancher/issues/10430


Get current location return is inconsistent with file interface

The position currently written by Seek(0, io.SeekCurrent) is zero at initialization, but slicewriteseek returns 2 after writing three bytes of data, and the standard file interface returns 3.
Here is a test code
package xutils

import (
	"io"
	"os"
	"testing"

	"github.com/corticph/slicewriteseek"
)

func TestWriteSeek(t *testing.T) {
	buffer := slicewriteseek.New()
	fileBuffer, err := os.Create("seek.test")
	if err != nil {
		panic(err)
	}
	position, err := buffer.Seek(0, io.SeekCurrent)
	if err != nil {
		panic(err)
	}
	filePosition, err := fileBuffer.Seek(0, io.SeekCurrent)
	if err != nil {
		panic(err)
	}
	if position != filePosition {
		t.Fatal("The current position is different at initialization:", position, filePosition)
	}
	buffer.Write([]byte{0, 1, 2})
	fileBuffer.Write([]byte{0, 1, 2})
	position, err = buffer.Seek(0, io.SeekCurrent)
	if err != nil {
		panic(err)
	}
	filePosition, err = fileBuffer.Seek(0, io.SeekCurrent)
	if err != nil {
		panic(err)
	}
	if position != filePosition {
		t.Fatal("The current position is different after writing:", position, filePosition)
	}
}

This PR : #3

Fixed by merging PR #3 :pray:


Added AnimationManager.destroyAnimations (#2787)

This PR changes (delete as applicable)

Documentation
TypeScript Defs
The public-facing API

Describe the changes below:
I added destroyAnimations to AnimationManager to facilitate clearing out animations from an AnimationManager. Would be useful to at least #2787, and makes sense to have this as an option, as it should also reduce confusion about what AnimationManager.destroy is actually for.

Thank you for your PR! Today I released Phaser CE (Community Edition). This is my way of opening up Phaser 2 to the community, allowing you to control features and updates directly. Please see the README in the v2-community folder of the repo for more details about this change.
If you could please re-submit your PR against the new Phaser CE version then I will merge it immediately :) Note that PRs now go against the master branch, and don't forget to add your change to the README too!


Versio 1.4.2 introduces "invalid memory address or nil pointer dereference" on fetch

When doing git lfs fetch with version 1.4.2 on Windows x64 I get:
Fetching master
&{0xc042044120} WARNING: Git LFS is using a deprecated API, which will be removed in v1.5.0.
&{0xc042044120}          Consider enabling the latest API by running: `git config lfs.batch true`.
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x0 pc=0x525a18]

goroutine 41 [running]:
panic(0x79e920, 0xc04200c0a0)
        c:/go/src/runtime/panic.go:500 +0x1af
github.com/github/git-lfs/lfs.(*TransferQueue).individualApiRoutine(0xc042200000, 0xc0423738c0)
        c:/go/src/github.com/github/git-lfs/lfs/transfer_queue.go:341 +0xe8
created by github.com/github/git-lfs/lfs.(*TransferQueue).launchIndividualApiRoutines.func1
        c:/go/src/github.com/github/git-lfs/lfs/transfer_queue.go:515 +0x72

with version 1.4.1 everything is fine. So my guess one of these introduced this:
$ git log v1.4.2 --not v1.4.1  -- lfs/transfer_queue.go
commit 6c0b9373ee7490ab0453e7f1fb65ea1743ec0a90
Author: Taylor Blau<EMAIL_ADDRESS>Date:   Mon Oct 10 15:57:12 2016 -0600

    lfs/tq: send error before terminating object

    Previously, decrementing the surrounding `sync.WaitGroup` allowed the
    `q.errorc` channel to be closed before this send could occur. This racy
    behavior introduced a send-on-closed-channel panic, which is fixed in this
    commit.

commit b5cba63f36656a75624b1cee4d1fdaf7525f4060
Author: Taylor Blau<EMAIL_ADDRESS>Date:   Wed Sep 28 12:25:37 2016 -0600

    lfs/tq: extract `RetryCounter`

commit 4b194496c15d584820ceaf40524f2492b53782da
Author: Taylor Blau<EMAIL_ADDRESS>Date:   Wed Sep 21 17:38:32 2016 -0600

    lfs/transfer_queue: remove debug stmt

commit 9b1bd0471c061c306c07f18ed48dd80e895f8d32
Author: Taylor Blau<EMAIL_ADDRESS>Date:   Wed Sep 21 13:46:34 2016 -0600

    lfs/transfer_queue: support multiple retries per object

@ttaylorr Mind having a look?

Maybe we need to check obj for nil here, too?

You're absolutely correct. I'll patch this today.

Any idea why none of the tests catched this, and/or mind adding a tests accordingly?


unpin array-api-strict as issues are resolved upstream

With array-api-strict v2.1.3 issues are resolved.
Needs https://github.com/conda-forge/array-api-strict-feedstock/pull/16 before merge.

[x] Closes #9750

Thanks!


This project is incompatible with Python < 3.11

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
This project is incompatible with Python 3.11, as reported at https://github.com/nichmor/rattler-build-conda-compat/issues/19, this results in issues downstream for conda-forge feedstock builds:
+ setup_conda_rc ./ ./recipe ./.ci_support/osx_64_.yaml

Setting up the condarc and mangling the compiler.
Traceback (most recent call last):
  File "/Users/runner/miniforge3/bin/setup_conda_rc", line 7, in <module>
    from conda_forge_ci_setup.build_utils import setup_conda_rc
  File "/Users/runner/miniforge3/lib/python3.10/site-packages/conda_forge_ci_setup/build_utils.py", line 15, in <module>
    from conda_forge_ci_setup.upload_or_check_non_existence import retry_upload_or_check
  File "/Users/runner/miniforge3/lib/python3.10/site-packages/conda_forge_ci_setup/upload_or_check_non_existence.py", line 18, in <module>
    import rattler_build_conda_compat.render
  File "/Users/runner/miniforge3/lib/python3.10/site-packages/rattler_build_conda_compat/render.py", line 23, in <module>
    from rattler_build_conda_compat.loader import parse_recipe_config_file
  File "/Users/runner/miniforge3/lib/python3.10/site-packages/rattler_build_conda_compat/loader.py", line 4, in <module>
    from typing import TYPE_CHECKING, Any, Iterator, Self
ImportError: cannot import name 'Self' from 'typing' (/Users/runner/miniforge3/lib/python3.10/typing.py)

Can the feedstock bump itself to require python >=3.11 (at least at runtime).
See, e.g: https://github.com/conda-forge/lalburst-feedstock/runs/27616146302
Installed packages
-

Environment info
-

Sorry for the inconvenience! We fixed the issue upstream and are in the process of releasing.

The broken version has been marked as broken we will release a new version today (#16 ) where this issue is resolved and has tests in place to ensure it keeps working..

v0.2.1 has been released which fixes this issue.


cFS Bundle Integration candidate: Documentation, 2021-09-10

Checklist (Please check before submitting)

[x] I reviewed the Contributing Guide.
[x] I signed and emailed the appropriate Contributor License agreement to<EMAIL_ADDRESS>and copied<EMAIL_ADDRESS>
Describe the contribution
Combines the following documentation PRs:

nasa/cFE#1915

nasa/osal#1137

nasa/psp#300

nasa/ci_lab#89

nasa/sample_app#151

nasa/sch_lab#84

nasa/to_lab#101

nasa/sample_lib#65

nasa/elf2cfetbl#82

nasa/tblCRCTool#53

Testing performed
CI
Expected behavior changes
None
System(s) tested on
Ubuntu, RTEMS
Additional context
Documentation updates
Code contributions
The cFS repository is provided to bundle the cFS Framework.  It is utilized for bundling submodules, continuous integration testing, and version management and does not contain any software.  Code contributions should be directed to the appropriate submodule.
Contributor Info - All information REQUIRED for consideration of pull request
@thnkslprpt

Merge conflicts resolved and tested in https://github.com/astrogeco/cFE/commit/74d5c286259e984fa20123ebaefedeae01873d25


Changing position of control elements from lower right to uper left corner

Hi thanks for the awesome library,
I have seen to the custom control demo, but I was wondering whether there is an easy way to change the position of the original controls (in my case from the lower right to the upper left corner). It's helpful when there is free space in an area of the image. Adding the functionality to the code might break something, but if there was a simple part of the code I (and anyone who also needs this and reads this issue) could change to switch the position, that would probably be enough for most people.
Thanks in advance :)

Hi,
No, there is no way to configure that.
The recommended way is to use custom controls (the one you mentioned) and position them as you need.
Or you could change the source code of the library and alter the controls, but it means you'll have to do it for every update (so I don't recommend that).


🚀 FEAT: Script for 0.1 --> 1.0

As a user of old project card formats, I'd like a script that formats old ones to the new format

Fixed in #14


Fix #59: sirepo compat test

Tests elements and pulse to see if they are compatable with sirepo silas master branch

Looks like only test failing is the compatibility test

One test is failing for me, tests/pulse_test.py::test_sirepo_compatability FAILED
It looks like this branch was created prior to the most recent PR, merged yesterday.
The signature for the Drift and other classes has changed, so there will likely be some problems when this PR is merged.

That is the test that checks compatibility with what is on sirepo master. The references Drift Lens etc are what sirepo master will generate. So the test failure indicates that what is on rlsaser rn will break sirepo. Which is the case (working on fixing it currently). So it's good that that test is failing. Sorry if I didn't specify in PR

sirepo PR where I fixed to reflect new rslaser API

OK, fixes were merged in sirepo, so I am updating the test to reflect sirepo master

@bruhwiler test is passing, showing that sirepo master is consistent with latest rslaser


Release v3.0.0

This major release adds Control Barrier Functions developed by @domrachev03 and @simeon-ned :+1: Examples of what we can do with barriers include:

Arm: UR5: with joints and end effector limits
Quadruped: Go2: Go 2 squatting with floating base position limits
Dual Arms: Yumi: self-collision avoidance with spheres
Dual Arms: Iiwa: whole-body self-collision avoidance

https://github.com/domrachev03/pink/assets/28687492/d64163b6-399f-4bbf-ac50-1135fa69c2da
Another API-breaking change to the library is that limits are now optional and can be extended (for instance with the new acceleration limit) or disabled. New limits and tasks include:

Limit: AccelerationLimit
Task: ComTask for center-of-mass tracking (thanks to @simeon-ned)
Task: LowAccelerationTask for smoother velocities.

Check out the full changelog below for other changes and fixes. May the Motion be with you!
Added

Breaking: Updated the logic for handling the joint limits:

Add a limits argument to build_ik and solve_ik
The check_limits method now includes an optional safety_break argument to control whether execution should stop on exception.
The solve_ik function now includes the safety_break that is forwarded to check_limits.

Control Barrier Functions, namely: (thanks to @domrachev03 and @simeon-ned)

Abstract Barrier Barrier
Frame Position Barrier PositionBarrier
Body Spherical Barrier BodySphericalBarrier
Whole-body Self-Collision Avoidance Barrier SelfCollisionBarrier

Example: UR5 manipulator and GO2 quadruped robot with PositionBarrier
Example: YUMI two-armed manipulator with BodySphericalBarrier
Example: G1 humanoid squatting through regulating CoM.
Limit: AccelerationLimit
Task: ComTask for center-of-mass tracking (thanks to @simeon-ned)
Task: LowAccelerationTask for smoother velocities.

Changed

Breaking: remove lm_damping parameter from DampingTask where it wasn't used
CICD: Update ruff to 0.4.3
Configuration accepts list of Control Barrier Functions
DampingTask: Simplify implementation
Update to Pinocchio 3 with 2.7 backward compatibility

Fixed

PostureTask: Match implementation and documentation formula
Fix broken documentation links

Removed

CICD: Disable macOS checks until upstream PyPI package is fixed

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.088%

Totals

Change from base Build<PHONE_NUMBER>6:
0.0%

Covered Lines:
1956

Relevant Lines:
1974

💛  - Coveralls

@domrachev03 and @simeon-ned: I've drafted the release message for Pink 3.0.0 in the PR description above :point_up_2: Don't hesitate to make suggestions. Once it sounds good to you, let's hit release and unroll the new version to conda-forge and PyPI :smiley:

Hello @stephane-caron,
I'm glad to see the new release! It was indeed a great experience contributing to PINK. Everything looks great on my end, with just one suggestion: it would be beneficial to add a hyperlink to the CoM example. Additionally, I might include the CoM task video in the examples README.
Best regards

Hello @stephane-caron,
I am excited to see a new release too, and have no any extra suggestions on top of @simeon-ned ones. Waiting for the moment when self-collision barriers could be installed from PyPI :tada:
Looking forward to continue working on other features/projects together!

Thank you both for your feedback.

it would be beneficial to add a hyperlink to the CoM example.

Done :+1:

Additionally, I might include the CoM task video in the examples README.

Sounds good. Feel free to do it in a quick PR, then I will rebase this PR on it and do the release.


Add article and articles to OwnerType

Used for follow/unfollow events in Force.

:rocket: PR was released in v1.32.0 :rocket:


Fix and refactoring for Wires resize example.

For more details see: https://github.com/ahome-it/lienzo-ks/issues/15

+1


Added reference to CI/CD Documentation

Added reference to CI/CD Documentation

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

Thank you for your contribution to ADF documentation, and adding the reference to CI/CD documentation.

#sign-off

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

Changed to a more direct relative link because the target article is in the same repository as this one.

#sign-off

#sign-off


Datasearch: Allow exclusion of multiple gens

/ds all, !gen6, !gen3 will return all Pokémon not in gen 3 or 6.
/ds all, !gen6, gen3 will return all Pokémon in gen 3 (like in the old code).
/ds all, gen3, gen5 will return the message a pokémon can't have multiple gens
Also makes /ds maxgen[n] work with the "all" parameter, because it didn't before and it probably should

Does this really let you do that?

Yes

I don't understand how this code works, can you or someone else involved in Dexsearch explain?

Sure thing Zarel.
I don't know how familiar you are with the code so I'll go pretty detailed on this.
Line 316
if (target.charAt(0) === '!') {
	isNotSearch = true;

Line 416
orGroup.gens[targetInt] = !isNotSearch; // Note: targetInt is the target generation

isNotSearch is the parameter that says if the value should be excluded (/ds !gen5)
searches is an array of type orGroup (which I assume is just a JS object)
the orGroup.gens array has the value !isNotSearch for the corresponding gen
for (const group of searches) {
	if (group[cat] === undefined) continue;
	if (group[cat][param] === undefined) {
		if (uniqueTraits.includes(cat)) {
			for (let currentParam in group[cat]) {
				if (group[cat][currentParam] !== isNotSearch && !isNotSearch) return `A Pokémon cannot have multiple ${cat}.`;
			}
		}
		continue;
	}

group is just the aforementioned orGroup
group[cat] would be the array of values for the gens
group[cat][param] and group[cat][currentParam] are values (true/false) for the specified gen
Now group[cat][currentParam] !== isNotSearch because group[cat][currentParam] is an inverted isNotSearch (as seen on line 416) it checks for inequality. if the two aren't equal that means they're either both including a gen (/ds gen5, gen6) or both excluding a gen (/ds !gen5, !gen6).
In order to only return the error reply when they're both inclusive and not exclusive, I added a check for !isNotSearch. If the param starts with ! then isNotSearch === true, so !isNotSeach is false and the errorreply will not be returned.
For the other fix:
if (showAll && searches.length === 0 && megaSearch === null && !maxGen) return {reply: "No search parameters other than 'all' were found....
By adding && !maxGen if a maxGen parameter exists, then the condition won't pass and the code won't return "No search parameters other than 'all' were found....".

Wow, apparently Dexsearch is structured really complicatedly...

I have ideas for refactoring Dexsearch as a whole, but this is probably a good change for now.


Entity id needs to include "_saml" for successful authentication

While configuring entity id on the connected app -  authentication was successful only after I appended "_saml" at the end of the service provider link. This may either need an update to the Salesforce documentation on external identity or a fix to work with the steps provided in the documentation.

The instructions page on the application clearly says that this needs to be done. @cmortimore : Probably the external identity documentation needs an update?


[action] swiftlint: Add missing env_names

🔑

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
The swiftlint action was missing the env_name property from its configuration items.
Description
This change adds the missing keys with the FL_SWIFTLINT_KEY_NAME format.
Testing Steps
The change uses already well-tested functionality of Fastlane. Nevertheless I ran the swiftlint action against my local version of fastlane, with ENV values set.

@tthbalazs Can you accept the CLA? 😊

@googlebot I signed it!

@joshdholtz Signed. Sorry, I was checking if we want a corporate agreement as well :)

@tthbalazs Not a problem! Just wanted to make sure your PR got merged in 😊


lude\linux/types.h:21:10: fatal error: 'asm/types.h' file not found

Updating the latest version makes it unusable
ndk version 15.2.4203891
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':externalNativeBuildDebug'.

Build command failed.
Error while executing process F:\Sdk\cmake\3.6.3155560\bin\cmake.exe with arguments {--build F:\luozheng\redpackageluck.externalNativeBuild\cmake\debug\armeabi-v7a --target qssq666x}
[1/2] Building CXX object src/main/cpp/two/CMakeFiles/qssq666x.dir//qssq666x.cpp.o
FAILED: F:\Sdk\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe  --target=armv7-none-linux-androideabi --gcc-toolchain=F:/Sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64 --sysroot=F:/Sdk/ndk-bundle/sysroot  -Dqssq666x_EXPORTS -isystem F:/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem F:/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -isystem F:/Sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -Wno-error=format-security -Wno-error=pointer-sign -O0 -fno-limit-debug-info  -fPIC -MD -MT src/main/cpp/two/CMakeFiles/qssq666x.dir//qssq666x.cpp.o -MF src\main\cpp\two\CMakeFiles\qssq666x.dir__\qssq666x.cpp.o.d -o src/main/cpp/two/CMakeFiles/qssq666x.dir/__/qssq666x.cpp.o -c F:\luozheng\redpackageluck\src\main\cpp\qssq666x.cpp
In file included from F:\luozheng\redpackageluck\src\main\cpp\qssq666x.cpp:2:
In file included from F:/Sdk/ndk-bundle/sysroot/usr/include\stdio.h:42:
In file included from F:/Sdk/ndk-bundle/sysroot/usr/include\sys/types.h:36:
F:/Sdk/ndk-bundle/sysroot/usr/include\linux/types.h:21:10: fatal error: 'asm/types.h' file not found
#include <asm/types.h>
^~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.

this could not be: this got to be deeply inside NDK's compiler toolchain.  I will load try it out on my windows later today ( it is crazy week for this week for me) to have a look ( I really think this error is something else, not possible to be toolchain thing)

Indeed, the toolchain version, I upgraded to V14, it seems that the problem does not appear, in addition, Android studio 3 must let me use toolchain 15, but can not download

I hava encountered the same problem.

+@DanAlbert
I built a sample with android studio 3.0, I did see that I could not debug, but I could run ( so put that problem aside first and address it differently ).  I am using:
Pkg.Revision = 15.2.4203891
How could I see the build failures you saw?

That compilation command is incorrect. It's not including the arch specific includes.
@crazies @CubeFeng: Are you using the CMake provided with the SDK? Are you using the NDK's CMake toolchain file? Are you building this sample exactly as it exists in the repository, or has it been modified?

Just to follow-up: r16 beta2 is released, could you help to see if the problem goes away?
Another help is to try with deprecated headers in your NDK 15 by enabling those deprecated header macros in your build(this makes is close to r14) -- if that works, it narrows the guess.
If you are already using deprecated headers and saw the problem, but with unified headers could build fine, then it is a different issue.  Than you for helping!

closing down it for now, feel free to update or email for any thing we could help


[Bug]: Unable to migrate to Go version of Fabric

What happened?
I was migrating to the new Go version. I first did pipx uninstall fabric, no errors it said fabric was uninstalled. Next ran go install github.com/danielmiessler/fabric@latest with no errors. Ran fabric --setup and received: fabric: command not found. I can see the bin file for fabric.
Version check

[X] Yes I was.

  Is it an Apple Arm issue? Im on M1 and having the same problem

Ok for whatever reason, fabric is installed into ~/go/bin/fabric on my system instead of I think the default ~/.local/bin/fabric
So check that folder and then add to PATH
export PATH=".:$PATH:/Users/USERNAME/go/bin"

same issue here

Ok for whatever reason, fabric is installed into ~/go/bin/fabric on my system instead of I think the default ~/.local/bin/fabric
So check that folder and then add to PATH
export PATH="$PATH:/home/USERNAME/go/bin"

This seems to work, thank you!

Were you able to get the YouTube transcript installed as part of the Go install? I had the same path issue, but I am not seeing the yt transcript downloader being installed.

Also to add it to your .zshrc file so it always adds to PATH you can run
echo 'export PATH=".:$PATH:/Users/USERNAME/go/bin"' >> ~/.zshrc

Oh my gosh that’s a doh moment on my part, I even said I could see the bin file but didn’t connect the dots till now. I’ll try this first thing and see how it goes but I expect it will work
 Respectfully,

Kellen Munden

From: otnl @.>
Sent: Friday, August 16, 2024 7:26:59 PM
To: danielmiessler/fabric @.>
Cc: DrkPh0enix @.>; Author @.>
Subject: Re: [danielmiessler/fabric] [Bug]: Unable to migrate to Go version of Fabric (Issue #814)
Ok for whatever reason, fabric is installed into ~/go/bin/fabric on my system instead of I think the default ~/.local/bin/fabric
So check that folder and then add to PATH
export PATH=".:$PATH:/Users/USERNAME/go/bin"
—
Reply to this email directly, view it on GitHubhttps://github.com/danielmiessler/fabric/issues/814#issuecomment-2294555013, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDFAAOHLQ25AQGEDFHEJOB3ZR2YHHAVCNFSM6AAAAABMU6XV72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJUGU2TKMBRGM.
You are receiving this because you authored the thread.Message ID: @.***>

I have also migrated to the Go version and I am able to run the program now and do the initial setup. The yt helper command is no longer available. During setup I was also not asked to provide my YouTube API key.
Any plans of making that tool also available in the new version?

Yt is now its own repo. Also in go https://github.com/danielmiessler/yt

Ok for whatever reason, fabric is installed into ~/go/bin/fabric on my system instead of I think the default ~/.local/bin/fabric
So check that folder and then add to PATH
export PATH=".:$PATH:/Users/USERNAME/go/bin"

This worked, thank you @otnl :)


Fix appveyor badge.

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

Thanks!


Active or inactive

Hi. First of all, nice project & good idea.
Is this project active or inactive? I'm asking, because last issues or PRs (closed) are from about 2017, and few others (open) are from 2016/2018.
Best wishes :hand:

Looks inactive (see the dates), closed.


Markdown it prezi [OSF-5691]

Purpose

Currently, users can add youtube, vimeo, and vine videos to wiki pages. However, some users would like to be able to embed Prezis into wiki pages.
Changes

-Creates a new npm package called markdown-it-prezi that is based off of markdown-it-video, the plugin used for embedding youtube, vimeo and vine videos into wiki pages.
-markdown-it-prezi creates a new markdown-it renderer rule, allowing it to be used along with markdown-it-video.
-Prezis can be embedded using the url or Prezi ID:
@[prezi](https://prezi.com/1kkxdtlp4241/valentines-day/)
or
@[prezi](1kkxdtlp4241)

-npm package needs to be installed into node_modules:
npm install markdown-it-prezi
Side effects

Sanitization: I passed the user input through md.utils.escapeHtml. I believe this will sanitize all input, preventing users from adding HTML or scripts to the wiki page.

Ticket

https://openscience.atlassian.net/browse/OSF-5691

I've been chatting with @sloria and let's make this more generic. Fork off of markdown-it-video and call it markdown-it-embeds. Keep all of the video things, but also add in your prezi stuff. We will eventually deprecate markdown-it-video in favor of embeds.


Resolves on promise rejection

I'm not sure if this is expected behaviour or not.
I'm trying to get asyncConnect to catch promise rejections. With the below implementation it still seems to pass and not be caught.
Any help would be much appreciated.
@asyncConnect[{
    promise: () => {
        let promises = [];

        promises.push(Promise.reject());

        return Promise.all(promises);
    }
}]);

loadOnServer({ ...renderProps, store })
.then(() => {
    // Container to render
    const container = (
        <Provider store={store}>
            <ReduxAsyncConnect {...renderProps} />
        </Provider>
    );

    // Document to render
    const HTML = renderToStaticMarkup(
        <Root component={container} store={store} />
    );

    // Respond
    return response.status(200)
        .send('<!doctype html>\n' + HTML);
})
.catch(error => {
    return response.status(500)
        .send('Something went really bad :\'(');
});

promise rejections are always caught and appropriate action is dispatched. Please refer to codebase for more samples. Its your responsibility to inspect state and handle errors

@AVVS Really appreciate the fast response on my issues.
I'll take look at the samples again and apply some error handling that I can read from the state before rendering to the server.
Cheers!


Instant preview when set the position

I like this idea. Showing a keyboard chord in the position would be really nice.


Allow text-selection, but not copying, when enablePermissions is set (PR 16320 follow-up)

This implements part of https://github.com/mozilla/pdf.js/pull/16320#issuecomment-1514690567, however any UI-integration is ignored for now since as mentioned in https://github.com/mozilla/pdf.js/pull/16320#issuecomment-1514711525 that'd really benefit from UX feedback.

/botio integrationtest

/botio-linux preview

/botio integrationtest


I made an automatic installer for Raspbian

I wanted to install the bot on my Raspberry Pi and saw that the installation process is relatively long and requires some typing, so I thought it would be easier for users to have a bash script that automates the process. If you like it, you could include it into the wiki page.

Nice job!

Added the script to the wiki page, thanks.


[Feature]: OCR Support for Non-Selectable Text in PDF Documents

Is the feature relevant to the Firefox PDF Viewer?
No
Feature description
I couldn't find a current implementation or any updates on OCR (Optical Character Recognition) support for documents with non-selectable text in pdf.js. I came across some old issues discussing the topic, but there hasn't been a clear follow-up.
Could you provide an update on whether there are plans to include OCR support for scanned documents or image-based PDFs in pdf.js? This feature would be highly valuable for making non-selectable text searchable and accessible.
Thank you!
Other PDF viewers
No response

Duplicate of #15843


enhance: add .DS_Store ignore

Ⅰ. Describe what this PR did
Add .DS_Store file ignore pattern in .gitignore to prevent contributor commit these files.
Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #1724 into master will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #1724      +/-   ##
=========================================
- Coverage   41.26%   41.2%   -0.06%
=========================================
  Files         274     274
  Lines       18123   18123
=========================================
- Hits         7478    7468      -10
- Misses       9733    9740       +7
- Partials      912     915       +3

Impacted Files
Coverage Δ

apis/server/server.go
43.37% <0%> (-4.82%)
:arrow_down:

ctrd/image.go
75.27% <0%> (-2.2%)
:arrow_down:

daemon/logger/jsonfile/utils.go
71.54% <0%> (-1.63%)
:arrow_down:


puppet: Log the "Host" header and total response time.

Logging Host is useful for determining access patterns to realms,
especially if ROOT_DOMAIN_LANDING_PAGE is set.  Total response time is
useful in debugging access and performance patterns.

Merged, thanks @alexmv!


Add support for RFC 4387

Add module and test for RFC 4387.

Codecov Report

Merging #109 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #109      +/-   ##
==========================================
+ Coverage   99.39%   99.39%   +<.01%
==========================================
  Files         100      101       +1
  Lines        6288     6292       +4
==========================================
+ Hits         6250     6254       +4
  Misses         38       38

Impacted Files
Coverage Δ

pyasn1_modules/rfc4387.py
100% <100%> (ø)

Continue to review full report at Codecov.

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

Thank you!


Feature enhancement : subsampling the answer space

Dear Rick, dear community. I come here with a proposal of feature / enhancement.
Please note that there might already be a way (maybe with your lib or with "plain" prolog), that I may have missed, because I am fairly new to Prolog.
Here is a small example concerning the link between cartesian 2d coordinates, and its representation in circular coordinates.
%SWI-Prolog (threaded, 64 bits, version 9.1.10)
:- use_module(library(clpBNR)). %documentation at : https://ridgeworks.github.io/clpBNR/CLP_BNR_Guide/CLP_BNR_Guide.html

cartesian_circular(X, Y, R, Theta):-
    [X, Y, R]::real(-1.0e+16, 1.0e+16),
    [Theta]::real(-pi, pi),
    {
        X == R * cos(Theta),
        Y == R * sin(Theta)
    }.

test1_(R, Theta):-
    X::real(-50.0, -5.0),
    Y::real(1.0, 20.0),
    cartesian_circular(X, Y, R, Theta),
    solve([R, Theta]).

    %answers :
    %R::real(-53.851650867757314, -5.099019332794144),
    %Theta::real(-1.3258177199522887, -0.019997279208893784) ;
    %R::real(5.099019290218574, 53.85164889904919),
    %Theta::real(1.8157749415368631, 3.121595456378679) ;

This is nice, but, how to I get a list of valid answers ?
My wish / idea would be ask for "automated" subsampling of the answer space (subsambling of the "inputs", "outputs" and both ).
Bellow, some examples with comments :

expected_feature_subsampling_1_1(R, Theta):-
    %Here, the expected feature would be to subssample the answer set based on a subsampling of the "INPUTS".
    %Practically, in this example, this would be "get the R,T coords of a grid of points in a rectangle between xmin, xmax, ymin, ymax"

    %idea 1 : using an absolute subsampling step
    X::real(-50.0, -5.0),
    Y::real(1.0, 20.0),
    cartesian_circular(X, Y, R, Theta),
    %subsample_absolute_step(X, 5.0), % this would be like [-50.0, -45.0, -40.0, .. -10.0, -5.0]
    %subsample_absolute_step(Y, 2.0), % this would be like [1.0, 3.0, 5.0, .. 15.0, 17.0, 19.0, 20.0] <- yes, I think this is good to keep the extrem values, even if this does not match the abs step.
    solve([R, Theta]).

expected_feature_subsampling_1_2(R, Theta):-
    %idea 2 : using a relative subsampling step (a ratio)
    X::real(-50.0, -5.0),
    Y::real(1.0, 20.0),
    cartesian_circular(X, Y, R, Theta),
    %subsample_relative_step(X, 0.1), %i.e. 10% relative : (-5.0 - (-50.0)) * 0.1 = 45.0 * 0.1 = 4.5 of absolute step (see subsample_absolute_step)
    %subsample_relative_step(Y, 0.1), %i.e. 10% relative : (20.0 - 1.0) * 0.1 = 19.0  * 0.1 = 1.9 of absolute step (see subsample_absolute_step)
    solve([R, Theta]).

expected_feature_subsampling_1_3(R, Theta):-
    %idea 3 : give the number of samples wanted
    X::real(-50.0, -5.0),
    Y::real(1.0, 20.0),
    cartesian_circular(X, Y, R, Theta),
    %subsample_nb_elems(X, 15), %15 subsampled elements, and we keep the extremums (min and max of interval)
    %subsample_nb_elems(Y, 10), %10 subsampled elements, and we keep the extremums (min and max of interval)
    solve([R, Theta]).

expected_feature_subsampling_2_1(R, Theta):-
    %Here, the expected feature would be to subssample the answer set based on a subsampling of the "OUTPUTS".
    %Practically, in this example, this would be "get the R,T coords in a rectangle between xmin, xmax, ymin, ymax, and subsample the output space R,T"

    %idea 1 : using an absolute subsampling step
    X::real(-50.0, -5.0),
    Y::real(1.0, 20.0),
    cartesian_circular(X, Y, R, Theta),
    %subsample_absolute_step(R, 5.0), % same idea as examples expected_feature_subsampling_1 (but on "outputs")
    %subsample_absolute_step(Theta, pi/10.0), % same idea as examples expected_feature_subsampling_1 (but on "outputs")
    solve([R, Theta]).

expected_feature_subsampling_2_2(R, Theta):-
    %idea 2 : using a relative subsampling step (a ratio)
    X::real(-50.0, -5.0),
    Y::real(1.0, 20.0),
    cartesian_circular(X, Y, R, Theta),
    %subsample_relative_step(X, 0.1), % same idea as examples expected_feature_subsampling_1 (but on "outputs")
    %subsample_relative_step(Theta, 0.1), % same idea as examples expected_feature_subsampling_1 (but on "outputs")
    solve([R, Theta]).

expected_feature_subsampling_2_3(R, Theta):-
    %idea 3 : give the number of samples wanted
    X::real(-50.0, -5.0),
    Y::real(1.0, 20.0),
    cartesian_circular(X, Y, R, Theta),
    %subsample_nb_elems(R, 15), % same idea as examples expected_feature_subsampling_1 (but on "outputs")
    %subsample_nb_elems(Theta, 10), % same idea as examples expected_feature_subsampling_1 (but on "outputs")
    solve([R, Theta]).

expected_feature_subsampling_3_1(R, Theta):-
    %Here, the expected feature would be to subssample the answer set based on a subsampling of variables, whatever if they are "inputs" or "ouputs"
    %Here, this would be very nice that the lib "tries its best" when the subsampling is no longer feasible, because previous subsampling already reduced the space.

    X::real(-50.0, -5.0),
    Y::real(1.0, 20.0),
    cartesian_circular(X, Y, R, Theta),
    %subsample_nb_elems(X, 15), %15 subsampled elements, and we keep the extremums (min and max of interval)
    %subsample_nb_elems(Theta, 10), %10 subsampled elements, and we keep the extremums (min and max of interval)
    solve([R, Theta]).

expected_feature_subsampling_3_2(R, Theta):-
    %Here, this would be very nice that the lib "tries its best" when the subsampling is no longer feasible, because previous subsampling already reduced the space.

    X::real(-50.0, -5.0),
    Y::real(1.0, 20.0),
    cartesian_circular(X, Y, R, Theta),
    %subsample_nb_elems(X, 15), %15 subsampled elements, and we keep the extremums (min and max of interval)
    %subsample_absolute_step(Theta, pi/10.0), % Here, this would be very nice that the lib tries its best
    solve([R, Theta]).

expected_feature_subsampling_3_3(R, Theta):-
    %Here, this would be very nice that the lib "tries its best" when the subsampling is no longer feasible, because previous subsampling already reduced the space.

    X::real(-50.0, -5.0),
    Y::real(1.0, 20.0),
    cartesian_circular(X, Y, R, Theta),
    %subsample_nb_elems(X, 15), %15 subsampled elements, and we keep the extremums (min and max of interval)
    %subsample_absolute_step(Theta, pi/10.0), % Here, this would be very nice that the lib tries its best
    %subsample_absolute_step(Y, 2.0), %here, I am not even sure this is feasible / compatible with the other subsamplings. But this would be nice if the lib tries to do it (if feasible) or simply don't subsample any more.

    solve([R, Theta]).

Thanks in advance.

In general terms constraints aren't answers, they just constrain answers. So I think you pretty much just have to write the sampling predicates shown in your examples. Here's one for subsample_absolute_step:
subsample_absolute_step(X,X,_U,_Step).    % X=L
subsample_absolute_step(X,L,U,Step) :-    % or bump L and retry
	NxtL is L+Step,
	NxtL =< U,                            % fail if NxtL > U
	subsample_absolute_step(X,NxtL,U,Step).

Note this this works even if X isn't a constrained variable. Also note that if the unification in the head of the first clause fails due to a constraint violation, no answer is produced and the alternative clause (bumping L) is tried. A test predicate:
test2_(X, Y, R, Theta) :-
	cartesian_circular(X, Y, R, Theta),
	subsample_absolute_step(X,-50,-5,5),
	subsample_absolute_step(Y,1,20,2),
	solve([R,Theta]).

I also think R should be constrained to be positive, so:
cartesian_circular(X, Y, R, Theta):-
    [X, Y]::real,            % finite X,Y
    R::real(0, _),           % positive, finite R
    [Theta]::real(-pi, pi),
    {
        X == R * cos(Theta),
        Y == R * sin(Theta)
    }.

Now:
?- test2_(X,Y,R,Theta).
X = -50,
Y = 1,
R:: 50.0099990001999...,
Theta:: 3.12159531961664... ;
X = -50,
Y = 3,
R:: 50.0899191454727...,
Theta:: 3.08166449846858... ;
X = -50,
Y = 5,
R:: 50.2493781056044...,
Theta:: 3.04192400109863... ;
X = -50,
Y = 7,
R:: 50.4876222454573...,
Theta:: 3.00249671210772... .

% manually terminated

I didn't look closely at the other sampling strategies, but they can probably be implemented in a similar fashion.
The general idea of CLP's is to apply constraints and then use normal Prolog unification to generate answers subject to those constraints. A variation would be to add further constraints in a systematic way to solve sub-problems; that's essentially what solve does.
Does this address your question?

Dear Rick, thank you for your answer. Thanks for the clarification "and then use normal Prolog unification to generate answers".  I was testing your proposal but then I realized something weird that may require help first, before going back to the subject of subsampling.
You are correct concerning the range of R : it should be positive (see polar coordinates on wikipedia).
But suprisingly, I got weird output range for R when using your implementation of cartesian_circular.
I now have :
?- test1_(R, Theta).
R::real(5.000999886333218,<PHONE_NUMBER>7544633),
Theta::real(1.815774921412059, 3.121595456457498) ;
false.

The range for R looks unrealistic to me (R max is too high).
Whereas before, with a constraint of R::real(-1.0e+16, 1.0e+16) , I had the following :
?- test1_(R, Theta).
R::real(-53.851650867757314, -5.099019332794144),
Theta::real(-1.3258177199522887, -0.019997279208893784) ;
R::real(5.099019290218574, 53.85164889904919),
Theta::real(1.8157749415368631, 3.121595456378679) ;
false.

And here the range for R looks OK (eventhough I can have a negative R, which is like "back drawing" the radius ;) )
Do you have the same ? Can you explain me why ?

But surpisingly, I got weird output range for R when using your implementation of cartesian_circular.

Good catch and a little subtle. First a recommended solution:
Without constraining R to be positive, you get two solutions as you observed:
% R::real
?- test1_(R,Theta).
R::real(-53.851650867757314, -5.099019332794144),
Theta::real(-1.3258177199522887, -0.019997279208893784) ;
R::real(5.099019290218574, 53.85164889904919),
Theta::real(1.8157749415368631, 3.121595456378679) ;
false.

which I think is undesirable, but
% R::real(0,_)
?- test1_(R,Theta).
R::real(5.000999886333218,<PHONE_NUMBER>7544633),
Theta::real(1.815774921412059, 3.121595456457498) ;
false.

The reason that R doesn't narrow sufficiently is that the current constraints in cartesian_circular don't enable much interval narrowing to be done, e.g.,
?- Theta::real(-pi,pi), R::real(0,_), {X == R*cos(Theta)}, X::real(-50,-5).
Theta::real(-3.1415926535897936, 3.1415926535897936),
R::real(5, 1.0e+16),
X::real(-50, -5).

?- Theta::real(-pi,pi), R::real(0,_), {Y == R*sin(Theta)}, Y::real(1,20).
Theta::real(-3.1415926535897936, 3.1415926535897936),
R::real(1, 1.0e+16),
Y::real(1, 20).

solve manages to forcibly narrow the intervals; it does a good job on Theta for falls short for R (more on this below).
A good way to address this  problem is to add the "redundant" constraint { X**2 + Y**2 == R**2 }. It's redundant because it can be mathematically inferred from the other constraints (since sin(A)**2 + cos(A)**2 ==1, but the clpBNR constraint system isn't clever enough to sort that out. Conventional wisdom might say you should avoid redundant constraints (unnecessary overhead and an added source of rounding error) but here it helps; given the bounds of X and Y, the bounds of R can be calculated directly. This is more efficient (less work for solve); in this particular case, means you only have to solve for Theta.
Now:
?- test1_(R,Theta).
R::real(5.099019513592782, 53.85164807134507),
Theta::real(1.8157748914243488, 3.1215953577549764) ;
false.

with:
cartesian_circular(X, Y, R, Theta):-
    [X, Y]::real,            % finite X,Y
    R::real(0,_),            % positive, finite R
    [Theta]::real(-pi, pi),
    {
        X == R * cos(Theta),
        Y == R * sin(Theta),
        X**2 + Y**2 == R**2
    }.

I won't go into details, but the existing version of cartesian_circular works better if you use solve([Theta, R]), i.e., reverse the order of the R and Theta in the list. Although I don't think that's the right solution of this particular example (use redundant constraint instead), it's not very user friendly so I'm going to see if that can be improved.

Thank you Rick, the last problem is corrected adding the additionnal constraint.
Now lets come back to the subsampling.
I have taken your subsample_absolute_step proposal, and modified it a bit to include the Upper bound (I am sad that it took me 30 minutes to find the proper way to get this... Prolog is far from other languages).
Now I am using it to sample the answer space on R. And the weird thing is that I don't get the full range I was expecting.
Bellow, the full code :
%Example for the issue :
%https://github.com/ridgeworks/clpBNR/issues/19

%SWI-Prolog (threaded, 64 bits, version 9.1.10)
:- use_module(library(clpBNR)). %documentation at : https://ridgeworks.github.io/clpBNR/CLP_BNR_Guide/CLP_BNR_Guide.html

cartesian_circular(X, Y, R, Theta):-
    [X, Y]::real,            % finite X,Y
    R::real(0, _),           % positive, finite R
    [Theta]::real(-pi, pi),
    {
        X == R * cos(Theta),
        Y == R * sin(Theta),
        X**2 + Y**2 == R**2 %https://github.com/ridgeworks/clpBNR/issues/19#issuecomment-1605572520
    }.

subsample_absolute_step(X,X,_U,_Step).    % X=L

subsample_absolute_step(X,L,U,Step) :-    % or bump L and retry
    NxtL is L+Step,
    NxtL < U -> subsample_absolute_step(X,NxtL,U,Step) ; X is U.

test2_2_is_it_a_good_idea(X, Y, R, Theta, [StartR, EndR], [StartT, EndT]) :-
    X::real(-50.0, -5.0),
    Y::real(1.0, 20.0),
    cartesian_circular(X, Y, R, Theta),
    range(R, [StartR, EndR]),
    range(Theta, [StartT, EndT]),
    subsample_absolute_step(R, StartR, EndR, 5.0).

Now testing query :
?-test2_2_is_it_a_good_idea(X, Y, R, Theta, [StartR, EndR], [StartT, EndT]).

Got result :
R = 10.099019513592783,
Theta = 2.1991148575128547,
StartR = 5.099019513592783,
EndR = 53.85164807134507,
StartT = -3.1415926535897936,
EndT = 3.1415926535897936,
X:: -5.93605473270373...,
Y:: 8.17027841302078... .

Pressing Tab, I never see Rbellow 10.099 eventhough StartR = 5.099019513592783
I decide to concat the results with query :
?-findall(R, test2_2_is_it_a_good_idea(X, Y, R, Theta, [StartR, EndR], [StartT, EndT]), L).

Answer is :
L = [10.099019513592783, 15.099019513592783, 20.099019513592783, 25.099019513592783, 30.099019513592783, 35.09901951359278, 40.09901951359278, 45.09901951359278, 50.09901951359278].

So no R values starting at StartR.
Am I missing something ?
Thanks in advance

To get a better idea of what's happening, consider the following query which calculates R two ways; using cartesion_circular/4 to calculate R0 and by direct computation (sqrt(X**2+Y**2)) to calculate R1:
?- X::real(-50.0, -5.0), Y::real(1.0, 20.0), cartesian_circular(X,Y,R0,Theta),{R1 is sqrt(X**2+Y**2)}.
X::real(-50.00000000000001, -4.999999999999999),
Y::real(0.9999999999999999, 20.000000000000004),
R0::real(5.099019513592782, 53.85164807134506),
Theta::real(-3.1415926535897936, 3.1415926535897936),
R1::real(5.099019513592783, 53.85164807134505).

Note that the lower bound of R0 is slightly out of range (by 1 floating point distance?) of R1 (similarly for the upper bound).  So unifying R1 with the exact bound(s) will fail, although it will probably succeed for almost any other value in R0's range. (The root cause of this is probably the use of incorrectly rounded libc floating point arithmetic requiring extra outward rounding on trig functions but I need to dig into this further.)
All of which begs the question of what the intervals bounds mean? An interval's width starts out being fairly wide (possibly infinite) and then gets narrowed by the application of constraints. Such narrowing implies there is no solution consistent with the constraints outside the interval. But there are no guarantees about what's inside the interval. There may be 0, 1, or many (infinite?) solutions contained between (and including) the bounds. The same applies to bounds that are only 1 floating point distance apart (the domain of reals is continuous).
This would seem to be a bit worrisome but, for all practical purposes, problem knowledge can be used to anticipate the meaning. In this particular example, we know the functions are continuous in the range of initial range of values, so there nominally an infinite set of (real) solutions. But the vagueries of floating point arithmetic and the supporting libraries sometimes prevent the bounds from being as tight as possible. (Using the actual boundary values in interval unification, as in this example, requires particular care.)
So my next question is: Do you see a fundamental requirement for "sampling" in your application in your application, or is it more of an interesting experiment to come to grips with how to use CLP over intervals? Generally, it's preferable to maintain intervals in their current state while applying additional constraints, e.g., minimize travel distance, before converting them to a final point value for "output".
 ... Prolog is far from other languages).

Certainly true and Prolog literacy will be needed to progress. Thinking in terms of an imperative language implementation will often be counter-productive. Fortunately there are lots of resources (textbooks, consulting expertise, mailing lists) to help on that front.
And in case you haven't seen this already, here's another paper on using CLP over intervals for robotics type applications.
https://arxiv.org/pdf/cs/0007002.pdf
The authors list might be another source of expertise if you're looking for outside help.

Okay, indeed, starting a bit away from StartR returns the expected result.
test2_2_is_it_a_good_idea(X, Y, R, Theta, [StartR, EndR], [StartT, EndT]) :-
    X::real(-50.0, -5.0),
    Y::real(1.0, 20.0),
    cartesian_circular(X, Y, R, Theta),
    range(R, [StartR, EndR]),
    range(Theta, [StartT, EndT]),
    S2 is StartR + 0.1, %Interval arithmetic is conservative with respect to floating point rounding errors so there may not be a solution at the exact lower bound value . See : https://github.com/ridgeworks/clpBNR/issues/19#issuecomment-1642201945
    subsample_absolute_step(R, S2, EndR, 5.0).

So my next question is: Do you see a fundamental requirement for "sampling" in your application in your application, or is it more of an interesting experiment to come to grips with how to use CLP over intervals?

I tried to solve some 6 degree of freedom (3 translations, 3 rotations) problems (such as the "change of basis" problem in the SWI prolog discourse), where there are several compositions of transforms. This leads to a probably big search space. Your lib may return intervals in a nice iteractive time. But when I called the solve , this was too long for my patience. I my case, I don't need optimization. Or sometime, I cannot even think of an objective function that ensure me to set all variables to a minimum (or maximum). So I though  : how about sampling within the intervals of some of my variables (the ones I can practically subsample, such as the Translations X and Y), and then solve the other variables ? But maybe this was not a good idea.
But more wisely, I concluded that : this is not because you can write it (without simplification hypothesis) with CLP(R) and/or CLP(BNR) that you should / that it will solve your problems in a reasonable execution time. On my former problem, we found an alternative way to formulate, with a lot of hypothesis (and drawbacks), but now we can solve it with linear programming, and this is fast as light.

(if this is still and issue for you)

Well I need to train more. Currently I still feel sad that I can't fully achieve my goals. But I am no longer in a hurry. So let's take it gently with pleasure when I find some time. And this is not a matter if I cannot succeed.

I tried to solve some 6 degree of freedom (3 translations, 3 rotations) problems (such as the "change of basis" problem in the SWI prolog discourse), where there are several compositions of transforms.

This sounds familiar to Benhamou et al.'s paper, but I could be wrong.

But when I called the solve , this was too long for my patience. I my case, I don't need optimization.

It may not help, but solve has an optional precision parameter which roughly corresponds to the number of digits of precision in the solution. Default is 6 but sounds like 2 or 3 may be sufficient for your purposes and should be faster.
Also solve tries to find bifurcating (split) points which aren't solutions, which is useful for separating solutions, e.g., roots of a polynomial. But, if your example is typical, this will be difficult since pretty much all such split points are solutions. This can result in much fruitless searching with the conclusion that no splitting is possible.  splitsolve (with precision option) may be a better choice for "labelling" in these kinds of situations.

but now we can solve it with linear programming, and this is fast as light.

Yes, if the problem can be reduced to a linear model there are lots of efficient, well known techniques for tackling it.

So let's take it gently with pleasure when I find some time. And this is not a matter if I cannot succeed.

That's probably wise - it's hard to learn under pressure.
I find the topic intriguing so if you can find the time to compose a small relevant sub-problem (6 degrees of freedom?), I would be interested in looking at it. Or if you have any experiments that failed to meet requirements/expectations that you could share, I'd be happy to look at those as well. My motivation is to determine whether there are fundamental issues with how things work, or if the documentation can be improved to avoid common pitfalls, or ??.


Run GlobalML building footprints pipeline on a schedule

We are currently running a scheduled Airflow job for the US building footprints dataset, but not the more-frequently-updated GlobalML building footprints dataset.

Hey Ian, I see I am assigned to this, but was under the impression you were leading this effort. Did you assign me for review purposes only or am I missing something?

I just defaulted to "pairing" on things, but this is one I can drive

That makes sense, always happy to "pair" and learn from you, but also don't want to slow down any progress. I already have a lot to learn from my own issues. 😅


Unable to link the xcframework to app or unable to add ETTrace as a Swift package

Add ETTrace as a Swift package
Here I unable see the package details and readme is also not loading.

When tried multiple times, sometimes it also says that for PeerTalk could not find the feature/spm branch.

Link the xcframework to your app
Then I tried second approach. The framework that is generated is a folder and unable to add it.

Please help me to figure out how I can work with this. May be I am doing something wrong or missing few steps. Thanks

Have you tried using the SSH url instead of the HTTPS?
git@github.com:EmergeTools/ETTrace.git

Hi @Itaybre , Thank you for your reply. It is working now. Somehow it did not work when I was trying.
Currently I am getting below error:
AppKit is not available when building for iOS. Consider using #if canImport(AppKit) to conditionally import this framework.


 Can we change this into two prominent bullet points under the Public Preview paragraph that is simply:

Get Started Now
Learn More

@TerryWarwick  ready!


sleuth triggering early init of beans ?

It seems that under certain scenario's, sleuth triggers a cascade of early bean initialization which brakes things. I have isolated a testcase here https://github.com/jorgheymans/sleuth-bug . If you run it you'll see the BeanPostProcessorChecker emitting lots of these:
2020-04-04 09:06:50.714  INFO [,,,] 13242 --- [           main] sleuthbug.Application                    : No active profile set, falling back to default profiles: default
2020-04-04 09:06:51.087  INFO [,,,] 13242 --- [           main] o.s.cloud.context.scope.GenericScope     : BeanFactory id=6f243840-0f76-37dc-89e9-831761795ee8
2020-04-04 09:06:51.218  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.sleuth-org.springframework.cloud.sleuth.autoconfig.SleuthProperties' of type [org.springframework.cloud.sleuth.autoconfig.SleuthProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.221  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.sleuth.propagation.tag-org.springframework.cloud.sleuth.propagation.SleuthTagPropagationProperties' of type [org.springframework.cloud.sleuth.propagation.SleuthTagPropagationProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.223  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'sleuthFinishedSpanHandler' of type [org.springframework.cloud.sleuth.propagation.TagPropagationFinishedSpanHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.227  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.sleuth.log.slf4j-org.springframework.cloud.sleuth.log.SleuthSlf4jProperties' of type [org.springframework.cloud.sleuth.log.SleuthSlf4jProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.229  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'slf4jSpanDecorator' of type [org.springframework.cloud.sleuth.log.Slf4jScopeDecorator] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.233  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.autoconfig.TraceAutoConfiguration' of type [org.springframework.cloud.sleuth.autoconfig.TraceAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.238  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'sleuthPropagation' of type [brave.propagation.B3Propagation$Factory] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.241  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'sleuthCurrentTraceContextBuilder' of type [brave.propagation.ThreadLocalCurrentTraceContext$Builder] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.243  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'sleuthCurrentTraceContext' of type [brave.propagation.ThreadLocalCurrentTraceContext] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.283  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'errorParser' of type [brave.ErrorParser] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.286  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.zipkin2.ZipkinAutoConfiguration' of type [org.springframework.cloud.sleuth.zipkin2.ZipkinAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.288  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.autoconfig.TraceAutoConfiguration$TraceMetricsInMemoryConfiguration' of type [org.springframework.cloud.sleuth.autoconfig.TraceAutoConfiguration$TraceMetricsInMemoryConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.289  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'sleuthReporterMetrics' of type [zipkin2.reporter.InMemoryReporterMetrics] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.297  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.zipkin-org.springframework.cloud.sleuth.zipkin2.ZipkinProperties' of type [org.springframework.cloud.sleuth.zipkin2.ZipkinProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.302  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.zipkin2.sender.ZipkinRestTemplateSenderConfiguration$DiscoveryClientZipkinUrlExtractorConfiguration$ZipkinClientLoadBalancedConfiguration' of type [org.springframework.cloud.sleuth.zipkin2.sender.ZipkinRestTemplateSenderConfiguration$DiscoveryClientZipkinUrlExtractorConfiguration$ZipkinClientLoadBalancedConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.306  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'loadBalancerClientZipkinLoadBalancer' of type [org.springframework.cloud.sleuth.zipkin2.sender.LoadBalancerClientZipkinLoadBalancer] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.309  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'zipkinUrlExtractor' of type [org.springframework.cloud.sleuth.zipkin2.sender.ZipkinRestTemplateSenderConfiguration$CachingZipkinUrlExtractor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.311  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.sleuth.zipkin2.sender.ZipkinRestTemplateSenderConfiguration' of type [org.springframework.cloud.sleuth.zipkin2.sender.ZipkinRestTemplateSenderConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.313  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'zipkinRestTemplateCustomizer' of type [org.springframework.cloud.sleuth.zipkin2.DefaultZipkinRestTemplateCustomizer] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.322  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'zipkinSender' of type [org.springframework.cloud.sleuth.zipkin2.sender.RestTemplateSender] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.367  WARN [,,,] 13242 --- [           main] o.s.c.s.zipkin2.ZipkinAutoConfiguration  : Check result of the [AsyncReporter{org.springframework.cloud.sleuth.zipkin2.sender.RestTemplateSender@2881ad47}] contains an error [CheckResult{ok=false, error=org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://localhost:9411/api/v2/spans": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused)}]
2020-04-04 09:06:51.368  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'zipkinReporter' of type [zipkin2.reporter.AsyncReporter$BoundedAsyncReporter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.379  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'tracing' of type [brave.Tracing$Default] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.390  INFO [,,,] 13242 --- [           main] trationDelegate$BeanPostProcessorChecker : Bean 'kafkaStreamsTracing' of type [brave.kafka.streams.KafkaStreamsTracing] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-04-04 09:06:51.746  INFO [,,,] 13242 --- [           main] sleuthbug.Application                    : Started Application in 1.581 seconds (JVM running for 2.624)

When starting with --spring.sleuth.messaging.kafka.streams.enabled=false , you will see that all of these warnings disappear.
Now i know that early bean instantiation is not always an issue, but for our app it is because we can for example see that our PrometheusMetrics are incomplete, many metrics are missing that reappear when we disable above flag. There may be other side effects not so apparent.

Hmm sorry to hear! I've seen those not eligible for getting processed by all BeanPostProcessors in some of my own applications as well; Hadn't registered that this might be caused by SleuthKafkaStreamsConfiguration. I'd based the implementation of SleuthKafkaStreamsConfiguration on what I saw in TraceMessagingAutoConfiguration. Any suggestions as to how we can resolve this early initiation issue?

we're in a sort of "man down" situation at the moment, especially folks with deep boot knowledge and willing to give pull requests right now. I'm marking this help-wanted for now.

After reading up on this oldie https://stackoverflow.com/questions/1201726/tracking-down-cause-of-springs-not-eligible-for-auto-proxying and looking at the other BeanPostProcessors currently in TraceMessagingAutoConfiguration, I'm now experimenting with copying over their approach in:
https://github.com/spring-cloud/spring-cloud-sleuth/compare/master...timtebeek:master
I'll open up a pull request if that resolves the issue as reported by @jorgheymans in https://github.com/jorgheymans/sleuth-bug