Remove Notes Sheet from Programming Exam for Winter 2025 Semester

After a discussion in a TA meeting on 19 Sep 2024, we decided to remove the notes sheet aspect of the programming exam entirely.
Reasoning
The following are the main reasons this decision was made:

The note sheet isn't very helpful
The things they would want to write down are specifically disallowed
The IDE already provides inline give code completion, JavaDoc information, and advanced hints.
The anxiety and worry about what they should/should not write down is not worth the benefit
Students are encouraged to do the entire project on their own after completing the phase anyways
This is intended to be a Programming Exam; students are being tested on their ability to write Java code.

Worklist
Remove all references to the Notes sheet for a complete removal:

Remove the section from the Programming Exam GitHub page
Remove the Note Sheet assignment from the Canvas Blueprint
Remote any other references to the note sheet within Canvas

Approval
This was approved by @leesjensen and @mewilker

This has been completed. Next semester it will show up when the blueprint is copied to the course.
In the blueprint the follow was done:

Removed notes assignment
Removed notes reference in Practice Programming Exam
Removed notes reference in Official Programming Exam (Proctored)
Removed notes reference in Official Programming Exam Retake #1 (Proctored)
Removed notes reference in Official Programming Exam Retake #2 (Proctored)


Improvement - Persistent Page Unlock while debugging

Hi
I found useful to use a test to help the user to access a certain feature (let say take the user by hand) and the leave him/her free to continue using the system.
Right now this is possible if you add t.debug(), then you can unlock the page, but according what your next action, the page locked again.
It will be great if after you ask for UNLOCK the page, it does not return locked.
hope is clear

@fmancardi

if you add t.debug(), then you can unlock the page, but according what your next action, the page locked again.

I cannot reproduce this behavior (see the video).
Could please record a video to illustrate the problematic case?

Hi
OK, I will try to explain better, because I've used a confusing term 'Next Action'.
What I need is:
execute test case
stop execution WITHOUT having the browser closed
do any other activity in the browser, without the page locking again.
I would like to use this approach in the way that the test I've written seems most a macro executor, to put the system in one condition, and from this condition the user can be free to continue to operate.
This is something that seems can be done on other tools like puppetter and taiko.
IMHO this can be very useful to provide another usage for test cafe.
Hope now description is a little bit clear.
Going to attach video anyway.

@fmancardi
Hello,
Thank you for your clarification. I was able to reproduce the issue under Windows 10 / Chrome 80. Our team will research it and check for a suitable solution.
For the team:

Run this test:

import { Selector } from 'testcafe';

fixture `New Fixture`
    .page `https://devexpress.github.io/testcafe/example/`;

test('New Test', async t => {
    await t
        .typeText(Selector('#developer-name'), '123123')
        .debug();
});

Unlock the current page.
Click the "Submit" button.
The page is locked after its location is changed to https://devexpress.github.io/testcafe/example/thank-you.html.


Simplify MSM implementation, and small speedup

Description

As per the title, this PR simplifies the internal implementation of variable-base MSMs, and also provides a small speedup (by doing less work).

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against correct branch (main)
[x] Linked to Github issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[x] Wrote unit tests
[x] Updated relevant documentation in the code
[ ] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[x] Re-reviewed Files changed in the Github PR explorer

The PR looks good. Do we need to update the CHANGELOG.md for this? It belongs to an improvement.

I'll update the CHANGELOG, I guess it is a slight performance improvement.

It was pretty small, less than 5% at best
(it did get slightly more pronounced with more threads, but that might have been because normalization is multi-threaded by default, so there was some cross-thread interference)

I see, we should probably expose a single core batch inversion then


estimateFee version support

Add support for 0x100000000000000000000000000000001 version in estimateFee rpc.
Currently, the testnet and mainnet support 0x100000000000000000000000000000001 version for the estimateFee rpc call. Starknetjs also uses this version by default when calling estimateFee within the account.execute method.
However, EstimateFeeRequest struct in starknet-rs currently only supports versions 0x0 and 0x1 which causes calls made via starknetjs to break (it happened when we were trying to integrate a faucet to Madara and were using starknetjs for transfer calls).

TBH personally I really don't like this feature, but at the same time we certainly need this as otherwise projects using starknet-rs on the server side wouldn't be able to accept requests that make use of it.
So we just need to come up with a nice API that would make this work. There are a few options. For example we can turn all BroadcastedXxxx types into enums with variants Normal and Query, but that's too much breaking changes IMO.
What I feel comfortable with is to add a non-serialized private field is_query: bool to these types. The value is inferred from the version field when deserializing and affects version when serializing. This is_query field is then exposed through a function fn is_query() -> bool.

Adding a private field also means you lose the ability to create new object though. So that's bad.
We need to either make this field public, or add a fn new(xxx) -> Self function.

OK maybe we just make this a public field. These are low-level types so it's reasonable to expect users to be aware of exactly what each field does anyways. I do want to hide these complexities away from users but those whose would prefer a simpler interface might want to just use the high-level constructs.

First draft of the query version support is now on the dev/query_tx_version branch.

Awesome! Thank you :)

Forgot to link but this should have been resolved by #439.


add BOM detection, language guessing, and multi-byte char counts

This adds Byte Order Mark (BOM) detection and language guessing to the file metrics header.  This also added character count data to the data profiler.

Above we see Arabic (ar in ISO-639-1) detected and no BOM.

Above we see Greek (el in ISO-639-1) detected and the UTF-16LE BOM.

Here we see the ISO-639-1 code expanded to the detected langauge.

The last set of figures are related to multi-byte character counts.

Looks like we need to start deviating from the layout of the file metrics. If the Content Type is too long then it's a little difficult to read the BOM text.

@stricklandrbls, I thought about that.  We can just take the last bit say foo/bar and just show bar, but have a tooltip that shows foo/bar.

Here's a more pronounced overflow example

@scholarsmate
Also, I'm not sure what I need to edit within this text file I created using Greek characters. The BOM is accurately detected in the data editor but the language is appearing as unknown.
Screenshot: My text input command

Then I actually used the data editor to input the BOM magic number for 0xFF 0xFE for UTF-16-LE
Screenshot: hexdump -C output of file

The data editor detects the BOM correctly but the language is 'unknown'.
Screenshot: FileMetrics Panel Info

There is another file I created, again with Greek characters, and the BOM detection is correct but the language is detected as Korean:
Screenshot: /tmp/utf16-le.txt

Screenshot: vim /tmp/greek-utf16le.txt showing Korean

BOM & Editor Encoding Discrepancy
When the BOM detection occurs, if it matches the available UTF encodings in the data editor (UTF-8 and UTF-16LE) then the editor's Edit Encoding setting should be changed to match. Currently it remains on Latin-1.
BOM Description Mismatches w/ Profiler
If the user edits the BOM bytes of a file, then opens the profiler to re-detect the BOM, those changes are not reflecting the in File Metrics panel. This persists even after the profiler display has closed.
Screenshot

@stricklandrbls, the BOM in the file metics is computed at session creation time.  The BOM in the profiler is computed on demand and will therefore always reflect current changes.  We can force a BOM sync at profile time to get agreement, but I think this is a case where the juice isn't worth the squeeze.  Instead, I just won't show it in the FileMetrics header at all, but we can use the BOM that we get at session creation time to set the default encoding.  That will be a nice touch.  What do you think?

@stricklandrbls, proposed changes made.

I tested the BOM and language detection functionality against the test files that were located within the Omega Edit test files. The data editor displayed the correct BOM and language so there must have been a binary data issue with the testfiles I created earlier.
I'm still seeing some weird behavior with the data editor and omega edit server and currently testing to see if it's local to this branch only.

@mbeckerle, your overall criticism of the controller portion is fair.  Neither @stricklandrbls or I are "UI developers/designers", but we are computer scientists and are willing to tackle any layer in the stack and we're confident that whatever we develop will work.  We've read Design Patterns we've read Scott Meyers, Herb Sutter, Martin Fowler, and the like.  We know about code smells, we run linters, profilers, formatters, bounds checkers, documentation generators (for libraries at least), and use BDD (whenever we can -- UI development has proven to be a challenge here).  But what's worked best in my career is beelining to "working first".  Set aside the academics, optimizations, code poetry, endless design meetings, and just get the thing up and working, and then keep it working (swapping out the aircraft wings while in flight).  At the end of the day, this is an application for users and they don't care if the code is Shakespearian or bubblegum and duct-tape, as long as it works.  That's not to say there isn't room for great design, there is, but that comes over time as the full application takes shape and we can prioritize the pain points and address them along the way.  Since UI development isn't something Robert and I have a ton of experience in (TypeScript, and Svelte we learned on this project) experience told us that we're not going to nail the design right off the bat, but we do have road map items and a rough schedule that we intend on sticking to.


Switch to using buildah in the example

https://github.com/rhd-gitops-example/services/blob/master/tekton-example/resources/build-task.yaml mounts the docker socket. Replace this with buildah as per https://github.com/tektoncd/catalog/tree/master/buildah

I'll work on this


Fix Changelog.kt in release build

Description
I'm not able to build release build locally, so this is attempt to fix the issue. The main problem is the proguard obfuscates  these classes and jakson parser we cannot parse them in release build.
Related issues
#2870

@teolemon I'm not sure if it will work, but looks like problem is in proguard and kotlin nested data classes
cc @VaiTon

It's better to have very explicit names anyway 👍


Fix #7783 - Calling IQueryable-producing methods inside expression tree throws exception when outer is enumerated

Tweaked parameterizer to detect and handle this particular case of queryable composition.

Ping small.


Implementation in Java #1999

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
This is the last part of implementation in Java #1999

@atarax665 sir check it now.

And also please add the tags for this merged PR.
https://github.com/TesseractCoding/NeoAlgo/pull/2058

@atarax665 sir check it now.

Do you actually mean that you picked code from GFG and edited it later? If yes, we would have to close the PR on grounds of plagiarms

@HarshCasper sir if you feel it is a copy of GFG then you can compare it.

Not all my reviews are taken care of. Take a look at them and resolve the same.

@HarshCasper sir what should be the beginning pitcher??

@HarshCasper sir what should be the beginning pitcher??

Beginner Pitch includes introduction of the problem that your code solves and description of your approach to solve it.

