Header handling doesn't match Mail gem's delivery methods

When using any of the built-in Mail delivery methods, this works as expected to send a custom header.
class FooMailer < ApplicationMailer
  def foo_message
    headers['X-CUSTOM'] = "I am some header"
    mail(
      :from         =><EMAIL_ADDRESS>      :to           =><EMAIL_ADDRESS>      :subject      => "My Test message"
    ) do |format|
      format.text { "I am a message. Wheeeeeee" }
    end
  end
end

This also works.
class FooMailer < ApplicationMailer
  def foo_message
    mail(
      :from         =><EMAIL_ADDRESS>      :to           =><EMAIL_ADDRESS>      :subject      => "My Test message",
      "X-CUSTOM"    => "I am some header"
    ) do |format|
      format.text { "I am a message. Wheeeeeee" }
    end
  end
end

This gem is instead requiring this:
class FooMailer < ApplicationMailer
  def foo_message
    mail(
      :from         =><EMAIL_ADDRESS>      :to           =><EMAIL_ADDRESS>      :subject      => "My Test message",
      :headers      => {
        "X-CUSTOM"     => "I am some header"
      }
    ) do |format|
      format.text { "I am a message. Wheeeeeee" }
    end
  end
end

hi @cgriego,
The first method isn't an option because the gem builds upon the Mail instance and is unaware of any data not explicitly passed to it.
The second option is a possibility, but not a great one.  The gem would need to be modified to assume any non-standard attribute applied to Mail is a Header. We'd need to explicitly state which attributes are not headers and filter them out.  The branch feature/applied_headers shows how this would work.  The risk would be accidentally exposing data to the headers that shouldn't be there.
Perhaps someone can come up with a cleaner, safer method?

The two methods are really the same; ActionMailer essentially is just delegating headers to the Mail instance.
Things like 'To', 'From', 'Cc', 'Bcc', 'Reply-To', 'Subject', 'Content-Type' are all headers, but SendGrid's API treats them specially so handling them specially in the gem makes sense, like you have in the applied_headers branch. Then the other items are also SendGrid specific extensions like categories, personalizations, custom args, etc., so handling them this way also makes sense to me.
It's funny because I worry about accidentally exposing data the other way. In projects and/or environment not using the SendGrid delivery method, any data I put in headers or passed to mail is going to get sent in the email headers save for a few exceptions in the ActionMailer gem.
        assignable = headers.except(:parts_order, :content_type, :body, :template_name,
                                    :template_path, :delivery_method, :delivery_method_options)

