Automatic license headers verification and application

The current code base lacks license headers and SPDX identifiers in files.
This change uses a Maven plugin to check that all Java files have a license header.
The plugin can be run manually: mvn license:check and mvn license:format.
The plugin is automatically triggered with the 'release' profile to check for missing headers and apply up-to-date headers.
Note that the plugin maintains copyright year ranges based on Git metadata, which does simplify maintenance.
Signed-off-by: Julien Ponge<EMAIL_ADDRESS>

@cescoffier @kenfinnigan here's a big one 😉
Having license headers and SPDX tags is important IMHO, and I found a plugin to maintain that. Unlike the auto-formatting plugin I forced the execution only with the release profile since it adds a bit to build times.

@kenfinnigan what’s the SmallRye way?
On Fri 17 Jul 2020 at 11:49, Julien Ponge<EMAIL_ADDRESS>wrote:

@cescoffier https://github.com/cescoffier @kenfinnigan
https://github.com/kenfinnigan here's a big one 😉
Having license headers and SPDX tags is important IMHO, and I found a
plugin to maintain that. Unlike the auto-formatting plugin I forced the
execution only with the release profile since it adds a bit to build
times.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/smallrye/smallrye-mutiny/pull/214#issuecomment-660004034,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADCG7KQDJDIJGNZZVKXIBTR4ANAZANCNFSM4O5556BA
.

Advice from Richard Fontana has been we don't need per file license headers as long as there is the LICENSE file in the repository root

Ok, I've always preferred having license headers (especially if files get to be copied around in other code bases), but we can only trust Richard 😉
What is your preference @cescoffier @kenfinnigan?

I always trust the people knowing a fair bit of legal because it's clearly incompetent on the subject.

I think most, all, SmallRye projects don't have per file copyright.
There's also the issue, and confusion, as to whether the year in per file copyright needs to be updated, etc.
I think it's simpler if they're just not there

Ok, closing this!


Update Authlib and its usage

Authlib can parse id_token in an easy way. Just pass Google OpenID Connect discovery endpoint to oauth.register, it will handle everything for you.
Check this demo:
https://github.com/authlib/demo-oauth-client/blob/master/flask-google-login/app.py

I'm not going to sign this CLA. If you can't merge this PR without CLA, you can change the code yourself.

Hi Hsiaoming,
Thank you very much for the time to create a PR and the simplification :)!
As I can't merge the PR, I've adjusted the code in https://github.com/google/vulncode-db/commit/bef3b0f24b7abe969e4266fe48e54e5a1a69756f as per your suggestion.


Add SDK 3.0 Support

FEATURE / ENHANCEMENT
SDK 3.0.0 has been out for some time now. Consider adding SDK 3 to the existing generator or making a new generator that is focused on SDK 3 and above.
The advantage to the latter is there are some workflows with SDK 3 we can't do with earlier versions. Like:

Adding generator to existing SDK 3 project
Upgrade SDK versions
Change default Alfresco versions

Also since SDK 3 defaults to JAR packaging but can also do AMP packaging there are use cases around switching the type of artifact being built that need to be considered.
Other SDK 3 specific things to consider:

The Alfresco Maven plugin has much more configuration, so may need to update the maven-pom module to provide richer support for plugins.
Possibly helping to enable/disable JRebel or Hot Swap Agent
No more spring-loaded (yay)
No longer has runner, repo or share modules at the top level
Has support for integration tests, we may be able to scaffold test bases in existing sub-generators
Support starting just repo & solr or just share so folks doing share dev can bounce faster

Consider creating a yo alfresco:doctor that reviews things like, Node, Java and Maven versions. Provides guidance on upgrading to newer SDK when there is one.
Consider creating a yo run in place of run.sh and run.bat. This could remember previous choices and allow triggering of prompts via a CLI option (this information would be printed each time the sub generator runs against remembered values.)

The above list is really just a jumping off point for thinking about what we should do. I'd like to invite @ohej to join in on this discussion.