@HarshCasper sir now is it fine??

@atarax665 I have gone through some of the merged PRs. In some there are no beginner pitch and in others it is written similar to mine.

And already my 3 PRs have been merged and  in them I have written in this manner then what's the problem in this??

And already my 3 PRs have been merged and in them I have written in this manner then what's the problem in this??

Okay, atleast explain what is a palindromic string with example and then this PR will be good to go.

@atarax665 please review now


fix: bluna compatibility

We removed WhitelistedValidators query, should we return it for temporary compatibility?

I guess they have already fixed that in their libraries? But I'll consider that


Unbreak the cilium-dbg preflight migrate-identity command

Please review commit by commit, and refer to the individual messages for additional details.

/test


To add more properties of matrices and determinant

Describe the solution you'd like

I would like to add more properties of matrices and determinant.

Hi, I want to work on this issue I will start working on it as soon as I get assigned!! I am a part of GSSoC'21.
Kindly assign this issue to me!
Discord Username : Abhijeet Sinha(P)
Discord Tag: #4018

Go ahead
Feel free to ask your doubts,if any
Deadline 27 March,2021 (11:59 PM IST)


Missing CJK Font

The CJK language such as Chinese cannot show properly.

Confirmed. This bug is an unwanted side effect of the latest fix to avoid the renderer crashing on strange input. Need to fix.

Pushed and deployed a better fix for the math crashes. Non-ASCII chars are only replaced with [?] now if they are enclosed in $-signs. Otherwise, they are just rendered.


fix: handle case where all recently viewed products are failed/offline

PR Type

[x] Bugfix
What Is the Current Behavior?
When all recently viewed products that displayed in the Recently viewed section go offline, the PWA still renders this heading for Recently viewed even though there are no products displayed.
Issue Number: Closes #
What Is the New Behavior?
The recently.facade.ts now filters both the recentlyViewedProducts and mostRecentlyViewedProducts, excluding products that are in the failed products store, instead of doing the filtering inside the products-list.component.ts.
Does this PR Introduce a Breaking Change?

[ ] Yes
[x] No
Other Information
Issue described in support ticket https://support.intershop.com/cse/index.php/Display/967271

@janjoosse Thank you for this contribution. It is definitely an improvement for the recently viewed product list case.
But we are using the products-list.component for other places as well were we rely on the functionality that it handles offline/failed products. So we will have to see if or how we get these two things together or if we should handle the check outside the products-list.component similar as you suggest for the recently viewed case.
Out of curiosity, what shop looses all its recently viewed products? The check was supposed to be more for handling a few exceptions. 😉

The mentioned idea with the shopping.facade.excludeFailedProducts$ was used and implemented on top of the general failed products filtering within the products list. The PR #1647 is merged instead of this PR.


Add runtime info for common usage

Ⅰ. Describe what this PR does
This PR's goal is to make some method like AssignNodesToCache can be reused by other engine implementation.
Ⅱ. Does this pull request fix one issue?

Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #446 (684f446) into master (f4aadf8) will increase coverage by 12.41%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           master     #446       +/-   ##
===========================================
+ Coverage   18.23%   30.65%   +12.41%
===========================================
  Files          53       25       -28
  Lines        2265      584     -1681
===========================================
- Hits          413      179      -234
+ Misses       1813      381     -1432
+ Partials       39       24       -15

Impacted Files
Coverage Δ

pkg/ddc/base/runtime.go
0.00% <0.00%> (ø)

pkg/utils/crtl_utils.go
39.28% <ø> (ø)

pkg/ddc/alluxio/delete_volume.go

pkg/ddc/alluxio/dataset.go

pkg/ddc/alluxio/transform_init_users.go

pkg/ddc/alluxio/replicas.go

pkg/ddc/alluxio/hcfs.go

pkg/ddc/alluxio/health_check.go

pkg/ddc/alluxio/transform_ufs.go

pkg/ddc/alluxio/transform_permission.go

... and 18 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 f4aadf8...684f446. Read the comment docs.


Remove resize on watch of data

In your scope.$watch('data'..., you have complete the update of the graph with a call to resize().  While this may not be an issue for static plotting, if you do use this in a dynamic situation, this function call will result in a performance hit.

+1

just comment resize();


Update trace4cats-tail-sampling, ... to 0.12.0-RC1+191-347e4fc7

Updates

io.janstenpickle:trace4cats-tail-sampling
io.janstenpickle:trace4cats-testkit

from 0.12.0-RC1+156-7ea07b63 to 0.12.0-RC1+191-347e4fc7.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.janstenpickle" } ]

labels: library-update, semver-build-metadata

Superseded by #10.


Hangs on FindCss

I'm trying to figure out exactly what's going on here in my test case, but I figured you guys might know what's going on quicker than I will.
Here is the gist for the webkit debug. Essentially there's two cucumber scenarios ran one after another, and the second scenario is getting stuck on a find().set and just hangs. I had to manually kill the process.
I was able to reproduce it multiple times when running the two scenarios in same session, but when running individually it works fine. Unfortunately it's proprietary code, so I can't post the reproducible test that I am running.

I didn't realize that the default timeout for Capybara Webkit is -1, which I assume means never timeout. When I set the timeout to 30, the same log as the gist occurred, but it then failed with:
Wrote response false "{"class":"TimeoutError","message":"Request timed out after 30 second(s)"}"
    Given I have signed into the test Express portal as a USD prepaid user        # features/test/step_definitions/shared_steps.rb:1
      2015-06-18T12:32:37-04:00: 	Portal User: auto1434599772
      Request timed out after 30 second(s) (Capybara::Webkit::TimeoutError)

I realized the issue probably is that a Load Started was made after the driver.reset! was called by the driver.
In my test ,the last action for the first scenario is a click, which for my purposes doesn't wait for the resulting page to load (since I didn't really care about the resulting page, as much as a backend process that would trigger). The next page does a javascript based form.submit() to PayPal on $(document).ready. This I assume isn't covered by the driver.reset!, since the request isn't made until after the page is loaded, so it's out of scope of requests that the driver can cancel.
As far as I can see, the only way to work around this issue is to make sure the page is loaded before finishing the scenario, or make a driver.reset! call as a Before hook call. I'm open to any suggestions on driver side since there may be scenarios that people run into my same issue, but I can't think of anything offhand.

We shouldn't be making requests after reset! is called. We know about requests which start after the page loads, and we abort them when reset! is called starting in 1.5.1.
What triggers that last request there? Is it from a setTimeout function?

@jferris, if you are talking about page.driver.browser.timeout, then no, because I didn't even know it would be necessary to use until this issue came up.
When I did try using it, it did timeout as mentioned above.
Let's call the 3 pages: submit, form, and paypal.
I think the best way for me to explain it is if you see some of my capybara code:
 first("#paypal_amount").set @input_value
 first("#paypal_submit").click

That's the end of the test. So it's on submit page and that click leads to form page, that has a hidden form with values for submission, in addition to JavaScript on the page:
  $( document ).ready(function(){
    $("#paypal-form").submit();
  })

This will submit the form and take the user to the paypal page.
I assumed that since the driver.reset! was called on the submit page, it sees the click request is in progress, so it ultimately waits for the form page to finish loading. Which it does, but then the JavaScript on the form page fires on the $(document).ready and starts a new Load after the driver.reset! already finished.

Sorry, by setTimeout, I meant in JavaScript.
When the driver gets a reset command, it actually deletes all of the web page instances, so I'm surprised that they continue to make requests after a reset. We may need to tell the pages to stop processing (or just navigate to a blank page) before deleting them.

Yeah, there's definitely no setTimeout in the JavaScript.
After further inspection, the first request after the Reset() finished was the form submission to the PayPal URL, which confirms my suspicion. It's the JavaScript that I posted in my previous comment that is being called from the form page, even though the Reset() had finished.

I have a reproducible case that I will upload in a sec.

Hey @jferris, I pushed a test case https://github.com/nritholtz/capybara-webkit/commit/8cff5d3fdb144c6fa332dcf07ad50d6734d0d93f but unfortunately I can't get it fail on every run, maybe you can see what could be added to make it consistently fail.
However, running DEBUG=true bundle exec rspec spec/driver_spec.rb:243 would intermittently hang with what I think is the issue I'm having.

Thanks a bunch! I'll try to take a look at this tomorrow.

Hey @jferris, I know it's been super busy, but any chance of taking a look at this?

Closing due to age - We can reopen if this is still an issue with current releases.


WIP: Restart Jenkins safely

Jenkins is currently restarting every 30 minutes or so, which
causes some jobs to hang (namely, jobs which trigger downstream
"Run rake task" jobs, which complete successfully but the status
is never reported back upstream).
It looks as though there is a setting to restart Jenkins only when
it is safe to do so, i.e. no active jobs:
https://devops.stackexchange.com/questions/3104/how-to-safe-restart-jenkins/3115
It also looks possible to provide our own custom 'restart' command
to services managed by Puppet:
https://stackoverflow.com/questions/62221676/puppet-conditional-restart-of-service
I'm almost certain this code isn't in the right place or has the
wrong syntax, but am capturing here while fresh in my mind.
Trello: https://trello.com/c/LDyL0Tso/1209-jenkins-jobs-getting-stuck

My concern with this would be that we have some very long-running jobs. A lot of those run overnight so it won't be an issue (we'd never be deploying puppet at the same time) but I'm still wondering if it will lead to unusually long Puppet runs. Or does the safeRestart command return immediately and restart asynchronously?

Superseded by #11270.


Create .travis.yml

https://travis-ci.org/stephengroat/pdfkit/builds/350076892

any desire for this? just trying to cleanup open PRs

I'm interested. What kind of permission i need to run this?

I'm interested. What kind of permission i need to run this?

https://docs.travis-ci.com/user/github-oauth-scopes/#travis-ci-for-open-source-and-private-projects

Not necessary. Using github actions


Async execution lock (+ infrastructure)

Abstract out the global locking parts of the new transport locking scheme, so that it's useful elsewhere.
Adds a multiple producer single producer queue that's taken fairly directly from:
http://www.1024cores.net/home/lock-free-algorithms/queues/intrusive-mpsc-node-based-queue
The async execution lock ensures serialized access to a resource without needing to block.
It's current downside is that one thread can become stuck forever, but a future version of this will address this limitation by dispatching work to another thread periodically.

