Changing "Warn when imported module cannot be found" does not affect already opened files

With "Warn when imported module cannot be found" option checked
Type "import xxxx " in default opened file
There will green wave under-line shows and errors in Error List
Go to option and uncheck the option "Warn when imported module cannot be found" and click OK
Wait for a while, the green wave under-line and errors in Error List window don't disappear
Close the .py file and re-open it, that works fine.

There's a regression where the option is always ignored: https://github.com/Microsoft/PTVS/issues/4546


Notifications cut of in combination with drop down script

As you can see, cut an issue the names of the issues here.
This happens only, when i use that script here together in combination with GithubDarkScript.
https://openuserjs.org/scripts/joeytwiddle/Github_Notifications_Dropdown

Hi @ShalokShalom!
That appears to be extra CSS added by the userscript author - see lines 106-108 here:
	  + " .notifications-dropdown > .css-truncate, .notifications .list-group-item-name a { "
	  + "   max-width: 200px !important;"
	  + " } "

We could add a definition to GitHub-Dark to override this entry, but it would better to contact the author and have it fixed instead.
I did not find the userscript hosted anywhere publicly, so we can ping @joeytwiddle, or leave a message for him on OUJS about this issue.

Ahhh, I found it's home... deep in a sub-directory: https://github.com/joeytwiddle/code/blob/master/other/gm_scripts/github_notifications_dropdown/github_notifications_dropdown.user.js

Hmm, I cannot reproduce, but this looks like something better fixed in that script. Does changing the loading order of scripts change anything for you? (if your engine supports it)

I can reproduce on Greasemonkey in Firefox and Violentmonkey on Opera, both cannot do that.
What do you use here?

Greasemonkey on Firefox can do that.

Nope. To be precise: It happens only once i actually call the dropdown script.

Hmm, I cannot reproduce

I think you'll see it when you look at the all notifications view, then open the notification popup.

Ah, I see. It does happen without GitHub Dark enabled, so I don't see why we should attempt to solve it on our side. This should be fixed in the Notification Dropdown script.

@Mottie This is one way, yes.

Fixed in 0.9.8, probably. Maybe broken even more. But probably fixed, hopefully. Or maybe not.
OK I checked, it's fixed. Probably.

I removed the lines, which Mottie gave me and that resulted in the effect, that the text went over each other, lapping. Is this fixed too? By making it wider?

the text went over each other, lapping

Please share a screenshot of what you're describing... I'm not sure what you mean.

Because they are not wide enough.

@joeytwiddle I updated to your version, now i get dots:

I want a wider notification drop down, there is no reason to make it that small for me :)

Apologies for the delay, I was making a cup of tea.
I agree it's too narrow. On July 24th 2017, in version 0.9.9, I expanded the minimum width from 500 to 700. I hope you like it better now!

I think we had a conversation somewhere else, yes thanks (still too narrow for me, I am on standard Github again)


can't run test.py correctly.