yo alfresco:doctor could check if there are newer versions of common AMPs or possibly all remote AMPs (I'm not quite sure how that would work, but it would be cool if we can figure out what the latest version is of a maven (groupId,artifactId) pair.

@binduwavell regarding your last comment, it might be interesting to check out https://stackoverflow.com/a/1172805/2307988

Thanks @yregaieg I'll check that out.


SQL COMMENT not working properly

'COMMENT ON TABLE chriswhong.nytracts IS 'NY State Census Tracts''
results in 'syntax error at or near "ON"'

Is this SQL API or in the Editor?

In the editor
On Mon, Jul 20, 2015 at 3:10 PM, Paul Ramsey<EMAIL_ADDRESS>wrote:

Is this SQL API or in the Editor?
—
Reply to this email directly or view it on GitHub
https://github.com/CartoDB/CartoDB-SQL-API/issues/235#issuecomment-122992474
.

File in https://github.com/CartoDB/cartodb

Works on the SQL API

Is an Editor validation problem, not a SQL API problem.  Closing.


Keybase stuck on loading scr.  MacOS X Sierra

Keybase GUI Version: 1.0.18-20170209165653+17b641d

Same problem here.
Log ID: 6030e1fba884d97644894d1c

Same, keeps saying that needs to install helper, when given the password cycles back to the prompt about the need to install the helper. my log id: 6efe7aa69ada3f7f70f68d1c


Rancher CLI beta links don't work

Rancher Version: v1.2.0-pre2-rc2
Steps to Reproduce:

Click on the Download CLI link on the bottom right
Select andy of the Rancher CLI (bets) links

Results: Nothing happens
Expected: Should get the download

When we make the first official release for the version, we'll add the version to releases.rancher.com so that it can be downloaded (like how rancher-compose is handled)

The files are there, but the URLs are wrong in settings (compose vs cli)

Verison - v1.2.0-pre2-rc7
Verified fixed


Updated all dependencies.

Updated all the dependencies. Also, not sure why we were previously pointing to version 200.4.0 of npm-shrinkwrap. The latest release on npm is 5.4.0.

This reverts the node version from 0.12.4 to 0.10.29 in your shrinkwrap. Also, if there are no benefits to the updates (such as features or fixes needed) they generally aren't updated

Also the choice of shrinkwrap 200 is from twbs/bootstrap#15355 to fix a bug

On Jun 15, 2015 4:28 AM, "Baraa Hamodi"<EMAIL_ADDRESS>wrote:

Updated all the dependencies. Also, not sure why we were previously
pointing to version 200.4.0 of npm-shrinkwrap. The latest release on npm is
5.4.0.

You can view, comment on, or merge this pull request online at:
https://github.com/twbs/bootstrap/pull/16636
Commit Summary
Updated all dependencies.
File Changes
M package.json (12)
M test-infra/npm-shrinkwrap.json (458)
Patch Links:
https://github.com/twbs/bootstrap/pull/16636.patch
https://github.com/twbs/bootstrap/pull/16636.diff
—
Reply to this email directly or view it on GitHub.

Thanks for the clarification @kkirsche! Updated the PR.

Hey Bootstrap team! I was just wondering when/if this PR will be merged in soon? :smiley:

Hey @bhamodi, focus is currently on prepping for V4 in August but a team member will merge when they have the time to review the PR

@bhamodi Thanks! Sorry for the delay.

Thanks @cvrebert!


Publish to ghcr.io as well as dockerhub

Hello! Thanks for maintaining this server, it's a really useful testing tool! Is there any chance that the image could be published to ghcr.io (Github Packages) as well as Dockerhub? Would a PR be accepted for this?

Hello,
we don't plan to do that, whoami is just a small testing tool, our image is published in the Docker Hub.
The Docker Hub has limitations, those limitations are large enough for personal usage.

Hi there, with the recent announcements by Docker would you be willing to reconsider this issue?
https://web.docker.com/rs/790-SSB-375/images/privatereposfaq.pdf
https://blog.alexellis.io/docker-is-deleting-open-source-images/


lib: change to cloudevents-sdk HEAD

This will need to be modified once the next version of the SDK has been
released to 2.0.0.

Marking as WIP until the next version of cloudevents-sdk is released (should be soon).


Added Arabic translation for Laravel

Description

Added Arabic translation for Laravel.
Added Egypt flag in the README.md file.
Fixed a typo in the README.md file.

Hi @109-marzouk,
PR looks good. Thanks for the contribution. :rocket:


ICON reader fails to read the latest block

const actionReader = new IconActionReader({
  startAtBlock: -1
});

No block data logged in the console, stopped after a few minutes with the error:
Error: 120 retries failed

More error details:
Error: 120 retries failed
demux-icon/src/utils.ts:24:9
demux-icon/src/utils.ts:5:58
Error block, max retries failed (source=BaseActionWatcher)
demux-icon/src/IconActionReader.ts:107:13
demux-icon/src/IconActionReader.ts:6:65
Indexing unexpectedly stopped due to an error. (source=BaseActionWatcher)

Thank you, it was fixed.


Cancel async Cmd.run

Is there a way of avoiding the success action being called? I would like a way of canceling the effect of async call under certain conditions.

Not directly.
You could check this condition in the reducer where you handle this action and do nothing if the condition is true.
You could also check the condition right before resolving the main promise and add the result to the resolution value, which gets passed to the action creator. Then you could check the value in the reducer from there.

Thanks, @bdwain. I thought similar solutions.
I think that the api could add a way to handle this scenario, that would be very helpful.
What do you think?

I wonder if its necessary. In the past, I have supported cancelling by just handling it in the reducer like @bdwain suggests. If you really want, you could cancel the promise if using a lib like Bluebird, which should dispatch the fail effect I think.

I really don't need the feature. I just wondering if would be useful have it in the api. redux-loop is my favorite tool to handle async operations in redux, I just want to help to improve the api.

So the only api change i could think to accomplish it would be to add some optional function that checks if the promise should cancel. but that could just be done from the action creator. like if the action creator was fooSuccess, then do
Cmd.run(foo, {
  successActionCreator: maybeFooSuccess
})

function maybeFooSuccess(res){
  return res.cancel ? null : fooSuccess(res)
}

i have to check if the action creator is allowed to return null. if not we could change it to do that and just ignore the null ones.

@bdwain the problem with that solution is that you still have to cancel your promise by you own, and the api is not helping with that. A way to go could keep track of the Cmd.run that are not being resolved yet and add a new Cmd to cancel it.

so you want to be able to cancel any Cmd without the Cmd having to do anything to be cancellable?
how would Cmd.cancel (or whatver) target a specific command?

Maybe adding a key option to the command
Cmd.run(foo, {
  successActionCreator,
  failActionCreator,
  key: 'foo'
}

Cmd.cancel('foo')

that would be a huge internal change, and still requires you to do something to a Cmd to make it cancellable. if you need to do something anyway, i'd rather wrap the successActionCreator than add a key to each command. It seems to accomplish the same goal without increasing the API's complexity. Is there something that can't be done using that method that they key method allows you to do?

I know that is not an easy implementation. It will be very useful in many scenarios. For example, an async autocomplete, even if you use something like debounce, you maybe should want to cancel all the old request before starting the new ones. There is no way to cancel vanilla es6 Promises right now, so you are forcing the user to use something like Bluebird to achieve this in the succesActionCreator.
My point is, maybe is difficult to implement but not add complexity for the user and make the api more powerful and attractive. I can help with the implementation of this if you decide to add the feature.

fwiw https://tc39.github.io/proposal-cancellation/
cancellation will probably eventually be native. It would be pretty annoying to require that for this though.

yes sure, when this be natively supported the Cmd.cancel could cancel the Promises as well, in the mean time, it could only ignore the responses of the Promises when they come.

What i suggested does not require bluebird. It works with vanilla es6 promises. It also has the benefit of requiring few (if any) changes or concepts introduced to the api. I'd rather not introduce a large change to allow you to do something you can already do.
My other worry is that trying to add a key to each Cmd makes it hard to isolate any given reducer.  In order to guarantee your key is unique (and avoid cancelling something you don't want to cancel), you have to know what all of the other keys in your app are. And it could get very confusing if you had a reducer that was used in multiple places at the same time.

I don't understand how you can accomplish that with vanilla es6 since there is not way to cancel a promise in es6. Maybe I missed out something in your suggestion.
About the key that is the same issue with the type of an action, you need to guarantee that the type is unique. Also that was only an example another approach can be something like:
............
return loop(
 { type: "foo_action" },
 Cmd.run(foo, {
  successActionCreator,
  failActionCreator,
  cancelable: true
 }
);

Cmd.cancel("foo_action");

My thing didn't cancel the promise. It just ignores the response if you update the state to ignore the promise. You can accomplish this by checking the state before resolving the promise and adding a property to the response or by checking the state in the reducer when handling the on success action.
For example, if you had logic to update the status of an item, you could store the current updating id in the state. On update success, if the response id does not match the current id, ignore it and just return previous state.

I agree that cancelable async seems out of scope for redux-loop and resolvable on the users' end by simply tracking in state whether the reducer case for the successAction in question should return new state or just the old state.
e.g.
const reducer = (state) => {
  switch (action.type) {
    case 'HANDLE_FETCH_SUCCESS':
      state.cancelFetch ? state : { ...state, result: action.resultData }

      [ETC..]
  }
}

There are a number of ways a user could solve this without the use of any third party libraries.

I'm going to close this issue because I don't think there's anything to do on it for now. I'd be happy to revisit the issue when Cancellations are natively supported.


CI should check API breakages

CI should check API breakages

#69 is the first step to get this going. Now the CI just needs to be configured to use this script.

added, please confirm

Script corrected in #103


As a user, multicurrency orgs should not improperly round currency conversion so that my converted values are accurately portrayed when aggregated to Contacts or Households

I think its here:
https://github.com/SalesforceFoundation/Cumulus/blob/dev/src/classes/RLLP_OppRollup_UTIL.cls#L305
Original thread:
https://powerofus.force.com/_ui/core/chatter/groups/GroupProfilePage?g=0F980000000CjRe&fId=0D58000001grohV&fromEmail=1

Included in beta release version 3.33 (Beta 4) and higher


Expose sdundo and the rest of the CBS R parameters that are not exposed

sdundo most important.

Also, evaluate sdundo values of 1,2,3


ServiceUnavailable Error

Describe the bug
While running Update All the same error frequently appears.
Uh oh something went wrong.
ServiceUnavailable: https://archive.org/metadata/openFPGA-Files
To Reproduce
Steps to reproduce the behavior:

Run pupdate.exe
Update All
Watch the text scroll by
See error

Expected behavior
Something doesn't go wrong.

archive.org is down after being hacked
disable the asset downloader or switch to the custom archive


TrajectoryMarker throws error

TrajectoryMarker (https://github.com/personalrobotics/aikido/blob/4270781ebfb5d735e21c0174a0b44dbe487bf9c8/include/aikido/rviz/TrajectoryMarker.hpp#L39) throws an IsCompatible error: https://github.com/personalrobotics/aikido/blob/4270781ebfb5d735e21c0174a0b44dbe487bf9c8/src/statespace/dart/MetaSkeletonStateSpace.cpp#L268 for the MetaSkeletonPtr

Do you have a small code snippet that we can use to replicate this?
If it's working properly, that error is thrown when the TrajectoryMarker's skeleton doesn't match the skeleton corresponding to the trajectory's MetaSkeletonStateSpace. The only things that are checked are here: https://github.com/personalrobotics/aikido/blob/4270781ebfb5d735e21c0174a0b44dbe487bf9c8/src/statespace/dart/MetaSkeletonStateSpace.cpp#L213
It would be super helpful for debugging to inspect which one is causing the compatibility check to fail.


Remove order line observer override

Waiting for https://github.com/lunarphp/lunar/pull/1732 to be merged, so our tests will become green again.


Found a small issue. The home button on remote instances isn't working since I changed it to pull from localstorage. Will fix tomorrow.

Made a work around. Need to fix permanently from settings menu.


add firebase

What does this PR do and why?
Provide a description of what this PR does. Link to any relevant GitHub issues, Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] I have tested this PR in all supported browsers.
[ ] I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #2280

PR #2281   👈

This comment was auto-generated by Graphite.


Improve build workflow to upload changelog

Change build pipeline for generate changelog with list of all logs and upload to nightly tag.
Now the nightly binaries are upload as prerelease

Example


About the formulation of classifier-free guidance generation

imple of CFG in showo is rather different from common practice(i.e. final_logits = uncond_logits + guidance_scale(cond_logits - uncond_logits), finale_logits->uncond_logits, when guidance_scale->0)).

Hi, both are okay with our experiment.

Hi, both are okay with our experiment.

OKAY, thx for your kind reply.


Italian localization

Italian localization

Excellent! The code style looks good, normally I'd also test the changes myself, but I don't speak Italian so I'll trust everything's passable 👍. Merging now, thanks for your contribution! Localizers like yourself are unsung heroes
By the way, I noticed some empty merge commits and some corrective pushes as well. It's no big deal since I can squash the changes into a single commit when I merge the PR, but consider the following advice for the future:
Correcting Mistakes
You can always correct an issue with your previous commit by using the following command:
git commit --amend
It works exactly the same as committing normally, but it will instead modify the previous commit instead of creating a new one. Keep in mind this only works for local changes. Do not try amending changes that are already recorded in the main CQUI repository
Avoiding Merge Commits:
You can also usually avoid adding those merge commits by pulling with rebase. For example, you can incorporate the latest changes into your branch without merging anything by using the following command:
git pull --rebase upstream master
Keep in mind you don't usually need to keep your PR branches up to date at all, since git is smart enough to just figure out what your new changes are and take only those.

Great!
Thank you for the advice.
I'll keep in mind for the future :)


[Feature Request] Add Discrete and Fast Fourier Transform

Is your feature request related to a problem? Please describe.
Fast Fourier Transform (FFT) is used in Signal Processing, which I have seen a user on Discord thinking of testing out TT cards for it. But personally I use it for trying to implement Smooth Life via TTNN, which isn't implemented in the TTNN or TT-Metal APIs.
Describe the solution you'd like
Preferably these set of DFT and FFTs:

[ ] DFT (Discrete Fourier Transform)
[ ] FFT (Fast Fourier Transform)
[ ] Inverse FFT
[ ] 2D, 3D FFT
[ ] Complex FFT

Describe alternatives you've considered
I have implemented my own 2D Complex and Real FFT manually outside of TT in C++ a couple months ago which could be translated to TT-Metal, but it isn't optimized and I don't know much about the equation to implement inverse FFT correctly.

@JushBJJ we have the FFT in our feature list roadmap.
Is your existing C++ implementation block-based or tile-based?


Ability to connect to multiple vhosts

Is there a way within Sneakers to have 2 configurations, with certain workers processing certain vhosts?  My current build uses rails, and has a 'secure' and a 'open' vhost, but I see no way to define within a worker which connection/vhost to use.

This is a not a scenario Sneakers or most such frameworks optimize for. You can override connection options in a custom Rake task or similar.


Additional Dependencies (again?)

It looks like you have a closed issue regarding the "numba" dependency but i'm still having issues with it.
When i tried running the collision viewer with roslaunch relaxed_ik collision_viewer.launch, its saying I need numba.

Hey, thanks for the heads up!  It appears that the numba import was in vars.py.  I had removed this in the dev branch a while back, but forgot to do that in the master branch.  Thanks again!

Hi, Danny. Just note that numba is still in "joint_utils.py", which causes an ImportError when I launch "collision_viewer.launch".


Findbugs fixes

Applies a number of findbugs fixes:

Duplicate method calls
Strings of 1 char length
Unneeded boxing

Fixes the build back to a normal state.

+1


Build from source on Apple M1

Hi,
I'm trying to build launchpad from sources on a laptop with the M1 chip.
Is it possible?
I've tried using the Dockerfile provided - unsuccessfully.
Curious to known if someone succeeded.
Thanks,
Cyprien

Hi!
Have you solved your problem?
I also use Apple M1, I'm trying to install dm-launchpad using pip, but instead, I got this message.
ERROR: Could not find a version that satisfies the requirement dm-launchpad (from versions: none)
ERROR: No matching distribution found for dm-launchpad

Does building launchpad from sources work?
Thanks,
Adam

I have successfully built Launchpad for the M1, if enough people are interested I would be happy to contribute a pull request.

Yes, please 😃

Here you go #40


Supreme Commander & Forged Alliance resolution problems

I play Supreme Commander and it's standalone expansion Forged Alliance with lower resolution than my native monitor resolution. Game is running with 1360x768 resolution and monitor's native display resolution is 3840x2160.
After exiting game, resolution doesn't switch back to native display resolution and instead stays in 1369x768 resolution. This problem didn't exist with Wine's VKD3D and only started to appearing after switching to DXVK.
Software information
Supreme Commander
Supreme Commander: Forged Alliance
Resolution: 1360x768
System information

GPU: GTX 1070
Driver: Nvidia 535.113.01
Wine version: 8.17
DXVK version: 2.3

@SissiHermanni Reverting to your desktop resolution should work fine with any reasonably recent version of Wine/Wine Staging. I am on Wine Stating 9.17 at the moment and it behaves correctly at least.
It was never a DXVK problem per se, anyway, because as long as the game doesn't resize the swapchain before exit your compositor won't do it on its own.


Issue about FedAsync

I run FedAsync with MNIST for different numbers of minimum_clinets_aggregated such as 1, 5, 10. It seems the accuracy after the third/fourth round remains unchanged throughout the training.
For minimum_clinets_aggregated = 1 :
accuraaround,elapsed_time,accuracy
1,50.14079451560974,0.6546
2,50.575541257858276,0.6981
3,50.747315645217896,0.7022
4,50.81657099723816,0.7023
5,51.23520350456238,0.7023
6,51.34218502044678,0.7023
7,51.80778479576111,0.7023
8,52.166738986968994,0.7023
9,52.67929291725159,0.7023
10,53.30119204521179,0.7023
11,53.447898626327515,0.7023
12,53.637184619903564,0.7023
13,53.742652893066406,0.7023
14,54.83425712585449,0.7023
15,56.740330934524536,0.7023
16,59.87186360359192,0.7023
For minimum_clinets_aggregated = 5
round,elapsed_time,accuracy
1,52.166738748550415,0.6505
2,60.17301106452942,0.6717
3,65.07568025588989,0.6791
4,102.97580409049988,0.6788
5,111.03281116485596,0.6787
6,117.26651930809021,0.6787
7,156.2644817829132,0.6787
8,168.04098415374756,0.6787
9,173.99478435516357,0.6787
10,209.7995159626007,0.6787
11,224.85477209091187,0.6787
For minimum_clinets_aggregated = 10 :
round,elapsed_time,accuracy
1,57.09350848197937,0.7071
2,107.23430252075195,0.708
3,159.25455927848816,0.7217
4,209.5174593925476,0.7246
5,244.3007526397705,0.7255
6,295.3236184120178,0.7255
7,344.76162481307983,0.7255
8,383.17075634002686,0.7255

Is the implementation of the FedAsync in the example section not correct?


[Python | NumberRange] When to support number range in python?

I really need a python package to parse number range info from text.
Thx a lot!

Hi @lexmen318,
the Python packages are still in alpha. Which language are you targeting? English first?
Would you be able to help contributing with the implementation?

Thank you very very much for your quick response!
My first priority on language is Chinese, and second one is English.

Would you be able to help contributing with the implementation?


IOS: Downgrade subscription

Description
Trying to downgrade a subscription is not working, but upgrading works fine.
Expected Behavior
Be able to upgrade and downgrade subscriptions.
Screenshots

Environment:

react-native-iap: 9.0.0
react-native: 0.67.5
Platforms (iOS, Android, emulator, simulator, device): iOS

To Reproduce
Steps to reproduce the behavior:
Both subscriptions are in the same group, and have the same subscription duration of 1 month but they have different prices

Initially buy a subscription with a higher price.
Downgrade to the lower price subscription

While downgrading and passing to the requestSubscription promise the SKU for the cheaper subscription an error occurred which also triggered the purchaseErrorListener.
This is the error from the purcahseErrorListener:
{
    "responseCode": "0",
    "code": "E_UNKNOWN",
    "debugMessage": "An unknown error occurred",
    "message": "An unknown error occurred",
    "productId": "_______"
}

[Optional] Additional Context
While debugging and inspecting my SANDBOX account, I noticed an interesting discrepancy: although the code caught an error during the subscription downgrade process, my account displays the subscription as active, despite the failure.

I encounter same issue. :(
Before everything works fine.

From my side.
I can do the purchase.
Only error get the error
"Error: An unknown error occurred"
from requestSubscription when I try to downgrade
"react-native": "0.72.4",
"react-native-iap": "^12.13.1",

From my side. I can do the purchase.
Only error get the error "Error: An unknown error occurred" from requestSubscription when I try to downgrade
"react-native": "0.72.4", "react-native-iap": "^12.13.1",

React Native: 0.67.4
React-native-iap: 12.13.1 on StoreKit 2
Experiencing the same unknown error.
[Error: Purchased failed for sku:*Product ID Here*: Unable to Complete Request]
In my case, trying to downgrade from an Annual duration sub to a monthly duration - within the same subscription group.
Upgrading the same products works fine.
This was working on our previous setup using<EMAIL_ADDRESS>on StoreKit 1

{"error": [Error: Purchased failed for sku:fc_month_179: Unable to Complete Request], "success": false}
i am facing same error

tried the below versions of the library:

12.13.2
12.13.1
12.13.0
12.12.2
12.12.1
12.12.0
12.11.0

React Native: 0.67.4
For the above, I am getting the same error message: [Error: Purchased failed for l: Unable to Complete Request]
Only getting this with iOS, android seems to be working as expected.

@ivannzme  this does not  work.i tried all these mentioned version .
"react-native": "0.72.1",
I am getting product in ios but when i request for subscription it through this error
{"error": [Error: Purchased failed for sku:fc_month_179: Unable to Complete Request], "success": false}

I have very limited time to contribute to this repo, so I consulted ChatGPT for assistance. Below are the details provided by ChatGPT, addressing both StoreKit1 and StoreKit2 scenarios as I am unsure which version you are using.
Common Issues and Solutions:

Invalid Product ID:

Ensure the sku (product identifier) is correctly defined and matches the one set up in App Store Connect.
Verify that the products are correctly fetched and available before attempting to purchase.

Sandbox Environment Issues:

Make sure the device is logged into a Sandbox account and not a regular Apple ID.
Clear any cached data or reset the device's Sandbox environment by logging out and back into the Sandbox account.

Configuration Mismatches:

Verify that the configuration in App Store Connect matches the configuration in your StoreKit file in Xcode.
Ensure that all promotional offers and discount identifiers are correctly set up in App Store Connect.

Subscription Handling:

Check that the app correctly handles the various states of a purchase (e.g., success, user cancelled, deferred).
Ensure that the transaction is finished appropriately to avoid leaving transactions in an incomplete state.

StoreKit1 Code Insights:

Ensure validProducts Contains the Correct Products:
if let product = validProducts.value[sku] {
    // Proceed with the purchase
} else {
    // Handle invalid product ID
}

Check for SKPaymentDiscount:
if let discountOffer = discountOffer,
    let identifier = discountOffer["identifier"],
    let keyIdentifier = discountOffer["keyIdentifier"],
    let nonce = discountOffer["nonce"],
    let signature = discountOffer["signature"],
    let timestamp = discountOffer["timestamp"] {

    let discount = SKPaymentDiscount(
        identifier: identifier,
        keyIdentifier: keyIdentifier,
        nonce: UUID(uuidString: nonce)!,
        signature: signature,
        timestamp: NSNumber(value: Int(timestamp)!)
    )
    payment.paymentDiscount = discount
}

StoreKit2 Code Insights:

Fetch Product Correctly:
let product: Product? = await productStore.getProduct(productID: sku)
if let product = product {
    // Proceed with the purchase
} else {
    // Handle invalid product ID
}

Check and Apply Purchase Options:
if let offerID = offerID,
    let keyID = keyID,
    let nonce = nonce,
    let nonce = UUID(uuidString: nonce),
    let signature = signature,
    let signature = signature.data(using: .utf8),
    let timestamp = timestamp,
    let timestamp = Int(timestamp) {

    options.insert(.promotionalOffer(
        offerID: offerID,
        keyID: keyID,
        nonce: nonce,
        signature: signature,
        timestamp: timestamp
    ))
}

Additional Debugging Steps:

Enable Detailed Logging:

Add detailed logging to track each step of the purchase process to identify where it might be failing.

debugMessage("Logging detailed steps for purchase process...")

Test Different Scenarios:

Test with different products and scenarios (e.g., without discounts, with various quantities) to isolate the issue.

Check for Known Issues:

Look for any known issues with the specific versions of StoreKit and the react-native-iap library on their respective GitHub issues pages.

Summary:
By carefully reviewing the code for potential issues, ensuring configurations are correct, and adding detailed logging, you can better understand and resolve the errors related to in-app purchases. If these steps do not resolve the issue, consider sharing detailed logs and the specific error messages received during the purchase process for further assistance.

I hope this helps!

From my side. I can do the purchase.
Only error get the error "Error: An unknown error occurred" from requestSubscription when I try to downgrade
"react-native": "0.72.4", "react-native-iap": "^12.13.1",

React Native: 0.67.4 React-native-iap: 12.13.1 on StoreKit 2
Experiencing the same unknown error. [Error: Purchased failed for sku:*Product ID Here*: Unable to Complete Request]
In my case, trying to downgrade from an Annual duration sub to a monthly duration - within the same subscription group. Upgrading the same products works fine.
This was working on our previous setup using<EMAIL_ADDRESS>on StoreKit 1

It seems this issue has now been resolved for me, I did not make any code changes.
Tested 3x downgrade scenarios yesterday and all completed successfully.
Starting to wonder if it was Apple sandbox subscriptions service that had the issue.

From my side. I can do the purchase.
Only error get the error "Error: An unknown error occurred" from requestSubscription when I try to downgrade
"react-native": "0.72.4", "react-native-iap": "^12.13.1",

React Native: 0.67.4 React-native-iap: 12.13.1 on StoreKit 2
Experiencing the same unknown error. [Error: Purchased failed for sku:*Product ID Here*: Unable to Complete Request]
In my case, trying to downgrade from an Annual duration sub to a monthly duration - within the same subscription group. Upgrading the same products works fine.
This was working on our previous setup using<EMAIL_ADDRESS>on StoreKit 1

It seems this issue has now been resolved for me, I did not make any code changes. Tested 3x downgrade scenarios yesterday and all completed successfully. Starting to wonder if it was Apple sandbox subscriptions service that had the issue.

its worked thanks


Reversed cue display order for identical time ranges

Split from #821 filed by @ewosleger:

Shaka v2.0.8
We noticed Shaka is displaying our captions in reverse order from our embedded ttml files in the manifest:
"jumped over the fence"
"Quick brown fox"

Regarding our captions in reverse order. A snippet of a specific ttml segment.

             JEANNIE:             You still

             stubbornly insist on being

The first
 "pop1" tss:origin y cord is 79.33% from the top.
The secons
 "pop2" tss:origin y cord should be below "pop1" y at 84.66% however it is rendering above the first
.

As mentioned in comments to #821 I verified that we are parsing the "tts:origin" attribute and constructing the VttCues correctly, so it's likely to be a browser bug.
@ewosleger, if you let me know which browser(s) is/are affected I could verify the assumption and file bugs on them if need be.

So the browser is actually doing what the spec says: https://w3c.github.io/webvtt/#webvtt-cue-line-automatic
In a list of cues, the first cue will be given the line -1, the second -2, and so on. This leads to the captions appearing reversed.  I've checked dash.js and it has the same issue.

If the browser behavior is to-spec, then we should reverse the order of the cues before sending them to the browser.

We've pushed a fix to master for the case where line=auto, but we will leave this issue open a little longer until we can determine what the issue is in other cases.

I'm unable to reproduce any issue in Chrome's support of line=.
I've tested line=-1, -2, -3 with snapToLines=true and line=10, 20, 30 with snapToLines=false.  In all cases, in any insertion order, the display is correct.
If you see any further issue with this, please let us know and we can reopen.

Fix cherry-picked for v2.1.6.


improvement(client): deprecation cleanup

For merge-tree and sequence packages, setup as many internal only types/values without compromising continued support for deprecated API use by customers.

Why did you create another PR which is the same as the PR i already have in progress: https://github.com/microsoft/FluidFramework/pull/22696

I'd rather go with the PR i have. i don't see any particular advantage to this approach, it just seems like a highly opinionated redo of #22696

Absolutely no opinions of specific code - just a squash of existing branch with breaking changes portions removed (saved for later). I am opinionated about the staging - really just concerned about the amount of effort being put into maintaining this and the risk of doing so much in one shot. Where we can break work down into smaller steps and make incremental progress, we will reduce risk and make things easier.
I think you should own this code/PR and drive it to merge into main. You can get feedback from reviewers now and address ahead of when we enter the breaking change window.
I also recommend that the breaking change PR be kept relatively simple - mostly removal of the deprecated code or relabeling of those things going to internal. For the latter I would stage modifications capable from the shift to a follow-on. (Though if follow-ons are trivial, then okay to keep with the breaks. Just want to make it easy for reviewers to approve.)

Commit of outstanding changes not included from test/remove-ISegment-deprecations: https://github.com/microsoft/FluidFramework/commit/45d2e8b7bc85bd9af95a71eaadda7c232d20dc42

I'll stick with my existing PRs. Thanks.

Sorry for the noise team. This should have been draft and is not prescriptive of how to run things - just an option.


Update scalafmt-core to 3.4.2

Updates org.scalameta:scalafmt-core from 3.3.3 to 3.4.2.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Codecov Report

Merging #441 (a63aa8a) into master (3efbbf3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #441   +/-   ##
=======================================
  Coverage   99.51%   99.51%
=======================================
  Files           8        8
  Lines         412      412
  Branches       41       41
=======================================
  Hits          410      410
  Misses          2        2

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 3efbbf3...a63aa8a. Read the comment docs.


Items disappearing when transferring into terminal interface

I'm not quite sure how to prove this through a log or a video if I manage to catch it, but since the version 0.4.1 Enigmatica 6 debuted, I occasionally lose items when requested them. All I can tell after testing is that it might be related to when you ask for 64 of something that doesn't have that much. Still testing as I go to see if it happens using exact numbers... If there's anything else I can gather let me know. Hopefully this is the right spot!
My most recent example:
Had 44 wheat in a vanilla chest hooked up to pipes, only a low speed extractor on a pipe attached, along with a pipe pressurizer.
Requested 64 with the shift click, I got exactly half the stack instead, and the other 22 disappeared.
I tried to leave the server and reconnect afterwards to see if it was client-side, it doesn't appear to help.

If you can't consistently reproduce this issue, it'll be hard for me to attempt to fix it. I think your best bet would be to try to recreate a simpler version of your current setup in a creative world and narrow down what exactly might be causing the issue. Any slight anomalies you find would help, really!

Well, about 30 minutes in creative and I'm really unable to replicate it. Maybe something going on with the server? I'll keep at it and let you know.

Alright, definitely seems like it's something server side, or maybe setup wise. I just had two happen in a row, one was using 64 to request a smaller set, and the other was an exact retrieval amount, both halved the items on retrieval. I'll see if I can clone the server world and test locally.

Do you have your chests connected to the network twice? That would explain the double item reports.

Interesting, I'll double check. Sorry about that, I get the feeling that it
is that.... I tried to be too compact!
On Sat, Feb 27, 2021, 1:58 PM Ellpeck<EMAIL_ADDRESS>wrote:

Do you have your chests connected to the network twice? That would explain
the double item reports.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Ellpeck/PrettyPipes/issues/76#issuecomment-787134254,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMD5HEHIBUEGIHTD4JKLBJDTBFMIFANCNFSM4YKFJTEQ
.

Yup, I see what happened in my setup. I'm sorry for taking up your time. Thanks for working through it with me.


Use prebuilt GHC to compile hscolor

Currently if one changes generic-builder.nix for haskell and builds package for GHC 8.0.2, two GHCs are rebuilt. On darwin my feedback loop takes 4h+.
I suggest we package up hscolor using prebuilt binary GHC and just run make && make install to get the binary.
Meanwhile one can use https://gist.github.com/cleverca22/60c46368afb999c16224fc17af5c538d by @cleverca22 for rapid development on generic-builder.nix

BTW, hscolor is just used by the GHC for base and the other wired-in libraries?

@Ericson2314 that's my understanding, yes. And GHC only needs the binary.

I've given this a try, but because of alex and happy it's best to use bootPkgs and pass the package set a binary ghc to get only executables. So this work depends on https://github.com/NixOS/nixpkgs/pull/29688


Repos not detected for user

The following user contacted me about several of his repos not being detected.
user:
https://sourcerer.io/benwiley4000
an example repo he pointed out is:
https://github.com/sk8border/sk8border

I'm having the same issue. This repo is not being tracked along with several other 20 https://github.com/aoancea/git-history

@anatolykislov could you check why we don't see https://github.com/aoancea/git-history ?

Hi, benwiley4000!
sk8border repo is not presented in the profile because we are not supporting Pico-8, so we don't have any statistics from this repo. Should we add support of it?

Hi, @aoancea !
We are not showing commits with a lot of vendor code to not affect profile statistics by it. For now we simply hide commits made in the same week if total LOCs count is more than 20000. Soon we will release configurable vendor filtering mechanism that will work almost like gitignore. With new filtering, it will become possible to show your repos.

@anatolykislov I gave two repos and the other was JavaScript. Please use that instead (https://github/benwiley4000/react-responsive-audio-player).

@anatolykislov so I'm guessing that;s the case for all the other repos?
and just one more thing, what vendor code are we talking about here since https://github.com/aoancea/git-history it's purely written by me in a readme.md with some asset files, or is readme.md considered vendor code as well?

@benwiley4000 What do you mean by using of react-responsive-audio-player repository? This one seems to be detected correctly. Is something wrong with it?

@aoancea that's the case for almost all repos, couple other repos are just too big (+300 MB) and can be processed by the app.
We are using brute filtering for now while we working on a customizable filtering. For example, git-history repo contains the commit with big diff (+20000) it will be filtered just because of diff size. All other commits made in the same week will be filtered too because we aggregating commits with one week interval. Sorry about that issue, working on a fix.

@anatolykislov fair enough :)


Support dynamic page data

I'd like to derive page titles from their file names without having to generate a list of pages in the config.
From what I can tell there is currently no way to modify the data that has been extracted from a page's frontmatter because it gets parsed independently from MarkdownIt, and since the markdownIt hook has no access to the page context.
Could we consider adding a hook that receives the extracted page data and path context and returns the modified data?

The config can be code — can you generate the list dynamically there? Or is the idea that you want it to affect the title in the browser window, not just the in the sidebar? Can you give more context around this use case? Why do you need to generate titles from file names, rather than say having h1 elements within the pages?

I think this is already supported in the sense that you can write code in your config file, so closing. If there’s more context around the use case here, feel free to comment and we can consider reopening.


Create a UI Design for 'Genres' page

Create a figma file for Genres page, make sure it looks similar to the Homepage(Explore page).
Steps :

Fork and clone it
Install dependencies
Open the Design folder
Create a new sub-folder called "Desktop-Genres_page"
Add a Figma/image file of the design u created
Push it and create a PR

@Aman-Mandal  can I do it

thanks

i would like to contribute will you please assign me this.

i would like to contribute will you please assign me this.

Go ahead✨

done @Aman-Mandal please check

done @Aman-Mandal please check

Nice one!!🤞


add Bucharest-craftsmanship CodeRetreat

Facilitated by Victor Rentea (victorrentea.ro) and fellow craftspersons.

Add CodeRetreat - craftsmanship CodeRetreat


Adding ntp pool servers as backups to tick and tock

I think we should add the ntp pool as a backup for the campus servers. This makes ntp work no matter what, but prefers campus first.
From http://www.pool.ntp.org/en/use.html: The 0, 1, 2 and 3.pool.ntp.org names point to a random set of servers that will change every hour.

Sounds like a good idea to me!


Benchmark cross-validation and model-selection

This task is to benchmark the cross-validation and model selection methods in Shogun (against e.g. sklearn)

Cross-validation itself
Specifying a grid over parameters (2max) and trying all options, returning the best parameters
Algorithms to start with: KRR, SVM, SVR

Note this involved many different benchmarks. Start with a single method.

Hello, I am new to open source community. I would like to work on this as my first issue


Break out 'up' telemetry to fire init, provision, and deploy

CC: @savannahostrowski
Describe the bug
Currently, there is one telemetry event that corresponds to an azd up invocation.
Expected behavior
It would be better to fire one telemetry event for each underlying command (init, provision, and deploy). We can add a new property to indicate whether the init/provision/deploy command was invoked independently or was called by up.
Additional context
This will make it easier to understand where customers who invoke up are getting stuck.

@weikanglim @ellismg Let's make sure that we factor this into any telemetry update plans required as part of the command exploration.


Docs: List of all supported databases seems to be missing

I've been searching through the whole docs page and can't seem to find anything like a complete list. A few tables on the page list a whole bunch of classical relational databases, and it mentions Druid is supported, however I've also seen issues related to connecting with Redis over here, which I know is a NoSQL database. The authors of those issues didn't get told Redis isn't supported, which I assume they would have been if that were the case. I also have the impression that the tables (mostly related to SQLAlchemy connections) don't list all supported relational databases either.
A complete list of all supported databases would be very helpful for people with any database for which you currently can't tell whether it's supported, for example, graph databases, as well as for explaining Superset in a bachelor thesis or a comparable report document.

They are listed in the README and in https://superset.incubator.apache.org/installation.html#database-dependencies

From these sources, it would follow that Superset supports relational databases and Druid, and nothing else. That kind of contradicts the fact that it seems to support Redis.

Exactly, there's no such thing as redis support

References to Redis in the docs would be around the use of Redis by Superset as a caching backend, results backend for SQL Lab or as the broker for Celery (which we use for SQL Lab in async mode (optional)).

Alright, now I understand better. It had seemed that users were trying to connect with Redis using Superset without being told it's not supported, which was confusing. Thanks for explaining that!


[BUG] Visual weirdness when closing in borderless window

Is there an existing issue for this?

[X] I have searched the existing issues and none matched.

Operating System
Raspberry Pi OS 64 bit
CPU
Raspberry Pi 4B 4GB
GPU
No response
Storage
SD card
Game Version
4.14.0
Game Mode
dance
Theme
Soundwaves 4.14.0 (or 4.14.1, whichever one comes with <IP_ADDRESS>)
Describe the problem
This is either an OutFox issue or maybe even an OS issue, not sure.
When exiting the game in Borderless Window setting, a few odd behaviors have been observed. The game for me runs in 720p and the TV/Pi output outside of the game is in 1080p. The first odd behavior is that I see the desktop in a smaller size which doesn't take up the entire TV window, it looks smaller like the size the game was in relative to 1080p output (not describing it well, but you can see what I mean in the video below). Right clicking seems to bring things back to normal, although that's not shown in the video.
The second odd behavior shown (which also happens after exiting) is where the game window stays on the screen but is unresponsive. The Pi OS taskbar can be seen, mostly. The game window does not respond, and right clicking anywhere immediately makes that 'ghost game' window disappear.
See the video of both the things above here: https://www.youtube.com/watch?v=pVbzB0ydk7k
Describe what should happen
The game should close cleanly without any odd artifacts such as described above.
Relevant Log output
info.txt
log.txt

I will fix this for 4.16, as we need to update one of the internal libraries we use for this one.
Thanks for reporting, and we'll keep this open till the work is done

fixed in alpha V 042, will look at a backport, but you need to use the glad renderer and have the 'opengl driver' enabled in raspiconfig


[Snyk] Security upgrade netlify-cli from 17.10.1 to 17.21.2

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `yarn` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

package.json

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

591/1000  Why? Recently disclosed, Has a fix available, CVSS 6.1
Open Redirect SNYK-JS-EXPRESS-6474509
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Open Redirect

👷 Deploy Preview for effortless-cendol-07821c processing.

Name
Link

🔨 Latest commit
c03d95cb27ed005dc4bd5a075e8704a9d0811327

🔍 Latest deploy log
https://app.netlify.com/sites/effortless-cendol-07821c/deploys/6610ca36a6c4e10008bc1dbf


feat: show tooltip when hover on Status column

add HeaderWithInfo component
add tooltip on Status header in Build, Boot, Test tab

Close: #233
https://github.com/user-attachments/assets/85763faf-d926-4f0e-b4fa-cc68f96ef9ad

Please add in the tree listing even though it is not in the ticket


Azure text-to-speech is not accessable in Windows 2012 r2

Describe the bug

https://azure.microsoft.com/en-us/updates/azuretls12/ - here MS says that they are going to switch to tls12, it is okey. Win2012r2 support this version of TLS.

Here the list of cipher that win10 supports: https://docs.microsoft.com/en-us/windows/win32/secauthn/tls-cipher-suites-in-windows-10--version-1507
It contains following ciphers suites
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256

Here the list of cipher that win2012r8 (aka win8.1) supports: https://docs.microsoft.com/en-us/windows/win32/secauthn/tls-cipher-suites-in-windows-8-1
It does not contain the cipher suites from above

And this is Azure endpoint of text-to-speech API: https://southeastasia.tts.speech.microsoft.com/cognitiveservices/v1
With help of this utils https://github.com/rbsec/sslscan i have scanned the site above to see what cipher suites it supports
> sslscan.exe --tls1.2 southeastasia.tts.speech.microsoft.com
...
Connected to <IP_ADDRESS>
Testing SSL server southeastasia.tts.speech.microsoft.com on port 443 using SNI name southeastasia.tts.speech.microsoft.com
...
Supported Server Cipher(s):
Preferred TLSv1.2 128 bits ECDHE-RSA-AES128-GCM-SHA256 Curve 25519 DHE 253 <<< win10 only
Accepted TLSv1.2 256 bits ECDHE-RSA-AES256-GCM-SHA384 Curve 25519 DHE 253 <<< win10 only
Accepted TLSv1.2 256 bits ECDHE-RSA-CHACHA20-POLY1305 Curve 25519 DHE 253 <<< non-win at all
...

It appears that text-to-speech TLS supports only three suites:

one is not supported by any windows version,
and other two are supported only by windows 10

So win2012 server is not supported by azure text-to-speech,
To Reproduce
Try to get tts voices list like described  in the documentation, here the powershell script
# getlang.ps1

$RestHeader = @{
  'Content-type'='application/x-www-form-urlencoded';
  'Content-Length'= '0';
  'Ocp-Apim-Subscription-Key' = 'TTS-SUBSCRIPTION-KEY';
}
$bearer = Invoke-RestMethod -Method POST -Uri `
 "https://southeastasia.api.cognitive.microsoft.com/sts/v1.0/issueToken" `
 -Headers $RestHeader

Write-Host $bearer

$RestHeader = @{
  'Authorization' = 'Bearer '+$bearer;
}
$langs = Invoke-RestMethod -Method Get -Uri `
  "https://southeastasia.tts.speech.microsoft.com/cognitiveservices/voices/list" `
  -Headers $RestHeader

$langs

on win10 the script works,
on 2012/2008 it successfully fetches the token and then get an exception 'The request was aborted: Could not create SSL/TLS secure channel.' on the second Invoke-RestMethod.

Expected behavior
It should work on win2012r2
Version of the Cognitive Services Speech SDK
no sdk, plain http requests.
Platform, Operating System, and Programming Language

OS: Windows 2012r2
Hardware - x64
Programming language: C#

Hi @sprgchma - I'm raising this with the team to find the best person suited to get support, I'll update you when I have more. Thanks!

@wolfma61 Would you comment on this, using rest API should work on Windows Server 2012 R2 which is based on Windows 8.1?

As for 2020-10-04 the scanning gives five cipher suites:
Preferred TLSv1.2  256 bits  ECDHE-RSA-AES256-GCM-SHA384   Curve 25519 DHE 253
Accepted  TLSv1.2  256 bits  ECDHE-RSA-CHACHA20-POLY1305   Curve 25519 DHE 253
Accepted  TLSv1.2  128 bits  ECDHE-RSA-AES128-GCM-SHA256   Curve 25519 DHE 253
Accepted  TLSv1.2  256 bits  ECDHE-RSA-AES256-SHA384       Curve 25519 DHE 253
Accepted  TLSv1.2  128 bits  ECDHE-RSA-AES128-SHA256       Curve 25519 DHE 253

Last two ones are supported by win2012r2 (and by win2008r2). So for now problem is resolved by Azure team.


[Bug]: Error Occurs Upon Registering Despite Entering All Information Correctly

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
When attempting to register a new account, after entering all the required information on the registration page (e.g., name, email, password.) and clicking the "Register" button, an error message is displayed, preventing successful registration.

Navigate to the registration page.
Fill in all mandatory fields (e.g., username, email, password, etc.).
Click the "Register" button.
Observe that an error message appears and the registration fails.

Expected behavior
Upon entering all required information correctly and clicking the "Register" button, the user should be successfully registered and redirected to the appropriate page (e.g., login page or dashboard).
Add ScreenShots

On which device are you experiencing this bug?
Windows
Record

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

Hi @Trisha-tech ,
I've reported an issue related to the registration process, where users encounter an error after entering all the required information. Could you please review the issue and assign it to me for resolution?
Thanks!

Hi @Trisha-tech ,
I've reported an issue related to the registration process, where users encounter an error after entering all the required information. Could you please review the issue and assign it to me for resolution?
Thanks!

Did you run your server on localhost while testing the client side ?

Hi @Trisha-tech ,
I've reported an issue related to the registration process, where users encounter an error after entering all the required information. Could you please review the issue and assign it to me for resolution?
Thanks!

Did you run your server on localhost while testing the client side ?

No, I didn't run the server on localhost.

Hi @Trisha-tech ,
I've reported an issue related to the registration process, where users encounter an error after entering all the required information. Could you please review the issue and assign it to me for resolution?
Thanks!

Did you run your server on localhost while testing the client side ?

No, I didn't run the server on localhost.

If you dont the run the server, how will your api request be successful

If you dont the run the server, how will your api request be successful

The issue is on your live website. When I visited the live site at https://book4u-j5au.onrender.com/signup, it gave an error.

Obviously. The api endpoint is hardcoded with localhost in SignUp page. There is no env provided for the live website. Do you want to fix this?


Set machine type

Would be nice if we could specify the machine type for the VM. I'd like to use Q35 for example.
Also, thank you for this awesome provider!

+1

This was added in #684, but it looks like it isn't documented yet. Add this to your block:
resource "proxmox_vm_qemu" "examplename" {
  machine     = "q35"
  ... (shortened for brevity)
}

/notfixed - Needs documentation

/notfixed - Needs documentation

/notfixed needs documentation

/notfixed


Merge remote-tracking branch 'refs/remotes/ButchersBoy/master'

think you opened this my mistake???


Do not perform network namespace detection on AV update

Update is not required to be in the same network namespace as everything else, because we're just restarting an existing server with an updated config. Make the check for Aardvark's netns only happen if we are not updating as such.
Fixes #911

@Luap99 Do you think we can test this in CI? The netns stuff we're doing in Netavark testing confuses me a bit

Thank you! @mheon @lsm5 any idea when we can expect a rawhide bodhi?

We can get a version cut this afternoon and work with that
On Wed, Jan 31, 2024 at 12:28 Ed Santiago @.***> wrote:

Thank you! @mheon https://github.com/mheon @lsm5
https://github.com/lsm5 any idea when we can expect a rawhide bodhi?
—
Reply to this email directly, view it on GitHub
https://github.com/containers/netavark/pull/912#issuecomment-1919573655,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3AOCFJAIXJEDX6IL4LSCTYRJ5LTAVCNFSM6AAAAABCRWMWPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJZGU3TGNRVGU
.
You are receiving this because you were mentioned.Message ID:
@.***>


gcc vs g++ issue on OSX

Not sure if anyone will see this, but I had issues compiling with GCC 4.9 on OSX 10.9.5 (Mavericks)
You need to make sure to use g++ and NOT gcc as they call a different standard lib.
This is not really an issue per-say just a gotcha.

Rob,
Thanks for the post. The README does say a C++ compiler but I will further
clarify. :)
On Tue, May 12, 2015 at 7:16 PM Rob Ellis<EMAIL_ADDRESS>wrote:

Not sure if anyone will see this, but I had issues compiling with GCC 4.9
on OSX 10.9.5 (Mavericks)
You need to make sure to use g++ and NOT gcc as they call a different
standard lib.
This is not really an issue per-say just a gotcha.
—
Reply to this email directly or view it on GitHub
https://github.com/EducationalTestingService/python-zpar/issues/16.


Orders filled but algorithm still considers them open

Hi,
See this issue for my environment.
Description of Issue
When selling positions in bch_btc and ltc_btc on Poloniex using effectively market orders (actually limit orders with limit one quarter of the current price), the following happened (according to the log below):

The two orders were placed at 06:01:00.
They were filled around 6:01:02.
A few seconds later, the algorithm somehow saw the orders as still open. It mentions that they have been open for 48 seconds, which doesn't make sense to me: they were placed a few seconds earlier. Or maybe this refers to when the ordering function was called?
The algorithm detected that the positions in bch_btc and ltc_btc were now zero, and updated itself without adding to the cash the proceeds of the sale.
This results in an apparent loss corresponding to the amount of the sold positions.
See the output of the algorithm below. The algorithm uses order_target() to do the ordering.

I should emphasize this behavior is rather random. Numerous positions were sold previously without problem. Maybe the problem lies in the way that Catalyst deals with imperfect network connections.
[2018-04-20 06:01:04.910546] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>12 for etc_btc still open after 0 days 00:00:48.910343
[2018-04-20 06:01:06.870621] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>37 for zec_btc still open after 0 days 00:00:48.870499
[2018-04-20 06:01:07.968919] WARNING: Exchange: detected lower balance for etc_btc on poloniex: 1e-08 < 1.21984671, updating position amount
[2018-04-20 06:01:07.969499] WARNING: Exchange: detected lower balance for zec_btc on poloniex: 0.0 < 0.08515753, updating position amount

Here is how you can reproduce this issue on your machine:
Reproduction Steps

Let an algorithm buy and sell positions on Poloniex with market orders for some time. Sorry not to be able to be more specific.

Thanks,
Samuel

The same problem occurred again today:
[2018-04-21 10:01:02.202519] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>59 for eth_btc still open after 0 days 00:00:49.202378
[2018-04-21 10:01:04.188911] INFO: exchange_blotter: filled order<PHONE_NUMBER>33 / xmr_btc: -0.08798392, avg price: 0.0287
[2018-04-21 10:01:04.387562] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>78 for dash_btc still open after 0 days 00:00:46.387431
[2018-04-21 10:01:08.552261] WARNING: Exchange: detected lower balance for eth_btc on poloniex: 1e-08 < 0.03785018, updating position amount
[2018-04-21 10:01:08.552671] WARNING: Exchange: detected lower balance for dash_btc on poloniex: 0.0 < 0.05010401, updating position amount
[2018-04-21 10:02:01.740460] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>59 for eth_btc still open after 0 days 00:01:48.740303
[2018-04-21 10:02:02.063831] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>78 for dash_btc still open after 0 days 00:01:44.063704
[2018-04-21 10:03:01.040884] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>59 for eth_btc still open after 0 days 00:02:48.040747
[2018-04-21 10:03:03.544402] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>78 for dash_btc still open after 0 days 00:02:45.544278
[2018-04-21 10:04:00.168558] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>59 for eth_btc still open after 0 days 00:03:47.168406
[2018-04-21 10:04:01.171477] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>78 for dash_btc still open after 0 days 00:03:43.171325
[2018-04-21 10:05:00.986617] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>59 for eth_btc still open after 0 days 00:04:47.986476
[2018-04-21 10:05:01.071377] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>78 for dash_btc still open after 0 days 00:04:43.071244
[2018-04-21 10:06:01.367336] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>59 for eth_btc still open after 0 days 00:05:48.367172
[2018-04-21 10:06:03.006136] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>78 for dash_btc still open after 0 days 00:05:45.006006
[2018-04-21 10:07:02.250078] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>59 for eth_btc still open after 0 days 00:06:49.249934
[2018-04-21 10:07:02.823603] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>78 for dash_btc still open after 0 days 00:06:44.823465
[2018-04-21 10:08:00.807984] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>59 for eth_btc still open after 0 days 00:07:47.807832
[2018-04-21 10:08:01.780877] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>78 for dash_btc still open after 0 days 00:07:43.780726
[2018-04-21 10:09:00.876752] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>59 for eth_btc still open after 0 days 00:08:47.876616
[2018-04-21 10:09:01.325911] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>78 for dash_btc still open after 0 days 00:08:43.325783
[2018-04-21 10:10:02.481622] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>59 for eth_btc still open after 0 days 00:09:49.481463
[2018-04-21 10:10:02.679058] INFO: exchange_blotter: poloniex order<PHONE_NUMBER>78 for dash_btc still open after 0 days 00:09:44.678908

and so on. Catalyst never detects that these orders have been filled.

Hi, can you please elaborate more on this issue? it seems from the logs that the filled orders are on the two pairs you brought up (bch_btc & ltc_btc) but the open orders are on different pairs (etc_btc & zec_btc)

Hi, sorry for the confusion. I edited the logs to remove the lines unrelated to the problem. The problem in the first post is for the pairs etc_btc and zec_btc. I know the orders were filled by looking at the exchange. The algorithm detected that the balance for these pairs went down to zero (the two warning), but it didn't consider the orders as filled. As a result, it failed to add the proceeds of the sales into the cash account, creating an apparent loss.
As far as the exchange is concerned, everything went smoothly. I see the orders in the history:
  | ZEC/BTC | Sell | Exchange | 0.03113212 | 0.02512898 | 0.00000196 BTC (0.25%) | 0.00078035 BTC | 2018-04-20 06:00:18
  | ZEC/BTC | Sell | Exchange | 0.03114000 | 0.01201778 | 0.00000094 BTC (0.25%) | 0.00037329 BTC | 2018-04-20 06:00:18
  | ZEC/BTC | Sell | Exchange | 0.03115000 | 0.01206398 | 0.00000094 BTC (0.25%) | 0.00037485 BTC | 2018-04-20 06:00:18
  | ZEC/BTC | Sell | Exchange | 0.03116000 | 0.01205813 | 0.00000094 BTC (0.25%) | 0.00037479 BTC | 2018-04-20 06:00:18
  | ZEC/BTC | Sell | Exchange | 0.03117000 | 0.01204436 | 0.00000094 BTC (0.25%) | 0.00037448 BTC | 2018-04-20 06:00:18
  | ZEC/BTC | Sell | Exchange | 0.03118000 | 0.01184430 | 0.00000092 BTC (0.25%) | 0.00036838 BTC | 2018-04-20 06:00:18
  | ETC/BTC | Sell | Exchange | 0.00219839 | 1.21984670 | 0.00000670 BTC (0.25%) | 0.00267499 BTC | 2018-04-20 06:00:16

The same is true for the issue reported in the second post. On the exchange everything looks normal:
  | DASH/BTC | Sell | Exchange | 0.05006652 | 0.03193609 | 0.00000400 BTC (0.25%) | 0.00159492 BTC | 2018-04-21 10:00:18
  | DASH/BTC | Sell | Exchange | 0.05010720 | 0.01816792 | 0.00000228 BTC (0.25%) | 0.00090806 BTC | 2018-04-21 10:00:18
  | ETH/BTC | Sell | Exchange | 0.06740368 | 0.03785017 | 0.00000638 BTC (0.25%) | 0.00254486 BTC | 2018-04-21 10:00:13

I have the same problem. I think it's because when retrieving the status of an order from the exhange the value of the filled field does not treat the decimals well.  It could also explain why sometimes a tiny balance remains after selling a position (of the order 1e-17 or so), as mentioned here.

i'll try reproducing it, Thanks!

Hi @trungtv,
We are actively working on this issue for the past couple of days at high priority. It led us to a few issues that we are investigating. Hopefully we could introduce a complete solution shortly, will update when it's done.
Of course, we want to find a proper solution which will solve this issue and won't harm any use cases.

@sam31415 just to clarify, on which type of order does this issue occur? order_target()/order()/ all orders?

I modified my algorithm in the mean time so I'm not sure whether it was order_target() or order(). Anyway all these functions are wrappers for a single ordering function, and I don't think the problem lies in the wrappers.
Actually my original post mentions it was with order_target(). But again, my guess is that the problem will occur no matter how you do the ordering.

This workaround have worked for me:  i've modified the definition of the property open_amount in catalyst/finance/order.py and all the orders have been filled since the modification. I know it's an ugly arrangement, but as long as the problem is not definitively fixed, it'll do.
    @property     def open_amount(self):         if abs(self.filled) > abs(self.amount):             return 0.0         if abs(self.filled - self.amount) < 0.000000001:             return 0.0         return self.amount - self.filled

@manelrovira Thanks I'll try that.
@AvishaiW I should also mention that I did not encounter this problem on Binance. I had a few orders filled against 2 or 3 limit orders and catalyst handled them correctly (using the order function in this case).

@manelrovira and @trungtv , did you also expedience this problem on Poloniex only (like @sam31415 indicated)?

➤ Lena Kleyner commented:
testing

I'm having the problem in binance.

Thanks for the update @manelrovira

Fixed at release 0.5.10.


⚠ Bofrost.be has degraded performance

In b3943db, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1619 ms

Resolved: Bofrost.be performance has improved in 8e5573e after 44 minutes.


Authorization token duration

How long does the authorization token last?
In my case it is lost every week, having to re-authorize the account.

[https://developers.google.com/identity/protocols/oauth2?hl=en#expiration]
A Google Cloud Platform project with an OAuth consent screen configured for an external user type and a publishing status of "Testing" is issued a refresh token expiring in 7 days.

Yes – API clients that are in test mode (or are unpublished/unreviewed) often have quite short-lived tokens. They also typically have an additional warning step in the authorisation flow.
The solution is either to publish your project or use an ID/secret from an existing client.


Can't add Repository via Url and also with manual copy

What am I doing wrong ?

What is your error in the logs?

nerver mind I tried it in a hury.
Works now


x/build/cmd/gomote: put14 reports "unknown builder"

$ gomote create openbsd-386-gce56
$ gomote push user-austin-openbsd-386-gce56-0
$ gomote put14 user-austin-openbsd-386-gce56-0
Error running put14: unknown builder "user-austin-openbsd-386-gce56-0"

I think namedConfig in list.go hasn't kept up with the user-x-builder-n notation, since it looks for a build config whose name is a prefix of the given buildlet name.

Thanks for the report.
I forgot about the put14 command when we changed the auth. FWIW, put14 isn't very useful, since push does it for you anyway. I think we've made the decision to just nuke the old auth mode and old user-x-builder-n notation entirely (which was never finished anyway), and use the new proxy-via-coordinator style. That will simplify the gomote code. I'll use this bug for that.

FWIW, put14 isn't very useful, since push does it for you anyway.

It looked like this wasn't working because it also depended on namedConfig.


🦆 New Duck Jokes Needed

We've got a couple of really solid duck jokes but we need some more because I'm getting tired of looking at the same jokes over and over. If you've got any jokes, comment them below and I will add them in. If you like one of the jokes in the comments, make sure to react to it with an emoji!
You can also submit a pull request with the joke in it. This will save me some time and it will make you a contributor to the project!

Seems to be a duplicate issue of #8 ?

Yep- it is.


Linux Build for Share

That is a last build of Diablerie https://my.pcloud.com/publink/show?code=kZFUoYkZMLFgbUHfqxL3EwAsgcmvtVonw43y
If you want to share.
Best Regards

Thanks! I'll keep it here because I have an automated system to publish builds from Unity Cloud Build, so it's easier to wait a bit for the latest version support.


Is that possible support more mobile browsers?

Notify.js will support any mobile browser that supports the Web Notification API.


ValueError: X contains non-finite values

I run example at https://pysteps.readthedocs.io/en/latest/auto_examples/plot_noise_generators.html#sphx-glr-auto-examples-plot-noise-generators-py
Error occurs at
Fp = initialize_param_2d_fft_filter(R)

Hi @Fangyh09, can you provide the error message and the OS that you are using?

from matplotlib import cm, pyplot
import numpy as np
import os
from pprint import pprint
from pysteps import io, rcparams
from pysteps.noise.fftgenerators import initialize_param_2d_fft_filter
from pysteps.noise.fftgenerators import initialize_nonparam_2d_fft_filter
from pysteps.noise.fftgenerators import generate_noise_2d_fft_filter
from pysteps.utils import conversion, rapsd, transformation
from pysteps.visualization import plot_precip_field, plot_spectrum1d

# Import the example radar composite
root_path = rcparams.data_sources["mch"]["root_path"]
filename = os.path.join(root_path, "20160711", "AQC161932100V_00005.801.gif")
R, _, metadata = io.import_mch_gif(filename, product="AQC", unit="mm", accutime=5.0)

# Convert to mm/h
R, metadata = conversion.to_rainrate(R, metadata)

# Nicely print the metadata
pprint(metadata)

# Plot the rainfall field
plot_precip_field(R, geodata=metadata)

# Log-transform the data
R, metadata = transformation.dB_transform(R, metadata, threshold=0.1, zerovalue=-15.0)

# Assign the fill value to all the Nans
R[~np.isfinite(R)] = metadata["zerovalue"]

# Fit the parametric PSD to the observation
Fp = initialize_param_2d_fft_filter(R)

# Compute the observed and fitted 1D PSD
L = np.max(Fp["input_shape"])
if L % 2 == 0:
    wn = np.arange(0, int(L / 2) + 1)
else:
    wn = np.arange(0, int(L / 2))
R_, freq = rapsd(R, fft_method=np.fft, return_freq=True)
f = np.exp(Fp["model"](np.log(wn), *Fp["pars"]))

# Extract the scaling break in km, beta1 and beta2
w0 = L / np.exp(Fp["pars"][0])
b1 = Fp["pars"][2]
b2 = Fp["pars"][3]

# Plot the observed power spectrum and the model
fig, ax = pyplot.subplots()
plot_scales = [512, 256, 128, 64, 32, 16, 8, 4]
plot_spectrum1d(
    freq,
    R_,
    x_units="km",
    y_units="dBR",
    color="k",
    ax=ax,
    label="Observed",
    wavelength_ticks=plot_scales,
)
plot_spectrum1d(
    freq,
    f,
    x_units="km",
    y_units="dBR",
    color="r",
    ax=ax,
    label="Fit",
    wavelength_ticks=plot_scales,
)
pyplot.legend()
ax.set_title(
    "Radially averaged log-power spectrum of R\n"
    r"$\omega_0=%.0f km, \beta_1=%.1f, \beta_2=%.1f$" % (w0, b1, b2)
)

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-10-b4008649c42f> in <module>()
      1 # Fit the parametric PSD to the observation
----> 2 Fp = initialize_param_2d_fft_filter(R)
      3
      4 # Compute the observed and fitted 1D PSD
      5 L = np.max(Fp["input_shape"])

~/miniconda2/envs/maskrcnn_benchmark/lib/python3.6/site-packages/pysteps-1.0.0-py3.6-linux-x86_64.egg/pysteps/noise/fftgenerators.py in initialize_param_2d_fft_filter(X, **kwargs)
     98         raise ValueError("the input is not two- or three-dimensional array")
     99     if np.any(~np.isfinite(X)):
--> 100         raise ValueError("X contains non-finite values")
    101
    102     # defaults

ValueError: X contains non-finite values

uname -a
Linux nonews 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

@aperezhortal
I found the reason, R is all nan after io.import_mch_gif.
What are the possible reasons?

I can't reproduce the error in my enviroment.
One possibility is that the file is corrupt. To discard that possibility, try using a different file, like:
filename = os.path.join(root_path, "20150515", "AQC151351605F_00005.801.gif")
Also, you can try to sync the pysteps-data dir using git pull.

If that does not work, another thing to try is reinstalling the PIL package used to read the GIFs:
conda install PIL --force-reinstall

I installed using this way:
git clone https://github.com/pySTEPS/pysteps.git
python setup.py install

python setup.py install will try to install only missing dependencies, it won't update any package.
From your error log , it seems that you installed Pystepst in an anaconda environment (maskrcnn_benchmark).  Hence, I think that you can update PIL using:
source activate maskrcnn_benchmark

conda install PIL --force-reinstall

To discard any issues with the pysteps-data files, try cloning that repo again.

When fix old errors, I met with new error
"ImportError: cannot import name 'create_prompt_application".
Reproduce
conda create -n pysteps
conda install pysteps
jupyter notebook

@aperezhortal Could you reproduce the error?
Any other way to install the enviroment?

@Fangyh09, that error is related to the jupyter package, and not pysteps.
I tryied the following steps to install both packages in the new environment and everything worked fine.
conda create -n pysteps
source activate pysteps   ( activate the environment, otherwise pysteps will be installed in the base env)
conda install pysteps jupyter

jupyter notebook

@aperezhortal You are right.
Thanks for your quick reply... It works after
conda create -n pysteps # <--- important
source activate pysteps
conda config --env --set channel_priority strict
conda config --env --prepend channels conda-forge
conda install pysteps jupyter
jupyter notebook


API: Rethinking input validations

I propose a general reflection around input validation. Part of this reflection happened on the scipy-dev mail list. The objective of this issue is to come to a decision about how we should structure existing and new codes.
In a recent issue #13629 (and #13474), the cost of validation was raised in context such as optimization.
In situations like these, or even when you know how to use the API, there are lots of unnecessary validations happening.
Following are some ideas which got discussed.
Propositions
Split the API
A simple approach would be to systematically separate the logic in two: core function on one side, user interface on the other. This way the user could by-pass all the time the validation. The core function would be private. It would be the responsibility of the user to use it correctly as we would not guarantee the interface.
def func(*inputs):
  ... validate, raise errors as necessary ...
  result = _func(*sanitazed_inputs)
  return result

A possibility would be to add a validation: bool keyword in the public API.
Mock validations
After some quick tests, it looks like the overhead is too big. I could be wrong.
Here is a simple experiment:
import time
from unittest.mock import patch

import numpy as np
from scipy.spatial import distance

coords = np.random.random((100, 2))
weights = [1, 2]

itime = time.time()
for _ in range(50):
    distance.cdist(coords, coords, metric='sqeuclidean', w=weights)

print(f"Time: {time.time() - itime}")

with patch('scipy.spatial.distance._validate_vector') as mock_requests:
    mock_requests.side_effect = lambda x, *args, **kwargs: np.asarray(x)

    itime = time.time()
    for _ in range(50):
        distance.cdist(coords, coords, 'sqeuclidean', w=weights)

    print(f"Time: {time.time() - itime}")

Decorator like cython.boundscheck or cython.wraparound
Need to be evaluated, but most likely would have a similar overhead as mocking above.
assert for validation
The advantage of the assert is that validation would be cleanly identified in the code (Starlette is using this mechanism). assert are removed if using python -OO. This can either be seen as a feature or a bug. Launching python in optimized mode would indeed make SciPy faster and in a sense "optimized". But this is still more of a hidden and misunderstood behaviour of Python and this would probably break a lot of code.
Also, error message from assert are not perfect and a more complicated treatment might be required.
array_like
This simple check is used everywhere and is actually responsible of lots of overhead. It's usage should be reconsidered as to what we really thrive to check doing so.
Easier to Ask for Forgiveness than Permission
In a polished code, all tests are mostly passing all the time. We could move away from the paradigm "Look Before You Leap" to the model "Easier to Ask for Forgiveness than Permission". This is more pythonic and would definitely speedup everything.
Take aways
From these discussions, my conclusion is as follows.
For new code, we should try to split the API in 2 blocks with the core on one side and the validation on the other side. In the validation part, using a try ... except construct when possible would be beneficial too. Most user would only use the public API so we still need to have a solution for them. Of course, we could add to all functions a validation keyword, but this could/would break all signatures.

In a polish code, all tests are mostly passing all the time.

I would just like to chime in and say that I write Polish code all the time and that's not entirely true.

The cdist issue is real, but that's just badly written code that needs to be rewritten. It'd be nice to get some more compelling examples where it matters more than a few percent. I think 10-20% overhead from excessive asarray etc. calls is the worst I've seen.

I did a quick check with stats.qmc.discrepancy and removing the asarray (and the 2 small validations) lead to 800ms -> 700ms with an a sample of size (1000, 100). So yes around 10%. Thus, with the new version in Cython, the overhead will be substantial.

I did a quick check with stats.qmc.discrepancy and removing the asarray (and the 2 small validations) lead to 800ms -> 700ms with an a sample of size (1000, 100).

@tupui I can't reproduce that result from your description:
In [1]: from scipy.stats.qmc import discrepancy
   ...: from scipy.stats._qmc_cy import _cy_wrapper_centered_discrepancy
   ...: import numpy as np
   ...: space = np.random.rand(1000, 100)
   ...: %timeit discrepancy(space)
   ...: %timeit _cy_wrapper_centered_discrepancy(space, iterative=False, workers=1)
94.2 ms ± 337 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)
94.7 ms ± 529 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)

Can you post code?

I did a quick check with stats.qmc.discrepancy and removing the asarray (and the 2 small validations) lead to 800ms -> 700ms with an a sample of size (1000, 100).

@tupui I can't reproduce that result from your description:

In [1]: from scipy.stats.qmc import discrepancy

   ...: from scipy.stats._qmc_cy import _cy_wrapper_centered_discrepancy

   ...: import numpy as np

   ...: space = np.random.rand(1000, 100)

   ...: %timeit discrepancy(space)

   ...: %timeit _cy_wrapper_centered_discrepancy(space, iterative=False, workers=1)

94.2 ms ± 337 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)

94.7 ms ± 529 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)