cc @dvyukov

I think you better take this:
https://software.intel.com/en-us/blogs/2013/02/22/combineraggregator-synchronization-primitive
I can relicense as necessary.
It has lower per-operation overhead and better tail latency (no nasty busy spinning).
Also please test with ThreadSanitizer (-fsanitize=thread). ThreadSanitizer is smarter then me.

The combiner aggregator is interesting. I was thinking about tail latency overnight and make some changes to the lock, utilizing some of our infrastructure. When we get into contentionful situations we typically have other work outside the current lock that we could be doing, so when we get to a spin situation I'm jumping out of the combiner and doing them - with the idea that when we get back the spin situation ought to be resolved - and in the interim we probably got some other useful stuff done.
I need to measure, but I think overall this is going to have better characteristics for us. Anyway, tempted to go with this for round 1 and try the aggregator approach once we've got everything using this lock (since it should be drop-in at that point).

(everything is run through ThreadSanitizer)

When we get into contentionful situations we typically have other work outside the current lock that we could be doing, so when we get to a spin situation I'm jumping out of the combiner and doing them

I think it will have even worse tail latency characteristics (you jump out of lock leaving it locked and queuing continuation onto tail of work queue). But it's up to you.

Test this please

ping

@ctiller are you pinging me? to do what?

@dvyukov not so much you... I was trying to get @vjpai's attention, sorry!

Do you still want this reviewed immediately or is it better to hold off on this until after the 5/21 milestone targets are met?

Let's wait until 5/21. I might want to play with this sooner, but I can do
that off in a branch.
On Wed, Jun 8, 2016 at 3:02 PM Vijay Pai<EMAIL_ADDRESS>wrote:

Do you still want this reviewed immediately or is it better to hold off on
this until after the 5/21 milestone targets are met?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/pull/6407#issuecomment-224743473, or mute
the thread
https://github.com/notifications/unsubscribe/AJpudbMnzoBXQSnrKTJkqYA3Ik8goLlOks5qJzv_gaJpZM4IV76S
.

Stale ?

No, just needs some dedicated review time. It's very much alive.
On Tue, Aug 9, 2016, 5:03 PM Nicolas Noble<EMAIL_ADDRESS>wrote:

Stale ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/pull/6407#issuecomment-238706597, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIdEkAG5jGLpB7_-uH5zeowsoH6Rp-mJks5qePlOgaJpZM4IV76S
.

The review will be of the including PR #7279
On Tue, Aug 9, 2016, 5:38 PM Vijay Pai<EMAIL_ADDRESS>wrote:

No, just needs some dedicated review time. It's very much alive.
On Tue, Aug 9, 2016, 5:03 PM Nicolas Noble<EMAIL_ADDRESS>wrote:

Stale ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/grpc/grpc/pull/6407#issuecomment-238706597, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AIdEkAG5jGLpB7_-uH5zeowsoH6Rp-mJks5qePlOgaJpZM4IV76S
.

Closing this since it's included in #7279


runtime(java): Recognise when clauses in switch blocks

Also:

distinguish yield when used as a contextual keyword from
when used qualified as a method or a method reference (as
can be seen in testdir/input/java_switch.java, variables
and method declarations named yield will be recognised
as the namesake keyword--consider picking other names for
variables, and defining g:java_highlight_functions to have
method names painted; since yield statements can have
trailing parens, they must be recognised as statements,
for only qualified yield method calls are supported);

recognise grouped default case labels;

describe primitive types for case labels (JLS, §14.11,
§3.10.1);

recognise some non-ASCII identifiers (see javaLambdaDef,
javaUserLabel) (further improvement for better recognition
of identifiers will be arranged in a separate PR).

Because the arrow -> is used in two kinds of expressions,
lambda (abstractions) and switch, necessary changes were
made for the recognition of either (and further improvement
touching lambda expressions will be separately arranged).
Because default is used for instance method declarations
in interfaces and in switch labels, necessary changes were
made for the recognition of either (and further improvement
touching method declarations will be separately arranged).
Finally, it deemed appropriate to put yield in the syntax
group of javaOperator rather than javaStatement, for its
member var is also another contextual keyword (e.g., this
is valid syntax: var var = var(test.var);).
References:
https://openjdk.org/jeps/361 (Switch Expressions)
https://openjdk.org/jeps/440 (Record Patterns)
https://openjdk.org/jeps/441 (Pattern Matching for switch)

During screen dump generation (v9.1.0136), I ran into
a discontinuity between two screen dumps.  (There are four
lines in the input file that exceed the 75 column limit and
their spilled over tails are painted at the start of a next
additional line for screen dumps: 00, 01; 03.)
testdir/failed/java_switch_03.dump [BOTTOM 6 lines]:
                        case Letters[] ll       -> "SwitchTests$1Letters[]"
;
                        default                 -> "java.lang.Object";
                });

                                                         55,3-17       46%

testdir/failed/java_switch_04.dump [TOP 6 lines]:
                switch (ch) {
                case 'a':               { echo('a'); break; }
                case 'b':               { echo('b'); break; }
                default:                { echo('\u0000'); break; }
                };

testdir/input/java_switch.java [MIDDLE (6 * 2) + 2 lines]:
		echo(switch (o) {
			case null		-> "null";
			case Letters[] ll	-> "SwitchTests$1Letters[]";
			default			-> "java.lang.Object";
		});

		char ch = 'c';

		switch (ch) {
		case 'a':		{ echo('a'); break; }
		case 'b':		{ echo('b'); break; }
		default:		{ echo('\u0000'); break; }
		};

The two lines missing at the top of java_switch_04.dump
(commented out for clarity):
//		char ch = 'c';
//

Thanks. I see the problem. It's the many tabstops in the Java file. I'll include some additional changes that make use of ':set ts=4'.
I checked all the dumps manually and the vanished line is there now.


Windows Support for conda install -c conda-forge pyembree removed

@scopatz Windows support for pyembree has been removed from conda-forge. Would you please add it back? It was working just fine.

@scopatz Windows support for pyembree has been removed from conda-forge. Would you please add it back? It was working just fine.


Update to Web Appbuilder 1.2

Hi, esri announced Web Appbuilder for developer 1.2. Can you give some guidance on how to configure LocalLayer on this new version?
Thank you so much for your work! This works amazingly in version 1.1.

I am working on a new version f the widget that supports 1.2 WAB.


[React] Adding default user chat on app launch

Hi! I have used the template from here but I am trying to setup the chat so that by default, when the app opens, one chat prompt with a predetermined user opens (like in the following screenshot that I have added manually). In the template, by the default the chat list is empty. How can I do this?

Hi @andrezg98
You can call goToDialog(dialogItem) method from start and pass a dialog as param.
Or use some dialog as default property (e.g. currentDialog = selectedDialog ? selectedDialog : dialogsList[0]) on chat screen.

Thanks a lot, I think it works!


Is visceral_fat correct?

For the given data: 20.01.1992, female, height 160cm, weight 56.85, visceral_fat returns the value of 1%.

Yes I have seen this as well.

In my tests of the day
Female weight = 60 < 69 Height = 166 visceral_fat = 1
Female weight = 70 < 76 Height = 166 visceral_fat = 8,0
Female weight = 77 < 82 Height = 166 visceral_fat = 9,0
Female weight = 83 < 89 Height = 166 visceral_fat = 10,0
male weight = > 49 Height = 176 visceral_fat = 1
male weight = 50 Height = 176 visceral_fat = 1,0
male weight = 51 < 52 Height = 176 visceral_fat = 2,0
male weight = 53 < 54 Height = 176 visceral_fat = 3,0
male weight = 73 < 74 Height = 176 visceral_fat = 13,0

Unfortunately we all have the same source to calculate it. You should be able to uncap the latest android version of zepp life

@borpin
I found another formula. It seems correct to me. Is it possible for you to give me the expected result for a lady? Via the official application then I would need the height, weight and impedance

update v3.1.2


feat: port CategoryTheory.Triangulated.Basic

[x] depends on: #2466
[x] depends on: #3038
[x] depends on: #3039

This is backported in https://github.com/leanprover-community/mathlib/pull/18670

This PR/issue depends on:

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

This PR/issue depends on:

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

Merging master to clean up the diff.

bors merge


Manual Snapshot mode; Not working

If Manual Snapshot mode set to true and Snapshot switch turns on, the log Not recognize a snapshot with Outdoor Camera.
What is the switch supposed to do? Does the alarm have to be activated for this?
Additional question:
Is it even possible to create a live snapshot manually using a command? If yes how? Does the alarm have to be active for this?

any tipps?


SDL_{image,net,mixer}: use pkg-config

Motivation for this change
Without pkg-config, these packages will try to execute sdl-config to locate SDL, which failes when cross compiling.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Thank you! I have zero experience with cross compiling, but just FWIW, I can confirm that:

Building a couple of SDL games which depend on the libraries touched by this pull request still works.
The analogous SDL2 libraries already use pkg-config in exactly the same way as this pull request suggests for the SDL1 libraries.


Execute a trigger before/after/instead_of any command

Hello,
I have a specific use case, where I need to copy a private key to a temporary location and assign it proper access rights. I need this copy because it's impossible to correctly control the file access rights from a directory on windows host mapped to the Ubuntu guest.
....
override.ssh.username = "ubuntu"
override.ssh.private_key_path = "/local_ubuntu_directory/default.pem"
....

To do this I used your plugin:
  config.trigger.before [:up, :provision ....]  do
     run "sudo /bin/cp /mapped_directory/default.pem /local_ubuntu_directory/"
     run "sudo /bin/chmod 0600 /local_ubuntu_directory/default.pem"
     run "sudo /bin/chown vagrant:vagrant /local_ubuntu_directory/default.pem"
   end

  config.trigger.after [:up, :provision ....] do
    run "sudo /bin/rm -f /local_ubuntu_directory/default.pem"
  end

But I have two problem with this:

Security issue, if a vagrant command fails I don't get the temporary key deleted
I have to list every possible vagrant command in the trigger, because if I don't include a command, it will fail with "file not found" error (vagrant enforces override.ssh.private_key_path file existence): is there an easy way to specify 'any' command?