If I were to use the exact same code I use with SendGrid with a different mailer (in say a dev, test, or qa environment), then my outgoing mail is going to expose stuff that sending with SendGrid would not. The mail sent with SendGrid will always expose less data than a built-in delivery method. Without patching ActionMailer or putting the SendGrid extensions into the delivery_method_options (which doesn't seem like a great fit), that will always be the case.


Added container name when copying archive files jenkins-ignore

Two Jenkins jobs kicked off:
http://wls-jenkins.us.oracle.com/job/weblogic-kubernetes-operator-javatest/2769/
http://wls-jenkins.us.oracle.com/job/weblogic-kubernetes-operator-javatest/2770/

test passed
http://wls-jenkins.us.oracle.com/job/weblogic-kubernetes-operator-javatest/2769/

Adding comments I posted on slack
@huizhao for the copy issue, exit code 126 you mentioned is permission issue..so have u checked or added any debug to print or check the permissions of file ?
Vanajakshi Mukkara 3:18 PM
Also TestUtils.kubectlcp() is used only in ItElasticLogging..other test classes use TestUtils.copyFileViaCat() to copy war files or other scripts ...there are no issues with that ...If you are making sure that the file is downloaded, you may want to try switching to copyFileViaCat()...I don't think adding container name will make any difference ...

@vanajamukkara , as I mentioned several times in daily meeting, exit code 126 could be permission  or proxy issue. Yes, I added bunch of ls -l to print out the contents of diff dir to debug the the future. Again, no I can't use copy via cat because the test copies archive

@vanajamukkara , as I mentioned several times in daily meeting, exit code 126 could be permission or proxy issue. Yes, I added bunch of ls -l to print out the contents of diff dir to debug the the future. Again, no I can't use copy via cat because the test copies archive

Other tests are using TestUtils.copyFileViaCat()  to copy war file, take a look at Domain.deployWebAppViaWlst()

I tried but failed

http://wls-jenkins.us.oracle.com/job/weblogic-kubernetes-operator-javatest/2781/console

LoggingExporter test passed in http://wls-jenkins.us.oracle.com/job/weblogic-kubernetes-operator-javatest/2781/consoleFull


Display correct extension in compression settings

The popup showed JPG even if it supported WEBP. This commit passes the
WEBP test along and displays the correct extension.
Also, my editor found some trailing whitespace and fixed those along with wrong indentation in onBeforeRequestListener.

Looks good, thank you!

released in v2.1.2


add "keepalive-workflow"

"
GitHub will suspend the scheduled trigger for GitHub action workflows if there is no commit in the repository for the past 60 days. The cron based triggers won't run unless a new commit is made. It shows the message "This scheduled workflow is disabled because there hasn't been activity in this repository for at least 60 days" under the cronjob triggered action.
"
DDEV addons will become stable at some point and no longer require frequent commits. However, we still need to runs tests against newer versions of DDEV.
Enter https://github.com/gautamkrishnar/keepalive-workflow
We need to:

[x] add keepalive workflow to workflow template
[x] document why it is there

We can sort out issues here first.
ddev-addon-template will probably need to use it too at some point.

Fixed in #5


Can not use sketch measure

Recently, I update my OS. And then, I can not use Sketch Measure any more. Whatever I click, there was no response, just like I have not click it.  I have tried to reinstall Sketch and Sketch Measure, it's useless. My OS version is High Sierra 10.13 beta and Sketch version is 45.2.，Sketch Beta 46 can't work.

同样不能用。。。

I'm also running Sketch 45.2; Sketch Measure doesn't work.

I uninstalled the plugin. Then redownloaded through sketch's plugin manager. Works now.

I uninstalled it and install it, it does not work. Is that my OS's problem?


Minor cleanups

Summary
This PR is a collection of minor cleanups.
It also closes #64
Details and comments
Grepping for num_orbitals still returns results in modules/classes which will be removed before the release. I did not bother changing things there, too. These include:

qiskit_nature.transformations
qiskit_nature.components

qiskit_nature.algorithms will be tackled during #83.

Thanks for the approval. I think I will actually add some more things here, so I converted this to a draft for now.

I would also like to suggest replacing indexes with indices everywhere in the code base. What do you think?

Besides my question above, I cannot think of any other pressing things which I would like to fix. Thus, this is now ready for review :+1:

I would also like to suggest replacing indexes with indices everywhere in the code base. What do you think?

Either are accepted as plural of index. If things are consistent everywhere I guess that would be good. If its in comments I would think its very low priority to change - for a param name etc., i.e. something that would end up in users code, then it would be good to have things consistent - do we have that where its a parameter name or something?

Both variants are being used in comments and as variable names (or parts thereof). indices appears to be the more widely used one.
indexes.txt
indices.txt

For internal variable names we can change it any time. Its more for param names on public API where we could expect the name to appear in user code. It would be nice to be consistent. I am fine with indices as that I think is more used in general

Although this is likely to not catch all cases a quick grep for def.*indexes and def.*indices returns only a single result for the former (a function of UVCC) and multiple for the latter as it is used in some args of private functions around the repo.

I tried a s/indexes/indices/g on Qiskit Nature... Let's see if the CI is still happy.
I also found some DeprecationWarnings being raised by the mappers because they used legacy methods from the Pauli operators. I fixed those, too.

Thanks @mrossinek for taking care of this!

I force pushed this branch because a mixture of online merges of the master branch and local ones confused this branch into thinking it included some others PRs. This branch is fixed now and contains the correct changes.
@pbark Please re-approve because this process dismissed your approval


npm ERR! ionic-hello-world@ ionic:serve: ionic-app-scripts serve

Just installed ionic
Your system information:
ordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.14
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.45
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 7
Node Version: v6.9.1
Xcode version: Not installed
npm 4.0.5
I am getting following error while running ionic serve command for v2 template .
npm ERR! Windows_NT 6.1.7600
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\LAXMISOFT\AppDa
ta\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "ionic:serve" "--"
npm ERR! node v6.9.1
npm ERR! npm  v4.0.5
npm ERR! code ELIFECYCLE
npm ERR! ionic-hello-world@ ionic:serve: ionic-app-scripts serve
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the ionic-hello-world@ ionic:serve script 'ionic-app-scripts
serve'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ionic-hello-world pac
kage,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ionic-app-scripts serve
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ionic-hello-world
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls ionic-hello-world
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     C:\Windows\System32\myFirstApp\npm-debug.log
There was an error serving your Ionic application: There was an error with the s
pawned command: serve

This looks like more of a support request to me. Try posting on the support forums.

I am also getting the exact same issue, please help us team

Same problem:
`BLRW3005131:cutePuppyPics Deepak$ sudo ionic serve

Dependency warning - for the CLI to run correctly,
it is highly recommended to install/upgrade the following:
Install ios-sim to deploy iOS applications.npm install -g ios-sim (may require sudo)
Install ios-deploy to deploy iOS applications to devices.  npm install -g ios-deploy (may require sudo)

ionic-hello-world@ ionic:serve /Users/Deepak/Documents/ionicAngular2_Workspace/cutePuppyPics
ionic-app-scripts serve

[10:42:40]  ionic-app-scripts 0.0.45
[10:42:40]  watch started ...
[10:42:40]  build dev started ...
[10:42:40]  clean started ...
[10:42:40]  clean finished in 1 ms
[10:42:40]  copy started ...
[10:42:40]  transpile started ...
events.js:160
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE <IP_ADDRESS>:53703
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at Server._listen2 (net.js:1262:14)
at listen (net.js:1298:10)
at doListening (net.js:1397:7)
at _combinedTickCallback (internal/process/next_tick.js:77:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
at Module.runMain (module.js:607:11)
at run (bootstrap_node.js:420:7)
at startup (bootstrap_node.js:139:9)
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "ionic:serve" "--"
npm ERR! node v7.2.0
npm ERR! npm  v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! ionic-hello-world@ ionic:serve: ionic-app-scripts serve
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ionic-hello-world@ ionic:serve script 'ionic-app-scripts serve'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ionic-hello-world package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ionic-app-scripts serve
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ionic-hello-world
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls ionic-hello-world
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/Deepak/Documents/ionicAngular2_Workspace/cutePuppyPics/npm-debug.log
There was an error serving your Ionic application: There was an error with the spawned command: serve
BLRW3005131:cutePuppyPics Deepak$ clear
BLRW3005131:cutePuppyPics Deepak$ sudo ionic serve

Dependency warning - for the CLI to run correctly,
it is highly recommended to install/upgrade the following:
Install ios-sim to deploy iOS applications.npm install -g ios-sim (may require sudo)
Install ios-deploy to deploy iOS applications to devices.  npm install -g ios-deploy (may require sudo)

ionic-hello-world@ ionic:serve /Users/Deepak/Documents/ionicAngular2_Workspace/cutePuppyPics
ionic-app-scripts serve

[10:44:15]  ionic-app-scripts 0.0.45
[10:44:16]  watch started ...
[10:44:16]  build dev started ...
[10:44:16]  clean started ...
[10:44:16]  clean finished in less than 1 ms
[10:44:16]  copy started ...
[10:44:16]  transpile started ...
events.js:160
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE <IP_ADDRESS>:53703
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at Server._listen2 (net.js:1262:14)
at listen (net.js:1298:10)
at doListening (net.js:1397:7)
at _combinedTickCallback (internal/process/next_tick.js:77:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
at Module.runMain (module.js:607:11)
at run (bootstrap_node.js:420:7)
at startup (bootstrap_node.js:139:9)
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "ionic:serve" "--"
npm ERR! node v7.2.0
npm ERR! npm  v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! ionic-hello-world@ ionic:serve: ionic-app-scripts serve
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ionic-hello-world@ ionic:serve script 'ionic-app-scripts serve'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ionic-hello-world package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ionic-app-scripts serve
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ionic-hello-world
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls ionic-hello-world
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Users/Deepak/Documents/ionicAngular2_Workspace/cutePuppyPics/npm-debug.log
There was an error serving your Ionic application: There was an error with the spawned command: serve
BLRW3005131:cutePuppyPics Deepak$ `

@rapropos is right. Thanks @rapropos !
Thanks,
Dan


Create Interface does not enable or apply

I have create a VLAN via the API and then attempted to create an interface. It creates the interface but will not enable or apply the interface.
{
"if": "vtnet1.2032",
"descr": "Test2",
"enable": "",
"type": "staticv4",
"ipaddr": "<IP_ADDRESS>",
"subnet": "24",
"apply": ""
}

I was able to get this fixed by changing line 63 in  /etc/inc/api/models/APIInterfaceCreate.inc
    // if ($this->initial_data["enable"] === true) {
    if (isset(initial_data["enable"])) {

This would be expected since both the enable and apply fields need to be passed in as booleans in the request body. For example:
{
  "if": "vtnet1.2032",
  "descr": "Test2",
  "enable": true,
  "type": "staticv4",
  "ipaddr": "<IP_ADDRESS>",
  "subnet": "24",
  "apply": true
}

Thank you that answered my question perfectly.


Clean up

Fixed some typos
Some code cleanup

Signed-off-by: naveensrinivasan<EMAIL_ADDRESS>

LGTM, thanks.
In the "Migration from goreleaser", do you think adding yaml to the snippet would help? Right now it shows all black and white.

I think it will.


Update test-package.yml

Build is mysteriously failing at checkout. Maybe a simple upgrade will fix it. I'm not doing anything fancy with it.

OK, that was easy. Was the upgrade really necessary, or was there an intermittent glitch? I'll try running the pipeline on the other PR again before merging. I kind of wonder what was so wrong with version 2 that they had to yank it.

Rerun worked fine. Closing.


Consider splitting/rebranding library

With the Kotlin standard library, there is a significant overlap in functionality between the built-in collections and what this library offers.
From https://github.com/kotlindev/underscore-kotlin?tab=readme-ov-file#usage
This is fully covery by the Kotlin standard library:
U.of(/* array | list | set | map | anything based on Iterable interface */)
    .filter(..)
    .map(..)
    ...
    .sortWith()
    .forEach(..);
U.of(value1, value2, value3)...
U.range(0, 10)...

U.of(1, 2, 3) // or java.util.Arrays.asList(1, 2, 3) or new Integer[] {1, 2, 3}
    .filter(v -> v > 1)
    // 2, 3
    .map(v -> v + 1)
    // 3, 4
    .sortWith((a, b) -> b.compareTo(a))
    .forEach(System.out::println);
    // 4, 3

U.of(1, 2, 3) // or java.util.Arrays.asList(1, 2, 3) or new Integer[] {1, 2, 3}
    .mapMulti((num, consumer) -> {
        for (int i = 0; i < num; i++) {
            consumer.accept("a" + num);
        }
    })
    .forEach(System.out::println);
    // "a1", "a2", "a2", "a3", "a3", "a3"

And this can be expressed more clearly and concisely with nested mapOf()and listOf() method calls:
U.Builder builder = U.objectBuilder()
    .add("firstName", "John")
    .add("lastName", "Smith")
    .add("age", 25)
    .add("address", U.arrayBuilder()
        .add(U.objectBuilder()
            .add("streetAddress", "21 2nd Street")
            .add("city", "New York")
            .addNull("cityId")
            .add("state", "NY")
            .add("postalCode", "10021")))
    .add("phoneNumber", U.arrayBuilder()
        .add(U.objectBuilder()
            .add("type", "home")
            .add("number", "212 555-1234"))
        .add(U.objectBuilder()
            .add("type", "fax")
            .add("number", "646 555-4567")));

Same here:
XmlBuilder builder = XmlBuilder.create("Projects")
    .e("underscore-kotlin").a("language", "Java").a("scm", "SVN")
        .e("Location").a("type", "URL")
            .t("https://github.com/kotlindev/underscore-kotlin/")
        .up()
    .up()
    .e("JetS3t").a("language", "Java").a("scm", "CVS")
        .e("Location").a("type", "URL")
            .t("https://jets3t.s3.amazonaws.com/index.html");

However what Kotlin is completely lacking is easy and lightweight JSON and XML processing.
It might be worth considering extracting the JSON <-> Kotlin Collections <-> XML part into its own library, implemented in pure Kotlin. This would be immensely useful for both Kotlin/JVM and multi-platform projects.
The JSON <-> Kotlin Collections part is already almost pure Kotlin. Only the Kotlin Collections <-> XML would have to be rewritten to drop the JVM dependency.
You could then establish this new library as the go-to lightweight solution for JSON and XML in the entire Kotlin ecosystem.
In short: less code, more focus, higher reach and clearer positioning.
Just an idea.

Hi @axelfontaine,
Thanks for bringing up the issue.
The library was developed as a counterpart to underscore-java. The XML component currently utilizes JVM to read and generate.


Project roadmap

Hi, first of all, I am a Pion lover. It's great to see movement in the Rust world. Since this project is very recent, how serious is this project? I am planning long-term for some of our software components. Rust might be valuable for us but we need WebRTC support. So don't get my question offensive in any way. Just curious if this is something I could base our stack on in the future.
Cheers
Chris

Hi @chrisprobst,
Thanks for bringing up this issue. I am a Pion lover too and also a Rustacean. That's why I'd like to port Pion to Rust. Yes, I am taking this project seriously. But I can only work on this project on weekend days. Therefore, this project needs community's help to speed up the development. Contributors or pull requests are welcome.
Rain

I am really impressed with your work @rainliu this is a fantastic undertaking! Lots of people having been asking for a rust implementation, so excited to send them over here :)
You should post on https://news.ycombinator.com/show and reddit.com/r/webrtc and reddit.com/r/rust when you are ready. I think you will be able to build a community easily.
I would love to help if I can. Maybe we could start with a simple DataChannels example and get that working?

@Sean-Der,
Thanks for your mentioning this project in Slack #pion, and suggestions how to build a community for this project.
If you are willing, I can invite you as a member of this project.
Rain

@rainliu I would love to join!
You are the leader/creator of the project. So tell me what I can do to help :)
I would love to get a simple DataChannels example working. If we can make that happen I think you will get a huge amount of interest!

@rainliu can we create issues splitting todos? I plan on contributing constantly and need to know tasks to be done.

@rainliu I am happy to sketch out the APIs that it would take in ICE + PeerConnection to get a MVP going! I can create the issues. If you do that and then share you will get even more people.
With Pion the most difficult thing was changing bad public APIs. So would love to share that knowledge. Things like Trickle ICE, Media APIs and re-negotiation were really painful :)

@Sean-Der, sure, please go ahead to create the issues. Thanks.

If webrtc has all these obstacles due to networking NAT traversals and firewalls or whatever, could there be a way to implement something like GNU GNS in a webassembly WASM/WASI module served over https to resolve and make the peer connections directly from the resolver?
**PS, I actually passed by pion just because it wasnt Rust :) I am actually really excited about this port!

For example instead of using a signaling mechanism, use the hash table which the server acts as a public peer point of access. Too far out?

 I'm looking into using WebRTC-rs, a MVP PeerConnection would be enough to start. Is there any progress on the roadmap/API/list of issues? I need to decide between that or pion. ;)

Hi everyone. I'm looking into using WebRTC-rs, a MVP PeerConnection would be enough to start. Is there any progress on the roadmap/API/list of issues? I need to decide between that or pion. ;)

PeerConnection is not ready yet. We are still working on TURN/ICE.
You can alway use Pion for your proof of concept.