Can you post code?

This was before discrepancy got merged with cythonization. I will try to redo some benchmark.

@peterbell10 I could reproduce the slowdown using a smaller sample. I don't get why we don't have the same 100ms though. Maybe some changes on NumPy side too.
import numpy as np
from scipy.stats.qmc import discrepancy
from scipy.stats._qmc_cy import _cy_wrapper_centered_discrepancy
rng = np.random.default_rng()
space = rng.random((100, 10))
%timeit discrepancy(space, iterative=False, workers=1)
# 132 µs ± 892 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each)
%timeit _cy_wrapper_centered_discrepancy(space, iterative=False, workers=1)
# 119 µs ± 328 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each)

Running the same code I get:
101 µs ± 375 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each)
93.9 µs ± 136 ns per loop (mean ± std. dev. of 7 runs, 10000 loops each)

Most of the time difference (~5.8 us) is spent in this line:
https://github.com/scipy/scipy/blob/5afab5ad900bac7080a42016de40aac7a14e2e36/scipy/stats/_qmc.py#L263
Which is the only check that actually reads the input array, so has O(n) cost. For comparison, the asarray call I benchmark at 0.3 us. I think it's generally true that constant time overheads are fairly okay (but worth minimizing) but O(n) or worse checks should actively be avoided.
Some functions already have a check_finite=True argument that can be disabled to stop O(n) checks for INF or NANs in the input.