thanks, that works like a charm!


Date Range domain does not work with the Geoform

I have a Date field with the Date Range domain set up. It can not display in the geoform for this field.
ESRI support said that there is a bug BUG-000080907: If a date field uses a date range domain in an attribute table, the date is displayed in a UNIX format when editing the date field in a feature service in the ArcGIS Online map viewer.
I am wondering that is there a work around to modify the geform template code to let the date range work.
Thanks
Zhujing

I'll look into it. I see the issue. thanks

Hey @zhujingx do you have a public service or something I can use to replicate this bug?

Sorry, my service is private. Could not share, very sorry for that.
From: Matt Driscoll<EMAIL_ADDRESS>Sent: Wednesday, January 25, 2017 7:11 PM
To: Esri/geoform-template-js<EMAIL_ADDRESS>Cc: Xia, Zhujing<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Esri/geoform-template-js] Date Range domain does not work with the Geoform (#524)
ATTENTION: This email came from an external source. Do not open attachments or click on links from unknown senders or unexpected emails.
Hey @zhujingxhttps://github.com/zhujingx do you have a public service or something I can use to replicate this bug?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Esri/geoform-template-js/issues/524#issuecomment-275273161, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ASx7IwnF7hYC4IzDJx7nb4oSqBhCSjLuks5rV-SRgaJpZM4Lc4d6.


Properly handle request bodies in Nginx temporary files

Properly use ngx.req.get_body_file to handle chunked request bodies that exceed client_body_buffer_size.
This should be a utility function because will be shared among all the plugins.

Not a good idea until officially supported by ngx_lua. Reading the returned file from the Lua land will be blocking. Should be closed.

Yes I do agree with @thibaultcha that this is problematic.
Why is this problematic:

If you grow client_body_buffer_size and client_max_body_size you end up creating a DDOS access point to your memory.
If you let Nginx to write files to a disk, you have to rely on blocking IO to read them back.

Sometimes you don't have options though, and have to accept something for things to work (e.g. if you want large file uploads, you don't have many options but accept some drawbacks). Here is something that may be considered:

provide configuration argument for maximum (single) file size on a multipart body
provide configuration argument for maximum number of bytes in data (aka non-files) parts on a multipart body
provide configuration argument for maximum number of separate files that can be uploaded on a multipart body
stream files using lua-resty-upload to a non-blocking store (or temporary files) and store only the metadata of it
create lua-resty-upload for non-multipart bodies (lua-resty-bodystream) with the mentioned safe guards (see above) — also handle timeouts in socket reading

we now have configurable options for body buffer size, giving control over if/when request bodies are buffered to disk. We can probably close this?


[SP-2263][PDI-14651] MSSQL Binary Fix

Use the supported getBinary JDBC method instead of getBlob

@mbatchelor could you review the backport for #1919

@brosander, @hudak could you review it, please?


Subscribe to topic with wildcard fails /test/# etc

Environment

OS:  Ubuntu 16.04.3
Erlang/OTP:  20
EMQ:  2.3

Description
I have setup emq with the deb file and enabled the http auth plugin and written a simple node http server to fulfill the auth, superuser, and acl requests to just allow all in testing.
The problem i have is when I go to send a message to the rest api 'api/v2/mqtt/publish' endpoint its failing on subscriptions with wildcards
user subscribe to /test/#
and message published to /test/room
I'm not sure what I'm doing wrong, but it seems this should work,
Im also using the android toolkit app as the client
EDIT:
Turns out it is working but the android toolkit app isn't displaying anything for subscribed topics with wildcards

@dreamcatcha The mqtt protocol states, publish can not use wildcards.

@turtleDeng yeah i corrected the post, its the android application failing to show the messages from subscriptions with wildcards, works in another android client


Reliable reliabilities

This is just a caching issue but it keeps freaking people out and I think counts as a fairly serious bug since seeing people's up-to-the-second reliability is a big incentive to click on promise URLs.
It's hard to reproduce on demand but it happens all the time and I think the easiest place to see it is on the main commits.to page. People's reliabilities there will often be much lower than what you see when you click through to the person's gallery.

More instances of this bug in the wild, including wrong reliability upon first click of a new promise.

 It removes all motivation to share the urls or make it public if it’s not accurate."
So I'm adding the MENdoza tag to this, meaning we can't take more beta users till it's fixed!

I commented out the reliabilities that weren't reliably correct. That was embarrassing that we let those be wrong for so long and we definitely can't display them until they're reliably right.
I'm updating the title of this Issue from "Reliabilities are wrong on front page and sometimes elsewhere [namely, the user's overall reliability on the individual promise pages]" since they're not wrong now, just missing.

I just clicked on a new URL and saw the following:

Note the 94% reliability which should be 99.826%. When I refreshed the page (or clicked through to my gallery) I saw the correct score.
@bsoule has seen this twice as well. I don't know how to reproduce it on demand yet but it's not exactly rare and is a big deal so I'm reopening this. Or maybe it needs to stay closed as "cnr" until we find repro steps. But I'm documenting that it's not fully solved yet.

aha, this is happening when then /cache job runs... because I apparently duplicated the reliability calculation logic here: https://github.com/beeminder/iwill/blob/master/data/seed.js#L38
need to refactor https://github.com/beeminder/iwill/blob/master/app/router.js#L49 into a shared function to fix this

done https://github.com/beeminder/iwill/pull/142

Just now encountered another case of this:

Upon refreshing the page or clicking through to the gallery, the reliability changes to 99.830%

this is the expected behavior

I did some arithmetic and see what must be happening but I believe it's wrong. The sum of my scores is 263.5512 out of 264 promises for a score of 0.9983.
When I first clicked that promise it was showing a user reliability of 263.5512/265, ie, it was presumably counting one additional promise with a score of 0, which it should never do.
So it's a different bug. Shall I create a new Issue in a case like this?

you're right, i read this wrong and didn't realize the score was increasing. it's because the caching isn't filtering out voided promises here: https://github.com/beeminder/iwill/blob/003cfd4f67f9d1bdbb16e3475cf362923f025191/data/seed.js#L38
we need to add the following query inside getPromises()
where: {
	void: {
    	[Sequelize.Op.not]: true
	}
}


Request retry count

The PR has following changes, in context of DAPP action replay for MV3:

add retry count to request, max retries are 3
requests are not retried if request.id is undefined, undefined is valid value of request.id.
error is not throw is a response is encountered for which there is no corresponding request - reason for doing this change is at times I found that due to service worker restart requests are sent to background multiple times and there are multiple responses, as first response matched request is removed from queue and then as second response reaches there is no corresponding request and it throws exception

The build is red as PR is marginally missing the threshold for test coverage. I have test covered the functionality already.


DOC: Add example as to how to use solve_ivp to solve complex matrix differential equations

Is your feature request related to a problem? Please describe.
No.
The example given in the documentation does not make it easy to
guess the way to use solve_ivp to solve complex matrix differential equations.
Describe the solution you'd like
Add a sufficiently  detailed example
Describe alternatives you've considered
example  based on this answer to this question
Additional context (e.g. screenshots)

i would like to work on it. Thanks

@nitin-pandita it's great that you're interested in working on SciPy! There is already a PR adding this so it would be best to work on to work on one of the many other issues or even better consider reviewing #14103 so that we don't duplicate efforts

@nitin-pandita it's great that you're interested in working on SciPy! There is already a PR adding this so it would be best to work on to work on one of the many other issues or even better consider reviewing #14103 so that we don't duplicate efforts

Sure @j-bowhay , i have made a comment on #14103 . Please assign this to me


[Site] Responsiveness

Description
Need to implement responsiveness in the Tuter2Tuee website.

@NikhilSharma03 From the past project, I used react-bootstrap It worked fine but some element is not that simple to use.
here's the link for that https://react-bootstrap.github.io

@jinwoo1225 Actually I prefer to implement responsiveness with CSS only. I am halfway through and it should be completed by tomorrow. Please review the PR and let me know if there are any issues, we will proceed with bootstrap.
Thank you 😃


Backend script for CRV price prediction bot

@rootedbox
In this bot, we only have smart contract on Arbitrum network.
So, the steps are below
1, at 00:00 UTC everyday, Read active_epoch_num from the contract on ARB (active_epoch_num starts from 1)
2, you can read the active epoch information by using epoch_info['active_epoch_num'] from the ARB contract
3, add this epoch info in the epoch info table in PostgresDB.
4, 24 hours later (00:00 UTC next day), read the bid_info from the ARB contract and calculate the winners, and call set_winner_list function in Cosmwasm contract, and loop 1~4 again per each 24 hours
More simple logic than previous gaming bot
Once you create the initial code, let's follow the code step by step together to fix the issue,
cc: @verabehr @taariq

crv-price-prediction.service is setup at /home/rootedbox/app/pp-bots/crv
in .env this is the same code as the eth.. the only thing we need to do if both contracts are on arb is to do the following when we finalize config.
the blockchain connections should be your crv contract_address / private_key
Blockchain Connections
RPC_URL=https://volume.liquify.com/api=0440032/arb_one
CONTRACT_ADDRESS=
PRIVATE_KEY=
the blockchain connections should be your arb contract_address / private_key
Arbitrum Connections
ARBRPC_URL=https://volume.liquify.com/api=0440032/arb_one
ARBCONTRACT_ADDRESS=
ARBPRIVATE_KEY=
contractABI.json should be the crv Abu
contractArbABI.json should be the arb ABU


CUDNN_STATUS_MAPPING_ERROR

Hi, I am currently deploying a finetuned BERT model on TensorRT server. Most of the time, the server works fine, but every now and then, there is a CUDNN_STATUS_MAPPING_ERROR.