PeerConnection is not ready yet. We are still working on TURN/ICE.
You can alway use Pion for your proof of concept.

@rainliu this is awesome. I would love to help out in some ways with writing code.  The whole SDP state based parsing was my rewrite. Since I have migrated quiet fully into rust I should be able to help pretty much anywhere in the stack. Will start looking through the code until I find some place I can contribute. Is there a rust specific community chat going somewhere? Like gopher's pion but rust specific.

@rainliu this is awesome. I would love to help out in some ways with writing code.  The whole SDP state based parsing was my rewrite. Since I have migrated quiet fully into rust I should be able to help pretty much anywhere in the stack. Will start looking through the code until I find some place I can contribute. Is there a rust specific community chat going somewhere? Like gopher's pion but rust specific.

@trivigy, thank you for offering the help. Please look around the code base to find any place you would like to contribute. Webrtc-rs needs more contributions from the community so we can speed up the developement.

@trivigy, thank you for offering the help. Please look around the code base to find any place you would like to contribute. Webrtc-rs needs more contributions from the community so we can speed up the developement.

Is there a rust specific community chat going somewhere?

@rainliu If not, you care if I set up one?

Is there a rust specific community chat going somewhere?

@rainliu If not, you care if I set up one?

@trivigy, please go ahead to set up. Thank you.

@trivigy, please go ahead to set up. Thank you.

For posterity leaving this here https://discord.gg/4Ju8UHdXMs. I make a few PRs on this repo, ice, and sdp since those are the first ones I am giving a read first. But I'll keep updating things as I go.

For posterity leaving this here https://discord.gg/4Ju8UHdXMs. I make a few PRs on this repo, ice, and sdp since those are the first ones I am giving a read first. But I'll keep updating things as I go.


Typo in doc

Just a typo

Well not a typo I was looking at the main config object, my bad - closing and sorry for the noise.

No worries, thanks @johnraz


Create unit test projects to cover the different examples of using the library

A separate Unit Test project is created for testing each project in the library. Currently with this commit 85b50ff9190d34cc0d10487f404d365a85efdd0d there are 3 UnitTest projects:
DICOMcloud.Dicom.UnitTest

DicomDatasetConverters: convert from/to XML/JSON

DICOMcloud.Dicom.DataAccess.UnitTest

Store/Delete Datasets on the database

DICOMcloud.Pacs.UnitTest

Store/Delete Dataset using PACS Commands (DB + file storage)
Test loading image Datasets


X-axis limits

Would it be possible/easy to give the user an input for X-axis limits in the dashboard? That would allow fair comparison of different outputs and more decent scientific reporting.
The axis limits should affect both, histogram and box plots.
And the input area can be placed just under the number of bins slicer.

Done in e78e7bfea55ab63b2464094b743330af99892b27

Cool! Would it make sense to add rounding to numbers?

Yes, makes sense.


change musselnet-2 to musselnet-4

not sure if there's a way to keep this automatically up to date, or at least indicate along with the command musselnet-X with a link to the latest

Solved. Yes you are right. Once there are long living testnets, will be much easier to maintain


Create asg-huerth.txt

Official Website: http://asg-huerth.de/

@the-blaggyS Pull request merged. Please notice that free educational license for JetBrains tools is for high and higher schools students, i.e. those who are over 13 of age. Thank you!


[R] R can't parse parquet written by pyarrow with BYTE_STREAM_SPLIT column encoding

Describe the bug, including details regarding any error messages, version, and platform.
R arrow_info
> arrow::arrow_info()
Arrow package version: <IP_ADDRESS>

Capabilities:

dataset    TRUE
substrait FALSE
parquet    TRUE
json       TRUE
s3         TRUE
gcs        TRUE
utf8proc   TRUE
re2        TRUE
snappy     TRUE
gzip       TRUE
brotli     TRUE
zstd       TRUE
lz4        TRUE
lz4_frame  TRUE
lzo       FALSE
bz2        TRUE
jemalloc   TRUE
mimalloc   TRUE

Memory:

Allocator jemalloc
Current    3.82 Gb
Max        8.63 Gb

Runtime:

SIMD Level          avx2
Detected SIMD Level avx2

Build:

C++ Library Version  11.0.0
C++ Compiler            GNU
C++ Compiler Version  7.5.0

pyarrow info:
pyarrow-11.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl from conda pip

when using pyarrow to write file with column encoding as BYTE_STREAM_SPLIT, R can't parse such file
Error: IOError: Data size too small for number of values (corrupted file?)

Component(s)
R

Thanks for reporting this @comicfans; are you able to provide a reproducible example for this, so we can take a closer look at what's going on?

seems like this is a common problem, pyarrow also give same error for the generated file.
I've attached the good input file for testing
sample.zip
unzip this file , running following python code:
 from pyarrow import parquet
a = parquet.read_table('sample.parquet')
parquet.write_table(a,"bug.parquet", use_dictionary=["contract_name"],use_byte_stream_split=["last_price",'bid_price1'])
parquet.read_table('bug.parquet')