It should be much faster if we write (sample.max() >= 1.) and (sample.min() <= 0.) check eliminating the extra array comparisons.


End platform spawns too far from island causing frequent void death

With the shrinking of the end island the spawn platform is quite far away from the island and the dragon is immediately aggroed on the player. This leads to situations where the player spawns in and is almost immediately sent to the void by a dragon fireball. This does not seem like a fun or better experience.

Hi, the End spawn platform has fixed coordinates (by Mojang design) and this is normal when it is far from End island. If you want to make island bigger you can change layer for the central island (from mediumIslands to bigIslands in generator.json), you can also set a custom spawn point in the same config


File does not exist when directory is empty

When trying to /PUT a new file in a directory that does not exist, I get back 400 with the message 'File does not exist'.
I think it should create the directory if it does not exist (if it won't create a directory, this basically means someone will have to manually create a key (probably even empty) in Tweek editor each time we want to work with a new directory).

fixed in #22


Fixing image error name bug

When we moved to building the images in a family tree defined order it broke the failure name reporting because it was 100% dependent on everything building AND returning in the order the builds were kicked off in. Which worked most of the time I would guess and the only time you would've seen an issue is when there were fails... where the list of failed images reported by doozer could be completely different names than what is reported by jenkins (which it got from record.log). By changing up how we order the builds this was completely broken. So I updated it to return from parallel_exec with not just a list of True/False but a list of tuples with name AND status for each. So we don't have to match things up by a non-deterministic order later.
@tbielawa @smunilla @sosiouxme

/lgtm


Add detection and print out of SCTE-35 markers

Beyond seeing elementary streams from "mp2ts-info" it would be good to see if there is a SCTE-35 PID and how many markers are in the stream. A parameter could specify that they should be printed as well.

Now we can detect the SCTE35 markers. WIth the two test files (ts_with_scte35.ts and 80s_with_ad.ts),
go run . -indent=false -service -scte35 ~/testfile.ts

we have output as follows.
{"pid":256,"codec":"AVC","type":"video"}
{"pid":257,"codec":"AAC","type":"audio"}
{"pid":1001,"codec":"SCTE35","type":"cue"}
{"SDT":[{"serviceId":1,"descriptors":[{"serviceName":"Service01","providerName":"FFmpeg"}]}]}
{"pid":1001,"spliceCommand":{"type":"SpliceInsert","eventId":255,"duration":1800000}}

and
{"pid":289,"codec":"AVC","type":"video"}
{"pid":545,"codec":"AAC","type":"audio"}
{"pid":546,"codec":"AAC","type":"audio"}
{"pid":53,"codec":"SCTE35","type":"cue"}
{"SDT":[{"serviceId":1,"descriptors":[{"serviceName":"A1Now","providerName":"Sportradar"}]}]}
{"pid":53,"spliceCommand":{"type":"SpliceInsert","eventId":8}}
{"pid":53,"spliceCommand":{"type":"SpliceInsert","eventId":1,"duration":2700000}}
{"pid":53,"spliceCommand":{"type":"SpliceInsert","eventId":1}}
{"pid":53,"spliceCommand":{"type":"SpliceInsert","eventId":2,"duration":4500000}}