The cuDNN documentations seems to indicate that it is either a memory issue or an internal bug (https://docs.nvidia.com/deeplearning/sdk/cudnn-developer-guide/index.html). Is there anyone else encountering this issue, and if so, is there a proper way to address it? Thank you!

This error is logged when a request is sent to the model? Or even when the server is just running? You can try to run the server with --log-verbose=1 to provide verbose logging.
In addition to that, what TRTIS version that you are using? And what is the framework of your model?

The error occurs when a request is sent. I'll turn on verbose logging.
We're using the TRTIS 19.08 and python3 (FROM nvcr.io/nvidia/tensorrtserver:19.08-py3). Our model framework is TensorRT (model.engine).

Another thing to check is to make sure that you generated the TensorRT model using the same version of TensorRT as is included in the 19.08 release. There is a container for TensorRT on NGC as well with that version.

@deadeyegoodwin I just checked and I'm using TensorRT 5.1.5 for both the inference server and the builder.

It could be due to sending invalid data to the model. For instance I have observed when using perf_client with this model that sending random data can cause this error but sending zeros (using the -z option) does not.

Closing. Let us know if the -z option doesn't work for you. BTW, this is likely not a TRTIS issue.


feat(Core): Added support to ignore inline HTML comments in metadata header

Right now if you don't remove all of the comments in the metadata headers, it either includes them (in the tags) or keeps the ADR in a draft status (for the status).  By updating the RegEx that parses the meta data to find those inline HTML comments, we can keep other information available in the source of the ADR, but not display it in the browser.

@thomvaill, Can I get a review of this change along with others?


Belongs to Association Reference not saved

GORM Playground Link

https://github.com/go-gorm/playground/pull/307
Description

I have set the association struct field permission to read-only, since I dont want it to be created. However I want the association's reference value needs to be saved in the model before it is saved, if the association struct is not nil. This feature was available in gorm v1, even with association_autocreation:false.

current behaviour seems correct, if you mark the field as readonly, it should not be create-able.
Maybe you could set the user.CompanyID = company.ID before save the user.


USX UI Change 3

Verified that @myothiha09 has signed the CLA. Thanks for the pull request!

You can ignore the xml files for dimen, string, and styles.


Update getting-started-xamarin-forms.md

Improvement in documentation
Addition
http://mapsui.com/documentation/getting-started-xamarin-forms.html
Changes to Step 4
The mapsui:MapView element needs to be nested inside a parent Layout  in the for the map to be set up and load correctly, which is not clear in Step 4 that just tells the user to add it to the Xaml file. Now there might be confusion as to add it under the  tag with no parent View or Layout. While working around with the MapView element, it might be hard for a first-time user to figure out its placement and root in the Xaml file.
Instead of
Add the Mapsui.Forms view with
<mapsui:MapView x:Name="mapView"
    VerticalOptions="FillAndExpand"
    HorizontalOptions="Fill"
    BackgroundColor="Gray" />

to the Xaml part file
This step should explicitly mention adding the view inside a Xamarin.Forms Layout under <ContentPage> root
Step 4
Add the Mapsui.Forms view
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:d="http://xamarin.com/schemas/2014/forms/design"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:mapsui="clr-namespace:Mapsui.UI.Forms;assembly=Mapsui.UI.Forms"
             mc:Ignorable="d">

<!-- Choose a Xamarin.Forms Layout -->
    <StackLayout>
         <mapsui:MapView
            x:Name="mapView"
            VerticalOptions="FillAndExpand"
            HorizontalOptions="Fill"
            BackgroundColor="Gray" />
    </StackLayout>

</ContentPage>

to the Xaml part file
Inform the user and avoiding build errors

This helps add to the clarity of the procedure. A first time user might find implicit information to be much more intimidating than explicitly providing a detailed description of the steps.
A misplaced child element inside the Xaml file might introduce build errors since the code behind may not able to wire up the MapView with the defined Xaml element.

Thank you very much. Since I am rarely in the position our users are in it is hard for me to judge what is most helpful. Thanks for helping with that.

I'm grateful to contribute, Thank you for making this repo available as open-source, everything else works just perfect!


MIC-584: UaI: Decision next steps

Codecov Report
Attention: Patch coverage is 92.10526% with 3 lines in your changes missing coverage. Please review.

Project coverage is 92.86%. Comparing base (30b3483) to head (ff3fad6).

Files with missing lines
Patch %
Lines

...tes/journeys/record-decision/next-steps/schemas.ts
80.00%
2 Missing :warning:

.../journeys/update-decision/next-steps/controller.ts
92.85%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #246      +/-   ##
==========================================
- Coverage   92.88%   92.86%   -0.02%
==========================================
  Files         264      266       +2
  Lines        3936     3969      +33
  Branches      617      624       +7
==========================================
+ Hits         3656     3686      +30
- Misses        279      282       +3
  Partials        1        1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


exclude inactive optional dependencies #537

cargo metadata currently outputs all dependencies, even optional dependencies that are not active. By comparing dep:* features with dependencies that have been declared as optional, we can eliminate inactive optional dependencies.
For #537

Thanks for the patch! @mystor WDYT?

I think cargo metadata is already handling optional dependencies correctly, and only including them when needed. Do you have a concrete example where an optional dependency is incorrectly being included in the metadata? It would be useful to understand the problem we're trying to solve.

I have outlined one of our issues in a comment on the related issue: https://github.com/mozilla/cargo-vet/issues/537#issuecomment-1698863441
For example, sqlx is pulling in various drivers even though only one of them has been enabled via a feature.
There is also this cargo issue which indicates that this is indeed a problem, https://github.com/rust-lang/cargo/issues/10801. This all said, I can see that your example is correct, and I haven't yet identified what the difference to the sqlx example is.


Add Support for E340 Floodlight Camera and Doorbells? (T8425 and T8214)

Thank you so much for this integration! I just got three E340 floodlight cameras and have the S380 Homebase 3 and two E340 doorbell cameras but none of these are supported yet. Any chance of adding these so I can integrate them into HA?
Thanks!

With the s380 giving the cam 24/7 recording, hopefully we get streaming to HA

I hope so!  I see that https://github.com/bropat/eufy-security-ws is stating as of today that E340 support will be implemented in the next release!  Hopefully the doorbell camera isn't far behind.

whenever eufy-security-client and eufy-security-ws are updated and released, you would get the new functionality, nothing needed from my end


Some parameters are missing in the Migrating the APIs and Applications to a Different Environment

Description:
Some of the supported apim cli parameters are missing in the documentation.
Missing
--withKeys             Export keys for the application

Suggested Labels:

Suggested Assignees:

Affected Product Version:
APIM 2.6.0, APIM 2.5.0
OS, DB, other environment details and versions:
Steps to reproduce:
https://docs.wso2.com/display/AM250/Migrating+the+APIs+and+Applications+to+a+Different+Environment#Format-listAPI
Related Issues:

@menakaj , I updated based on your feedback. Is change applicable to APIM 2.6.0 and 3.0.0?
[1] https://docs.wso2.com/display/AM250/Migrating+the+APIs+and+Applications+to+a+Different+Environment#Format-listAPI


docs: hall of fame

closes https://github.com/slsa-framework/slsa-github-generator/issues/2341

/cc @AdamKorcz @aalmiray

@ianlewis I ran the markdown utility locally and updated with the fixes it provided. The tests still fail. Any ideas?

pre-submits all passing. Please LGTM


Getting error like React is not defined while using this Input

Describe the bug
Facing 'React is not defined'  while using this library
To Reproduce
Steps to reproduce the behavior:
import {OtpInput} from 'react-native-otp-entry';
<OtpInput             numberOfDigits={6}             focusColor={Const.Colors.theme_yellow}             focusStickBlinkingDuration={500}             onTextChange={text => console.log(text)}             onFilled={text => onKeyBoardPress(text)}             textInputProps={{               accessibilityLabel: 'One-Time Password',             }}             type="numeric"             theme={{               containerStyle: {},               pinCodeContainerStyle: styles.txtContainer,               pinCodeTextStyle: styles.txt,               focusStickStyle: {                 ...styles.txt,                 color: Const.Colors.theme_yellow,               },               focusedPinCodeContainerStyle: {                 ...styles.txtContainer,                 borderWidth: 2,                 borderColor: Const.Colors.theme_yellow,               },             }}           />
Screenshots

Environment (please complete the following information):

OS: ios (React Native)
Device OS: ios
Device version: iPhone 15(simulator)
Library version: 1.7.2

Got same error.

I'll take a look. In the meantime, can u please provide your env details? Which version of RN or Expo and React are you using?

I'll take a look. In the meantime, can u please provide your env details? Which version of RN or Expo and React are you using?

In my package.json
 "react": "^18.0.0-alpha-fd5e01c2e-20210913",
 "react-native": "^0.65.1",
 "react-native-otp-entry": "^1.7.2",

also I'm using the node version v14.21.3.

@anday013  Thanks for response, here is the versions
"react": "17.0.2",
"react-native": "0.68.6",
"react-native-otp-entry": "^1.7.2",

@Krishna-Vyas @talhaakbar22  issue should be fixed in 1.7.3 version :) Please go ahead and try


Memory management issues in tesseract 4 alpha

Environment
Tesseract4.00.00alpha
Windows 32-bit
Current Behavior:
Throws an exception in TessBaseAPI::ProcessPage()
Expected Behavior:
No exception.
Suggested Fix:
The exception is thrown in imagedata.cpp in this method when calling free(data):
void ImageData::SetPixInternal(Pix* pix, GenericVector* image_data);
The data memory is allocated in the liblept library and should be freed using a call to the library. I assume the correct call is lept_free.

https://github.com/tesseract-ocr/tesseract/blob/f5c18f78c09ab028791c28c638d5cc2f96c6d6fb/ccstruct/imagedata.cpp#L327

The data memory is allocated in the liblept library and should be freed using a call to the library. I assume the correct call is lept_free.

You are right.

https://github.com/DanBloomberg/leptonica/blob/d20c5a68746d56a59a9b9e6f28a91364f5dd6e33/src/utils2.c#L128
Seems to only affect Windows.

And another one in the same vein, not sure if this should be here or in a new thread. In this method:
void ScrollView::Image(struct Pix* image, int x_pos, int y_pos)
The free(data) should be lept_free(data).
Using Visual Studio 2013 on Windows 10 to create a 32 bit build.

I now had a closer look on this issue and came to a different result. ImageData::SetPixInternal calls pixWriteMem which calls different functions depending on the image format. For JPEG, it calls pixWriteMemJpeg which calls l_binaryReadStream which allocates the memory using LEPT_CALLOC which is defined to be equal with calloc. So using free is not wrong. lept_free also basically calls free, so it should not make a difference whether free or lept_free is used.
@LeifUK, does the Visual Studio build use a different definition for LEPT_CALLOC, different implementations of lept_free or anything else which is different? Why does it throw an exception at all? And what kind of exception is that? Maybe it also depends on the image format. Which one did you process to get the exception?

