Best prompts so far - Best settings - Please share and build our knowledge base

I'm surprised so few prompts have been shared in this space. It seems we are just getting started in AI music! Mubert can't compete with the flexibility of SD used for music... and I'm really grateful for the work by the riffusion guys/gals.
Please reply with your best settings to produce higher clarity sound so the community can experiment.
-Wider images 512x1024 seemed to yield more variety , ie, less repetition
-More references to musicians or albums seems to yield slightly better quality
-Negative prompts I've tried: (male vocals:1.2)(female vocals:1.2)(speech:1.2),(simple:1.2), (looping:1.3),(((repetitive))), (((missing harmony))), (((poor quality))), (((high noise))), (((poor mastering))) -- but I can't tell yet if it makes a difference

Biggest positive effect was running the first images through img2img again --> immediately  got higher quality sound, yet very poor cohesion of melody

Anyone else have tips, tricks, please share ?

I can't tell yet if it makes a difference

Best way to tell in general if your prompts are making a difference, assuming you don't want to generate 100s of images, is to try again with the same seed and different prompts.


[AM-3.0] Missing axis2-client.xml.j2 file

Description:
$subject
Steps to reproduce:
Affected Product Version:
3.0.0
Environment details (with versions):

OS:
Client:
Env (Docker/K8s):

Optional Fields
Related Issues:

Suggested Labels:

Suggested Assignees:

Duplicate of #7472


cannot download Annotations

thx for sharing,
I can download Images - https://drive.google.com/open?id=1zn-AGmsBqVheFPnDTXWBpeo3XRH1Ho15'
,
but cannot download:Annotations - https://drive.google.com/open?id=1LiTDMWk0KglGueJCaxgneEA_ltvEbUDV
,it says u have del it.