I tried several hours and checked almost all the issues, still cannot run the test.py. I fixed many times, there are always errors, the most common one is:
loading OTB100:   0%|                                           | 0/100 [00:00<?, ?it/s, Basketball][<EMAIL_ADDRESS>global /io/opencv/modules/imgcodecs/src/loadsave.cpp (239) findDecoder imread_('/root/SiamRPNpp/pysot/experiments/siamrpn_r50_l234_dwxcorr/Basketball/img/0001.jpg'): can't open/read file: check file path/integrity
loading OTB100:   0%|                                           | 0/100 [00:00<?, ?it/s, Basketball]
Traceback (most recent call last):
File "../../tools/test.py", line 226, in
main()
File "../../tools/test.py", line 56, in main
dataset = DatasetFactory.create_dataset(name=args.dataset,
File "/root/SiamRPNpp/pysot/toolkit/datasets/init.py", line 24, in create_dataset
dataset = OTBDataset(**kwargs)
File "/root/SiamRPNpp/pysot/toolkit/datasets/otb.py", line 95, in init
self.videos[video] = OTBVideo(video,
File "/root/SiamRPNpp/pysot/toolkit/datasets/otb.py", line 26, in init
super(OTBVideo, self).init(name, root, video_dir,
File "/root/SiamRPNpp/pysot/toolkit/datasets/video.py", line 27, in init
assert img is not None, self.img_names[0]
AssertionError: /root/SiamRPNpp/pysot/experiments/siamrpn_r50_l234_dwxcorr/Basketball/img/0001.jpg
I'm confused because according to the quick start, there should no other folders under the siamrpn_r50_l234_dwxcorr, especially it's like a dataset. My dataset has been put into testing_dataset.
By the way, because of my NVIDIA turing GPU, I have to use CUDA 11.X and matched torch. Is this the problem? According to the error information,  I don't think so but nothing else to explain.

this issue has been solved. I put the datasets into ./experiments/siamrpnXXX/, then the test.py started to work. It's not same as tutorial.

this problem is same as #399


fix: normalized the size of HDI logo in mobile UI

Description
Size of HDI logo is reduced in mobile UI as mentioned in the issue.

Related issue(s)
resolved #3158

Summary by CodeRabbit

Style

Updated styling for HDI sponsor logo, increasing its default height while maintaining responsive design for smaller screens.

Hi @sahitya-chandra, the size of icon still looks unchanged.

It is like this currently in mobile UI

@devilkiller-ag I have just increased the size of HDI logo for mobile UI
So that it is normalized as compared to other.


New governance model: Jupyter Security subproject

Based on discussions and encouragement (particularly from @afshin and @blink1073) during the jupyter-server call today, @rcthomas, Tiffany Connors, and I (@rpwagner) would like to establish the Jupyter Security Subproject. Our work planning the Jupyter Community Workshop on security best practices has broadened, and includes an engagement with TrustedCI. With the additional support from TrustedCI, we can begin working on security-related activities ahead of the workshop, such as policy recommendations, or secure development practices.
During today's call, the jupyter_security repo was set up under the jupyter-server org as a starting point to capture this work. Later, this could become the team-compass repo for the Subproject. It was also recommended that we create a post on Discourse to let the community know about the Subproject. What should be included in the announcement? E.g., meeting times and location? We want to ensure we have the minimum structure needed to work with the rest of community.
We're looking forward to any feedback on this idea. I will try to attend the July 30, 2021, governance call to see if there is any discussion around it.

I think this would be great! My only questions would be about organization, GitHub-wise. GitHub orgs can have teams, e.g. a 'security' team, which I think is useful when drafting security advisories via github's tools. This can be tedious to coordinate across our growing number of GitHub orgs, but jupyter-server definitely isn't the only org with security issues. My inclination would be to put the repo on the base jupyter org as an indicator that it is a place to discuss general security issues, and can be referenced from subprojects everywhere. Certainly no harm prototyping on jupyter-server first, though.

This can be tedious to coordinate across our growing number of GitHub orgs, but jupyter-server definitely isn't the only org with security issues

I remember it has been mentioned yesterday that the wording used in the current WIP governance model (working-group vs project ?) for the security aspects should/could be revisited. Beyond the wording, I am interested to learn more how Jupyter envisions the definition and handling of security issues.

I fully agree with @minrk's take, that was also my immediate reaction.

For reference, there's now a post on discourse about this to announce it to the community, so they can start rallying around the new repo.
I'm going to close this issue as I think this job is done, and we now have the necessary scaffolding in place for further work. Thanks @rpwagner @minrk @rcthomas @afshin !


stacktrace when dealing with entity expansions

I get an error when loading ogg.owl.
(venv) ~/repos/semantic-sql(main) $ export RUST_BACKTRACE=full
(venv) ~/repos/semantic-sql(main) $ ./bin/rdftab db/ogg.db < owl/ogg.owl
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: RdfXmlError { kind: Xml(EscapeError(UnrecognizedSymbol(1..4, Ok("obo")))) }', src/main.rs:57:5
stack backtrace:
   0:        0x109357e45 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h30b85a1761190f28
   1:        0x10937644e - core::fmt::write::h5b0722e6ee659e34
   2:        0x109356269 - std::io::Write::write_fmt::hf468289e762fa2f9
   3:        0x10935aa9a - std::panicking::default_hook::{{closure}}::h836d46ca6b872224
   4:        0x10935a7bf - std::panicking::default_hook::h2afcf1998cd93f8c
   5:        0x10935b0ed - std::panicking::rust_panic_with_hook::he4f5d8b43533efd5
   6:        0x10935ac82 - rust_begin_unwind
   7:        0x109378acf - core::panicking::panic_fmt::h3559129da805eab4
   8:        0x109378b45 - core::result::unwrap_failed::h170de03e7ee26a1a
   9:        0x1093423a5 - rdftab::main::h1bc34813cbf130e1
  10:        0x1093316a6 - std::rt::lang_start::{{closure}}::h63a82885a43041b4
  11:        0x10935ab58 - std::panicking::try::do_call::h29bd6a8b4eb65398
  12:        0x10936318b - __rust_maybe_catch_panic
  13:        0x10935e389 - std::rt::lang_start_internal::h1cbb853ed77189ce
  14:        0x109342559 - main

my prefix table is normal
sqlite> select * from prefix where prefix='obo';
obo|http://purl.obolibrary.org/obo/

This is just using the standard version of ogg
curl -L -s http://purl.obolibrary.org/obo/ogg.owl

This seems to be caused by entity expansions.
<?xml version="1.0"?>

<!DOCTYPE rdf:RDF [
    <!ENTITY foaf "http://xmlns.com/foaf/0.1/" >
    <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
    <!ENTITY obo "http://purl.obolibrary.org/obo/" >
    <!ENTITY dc "http://purl.org/dc/elements/1.1/" >
    <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
    <!ENTITY iao "http://purl.obolibrary.org/obo/iao/" >
    <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
    <!ENTITY ncbitaxon "http://purl.obolibrary.org/obo/ncbitaxon#" >
    <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
    <!ENTITY oboInOwl "http://www.geneontology.org/formats/oboInOwl#" >
    <!ENTITY protege "http://protege.stanford.edu/plugins/owl/protege#" >
]>

<rdf:RDF xmlns="&obo;ogg.owl#"
     xml:base="&obo;ogg.owl"
...

Jena also has issues:
$ riot --out RDFXML owl/ogg.owl > owl/ogg-riot.owl
11:02:17 ERROR riot            :: [line: 1, col: 1 ] JAXP00010001: The parser has encountered more than "64000" entity expansions in this document; this is the limit imposed by the JDK.

I have dreaded memories of this kind of error from earlier experiences with RDF/XML, but haven't seen it for a while
The solution is to launder through robot:
robot convert -i owl/ogg.owl -o owl/ogg-robot.owl && mv owl/ogg-robot.owl owl/ogg.owl

More graceful handling upstream would be welcome, but not urgent as there is a workaround.

This must be happening in rio. Hopefully there's a setting we can tweak, or just update the dependency, because I do not want to get into the core of this.

@lmcmicu Can you check whether recent updates to rio_xml resolve this problem? This commit seems relevant: https://github.com/oxigraph/rio/commit/bb81f95d5cdf6dfcd278d92a2d51bf154a166fb5

Will do.

Yes it seems to work if we use the updated rio.
$ make build/ogg.db
rm -f build/ogg.db
sqlite3 build/ogg.db < build/prefix.sql
rdftab build/ogg.db < ogg.owl

If you would like to try it out by hacking the files on the master branch, then change the [dependencies] block in Cargo.toml to this one: https://github.com/ontodev/rdftab.rs/blob/271c36f3670fe1104c1b62da82f5538b2631e0c9/Cargo.toml#L7 and also comment out the [patch.crates-io] block: https://github.com/ontodev/rdftab.rs/blob/271c36f3670fe1104c1b62da82f5538b2631e0c9/Cargo.toml#L25
Then in src/main.rs you must add an include for Iri: https://github.com/ontodev/rdftab.rs/blob/271c36f3670fe1104c1b62da82f5538b2631e0c9/src/main.rs#L8 and you must change the call to RdfXmlParser so that it looks like this: https://github.com/ontodev/rdftab.rs/blob/271c36f3670fe1104c1b62da82f5538b2631e0c9/src/main.rs#L925
The permanent solution will involve merging this branch into master: https://github.com/ontodev/rio/tree/merge-upstream-ws-changes


Add python sample apps

Summary
addressing #284
Note
All changes are located in the ./samples directory. However, ./samples includes additional files and directories to run the tests in this repo. Once python is moved into the main Paketo Buildpacks organization, we would only need to transfer the ./samples/python directory over to paketo-buildpacks/samples.

Great work @bhh1893! Just a couple comments:

I don't think the workflow files currently in .github are necessary here. We can wait until the tests are transferred to paketo-buildpacks/samples to generate a workflow for them there.
.github/CODEOWNERS and .github/dependabot.yml can be removed since they are not needed here and the samples repository will already have them.


Update the data?

Hello Friend!
Great project, the only one that worked!
I modified the code according to my needs (I hope this is not a problem). I need to update about every 20 seconds in the var "Media" "content" "poster" "title" "description".
How can I do? Can you give me a hand?
Thank you, give your answer! Happy Easter!

Hi,
Did you try to change the global variables as shown in the description?
cc.Media.poster
cc.Media.title
cc.Media.description

@Fenny  Yes, cc.Media was changed but chromecast not refresh the info.

I will look into it this week. If it's possible I will update the code.

I will look into it this week. If it's possible I will update the code.

@Fenny i wait your update

@Ilario42
I didn't mange to figure out how to update those variables while casting, I'm closing it for now until someone knows how to fix it.


omitted Space bar key in the Keyboard Shortcut section

https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions
(in the Keyboard Shortcut section,
question) What are the PDF.js keyboard shortcuts?
next page: n, j, right arrow key, click in presentation mode
(upon several attempts opening the pdf file, I found out after entering space bar key, it also works the same function (moving to the next page) as entering other keys (n,j,right arrow key)
I want to insert space bar key in the sentence, would you please give me the permission to edit the file?

I want to insert space bar key in the sentence, would you please give me the permission to edit the file?

Unfortunately we cannot give you edit permissions, since we were forced to limit editing to people with commit access because of a high amount of spam in the Wiki.
Closing, since I've edited the relevant section of the Wiki now; thank you!


Configure: error: C preprocessor "/lib/cpp" fails sanity check

Meta:
Edit: (Arch) Linux 3.15.8
Edit: glibc: 2.19
ragel 6.8
gcc 4.9.1
clang 3.4.2
autoconf 2.69

Issue:
Trying to build with ./configure --prefix=/usr but this error is returned:
Configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "toml"
| #define PACKAGE_TARNAME "toml"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "toml 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|            Syntax error
configure:2798: error: in `/home/earnest/build/lab/libtoml/src/libtoml':
configure:2800: error: C preprocessor "/lib/cpp" fails sanity check

Since /lib/cpp is not the correct path on my machine I tried adding CPP=/usr/bin/cpp ./configure --prefix=/usr but the same error occured:
Configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "toml"
| #define PACKAGE_TARNAME "toml"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "toml 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|            Syntax error
configure:2798: error: in `/home/earnest/build/lab/libtoml/src/libtoml':
configure:2800: error: C preprocessor "/usr/bin/cpp" fails sanity check

You can define CXXCPP OR CPP path. eg. ./configure CXXCPP=/usr/bin/cpp OR ./configure CPP=/usr/bin/cpp


Announcement APIs are missing from Classroom

I am using latest googleapis npm. I tried to call the following function to receive announcements for course.
classroom.courses.announcements.list({
                    auth: oauth2Client,
                    courseId: req.query.id,
                    pageSize: 10
                    }, function(err, response) {
                    if (err) {
                    console.log('The API returned an error: ' + err);
                    callback(null, [])
                    return;
                    }
                    callback(null, response);
                });

I am receiving following error.:
TypeError: Cannot read property 'list' of undefined
    at /app/routes.js:73:48
    at /node_modules/async/dist/async.js:3853:24
    at eachOfArrayLike (/node_modules/async/dist/async.js:1003:9)
    at eachOf (/node_modules/async/dist/async.js:1051:5)
    at _parallel (/node_modules/async/dist/async.js:3852:5)
    at Object.parallelLimit [as parallel] (/node_modules/async/dist/async.js:3935:5)
    at Object.handle (/app/routes.js:28:15)
    at next_layer (/node_modules/express/lib/router/route.js:103:13)
    at Object.isLoggedIn [as handle] (/app/routes.js:237:16)
    at next_layer (/node_modules/express/lib/router/route.js:103:13)
    at Route.dispatch (/node_modules/express/lib/router/route.js:107:5)
    at /node_modules/express/lib/router/index.js:195:24
    at Function.proto.process_params (/node_modules/express/lib/router/index.js:251:12)
    at next (/node_modules/express/lib/router/index.js:189:19)
    at next (/node_modules/express/lib/router/index.js:166:38)
    at next (/node_modules/express/lib/router/index.js:166:38)`

I have checked node_modules\googleapis\apis\classroom\v1.js file it doesn't contain any announcement related APIs.
Am I missing something?

Support for announcements on this API got added in this commit:
https://github.com/google/google-api-nodejs-client/commit/af84152a6f28a113a1ae8b5949e5feab113a74dd#diff-62cb437586fd91307656d45639388778
We just need to cut a new release.  @jmdobry what do you think?

This was addressed with the latest release.  Thanks!

Thanks @JustinBeckwith


Sidebar links issue in iOS needing double-tap

When the sidebar is opened in iOS, it needs a double-tap on any link (including the close) before they are followed.
On the first tap, the scrollbars appear on the sidebar but the link isn't followed.

Abwesenheitsnotiz:
Vom 22.06.2023  bis einschließlich 11.07.2023  bleibt unser Büro geschlossen. E-Mails werden entsprechend der Dringlichkeit verzögert bearbeitet.
In Notfällen benutzen Sie bitte das telefonische Notfallsystem unter 02206-95100-0.

Beste Grüße
1 Qubit - J.Suing

1 Qubit - J.Suing
Laurentiusstr. 41 - 51789 Lindlar
fon: 02206-95100-0 - fax: 02206-95100-29
Portfolio
STARFACE Telefonanlagen
Software-Entwicklung
Firewall, Security, UTM, VPN
Mailserver / Unified Messaging
CRM / ERP
Partner
STARFACE Advanced Partner
STARFACE Module Creator
Securepoint Professional Partner
Tobit Software Authorized Partner
work4all! Solution Partner
Kerio Partner
Blog, Forum, Module und mehr...
www.1qubit.de
When the sidebar is opened in iOS, it needs a double-tap on any link (including the close) before they are followed.
On the first tap, the scrollbars appear on the sidebar but the link isn't followed.
--
Reply to this email directly or view it on GitHub:
https://github.com/zuramai/mazer/issues/239
You are receiving this because you are subscribed to this thread.
Message ID: @.***>

Commenting to keep open

Issue appears to be caused by perfect-scroll but I made multiple changes in my local copy and one fixed it!
When I get chance, will pull fresh and try individual changes to see what is causing the issue.


Various documentation fixes

Small fixes to documentation I discovered while browsing applications.

Awesome, thanks for the fixups!


Feature: Expose acceptedFiles and rejectedFiles to children

What kind of change does this PR introduce?

[ ] bugfix
[x] feature
[ ] refactoring / style
[ ] build / chore
[ ] documentation

Did you add tests for your changes?

[x] Yes, my code is well tested
[ ] Not relevant

If relevant, did you update the documentation?

[ ] Yes, I've updated the documentation
[x] Not relevant

Summary
Allow use accepted files and rejected files as props in children components.
<Dropzone accept="image/*">
  {({ acceptedFiles }) => (acceptedFiles.length && <img src={acceptedFiles[0].preview} />)};
</Dropzone>

Can you please update the documentation? I think this change should be reflected in it.

I'm glad you found this useful.

Can you please update the documentation?
Of course

Done. But I do not understand why first string in readme marked as changed. Mystic.

Can you please resolve rebase on latest master (and resolve conflicts) and put the space back in the README and it's good to merge! 👏


[style]: Adding carousel to Testimonial Section [Why People Choose Imagine-AI] section

What's the style idea?
We need to improve the testimonial section.
I would like to add an automatic carousel instead of the cards for this section.
This would improve the user experience and engagement by making the site more cool and attractive.
Plz assign this issue to me under gssoc'23.
Add screenshots
https://github.com/SurajPratap10/Imagine_AI/assets/105661636/19bbb234-c529-457d-ba91-b31154e8237b
Plz assign me this issue under gssoc'23/
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@SurajPratap10 Can I work on this issue if it is inactive?
Please assign me!


batch submission of hashes

Add an interface for batch submission of hashes in the test contract

I think this change is only for the preparation of devnet-1. We can use this new interface to add multiple kvs in the contracts, and write the data into the local storage file in the bootstrap node. Then we can launch devnet-1 by allowing other node to sync.

I think this change is only for the preparation of devnet-1. We can use this new interface to add multiple kvs in the contracts, and write the data into the local storage file in the bootstrap node. Then we can launch devnet-1 by allowing other node to sync.

Why not put the same BLOB with multiple put() and different keys?  This will mimic danksharding case without extra preparation for local storage.

I think this change is only for the preparation of devnet-1. We can use this new interface to add multiple kvs in the contracts, and write the data into the local storage file in the bootstrap node. Then we can launch devnet-1 by allowing other node to sync.

Why not put the same BLOB with multiple put() and different keys? This will mimic danksharding case without extra preparation for local storage.

Downloader is single-threaded for commiting blobs into local storage, and I am not sure if it can be the bottleneck of the whole process, we can also try that.

I think this change is only for the preparation of devnet-1. We can use this new interface to add multiple kvs in the contracts, and write the data into the local storage file in the bootstrap node. Then we can launch devnet-1 by allowing other node to sync.

Why not put the same BLOB with multiple put() and different keys? This will mimic danksharding case without extra preparation for local storage.

Downloader is single-threaded for commiting blobs into local storage, and I am not sure if it can be the bottleneck of the whole process, we can also try that.

In fact, this (call lots of puts() in one block) can be an attack on the whole system.


OIDC - maybe allow id token for authentication

Similar to what was proposed in https://github.com/oracle/helidon/pull/3457
This requires some analysis whether such usage is the right way to go.

See pull request #3637
Tried to build off of the updates from @tomas-langer and add the following functionality to OIDC:

Added server side refresh.  If you are using cookies and server side OIDC provider you run into issues when the access token expires.  All javascript related calls from the client will fail due to expired token and js calls for SPA will not redirect to lean on OIDC Provider for new tokens.  To solve this I saved the refresh token encrypted in a separate cookie and when access token used for the request is expired I refresh it and update cookies so there is no disruption to the client (assuming refresh token is still valid).

Change the build subject to utilize the id token for principal if available.

@tomas-langer Could you please review these OIDC changes so we can look at getting them merged?  Let me know if you see anything you want changed or added and I can get it done. Thanks!


Email Alert API recipients docs and wider iteration

Trello: https://trello.com/c/l4ahPmzS/644-switch-integration-staging-to-send-emails-to-a-google-group
More info coming soon (rushing to meeting)...

Thanks for the review @benthorner all comments should be addressed.

Super, thanks Ben. I've made those changes and will now merge.


rfe: support for disconnected installations

We are running a disconnected intallation and would like to use the ocs operator.
I tried changing the image versions in the OLM config but it still keeps referring to images hosted elsewhere and the images used in this operator are alse tag based instead of manifest based so using the new cluster imagecontent resource is not possible at this time.

Here's what's needed: https://docs.openshift.com/container-platform/4.3/operators/operator_sdk/osdk-generating-csvs.html#olm-enabling-operator-for-restricted-network_osdk-generating-csvs

Fixed in release-4.4.
Updated documentation: https://github.com/openshift/ocs-operator/pull/542


Particle System for dyn4j

While digging liquidfun code I realized that it is lot similar to dyn4j. Can liquidfun particle system be embedded in dyn4j? William please have a look on jbox2d particle system (more or less a port of liquidfun).
What do you think? Do you have some plans for adding it to dyn4j or anything similar?

liquidfun is in that same "box2d family" of 2D physics engines and as a result will look a lot like dyn4j.
There are no plans for adding fluid simulation to dyn4j at this time.  When I last looked into it (years ago) it just wasn't something that I wanted to support.  My main support concerns were:

60 FPS or higher to be stable in a lot of cases
Too much tuning was required and would be based on the individual simulation (no good general defaults)
The complexity of a second simulation running along side the rigid body engine

That's not to say it's impossible, it was just my experience with it.
For some dyn4j related discussions on this topic:
Simulating fluid/gas movement
Water simulation
Liquids
I would love a contribution for it though. :)

Can you send me change log since 3.2.1 in detail so that i can synchronize my version of dyn4j with it.
I have already read official change-log but I want to make sure that are they exhaustive.
Also I couldn't find object pooling related info in them and as I remember there was a discussion on pooling feature in dyn4j for optimization. I think pooling should be a key-factor in fluid simulation.
Please let me know if you already have implemented pooling?

Object pooling was not added.  The discussion about that had a better solution for the problem reported.
3.2.1 goes pretty far back.  About 3 years ago. The best way to know what changed is to look at the git  commit log since the 3.2.1 release.
There have been a good number of bug fixes and some enhancements over that time.  The latest one or two releases changed the project a good bit (java 9 support, osgi, maven, etc).
If you have your 3.2.1 version as a fork of this project, you should be able to do a merge.

I tried porting liquidfun(just a quick port with no optimizations) and the results are quite encouraging.
please have a look at
test 1 and test2.
I am getting 60 fps with approx 5000 particles on my  4 year old core i3 laptop, which I think is quite descent.
But porting liquid fun required few changes in Transform, World, Vector2 and raycasting callbacks, and It took approx  6-7 hrs to do it.
Please have a look at  dyn4j-liquidfun port , and let me have your valuable feedback.

Shape.computeDistanceToOut(Transform xf, Vec2 p, Vec2 normalOut)
No dyn4j equivalent.  For most shapes it should be easy to write functions.  For the Ellipse and HalfEllipse shapes I don't think there's an efficient method.  How often is the method called?
Sweep class
This is similar to the Body.transform and Body.transform0 members in the body class.  The first is the current transform for the body and the other is the previous transform of the body.  Together they represent the c0, c, a0, a fields from the b2Sweep class.  The GetTransform method performs interpolation between the two transforms, given a value from 0 to 1.  So 0 would return transform0, and 1 would return transform, 0.5 would return a transform in the middle.  The interpolation is used to "advance" or transform the body incrementally through the step to check for fast moving bodies.  The Transform class has linear interpolation methods that you could use.  The Advance method does the same thing, but instead of putting the interpolated transform in the xfb variable, it updates the current sweep transform.  The localCenter is the center of mass of the body in local coordinates (which would never change during the timestep).  alpha0 is the current interpolation percent.
Initial videos look good.

@maheshkurmi A lot has changed since this was in flight - is this still something being worked on or can I close the issue?

Hey @wnbittle do you believe it would be valuable to finish this project and bring a particle system into dyn4j?
After having worked with liquidfun's source code I think I have enough knowledge with the internals and setup of it in order to do port it in Java in the style of dyn4j. If you want I can start a porting effort and along with your input and guidance we can probably make this into the library.

That will be  a great addition to the library.
It may be distributed as an addon to the library.
I tried once porting liquidfun 0.7 to dyn4j and results were quite
encouraging, but soon I realised that liquid fun had changed quite a lot in
version 1.0, means that I had to port almost the entire project again
(since I am not experienced enough in C++) and I dropped the idea.
I will be very happy if somebody starts this project that will surely give
dyn4j an upper hand as compared to other physics engines.
On Fri, 2 Oct 2020, 22:56 mtsamis<EMAIL_ADDRESS>wrote:

Hey @wnbittle https://github.com/wnbittle do you believe it would be
valuable to finish this project and bring a particle system into dyn4j?
After having worked with liquidfun's source code I think I have enough
knowledge with the internals and setup of it in order to do port it in Java
in the style of dyn4j. If you want I can start a porting effort and along
with your input and guidance we can probably make this into the library.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dyn4j/dyn4j/issues/38#issuecomment-702859562, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAVHVBIYOUXMMNIYJFPUCRTSIYELFANCNFSM4F2NAMAA
.

I like the idea of this being distributed as an addon, but open to inclusion in the library as well.  It all depends on how stable/performant it is and if the proper extension points exist.


cleanup merkle utils

The merkleutils contract has two parts: One that depends on default hashes and one doesn't.
By moving the stateless part of functions to a library we don't have to worry about passing addresses to constructors or linking libraries.

Yep, was thinking of opening this issue.

Thank you @vaibhavchellani  for the review


fix vpm tests that expecting the exact code point in error messages

Problem
Now, in current architecture
some vpm tests are expecting the exact code points like schema2.sql:7:5. Example

Problem (hot): tests failed after #1256

Describe the solution you'd like
update tests

T


feat(client): ts-migration for EditorTabs component

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Related to #43778

@nhcarrigan any feedback left ?


Node version  ?

Nuxt have version requirements for node? I can't run it in version 7.8 (node).

@oo10 Node >=6.11 would be fine! What error are you currently getting?

I'm going to deploy the project on the server, and when I'm done with npm run build, then  npm run start reported it wrong.
Remind me nuxt start error, and to check if it's the latest version of Node and NPM，Otherwise, it could be a nuxt problem.

then npm run start reported it wrong.

But without having your full console error logs we can't help you

I too faced an error.  Am trying to install latest version which is 8.x:
https://nodejs.org/en/download/
Good Luck...


renderAsDropdown Getting white page

Hi Atayahmet,
I Am  using atayahmet/laravel-nestable plug.
As per document i installed your package everything is fine but i want my categories in drop down.
For that i used like
                    EventCategory::attr(['name' => 'categories'])
                        ->selected(1)
                        ->renderAsDropdown();

in my view file its getting white page.
I am using laravel5.5 and php 7 versions
Please suggest me where i did mistake.
Thanks in advance.

Maybe you could return first as array, then use nestable() helpers with ->make()


updated weave version to 2.1.0

ci check this

@neith00 rebase against master branch with version 1.8.4 of kubeadm to pass CI
Checksum for 1.8.3 is incorrect in roles/download/default/main.yaml

no longer valid: https://github.com/kubernetes-incubator/kubespray/pull/2250


grails dbm-generate-changelog changelog.groovy throws an exception and never finished

These messages are produced:
INFO 8/23/18 10:25 AM: liquibase: Can not use class org.grails.plugins.databasemigration.liquibase.GormDatabase as a Liquibase service because
it does not have a no-argument constructor
Exception: java.lang.NumberFormatException thrown from the UncaughtExceptionHandler in thread "main"
and this never finishes.

@mangelo123 This is likely specific to your environment. We need steps to reproduce to be able to do anything about it

Grails version 3.3.3
Oracle Driver: 'com.oracle:ojdbc6:<IP_ADDRESS>.0'
Oracle version: 11g (<IP_ADDRESS>.0)
This application has been up for at least 2 years. Prior to Liquibase, the db migration plugin worked perfectly. I cannot get passed the first step:
grails dbm-generate-changelog changelog.groovy
I get the errors explained above and never get back to a prompt.

@mangelo123 Unfortunately that isn't enough information to reproduce the issue. We would need a stacktrace that shows where the error is thrown from or the database you are running the command against.
Can you try running the command with the stacktrace flag? --stacktrace

Unfortunately, adding --stacktrace does not produce anymore information:
grails  dbm-generate-changelog changelog.groovy --stacktrace
produces:
INFO 8/23/18 12:11 PM: liquibase: Can not use class org.grails.plugins.databasemigration.liquibase.GormDatabase as a Liquibase service because
it does not have a no-argument constructor
Exception: java.lang.NumberFormatException thrown from the UncaughtExceptionHandler in thread "main"

@mangelo123 Likely the best course of action is to debug the constructor of NumberFormatException and inspect the stacktrace

I cannot even run dbm-status without getting the same errors. How am I able to debug the constructor of NumberFormatException? Is there a command line option that I can have the process enter debug mode? I've tried --debug-jvm, but this has no affect.

@mangelo123  If you're using IntelliJ the easiest way is to debug the gradle task.

I have created a brand new project with only 2 domain classes pointing to the same Oracle DB. The migration is working, however, I am getting this strangeness. Anytime that I do a dbm-gorm-diff, it keeps generating this block at the end:
    changeSet(author: "mangelo (generated)", id: "1535053514873-12") {
        alterSequence(sequenceName: "hibernate_sequence")

        alterSequence(sequenceName: "hibernate_sequence")

        alterSequence(sequenceName: "hibernate_sequence")

        alterSequence(sequenceName: "hibernate_sequence")

        alterSequence(sequenceName: "hibernate_sequence")
    }

I have to remove it from the chantgelog file or it fails when I to a dbm-update.

I tried clearing out all domain classes and started out with an empty database again. I copied all of the domain classes over from my main project. Aside from the unique constraint names being too long for most cases, the database was created successfully.
Where else could I possibly look for this NumberFormatException?

I have created an empty project. No domain classes. A few extra entries in build.gradle and I am still getting the NumberFormatException error. This is pointing to a derby db as the default create-app initially sets up.  Please try gradlew clean and then grails dbm-generate-changelog changelog.groovy and see if you get the error
https://github.com/mangelo123/blank.git

And in another development, I tried this with the original project on a Linux server and it ran correctly the first time. This is an odd one for sure.


Could not GET 'https://dl.bintray.com/videolan/Android/com/facebook/react/react-native/maven-metadata.xml'.

recently when I install vlc media player lib in android, the android studio show the error issue:
Could not GET 'https://dl.bintray.com/videolan/Android/com/facebook/react/react-native/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
it's never happened before, did anyone face the same issue ？how can I solve it？

use "https://mvnrepository.com/artifact/org.videolan.android" replace before address!

use "https://mvnrepository.com/artifact/org.videolan.android" replace before address!
it worked, thx


improvements in logging, examples and documentation

three commits each covering improvements in one area

Current coverage is 76.26%

Merging #294 into master will decrease coverage by -0.20% as of 044e4e1

@@            master    #294   diff @@
======================================
  Files           40      40
  Stmts         3930    3982    +52
  Branches       340     340
  Methods
======================================
+ Hit           3005    3037    +32
  Partial        142     142
- Missed         783     803    +20

Review entire Coverage Diff as of 044e4e1

Powered by Codecov. Updated on successful CI builds.

This PR does not add any new code to the adapter or worker projects other than logging. Code coverage number dropped probably because some of the methods updated with logging are not already covered by unit tests. Normally code coverage failure in a PR means it is not ready for merge. Since only log entries are added to the classes covered by CC in this PR, I would like to treat this as an exception. Let me me know if you have any concerns.

Agreed with codecov exception.


[Backport 2.x] Fix from and size parameter can be negative when searching (#13047)

Description
Backport https://github.com/opensearch-project/OpenSearch/pull/13047 to 2.x.
Related Issues
https://github.com/opensearch-project/OpenSearch/issues/11290
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[ ] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[x] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

❌ Gradle check result for 2209280: FAILURE
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

No test failures found, hi @dblock , could you help to review this PR, thank you!

❌ Gradle check result for ca4a90f: FAILURE
Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

There's an issue tracking the failed test in CacheStatsHolderTests, for another 2 failed tests in AzureBlobStoreRepositoryTests which show timeout error, seems caused by one node in the cluster goes down so the api call has no response.


Roll Flutter Engine from 619d721c3686 to 66491ad5b931 (2 revisions)

https://github.com/flutter/engine/compare/619d721c3686...66491ad5b931
2023-03-21<EMAIL_ADDRESS>[web] Put image codecs back into CanvasKit Chromium (flutter/engine#40501)
2023-03-21<EMAIL_ADDRESS>[Impeller] Allocate images into host buffer, blit to device private texture. (flutter/engine#40410)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Make OSSMC Plugin become GA

OSSMC plugin is currently in tech preview and it should be promoted to GA. There are multiple requirements to achieve this target:

The plugin cannot be based on iframes but native React components
Follow Openshift Dynamic plugin general guidelines (https://docs.openshift.com/container-platform/4.13/web_console/dynamic-plugin/overview-dynamic-plugin.html)

To get rid of iframes and avoid code duplicity, an unmodifiable version of kiali frontend code will be copied from #kiali/kiali. For this reason some modifications need to be addressed to kiali repository to make it compatible with OSSMC plugin.
Issues to be performed in #kiali/kiali will be tracked here:

[x] https://github.com/kiali/kiali/issues/6261

Issues to be performed in this repository:

[x] https://github.com/kiali/openshift-servicemesh-plugin/issues/158
[x] https://github.com/kiali/openshift-servicemesh-plugin/issues/161
[x] https://github.com/kiali/openshift-servicemesh-plugin/issues/166
[x] https://github.com/kiali/openshift-servicemesh-plugin/issues/159
[x] https://github.com/kiali/openshift-servicemesh-plugin/issues/160
[x] https://github.com/kiali/openshift-servicemesh-plugin/issues/173
[x] https://github.com/kiali/openshift-servicemesh-plugin/issues/180
[x] https://github.com/kiali/openshift-servicemesh-plugin/issues/199

Patternfly Graph

[ ] https://github.com/kiali/openshift-servicemesh-plugin/issues/99

Epic completed!
Although epic https://github.com/kiali/openshift-servicemesh-plugin/issues/99 is still opened, the part related to OSSMC to become GA is done. For this reason we can consider it completed to OSSMC GA epic point of view.


sync(release): sync commits for release/0.10.0 from master

What type of PR is this?
/kind fix
Any specific area of the project related to this PR?
Does this PR require a change in the driver versions?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

@FedeDP: The label(s) kind/fix cannot be applied, because the repository doesn't have them.

In response to this:

What type of PR is this?
/kind fix
Any specific area of the project related to this PR?
Does this PR require a change in the driver versions?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


wg_engine: fix miter gemotry generation in case of collinear segments

simple check collinear vectors by cross product.
it prevent devision by zero in straight strokes
see svg2009.svg

Let's leave the current solution. Closed due to insufficient accuracy.


jarek/4904: initialize xs and ys by empty list

this seems to break some of the normal plot examples, try in the catalog of plot APIs, the one titled "Setting line properties".  on this branch i only get 2 lines but on master i see all 6.

👍  please merge with master to pass jenkins

kick jenkins


The K8S cluster is not working

I am experiencing the following problem when using, the K8S cluster cannot run normally, and the following error is displayed, how can I continue the configuration?

Then I checked the operation of the K8S cluster, and it was indeed not running, how to solve this situation?

I looked up the previous issue page and there was one guy who had a similar issue to me, he solved the apt update issue by importing the GPG key, I used the same method but I still can't use the K8S cluster. How do I continue working?

Could you provide more information here? For example, what's the error after you run apt update and what's the output of the GPG key import command.
Due to these compatibility reasons, we won't recommend using the artifact anymore since it's based on an old ubuntu version. Instead we recommend to instantiate a fresh ubuntu 20.04 vm and follow this guide (https://github.com/5GSEC/5G-Spector/wiki/O‐RAN-SC-RIC-Deployment-Guide) to deploy the 5G network and RIC from scratch.

The result of the run is as shown in the image, but the K8S cluster still doesn't work, even though I've tried importing the GPG key

Also, my goal is to try to build this system as well as reproduce the attack detection process, if I try to deploy from scratch using the link you gave, can I successfully get similar results to deploying that artifact, how do I successfully reproduce the attack detection process?

It seems your apt update was running successfully so it's not likely the issue of GPG keys. The kubectl connection refused can have many causes, you may want to further debug this through existing solutions, such as https://discuss.kubernetes.io/t/the-connection-to-the-server-host-6443-was-refused-did-you-specify-the-right-host-or-port/552/4.

Unfortunately, I tried many things, but none of them worked. Can your team try to run the artifact as provided and how to use it and find a workaround? Thank you very much

Unfortunately, I tried many things, but none of them worked. Can your team try to run the artifact as provided and how to use it and find a workaround? Thank you very much

In addition, if the K8S cluster fails to connect properly, if I redeploy the K8S cluster in the virtual image of the artifact, will it have a significant impact on the artifact? Is this possible?

Unfortunately, I tried many things, but none of them worked. Can your team try to run the artifact as provided and how to use it and find a workaround? Thank you very much
-----原始邮件-----
发件人:"Haohuang Wen" @.>
发送时间:2024-11-21 05:46:40 (星期四)
收件人: 5GSEC/5G-Spector @.>
抄送: HUAYAN999 @.>, Author @.>
主题: Re: [5GSEC/5G-Spector] The K8S cluster is not working (Issue #10)
It seems your apt update was running successfully so it's not likely the issue of GPG keys. The kubectl connection refused can have many causes, you may want to further debug this through existing solutions, such as https://discuss.kubernetes.io/t/the-connection-to-the-server-host-6443-was-refused-did-you-specify-the-right-host-or-port/552/4.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Can you try deploy 5G-Spector from scratch to avoid the k8s issue? We also have provided corresponding attack implementations for that.


[BUG] [iOS] SKGLView Memory Leak compared to SKCanvasView

Description
I've been investigating a memory issues i've been seeing when using SKGLView compared to SKCanvasView.
I'm using SkiaScene to handle touch manipulation but I'm fairly confident that isn't the issue.
To better test, I setup my project on iOS with a CADisplayLink to continuously trigger a SetNeedsDisplay on the Skia view so a new render will occur (I found the memory leak like this when I was doing a simple animation using CADisplayLink and left the animation running, its also possible to trigger this by continuously touching the screen triggering a redraw, but obviously thats much more effort to test!).
My skia drawing is fairly complex but at the root of it, the current example is basically drawing approximately 30 DrawLine calls and 30 DrawCircle calls every render.
I'm comparing the exact same code, with the only difference being one uses SKGLView and one uses SKCanvasView. I hook up to the PaintSurface events and the canvas from the surface is passed through the rendering, from what I can tell the reference to the canvas is never stored off anywhere within my logic (or SkiaScene).
With SKGLView, after about 1 minute the app completely freezes. No crash or application output is displayed or recieved. Looking at the console for the device the following lines print out...
IOReturn IOGPUDevice::new_resource(IOGPUNewResourceArgs *, struct IOGPUNewResourceReturnData *, IOByteCount, uint32_t *): PID 40079 likely leaking IOGPUResource (count=46000)
IOReturn IOGPUDevice::new_resource(IOGPUNewResourceArgs *, struct IOGPUNewResourceReturnData *, IOByteCount, uint32_t *): PID 40079 likely leaking IOGPUResource (count=47000)
IOReturn IOGPUDevice::new_resource(IOGPUNewResourceArgs *, struct IOGPUNewResourceReturnData *, IOByteCount, uint32_t *): PID 40079 likely leaking IOGPUResource (count=48000)
IOReturn IOGPUDevice::new_resource(IOGPUNewResourceArgs *, struct IOGPUNewResourceReturnData *, IOByteCount, uint32_t *): PID 40079 likely leaking IOGPUResource (count=49000)

This continues until count=60000 and then it freezes (always increasing in 1000 increments and freezing at 60000).
When I run the exact same code with SKCanvasView it can run forever (I've had the app running for 2hr+ on my desk and never had it freeze).
Below you can see the Xamarin profiler outputs. The first is the SKGLView and you can see it shoots up to a working set of around 500mb, then decreases and during this time the errors start printing out, and eventually it freezes (flatlines in the profiler).
The second is SKCanvasView, you can see my memory increases to a point, then when the continous rendering update occurs the memory basically hovers flat around 185mb (with a slight creep up but I suspect that isn't Skia related).
I've checked the Handle on the e.Surface.Canvas in the PaintSurface event when using the SKGLView and it always seems to be the same, so I'm getting the same canvas object through in the PaintSurface event (I think).
I'm calling Flush on the canvas after rendering.
Any thoughts?
Basic Information

Version with issue:  2.80.2
IDE:  Visual Studio for Mac
Platform Target Frameworks:

iOS:  Min Deploy Target of 12.0

Target Devices:

iPhone 6s
iPad Mini 4

Detailed IDE/OS information (click to expand)

=== Visual Studio Enterprise 2019 for Mac ===

Version 8.9.4 (build 25)
Installation UUID: 088507f4-3001-4ca4-9722-69b7ab1ca6e1
	GTK+ 2.24.23 (Raleigh theme)
	Xamarin.Mac <IP_ADDRESS> (d16-6 / 088c73638)

	Package version: 612000125

=== Mono Framework MDK ===

Runtime:
	Mono <IP_ADDRESS> (2020-02/8c552e98bd6) (64-bit)
	Package version: 612000125

=== Roslyn (Language Service) ===

3.9.0-6.21152.10+c10f884b30737542ddd84ca889a4aad9281ce210

=== NuGet ===

Version: <IP_ADDRESS>60

=== .NET Core SDK ===

SDK: /usr/local/share/dotnet/sdk/5.0.201/Sdks
SDK Versions:
	5.0.201
	5.0.103
	5.0.101
	5.0.100
	3.1.407
	3.1.406
	3.1.404
	3.1.403
	3.1.402
	3.1.401
	3.1.302
	3.1.301
	3.1.300
	3.1.202
	3.1.200
	3.1.102
MSBuild SDKs: /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/MSBuild/Current/bin/Sdks

=== .NET Core Runtime ===

Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
	5.0.4
	5.0.3
	5.0.1
	5.0.0
	3.1.13
	3.1.12
	3.1.10
	3.1.9
	3.1.8
	3.1.7
	3.1.6
	3.1.5
	3.1.4
	3.1.2
	2.1.23
	2.1.22
	2.1.21
	2.1.20
	2.1.19
	2.1.18
	2.1.17
	2.1.16

=== .NET Core 3.1 SDK ===

SDK: 3.1.407

=== Xamarin.Profiler ===

Version: <IP_ADDRESS>
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Updater ===

Version: 11

=== Xamarin Designer ===

Version: <IP_ADDRESS>6
Hash: 2241b204a
Branch: tags/vsm-rel/d16.9-4540908
Build date: 2021-03-10 21:18:10 UTC

=== Apple Developer Tools ===

Xcode 12.4 (17801)
Build 12D4e

=== Xamarin.Mac ===

Version: <IP_ADDRESS> (Visual Studio Enterprise)
Hash: 3836759d4
Branch: d16-9
Build date: 2021-02-10 17:56:43-0500

=== Xamarin.iOS ===

Version: <IP_ADDRESS> (Visual Studio Enterprise)
Hash: 3836759d4
Branch: d16-9
Build date: 2021-02-10 17:56:44-0500

=== Xamarin.Android ===

Version: <IP_ADDRESS> (Visual Studio Enterprise)
Commit: xamarin-android/d16-9/877f572
Android SDK: /Users/iainstanford/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		5.1 (API level 22)
		6.0 (API level 23)
		7.1 (API level 25)
		8.1 (API level 27)

SDK Tools Version: 26.1.1
SDK Platform Tools Version: 31.0.0
SDK Build Tools Version: 30.0.3

Build Information:
Mono: 5e9cb6d
Java.Interop: xamarin/java.interop/d16-9@54f8c24
ProGuard: Guardsquare/proguard/v7.0.1@912d149
SQLite: xamarin/sqlite/3.34.1@daff8f4
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-9@d210f11

=== Microsoft OpenJDK for Mobile ===

Java SDK: /Users/iainstanford/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_<IP_ADDRESS>
1.8.0-25
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Android SDK Manager ===

Version: <IP_ADDRESS>
Hash: a391de2
Branch: remotes/origin/d16-9~2
Build date: 2021-03-24 08:30:26 UTC

=== Android Device Manager ===

Version: <IP_ADDRESS>
Hash: fc2b3db
Branch: remotes/origin/dev/jmt/d16-9bump~1
Build date: 2021-03-24 08:30:44 UTC

=== Build Information ===

Release ID: 809040025
Git revision: 5d0f80a4343884101c6c7869bc61d5101cf30052
Build date: 2021-03-25 08:43:13-04
Build branch: release-8.9
Xamarin extensions: 5d0f80a4343884101c6c7869bc61d5101cf30052

=== Operating System ===

Mac OS X 10.15.7
Darwin 19.6.0 Darwin Kernel Version 19.6.0
    Thu Oct 29 22:56:45 PDT 2020
    root:xnu-6<IP_ADDRESS>~1/RELEASE_X86_64 x86_64

Screenshots
SKGLView Memory Usage:

SKCanvasView Memory Usage:

This issue is possibly related to my issue as I also use the hardware acceleration.
https://github.com/mono/SkiaSharp/issues/1680

@radev8 I'll double check but I'm pretty certain I see the exact same rate of memory increase even with no SKPath usage

@IainS1986 As you could see, we now have the same problems as you: When there are many redraws in short time then the app crashes with the same GPU error.
Do you find a solution for this?

@charlenni yes - don't use SKGLView on iOS.

😂
Thank you for your fast answer.
Do you use SKPath for your drawings? Could it be, that there are resources created that aren't released before the next drawing?

I assume here, that you use SKPath.
I assume, that there are problems with releasing the resources. Perhaps Skia uploads a path to the GPU for drawing, because it thinks, that the path is drawn again and again. But in some cases, if you create the SKPath every time new before drawing it, the release of the resources on GPU is not fast enough.
Did you try to release them by explicitly deleting SKPath after drawing the path?

I use SKPath and I completely reuse the same paths in every redraw (Rewinding the same path to then reuse it).
However - its been a long time (April) - but I believe I could reproduce the memory issue without any SKPath calls too.
I don't think its SKPath specific. I think you could have a blank SKGLView and redraw every frame and get the same error.

This defect would be a HUGE issue for us.  Without the GPU-based SKGLView, we will be unable to make use of Custom Shaders, right?  We NEED Custom Skia Shaders to create the needed effects, plus we need/want the performance boost.  From what I can tell, this has never been fixed, correct?
BUT, I ran a test myself, where all I did was this:

Clear(Green)
DrawBitmap (full sized, 1000x2000 pixels approx)
DrawPath Polygon 50 points.  Each time I create a new Path (but using the same SKPoint[50] array), and do NOT dispose of the previous one (was trying to induce a crash that I could then see if Dispose() fixed it -- but for me, not calling Dispose() even works).

It Runs continuously at 50 FPS.  No hiccups.
It's been running now for 15 minutes (900 seconds x 50 FPS = 45,000 frames rendered), and no crash yet.  Performance hasn't slowed.  I will let it run all night, and see if it's still running 8 hrs from now, and will update this comment.
I don't have a profiler here to show me the memory usage on my iPad.
I'm using Skia 2.88.6, on iOS 16.7,  iPad Mini 4.
So for me, it appears it might be fixed?  Or maybe my test case simply doesn't cause the defect for some reason.


Curate a proper set of genes that much represent a gold-standard for early pipeline checks

Having a list of genes that represents a gold-standard for a pipeline test run will improve checks and speedup diagnoses. An initial set can come from this poreviously curated list
ENSG00000169194
ENSG00000073756
ENSG00000073605
ENSG00000110324
ENSG00000085978
ENSG00000105397
ENSG00000142192
ENSG00000080815
ENSG00000164885
ENSG00000147889
ENSG00000157764
ENSG00000134460

Discussed at team meeting on 08Apr2019.  Recommendation to start with list of top 50 genes that people may view.

extending assignment to Andrew also.

@iandunham, following your suggestions I was thinking: is there a privacy issue for looking into the logs of what people search for?
In addition to Eliseo's and @mkarmona's list we may also want to include the 10 greatest hits of the human genome (by Nature).
ENSG00000141510
ENSG00000232810
ENSG00000146648
ENSG00000112715
ENSG00000130203
ENSG00000136244
ENSG00000105329
ENSG00000177000
ENSG00000091831 (ESR1 aka @andrewhercules' target)
ENSG00000142208

Not if we use them for improving the platform i.e. testing, and don't make them public. However using the list you identified wopuld also be useful - we could mix in some others

Just to allay any concerns, we anticipated the need to cover these types of activities. And so we have a specific line in our privacy notice that allows us to analyse analytics and search data to make website improvements and for pipeline data QC:
We do not analyse the nature of any specific queries (target or disease names) processed via the website except for the purposes of improving the site.
As promised in yesterday's Core Platform team meeting, I have created a spreadsheet hosted on the team Google Drive with the Ensembl IDs and HGNC symbols for the 50 most-searched targets. I have also included a separate tab with the ten most studied genes that are listed in the Nature paper referenced by @deniseOme.

I compiled all suggestions into this list
top_gene_list.txt


enhancement remove stats derivation in CostAndEnforce job

Proposed changes

remove stats derivation in CostAndEnforce job
enforce valid for each stats after estimating

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

how about tpcds q6 performance?

run buildall


What LLVM attributes can we use?

Looking at the list of LLVM parameter attributes, I think we should use the following ones:
byval(<ty>)
I think this attribute should be added to let parameters but I am not sure. LLVM says:

This indicates that the pointer parameter should really be passed by value to the function. The attribute implies that a hidden copy of the pointee is made between the caller and the callee, so the callee is unable to modify the value in the caller. This attribute is only valid on LLVM pointer arguments. It is generally used to pass structs and arrays by value, but is also valid on pointers to scalars.

On one hand it would seem like we can use byval(<ty>) to tell LLVM about the pass-by-value semantics let parameters actually represent. On the other, the implicit copy should not be necessary in practice because the value is immutable in the callee.
Maybe we should combine this attribute with readonly.
sret(<ty>)
This attribute should be added on parameters representing return values and possibly set parameters.
noalias
This attribute should be added on all parameters because LLVM's definition of noalias is similar to that of restrict in C. In particular, two pointers do not "alias" if they are only used for reading. That means let parameters should be fine. Other conventions imply uniqueness.
nocapture
This attribute should be added on all parameters of functions, but not on parameters of subscripts.
There are probably some inferences we can make to add nocapture on subscript parameters. If we can guarantee that a particular parameter cannot be part of the projected value and is not used in the subscript slope, then it can be nocapture.
Note that this attribute relates to the restriction recently discussed here.
nofree
This attribute should be added on all parameters because it should be illegal to free a pointer projected from a parameters in the source language, e.g.:
fun foo(x: let Int) {
  let p = Pointer.to[x]
  unsafe free(p.value) // UB
}

nonnull and noundef
This pair of attributes should be added on all parameters, assuming guarantee that Pointer.to[_:] always projects a non-null pointer, even for zero-size objects (e.g., instances of Void).
dereferenceable(<n>)
This attribute should be added on all parameters for the same reasons as discussed for nonnull.
readonly
This attribute should be added on let parameters.

byval seems like it could be inefficient for things larger than a pointer and it could be plain wrong for anything with an internal self-referential pointer.

This indicates that the pointer parameter should really be passed by value to the function.

That's horribly ambiguous.  What does "should" mean here?  In fact, what does "passed by value" mean in this context? When they say "the pointer parameter" do they really mean the pointee of that pointer?  IMO the first step should be to get clarification on these issues.


Adding icrc7_motoko to readme

This is an ICRC-7 standard implementation in Motoko.

@flyq done

thanks


Add warning/ tip that prefix attributes can't be too long in UG

Added in prefix parameters warning


Allow users to specify custom tag prefix with config[:tag_prefix]

This is an alternative solution for https://github.com/DataDog/chef-handler-datadog/issues/58
User can decide to send tags unprefixed by passing an optional tag_prefix = '' config value to chef-handler-datadog. Default prefix is still 'tag:'. Backwards compatibility is preserved.

@mstepniowski nice stuff! I sent you a quick patch for the VCR updates, let's get that in, and we can release 0.9.0 with this.

@miketheman Done. It's your turn now.


Storybook won't start

I'm trying to run storybook with npm run storybook and getting the below error. The same happens if I run npm run storybook --port 3001. Please note that npm start works and properly launches a web server. Looking for any help on this.
C:\mcdev\react\react-sortable-tree-master>npm run storybook

><EMAIL_ADDRESS>storybook C:\mcdev\react\react-sortable-tree-master
> cross-env TARGET=development start-storybook -p ${PORT:-3001} -h <IP_ADDRESS>

info @storybook/react v3.3.14
info
ERR! Error: port to run Storybook is required!
ERR!

I would suggest using yarn  or npx storybook instead.

I would suggest yarn run storybook instead.

Hi there! I'm sorry to say, but we don't have enough time to help with general-purpose questions.
You can find a wealth of information and people willing to help in numerous React Communities.
Thanks!


Add livesys stage support

A livesys stage was added to osbuild in https://github.com/osbuild/osbuild/pull/1311, it needs to be added to osbuild-composer.

Needs to wait for https://github.com/osbuild/osbuild/pull/1341 to land to be merged.

This is superseded by


Update platform-support.rst

Thanks for the fixups on the VMware typos!  LGTM.
All the cloud-native projects require submitters to sign their commits--that's the DCO check.  My recollection is that I used GPG to create a key, but it has been a while.

thanks @mikemckiernan! I'm working on getting my key set up for signing so i can fix the commit here


Error: Download process was signaled to shutdown with signal 7

System Info
I'm using the ghcr.io/huggingface/text-generation-inference:0.8 version
The command line: --model-id bigscience/bloom-560m --num-shard 2
I've tried falcon-40 adn bloom-560
GPUs: 2 x A100-80GB not MIG parted. nvdia-smi (the first 2):
Tue Jun 13 12:05:21 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.105.17   Driver Version: 525.105.17   CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+
| 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 A100 80G...  Off  | 00000000:17:00.0 Off |                    0 |
| N/A   51C    P0    84W / 300W |  39936MiB / 81920MiB |     16%      Default |
|                               |                      |             Disabled |
+-------------------------------+----------------------+----------------------+
|   1  NVIDIA A100 80G...  Off  | 00000000:65:00.0 Off |                    0 |
| N/A   51C    P0    88W / 300W |  37208MiB / 81920MiB |      0%      Default |
|                               |                      |             Disabled |
+-------------------------------+----------------------+----------------------+
|   2  NVIDIA A100 80G...  Off  | 00000000:CA:00.0 Off |                   On |
| N/A   49C    P0    83W / 300W |     45MiB / 81920MiB |     N/A      Default |
|                               |                      |              Enabled |
+-------------------------------+----------------------+----------------------+
|   3  NVIDIA A100 80G...  Off  | 00000000:E3:00.0 Off |                   On |
| N/A   52C    P0    89W / 300W |     45MiB / 81920MiB |     N/A      Default |
|                               |                      |              Enabled |
+-------------------------------+----------------------+----------------------+

The deployment is in kubernetes v1.27.1. The yaml of the deployment:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: text-generation
  namespace: text-generation-ns
  labels:
    app: text-generation
spec:
  replicas: 1
  revisionHistoryLimit: 2
  selector:
    matchLabels:
      app: text-generation
  template:
    metadata:
      name: text-generation
      labels:
        app: text-generation
    spec:
      nodeName: node02
      tolerations:
      - effect: NoSchedule
        key: nvidia.com/gpu
        operator: Exists
      containers:
        - name: text-generation
          image: ghcr.io/huggingface/text-generation-inference:0.8
          imagePullPolicy: IfNotPresent
          resources:
            limits:
              nvidia.com/gpu: "2"
          env:
          - name: CUDA_VISIBLE_DEVICES
            value: "0,1"
          - name: model
            value: "bigscience/bloom-560m"
            #value: "tiiuae/falcon-40b"
          - name: num_shard
            value: "2"
          args: ["--model-id", "$(model)", "--num-shard", "$(num_shard)"]
          ports:
            - containerPort: 80
          volumeMounts:
            - name: data
              mountPath: "/data"
      restartPolicy: Always
      volumes:
        - name: shm
          emptyDir:
            medium: Memory
            sizeLimit: 1Gi
        - name: data
          nfs:
            server: <IP_ADDRESS>
            path: /data/llm_models

I'll check the checkbpx: "my own modifications", because officialy there aren't instructions to use it with kubernetes (only the shared memory topic)
The model is downloaded well, etc. The logs looks like:
2023-06-13T10:12:20.135760Z  INFO text_generation_launcher: Args { model_id: "bigscience/bloom-560m", revision: None, sharded: None, num_shard: Some(2), quantize: None, trust_remote_code: false, max_concurrent_requests: 128, max_best_of: 2, max_stop_sequences: 4, max_input_length: 1000, max_total_tokens: 1512, max_batch_size: None, waiting_served_ratio: 1.2, max_batch_total_tokens: 32000, max_waiting_tokens: 20, port: 80, shard_uds_path: "/tmp/text-generation-server", master_addr: "localhost", master_port: 29500, huggingface_hub_cache: Some("/data"), weights_cache_override: None, disable_custom_kernels: false, json_output: false, otlp_endpoint: None, cors_allow_origin: [], watermark_gamma: None, watermark_delta: None, env: false }
2023-06-13T10:12:20.136036Z  INFO text_generation_launcher: Sharding model on 2 processes
2023-06-13T10:12:20.136302Z  INFO text_generation_launcher: Starting download process.
2023-06-13T10:12:22.959394Z  INFO download: text_generation_launcher: Files are already present on the host. Skipping download.

2023-06-13T10:12:23.442266Z  INFO text_generation_launcher: Successfully downloaded weights.
2023-06-13T10:12:23.442751Z  INFO text_generation_launcher: Starting shard 0
2023-06-13T10:12:23.443200Z  INFO text_generation_launcher: Starting shard 1
2023-06-13T10:12:33.456642Z  INFO text_generation_launcher: Waiting for shard 1 to be ready...
2023-06-13T10:12:33.456660Z  INFO text_generation_launcher: Waiting for shard 0 to be ready...
2023-06-13T10:12:33.652545Z ERROR text_generation_launcher: Shard 1 failed to start:

2023-06-13T10:12:33.652594Z  INFO text_generation_launcher: Shutting down shards
2023-06-13T10:12:39.590687Z  INFO text_generation_launcher: Shard 0 terminated
Error: ShardCannotStart

Then after the restart:
2023-06-13T10:12:41.316726Z  INFO text_generation_launcher: Args { model_id: "bigscience/bloom-560m", revision: None, sharded: None, num_shard: Some(2), quantize: None, trust_remote_code: false, max_concurrent_requests: 128, max_best_of: 2, max_stop_sequences: 4, max_input_length: 1000, max_total_tokens: 1512, max_batch_size: None, waiting_served_ratio: 1.2, max_batch_total_tokens: 32000, max_waiting_tokens: 20, port: 80, shard_uds_path: "/tmp/text-generation-server", master_addr: "localhost", master_port: 29500, huggingface_hub_cache: Some("/data"), weights_cache_override: None, disable_custom_kernels: false, json_output: false, otlp_endpoint: None, cors_allow_origin: [], watermark_gamma: None, watermark_delta: None, env: false }
2023-06-13T10:12:41.316957Z  INFO text_generation_launcher: Sharding model on 2 processes
2023-06-13T10:12:41.317300Z  INFO text_generation_launcher: Starting download process.
2023-06-13T10:12:43.721675Z ERROR text_generation_launcher: Download process was signaled to shutdown with signal 7:
Error: DownloadError

Information

[X] Docker
[ ] The CLI directly

Tasks

[ ] An officially supported command
[X] My own modifications

Reproduction
1.- Create the yaml
2.- apply the yaml
3.- Fail
Expected behavior
Running ok

You didn't mount the shm volume.

See https://github.com/huggingface/text-generation-inference/issues/405#issuecomment-1573920974

Sorry, you are right!
Thanks!


Fix flaky test Spdy3ConnectionTest.receiveGoAway().

Closes https://github.com/square/okhttp/issues/1660

lgtm


[BUG] White Background pops while loading

Has this bug been raised before?

[X] I have checked "open" AND "closed" issues and this is not a duplicate

Description
The background needs to be made transparent for the Loading icon. Please fix that.
Screenshots

Do you want to work on this issue?
No
If "yes" to above, please explain how you would technically implement this
No response

I want to work on this issue. As far as technical explanation is concerned I need some time if u dont mind hopefully after weekened I will reslove the issue.

I want to work on this issue. As far as technical explanation is concerned I need some time if u dont mind hopefully after weekened I will reslove the issue.

I want to work on this issue. As far as technical explanation is concerned I need some time if u dont mind hopefully after weekened I will reslove the issue.

sure

@pooranjoyb @sristy17 Kindly see is this feature you want.

ok

@AliHassan245 LGTM 🚀


add zrot and crot signatures to f77blas.h

Hello!
One can see that there are no signatures of  zrot and crot subroutines in f77blas.h.
Following the LAPACK description at netlib.org,  it is correct, but a bit uncomfortable for practical usage.
Is it possible to add these signatures to f77blas.h or other  *.h file by openblas library?

It is lapack routine and not included in LAPACKE by netlib. It is not BLAS routine
Either:
Report to netlib and get it included in LAPACKE in a year or two
or
Bake your own liblapackrot.so that wraps fortran ?rot functions in a way similar to what LAPACKE does.


Construct Binary Search Tree from Preorder Traversal

Enter your question -
Given an array of integers preorder, which represents the preorder traversal of a BST (i.e., binary search tree), construct the tree and return its root.
It is guaranteed that there is always possible to find a binary search tree with the given requirements for the given test cases.
A binary search tree is a binary tree where for every node, any descendant of Node.left has a value strictly less than Node.val, and any descendant of Node.right has a value strictly greater than Node.val.
A preorder traversal of a binary tree displays the value of the node first, then traverses Node.left, then traverses Node.right.
Enter link to the question(if question belongs to any online platform) -
https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal/
Tags for the question(eg - Array, Basic, Stack, etc.) -
Binary Search Tree, Stack, Binary Tree

@satyam878,
Kindly add your solution to "leetcode" folder.
Deadline - 13/10/2021


Hints and notes added to handle grafana dashboards

Hello,
Here you have a small contribution with these changes:

Point the directory where make generate should be executed from
Mention that the saved dashboard file should be suffixed with "-dashboard.json".
Added hints to apply the new configMap and restart grafana

In main README.md I have also added a link to developing-alerts-and-dashboards.md doc for more information.
Regards,
Eduardo

Awesome! Thanks a lot for your effort!


add basic default /QOpenSys/etc/profile

Resolves #57

Once this lands, I'd like to get a 2.1.4 version available also. Thanks!

LGTM
One comment is that if we added a .bashrc containing the proper PATH, we would not need to run:
source /QOpenSys/etc/profile manually after entering the chroot.
Although that is assuming the user is using bash.

Resolved conflict via web interface

@ThePrez this LGTM, I think we should use squash and merge for this PR making these changes into one commit.


Update MosaikHeer.scn

decreased master volume of Bass IEM bus to -6dB to create more headroom (out of experience - see issue #9 )
decreased master volume of Drum IEM bus to -3dB to create more headroom (in anticipation)

Hi @ghukar , added your changes. Please make sure you use the latest version of the scene file before you add changes and update your M-Edit app as we use the new firmware version. The scene file then looks a little different. I incorporated your changes here: https://github.com/mosaikberlinsound/m32-scenes-and-presets/commit/5b723e1f20b4f5f08353f0ad9da2a94ae7c86cb2


Update OTSM.ipynb

typo

Codecov Report

Merging #1 into master will increase coverage by 1.82%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master       #1      +/-   ##
==========================================
+ Coverage   94.94%   96.77%   +1.82%
==========================================
  Files           4        4
  Lines         198      186      -12
==========================================
- Hits          188      180       -8
+ Misses         10        6       -4

Impacted Files
Coverage Δ

src/portwine.jl
100.00% <0.00%> (ø)

src/tracesum.jl
96.27% <0.00%> (+2.08%)
:arrow_up:

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 2b21cbc...0e0b55c. Read the comment docs.


Improve release cadence

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe.
What is the point of fixing issues if there is no release? There is no harm in releasing asap after a fix. I update the rest of my code multiple times a day if I have to, or as often as necessary. What's the holdup here? Releasing will keep things honest, as users can then actually test fixes, leading to further evolution of the package, otherwise it's one big lie.

Hey @impredicative we've released 0.9.0.
This contains pandas v2 and some other changes. We're still working out kinks in the pydantic v2 migration.


Perf report CSVs are empty

perf-report-csv-cnn_javelin-grayskull-bare_metal is empty
Model perf regressions and output report · tenstorrent/tt-metal@36d305b

It's expected to be.
Solution is to prune jobs that are meant to be empty and assert that the CSVs are not empty when uploading


fix example readme

Issues associated with this PR
Your PR should present related issues you want to solve.
Solutions
You should show your solutions about the issues in your PR, including the overall solutions, details and the changes. At this time, Chinese is allowed to describe these.
UT result
Unit Test is needed if the code is changed, your unit test should cover boundary cases, corner cases, and some exceptional cases. And you need to show the UT result.
Benchmark
If your code involves the processing of every request, you should give the Benchmark Result.
Code Style

Make sure Goimports has run
Show Golint result

Codecov Report

Merging #1078 into master will increase coverage by 0.00%.
The diff coverage is 36.11%.

@@           Coverage Diff           @@
##           master    #1078   +/-   ##
=======================================
  Coverage   56.06%   56.07%
=======================================
  Files         246      246
  Lines       23073    23064    -9
=======================================
- Hits        12937    12933    -4
+ Misses       8976     8969    -7
- Partials     1160     1162    +2

Impacted Files
Coverage Δ

pkg/log/logger_manager.go
88.00% <ø> (ø)

pkg/network/transfer.go
0.00% <0.00%> (ø)

pkg/server/reconfigure.go
1.21% <0.00%> (ø)

pkg/server/server.go
0.00% <0.00%> (ø)

pkg/upstream/cluster/cluster_adapter.go
75.00% <ø> (ø)

pkg/mosn/starter.go
33.75% <16.66%> (+0.62%)
:arrow_up:

pkg/upstream/cluster/cluster_manager.go
61.27% <66.66%> (ø)

pkg/admin/store/service.go
66.26% <100.00%> (+0.41%)
:arrow_up:

pkg/stream/stream.go
46.66% <0.00%> (-13.34%)
:arrow_down:

pkg/network/connection.go
34.97% <0.00%> (-0.38%)
:arrow_down:

... and 2 more

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 61b1bd9...275b041. Read the comment docs.


Our bot is not using ultraballs on non-vip, even with min_ultraball_to_keep set?

Important
Have min_ultraball_to_keep set
Expected Behavior
Bot should use ultraball on non-vip pokemon when capture rate is low.
Actual Behavior
NEED VERIFICATION
Bot is not using ultraball on non-vip pokemon when capture rate is low
Your FULL config.json (remove your username, password, gmapkey and any other private info)
Sample config will do
Output when issue occurred
Steps to Reproduce
Have min_ultraball_to_keep set and let the bot run for a few hours, come back and find for usage of ultraball in logs.
Other Information
OS:
Mac
Branch:
dev
Git Commit:
7d68e7d
Python Version:
2.7.12
Any other relevant files/configs (eg: path files):

I was mistaken, we use ultraball only when we run out of all other pokeballs. Trying something out. Will open a PR if needed. Closing this issue.


Make the DependencyInner::specified_req field a bool.

I could almost get rid if it completely, but then the dependency verifier would have to abort on, say, no version req specified or the any req. Crates.io indeed doesn't want wildcards, but other registries some day may have a different policy.
Making it a mere bool---since all the information it contained is on the req field anyways---was the next best thing.

@bors: r+ 0d7b5cc47edb4c4e11f72d9c2fd1c3324a572863
Thanks!

:hourglass: Testing commit 0d7b5cc with merge c20e060...

:sunny: Test successful - cargo-cross-linux, cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64
Approved by: alexcrichton
Pushing c20e060d952645e1b2e6b86e34acc27b51aa9e65 to master...


[Edgent-406] improve ApplicationServiceMXBean.registerJar() doc

The mqtt test failures are independent of the changes (javadoc only in unrelated classes).


[otbn] Consider which errors need prioritisation

With the new bitfield structure there's no total error prioritisation but whilst working on #4995 I found at least one instance where we need a partial prioritisation.
If you execute loop x1, 2 when the call stack is empty you get a call stack error due to popping an empty stack but depending on what happens to be seen on the read data coming from the register file (which will be the last element that was on the stack or 0 when the stack never had any contents) you may or may not get an loop error for having zero iterations.
In this case saying only the call stack error should be reported and the loop error ignored is sensible. We should consider what other cases like this exist and determine the behaviour for each.
In particular how does this interact with other loop errors, how about executing loop x1, 2 as the final instruction of an outer loop with an empty call stack, should that give a call stack error and a loop error (you cannot execute loop as the final instruction of a loop)?

Eugh. I think that popping from an empty call stack should never have an architectural effect. So I suggest just a call stack error in the first case. For the second case, isn't this obviously both errors?

Eugh. I think that popping from an empty call stack should never have an architectural effect. So I suggest just a call stack error in the first case. For the second case, isn't this obviously both errors?

Eugh. I think that popping from an empty call stack should never have an architectural result. So I suggest just a call stack error in the first case

Agreed

For the second case, isn't this obviously both errors?

From a architectural perspective yes, but going into the micro-architecture there's no way for the top-level controller to differentiate between the different loop error types so it starts getting a bit messy. It can be done of course but do we want to? E.g. we could say any call stack error where the pop result would feed into a loop means we don't even attempt the loop and thus see no loop errors. I don't think we really care about this fine level of detail for SW so it just a case of building something sane that doesn't make things too complex for either ISS or RTL.

Eugh. I think that popping from an empty call stack should never have an architectural result. So I suggest just a call stack error in the first case

Agreed

For the second case, isn't this obviously both errors?

From a architectural perspective yes, but going into the micro-architecture there's no way for the top-level controller to differentiate between the different loop error types so it starts getting a bit messy. It can be done of course but do we want to? E.g. we could say any call stack error where the pop result would feed into a loop means we don't even attempt the loop and thus see no loop errors. I don't think we really care about this fine level of detail for SW so it just a case of building something sane that doesn't make things too complex for either ISS or RTL.

Oh, I see. Let's get the patch in #4986 merged and then we can hack on the exact ordering by changing the code in insn.py (which should hopefully make it into the spec soonish).

Oh, I see. Let's get the patch in #4986 merged and then we can hack on the exact ordering by changing the code in insn.py (which should hopefully make it into the spec soonish).

Another prioritisation issue I found whilst doing multiple error testing in the RTL:
Loading from an unaligned address with full call stack as the destination, ISS generates both load address error and call stack error, RTL only generates load address error. In the RTL the load request is squashed by the error so we never get to the cycle where the data is returned and would trigger the call stack push that causes the call stack error.
I haven't altered the ISS to match yet as I think we're better off coming to some general decisions, then applying them to the various corner cases rather than fixing things ad-hoc.

A proposal is here: https://github.com/lowRISC/opentitan/issues/5445 further progress awaits discussion and agreement of that proposal.


Add pickle protocol option support for Spark

Description

Using spark module may become not working if python version is different between client and spark cluster. pickle module uses default protocol changed by python version in dump and dumps method. If Luigi task which inherits PySparkTask is picked in client and then it's unpicked in spark cluster and the pickle default protocol is different, pickle.load() causes AttributeError.
Default pickle protocol is defined here https://docs.python.org/3/library/pickle.html#pickle-protocols
This change enables users to specify pickle protocol version in luigi configuration file according to their spark cluster environment.
Motivation and Context

I was trying to run Sample task inheriting PySparkTask from client(python3.8 is installed) to spark cluster(python3.6 is installed).
import luigi
from luigi.contrib.spark import PySparkTask

class Sample(PySparkTask):

    def main(self, sc, *args):
        print(luigi.__version__)

if __name__ == '__main__':
    luigi.run()

Then I got the following error.
Traceback (most recent call last):
  File "pyspark_runner.py", line 135, in <module>
    _get_runner_class()(*sys.argv[1:]).run()
  File "pyspark_runner.py", line 103, in __init__
    self.job = pickle.load(fd)
AttributeError: Can't get attribute 'Sample' on <module '__main__' from 'pyspark_runner.py'>

This can happen if pickle default protocol is different between client and cluster like client using python3 but cluster using python2 or like client 3.7 and cluster 3.8.
In my case I can't change cluster's python version, and think some people is in similar situation like me.
Have you tested this? If so, how?

I ran my jobs with this code and it works for me.

Apologies for massive delay.  Going back through them now, updating them with master, and confirming that all their checks pass.