got
ore.py", line 2601, in read
    table = self._dataset.to_table(
            ^^^^^^^^^^^^^^^^^^^^^^^
  File "pyarrow/_dataset.pyx", line 369, in pyarrow._dataset.Dataset.to_table
  File "pyarrow/_dataset.pyx", line 2818, in pyarrow._dataset.Scanner.to_table
  File "pyarrow/error.pxi", line 144, in pyarrow.lib.pyarrow_internal_check_status
  File "pyarrow/error.pxi", line 115, in pyarrow.lib.check_status
OSError: Data size too small for number of values (corrupted file?)

This is a regression since Arrow 12.0.0, and I can reproduce the error by writing and then reading data with pyarrow 12.0.0:
import numpy as np
import pyarrow as pa
import pyarrow.parquet as pq

x = pa.array(np.linspace(0.0, 1.0, 1_000_000), type=pa.float32())
table = pa.Table.from_arrays([x], names=['x'])
pq.write_table(table, 'data.parquet', use_dictionary=False, use_byte_stream_split=True)

table = pq.read_table('data.parquet')
print(table)

This crashes with:
Traceback (most recent call last):
  File "/home/.../write_read_data.py", line 9, in <module>
	table = pq.read_table('data.parquet')
			^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/adam/.local/share/virtualenvs/arrow12-nieuEBn0/lib64/python3.11/site-packages/pyarrow/parquet/core.py", line 2986, in read_table
	return dataset.read(columns=columns, use_threads=use_threads,
		   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/adam/.local/share/virtualenvs/arrow12-nieuEBn0/lib64/python3.11/site-packages/pyarrow/parquet/core.py", line 2614, in read
	table = self._dataset.to_table(
			^^^^^^^^^^^^^^^^^^^^^^^
  File "pyarrow/_dataset.pyx", line 546, in pyarrow._dataset.Dataset.to_table
  File "pyarrow/_dataset.pyx", line 3449, in pyarrow._dataset.Scanner.to_table
  File "pyarrow/error.pxi", line 144, in pyarrow.lib.pyarrow_internal_check_status
  File "pyarrow/error.pxi", line 115, in pyarrow.lib.check_status
OSError: Data size too large for number of values (padding in byte stream split data page?)

But the above code works fine with pyarrow 11.0.0 and and 10.0.1.
It appears that #34140 caused this regression. I tested building pyarrow on the current main branch (commit 42d42b1194d8a672e13dac10a8102573f787f70d) and could reproduce the error, but it was fixed after I reverted the merge of that PR (commit c31fb46544b9c8372e799138bad9223162169473).
@mapleFU could you please take a look into this?

Sorry I just realised the above issue was reported with pyarrow 11 and the error message is slightly different, I've opened #35423 for the "Data size too large" issue above

Could you please change to 12.0 to see how it works? Seems in 11.0, it has the issue here: https://github.com/apache/arrow/issues/15173

I've tried pyarrow 12.0, seems another problem
>>> import pyarrow
>>> pyarrow.__version__
'12.0.0'
>>> from pyarrow import parquet
>>> a = parquet.read_table('sample.parquet')
>>> parquet.write_table(a,"bug.parquet", use_dictionary=["contract_name"],use_byte_stream_split=["last_price",'bid_price1'])
>>> parquet.read_table('bug.parquet')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/wangxinyu/miniconda3/lib/python3.9/site-packages/pyarrow/parquet/core.py", line 2986, in read_table
    return dataset.read(columns=columns, use_threads=use_threads,
  File "/home/wangxinyu/miniconda3/lib/python3.9/site-packages/pyarrow/parquet/core.py", line 2614, in read
    table = self._dataset.to_table(
  File "pyarrow/_dataset.pyx", line 546, in pyarrow._dataset.Dataset.to_table
  File "pyarrow/_dataset.pyx", line 3449, in pyarrow._dataset.Scanner.to_table
  File "pyarrow/error.pxi", line 144, in pyarrow.lib.pyarrow_internal_check_status
  File "pyarrow/error.pxi", line 115, in pyarrow.lib.check_status
OSError: Data size too large for number of values (padding in byte stream split data page?)

@comicfans I tried to fix "data size too large" in https://github.com/apache/arrow/pull/35428 . Would you mind take a look or wait that patch merged?

@comicfans I tried to fix "data size too large" in #35428 . Would you mind take a look or wait that patch merged?

@mapleFU Hi, I've tried your branch , building R package and use its read_parquet to load the written out parquet, confirm it worked (previously it report error) and result completely same as the normal one . but I didn't try the python API

@comicfans My fixing is merged into master. Seems we can close this issue?

That's ok, but I think this merge is still very new and not included in the released pyarrow/R arrow package, I hope these two packages release new version earlier.

Yes, maybe it would be contained in 12.0.1 release


Node 12 not working

This is on a newly installed 0.6 snapshot (187e783565eb69c76af017d1d9e461432350a51a) and I also had the same issue on 0.5.
App (knative runtime) works fine with node 10 but after setting this
  "engines": {
    "node": "12"
  },

the runtime dies like this:
Waiting for deployer "pquery" to become ready...
Starting streaming-http-adapter 0.5.1-snapshot b607f3d37585fe77b7c3a7a2ea5c96dac3f44c07
foobar/pquery-deployer-nxkbd-tcmwp-deployment-69d754c97d-v5gh2[user-container]:
/layers/io.projectriff.node/riff-invoker-node/node_modules/grpc/src/grpc_extension.js:55
    throw error;
    ^
foobar/pquery-deployer-nxkbd-tcmwp-deployment-69d754c97d-v5gh2[user-container]:
Error: Failed to load gRPC binary module because it was not installed for the current system
Expected directory: node-v72-linux-x64-glibc
Found: [node-v64-linux-x64-glibc]
This problem can often be fixed by running "npm rebuild" on the current system
Original error: Cannot find module '/layers/io.projectriff.node/riff-invoker-node/node_modules/grpc/src/node/extension_binary/node-v72-linux-x64-glibc/grpc_node.node'
Require stack:
- /layers/io.projectriff.node/riff-invoker-node/node_modules/grpc/src/grpc_extension.js
- /layers/io.projectriff.node/riff-invoker-node/node_modules/grpc/src/client_interceptors.js
- /layers/io.projectriff.node/riff-invoker-node/node_modules/grpc/src/client.js
- /layers/io.projectriff.node/riff-invoker-node/node_modules/grpc/index.js
- /layers/io.projectriff.node/riff-invoker-node/lib/streaming-pipeline.js
- /layers/io.projectriff.node/riff-invoker-node/lib/invoker.js
- /layers/io.projectriff.node/riff-invoker-node/server.js
    at Object.<anonymous> (/layers/io.projectriff.node/riff-invoker-node/node_modules/grpc/src/grpc_extension.js:53:17)
    at Module._compile (internal/modules/cjs/loader.js:1158:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
    at Module.load (internal/modules/cjs/loader.js:1002:32)
    at Function.Module._load (internal/modules/cjs/loader.js:901:14)
    at Module.require (internal/modules/cjs/loader.js:1044:19)
    at require (internal/modules/cjs/helpers.js:77:18)
    at Object.<anonymous> (/layers/io.projectriff.node/riff-invoker-node/node_modules/grpc/src/client_interceptors.js:144:12)
    at Module._compile (internal/modules/cjs/loader.js:1158:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10) {
  code: 'MODULE_NOT_FOUND'
}
Child process exited with exit status 1

This is the part where the builder picks the image to use:
[builder] Node Engine Buildpack 0.0.168
[builder]   Resolving Node Engine version
[builder]     Candidate version sources (in priority order):
[builder]       package.json -> "12"
[builder]       <unknown>    -> "*"
[builder]
[builder]     Selected Node Engine version (using package.json): 12.16.1
[builder]
[builder]   Executing build process
[builder]     Installing Node Engine 12.16.1
[builder]       Completed in 3.804s
[builder]
[builder]   Configuring environment
[builder]     NODE_ENV     -> "production"
[builder]     NODE_HOME    -> "/layers/org.cloudfoundry.node-engine/node"
[builder]     NODE_VERBOSE -> "false"
[builder]
[builder]     Writing profile.d/0_memory_available.sh
[builder]       Calculates available memory based on container limits at launch time.
[builder]       Made available in the MEMORY_AVAILABLE environment variable.
[builder]
[builder] Yarn Install Buildpack 0.1.10
[builder]   Reusing cached layer /layers/org.cloudfoundry.yarn-install/yarn
[builder]
[builder]   Resolving installation process
[builder]     Process inputs:
[builder]       yarn.lock -> Found
[builder]
[builder]     Selected default build process: 'yarn install'
[builder]
[builder]   Reusing cached layer /layers/org.cloudfoundry.yarn-install/modules
[builder]

Hmm, we run the invoker unit tests against node 12. But we're not testing with the buildpack against node 12. I quickly tried to building our test function with node 12 and it worked. Are you able to share the function source that is failing?

Thank you @scothis ! Based on your response, I investigated some more and I think I've figured out the root cause. It looks like during the build process Docker's cache is using an existing (v. 10 based docker layer), therefore the image ends up with the wrong files.

To verify this, I did the following test:
a) Set the node engine to 12 and created a buildwith12first function/deployment, using the same project as the one that errors out. It worked!
b) Set the node engine to 10 and created a buildwith10first function/deployment, again using the same project. It worked. But then I changed the node engine to 12, kept the function/deployment name the same and boom - it errors out.
So I guess the workaround would be to just delete the image from the registry. I'm not sure there's an easy fix for this so perhaps just documenting the gotcha somewhere is the best option.

Thanks for the extra digging. We should be invalidating the layer cache for the invoker when the node-engine layer changes. I'm going to transfer this issue to the node-function-buildpack repo since that's where the issue will need to be fixed.
There is also a PR (#181) to switch from the c++ based grpc library to a pure js version which should also side step this issue.


The 2 dropdown lists on the Account Setup / Translation Settings page both have the same id

This is the org dropdown list:

This is the language dropdown list:

Looks good in v0.9.0 build ab13659


Issues validating

I tried validating if svg could be a child of label and the page seems to error out. I get a warning saying "Some values from parameters were not found" and the webpage shows skeleton components. I tried using Vivaldi (Chrome) and Firefox and got the same results.
If I change the child to something like p or button, the validation works. So it seems to be choking on svg?

I bumped into a similar problem trying to validate svg as child of button. The issue seems to be using svg indeed


Use canonical URL for Maven Central repository shortcut method

Context
The default Maven URL is https://repo.maven.apache.org/maven2/. (https://repo1.maven.org/maven2/ is no longer the default)
From reading online, As Robert Scholte informed, as of 3.0.4 the default URL has been changed from http://repo1.maven.org/maven2 to http://repo.maven.apache.org/maven2.
Additional Sources:

http://svn.apache.org/viewvc/maven/site/trunk/src/site/xdoc/repository/index.xml?r1=1243210&r2=1243209&pathrev=1243210
https://stackoverflow.com/questions/18471432/maven-why-does-my-computer-always-download-from-http-repo1-maven-org
https://github.com/gradle/gradle/issues/3463

Contributor Checklist

[x] Review Contribution Guidelines
[x] Sign Gradle CLA
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[x] Provide unit tests (under <subproject>/src/test) to verify logic
[x] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[x] Ensure that tests pass locally: ./gradlew <changed-subproject>:check

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

Did you already submit a signed CLA? I couldn't find it. What name did you use?

@bmuschko I signed it about 20-30 minutes ago as Joel Vasallo; maybe its not updated? I did it both as an individual and as a contributor with a corporation. This is my personal account at the moment; signed both just in case.

@jvasallo Thanks, just got it.

There are also test or test-related classes that should adapt the new URL:

ApacheDirectoryListingParserTest."parse is compatible with #repoType"
MavenInstallationDownloader.downloadMavenBinArchiveWithRetry(String).

Fixed the existing test cases/documentation I could find with references to repo1. I ran a local ./gradlew coreApi:check test and it seems to be in order.
Anything else you would like me to do?

@jvasallo Thanks, I think there's one more place in depMngmt.adoc that references a link to https://repo1.maven.org/maven2. Could you touch that up as well?

Blah! Missed one. Sorry about that; fixed it now.
I did a recursive search and couldn't find any other references but let me know if there is anything else! 👍

Thanks for providing the pull request. It has been merged.


feat(iterable_extension): ✨ add compact, explode and format extension methods

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

41 of 48 (85.42%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.5%) to 99.464%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/src/utils/range_extension.dart
19
21
90.48%

lib/src/utils/iterable_extension.dart
15
20
75.0%

Totals

Change from base Build<PHONE_NUMBER>8:
-0.5%

Covered Lines:
1298

Relevant Lines:
1305

💛  - Coveralls


Microsoft 365 Assessment Tool Errors attempting to run SharePoint Add/In assessment

Microsoft 365 Assessment Tool Errors attempting to run SharePoint Add/In assessment.  Errors received are attached.  I am using the following syntax and woud like to run this on one site initially not the entire tenant.

start --mode AddInsACS --authmode application
--tenant company.sharepoint.com  --applicationid xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx
--siteslist "https://company.sharepoint.com/sites/allcompany38"

You're missing the --authmode parameter, see https://pnp.github.io/pnpassessment/using-the-assessment-tool/assess-start.html#authentication-configuration

Hi thanks for responding but I added the authmode as you can see in the text at the bottom of the screenshot I've tried it with applicationid.  I've also tried it with interactive and still receive errors.

Oh sorry, missed that one. When using application permissions you also need to specify the certificate to use. See https://pnp.github.io/pnpassessment/using-the-assessment-tool/assess-start.html#specifying-the-certificate-to-use-when-using-application-permissions.

Problem turned out to be that all arguments needed to be on the same line before executing. 👍

@MJ-Apptitude , also looking at the screenshot you've not added all parameters, it should be like this (only added the first params, you'll need to add all)


Register Distributions: 0.19.1

Registering: Distributions
Repository: https://github.com/JuliaStats/Distributions.jl
Version: v0.19.1
Commit: 4e74c25e72b9caeda6a1c1deb993678de1acf2d2
Proposed by: @matbesancon
Reviewed by: @matbesancon
Reference: https://github.com/JuliaStats/Distributions.jl/issues/862#issuecomment-484919351

Consider enabling TagBot to make sure the release is persistent in your repo, see https://discourse.julialang.org/t/ann-tagbot-creates-tags-and-releases-for-your-julia-packages-when-theyre-registered/23084


incorrect 'is' method call in melody-types

In melody-parser, is method of babel-types has been called in a wrong way.
The is method signature is as follows which takes type:string and node:object:
function is(type, node, opts) {
  if (!node) return false;

  var matches = isType(node.type, type);
  if (!matches) return false;

  if (typeof opts === "undefined") {
    return true;
  } else {
    return t.shallowEqual(node, opts);
  }
}

Ref: is Method
but in melody-types
https://github.com/trivago/melody/blob/e1557751063a949c9738728710609a7d052f4fda/packages/melody-types/src/index.js#L78
node and types have been passed in reverse order.

#52 merged


Snapdragon Contract at the farming guild not showing Icon

Type
Incorrect behavior
Operating System
Windows
OS Version
10
Bug description
Snapdragon Contract at the farming guild not showing Icon
Screenshots or videos
No response
RuneLite version
1.10.37
Logs
No response

This should be fixed by 3b56b9f3dc489356b0028761013ef8d285bb7bd3

It seems for me that I was reverted back into using net.runelite.api.NullNpcID from net.runelite.api.NpcID.
And I could not find any NullNpcID reference to guildmaster Jane in runelite.api. Tho NpcID seems to be working nicely.
Currently plugin code is using NullNpcID instead of NpcID. Is that what you guyz intended to do?

I have this issue with my main account and my alt account when I updated NVidia graphics drivers (which crashes RuneLite with the 117 HD) and reopened RuneLite to find my contract not showing at the farming guild.

version <IP_ADDRESS> of RuneLite was released along with the fix for this issue. If you're still experiencing this issue, restart your client.


⚠ Jenkins Plugins Artifactory has degraded performance

In 6d3d4f0, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1230 ms

Resolved: Jenkins Plugins Artifactory performance has improved in baf2f69 after 22 minutes.


modify function SK_diffKinetics

added SK_diffKinetics. Didn't test because the class cannot be compile.
got error
AttributeError: 'SpectralKinetics' object has no attribute 'initial_populations'
There might be a bug in the set parameters function.
Can discuss this tomorrow if possible. Also want to check how to setup package dependency.

Ah yes. Sorry, I've fixed the AttributeError. You should be able to create a SpectralKinetics object now and test the function.

tested SK_diffKinetics. Added SK_SetSimParams.

I think the SK_SetSimParams function doesn't really do much, so I've removed it. And the other related function which is set_kinetic_parameters.


[Add] Adding hovering effect on the up arrow button

Details

On hover a bulb light effect is observed i.e., there is lightness around the arrow button on hover.
Hovering effect is in the circular fashion.
This will attract more users and boost the attractiveness of the website.

Screenshots
No response
Type of Contribution

[ ] Update to an existing Animated Button
[ ] Adding a new Button
[X] Resolving a bug
[ ] Proposal to the Repository
[ ] Changes related to documentation or README.md
[X] Other Changes

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue
[X] I am a GSSoC'23 contributor

@Spyware007 please assign this project to me to work on it and contribute under GSSoC'23 program

Go Ahead @Avdhesh-Varshney


Bug

after 10 miniutes hes just spamming Rate limit reached! Switched proxy

@xnti

Probably used all proxies... Free proxies aren't the best

Please use better proxies. It is not a code bug. It is due to http requests.


feat(readme): add gorm-zero

Context
Add grom-zero extension that allows the usage of Goran to manage models.

Hey @kevwan, I hope you are doing great!
Can you check if this lib is in the right place ?

Yes, thanks for your contribution!


How to de-select a cell?

The problem I'm having is that if a user clicks to edit a cell but then does something on another view that changes the data and re-renders the BootstrapTable, the cell is still focused and retaining the old value until the user clicks somewhere else on the table. Neither reset nor cleanSelected seem to have any effect. Should these methods be able to do what I'm trying?
I tried the following:
onBootstrapTableRef(instance) {
    this.bootstrapTableRef = instance;
}

componentDidUpdate() {
    this.bootstrapTableRef.reset(); //feel like either of these lines should do the job
    this.bootstrapTableRef.cleanSelected();
}

public render() {
    const cellEdit = {
        mode: "click",
        blurToSave: true
    }

    return (
                <BootstrapTable data={this.props.settings} keyField="settingStage"
                    bordered={false} striped cellEdit={cellEdit} ref={this.onBootstrapTableRef}>
                    ...
                </BootstrapTable>
            </div>
        </div>
    );
}

HI @saunandrea I'll clean the cell editing state in the reset function, thanks 👍

@AllenFang Wonderful, thank you! First question/issue I've ever posted and very grateful to have a such a quick response.

👍  :)
BTW, react-bootstrap-table already stop new feature development, and I've plan to rebuild it >> https://github.com/react-bootstrap-table/react-bootstrap-table2   this is still work in progress and if you think there's still something hard to use in react-bootstrap-table, I think you will be interesting on it, check it in the future and pay some attention on next generation react-bootstrap-table.  Thanks 👍

Fixed on v4.0.4 and try it again, thanks

@AllenFang Hey Allen, I'm sorry to say I gave it whirl and I'm still not able to get the cell selection to be reset.

ah, I only clean the cell edit, but forgot to row seleciton

Fixed on v4.0.5.

Fixed on https://github.com/AllenFang/react-bootstrap-table/pull/1624

@saunandrea @AllenFang
How to reset edit cell in react-bootstrap-table2 ?

How to leave the edit mode from a cell after saving?

Hi @AllenFang
How to clear the selected rows in react-bootstrap-table2 after successful save like cleanSelected in react-bootstrap-table


zonal means

How are people computing zonal averages these days? There's a conversation over at pop-tools (https://github.com/NCAR/pop-tools/issues/33) around an existing FORTRAN program to do this.
Since this is a common community need, I am wondering if people have thoughts on how we might collaborate on an xarray-aware implementation.
One solution would be to implement conservative regridding using a 2D gufunc like what was done with 1D regridding. This would line up with the grid.coarsen feature request IIUC.

I have gone the xESMF route for a recent project, but I am not sure if it fulfills the strict requirements raised over at pop-tools. It was focussed on the equator, where zonal averages should be pretty straightforward...
I would favor a solution that uses/improves xESMF to do this, and then we can feed the data back to xgcm for the average?
As far as I can tell xESMF has a bunch of momentum right now, so it would be nice to see if it can solve this problem. This does require a reliable aggregation/reconstruction of grid metrics (which would be of interest to me in general and in particular for cmip6_preprocessing). @dcherian is this something that has been discussed over at cf-xarray? (Its a bit offtopic but basically I would like a reliable way to reconstruct area from lat/lon vertices)

This would line up with the grid.coarsen feature request IIUC.

I actually envisioned grid.coarsen to be strictly logical (e.g. n x m grid boxes), and not related to actual dimensions. Basically my idea was to wrap xarray.coarsen with some understanding of metrics.

Sorry to revive this "stale" issue, but I too would like to know:

How are people computing zonal averages these days?

Is it possible for xesmf to do a grid-aware zonal mean that takes into account the areas of "distorted"  cells in tripolar grids?


compact cnn how to obtain the dominant tags ?

Hello again,
i've implemented the compact-cnn neural network however the output is a vector of 0 & 1 corresponding to inditifed taggs. Is it possible like in the CRNN to only have the dominant taggs like :
[('jazz', '0.444'), ('instrumental', '0.151'), ('folk', '0.103'), ('Hip-Hop', '0.103'), ('ambient', '0.077')]
Kind regards
Emmanuel

however the output is a vector of 0 & 1 corresponding to inditifed taggs

Really? I'm using Sigmoid as an activation function in the output layer, so it can't be like that if you're using the result as it is.

Does the music file format has an importance ? I cannot analyse mp3 so I convert them into wav and then I analyse.
after preprocessing the audio input with librosa it gives me an output like that:
[[[ 0.          0.          0.         ...,  0.04826343  0.05228163
0.05081845]]]

Yes, whatever the file format is, it should be decoded which you do when you're using librosa.load.

even when I use the 1100103.clip.npy. The output of the prediction is still [0.....1]

I'm using
python 3.6
Keras 2.0.6
Tensorflow 1.3.0
Theano 0.9.0
Librosa 0.5.1

Please check out the keras version (and possibly others) as readme. I think the theano version was either 0.7 or 0.8 at the moment.

I'll try to set up exactly the same config as yours tomorrow and let you know the result

I didn't succeed in reproducing your result.
Do you have a docker for a demo ?
Kind regards
Emmanuel

Do you have a docker for a demo ?

No I don’t.

On 7Sep 2017, at 15:18, emmanuelbernieri<EMAIL_ADDRESS>wrote:
I didn't succeed in reproducing your result.
Do you have a docker for a demo ?
Kind regards
Emmanuel
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/keunwoochoi/music-auto_tagging-keras/issues/32#issuecomment-327813564, or mute the thread https://github.com/notifications/unsubscribe-auth/APZ8xTcB6CPgq-HjJIViggOKlU1_rSCJks5sf_sdgaJpZM4POIny.

thanks for everything i'll let you know when I find where the problem is


smart select does not update title when value of select change dynamiclly

but when you open the popup the correct value is selected i saw the library but i can't find any helpfull function to refresh view

show screen please!

I'm guessing you mean changed through JS? That wouldn't change the title because the click handler won't be run because their wasn't a click

Closed due to no response

Related to #910


How to handle timeout for Uploading a blob in Azure Storage using Python SDK?

Which version of the SDK was used? Please provide the output of pip freeze.
azure-storage-blob==12.13.1
What problem was encountered?
I am trying to upload a blob to Azure Storage using Python SDK but I am unable to manage the timeout. The behavior of all timeout values are same.
from azure.storage.blob import BlobServiceClient, ContentSettings
from datetime import datetime

STORAGE_CONNECTION_STRING = ''
container = ''
blobFileName = ''
contentType = ''

def upload_blob(localFilePath):
    blob_service_client = BlobServiceClient.from_connection_string(STORAGE_CONNECTION_STRING)
    blob_client = blob_service_client.get_blob_client(container=container, blob=blobFileName)
    content_setting = ContentSettings(content_type=contentType)
    with open(localFilePath, "rb") as data:
        blob_client.upload_blob(data, overwrite=True, content_settings=content_setting, timeout=30)

@retry(Exception, tries=5, delay=1)
def uploadImageToAzure(imagePath):
    try:
        upload_blob(imagePath)
    except Exception as ex:
        print(f'Exception: {ex}, Type:{type(ex)}, Time:{datetime.now()}')
        raise Exception(ex)

    print('Successfully Uploaded the File')
    return True

uploadImageToAzure(imagePath)

To check the behavior of timeout. I just turn off my internet during uploading the blob.
Test Cases:
I just pick the random values of timeout and saw the behavior of the above code

timeout=1
Exception: <urllib3.connection.HTTPSConnection object at 0x7fe5d848e9a0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution, Type:<class 'azure.core.exceptions.ServiceRequestError'>, Time:2023-03-28 09:25:42.543262 Exception: <urllib3.connection.HTTPSConnection object at 0x7fe5d83c30a0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution, Type:<class 'azure.core.exceptions.ServiceRequestError'>, Time:2023-03-28 09:27:04.949785 Exception: <urllib3.connection.HTTPSConnection object at 0x7fe5d83da940>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution, Type:<class 'azure.core.exceptions.ServiceRequestError'>, Time:2023-03-28 09:28:28.508035 Exception: <urllib3.connection.HTTPSConnection object at 0x7fe5d837a340>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution, Type:<class 'azure.core.exceptions.ServiceRequestError'>, Time:2023-03-28 09:29:58.473318 Exception: <urllib3.connection.HTTPSConnection object at 0x7fe5d8393be0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution, Type:<class 'azure.core.exceptions.ServiceRequestError'>, Time:2023-03-28 09:31:19.184696
timeout=2
Exception: <urllib3.connection.HTTPSConnection object at 0x7f19f0164940>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution, Type:<class 'azure.core.exceptions.ServiceRequestError'>, Time:2023-03-28 09:46:25.328502 Exception: <urllib3.connection.HTTPSConnection object at 0x7f19f009b0a0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution, Type:<class 'azure.core.exceptions.ServiceRequestError'>, Time:2023-03-28 09:47:50.919091 Exception: <urllib3.connection.HTTPSConnection object at 0x7f19f00b2940>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution, Type:<class 'azure.core.exceptions.ServiceRequestError'>, Time:2023-03-28 09:49:14.144449 Exception: <urllib3.connection.HTTPSConnection object at 0x7f19f0056340>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution, Type:<class 'azure.core.exceptions.ServiceRequestError'>, Time:2023-03-28 09:50:43.947462 Exception: <urllib3.connection.HTTPSConnection object at 0x7f19f006ebe0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution, Type:<class 'azure.core.exceptions.ServiceRequestError'>, Time:2023-03-28 09:52:05.272197
timeout=4
Exception: <urllib3.connection.HTTPSConnection object at 0x7f2a08699910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution, Type:<class 'azure.core.exceptions.ServiceRequestError'>, Time:2023-03-28 09:57:27.401257 Exception: <urllib3.connection.HTTPSConnection object at 0x7f2a085d41f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution, Type:<class 'azure.core.exceptions.ServiceRequestError'>, Time:2023-03-28 09:58:55.699520 Exception: <urllib3.connection.HTTPSConnection object at 0x7f2a085ea910>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution, Type:<class 'azure.core.exceptions.ServiceRequestError'>, Time:2023-03-28 10:00:18.315710 Exception: <urllib3.connection.HTTPSConnection object at 0x7f2a096ce310>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution, Type:<class 'azure.core.exceptions.ServiceRequestError'>, Time:2023-03-28 10:01:37.800908 Exception: <urllib3.connection.HTTPSConnection object at 0x7f2a096e6bb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution, Type:<class 'azure.core.exceptions.ServiceRequestError'>, Time:2023-03-28 10:03:02.293558
timeout=16
Exception: <urllib3.connection.HTTPSConnection object at 0x7ff8c83d7880>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution, Type:<class 'azure.core.exceptions.ServiceRequestError'>, Time:2023-03-28 10:19:15.195291 Exception: <urllib3.connection.HTTPSConnection object at 0x7ff8c830f130>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution, Type:<class 'azure.core.exceptions.ServiceRequestError'>, Time:2023-03-28 10:20:47.769388 Exception: <urllib3.connection.HTTPSConnection object at 0x7ff8c8323880>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution, Type:<class 'azure.core.exceptions.ServiceRequestError'>, Time:2023-03-28 10:22:14.996163 Exception: <urllib3.connection.HTTPSConnection object at 0x7ff8c82c8280>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution, Type:<class 'azure.core.exceptions.ServiceRequestError'>, Time:2023-03-28 10:23:37.736138 Exception: <urllib3.connection.HTTPSConnection object at 0x7ff8c82ddb20>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution, Type:<class 'azure.core.exceptions.ServiceRequestError'>, Time:2023-03-28 10:25:00.846901

What do you mean by "I am unable to manage the timeout"? Are you saying that in testing the various timeout values you are seeing the actual timeout does not change? I doubt you are actually testing the network timeout here. With your network disconnected, it is failing to resolve a domain name. "Temporary failure in name resolution" is reported in each case. That is likely a different timeout value which you are not controlling with the timeout parameter you specify. That parameter probably controls the timeout once the connection is actually established.


JIRA: JS conflict in issue filtering

Go to search by Jira issues
Expected to see Basic filters by default
But they are not loaded
Only able to use Advanced filters
Filters in sidebar are not loaded.

The error below appear only with plugin enabled

Are you sure this is connected to Toggl Button. The scripts from Chrome extensions are executed in different sandbox then the regular javascript on the page and it should not be possible for the two of them to conflict each other.

Hi, It seems that this is not connected to Toggl Button Chrome extension but the Toggl plugin for JIRA that is not an official Toggl product. You should contact the developer of this plugin with this issue.

UP: Issue was resolved with clearing local storage for domain.


Is there an existing issue for this?

[X] I have searched the existing issues and checked the recent builds/commits

What happened?

另外，Query不支持proxy参数吗？
Steps to reproduce the problem

Go to ....
Press ....
...

What should have happened?
正确运行
Version where the problem happens
0.6.8
What Python version are you running this with?
3.9
What is your operating system ?
Windows
Command Line Arguments
from EdgeGPT import Query, Cookie
import os
g_current_dir = os.getcwd()
ans = Query(question, style="balanced", cookie_file=g_current_dir + "/cookie_bing.json")
    print(ans)

### Console logs

```Shell
错误信息：
  File "D:\software\miniconda3\envs\....\Lib\site-packages\EdgeGPT.py", line 1028, in __init__
    if cookie_file in files():  # Supplied filepath IS in Cookie.dirpath
                      ^^^^^^^
TypeError: 'list' object is not callable

Additional information
No response

CC: @PFython

Also added proxy support.
There is something wrong with the implementation right now though. Cookies aren't being passed through to the Chatbot in Query

@PFython Could you review the closing commit when you get the time? The Query and Cookie classes are a bit confusing to me

Sorry for the slow reply - yes this was just a copy/paste error and I see you've already corrected it from files() to files  Thanks!


Pods stuck at ContainerCreating with FailedCreatePodSandBox on the attempts.

I installed microk8s and launched some pods by enabling the addons and installing helm, but the pods were stuck at ContainerCreating.
NAME                                              READY   STATUS              RESTARTS   AGE
heapster-v1.5.2-6bc7c4965d-p4rp7                  0/4     ContainerCreating   0          52m
hostpath-provisioner-599db8d5fb-mbn9f             0/1     ContainerCreating   0          43m
kube-dns-6ccd496668-pgwg2                         0/3     ContainerCreating   0          52m
kubernetes-dashboard-654cfb4879-tzl79             0/1     ContainerCreating   0          52m
monitoring-influxdb-grafana-v4-6679c46745-gkr7k   0/2     ContainerCreating   0          52m
tiller-deploy-588d7678ff-lfzkq                    0/1     ContainerCreating   0          41m

After checking the logs and running micromicrk8s.inspect I changed IPTABLES and got a new error.
It seems that the pods are trying to create folders that already exist? I'm not sure. This is the output of one of the logs:
Name:               tiller-deploy-588d7678ff-lfzkq
Namespace:          kube-system
Priority:           0
PriorityClassName:  <none>
Node:               ubuntu/<IP_ADDRESS>
Start Time:         Fri, 15 Mar 2019 09:59:06 +0100
Labels:             app=helm
                    name=tiller
                    pod-template-hash=588d7678ff
Annotations:        <none>
Status:             Pending
IP:
Controlled By:      ReplicaSet/tiller-deploy-588d7678ff
Containers:
  tiller:
    Container ID:
    Image:          gcr.io/kubernetes-helm/tiller:v2.13.0
    Image ID:
    Ports:          44134/TCP, 44135/TCP
    Host Ports:     0/TCP, 0/TCP
    State:          Waiting
      Reason:       ContainerCreating
    Ready:          False
    Restart Count:  0
    Liveness:       http-get http://:44135/liveness delay=1s timeout=1s period=10s #success=1 #failure=3
    Readiness:      http-get http://:44135/readiness delay=1s timeout=1s period=10s #success=1 #failure=3
    Environment:
      TILLER_NAMESPACE:    kube-system
      TILLER_HISTORY_MAX:  200
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-hxng5 (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  default-token-hxng5:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  default-token-hxng5
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
                 node.kubernetes.io/unreachable:NoExecute for 300s
Events:
  Type     Reason                  Age                   From               Message
  ----     ------                  ----                  ----               -------
  Normal   Scheduled               40m                   default-scheduler  Successfully assigned kube-system/tiller-deploy-588d7678ff-lfzkq to ubuntu
  Warning  FailedCreatePodSandBox  31m (x18 over 39m)    kubelet, ubuntu    Failed create pod sandbox: rpc error: code = Unknown desc = failed pulling image "k8s.gcr.io/pause:3.1": Error response from daemon: Get https://k8s.gcr.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
  Warning  FailedCreatePodSandBox  31m                   kubelet, ubuntu    Failed create pod sandbox: rpc error: code = Unknown desc = failed to start sandbox container for pod "tiller-deploy-588d7678ff-lfzkq": Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"proc\\\" to rootfs \\\"/var/snap/microk8s/common/var/lib/docker/overlay2/d86d0fcde2c4a7c3e4f3c0931fe38e14a0d3424c440a391ec9942d4e06a46eee/merged\\\" at \\\"/proc\\\" caused \\\"mkdir /var/snap/microk8s/common/var/lib/docker/overlay2/d86d0fcde2c4a7c3e4f3c0931fe38e14a0d3424c440a391ec9942d4e06a46eee/merged: file exists\\\"\"": unknown
  Warning  FailedCreatePodSandBox  31m                   kubelet, ubuntu    Failed create pod sandbox: rpc error: code = Unknown desc = failed to start sandbox container for pod "tiller-deploy-588d7678ff-lfzkq": Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"proc\\\" to rootfs \\\"/var/snap/microk8s/common/var/lib/docker/overlay2/0128405f19566459a3c0b11d841f568e2e73ab17a1dfa15b8ab0b7b35b2fce42/merged\\\" at \\\"/proc\\\" caused \\\"mkdir /var/snap/microk8s/common/var/lib/docker/overlay2/0128405f19566459a3c0b11d841f568e2e73ab17a1dfa15b8ab0b7b35b2fce42/merged: file exists\\\"\"": unknown
  Warning  FailedCreatePodSandBox  30m                   kubelet, ubuntu    Failed create pod sandbox: rpc error: code = Unknown desc = failed to start sandbox container for pod "tiller-deploy-588d7678ff-lfzkq": Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"proc\\\" to rootfs \\\"/var/snap/microk8s/common/var/lib/docker/overlay2/3d2ea71e18c4779df177b0af8f3bf6987fae4a21c9b0952c02a40ad7a0262992/merged\\\" at \\\"/proc\\\" caused \\\"mkdir /var/snap/microk8s/common/var/lib/docker/overlay2/3d2ea71e18c4779df177b0af8f3bf6987fae4a21c9b0952c02a40ad7a0262992/merged: file exists\\\"\"": unknown
{...}

I've also attached the inspection report here:
inspection-report-20190315_102906.tar.gz

@enpinzolas
Have you fix the issue, I hit same one

Hi @enpinzolas
I see you have a second dockerd running and this is not a supported setup (https://github.com/ubuntu/microk8s/#user-guide). We intend to lift this constraint in the 1.14 release by moving to containerd. Could you try installing MicroK8s 1.14 beta with:
sudo snap remove mictok8s
sudo snap install microk8s --classic --channel=1.14/beta

Let me know if this worked. Thanks.

@ktsakalozos After installing the beta channel that works with containerd and configuring the proxy in its own envs, the pods were downloaded successfully and are up and running.
Thanks!


fix(es/parser): align ts_next_token_can_follow_modifier to the Babel/TS implementation

Description:

BREAKING CHANGE:

Related issue (if exists):

fix #4132

Because tsc tests of the swc crate simply give up if there's an error from the parser.
It's addition, not modification.

I mean, with the previous parser code it was ignored because the parsing failed, but now it's processed by swc crate.


License.txt -> License.md

Before we make this change everywhere - just making sure we want a License.md file instead of a License.txt file? vscode repo uses .txt https://github.com/Microsoft/vscode/blob/master/LICENSE.txt
No strong preference

@fiveisprime You have a preference?  License.md or License.txt?

No preference


Enhanced Feedback form

Enhance the ui of feedback form and make it user friendly and more appelaing.
Related Issue
fixes #451
Description
I have improved the styling of your website's feedback form, enhancing its overall appearance. Additionally, I have added hover effects and smooth transitions to make it more visually appealing and engaging for users.
Type of PR

[x] Feature enhancement

Screenshots / videos (if applicable)

Checklist:

[x] I have performed a self-review of my code
[x] I have read and followed the Contribution Guidelines.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.

@Suchitra-Sahoo please check and merge it with main repository to make it better.

Please improve it. Previous one was looking much better. You can refer other websites to get idea about feedback forms.

Please improve it. Previous one was looking much better. You can refer other websites to get idea about feedback forms.

Okay sure sir!

I have made changes and I hope now you like them. Please let me know if you need any further changes.

Please reply as soon as possible if you want some other changes so that i can start working on other issue that you had assigned to me.

I had changed the format and made it better. Please check it and let me
know if you need other changes. Please reply as soon as possible, it will
just take a few minutes to check and reply.
On Sat, 25 May 2024 at 19:33, Suchitra Sahoo @.***>
wrote:

Please improve it. Previous one was looking much better. You can refer
other websites to get idea about feedback forms.
—
Reply to this email directly, view it on GitHub
https://github.com/Suchitra-Sahoo/AgriLearnNetwork/pull/472#issuecomment-2131284141,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEQ6HA7U6B652QLUDVUXRWTZECK2HAVCNFSM6AAAAABIG3S7TGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZRGI4DIMJUGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

@kashisharora9462 keep it in green shade

changed

Done.
On Mon, 27 May 2024 at 19:35, Suchitra Sahoo @.***>
wrote:

@kashisharora9462 https://github.com/kashisharora9462 keep it in green
shade
—
Reply to this email directly, view it on GitHub
https://github.com/Suchitra-Sahoo/AgriLearnNetwork/pull/472#issuecomment-2133556746,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEQ6HAZIX6UOF66KDDE3H5DZEM4SRAVCNFSM6AAAAABIG3S7TGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZTGU2TMNZUGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Your screenshot is not visible to me

Please check now.
On Mon, 27 May 2024 at 23:02, Suchitra Sahoo @.***>
wrote:

Your screenshot is not visible to me
—
Reply to this email directly, view it on GitHub
https://github.com/Suchitra-Sahoo/AgriLearnNetwork/pull/472#issuecomment-2133866699,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BEQ6HA7VGC4MK3SZWY43OPDZENU4XAVCNFSM6AAAAABIG3S7TGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZTHA3DMNRZHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Its not working. As soon as the website loads it appears like this

 Its not working. As soon as the website loads it appears like this

I cannot understand your query.As soon as website load ,it looks a feedback form ,can you please tell your query in detail.

You can see in attached screenshot the alignment of footer is totally disturbed. The feedback form pops up suddenly as soon as website opens.

I had resolved that issue .Please check again


Inport should not crash when questions don't have attibutes

fix here: https://github.com/rdmorganiser/rdmo/blob/master/rdmo/projects/mixins.py#L35

I have reproduced a similar error at import of a project.

AttributeError at /projects/import/
'NoneType' object has no attribute 'uri'

at if question.attribute.uri not in questions:
Maybe a fix in projects/mixins.py#L35 with an extra if statement?
for question in queryset:
    if question.attribute: # fix?
        if question.attribute.uri not in questions:
           questions[question.attribute.uri] = question


coreml model size is much bigger than frozen graph size

Hi,
The size of the frozen graph is around 4MB. When I used tf-coreml to convert the frozen graph to coreml model, the resulting size is around 78MB, which is also larger than the checkpoint size. Do you know why? The model conversion from frozen graph to coreml model seems fine.
Thank you very much!

This is not expected.
Can you shed more details on the type of model?
Do TF and CoreML predictions match?

Hi,
Thanks for the quick reply.
The model is an encoder-decoder style network for semantic segmentation. There are 5 denseblocks in the encoder and 5 denseblocks in the decoder. The input is an image with 256x256x3, and the output are semantic feature maps with 256x256x10.
Here are the frozen graph and coreml model files, I also include the inspection files generated by the visualization tool in utils.
I haven't tested the coreml model yet. I will update the test results later.
model.zip

Yes, I used the .pb file for convertion. Please see the new attachment.
I think maybe the problem is the dropout operation.
I found when I didn't use the dropout, the converted coreml model is almost the same size as the frozen model.
coreml.zip

Yeah, maybe the dropout mask is being converted to the CoreML model and its big.
Since dropout is specific to training, yes the correct thing to do is to save out an inference graph without dropout and then convert the model.

Do you know if there is a good way to remove the dropout operation?
I found a related answer validator error decoding CoreML model #168 here. But I am not very sure how to do it. Thanks!

No, I am also looking for the correct way to do it post freezing the graph!

Hi, I retrained the network without dropout layer, so I got a coreml model with the size similar as the frozen graph model. However, the output of the TF and CoreML predictions are different.
The pb, mlmodel and a test script are attached. The input image is normalized to (0, 1).
Could you please take a look at it? Thanks!
coreml.zip

I think the model uses instance batch normalization but the converter was sort of ignoring that.
I have put up a fix at PR #170. Please try again with that branch.

Thank you very much for your quick reply.
I tried it and it worked!


GH-3765 add support for rdf-star triple persistence in memorystore

GitHub issue resolved: #3765
Briefly describe the changes proposed in this PR:

added support for reading/writing RDF-star triples in memory store custom persistence format
extended rdf-star tests to explicitly run with a persistence-enabled memory store

PR Author Checklist (see the contributor guidelines for more details):

[x] my pull request is self-contained
[x] I've added tests for the changes I made
[x] I've applied code formatting (you can use mvn process-resources to format from the command line)
[x] I've squashed my commits where necessary
[x] every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change

Verified locally that with these fixes in place, Turtle-star upload via the Workbench to a memory store with disk sync now works as expected.


A weird issue

(node:5867) UnhandledPromiseRejectionWarning: Error: No available websocket connection for selected node.

Your code must have problem.

@inhydrox hey sorry, I didnt see this. For errors and better support I suggest going to the discord server, the invite is https://discord.gg/wXrjZmV
It just allows for us to give you better support and free up people's emails.
But just having a look, it looks like you need to call Manager#connect


Create WofSearchbar component

Component which will be used to search articles.
Design on Figma on Search Page.
Should contain:

Text input with placeholder text "search..."
Custom button which will emit event with input text on click. Should display wof-search icon.
It should be reasonably responsive.

What does it mean reasonably responsive? :)


prepareStdio: use named return for err

This avoids issues with the various deferred error handlers in the event that
err is shadowed or named differently, which this function currently avoids
but which is an easy trap to fall into.
Since named return values are all or nothing we need to name the waitGroup too
and adjust the code to suite.
Thanks to Aaron Lehmann for the suggestion, see also
https://github.com/docker/swarmkit/pull/1965#discussion_r118137410
Signed-off-by: Ian Campbell<EMAIL_ADDRESS>/cc @mlaventure @aaronlehmann

Codecov Report

Merging #899 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #899   +/-   ##
=======================================
  Coverage   59.55%   59.55%
=======================================
  Files           5        5
  Lines         759      759
=======================================
  Hits          452      452
  Misses        199      199
  Partials      108      108

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 c257deb...d7deba0. Read the comment docs.

LGTM


Use with NW.js via require?

Hi there,
I'm trying to pull down debugout.js via npm (npm install debugout.js --save) this has succeeded and plonked it in my node_modules folder.
However on trying to actually use the module I just get back an empty object:
var bugout = require("debugout.js"); // if I do this, bugout == {}

I'm not that experienced with NW.js/node, so I'm mostly used to "requiring" node modules as opposed to directly including the .js file in the project. Is this the wrong approach? It feels a bit weird digging around in the node_modules directory manually for files.

This is a pretty old lib, and I wrote it before things were widely modularized, and in fact there is an open issue (#17) to support modules. So currently requiring it won't work since it isn't exported as a module.
I'll try to get around to updating this lib, but until then you'll need to include it in a script tag and it will expose the global debugout.

Just released v1.0 which is modularized. Could you try it out?


RB constraint solver traceable by CppAD, inclined plane demo using SDF rendering + rigid body

Improve gradient stability in norm/normalize, quat_to_matrix functions in EigenAlgebra: we should always use Algebra::normalize(Vector3) instead of manually writing Vector3 / norm(Vector3)
RB constraint solver traceable by CppAD
implement Box geometry + contact handling (8 spheres in corner points for plane contact) and URDF parsing
add inclined plane demo inclined_plane_gui where a geometry is created and simulated via rigid bodies, multi bodies (floating-/fixed-base); visualization via SDF meshing code
Small fixes (e.g. World::clear() now doesn't segfault anymore in some cases)
some code formatting via clang-format with Google style (added .clang-format to root)

Thanks, I reviewed the changes, LGTM.


Avoid curly brace escape in f-string format spec

Summary
This PR fixes a bug in the lexer for f-string format spec where it would
consider the {{ (double curly braces) as an escape pattern.
This is not the case as evident by the
PEP as well but I missed the part:

If in “format specifier mode” (see step 3), an opening brace ({) or a closing
brace (}). If not in “format specifier mode” (see step 3), an opening brace
({) or a closing brace (}) that is not immediately followed by another
opening/closing brace.

Test Plan
Add a test case to verify the fix and update the snapshot.
fixes: #7778

Current dependencies on/for this PR:

main

PR #7780   👈

This comment was auto-generated by Graphite.


fix: replace existing route in addRoute show warning msg

fix: addRoute is not work when there is already route with same name. replaced existing route in addRoute and show warning msg

Would love to see this merged. We currently have to use a fork to get the documented behavior, which is not ideal
Tested this and can confirm it works as expected :+1:

没有人 merge 吗？

VueJS please fix

+1

+1


znc:Update version 1.6.1 -> 1.6.2

The 1.6.1 version no longer exists on the upstream site.
(It would be good to not have external dependencies in nixpkgs.)

already at 1.6.2 in master

@garbas  In -unstable, you mean?
That seems irrelevant. It's broken in the current release.

@Baughn sorry, i missed the branch to which you're pushing. my mistake.

ok, now merged into release-15.09


failed to get anchor-reports/ directory on github runner after analysis is done

Is this a request for help?:
yes
What happened:
i am using anchor/scan-action with my github repo. when i run the workflows, it scans the image but then i am unable to get anchor-reports as that fails to be copied on github runner (logs attached). Can some one check why this happens. I have attached github workflow file for reference:
**relevant log output from github runner:
Logs for step: Scan the built image
`+ echo 'Copying scan reports from 2166-inline-anchore-engine to /home/runner/work/SpectralHA-API-backend/SpectralHA-API-backend/anchore-reports/'
Copying scan reports from 2166-inline-anchore-engine to /home/runner/work/SpectralHA-API-backend/SpectralHA-API-backend/anchore-reports/
+ docker cp 2166-inline-anchore-engine:/anchore-engine/anchore-reports/ ./
Error: No such container:path: 2166-inline-anchore-engine:/anchore-engine/anchore-reports/

docker kill 7eeb995deecd938f8cc5c0d1c7e9c13913f4be3a117812f61f952bff9a06e23f
docker rm 7eeb995deecd938f8cc5c0d1c7e9c13913f4be3a117812f61f952bff9a06e23f
printf '\n%s\n' 'Cleaning up docker container: 7eeb995deecd938f8cc5c0d1c7e9c13913f4be3a117812f61f952bff9a06e23f'

Cleaning up docker container: 7eeb995deecd938f8cc5c0d1c7e9c13913f4be3a117812f61f952bff9a06e23f

(( timeout=timeout+1 ))
sleep 5
docker ps -a
grep 7eeb995dee
[[ 1 -ge 12 ]]
unset DOCKER_ID
[[ 1 -ge 1 ]]
[[ -d /tmp/anchore ]]
rm -rf /tmp/anchore
exit 0
local-anchore-engine
`
**Logs for step: anchore inline scan JSON results **

anchore inline scan JSON results0s ls: cannot access './anchore-reports/*.json': No such file or directory Run for j inls ./anchore-reports/*.json; do echo "---- ${j} ----"; cat ${j}; echo; done ls: cannot access './anchore-reports/*.json': No such file or directory
** Github workflow file**
`steps:
- name: docker Build
run: docker build . --file Dockerfile --tag localbuild/api-gateway:latest
- name: Scan the built image
uses: anchore/scan-action@v1
with:
image-reference: "localbuild/api-gateway:latest"
dockerfile-path: "./Dockerfile"
fail-build: true
acs-report-enable: true
acs-report-severity-cutoff: "Medium"
debug: true
- name: anchore inline scan JSON results
    run: for j in `ls ./anchore-reports/*.json`; do echo "---- ${j} ----"; cat ${j}; echo; done

  - name: anchore action SARIF report
    run: cat results.sarif

  - name: upload Anchore scan SARIF report
    uses: github/codeql-action/upload-sarif@v1
    with:
      sarif_file: results.sarif

`

hi @farooqdevops - we need to clean up some of that output, but the specific error you're referencing is not something that should prevent the scan action from working correctly, since for the scan action itself the anchore-reports is created and populated outside the invocation of the inline_scan container itself.
If you're not seeing any anchore-reports after the scan action executes, there is something going wrong but it isn't related to that particular log snippet.  some additional output and debugging commands ('ls -al' before and after the scan action, etc) could help narrow down the investigation!  On a successful run, you should have an anchore-reports/ directory with JSON files in it, that can be inspected/used for review of the scan action output.

@nurmi Thanks for your response. It failed due to executing command on wrong directory (inside where Dockerfile resides). so executing outside that dir now runs it correctly. However "upload Anchore scan SARIF report" step fails with 403 permission denied as it requires to enable "Code scanning alerts" and for that first i have to sign-up for beta.


Add analyze-api-ui-plugin, a new awesome Kibana Plugin

https://github.com/johtani/analyze-api-ui-plugin is a new Kibana plugin, very useful:

Looks good! Merged. Thank you @damienalexandre !


Add CodeGen for C# HttpClient

PR Description
This PR adds automated code generation for C# HttpClient library and also tests the generated code.
Related Issues

Related Issue #132
Closes #132

Checklist

[x] I have gone through the contributing guide
[x] I have updated my branch and synced it with project main branch before making this PR
[x] I have run the tests (flutter test) and all tests are passing

Added/updated tests?

[x] Yes

Instructions to run the generated code in local computer

Install Visual Studio Build Tools
Installed C++ for Windows Development and .NET for Windows Development.
Created a new directory named ApiTesting and used cd into that directory.
Using terminal, ran dotnet new console which creates a new console app inside that directory.
Paste the generated code inside Program.cs file.
Run the program using dotnet run.
You may additionally need to ImplicitUsings inside ApiTesting.csproj file.

Thanks for the PR.


Add CI to the Repository

It would nice to get some basic CI set up that runs:

Build
Test (UTs + ITs)
Audit
Lint

yea thank you


Decompress from s3

What
Function for decompressing from s3. Minor changes from card as the tar library we're using raises errors should you try and overwrite an existing file - not having to care about the output path existing simplifies the directory/target logic significantly.
Note - If you've looked at this previously, I've also switched to using a tempfile download and the download function rather than the get object function as this enabled use of moto in the unit tests.
There is a fair bit of extra formatting included in these changes from make fmt. Also removed some unused imports highlighted by make lint.
How to review
Sanity check the code, try it out, make sure the readme makes sense to you.
Who can review
Anyone,.

closing for unverified commits, code was merged elsewhere.


rename the outputs while displaying in webapp

Hi @Lusitaniae ,
I m trying to send the data for workers to cloudwatch , but cloudwatch is not detecting the metrics in console since the name has special characters in it. Can we rename the below to some thing like apache_workers_state_busy  & apache_workers_state_idle while displaying in webapp (http://localhost:9117/metrics
other metrics i am able to pull and show in cloudwatch like apache_accesses_total, apache_cpuload,apache_up
apache_workers{state="busy"} 1
apache_workers{state="idle"} 6
Please help if there are any options for this.
Thanks,
Jijo John

You could use Cloudwatch agent to pull Apache Metrics?