The exception is heap corruption. It occurs because in Windows the app and the DLL each have their own heap, therefore you cannot allocate in the DLL and free in the app. So yes this is a Windows issue.
That is a good point that my app could call lept_free.

Ideally the Tesseract code and the Leptonica DLL use the same C library DLL. That saves memory and load time, and it avoids problems with different heaps, different errno, different stdin / stdout / stderr and other FILE pointers. Maybe you mixed msvcrt.dll and msvcrtd.dll, or your code loads two different versions of the VC runtime library.

Pull request #1041 should fix this issue.

I use the same C runtime libraries throughout. And the same Visual Studio toolsets.

I use the same C runtime libraries throughout.

See my comment for issue #1030.

As an aside, is there a discussion forum for Tesseract issues that are (probably) not bugs? I see very strange behaviour when unders Windows I run my memory leak tests against Leptonica and Tesseract and would appreciate feedback from others.

There are user and developer forums, see Tesseract wiki.

Thank you.


contracts: Add seal_rent_status

#8231 added seal_rent_params which exposes all the rent calculation parameters needed in order to implement custom financing models. However, this would require duplicating the rent calculation in contracts. This PR adds an easier way to implement simpler financing models by adding the function seal_rent_status which returns:
https://github.com/paritytech/substrate/blob/360b4675d47f7610e9bff51731f49dc481007f5d/frame/contracts/src/rent.rs#L49-L64
This allows to easily check whether a contract is exempt from rent payments by making sure that at the end of contract execution *_rent == 0.
Unstable Interface
Driven by the desire to have an iterative approach in developing new contract interfaces we introduce the concept of an unstable interface. Akin to the rust nightly it allows us to add new interfaces but mark them as unstable so that contract languages can experiment with them and give feedback before we stabilize. We need to support interfaces forever and therefore need to do some testing and iterations before we lock ourselves in to one specific interface.
We introduce a new unstable-interface feature from the pallet-contracts crate which makes those features available. It needs to be forwarded to the crate by the runtime. In this PR we add it to the substrate runtime as contracts-unstable-interface. Never run a live chain with this feature enabled.
seal_debug_message
The recently introduced seal_debug_message is made unstable by this PR. It was never released and should go through some testing before we stabilize it. https://github.com/paritytech/ink/pull/792 needs to change its import module once this is in.

bot merge


[bug report] multi-aspect ratio training

Hello there,
Thanks for the great work!
I believe there is a bug for multi-aspect ratio training. When I train on multiGPUs and batch != 1, here is the error msg:
for step, batch in enumerate(train_dataloader):
File "/usr/local/lib/python3.10/dist-packages/accelerate/data_loader.py", line 458, in iter
next_batch = next(dataloader_iter)
File "/usr/local/lib/python3.10/dist-packages/torch/utils/data/dataloader.py", line 634, in next
data = self._next_data()
File "/usr/local/lib/python3.10/dist-packages/torch/utils/data/dataloader.py", line 1326, in _next_data
return self._process_data(data)
File "/usr/local/lib/python3.10/dist-packages/torch/utils/data/dataloader.py", line 1372, in _process_data
data.reraise()
File "/usr/local/lib/python3.10/dist-packages/torch/_utils.py", line 644, in reraise
raise exception
RuntimeError: Caught RuntimeError in DataLoader worker process 2.
Original Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/torch/utils/data/_utils/worker.py", line 308, in _worker_loop
data = fetcher.fetch(index)
File "/usr/local/lib/python3.10/dist-packages/torch/utils/data/_utils/fetch.py", line 54, in fetch
return self.collate_fn(data)
File "/usr/local/lib/python3.10/dist-packages/torch/utils/data/_utils/collate.py", line 264, in default_collate
return collate(batch, collate_fn_map=default_collate_fn_map)
File "/usr/local/lib/python3.10/dist-packages/torch/utils/data/_utils/collate.py", line 142, in collate
return [collate(samples, collate_fn_map=collate_fn_map) for samples in transposed]  # Backwards compatibility.
File "/usr/local/lib/python3.10/dist-packages/torch/utils/data/_utils/collate.py", line 142, in
return [collate(samples, collate_fn_map=collate_fn_map) for samples in transposed]  # Backwards compatibility.
File "/usr/local/lib/python3.10/dist-packages/torch/utils/data/_utils/collate.py", line 119, in collate
return collate_fn_map[elem_type](batch, collate_fn_map=collate_fn_map)
File "/usr/local/lib/python3.10/dist-packages/torch/utils/data/_utils/collate.py", line 162, in collate_tensor_fn
return torch.stack(batch, 0, out=out)
RuntimeError: stack expects each tensor to be equal size, but got [3, 336, 192] at entry 0 and [3, 256, 256] at entry 2
Please advise the potential causes, thank you!

same question

The Multi-scale is only used for 512 and 1024px training. The dataset class should be this one:
https://github.com/PixArt-alpha/PixArt-sigma/blob/f999a89ce86d2dc2b65d01e77602a4d2f4ddec85/diffusion/data/datasets/InternalData_ms.py#L173

line 162, in collate_tensor_fn
    return torch.stack(batch, 0, out=out)
RuntimeError: stack expects each tensor to be equal size, but got [4, 104, 152] at entry 0 and [4, 96, 168] at entry 1

Is this the same issue?


Add support for package managers

Could a file be created to let Rainbow be handled by package managers (Bower, Jam, etc.) ?

+1

Rainbow 2.0 is now installable via npm
https://www.npmjs.com/package/rainbow-code


How to run GUI?

python -m src.GUI.main
I'm going to commit to the np_array branch in just a moment so make sure to pull.

Commited.

Yeah, numpy array only seems to be very fast compared to saving JPG to disk.
The problem with numpy array only is that the files in ExampleData/, when converted to sitk.Image then np array, have data type int16, signed. The file at the top is actually float32.
Then we need to do numpy array -> QImage, and QImage expects Format_Grayscale8 or Format_Grayscale16 (pretty sure it's unsigned).
What's weird is even though every file except one are int16, when I check the values in the np array, the minimum is always 0, and the max is never anywhere near $2^{16}-1=65535$. Usually it's somewhere 500-1000. One file seems to have a maximum of 255, so that seems like uint8.
So the type conversion is somewhat tricky.
On the other hand, saving to JPG avoids any type conversion issues, and the images always look fine.
We'll probably have to reimplement whatever's going on in the JPG library if continuing with the np array approach (which is preferable).

MRI data is commonly unsigned short/int16 as they come off the scanner, but preprocessing steps can result for them to be converted to float32 or float64/double. One way around that is to detect the presence of float data and inform the user of a predefined scaling, e.g. min..max to 0...10,000 (this could be user defined in the preferences/settings). This way, you can load the float data, map it to 0....10,000 and then cast it to int16

MRI data is commonly unsigned short/int16 as they come off the scanner, but preprocessing steps can result for them to be converted to float32 or float64/double (or int16 using full range to 64k). One way around that is to detect the presence of float data and inform the user of a predefined scaling, e.g. min..max to 0...10,000 (this could be user defined in the preferences/settings). This way, you can load the float data, map it to 0....10,000 and then cast it to int16

qimage2ndarray handles this problem, at least for rendering in the GUI.
Specifically, we're using the gray2qimage function. Values are normalized to 0...255, which loses information since the source data usually lies in a larger range, but it's fine for image rendering to the user.
Could instead modify the source code to normalize to 0...65535 and use 8 bit grayscale if preferable.


Add an option: Automatically update TOC when I open a .md file

codemill-id-57cb07a25681420300fc7c6b fixes #3

Hi @wyster, do you want to apply the clean method @ssamuli is talking about https://github.com/lanceplaine/markdown-toc/pull/4#issuecomment-244622552 before we merge the PR?

This method is called only when you open the editor, i did that it was updated by direct editing, he also called when the file is opened

Sorry maybe my question wasn't clear enough.
Do you think your code is clean enough (with the setTimeout) so @nok will accept to merge it into the original repository?

I dont see problem, but there is another variant, update list after document saved or opened, see branch https://github.com/wyster/markdown-toc/tree/feature/updateTocAfterSave
commit - https://github.com/wyster/markdown-toc/commit/1969f9895db51efddd97737fe9ff20617e328048

I will merge the PR. Hopefully it will be good to merge in the original repo.

Tested, looks good to me

@wyster Just so you know: https://gitter.im/CodeMillApp/support :)

@lanceplaine thanks, i received payment for this task ;)


About bad performance using VfNet

I use the vfnet in my own dataset. when I change the 'score_thr' from 0.05 to 0.001 in test_cfg，Sometimes the mAP will drop by 10%. That looks random.

Maybe because softnms would reweight the score, too many boxes with low scores may disturb the results
You can change to NMS and try again

Feel free to reopen the issue if there is any question


Don't try to create document symbols if name is blank

Description
As reported in https://github.com/Shopify/ruby-lsp/pull/1444#issuecomment-1992297264.

We're seeing this for multiple things indeed. I think your original suggestion of checking if the name is empty in create_document_symbol is sensible and we should put that bugfix out.


Improve CI speed

The CI is a little slow as we get more contributions this problem will get worse. There is already a backlog of jobs on busy days which means some of us are spending evening merging small PRs.
I don't want to be doing this :)
The goal here is to spend a couple of hours looking to see if we can reduce the time it takes to run CI.

While we should definitely improve CI time, to lessen the problem, maybe we could use something like https://github.com/chdsbd/kodiak?

@mitchellhamilton we should use whatever you tell us to use! I trust you fully on this 🤣

(I haven't actually used the thing I linked, I've just heard about it but we might as well try it)

CI is currently adequate. Closing this until such time as we have a more specific speed requirement.


Translate "Pod Preset" page to Bahasa Indonesia

This is PR for #13929

It's already good tada however please add an _index.md in the pods directory if you see https://deploy-preview-14394--kubernetes-io-master-staging.netlify.com/id/docs/ your page is still on EN because there's no _index.md after you add _index.md. After you add _index.md, fix the changes, and rebase it i think it'll be good enough. The same things also happened on #14395 The preview still on english. Please look at the netlify to ensure your page is rendered properly.