Same :,(

https://github.com/HCIILAB/SCUT-HEAD-Dataset-Release
Download from here.


"new" as name for variable create javascript error

If you create a variable with the name "new" the javascript line becomes for example new = 5 and that goes wrong because new is a special word in javascript. But when you are inside the blockeditor you won't understand what goes wrong if you don't know this.
So it should prevent you from using reserved words as variable names?

Yup, that's a bug. Thanks for pointing it out.


⚠ Fetchers has degraded performance

In 114f4a7, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 359 ms

Resolved: Fetchers performance has improved in 13656ad.


Support for Batching

[
  {
    query: `
      mutation ($input: TokenizeCreditCardInput!) {
        tokenizeCreditCard(input: $input) {
          paymentMethod {
            id @export(as: "id")
          }
        }
      }
    `,
    variables: { input: "..." }
  },
  {
    query: `
      mutation ($id: ID, $transaction: TransactionInput!) {
        chargePaymentMethod(input: { id: $id, transaction: $transaction }) {
          transaction {
            id
            status
          }
        }
      }
    `,
    variables: { transaction: "..." }
  },
]

https://github.com/apollographql/apollo-link/tree/master/packages/apollo-link-batch-http
https://blog.apollographql.com/batching-client-graphql-queries-a685f5bcd41b
https://sangria-graphql.org/learn/#batch-executor

https://github.com/graphql/graphql-spec/issues/377

In order to support this we should introduce a new IBatchQueryExecutor that yields always a response stream on execute.
public interface IBatchQueryExecutor
{
    Task<IResponseStream> ExecuteAsync(IReadOnlyList<IReadOnlyQueryRequest> batch, CancellationToken cancellationToken);
}

@export(as: "foo")
The export directive can export a field result as variable under the same name as the field name or under a name specified by the as argument.
The exported variables are pushed to a list.
When a query is executed the batch executer will analyze if the query has all variables declared, if there are variables collected from a previous query that are not declared then the variable will be inferred from the argument/field in which they are used.


Set up build farm

It would be nice to have an automatic build and CI system that continuously built and tested Clay on (win,mingw,cygwin,linux,macosx,freebsd) * (i386,x86_64,arm) in order to maintain code quality and catch platform-specific problems ASAP.

@chatur is working on a build-and-test script at https://github.com/chatur/claywheel/

http://clay.dembits.com is up and awesome, closing this


Throws an understandable exception when a bind variable is not found in Template Queries

db.runQuery {
    val sql = "select * from address where street = /*street*/'test'"
    QueryDsl.fromTemplate(sql)
        .bind("unknown", "STREET 10")
        .select(asAddress)
}

The above code throws an exception with a stack trace like this:
org.komapper.template.sql.SqlException: The expression evaluation was failed at <select * from address where street = /*street*/'test'>:1:47.
...
Caused by: org.komapper.template.expression.ExprException: The variable "street" is not found. Make sure the variable name is correct. <street>:6

Maybe there should also be a mention that the unknown bind parameter doesn't exist? And is variable something that a user would understand right away? Maybe "template variable" might be a bit more specific?

Much better, thanks! No mention of "unknown" not binding to anything, though... it wouldn't make any errors in the actual results, but rather might leave some unecessary bindings in the codebase when refactoring. I'm not sure if it should crash, but maybe have some kind of log on this situation?

Maybe there should also be a mention that the unknown bind parameter doesn't exist?

It isn't easy to detect parameters that are not referenced in the template. Besides, doing so has performance drawbacks.

And is variable something that a user would understand right away? Maybe "template variable" might be a bit more specific?

Thanks for the suggestion. I have changed the message to be more accurate.

but maybe have some kind of log on this situation?

That is a good idea. However, I will treat it as a separate issue.


[feature] tf.contrib.image.invert

/CC @ringw
Along the lines of the other utility functions in tf.contrib.image, would be great to have a tf.contrib.image.invert that takes a transform and returns the inverse transform.

Could you give an example of how this would be used? Also, how would you imagine implementing this. It seems to be it would be difficult, because you'd have to introspect a general tensor to make it work like you suggest.

Not sure what you mean about introspecting tensor. I would think this would just convert the transform, represented as a tensor of shape (num_images, 8), to the standard matrix representation of an affine transform: num_images x 3 x 3, and then doing a standard matrix inverse.
For some more info:

http://scikit-image.org/docs/dev/api/skimage.transform.html#affinetransform

This would be used in the case where you want to take an input image, transform it, run that transformed image through a network, get a result (may be coordinates or an output image) and then transform the results back to the original space.

I don't think this is feasible in general. I'll close this issue. If someone can come up with a workable design, please file a new issue.

Maybe I confused matters. This should just be a matter of reshaping the 8 values to 9 and then calling tf.matrix_inverse.

In fact that reshaping method exists: _flat_transforms_to_matrices it just isn't exported.

This also seems feasible to me.

@ringw what do you think about exposing _flat_transforms_to_matrices ?

That's fine with me, if we also expose _transform_matrices_to_flat for consistency.

This sounds fine. @cancan101, I was confused that you meant "Transforms" in the general sense ... where contrast and brightness are a type of "transform" and you wanted to be able to create an op that undoes things. Would you be willing to submit a pull request @cancan101.

I've run into numerical instabilities inverting transformation matrices before, though for data augmentation it should suffice. Usually one can construct the same matrices again using their inverse primitive affine transformations (shear, rotation etc.). Perhaps a function would be helpful that either constructs the mapping or the inverse like this tf.image.affine_transform(shear_x, shear_y, rotation, scale, inverse=False). Not entirely sure how useful that is. Just an idea.

I'd argue against adding an inverse argument for rotation and translation
where the arguments can just be negated, but if it's useful to have a
shear function, we might want an inverse argument there. (Any function
like rotate should have a corresponding function that creates the
transform, and then the user can compose the transforms in whatever order
they want.)
On Jun 18, 2017 12:01 AM, "3rd3"<EMAIL_ADDRESS>wrote:
I've run into numerical instabilities inverting transformation matrices
before, though for data augmentation it should suffice. Usually one can
construct the same matrices again using their inverse primitive affine
transformations (shear, rotation etc.). Perhaps a function would be helpful
that either constructs the mapping or the inverse like this
tf.image.affine_transform(shear_x, shear_y, rotation, scale, inverse=False).
Not entirely sure how useful that is. Just an idea.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/10737#issuecomment-309242360,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABU8HNQgeVT67blgpRMEgdEcCXgJRpCuks5sFEpOgaJpZM4N7fsW
.

Though supporting tf.image inversions is outside of the scope of TensorFlow Core, it might be a welcome contribution to image processing in TensorFlow Addons.
Transferring this issue to the tensorflow/addons repo; @seanpmorgan for visibility.


Fix player for portrait videos

Currently, non-16:9 videos do not use all the player container space. This looks especially ridiculous in the case of portrait videos. Take a look at this example: https://tobira.opencast.org/v/JZ2aKAZKlsw
EDIT: this is fixed for desktop screens. Try it with a narrow screen (e.g. smartphone)
As you can see, the outer player div has a good size (and one with the same aspect ratio as the video), but the actual video is tiny.
I am not sure if this is Paella's fault or if our integration is just bad.

I have spent some time reading paella docs and code and trying to figure out the issue but I couldn't get to the bottom of this.
Paella definitely appears to support portrait style layouts and has a function to detect whether or not to apply it (by checking if video has width > height, see https://github.com/polimediaupv/paella-core/blob/02d7c733adb8d63d6aa7e2f449476a9bfb3222e7/src/js/core/VideoContainer.js#L152).
There are two types video layout (static and dynamic) and for portrait videos to work we would need it to be dynamic (https://github.com/polimediaupv/paella-core/blob/main/doc/video_layout.md#types-of-video-layout). I guess we have it set to static, but I can't really tell if that is really the case or even how to find out.
I think additionally we also need to look at how we provide the previewImage for portrait videos. There is a portraitPreview prop (https://github.com/polimediaupv/paella-core/blob/main/doc/video_manifest.md#metadata), which I tried with the thumnail (-> doesn't work because that always seems to be 1280 x 720, even for portrait videos).
But I also tried this with a random picsum image where I set the width and height according to the video's aspect ratio (-> works). With that it isn't even required to use the portraitPreview, i.e. it also works when using this as the regular previewImage.
So yeah, overall I don't really have a clue about how we can fix this without overwriting the specific paella css classes.
You can see my workaround here (I know this isn't the right way to do it). I also played around with our paella configuration, but since that lead nowhere I didn't include those trials.

I poked around as well but couldn't find a solution. I think the video layout itself defines whether it's static or dynamic. And the singleVideoLayout we are using is static. Not sure if a dynamic one would fix it. But it also seems like all layouts are based on a 1280:720 base rect. The one that you overrode the height and width of in your workaround (.base-video-rect).
The fact that our preview image is 16:9 with letterboxing is another issue, which I would ignore for now.

Do you want me to ask Miguel from Valencia to have a look?

Do you want me to ask Miguel from Valencia to have a look?

Actually, yes. I already put it on our agenda for next meeting, but I can already tell you here: it would be really great if we could get assistance for a few Paella issues from the people from Valencia. This issue, #794 and potentially also #816 (though there I agree, ideally we would just switch to the good design ASAP). If you could contact them and ask them to look at the issues or talk to us via mail or video call or whatever, that'd be great!

Do we want him to take a look with the Paella version currently implemented? Or wait for us (you) to implement Paealla 7/ethz? I suppose some issues will be different in the latest version.

Paella 6 defined a 16/9 canvas of 1280x720 and each layout decided how the videos were positioned on the canvas with static positions.
Paella 7 inherited this, but added the possibility to make dynamic layouts. Currently only for dual videos (es.upv.paella.dualVideoDynamic). For a single video the es.upv.paella.singleVideo layout is used, which still uses static layouts.
https://github.com/polimediaupv/paella-core/blob/b122209a50833c5487794cca2bbfcb840372b3bb/src/js/layouts/es.upv.paella.singleVideo.js#L62-L77
In theory it would be possible to transform this layout to a dynamic one and it should work.
Please, feel free to open an issue in paella repository.

@LukasKalbertodt Paella now supports portrait videos.
https://github.com/polimediaupv/paella-core/commit/bfe3bd421f017e65d330c321ba9453f057324bfb
Update to<EMAIL_ADDRESS>You should change your config.json file. Change the es.upv.paella.singleVideo layout by es.upv.paella.singleVideoDynamic.
Tests:

https://paellaplayer.upv.es/player.html?id=portrait
https://paellaplayer.upv.es/player.html?id=portrait-dual

Documentation:

https://paellaplayer.upv.es/#/doc/paella_core_plugins.md

@miesgre Thank you for the prompt update and release! Ole did what you said in #867 and we noticed that there is still some padding in the video container. Example video. As you can see, there is still a small grey border all around the video. I don't think it has to do with our integration: in your test video links, there is the same grey border/padding. Could you look into that?


bin data to have binStart and binEnd

There's some debate over whether or not binLabel is needed any more after binEnd is returned by the data plugin.
The client will definitely want a binLabel for mouse-over, however creating a concise bin label is non-trivial, especially for dates.

binLabel construction seems more like a clienty thing to me.

so what i get back from R is actually the label, which im parsing for start + end. so ive no problem returning it since ive got it in hand anyway. once we dig into perf and have java versions of the plugins my opinion may change, idk.

binEnd has been added, and binLabel remains


Banned visitor until date

I've tested this. Feedback:

font size for 'Banned until eg 28 04 1996' looks too large, should be same size as surrounding text
in the case where a banned date has been entered, but the 'visitor banned' checkbox has not bee ticked, there is no validation error. the preview email gives the following error ["Visit translation missing: en.activemodel.errors.models.booking_response.attributes.visit.visitors_invalid"]

@kyliemulholland if you try to process the visit, instead of using preview, the form will be rendered with the error that you are expecting.
The email preview shows the white page that you saw when there is any validation error, that isn't related to this PR. Although you found a missing translation so I've fixed that.

@chrishanes final thing to resolve is around font sizing - could you take a look?

@alan this is good to go now


Dx: reuse WhitespacesAnalyzer::detectIndent

Follow up to https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/5360 - had a different name so I've missed it then.

Thank you @kubawerlos.


feat: Port Algebra.FreeNonUnitalNonAssocAlgebra

Rename only

[x] depends on: #2589

This PR/issue depends on:

leanprover-community/mathlib4#2589
By Dependent Issues (🤖). Happy coding!

This PR/issue depends on:

leanprover-community/mathlib4#2589
By Dependent Issues (🤖). Happy coding!


Wiring several power pins

Only one 3.3v, GND, ... are connected. Power tracks are too thin.
Widen power tracks

please note that each DF40 pin can sustain at most 300 mA. the board can provide up to 1A to external loads on 3.3V so it's highly recommended to have all the pins routed


Ubuntu Support

Would be great to have a deb package for Ubuntu

@suda Any update on native Ubuntu pkg?

Interested on that too ,or in a way to compile it on Linux

would be great

There is no Linux support yet but seeing the interest, I could try to tackle it after upgrading Dev to Atom 1.0 API.

Cool, been waiting patiently.  Just wanted to let you know that there is still interest out there for deb/linux version.

@aceperry sorry for the delay, upgrading to Atom 1.0 had some unexpected roadblocks, and @suda's on vacation now; we'll get back to this in a couple of weeks, hopefully

Any advance on this??
I tried to compile, even on the Dockerized environment, but the mac script gives me some:
hdiutil: command not found &
ditto: command not found
that don't seem trivial to bypass
Can anyone upgrade the workaround to compile it on linux? this would be a great feature in future releases, I would like to use it in my favorite SO. Thank's for anyone efforts!!

@adomenech73 commands you mentioned are used by the package-app task. You can try commenting it out in Gruntfile.coffee.

Thank's @suda
finally I could compile perfectly, cloning git repository as it is and moving to v0.0.23 to avoid a "generate-module-cache" task error. So I did
git fetch
git checkout v0.0.23
script/build
and everything finished with a
Running "install" task
Done, without errors.

Actually I'm watching messages like:
[12087:0726/123401:INFO:CONSOLE(114)] "Fetching local packages failed.", source: /home/albert/Projects/Electronics/Spark/spark-dev/dist/linux/Particle Dev/resources/app/node_modules/settings-view/lib/main.js (114)
[12087:0726/124249:INFO:CONSOLE(285)] "Fetching local packages failed.", source: /home/albert/Projects/Electronics/Spark/spark-dev/dist/linux/Particle Dev/resources/app/node_modules/settings-view/lib/installed-packages-panel.js (285)
On the startup and packages view. Also updates functionality seems to freeze
Is there any post-install task, that I need to do?

@adomenech73 master was in a non build-able state. I've just fixed it with d6d344b37deebcded2024094960ca53372706029
Can you try it now?

@suda Now it's just perfect!!
I was wondering why there was not possible to access to the device functions from the ide
I solved package manager thing making a copy of apm on node_modules but the ide was not complete at all.
Thank's, really appreciated!

Instructions for using Particle Dev packages on Linux have been added to readme: https://github.com/spark/spark-dev#linux

Particle Dev package does not work on Linux. Only thing needed now would be packaging thus I'm closing this one in favor of Build Linux packages #14


ValueError: Invalid OTP

init(21021, <class 'protocol.USBProtocol'>, 5)
Found Goodix device: "FingerPrint" from "Goodix" on bus 3 address 4.
Found interface data: 0
Found endpoint in: 0x83
Found endpoint out: 0x1
empty_buffer()
nop()
firmware_version()
Firmware: GFUSB_GM168SEC_APP_10019
preset_psk_read(3137470465, 32, 0)
Valid PSK: True
reset(True, False, 20)
read_sensor_register(0, 4)
read_otp()
Traceback (most recent call last):
File "/home/fyang/Downloads/goodix-fp-dump/run_521d.py", line 3, in
main(0x521d)
File "/home/fyang/Downloads/goodix-fp-dump/driver_52xd.py", line 344, in main
run_driver(device)
File "/home/fyang/Downloads/goodix-fp-dump/driver_52xd.py", line 133, in run_driver
raise ValueError("Invalid OTP")

As you might have noticed, the driver is still in developement. So many feature are still missing and doesn't works. You need to stay patient.

I replaced the value of OPT with a constant value and ran the script, which seemed to work normally😃

Ok. Thanks

@fyangami Could you please elaborate what constant value did you replace the OTP with? Exact code snippet would be great to help me and others.

@fyangami Could you please elaborate what constant value did you replace the OTP with? Exact code snippet would be great to help me and others.
just is in source file driver_52xd.py like this:

        # otp = device.read_otp()
        # replace with
        otp = 'ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'
        assert otp >= 64
        if len(otp) < 64:
            raise ValueError("Invalid OTP")

        # OTP 1: 4e4c4d31372e0000b9828da2a2d73e09
        #<PHONE_NUMBER>0000ee6014a774a060b614
        #        ea2704009b0056f007212723a1a7a300
        #<PHONE_NUMBER>0000000000000083760000
        # OTP 2: 4e4b35594c2e00002983759520190009
        #        08274c96800000f0103cae6ea010593c
        #        ea2f04009c0053f00729312ba8b0aa00
        #<PHONE_NUMBER>00000000000000f3830000

This may lead to other problems.


Executions limitation is failing with many instances

Tested with 160 parallel instances. 10 sec timeout must be increased for more instances.


The import section is unclear.

When you download an offline package, it does not match the folder structure listed in the example.
The example has the parent folder of microsoft.custom-script-linux-arm-2.0.3 and then an icons subfolder, plus a .json, .azpkg, .txt and .zip files. When I download something such as the DSC extension, I get the parent folder of microsoft.dsc-arm.<IP_ADDRESS> and three subfolders (extension, gallerypackage, icons) plus one json file.
Additionally, when you go to run the import, if you run import-azsmarketplaceitem -repositorydir "c:\temp\microsoft.dsc-arm-2.77.0" you will get an error that says the productdetails.json cannot be found in the extensions folder. If you copy the json into that folder, you get the same error for the gallerypackage folder, if you then copy the json into that folder, you get the same error for the icons folder.
The fix is to create a subfolder of microsoft.dsc-arm.<IP_ADDRESS> in the microsoft.dsc-arm.<IP_ADDRESS> folder.
So, in my example I end up with a folder of c:\temp\microsoft.dsc-arm-2.77.0\microsoft.dsc-arm-2.77.0 and then run the import-azsmarketplaceitem -repositorydir "c:\temp\microsoft.dsc-arm-2.77.0" command to get the import to complete successfully.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b5a0e40a-4042-9935-0f59-37eb87ec478e
Version Independent ID: 81e5de2b-da67-e875-405d-65628be05adc
Content: Download marketplace items from Azure and publish to Azure Stack Hub - Azure Stack Hub
Content Source: azure-stack/operator/azure-stack-download-azure-marketplace-item.md
Service: azure-stack
Sub-service: azure-stack-hub
GitHub Login: @sethmanheim
Microsoft Alias: sethm

@jamesorlando
Thanks for your Question! We are currently investigating and will get back on this.

@jamesorlando I shared this feedback to the Doc author and this is taken to the product team for further investigation.
The document will be updated accordingly post confirmation from the Product Team.

@VikasPullagura-MSFT we are running into this same exact issue and cannot move forward with the import. Can you please keep this ticket open? This is blocking us.

@VikasPullagura-MSFT Please re-open this issue and I will escalate with the PM team. #please-open

@VikasPullagura-MSFT @sethmanheim confirmed the proposed solution by @jamesorlando works.
Here's the actual process:

Copy the name of the folder. Say, microsoft.dsc-arm-2.77.0
Create a folder named that way.
Move the downloaded folder to that folder. Now you have C:\microsoft.dsc-arm-2.77.0\microsoft.dsc-arm-2.77.0\original-sub-folders-are-here and C:\microsoft.dsc-arm-2.77.0\microsoft.dsc-arm-2.77.0\productDetails.json
import-azsmarketplaceitem -repositorydir "C:\microsoft.dsc-arm-2.77.0"

OK thank you @jdrowne. Are you saying you're no longer blocked? Maybe we just need to update the documentation, no escalation necessary.

@sethmanheim correct, no longer blocked.

@jdrowne Thanks for confirming that this is resolved.

@jdrowne I incorporated your clarifying steps and the updates should be live today after 3 PM PST. Thank you again for the feedback! #please-close
@jamesorlando


DEPRECATION: An addon is trying to access project.nodeModulesPath.

DEPRECATION REPORT

[x] I have ensured that the issue isn't already reported
[x] I have confirmed that the issue is reproducible with the latest released version
[x] I have deleted the FEATURE REQUEST / CODE CHANGE section

Summary
When building with later ember 2.x, we see the following message:
DEPRECATION: An addon is trying to access project.nodeModulesPath. This is not a reliable way to discover npm modules. Instead, consider doing: require("resolve").sync(something, { basedir: project.root }). Accessed from:   new NPMDependencyVersionChecker (/PROJECT_ROOT/node_modules/ember-spread/node_modules/ember-cli-version-checker/src/npm-dependency-version-checker.js:11:33)

When building with ember 3.x we see the following message:
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: ember-mat-design-mock -> ember-spread -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: ember-mat-design-mock -> ember-spread -> ember-prop-types -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: ember-mat-design-mock -> ember-spread -> ember-prop-types -> ember-get-config -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: ember-mat-design-mock -> ember-spread -> ember-prop-types -> ember-string-ishtmlsafe-polyfill -> ember-cli-babel

Expected Behavior
No deprecation warnings on build
Actual Behavior
Possible Solution
It seems to be ember-cli/ember-cli-version-checker#48
Updating to ember-cli-babel 6.6 or later seems to be the solution. ember-cli-babel 5.x is deprecated.
Steps to Reproduce
$ yarn global add ember-cli

$ ember --version
ember-cli: 3.0.2
node: 8.9.1
os: darwin x64

$ ember new testing-ember-spread

$ cd testing-ember-spread

$ ember i ember-spread
npm: Installed ember-spread
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: ember-mat-design-mock -> ember-spread -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: ember-mat-design-mock -> ember-spread -> ember-prop-types -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: ember-mat-design-mock -> ember-spread -> ember-prop-types -> ember-get-config -> ember-cli-babel
DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: ember-mat-design-mock -> ember-spread -> ember-prop-types -> ember-string-ishtmlsafe-polyfill -> ember-cli-babel
Installed addon package.

Context
we are trying to upgrade our app to use ember 3, and this addon is one of the few ones still to fix the deprecations.
Environment
(answer all that are applicable)

[x] I am using the latest released version (can check with npm ls <package-name>)
I am using these browsers:

[x] Latest Chrome
[x] Latest Firefox

[x] My version of Node is: v8.9.1 (I can't build the addon for development because of error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "^4.5 || 6.* || 7.*".)
[x] My version of npm is: 5.5.1
[x] My OS is: MacOS High Sierra

Thank you for this submission.  We are actively working to put together an upgrade plan for this repo (we are actually looking into these exact deprecations in a branch right now) and the rest in our organization.
More information about this can be found in https://github.com/ciena-frost/ember-frost-core/issues/474 and https://github.com/ciena-blueplanet/ember-prop-types/issues/158


Add readme how to start docs site locally

Hi, i get this view after clone, npm install, npm start:
Some basic documentation how to start locally would help. How do you develop docs site?

To lift the docs site you have to go to docs folder and then npm install && npm start.
We are going to add the explanation in the contribution section of the README, keeping this open meanwhile.
Thanks! :)

i've done your steps: npm install && npm start, but i got that view from screenshot, looking for same like  http://react-toolbox.com/#/components

If you do it from docs folder it should start the webpack config in this same folder. The server should be listening on localhost:8081.


Fix LTileLayer hidden methods

Just small issue with duplicate methods attribute

Fixed by #200

Closing as #200 is now merged.


Feature request: rate limit middleware

This package should provide a rate limit middleware that respects the API rate limits

throttle requests based on the actual free API requests that are sent with each response:   "x-ratelimit-limit-org": "unlimited",
   "x-ratelimit-limit-org-remaining": "unlimited",
   "x-ratelimit-limit-org-reset": "2143843",
   "x-ratelimit-limit-user": "900",
   "x-ratelimit-limit-user-remaining": "863",
   "x-ratelimit-limit-user-reset": "26",

* automatic retry/requeue requests that failed because of a `429` response.

With a combination of V1 api and V2 api, the best workaround is currently:
import { Affinity } from "@planet-a/affinity-node/v1";
import {
  createConfiguration,
  helpers,
  PersonsApi,
} from "@planet-a/affinity-node/v2";
import assert from "assert";
import pThrottle from "p-throttle";

const {
  paginator: { paginated },
} = helpers;

const config = createConfiguration({
  authMethods: {
    bearerAuth: {
      tokenProvider: {
        getToken: async () => {
          assert(process.env.AFFINITY_API_KEY);
          return process.env.AFFINITY_API_KEY;
        },
      },
    },
  },
});

assert(process.env.AFFINITY_API_KEY);
const affinity = new Affinity(process.env.AFFINITY_API_KEY);
const {
  rate: {
    api_key_per_minute: { limit },
  },
} = await affinity.rateLimit.get();

const throttle = pThrottle({
  limit,
  interval: 60 * 1000,
});

const personsApi = new PersonsApi(config);
const personFn = personsApi.getV2Persons.bind(personsApi);
const throttledPersonFn = throttle(personFn);
const personIterator = paginated(throttledPersonFn);


Carmichael Numbers

Do the checklist before filing the issue:

[ ] Is this something you can debug and fix?
[x] Do you have Node.js and all the relevant dev-dependencies installed?
[ ] Is this a feature request that you can add?

NOTE: Provide a clear and concise description of the feature that needs to be added! Or if its a bug, then provide the necessary steps to reproduce it.

Give your answer below:

[Function: M.isCarmichael()] needs to be added!
For more info:

https://www.geeksforgeeks.org/carmichael-numbers/
https://www.youtube.com/watch?v=jbiaz_aHHUQ

M.isCarmichael() needs to accept a positive integer and all other arguments passed should throw a type error which needs to be handled gracefully! For error handling, you should refer to how other features like M.isArmstrong() is implemented.

is this issue still open? In which case I would like to work on it.

Yes @baibhabmondal you may work on this!

@baibhabmondal your time's up!
The issue is open for claiming!

can I work on this?

@devRD You're assigned!


Reapply "Hmusum/configserver cleanup 1"

Reverts vespa-engine/vespa#26150

Superseded by https://github.com/vespa-engine/vespa/pull/26169


Vanilla installation fails: HASHES

Description
This Dockerfile
FROM nvidia/cuda:12.1.1-base-ubuntu22.04
# install dependencies via pip
RUN apt update && apt install -y python3-pip python3
RUN pip3 install --upgrade pip

# CUDA 12 installation
# Note: wheels only available on linux.
RUN pip3 install --upgrade "jax[cuda12_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html

Occasionally (almost every time) throws this error at the last step:

[4/6] RUN pip3 install --upgrade "jax[cuda12_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html:
#0 0.479 Looking in links: https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
#0 0.738 Collecting jax[cuda12_pip]
#0 0.795   Downloading jax-0.4.11.tar.gz (1.3 MB)
#0 0.831      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 37.2 MB/s eta 0:00:00
#0 0.911   Installing build dependencies: started
#0 2.243   Installing build dependencies: finished with status 'done'
#0 2.244   Getting requirements to build wheel: started
#0 2.342   Getting requirements to build wheel: finished with status 'done'
#0 2.343   Preparing metadata (pyproject.toml): started
#0 2.451   Preparing metadata (pyproject.toml): finished with status 'done'
#0 2.515 Collecting ml-dtypes>=0.1.0 (from jax[cuda12_pip])
#0 2.518   Downloading ml_dtypes-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.0 MB)
#0 2.532      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 80.2 MB/s eta 0:00:00
#0 2.766 Collecting numpy>=1.21 (from jax[cuda12_pip])
#0 2.769   Downloading numpy-1.24.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
#0 2.981      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.3/17.3 MB 76.4 MB/s eta 0:00:00
#0 3.032 Collecting opt-einsum (from jax[cuda12_pip])
#0 3.035   Downloading opt_einsum-3.3.0-py3-none-any.whl (65 kB)
#0 3.038      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.5/65.5 kB 34.3 MB/s eta 0:00:00
#0 3.189 Collecting scipy>=1.7 (from jax[cuda12_pip])
#0 3.193   Downloading scipy-1.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.4 MB)
#0 3.572      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.4/34.4 MB 70.9 MB/s eta 0:00:00
#0 3.680 Collecting jaxlib==0.4.11+cuda12.cudnn88 (from jax[cuda12_pip])
#0 3.955   Downloading https://storage.googleapis.com/jax-releases/cuda12/jaxlib-0.4.11%2Bcuda12.cudnn88-cp310-cp310-manylinux2014_x86_64.whl (170.8 MB)
#0 9.235      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 170.8/170.8 MB 20.5 MB/s eta 0:00:00
#0 9.374 Collecting nvidia-cublas-cu12 (from jax[cuda12_pip])
#0 9.377   Downloading nvidia_cublas_cu12-<IP_ADDRESS>-py3-none-manylinux1_x86_64.whl (410.6 MB)
#0 14.09      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 410.6/410.6 MB 15.6 MB/s eta 0:00:00
#0 14.38 Collecting nvidia-cuda-cupti-cu12 (from jax[cuda12_pip])
#0 14.38   Downloading nvidia_cuda_cupti_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (14.1 MB)
#0 14.54      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.1/14.1 MB 84.7 MB/s eta 0:00:00
#0 14.59 Collecting nvidia-cuda-nvcc-cu12 (from jax[cuda12_pip])
#0 14.59   Downloading nvidia_cuda_nvcc_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (20.0 MB)
#0 14.81      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.0/20.0 MB 84.1 MB/s eta 0:00:00
#0 14.87 Collecting nvidia-cuda-runtime-cu12 (from jax[cuda12_pip])
#0 14.87   Downloading nvidia_cuda_runtime_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (823 kB)
#0 14.88      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 823.6/823.6 kB 87.4 MB/s eta 0:00:00
#0 14.92 Collecting nvidia-cudnn-cu12>=8.9 (from jax[cuda12_pip])
#0 14.92   Downloading nvidia_cudnn_cu12-<IP_ADDRESS>-py3-none-manylinux1_x86_64.whl (731.7 MB)
#0 15.18      ━                                       24.7/731.7 MB 84.1 MB/s eta 0:00:09
#0 15.20 ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
#0 15.20     nvidia-cudnn-cu12>=8.9 from https://files.pythonhosted.org/packages/ff/74/a2e2be7fb83aaedec84f391f082cf765dfb635e7caa9b49065f73e4835d8/nvidia_cudnn_cu12-<IP_ADDRESS>-py3-none-manylinux1_x86_64.whl (from jax[cuda12_pip]):
#0 15.20         Expected sha256 5ccb288774fdfb07a7e7025ffec286971c06d8d7b4fb162525334616d7629ff9
#0 15.20              Got        564176f093ec503350285f8b312eb696913d5efb63b7320f5a87e6ab29edae23
#0 15.20

Note: adding --no-cache-dir does not help.
What jax/jaxlib version are you using?
jax-0.4.11
Which accelerator(s) are you using?
NVIDIA RTX 4090
Additional system info
No response
NVIDIA GPU info
Wed Jun  7 10:24:30 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 530.41.03              Driver Version: 530.41.03    CUDA Version: 12.1     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                  Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf            Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 4090         Off| 00000000:01:00.0 Off |                  Off |
|  0%   46C    P8               27W / 450W|      1MiB / 24564MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|  No running processes found                                                           |
+---------------------------------------------------------------------------------------+

I don't think this is a JAX issue. JAX isn't using a requirements file, does not specify hashes of its dependencies, and this is occurring with one of NVIDIA's packages.
Does the same thing happen if you simply install pip install nvidia-cudnn-cu12 in your Dockerfile instead of installing JAX?
From google searching the error message, it might be an issue with stale data in the pip cache in that docker image. Try rebuilding the docker image, or adding
pip cache purge

before the pip install command?
For what it's worth, if you are using the cuda12_pip installation, you don't need to use a CUDA docker image. You just need  the NVIDIA driver and to use nvidia-docker to run the container.

You're right, I discovered it is related to my ISP, even things like pip install torch fail. Using a vpn solves the issue for the moment.
Thanks anyways and sorry for this.


[Q] About this runtime

What does it use for rendering - OpenGL, Vulkan?
Can I use my renderer?

Hi @trsh!
There's no renderer provided in this repository. rive-cpp only provides a rendering abstraction where end-users/platform specific runtimes can bring their own renderers. This lets us take advantage of platforms that already provide a vector graphics rendering framework. For example, we can bring Rive to the web without providing a large rendering codebase by utilizing native browser rendering plugged into our rendering abstraction.
You can absolutely use your own renderer! Take a look at hhttps://github.com/rive-app/rive-cpp/blob/master/skia/renderer/src/skia_renderer.cpp for an example implementation of a renderer with Skia.

Ouh I see its Skia for this thing :) .. thank you


Test: q15_abs()

Need test for validation and accuracy.  Note that the accuracy will probably change somewhat between platforms, so the environment needs to be specified.

Tested and working as expected


help center: Add a Data and privacy page.

This PR creates a Data and privacy help center page. Only the desktop app section is included so far, so this is not ready to be deployed. However, I'm handing off further work on this page to others.
Testing plan:
manual
GIFs or screenshots:

I added a section on related details we'll want to document; and I think we probably also want to write a mobile section.  @gnprice would you be up for drafting that?  I think once that's done, we'll want to review as a group to check that we're not missing anything.


GWorkspace connector may send only some of the events to Sentinel

https://github.com/Azure/Azure-Sentinel/blob/954b11d2e4ab99ab65fcaead0eaffae793ed953f/DataConnectors/GoogleWorkspaceReports/GWorkspaceReportsAPISentinelConnector/__init__.py#L130
This looks to me like a bug in the code that throws away many events.
The JSON structure is, simplified for our purpose:
...
"items": [
  { // item 1
   ...
   "events": [
    { //event 1
    },
    { //event 2
    },
  { // item 2
...

The iterator "event" goes over the JSON array "items", and the iterator "nested" goes over the JSON array "events" array in each item. The function than copies values from each element "events" to the parent "item". As a result the connector keeps an event per element in the "items" array, and does not create an event per an entry in the "events" array.
This is easy to see in the sample data (https://github.com/Azure/Azure-Sentinel/blob/master/Sample Data/Custom/GWorkspace_ReportsAPI_drive_CL.json), in which only the last element in the "events" array are expanded to the top JSON element. See line 325
"event_name": "add_to_folder",
 "event_type": "access",
 "primary_event": false,
 "billable": true,
 "doc_id": "11fXyLycI_mOzOV0oVlbLfI_KkHy96lN5",
 "doc_type": "unknown",
 "doc_title": "fdaf7afe-7e4d-4359-82bd-f01a9867f535-chunk-161618",
 "visibility": "private",
 "originating_app_id": "962388314550",
 "actor_is_collaborator_account": false,
 "owner"<EMAIL_ADDRESS> "owner_is_shared_drive": false,
 "owner_is_team_drive": false,
 "visibility_change": "none",
 "target_user"<EMAIL_ADDRESS> "old_value": [
   "owner"
 ],

@preetikr .....

@oshezaf
I checked the connector and made some tests - I didn`t found the issue.
I added counters at the start of the function and at the end (returning part).

As a result, the counters are the same over the same period of time:

Also, I analyzed logs before and after function - enrichment works as properly, do you need examples of logs?

@averbn : The count is not expected to change. The values to extract from the nested objects into the top objects are the issue. Happy to explain the issue in a chat. That said, I think that the Microsoft team is already fixing this.

@oshezaf It seems I understand the issue. I`ll check it in my lab.

@oshezaf - Yes, @averbn is working on a fix for this. Thanks, for the report!

@oshezaf  - The issue has been fixed and the PR is merged... Thanks!!!

@oshezaf , Can we resolve this issue? Thanks!


Cannot use templates from catalog

I'm using OKD 1.12 and kubevirt plugin pulled by kubevirt-hyperconverged 1.8.1 (quay.io/kubevirt-ui/kubevirt-plugin@sha256:253cb213f052faec5b41e56860133ebb7508715f6abe691b2609c9e36dec62ab
)
With that I'm not able to use  templates from Virtualization/Catalog. I get "Error Loading Template: the server could not find the requested resource Please try again" message after clicking "Customize virtualmachine" for selected template.
This happens unless I select "All projects" from the project selection dropdown at top. This way it works, but leads to vm created in default namespace (and works only for "administrator" perspective - for developer I always get the mentioned error.

@upalatucci can you please take a look?

On the HCO side we are only consuming tagged versions for OKD Virtualization releases.
Here the latest tag on 4.12 branch is from Nov 16 ( https://github.com/kubevirt-ui/kubevirt-plugin/releases/tag/v4.12.0 ).
And so the correspondent image under https://quay.io/repository/kubevirt-ui/kubevirt-plugin?tab=tags&tag=v4.12.0
All the fixes under https://github.com/kubevirt-ui/kubevirt-plugin/commits/release-4.12 after Nov 16 are simply waiting for the next v4.12.z tag (v4.12.1 in this case) in order to be really shipped.

Hi guys, we fixed our automation and now it's available a new tag on quay.io for 4.12 called v4.12.3.


Add units useful to hydrology.

Includes breaking change: fix spelling of GramPerCubicCentimetre
Sources for conversion factors:
https://en.wikipedia.org/wiki/Cubic_foot#Cubic_foot_per_second
https://en.wikipedia.org/wiki/Acre-foot
https://en.wikipedia.org/wiki/Gallon
https://en.wikipedia.org/wiki/Square_mile
https://en.wikipedia.org/wiki/Siemens_(unit)
https://en.wikipedia.org/wiki/Electrical_resistivity_and_conductivity
https://en.wikipedia.org/wiki/Inch_of_mercury
http://www.fws.gov/mountain-prairie/wtr/hydro_def.htm

see the 2 comments, besides from that, this looks good!

Thanks, what a silly mistake! Fixed.

Thanks for contributing to the project!


Implement polynomial simplifier with replacements

e^x + sin(x) + 2e^x + 2sin(x) =>
a + b + 2a + 2b
=> P(a) = 3a + CONST where CONST = b + 2b = Q(b) = 3b
=> 3a + 3b
=> 3e^x + 3sin(x)

[ ] Entity's parent && GetMinimumSubtree using parents
[ ] Step-by-step replacer


Add ManagedT

Could allow an alternative definition of runMVC like this
runMVCT :: MonadIO m => s -> Model s a b -> Managed (ViewT m b, Controller a) -> m s

ViewT could be nice to have too

That would also be useful for running with Pipes.Safe's SafeT I think.

So this is explicitly designed to not require SafeT.  The idea is that now you use Managed to deal with resource acquisition and release.


Sharing

Share modal implemented
added colors from variables.module.scss to tailwind
Share page implemented but going to do Haris's new design now

@Galkon this is ready to go except for this:

In TopBar.tsx i am unsure of the Zustand store of when a new prompt is typed and submitted and where we render the new TopTab -- I need to call setCurrentConversation state var in TopBar when this new tab is generated.
The behavoir right now is you need to click on a tab for the share button to appear -- however when there is a new chat from a fresh instance, i'm not sure how the tab is evoked so i can't setCurrentConversation. Can you take a look for me 🙏


Release

Is it possible to make a release with the latest changes? Thank you
https://github.com/ceph/persistent-volume-migrator/compare/v0.1.0...main

@emosbaugh how do you consume this tool, directly as a binary or from rook?

@emosbaugh how do you consume this tool, directly as a binary or from rook?

I've been consuming it as a binary.
Ideally from rook but I needed this feature and support for it in all versions of rook (it is only present in the rook 1.7 image) so i've had to mount it as a volume in a deployment running the rook image.

@emosbaugh how do you consume this tool, directly as a binary or from rook?

I've been consuming it as a binary.

if you consume binary so can directly build from main.

Ideally from rook but I needed this feature and support for it in all versions of rook (it is only present in the rook 1.7 image) so i've had to mount it as a volume in a deployment running the rook image.

I don't we have any plans to release this with rook anymore.
I'll suggest use it as a binary, I can make release based on Master but will not available with rook

@emosbaugh how do you consume this tool, directly as a binary or from rook?

I've been consuming it as a binary.

if you consume binary so can directly build from main.

Ideally from rook but I needed this feature and support for it in all versions of rook (it is only present in the rook 1.7 image) so i've had to mount it as a volume in a deployment running the rook image.

I don't we have any plans to release this with rook anymore. I'll suggest use it as a binary, I can make release based on Master but will not available with rook

Thanks. That is good to know you do not plan to release it anymore.


Yeah I was already looking into it yesterday but got disturbed. Let’s see...

Is this version already in ubi-9?

So it now passes with 0600 for customization, should be fine according to @croissanne
Tho there is a snag on CI:
go: go.mod requires go >= 1.21.13 (running go 1.21.11; GOTOOLCHAIN=local)

Ok I mixed two problems together accidentally. What I am trying to solve is this problem:
<EMAIL_ADDRESS>requires go >= 1.21.13 (running go 1.21.9; ../../../go.mod sets toolchain go1.21.9)

This is unrelated to that, I am closing this for now, gosec is a separate issue that will be solved once Go toolchain is updated later on.


Custom download strategy fails on gem install

Hi Homebrew, I am having a problem with a custom download strategy that attempts to install a gem. Here is my system output:
$ brew doctor
Your system is ready to brew

$ brew config
HOMEBREW_VERSION: 1.5.8-6-gbc3389b
ORIGIN: https://github.com/Homebrew/brew
HEAD: bc3389bdae5be31e5447802cb0eb8e1a967f5b4d
Last commit: 2 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 2d0aaa0caf40d5f67a80d80214fa02735481d909
Core tap last commit: 87 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_AWS_ACCESS_KEY_ID: set
HOMEBREW_AWS_SECRET_ACCESS_KEY: set
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_RUBY_WARNINGS: -W0
CPU: octa-core 64-bit skylake
Homebrew Ruby: 2.3.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/ruby
Clang: 9.0 build 900
Git: 2.16.2 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/3.6.4_3/Frameworks/Python.framework/Versions/3.6/bin/python3.6
Ruby: /usr/local/Cellar/ruby/2.5.0_2/bin/ruby
Java: N/A
macOS: 10.13.3-x86_64
Xcode: N/A
CLT: <IP_ADDRESS>.1.1510905681
X11: N/A

I am trying to write a custom subclass of the CurlDownloadStrategy that installs the aws-sdk-s3 gem but am running into a permissions error.
I realize the S3DownloadStrategy exists, but putting that aside, I am not sure why installing a gem would fail this way.
Here is my download  strategy definition:
class PresignDownloadStrategy < CurlDownloadStrategy
  def _fetch

    # Load AWS library
    begin
      require 'aws-sdk-s3'
    rescue LoadError
      Homebrew.install_gem_setup_path! 'aws-sdk-s3', '~> 1.8', 'ruby'
      require 'aws-sdk-s3'
    end

    # Get presigned URL
    signer = Aws::S3::Presigner.new
    uri = URI.parse @url
    url = signer.presigned_url :get_object,
                               :bucket => uri.host,
                               :key => uri.path.sub(/\A\//, '')

    # Download
    curl_download url, to: temporary_path
  end
end

Here's what I see on install:
brew install <private>/tap/<formula>
==> Installing <formula> from <private>/tap
==> Downloading s3://bucket/<formula>.tar.gz
==> Installing or updating 'aws-sdk-s3' gem
Error: Operation not permitted @ rb_sysopen - /Users/<me>/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/aws-sdk-s3-1.8.2.gemspec

Oddly, if I run brew irb and then Homebrew.install_gem_setup_path! 'aws-sdk-s3', '~> 1.8', 'ruby' I get no errors.

Download strategies are run inside the sandbox, so you can’t use install_gem_setup_path! inside them.

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

[ ] are reporting a bug others will be able to reproduce and not asking a question. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh

Please do both of these things in future.

My bad.


Add support for DLQ (dead letter queue)

Describe the proposal
Add support to dead letter queue. SDK should offer this configuration via annotation, as an attribute of the Topic annotation.
Reference: https://github.com/dapr/js-sdk/issues/321

@seeflood this is similar to like delay queue
https://github.com/mosn/layotto/issues/617

/assign

Closed by https://github.com/dapr/java-sdk/pull/913

/assign


KAFKA-4636; Per listener security settings overrides (KIP-103)

Additional tests need to be added before this can be merged.

@rajinisivaram, would you be able to review this? Thanks!

System tests passed (with the exception of a few known transient failures like Streams system tests and one of the ZK upgrade tests):
https://jenkins.confluent.io/job/system-test-kafka-branch-builder/677/consoleFull

@rajinisivaram and @junrao, I've added tests and addressed feedback. I think this is ready for review again.

Thanks for the review @junrao. I pushed a commit that hopefully addresses the comments.

@ijuma : Thanks for the updated patch. LGTM.

@ijuma Looks good to me.
I think this feature allows two SASL_SSL listeners, one for external and one for internal and the two can use different mechanisms and different JAAS contexts. That makes the multi-mechanism configuration neater. I think it will be useful to have an integration test for this, perhaps change SaslMultiMechanismConsumerTest. What do you think? If it is a big change, then perhaps it is not worthwhile.

@rajinisivaram, I think it's a bit tricky to support multiple listeners in KafkaServerTestHarness. Maybe it's easier to do the test you suggest in MultipleListenersWithSameSecurityProtocolTest. Would it be OK if I file a JIRA so that is done as a follow-up?

@ijuma Yes, of course. I think there are sufficient tests for the new functionality. This would just be a nice-to-have and can be done later.

I filed https://issues.apache.org/jira/browse/KAFKA-4703 for the additional test. I left it unassigned for now in case someone wants to contribute it.

Merging to trunk.


Add retry when fetching the shell script

this makes it so fetching the URL is retried 10 times max when it fails for any
reason.
hotfix for #9

Ok since the CI is building fine with exponential backoffs, I am going ahead and merging it.


File output Example

The sanic docs and example don't show any usage of the file API. I saw this while looking at the response.py file in the code. Would it be possible to implement an example of this usage.

What kind of example would you like?

I updated my description

Closed with #453

Thanks


Promote: tiers embed preview is broken

Nice catch. The light-theme version was pointing to the wrong endpoint.


Scalar ITensor for QN or BlockSparse Case

It is a useful code pattern to start a chain of contractions from a scalar ITensor constructed as ITensor(1.0). One example is building 'environment' tensors such as part of an MPO projected into an MPS basis.
Currently it appears that contraction of the form ITensor(1.0) * T where T is a QNITensor is not supported. I think this would be a good special case to handle, and the code could be specialized to the case of one of the tensors having zero indices.

Definitely would be good to have, I've had that on the back of my mind to add. We could even just do this at a very high level in the contraction function, where we check if either ITensor has order(T) == 0 && isone(T[]) and then do no operation (i.e. return the other ITensor).


Make the list of files govuk elements imports a partial

This PR moves the files that govuk elements imports from main.scss to a new file, govuk-elements.scss.
It aims to make it easier to keep govuk-elements up-to-date in the govuk prototype kit.
The advantage of using a partial here is that it doesn't generate an extra stylesheet, so users of the prototype kit can choose to either have the default setup (importing all files listed in govuk-elements.scss) or to pick and choose files to import from those listed, by copying the list of files back into main.scss.
There are also new groupings for the imports for the front end toolkit - to show which files contain Sass mixins, functions or variables.
The phase banner styles are also moved from the elements example page, to a new partial.
cc. @robinwhittleton, @timpaul, @aduggin, @tombye.

Like it


Feature/polish ui

Coverage increased (+0.1%) to 89.976% when pulling 07804b02c4c66d74bc098d227099e16e2c84d87f on feature/Polish_ui into 8a0fa695fea97ce7ce7665f577e3a241c414a304 on develop.


variant 1: conditional import

so this does not work....

Almost:
After a bit of thinking about it, we should not use KData inside the functions.
Only the object we got passed in.
So we call normal instance methods etc it.
To create a new object., we should use object.class() or type(object)()
This will also work with inheritance:
If somebody creates a KData child, it's reshape functions should return a child instance, not the parent KData instance. This is currently broken and should anyways be fixed..