Will do, thank you for notifying

great work, thank you for your contribution to Kubernetes! 🎉
/lgtm
/approve


[firebase_messaging] check iOS push notification permissions

Description
This change introduces a method call for iOS to check whether the user has previously accepted or declined the push notification setting. This is useful to check it later in the app and then remind the user to enable the push notifications manually in the control center, because the initial request permissions dialog is only displayed once.
Related Issues
I stuck to the old API, if #1009 is merged in, this should also be updated to use the new UNUserNotificationCenter
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

oops, just figured out that onIosSettingsRegistered is called after the app is launched and the settings were previously accepted/declined and only in that case. So this is unnecessary.

Hm, I tested a bit more and am confused. I think when you don't explicitly make the call to request permissions under iOS the onIosSettingsRegistered is never called. Also when going out of the app, changing settings in the Settings app, and jumping back into the app, this was not called (probably because the app was in background during that time?)
So in order to really know what the current settings are, I would have to manually request the settings, like I implemented in this PR, right? So this is needed after all?

Ah, and now the source code was moved.. OK going to migrate stuff to the other repo then 😆


Has the creditor threatened to take immediate action against your fuel supply, property, or threatened you with imprisonment?

Very long titles can be hard to read. Suggest using a 1 or 2 line heading.
We should identify a picklist of common actions. "Creditor" should use the name of the creditor previously supplied, unless there are multiple creditors.

Resolved by breaking apart emergency questions and only asking that which applies to each kind of debt,


chore: remove unnecessary code

:tada: This PR is included in version 5.0.5 :tada:
The release is available on:

v5.0.5
GitHub release

Your semantic-release bot :package::rocket:


Custom Function option

Allow users to make their own functions by coding their own small AHK scripts within the settings UI.
Currently, users can write small AHK scripts and use the 'Run File' function to run them.  However this method doesn't allow users to use the position of the pie menu, and parameters cannot be passed into these scripts easily.
Custom functions could be application specific or generally accessible.

This would also help run code with variables since running an AHK file with a variable that is meant to change will just reset every time the file is opened. With variables, it opens the ability up to use a toggle for the same Pie Slice. In some cases, this will doubles your shortcuts with the same amount of slices. Speaking of, if implemented a feature that may be neat is having a toggling slice that also changes the Icon and Text of said slice.


cant set -Xmx properly

Trying to set the memory limits via -Xmx4G, and finding that I can't, because it is always putting in its own value (why would this be hardcoded?)
[INFO] Execute:Java13CommandLauncher: Executing '/opt/java/jdk_x64_1.8.0_65/jre/bin/java' with arguments:
'-cp'
''
'-cp'
'/mnt/STORAGE/repository/org/jruby/jruby-complete/<IP_ADDRESS>/jruby-complete-<IP_ADDRESS>.jar'
'-Xmx384m'
'-Xmx4G'
where did the 384m come from?
The plugin shouldn't specify any max at all by default, just let the JVM select... it will do a much better job than 384m.

root cause is actually over here:  https://github.com/torquebox/jruby-maven-plugins/issues/83

you are right - I will remove the default -Xmx settings. it should work by setting -Xmx4096m :)
ah - you found the AntLAuncher already

fixed via e7c12a3d0e9a738abaf164bfc39eb2c548674fe6
and release version 0.3.1 of those plugins


make fails

Make command fails with the following error.
Wrote /var/folders/sv/yzk7g2ld3y5_qjxnk_36bj880000gn/T/cask/packages/counsel-css-20160604.2144.el
Dependency counsel-css failed to install: End of file during parsing: /usr/local/Cellar/cask/0.7.4/cask-cli.el
Output:
Saving file /var/folders/sv/yzk7g2ld3y5_qjxnk_36bj880000gn/T/cask/packages/counsel-css-20160604.2144.el...

make: *** [_install] Error 255

I know the problem. It's an odd issue that occurs when Cask tries to install counsel-css that I haven't figured out yet. The workaround is to comment out (depends-on "counsel-css" :git "https://github.com/hlissner/emacs-counsel-css") in the Cask file. It should be on line 168.
I'll figure out a fix for this soon.

Sorry, seems I forgot about this issue! It should be fixed by now, so I will close it.


invalid is true for  ibm-select component, but no invalid style

I set the invalid to true, the invalid text display, but the invalid style for ibm-select doesn't display.
I saw the documentation and found that, the inside logic is   *ngIf="!skeleton && invalid"  to display the style of invalid input select.
So that when I only set the invalid is true, the style can not display.
But when I set the skeleton=false and invalid=true, the selection list can not display as below.
Please have a look !
Thanks very much!

Sorry I failed to add the screenshot

I can't seem to replicate this, please post a code snippet to help us out a bit more!

Hi I use carbon-angular v10.
My angular code is as below:
*.component.html
 <div class="input-wrapper">         <ibm-select         [invalid]="contractStatusValid"	                [label]="statusLable"	                 [invalidText]="contractStatusValidTxt"	                 (selected)="selectedStatus($event)"	                >	         <option value="default" disabled selected hidden>Select</option> 					<option value="On-going">On-going</option>					 					<option value="On-Hold">On-Hold</option>					           <option value="Waiting on Client">Waiting on Client</option>	                     <option value="Escalated">Escalated</option>	                     <option value="Terminated">Terminated</option>         </ibm-select>	                 </div>
*.component.ts
contractStatusValid:boolean = true; statusLable="Status"; contractStatusValidTxt: string = "Status is required!";
The result is:

The expect result is :

Hey! @wuwdd
I used the following code based on your component:
<ibm-select [invalid]="invalid" 		[label]="label" 		[invalidText]="invalidText" 		(selected)="selectedStatus($event)"	> 			<option value="default" disabled selected hidden>Select</option> 			<option value="On-going">On-going</option>	<option value="On-Hold">On-Hold</option> 			<option value="Waiting on Client">Waiting on Client</option> 			<option value="Escalated">Escalated</option> 			<option value="Terminated">Terminated</option> 		</ibm-select>
and
			invalid: boolean("Show form validation", true), 			invalidText: text("Form validation content", "Please select an option."), 			label: text("Label text", "Select Label")
And all the above is working as expected.
I think it may have to do with the wrapper you have around the component.
If you are able to, could you please provide a reproduced version of your code, for example on https://codesandbox.io/ or something similar.
Thanks!

Yes!I can saw this can working well on code sandbox, but not on my local.
I use angular 7.2.0  carbon-components 10.2.0 carbon-components-angular 3.1.0 to implement this.
I will try to create a new angular project on GitHub to reproduce this.
Thanks very much!

No problem!
Best of luck with your projects!


train_test_splitter done using composition

Allow more easily changing logic for train_test_split.

Merged #125 which does basically the same thing.  Thanks for your input.


[WIP] Feat/parameter aliasing

Coverage increased (+0.4%) to 83.519% when pulling 069ce5e2fd58e127b1d75ff9aee8763b660290c9 on feat/parameter-aliasing into c9e50461cc8baf12020c94499b0650594293925c on master.


i need help after i put the stuff in and click save and load config it doesnt do anything  can u add me on discord xxqity for explanation

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. Windows 11, Windows 10]
Python Version: [e.g. 3.11.3]

Additional context
Add any other context about the problem here.

Hey, just use the ModdedPysilon version, it covers every bug and it make sure your discord account never get banned.
Leave me a star if you like my project ;)


Fetch RDF from encrypted public names container

Version: dev
This snippet:
const cont = await app.auth.getContainer('_publicNames');

const rdf = cont.emulateAs('RDF');
await rdf.nowOrWhenFetched();

Gives:
1023: No ID has been found in the RDF graph.
at module.exports (node_modules\@maidsafe\safe-node-app\src\native\_error.js:32:10)
at RDF.nowOrWhenFetched (node_modules\@maidsafe\safe-node-app\src\api\emulations\rdf.js:100:13)
at <anonymous>

This is when the public names container is already populated by creating a few WebIDs by the WebID emulation helper.

Now that we are merging the RDF experimental APIs onto master branch behind the --enableExperimentalApis flag, we can consider fixing this with higher priority.


Fix to support HTTP/2 status lines

The regular expression applied to the HTTP status line only supports strings starting with "HTTP/x.x". However, HTTP/2 status lines won't use the dot.

Thank you @fabiob


python.pkgs.eyeD3: 0.7.8 -> 0.8.7

part of https://discourse.nixos.org/t/nixpkgs-update-r-ryantm-logs/1464/5
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build abcde gpodder python27Packages.eyeD3 python36Packages.eyeD3

Success on aarch64-linux (full log)
Attempted: abcde, gpodder, python27Packages.eyeD3, python36Packages.eyeD3
Partial log (click to expand)
-------------------------------------------
gpodder/jsonconfig.py      93     48    48%
gpodder/model.py          695    646     7%
gpodder/util.py           832    652    22%
-------------------------------------------
TOTAL                    1620   1346    17%
/nix/store/yy634nahp5ff0pqfbni2jgpz7izbprcc-abcde-2.9.2
/nix/store/y4hpwjqml4953qnim1cckabn8pcww3m3-gpodder-3.10.5
/nix/store/fib88gii57rca639fapy0pdc6nyzwx4d-python2.7-eyeD3-0.8.7
/nix/store/wv6darq41nsy6p2sb09nhvd1i9z526p9-python3.6-eyeD3-0.8.7

Success on x86_64-darwin (full log)
Attempted: gpodder, python27Packages.eyeD3, python36Packages.eyeD3
The following builds were skipped because they don't evaluate on x86_64-darwin: abcde
Partial log (click to expand)
Ran 27 tests in 0.063s

OK
Name                    Stmts   Miss  Cover
-------------------------------------------
gpodder/jsonconfig.py      93     48    48%
gpodder/model.py          695    646     7%
gpodder/util.py           832    652    22%
-------------------------------------------
TOTAL                    1620   1346    17%

Success on x86_64-linux (full log)
Attempted: abcde, gpodder, python27Packages.eyeD3, python36Packages.eyeD3
Partial log (click to expand)
-------------------------------------------
gpodder/jsonconfig.py      93     48    48%
gpodder/model.py          695    646     7%
gpodder/util.py           832    652    22%
-------------------------------------------
TOTAL                    1620   1346    17%
/nix/store/148v3gclpkrch14impmd5nnm4kp4m7s5-abcde-2.9.2
/nix/store/bd68f3lam1fgzbfg6sgw6js7c8v0wyfa-gpodder-3.10.5
/nix/store/kqk0jy3zdkih3iny8hgl9vfnwln67bj4-python2.7-eyeD3-0.8.7
/nix/store/dly2yz2rgrxbv54k800laq9a3j5y00zi-python3.6-eyeD3-0.8.7


[PUI] Implement status change buttons for orders

Ref: https://github.com/inventree/InvenTree/pull/7305
Order detail pages currently do not let user change status of order

Build Order

Complete
Cancel order

Purchase Order

Receive items
Complete order
Cancel order

Sales Order

Ship items
Mark as shipped
Mark as complete
Cancel order

Return Order

Receive items
Complete order
Cancel order

@SchrodingersGat State transitions coming with #6989


rootless: Fix cgroup creation logic for rootless

We do not want to create cgroups in case of rootless.
Fix the logic to implement this.
Fixes #2177
Signed-off-by: Archana Shinde<EMAIL_ADDRESS>

/test

@amshinde can you please send this fix over to stable-1.9 as well?


Review & update the current documentation of the library

Recently OntoRefine was separated from GraphDB (Release Notes).
Now the tool becomes separate product that Ontotext will develop and evolve as Ontotext Refine.
Currently the documentation is out-of-date and some statements are not true or even misleading.
It needs to be reviewed and parts of it re-written in order to reflect the new state of the products.
Furthermore that are going to be changes in the library logic that are also provoked by the separation and the new architecture of the Ontotext Refine.

The documentation should also:

point to https://platform.ontotext.com/ontorefine/ontorefine-cli.html (the old content is https://graphdb.ontotext.com/documentation/9.11/free/loading-data-using-ontorefine.html#ontorefine-cli and will be updated when the CLI is released in Sep)
state whether ontorefine-cli is built with this library
if the binary ontorefine-cli is also distributed from here, then it should repeat the CLI documentation


No Title available.  May not be able to find the JIRA.

Been using this for a while but just updated as the version I had been using didn't support threads (just posted to the channel not the tread).  That's working, but with the new version all messages posted by the bot have, following the message ID (correctly as a link to the issue) the text

No Title available.  May not be able to find the JIRA.

I want this to work for all projects, so I have only the default jira_url consifugred and a regex for projects:
var slackbot = require('./lib/bot');
var config = {

  showIssueDetails: true,
  showDetailsByDefault: true,//if true, you don't need the '+' to get details
  bot_name: "Jira",//Provide the name to post under
  token: 'REMOVED',
  jira_urls: {
    "DEFAULT": {
      url: "https://REMOVED/browse/"
    },
  },
  search_cmd: "search",
  //Since search results can be verbose, you may not want to muddy the channel
  search_output_chan: "this",//if the value is "this", then the current channel will be used, else the name of a channel
  projects: ["[A-Z][A-Z0-9_]*"],
  post: false,
  verbose: true,
  custom_texts: {
    messagePrefix: "" //message you might like to prefix to JiraBot's post
  },
  emoji: ":jira:",
  link_separator: ", ",// use \n if you want new lines
  error_channel: 'tools-debug' //the id of the channel to send low level log errors.  If not defined, will use the current channel
};

//DO NOT EDIT BELOW HERE
var slackbot = new slackbot.Bot(config);
slackbot.run();

I really just want the functionality I had: just posting the message ID as a link to the message but in threads as well as channels.  I could live with it adding the titles, but not this annoying message :)
The only thing I changed about the config when updating was to add the custom_texts block, since it wouldn't work without it.  is this a config issue or a bug?

I think I've found the issue here.  One was the new version needed a login (the old one didn't seem to) but I can solve that by giving a login to the default jira connection.  However, I had also missed the issueDetailsToShow in the config when updating - if that is missing you get null reference exceptions and it doesn't work at all.


VGTV issue

Hello. I am trying to download a video from vgtv.no, but it doesn't seem to work.
Here is the full output from the Terminal:
$ youtube-dl 'http://www.vgtv.no/#!/video/111559/foppall-97-jesper-mathisen/2'--verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.vgtv.no/#!/video/111559/foppall-97-jesper-mathisen/2', u'--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.04.28
[debug] Python version 2.7.2 - Darwin-12.6.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.5, ffprobe 2.5
[debug] Proxy map: {}
[VGTV] 2: Downloading media JSON
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 315, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1693, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 400, in open
response = meth(req, response)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 513, in http_response
'http', request, response, code, msg, hdrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 438, in error
return self._call_chain(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 372, in _call_chain
result = func(*args)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 521, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
I am using the newest version of youtube-dl, 2015.04.28. What could be wrong?
Thank you!

Will be fixed in the next version. Thanks for the report.

I hope I'm not breaking any rules by commenting on a closed issue, but I just wanted to say thank you! I upgraded today, and it is indeed fixed already and works like a charm! Thank you so much for excellent work! :-)
Also, is there anywhere we can request new sources? I would very much like to download from bt.no (e.g. http://www.bt.no/nyheter/lokalt/Kjemper-for-internatet-1788214.html).
Thank you again!! :-)

Open a new issue with add support request.


myjenkins: Rebase on jenkinsci/jenkins:2.13

Docker image released on Docker Hub on 2016-07-12

Fix via PR https://github.com/gmacario/easy-jenkins/pull/130


Investigate making SASI optional

In the "cassandra3" storage type (zipkin2_cassandra directory), SASI is used for resolving annotationQuery. SASI moves write amplification internal to cassandra, and substantially decreases write performance. Moreover, some environments do not yet support this (See #1770 for ScyllaDB). We don't want a scenario where people perpetually use the old cassandra storage type as it doubles our maintenance burden.
One thought is to make it possible to use the "cassandra3" type without SASI. In simplest scenario, this could imply no support for annotationQuery when that's the case. This might allow for partial support of ScyllaDB until it has a SASI option.
cc @openzipkin/cassandra

One idea is here is that one could simply and elegantly execute in cqlsh the following:
DROP INDEX zipkin2.traces_annotation_query_idx ;
DROP INDEX zipkin2.traces_l_service_idx ;

and annotation searches in the UI would silently fail (simply returning no result or a simple explanation that such searches have been disabled).
Dropping these indexes can improve write throughput ten or twenty fold. So it's not just about supporting ScyllaDB but also providing an expert mode for those that really want to push how many spans per second they are collecting (eg hundreds of thousands per second ++).


Scroll inside of each section

Hello,
Great project! I would like to know if right now there's a way to put a lot of text inside of it, and remove the CSS attributes overflow: hidden; , text-overflow: ellipsis; , word-break: break-word; and maybe adding a height to it.
Basic example (see the first one only, I changed the HTML in the demo):

Thank you.

The CSS attributes is added by you based on your design requirement, you can add any attribute to it based on your requirement and the component will adapt to it.

Got it, thank you again


what's the equation to calculate pred?

Hi @tqchen
Given
objective="rank:pairwise"
eta = 0.1
gamma = 1.0
min_child_weight = 6
max_depth = 15
num_round = 12
the prediction path:
booster 0,  (leaf= - 0.0294118)
booster 1,  (leaf= - 0.0653785)
booster 2,  (leaf= 0.00467433)
booster 3,  (leaf= - 0.0662226)
booster 4,  (leaf= 0.0507554)
booster 5,  (leaf= - 0.00177127)
booster 6,  (leaf= - 0.0475963)
booster 7,  (leaf= 0.0439532)
booster 8,  (leaf= - 0.0116887)
booster 9,  (leaf= - 0.0140529)
booster 10, (leaf= - 0.0523157)
booster 11, (leaf= - 0.0388263)
for pairwise ranking , the prediction value is 0.272119.
So ,could u introduce what's the equation to get the pred value from 12 trees?
And, any difference if for binary classification or ndcg ranking?
Many thanks !

@tqchen

It's a sum of leaf values plus bias, which is 0.5 here.

many thanks! @khotilov


Introduce issue templates

*Actually I see I've labeled feature requests as stories as well on the git, would be an improvement to split them up.

@PG85 updated according your notes.


Issue 1058 | Gateway: allow nested fields verification

Summary
Allow nested fields verification from auth API
Details and comments
Now if verification API has structure something like that
{
  "is_valid": true,
  "some": {
    "nested": {
      "field": true
    },
    "other": "bla"
  }
}

We can verify agains it with following settings:
"SETTINGS_TOKEN_AUTH_VERIFICATION_FIELD", "is_valid;some,nested,field"

Back compatible PR
Closes #1058

If we need to check for other too
"SETTINGS_TOKEN_AUTH_VERIFICATION_FIELD", "is_valid;some,nested,field;some,nested,other"


Allow reading project version from source control

I've promptly integrated setuptools_scm with flit to achieve the ability to keep a version in Git tag.
This is going to be used in python/core-workflow#286

Odd, build in my Travis CI account succeeded: https://travis-ci.com/webknjaz/flit/jobs/141478861.
Could you please try rerunning job for 3.4?

@takluyver ^^^

Nvmnd, triggered it myself. Ready for review.

I'm glad that you're interested in flit, and I appreciate that you've spent time and effort on this change. However, I'm not going to merge it.
Flit is not designed to support all the different ways people might want to do packaging; it's meant to make it easy and clear to do packaging in one way. That way includes setting the version number in __version__ inside the module. We often work on the assumption that more options is automatically better, but that's not what I aim for with Flit: it keeps things simple by having one way to do things.
One thing that came out of my work on Flit was a build system interface, defined in PEPs 518 and 517. This is meant to make it more practical for different package building tools to work with tools like pip. So if you want to create a tool that gets the version number from a VCS, it should be more feasible now than it was in the past. (If you do this, please name it so that it's clear it's not part of flit.)

What about having some hook for plugin in a custom method for version identification? How do change just one part without having to support full fork of flit?
In setuptools there's entry point hooks, for example, which allow other dists to register custom implementations of certain things.

Sorry, at the moment I have no plans for a plugin system, for basically the same reason.