Accessing an academic licence for OpenNEM

Hi there,
I work for Flinders University, and late last year I used Node-RED and OpenNEM on a brief project to dashboard real-time energy generation data from various fuel techs in South Australia.
There used to be a property from this get request (https://api.opennem.org.au/stats/power/network/fueltech/NEM/SA1) such as msg.payload.data[3].x_capacity_at_present, where we could see the energy generation/contribution capacity of that fueltech at the present time for the SA power grid.
I am now re-visiting this project with a new colleague and we are now working on a new dashboard project where we would like to see:

Real-time power usage of laboratory items in one of our industry 4.0 research laboratories and
Some real-time information on the South Australian energy grid (as done last year)

Both my colleague and I have filled out the linked form and also attempted to contact Dylan McConnell on a UNSW email we found a few weeks ago, but we haven't yet received a response.
So just reaching out to confirm how as academics we can obtain an OpenNEM license to access the same live data I was able to access from OpenNEM last year, or something equivalent from OpenNEM?

Hi @mann0117  - apologies for the delay in responding, we've been under resourced.
We had to restrict the data on the public API because we were being absolutely hammered with API requests from projects/crawlers/bots that were extracting entire history
v4 of the API will restore all of that access, and a lot more
If you've filled in the form i'll make sure we get you an API token (would you be interested in testing on dev?)
I'll keep this ticket open so we can ensure we onboard you correctly

Hey @nc9, thanks for getting back to me!
All good and understandable.
For my needs, I'm interested in being able to use the API for our research project, perhaps not for testing on dev though.
I will be away from work until mid-October, but I will still be interested in onboarding when I return if the v4 API is available by then.

If you've filled in the form you'll be receiving an invite in your inbox with a link within weeks :)


Include response to tenant commands

Closes #3926

Great job @MathijsVerbeeck
We'll review the PR ASAP!

Merged manually, thank you! 👏


LTR and RTL annotation for text

Hi,
The annotation tool works great, except the export never state if the start/end are starting from left or right of the text.
Example:
[
  {
    "text": "أجرت وزارة الصحة الإماراتية 123,037 فحصا ضمن خططها لتوسيع نطاق الفحوصات وتكشف عن 1,554 إصابة جديدة بفيروس ",
    "id": 3,
    "label": [
      {
        "start": 81,
        "end": 86,
        "text": "1,554",
        "labels": [
          "MISC"
        ]
      },
      {
        "start": 28,
        "end": 35,
        "text": "123,037",
        "labels": [
          "MISC"
        ]
      }
    ],
    "annotator": 1,
    "annotation_id": 4,
    "created_at": "2022-07-12T15:42:19.445022Z",
    "updated_at": "2022-07-12T16:05:29.738373Z",
    "lead_time": 104.119
  },
  {
    "text": "Donald Trump enters the white house",
    "id": 1,
    "label": [
      {
        "start": 0,
        "end": 12,
        "text": "Donald Trump",
        "labels": [
          "PER"
        ]
      },
      {
        "start": 24,
        "end": 35,
        "text": "white house",
        "labels": [
          "LOC"
        ]
      }
    ],
    "annotator": 1,
    "annotation_id": 3,
    "created_at": "2022-07-12T15:32:52.517225Z",
    "updated_at": "2022-07-12T15:32:52.517383Z",
    "lead_time": 5.122
  }

The first assume RTL, while the second is LTR (and count accordingly), and the export never state in which direction you're supposed to read the start/end position of entities.

Similar problems: https://github.com/heartexlabs/label-studio/issues/1888


Connection icon of a present signal not disappear after disconnecting that signal

Tested versions
Godot v4.3.beta (5241d30bf)
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; <IP_ADDRESS>68) - 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz (16 Threads)
Issue description
The connection icon that shows the connection of a function in script panel seems will not disappear after the signal is disconnected and there is nothing connected to that function.
See the video below:
https://github.com/godotengine/godot/assets/8315986/b76db307-d1ec-4983-b9b9-74649d920765
Steps to reproduce

make a new node and a script with a normal function
connect a signal of that node to the function
keep script panel open, disconnect the signal from inspector
see the connection icon is still present, if you close the script panel and reopen again, it disappears

Minimal reproduction project (MRP)
N/A

I found a similar issue, except with custom signals. Not sure if I should create a separate issue.
After creating a custom signal, connecting it, then detaching the script from the node, the signal connection icon remains.
Steps to reproduce:

Create a node and attach / create a script
Add the line signal custom
Connect the custom signal to another (or the same) node
Detach the script from the node with the custom signal
The signal icon remains, despite the node tab showing no signals

Expected behavior:

When the script is detached, any custom signals are also disconnected

Other notes:

When re-attaching the same script, the signals appear connected as if the script was never detached
Reloading (closing and opening the scene) after detaching the script does disconnect the signals, though the script panel still shows the "Connections to method" icon, and clicking it opens the dialog box showing no methods (as seen in the video above)

Reloading (closing and opening) the script in the editor makes the "Connections to method" icon disappear


feat: integrate version 0.24.0 of the safe-ds Python library

Summary of Changes
Integration version 0.24.0 of the safe-ds Python library (release notes).

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

npm package (@latest dist-tag)
npm package (@latest dist-tag)
v0.15.0
GitHub release

Your semantic-release bot :package::rocket:


Update utils.py

Fixes #2614

@aphelionz +1 merge when build finishes with success.

Thanks @pkdash

Build finished.


Profile added.

@Josev47  thnx for contributing , try this year aswell with updated repo and make sure to follow me and star this repo so that you don't miss updates regarding the new changes and issues during Hacktoberfest 2020.


decode error

event: message
data: " <<<å¥"
event: message
data: " \u003c\u003c\u003c句"
event: message
data: "å
event: message
data: "子"
event: message
data: "ç»æ
event: message
data: "结束"
event: message
data: "ä¸"
event: message
data: "专"
event: message
data: "ç¨"
event: message
data: "用"
event: message
data: "æ "
event: message
data: "标"
event: message
data: "è®°"
event: message
data: "记"
event: message
data: ">>"
event: message
data: "\u003e\u003e"
event: message
data: ">"
"
event: message
data: "\u003e"\n"

Firstly please make sure you are using UTF-8 encoding. Some libraries may implement some auto detect mechanisms which may recognize it as other encoding. If the issue persists after forcing UTF-8 encoding, please provide steps to replicate the bug.


Redherring v2

I put together a v2 using pi pico, intended to reduce costs and build complexity. (Largely based on my experience building the current version).
I had to use a 9x10 grid due to the pin limitations on the pico - so smooshing 16x6 into 9x10 made the pcb routing ugly.
Would you be interested in adding this to the main repo as a V2? If not, I'd be happy to further mangle it and spin it out as a separate project. I removed the herringbone patterns that were prominent in v1, so it would kinda make sense to split this into a different project - or maybe add non-functional diode/herringbone embelishments?
I'd like to get your input before i send out a test board for production.
I'm not 100% on the RGB and solenoid power config, I still have to do some math/reading the docs there.
Here's a brief overview of what's changed and why:
https://github.com/JellyTitan/redherring/pull/new/redherring_v2

Thanks!
It totally makes sense to present it as a variant, as opposed to a V2.
I'll rebrand it and resubmit in a few weeks after I validate the prototype.


Fixes #985

Problem:
Pool Members were suffering from the same issue with state/session setting, as described in #840
Analysis:
This PR brings the user experience of pool members in line with that of nodes. Minor adjustments made to node.py to add some defaults to prevent key errors raising during attribute pop
Tests:
Functional
Flake8

@tar please review and merge


AcrylycBrush FallbackColor Warning

I have warning when I use Microsoft.UI.Xaml.Media.AcrilicBrush:
 <winui:AcrylicBrush TintColor="{ThemeResource PopupsBackgroundColor}" FallbackColor="#d8000000" BackgroundSource="Backdrop" TintOpacity="0.5"/>
The property ‘FallbackColor’ on type ‘AcrylicBrush’ is not available in the target platform minimum version (10.0.14393.0) supported by this project.
Is this suppose to work this way?

Yes, unfortunately that is a limitation of the FallbackColor property.


Redirect follow mf2 rendered pages to follower profiles

I'm seeing webmentions from activity Bridgy Fed is handling. However I'm struggling to understand what the activity was. I think I've seen some discussion of the confusing URLs from Mastodon but I'm not sure how to translate it to see what was the activity that happened.
The mention shows up as:

fed.brid.gy mentioned / ()
https://fed.brid.gy/render?source=https%3A%2F%2Ftoot.cafe%2F7d9f6700-754e-4596-af3f-3f55768c9764&target=https%3A%2F%2Fwww.ciccarello.me%2F mentioned https://www.ciccarello.me/

The linked URL references my toot.cafe account but has a http-equiv="refresh" to go to the mastodon activity permalink (which I think doesn't actually exist). However I don't see any activity on https://fed.brid.gy/user/ciccarello.me and I don't think I made any explicit interactions.
What was this interaction that bridgy fed is sending a webmention about? Is it a delivery notification? Is there some way to make the webmention more helpful or perhaps not send a webmention at all?

Looks like this was the follow from<EMAIL_ADDRESS>You're right, the redirect target isn't browser-visible, but I think the mf2 on the BF page is correct, it has u-follow-of https://www.ciccarello.me/ and an actor with the profile info from https://toot.cafe/@aciccarello.
It's possible there's another www/no-www bug here, maybe in BF's mf2 rendering, I'll take a look. I resent this one manually to no-www after BF originally (incorrectly) handled it for www, so it may just be that. Will see.

Ah, I see the u-follow-of now. Thanks for helping me understand. Maybe I would be better off plugging the URL into a microformats parser when I am looking at those. I also think the timing of you manually triggering the mention also threw me off. 😁
I wonder if activities without an actual target shouldn't have the http-equiv="refresh"

Maybe! Or I should just always find a reasonable, human-visible URL to redirect to, maybe the follower profile in this case.

Done!


Ubuntu Touch Support

Is there a way develop apps with compose for Ubuntu Touch devices that is using .click package? It would be great.

Touch support for desktop platforms will be added as a separate feature in the future. You can follow this issue

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


[BBU] Subscription Procurement Process

Problem/Concern
We need a website (form) whereby a Subscriber can procure additional entitlements.
Proposed Solution

Collaborate with Linux Foundation on this process.
Update fee_schedule.md file with solution link.

We need to setup a design meeting with @tbenzies at LF.


added 2 spaces to make a line

These small PR's are becoming annoying (I like the enthusiasm) but can we try make one larger PR with lots of small grammar / styling fixes
:+1:

@MarshallOfSound i would but these 2 fixes are on different branches, master and website

I know, I'm just saying please make sure that there isn't going to be "just one more" after this :+1:
Go through a thourough check now if this is what you are doing


fix(react): pass data- and aria-attributes to React component (#25)

Dear Ionic team!
I'm really amazed by you StencilJS and this react-output-target helper! But it seems that it misses some important bit. A generated component doesn't pass down data- and aria- attributes.
It would be great if you'll take a look on this PR.
Thank you 🙏

Yeah, I think you are totally right. And even more, I found this name attachEventProps a bit confusing. It makes more than attaching only events, it attaches all the props, but also syncs events. Maybe it would be better to split this function to two separate.

Agreed on the name; it's doing more than that. Essentially those two spots are partitioning the props into those that are passed down as html attributes (during render, currently only the event handlers that React magic covers), and those that are assigned to the DOM node directly (during attachEventProps). Without the check being mutually exclusive, it will do both. This could potentially fire @Watch events twice (though this shouldn't happen in practice, since data attributes should always be strings).
I'm actually a little surprised that it doesn't pass other props that have known attribute names down as attributes as well, but that's beyond the scope of this issue.

Hey, I'm interested in getting this PR merged. Let me know if there's anything I can do to help. Thanks!

Oh, I'm glad to hear it!
I'm going to implement Eric's suggestion today or maybe tomorrow.

Looks good, Thanks!

@jthoms1 or @adamdbradley Could you make a new @stencil/react-output-target release? Thanks!


Marker checks

Checks to run on submitted marker files #56

Looks good.  We should probably turn off marker validation in CI until Brian is ready to submit a new file, otherwise the failure will obscure other problems identified by CI.


Enhanced search function

Expect search to increase support for comment columns

Thank you for the idea

Thank you for the idea

Implemented.

Verified with nuances:
_ % * ? ^ + ( )  cannot be found via this search field.


Translating Objectdata from a Service

Im trying to figure out how to declare translations for my object data from a service.
I could provide a key/value pair for each language, but then id have to filter my data in the controller..
My current approach is to just store the constant name as a string and then in my view get the translation from my predefined translation constants. however that is not working, here is my data:
$localStorage.myData = [{
			ID:				1,
			title:			'ID1_TITLE',
			description:	'ID1_DESC',
			imgFolder:		'img',
	}, {
			ID:				2,
			title:			'ID2_TITLE',
			description:	'ID2_DESC',
			imgFolder:		'img',
            }];

and my view:

{{ '{{element.title}}' | translate }}
{{ '{{element.description}}' | translate }}

Is this even possible? maybe there is even a simpler cleaner way of doing this?

Is  ```html
{{ element.title | translate }}
{{ element.description | translate }}
```
not working for you ? :)

right.. dont know what drove me there :-)


Expand signature validation with the output of the signature together…

Philip has decoded the token and has added already the signature verification last week. But the output of the signature together with the signature validation was missing. That will be done with this Pull Request to close #11.
Signed-off-by: Sarah Julia Kriesch<EMAIL_ADDRESS>

Anyway Jose says, that it does not know JWSObject, jose.JWS and other (should implemented inferfaces and utilities). Can you help me to fix this last issue in the line?


Port kdl_parser_py to ROS 2

I am not sure if this is still relevant... I missed that there is already a pull request (#48) for issue #46.
However, I already did the work, and I am happy to help ;-)
On my systems I did not get flake8 to run an exception  is thrown, which I was not able to figure out.
The changes done were mainly to adopt ament_python package. In addition, Python is not happy with kdl.Joint.None, I changed it to kdl.Joint.JointType(8)). I guess the KDL bindings for Python might need to be updated, since None  might be reserved in Python.

This is all currently blocked by https://github.com/ros2/orocos_kinematics_dynamics/pull/19 .  If you'd like to see some version of this get in, unblocking that one (particularly on macOS and Windows) would be most appreciated.

First, thanks for this.  Now that we actually have PyKDL, this can potentially move forward again.  Towards that end, I've retargeted to the ros2 branch, rebased it, and cleaned it up a bit.
That said, the problem I'm currently running into while testing this is that import urdf_parser_py.urdf doesn't seem to work on my system.  At the moment I don't quite remember where that comes from, but we may have to port that over as well to get this working.  I'll take a closer look tomorrow.

Oh, I see.  The problem now is that we don't have urdf_parser_py as part of the base system in https://github.com/ros2/ros2/blob/master/ros2.repos .  We'd have to add that to the ros2.repos list to finish this port.  We'll have to think about whether we really want to do that, so this is still on hold for that.

I think it would be worth restarting the CI Job once again. I think it failed because this commit: https://github.com/ros/rosdistro/commit/5cf620a15eea3811952da033035a15d2a8aabc62 was only "released" on April 22th but the CI Job is from April 07th.

It currently can't possibly work; see my comment #55 (comment)

Sorry I am not fully getting that comment. Would there be any downside just depending on urdf_parser_py?
I am not too deep into this topic, but it seems that this is released: https://index.ros.org/p/urdfdom_py/
https://github.com/ros2-gbp/urdfdom_py-release
Or is the problem that kdl_parser is in the ros2.repos list? In that case would it make sense to split the packages into two repos?

Or is the problem that kdl_parser is in the ros2.repos list?

The main problem is that urdf_parser_py is not in the ros2.repos file.  Because of that, this can't currently pass our CI.
We could import it into ros2.repos, but we are nearing 400 packages in that already.  I'm reluctant to add more, since every single one we add becomes release-critical.
So I'm not sure what to do here.

I think the only way to move forward is by adding urdf_parser_py to the ros2.repos.

Any updates on this?


Automated Testing

Fix issues raised on the Automated Testing PR
Document the AbstractIntegrationTest so that we know it serves as a base class for integration tests as it provides database setup.
Add TestCustomUserDetailsService to handle test specific authorisation.
Remove test property file as it is no longer needed because we removed test authorisation logic from production code.
Remove UserDaoImplTest as it heavily depend on mocks on jdbc template and sql queries, we better test this with integration tests

:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)


Updating source tests to use dotnet 2.0 IS specifically

Signed-off-by: Mohammed Zeeshan Ahmed<EMAIL_ADDRESS>What is the purpose of this change? What does it change?

This PR updates dotnet to use 2.0 specifically
How to test changes?

Run  make test-source-e2e  on OpenSHift 4.0 cluster and  on 3.x cluster

:white_check_mark: odo build 2125 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/b85214e531 by @mohammedzee1000)

:white_check_mark: odo build 2127 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/8a0987f410 by @mohammedzee1000)

Run OPENSHIFT_VERSION="4.0" make test-source-e2e on OpenSHift 4.0 cluster and without env on 3.x cluster

Would it be possible to set version of the dotnet builder image instead?
I think that it will be better if we have the same set of the tests on all OpenShift versions.
/hold

Run OPENSHIFT_VERSION="4.0" make test-source-e2e on OpenSHift 4.0 cluster and without env on 3.x cluster

Would it be possible to set version of the dotnet builder image instead?
I think that it will be better if we have the same set of the tests on all OpenShift versions.
/hold

@kadel Can you please give an example

:white_check_mark: odo build 2128 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/9f4ae498d0 by @mohammedzee1000)

@kadel I have tested solution of adding tag latest like odo create dotnet:latest dotnet-app --local " + sourceExamples + "/dotnet/ directly in the test file and it did not work.

:white_check_mark: odo build 2129 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/43a1d008e1 by @mohammedzee1000)

/hold cancel
/lgtm

flake
/test e2e-core

/test e2e-core

Need 2nd approval too to get in :)

/lgtm

Github approval :)

/hold
second approval needed

/refresh

/hold cancel

/refresh


Register Jackson Modules inside ModelManager

As a preparation to move all Jackson Modules to embulk-deps, registering all Jackson Modules inside org.embulk.config.ModelManager to have references in a closed loop.

Thanks!


[FeatureRequest] Option to set model callback at any time

Hi,
Right now you can only set callback when compiling model. Can you add option to set callback independently to compilation? Alternatively maybe fit method could accept callback?
My case:
I have a kfold evaluation method which accepts already compiled Functional model as a parameter. During fit I want to analyse whether to stop early due to overfitting. In order to do that I need to analyse model callbacks. It would be great if I could set my callback inside my kfold evaluation method on already compiled model.

Let's discuss your proposal and how it can be implemented in your application.
Do you need 1 callback per model or do you need a few callbacks per model?
Do you want to use different callbacks: for the training and evaluation phase or probably for the prediction phase?
What if the existing Callback field will be converted from protected to public, does it solve the existing problem?

@rychuelektryk could you please comment on this thread?

Hi @zaleslaw , and sorry for late response
I think that from architectural point of view passing callback at compile stage is at least inconvenient. Model compilation can be located in very different place in code than fit/predict/evaluate. The need for listening for fit/predict/evaluate events probably emerges somewhere around calls to fit/predict/evaluate methods and I feel that it would be most natural to pass dedicated callbacks(FitCallback, PredictCallback, EvaluateCallback) as last parameter to invocation of those methods. So in this approach there would be one callback per invocation.

So, I don't see any objection to applying this principle of different callbacks after compilation, it's interesting to see how the KFold is implemented with KotlinDL and probably it will be added in the future release of KotlinDL in the next few months (and probably will be available in early alpha versions of the framework)
I'll fix this issue and hope to get a feedback from you about implementation


Introduce kani-verifier: proxy binaries

Description of changes:
Adds the kani-verifier crate. This contains "proxy" binaries: kani and cargo-kani.
These will attempt to download a release from github, but since one of those doesn't exist yet, it can currently be given a special --use-local-bundle <bundle> flag instead.
Resolved issues:
Resolves #944
Call-outs:

Temporarily, we're keeping kani-verifier not part of the main workspace. This is because we have two binaries named cargo-kani. I'll follow up with a PR that renames src/cargo-kani to src/kani-driver and then this conflict will be resolved.
The Dockerfile is now simple! Yay!
I have hardcoded dependency versions in the proxy binaries. So these versions are scattered around. We need to come up with a solution so there's a single source of truth here. :(

Testing:

How is this change tested? The Dockerfile

Is this a refactor change? No

Checklist

[x] Each commit message has a non-empty body, explaining why the change was made
[x] Methods or procedures are documented
[x] Regression or unit tests are included, or existing tests cover the modified code
[x] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

I was also wondering if we should add any sort of hash check against the bundle to make sure we're downloading the correct file.

I agree we should, but I need to nail down the release process to figure out if we can, exactly. Probably, but it will entail making a release bundle and then making a commit to update the hash, so it's a bit awkward ("This is 1.0! Release it! Then add a commit and tag THAT as 1.0 and push to crates.io!")

Here are some examples of the output we get now.
Successful log:
[0/6] Running Kani first-time setup...
[1/6] Ensuring the existence of: /root/.kani
[2/6] Installing local Kani bundle: /tmp/kani/kani-latest-x86_64-unknown-linux-gnu.tar.gz
[3/6] Installing rust toolchain version: nightly-2022-03-23-x86_64-unknown-linux-gnu
info: syncing channel updates for 'nightly-2022-03-23-x86_64-unknown-linux-gnu'
info: latest update on 2022-03-23, rust version 1.61.0-nightly (5f3700105 2022-03-22)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'

  nightly-2022-03-23-x86_64-unknown-linux-gnu installed - rustc 1.61.0-nightly (5f3700105 2022-03-22)

info: checking for self-updates
[4/6] Installing Kani python dependencies...
Collecting cbmc-viewer==2.11
  Downloading cbmc_viewer-2.11-py3-none-any.whl (80 kB)
Collecting voluptuous
  Downloading voluptuous-0.13.1-py3-none-any.whl (29 kB)
Collecting jinja2
  Downloading Jinja2-3.1.1-py3-none-any.whl (132 kB)
Collecting setuptools
  Downloading setuptools-62.1.0-py3-none-any.whl (1.1 MB)
Collecting MarkupSafe>=2.0
  Downloading MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Installing collected packages: voluptuous, MarkupSafe, jinja2, setuptools, cbmc-viewer
Successfully installed MarkupSafe-2.1.1 cbmc-viewer-2.11 jinja2-3.1.1 setuptools-62.1.0 voluptuous-0.13.1
Collecting colorama==0.4.3
  Downloading colorama-0.4.3-py2.py3-none-any.whl (15 kB)
Installing collected packages: colorama
Successfully installed colorama-0.4.3
[5/6] Building Kani library prelude...
   Compiling kani_macros v0.1.0 (/root/.kani/kani-0.1.0/library/kani_macros)
   Compiling kani v0.1.0 (/root/.kani/kani-0.1.0/library/kani)
    Finished dev [unoptimized + debuginfo] target(s) in 0.82s
    Finished dev [unoptimized + debuginfo] target(s) in 0.00s
   Compiling std v0.1.0 (/root/.kani/kani-0.1.0/library/std)
    Finished dev [unoptimized + debuginfo] target(s) in 0.09s
[6/6] Successfully completed Kani first-time setup.

Failed to download:
[0/6] Running Kani first-time setup...
[1/6] Ensuring the existence of: /root/.kani
[2/6] Downloading Kani release bundle: kani-0.1.0-x86_64-unknown-linux-gnu.tar.gz
curl: (22) The requested URL returned error: 404
Error: Failed command: curl -sSLf -o /root/.kani/kani-0.1.0-x86_64-unknown-linux-gnu.tar.gz https://github.com/model-checking/kani/releases/download/kani-0.1.0/kani-0.1.0-x86_64-unknown-linux-gnu.tar.gz

Forgot to create the Kani base directory:
[0/6] Running Kani first-time setup...
[1/6] Ensuring the existence of: /root/.kani
[2/6] Installing local Kani bundle: /tmp/kani/kani-latest-x86_64-unknown-linux-gnu.tar.gz
Error: Internal failure before invoking command: tar zxf /tmp/kani/kani-latest-x86_64-unknown-linux-gnu.tar.gz

Caused by:
    No such file or directory (os error 2)

(The above is a bit confusing because it's caused by the current_dir not existing in a command. But at least this tells us which command failed to run which should point us, if not the customers, to the problem.)
rust-toolchain didn't exist in the bundle:
[0/6] Running Kani first-time setup...
[1/6] Ensuring the existence of: /root/.kani
[2/6] Installing local Kani bundle: /tmp/kani/kani-latest-x86_64-unknown-linux-gnu.tar.gz
Error: Reading release bundle rust-toolchain

Caused by:
    No such file or directory (os error 2)

Python package didn't exist:
[0/6] Running Kani first-time setup...
[1/6] Ensuring the existence of: /root/.kani
[2/6] Installing local Kani bundle: /tmp/kani/kani-latest-x86_64-unknown-linux-gnu.tar.gz
[3/6] Installing rust toolchain version: nightly-2022-03-23-x86_64-unknown-linux-gnu
info: syncing channel updates for 'nightly-2022-03-23-x86_64-unknown-linux-gnu'
info: latest update on 2022-03-23, rust version 1.61.0-nightly (5f3700105 2022-03-22)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'

  nightly-2022-03-23-x86_64-unknown-linux-gnu installed - rustc 1.61.0-nightly (5f3700105 2022-03-22)

info: checking for self-updates
[4/6] Installing Kani python dependencies...
ERROR: Could not find a version that satisfies the requirement asdfasdfcbmc-viewer==2.11 (from versions: none)
ERROR: No matching distribution found for asdfasdfcbmc-viewer==2.11
Error: Failed command: python3 -m pip install asdfasdfcbmc-viewer==2.11 --target /root/.kani/kani-0.1.0/pyroot

We should add a license note


Allow pinning of views (aka favorite views)

What would you like to be added:
When having a lot of different contexts to watch, and especially during development, it is sometimes required to jump between different views.
My suggestion is to have the following 2 features:

Define for each cluster a "Favorites" view, that each page can be pinned to. For example:

Pods, Nodes, Events, and several custom resources

Be able to set the favorites either locally (for specific context) or globally by adding a mark "for all clusters"

Why is this needed:
Sometimes navigating back and forth between resources located in a very distant places might be very disappointing.
For example, having a few clusters connected, switching from Workloads>Pods to CRD starting with w... is frustrating.
Environment you are Lens application on:

Kubernetes distribution: [EKS, AKS, GKE, Rancher, ...] ANY
Desktop OS:  MacOS

Hello sergeyberezansky,
Thank you for reaching out to Lens GitHub!
We're working on bringing this function back.
Best Regards,
Tikhon Kudinov
Lens Support Engineer
Mirantis, Inc


Working with all lowercase dataset

Thanks for the wonderful work here!
I have some text files and want to extract NE from them by running nerTagger.py . However, my files contain all lowercase characters and of course, I can't get any NE result.
For instance:

[Normal sentence]: I live in New York.
Output:

...
"text": "I live in New York.",
"entities": [
                {
                    "text": "New York",
                    "class": "LOC",
                    "score": 1.0,
                    "beginOffset": 10,
                    "endOffset": 17
                },
            ]
...

[Lowercase sentence]: i live in new york.
Output:

...
"text": "i live in new york.",
"entities": []
...

Expected:
...
"text": "i live in new york.",
"entities": [
                {
                    "text": "new york",
                    "class": "LOC",
                    "score": 1.0,
                    "beginOffset": 10,
                    "endOffset": 17
                },
            ]
...

Therefore, should we develop a caseless NER model?

Hi @Protossnam and thanks!
That's a very good point, I will prepare some uncased models for NER (with the uncased embedding data).

@kermitt2 Hi there, friend! I've tried to configure and use another glove uncased word embedding - the glove.42B.300d.txt (which is downloaded from https://nlp.stanford.edu/projects/glove/ and unzipped the glove.42B.300d.zip). I also trained an uncased model but the performance is not so good. I can attach the lowercase file and the output json here for you as well ;) Keep it up your wonderful work!
English-test-noise_niveau_0-SS.txt (This is the lowercase text for NER)
Noise0SS.txt (Result/Output JSON file from Bi-LSTM_CNN_CRF with uncased embedding.)
Notes: Github doesn't allow me to upload .json file so you can change the file extension from .txt to .json

@kermitt2 Oh, I didn't config my nerTagger.py file correctly :D I changed the 'train' code, however I used 'train_eval' option. I corrected my mistake (change the dataset in 'train_eval' and 'tag' to calculate F1-score). Voila, here is the output.
Noise0SS.txt
Notes: Github doesn't allow me to upload .json file so you can change the file extension from .txt to .json

@Protossnam results are excellent, great ! I was not expecting such good results with lowercase.
I've only downloaded the uncased embeddings, but I have not yet started to do some training or to adapt the code. I was thinking simply adding a parameter --uncased to the command line, then set correctly the parameter, and extend the model name with -uncased to distinguish it from the other models.
There is no ELMo uncased model unfortunately, so it will not be possible to exploit it for caseless text I think. However, there are BERT uncased models - I am adding the support of BERT currently and the base model is already quite good.
Thanks a lot for the news and the 3 train/dev/test files.


Generate accessibility identifier for XCUITests

Just starting to play with XCUITests, so I may miss something 😬
In order to get a label from a xib / storyboard, there's two ways:

Set an accessibility identifier, then use app.staticTexts["myIdentifier"]
Directly use app.staticTexts["My label text"]

I definitely prefer the first case, but it's quiet annoying to have hard coding string, or to handle manually a constant file containing all the identifiers. Since it's close of SwiftGen's goal, is that a potential feature that can fit the project?

I think this is a duplicate of #69?

My bad, I miss it!


Fix error for using vineyard-graph-loader with multi-workers.

What do these changes do?
Fix the wrong result when using  vineyard-graph-loader incrementally with multi-workers.
Related issue number

Fixes #1602

Thanks for debugging and fixing! Could you please format the code to conform to the CI requirement?

Thanks for debugging and fixing! Could you please format the code to conform to the CI requirement?

I haven't solve this issue completely. I will format the code after that. Thanks for reminding!

@siyuan0322  would you mind to help me review the code.


Added missing clusterrole rules for helm

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #924
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

can you automate this?
Maybe we can rename this file https://github.com/kubernetes-sigs/kueue/blob/main/hack/update-helm-crd.sh to just update-helm.sh
/ok-to-test


throw exception when creating scramble on empty table

Related Issue #351
VerdictDB will throw exception if empty table is used to create scramble. I do this by checking totalBlockSize in ScrambleNode.createQuery(). If totalBlockSize==0, it is equivalent to say the table size is 0.

Codecov Report

Merging #353 into master will increase coverage by 0.21%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #353      +/-   ##
==========================================
+ Coverage   71.02%   71.22%   +0.21%
==========================================
  Files         168      168
  Lines       11492    11487       -5
  Branches     1874     1874
==========================================
+ Hits         8161     8181      +20
+ Misses       2849     2833      -16
+ Partials      482      473       -9

Impacted Files
Coverage Δ

.../org/verdictdb/core/scrambling/ScramblingNode.java
94.32% <100%> (+0.14%)
:arrow_up:

...ava/org/verdictdb/connection/SparkQueryResult.java
55.36% <0%> (-3.96%)
:arrow_down:

.../verdictdb/core/execplan/ExecutableNodeRunner.java
83.7% <0%> (-3.43%)
:arrow_down:

...main/java/org/verdictdb/sqlsyntax/MysqlSyntax.java
85.3% <0%> (-2.94%)
:arrow_down:

...ain/java/org/verdictdb/commons/DBTablePrinter.java
53.8% <0%> (-1.37%)
:arrow_down:

.../core/scrambling/FastConvergeScramblingMethod.java
91.91% <0%> (-0.57%)
:arrow_down:

...a/org/verdictdb/jdbc41/VerdictStreamResultSet.java
8.29% <0%> (-0.26%)
:arrow_down:

...java/org/verdictdb/connection/JdbcQueryResult.java
96.25% <0%> (-0.13%)
:arrow_down:

.../java/org/verdictdb/commons/DataTypeConverter.java
98.88% <0%> (-0.01%)
:arrow_down:

...verdictdb/core/querying/ola/InMemoryAggregate.java
84.79% <0%> (ø)
:arrow_up:

... and 16 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 e66a96a...4a65810. Read the comment docs.

I first thought we had to use different method for determining an empty table as opposed checking the size of the table, but I guess if it is an empty table, SELECT COUNT(*) will run quickly anyway so it seems fine to do it this way.


SKY130 resistors do not cause thermal noise in ngspice

See https://sourceforge.net/p/ngspice/bugs/614
By default, ngspice does not simulate thermal noise for behavioral resistors, which are used in the SKY130 model files. Thermal noise can be enabled by adding the parameter noisy=1 to the respective resistors. This behavior is described in the ngspice manual, chapter 3.3.4.
As proper thermal noise modelling of resistors is essential for analog/mixed-signal circuit design, please patch the model files accordingly.

Which resistor models does this affect?

At least res_high_po, res_high_po_[0p35|0.69|1p41|2p85|5p73], res_xhigh_po, res_xhigh_po_[0p35|0p69|1p41|2p85|5p73]. Maybe more.

I fixed this on my end, see https://github.com/iic-jku/iic-osic-tools/commit/beaaa438b7d4b58b165106e8153fd94edb20187b.
It would still be good to add the noisy=1 flag to behavioural resistors in the SKY130 model files.


Fix to add support for calculating number of downloads from configurator

This PR handles requests from Configurator devices.
Adds them to the AC2Log list and totals them at the end in the summary.

LGTM. Merging.


Implement Notification Service

Service to provide UI notifications of the following types:

info
warn
error

Per @tomastrajan  suggestion https://github.com/tomastrajan/angular-ngrx-material-starter/pull/360#discussion_r221825600
Should be done after #321 is closed.

@hhubik thank you for creating this!
Extra info: should be created in CoreModule.

I'll do this one now.


chore: save animate header

Introduce Animations in the header of the application.
https://www.loom.com/share/e9aab07fe5ea4e81908622eab6069080

looks good to me!


decentralised monitoring

i.e. get providers to monitor each other, can discover each other via the contract. This ties in nicely with auditing


md-select multiple support

feature request:
Is there support for multiple selection in md-select?

@jmiguelherazo Not yet, look here  for all current features. The same applies to all other components.
But I'd also like to see multiple selection in the future.

+1'ing this to note we need multiple select for our project.
AngularJS Material supported it (see "Option Groups"): https://material.angularjs.org/latest/demo/select
If Material 2 isn't going to add it soon, are there any alternatives to consider?

@pdavin I need it for a project I am working on as well. This would be a great addition to have!

Has this been documented? Could not find this in documentation, or is it just me?

I also couldn't find documentation and support. Looks like this feature is not offered yet. As a workaround we can use this http://softsimon.github.io/angular-2-dropdown-multiselect/#

It has been supported for a while now. You have to add the multiple attribute to your md-select. You can see the multiple property in the API documentation: https://material.angular.io/components/select/api

Just for somebody new to angular, please use this example: https://angular-material2-issue-wak6cs.stackblitz.io


WikiPlugin does not open quest guides

Describe the bug
Right clicking a quest in the quest guide gives the options to open a (quick-) quest guide from the wiki in the browser. Neither option works.
To Reproduce (for me)
Steps to reproduce the behavior:

Open quest list
Rightclick any quest
Choose Guide: .. or Quick-guide: ..
A chat message appears that a guide has been opened but nothing happens.

Expected behavior
The quest guide from the osrs wiki should open in the browser
Environment (please complete the following information):

OS: ArchLinux 5.8.10-arch1-1
RuneLite version: 1.6.27, 1.6.28-SNAPSHOT
Launcher version: 2.1.3
Java (native): openjdk version "14.0.2" 2020-07-14, and whatever is included in the AppImage

Additional context
The test at https://github.com/runelite/runelite/blob/273ebdeebf7f5c63a5fe43aef7f199926d3d4e79/runelite-client/src/main/java/net/runelite/client/plugins/wiki/WikiPlugin.java#L341 fails. I found that ev.getMenuAction() equals MenuAction.CC_OP. Changing this makes it work.

I can't reproduce this. Both the Guide and Quick-guide menu options work fine on release for me.

It was mentioned in Discord that the default client asks to copy and paste the URL manually. This occurs because Java on Linux dynamically loads GTK to have it actually handle opening the link. RuneLite itself then falls back to xdg-open if this first GTK call fails (I think Adam implied that this specific button on the UI is a vanilla interface and thus might not be covered by the xdg-open fallback, but I don't play the game so correct me if I'm wrong.)
In Ubuntu, the relevant package for the library with the GTK function needed ends up being GVFS. I'm not sure what the Arch equivilent would be, but this is why the vanilla/upstream client fails. I get the impression that this is what's happening in this specific instance too.

This is a vanilla feature, not ours. The package is gvfs on arch too. Vanilla doesn't fallback to xdg-open, it only uses java.awt.Desktop


Fix: null check entity repository

1. Why is this change necessary?
Otherwise if one uses a custom repository it will fail, if the EntityLoadedEventFactory has not been injected.
2. What does this change do, exactly?
Fix the null check.
3. Describe each step to reproduce the issue or behaviour.
Create a custom repository and do not inject the Shopware\Core\Framework\DataAbstractionLayer\Event\EntityLoadedEventFactory.
4. Please link to the relevant issues (if any).
-
5. Checklist

[x] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hey,
I have imported the pull request manually internal and will process it https://issues.shopware.com/issues/NEXT-17497


Issue with cat command

I create a dummy folder on my drive and test drive cat  command on that folder. Terminal show error
googleapiclient.errors.HttpError: <HttpError 403 when requesting https://www.googleapis.com/drive/v3/files/1f5Lhttb1ZdA8fuOxlZo48A-_hZDnu8_w/export?mimeType=application%2Fmsword&alt=media returned "Export only supports Google Docs."

I select doc  as the export type, the error still persists.

@raghav-dalmia
The cat functionality is meant for checking the contents in a file not a folder.
It is similar to cat command of linux so try cat for files and you'll get the contents of it.


[HouseKeeping] More headroom with MAX_ADDITIONAL_OUTPUTS_BY_TYPE

Set the default to 20 instead of 5. It won't take a lot longer during startup

Available in 2022-12-24


Some function definitions get omitted

Puzzling one :S
% cat /tmp/test.evs
env bug {
	def one(/* nothing */);
	def two(/* nothing also */);
}
% target/release/evscript -o /dev/stdout /tmp/test.evs
def __EVSCRIPT_FILE__ equs "/tmp/test.evs"
def bug@one equ 0
% cat /tmp/test.evs
env bug {
	def one();
	def two(/* nothing also */);
}
% target/release/evscript -o /dev/stdout /tmp/test.evs
def __EVSCRIPT_FILE__ equs "/tmp/test.evs"
def bug@one equ 0
def bug@two equ 1
% cat /tmp/test.evs
env bug {
	def one(/* nothing */);
	def two();
}
% target/release/evscript -o /dev/stdout /tmp/test.evs
def __EVSCRIPT_FILE__ equs "/tmp/test.evs"
def bug@one equ 0
def bug@two equ 1

More testing suggests that the problem is that block comments are over-greedy, and gobble */); def two(/* nothing also!


clean up secret generators

Clean up content about secretGenerators (related to PR #17642).
Started content cleanup (capitalization, clarity).
This page is quite dense. In the future, possibly split up page.

@mikedanese , as the original author, would you have time to review? Thank you.

Page preview:
https://deploy-preview-18320--kubernetes-io-master-staging.netlify.com/docs/concepts/configuration/secret/

/lgtm
These changes make the page better than it was. Nice work @kbhawkey and @PabloCastellano

/approve


Feature/s3 boto

This PR Implements the boto3 library for staging, customizes the minio library for OpenStack Swift compatibility, and improves metrics collection to support boto3.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: jameshawkes:x: sametdYou have signed the CLA already but the status is still pending? Let us recheck it.


The actual behavior of Dynamic project version is differen from document

In the document Get with A Specific Function, the actual behavior is different from the documentation.

example config:
[tool.pdm.version]
source = "call"
getter = "mypackage.get_version"

I execute the pdm build command, and then get some errors:
pdm.backend.exceptions.ConfigError: Invalid expression, must be in the format of `module:attribute`.

After I modify the config file, it can run correctly.
- getter = "mypackage.get_version"
+ getter = "mypackage:get_version"

I'm not sure if it is a document or a code error.
Env:

Python: 3.11
PDM: 2.15.0

Wrong document, thanks

Should I create PR?

why ask? go ahead


HostingEnvironmentExtensions.MapPath should use IFileProvider

The extension method should not use the base physical path and path.combine, it defeats the purpose of having an IFileProvider on the hosting environment interface at all.
Instead it should call GetFileInfo and return fileInfo.PhysicalPath if not null or empty.

Yap! I also think we should rename MapPath since it's a little misleading https://github.com/aspnet/Hosting/issues/222

@Tratcher We can load balance this.

Here: https://github.com/aspnet/Hosting/blob/f600604140e048df7671fa6e196791492ecacbe1/src/Microsoft.AspNet.Hosting.Abstractions/HostingEnvironmentExtensions.cs#L104-L105
Something like this?
return hostingEnvironment.WebRootFileProvider.GetFileInfo(virtualPath).PhysicalPath;
Who are the actual consumers for this API? Is the input expected to be something like httpContext.Request.Path?

Moving this to Backlog as we will be in RC2 ask mode very soon.  If you feel strongly about this issue, please ping me.

Backlog is fine. It's also behavior rather than public API, so a bit less milestone-critical in that way

We killed this extension method


Add caching to testing workflow

Signed-off-by: Anas Abou Allaban<EMAIL_ADDRESS>

This won't save time because APT will try to install the packages anyway, and this will corrupt APT internal state, so I don't recommend this approach. What is the problem you're trying to address here?

What is the problem you're trying to address here?

It was an attempt to speed up the build process while trying to get rosbag2_bag_v2to build.
Looks like a Docker based solution/action instead might be a better approach.

+1 on this. We could also cache the APT cache which would be slightly better, but it's still a tricky path. Skipping the setup stage altogether with a Docker image would indeed be guaranteed to work.


Proposal for capturing digested assets path

Hey there! I would like to share some bits of code that we implemented at our company and it could be merged into the official propshaft gem. Right now there is no way to reference digested assets from webpack, rollup.js or any other build system. On the other side, propshaft already does recognize digested assets with .digested. pattern on the filename. The motivation for this feature is to be able to use preload_link_tag or reference any kind of asset generated from external builders. No more talk, here is the code.
# lib/propshaft/digested.rb
module Propshaft
  CACHE = {}

  module Digested
    refine Propshaft::LoadPath do
      def resolve_digested(asset_name)
        Propshaft.resolve_digested_from(asset_name, source: assets_by_path)
      end
    end

    refine Propshaft::Resolver::Static do
      def resolve_digested(asset_name)
        Propshaft.resolve_digested_from(asset_name, source: parsed_manifest)
      end
    end

    refine Propshaft::Resolver::Dynamic do
      def resolve_digested(asset_name)
        load_path.resolve_digested(asset_name)
      end
    end
  end

  def self.resolve_digested_from(asset_name, source:)
    CACHE[asset_name] ||= source.find do |logical_path, _|
      filename, extname = asset_name.split(".")
      pattern = /\A#{filename}-([0-9a-zA-Z]{7,128})\.digested\.#{extname}\z/
      pattern.match?(logical_path)
    end&.first
  end
end

# app/helpers/propshaft_helper.rb
module PropshaftHelper
  using Propshaft::Digested

  def digested_path(path)
    Rails.application.assets.resolver.resolve_digested(path) || raise(Propshaft::MissingAssetError.new(path))
  end
end

Let me know if this sounds good so I can start working on a pull request. :D

Yes, I like this. cc @brenogazzola

Sure! @rainerborene Could you also post some sample code of this in action?
From what I'm seeing, the resolve_digested_from will allow us to pass logo.png and have propshaft find logo-DIGEST-digested.png. I'm a bit confused about the digested though. If the builder already generated the file in that format, shouldn't it have already compiled the JS files to replace a reference to logo.png with logo-DIGEST.digested.png? This is what happens when we configure webpack/esbuild to generate entryfiles and chunkfiles with the .digested pattern.

@brenogazzola Not sure if I follow. By digested you mean the digested_path helper method, right? If you want we can have a quick call on Zoom.

I'm GMT-3, which timezone are you in?
By digested I meant this line:
pattern = /\A#{filename}-([0-9a-zA-Z]{7,128})\.digested\.#{extname}\z/

I expected it to be:
pattern = /\A#{filename}-([0-9a-zA-Z]{7,128})\.#{extname}\z/

From what I understood of your PR and use case, you have an image file referenced in your JS files as something like logo.png. When you run rails assets:precompile, propshaft will rename the file to logo-DIGEST.png, which means the JS file will not be able to load it. You want to solve that by using a regex to compare file_name with the assets logical paths in the loadpath. Therefore the extra \.digested in the regex seems unnecessary to me. File will only have .digested in their name if the bundler was specifically configured to generate that name.

Sorry, let me be more specific (we can try zoom if it’s still confusing)

Same time zone as yours. Plz ping me at rainerborene at gmail dot com.

If you are using this new feature in this PR, you are probably not configuring the bunlder to add .digested (I think?)

Exact the opposite! Take a look at the output option of the following webpack configuration. As you can see webpack will generate chunks and assets with the .digested. suffix on the filename so that propshaft could understand it and skip the hashing process. The downside is that I cannot link a chunk or asset path using the preload_link_tag anymore because it weren't digested by propshaft in the first place. That's the issue we're trying to solve here.
const path = require("path")

module.exports = {
  output: {
    filename: "[name].js",
    sourceMapFilename: "[file].map",
    chunkFilename: "[name]-[contenthash].digested.js",
    assetModuleFilename: "asset-[contenthash].digested[ext]",
    path: path.resolve(__dirname, "app/assets/builds"),
  }
}


Spurious deprecation warnings

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): gLinux
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
TensorFlow installed from (source or binary): tf-nightly-2.0-preview-20190416-py2.7
TensorFlow version (use command below): 2.0.0-dev20190416
Python version: 2.7.16rc1
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: N/A
GPU model and memory: N/A

Describe the current behavior
When using keras.callbacks.TensorBoard or keras.models.Sequential, a
deprecation warning is emitted instructing the user to use the same
symbol that they’re already using:

“The name keras.callbacks.TensorBoard is deprecated. Please use keras.callbacks.TensorBoard instead.”
“The name keras.models.Sequential is deprecated. Please use keras.models.Sequential instead.”

Describe the expected behavior
No deprecation warning should be emitted.
Code to reproduce the issue
$ cat /tmp/repro.py; echo
import tensorflow as tf
print(tf.__version__)
tf.keras.callbacks.TensorBoard
tf.keras.models.Sequential

$ python /tmp/repro.py
2.0.0-dev20190416
WARNING: Logging before flag parsing goes to stderr.
W0416 11:29:00.042920<PHONE_NUMBER>25376 deprecation_wrapper.py:76] From /tmp/repro.py:3: The name keras.callbacks.TensorBoard is deprecated. Please use keras.callbacks.TensorBoard instead.

W0416 11:29:00.043119<PHONE_NUMBER>25376 deprecation_wrapper.py:76] From /tmp/repro.py:4: The name keras.models.Sequential is deprecated. Please use keras.models.Sequential instead.

Looks like this happens with lots of symbols:
$ cat /tmp/repro.py; echo
import tensorflow as tf
print(tf.__version__)
tf.io.gfile.exists
tf.errors.OpError
tf.train.Example

$ python /tmp/repro.py
2.0.0-dev20190416
WARNING: Logging before flag parsing goes to stderr.
W0416 12:01:54.716809<PHONE_NUMBER>00864 deprecation_wrapper.py:76] From /tmp/repro.py:3: The name io.gfile.exists is deprecated. Please use io.gfile.exists instead.

W0416 12:01:54.716949<PHONE_NUMBER>00864 deprecation_wrapper.py:76] From /tmp/repro.py:4: The name errors.OpError is deprecated. Please use errors.OpError instead.

W0416 12:01:54.716995<PHONE_NUMBER>00864 deprecation_wrapper.py:76] From /tmp/repro.py:5: The name train.Example is deprecated. Please use train.Example instead.

Makes sense: the warnings are there to inform you that on the next version of TensorFlow those symbols will no longer be present, so you should update your code to the new API.
See also: #27045, #27023, #27016, #26844, #26151, #26149, #26144, and many other similar issues.

Makes sense: the warnings are there to inform you that on the next version of TensorFlow those symbols will no longer be present, so you should update your code to the new API.
See also: #27045, #27023, #27016, #26844, #26151, #26149, #26144, and many other similar issues.

Makes sense: the warnings are there to inform you that on the next version of TensorFlow those symbols will no longer be present, so you should update your code to the new API.
See also: #27045, #27023, #27016, #26844, #26151, #26149, #26144, and many other similar issues.

Hmm, as far as I can tell I am using the new APIs, and the warnings
are telling me to migrate to the same APIs that I’m already using:

“The name keras.models.Sequential is deprecated. Please use
keras.models.Sequential instead.”

How should I change “tf.keras.models.Sequential” to avoid a warning?

Oh, my bad, I didn't notice that. Sorry

Oh, my bad, I didn't notice that. Sorry

No worries; thanks.

Thank you for catching and sorry for the trouble! Fix is on the way.

Should be fixed by this commit: e84d155152ab5a187d2c0e4c5eea6a73df3789e1
Let me know if you are still seeing issues!


GSoC project ideas page should allow selection of both difficulty level and a tool of choice

Problem Description
On the GSoC project Ideas page, a visitor can select only one of the following seven categories to sort out project ideas of interest

All Projects
Difficulty: Easy
Difficulty: Medium
Difficulty: Hard
Skill: JavaScript
Skill: Python
Skill: WordPress

https://opensource.creativecommons.org/gsoc-2019/project-ideas/difficulty-easy/
But Ideally, there are 2 categories there;

Difficulty Level
Skill/Tool of choice

Only the selection of one of them can be done at a time. A beginner in JavaScript can not select the Difficulty: Easy category and the Skill: JavaScript together.
Solution Description
A visitor to the page should be able to select 2 categories which should be a Difficulty Level and a Skill/Tool of choice so users can sort out project ideas with the technology of interest and appropriate difficulty level that matches the user's level of proficiency.

The GSoC project ideas page is no longer up, but we have a new project ideas page with the same issue: https://opensource.creativecommons.org/internships/project-ideas/

Thanks for the update @kgodey.
It would also be nice to be able to select multiple skills. There are projects that require knowledge of both python and JavaScript to complete.

@kgodey I will like to try to implement this feature if no one is working on it. This feature will be really handy if implemented.
Thank you

Go ahead @techievivek

@kgodey Mam can you please tag the developer who has implemented this feature, as this seems tough with the current directory structure and given code logic.
Because suppose a person has clicked on a difficulty level now we will show them **two different links **
like https://opensource.creativecommons.org/internships/project-ideas/difficulty-easy/ so that he can choose another difficulty level and another type of link like https://opensource.creativecommons.org/internships/project-ideas/difficulty-hard/skill-javascript/ so that he can navigate to the project-ideas that are hard and requires skill Javascript.
We may need to alter the directory structure.

I implemented this feature.
Under the current implementation, we would have to generate a new page for every single combination of filters, which will probably get infeasible. The better way is probably to scrap the current implementation and implement filtering on the client side using JavaScript.

I would like to take up this issue if no one else is doing it.
I can write up a logic on the client side javascript to filter things out.

@pavitra14 please go ahead.

@pavitra14 Also if you need any help, feel free to tag me.

@kgodey @pavitra14 I think it will be better to make use of current URL the user is in.
There can be 3 cases:-

If they are on all, on clicking any difficulty level or skill we can directly make them navigate to that page.
If they are on a particular difficulty level they can either navigate to all or to a skill, so accordingly we can do by looking at href of clicked link.
Similarly for skills.
We can have a class to all the links and then add listener and disable the deafult behaviour and check current Url and target url and redirect accordingly or filter records by using basic regex to get and match skill or difficulty.
All can be done in Plain Js without the need to alter anything in content folder.

@techievivek I do not intend them to navigate, I wanted to do it all from a single page.
Right now, I added data-filters to each button and assigned filter values to each idea via classes.
Rest is handled automatically via jQuery and Event handlers.
I did not need to edit the contents much, only had to add a filter-value variable in the model.
Also, the user must be able to selected multiple filters at once and should see the result instantly.
I did that only.

@pavitra14 Yeah, I think this will be better, I suggested above one if you dont want to change anything in content folder.
Lets wait for @kgodey as she is one who implemented it.

@techievivek
Also we will any how need to edit the content as the old redundant content needs to be removed.
Since we're showing everything on the front end, there's no need for the skill/difficulty category folders inside content anymore.
This was requested in the review by @kgodey

@pavitra14 Yes If we have to do everything in frontend then definitely we dont need any folder more.
I have seen your updated PR, its perfect.

Removed the redirect /internships/project-ideas/all
Now the /internships/project-ideas/ is the root folder for all ideas.
Compatibility checked with lektor and can be easily managed via the admin backend.

@pavitra14 perfect one👌

hello , My self Abhishek mishra , I want to work on this issue.

can i work on this

Kindly go through the issue, I've already sent a PR, writing tests is left, if you can do that, kindly checkout the linked PR.


Add a post for Ask us anything sessions

As I have created one form to be used on all the dates.. should I add the dates to the form so people can choose or we link to the nearest date and leave the other dates unlinked to the form? (Hope that makes sense)


minSdkVersion of the library could be 12 rather than 15

I saw the 'minSdkVersion' of library was set to be 15, I expected to use the library in more lower one, so I checkout the code and verify that it could be set to 12. Would you like to check if it is true or not.

Theoretically it should work even back to Gingerbread (which I believe is the minimum for RecyclerView), but as per those two links https://twitter.com/minSdkVersion and https://developer.android.com/about/dashboards/index.html I don't see a reason to officially support it.
But if you really have to support such old devices, just use this http://stackoverflow.com/questions/32908241/how-to-use-toolsoverridelibrary-with-multiple-libraries and http://stackoverflow.com/questions/27335889/how-do-i-ignore-minsdkversion-of-library-in-android-studio
  <uses-sdk android:minSdkVersion="9"
            tools:overrideLibrary="com.eyeem.recyclerviewtools"/>


krb5: 1.20.1 -> 1.21

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/krb5/versions.
meta.description for krb5 is: MIT Kerberos 5
meta.homepage for krb5 is: http://web.mit.edu/kerberos/
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 1.21 with grep in /nix/store/9fqjw20l3s976zqgg1an55bl5gysfsys-krb5-1.21
found 1.21 in filename of file in /nix/store/9fqjw20l3s976zqgg1an55bl5gysfsys-krb5-1.21

Rebuild report (if merged into master) (click to expand)

43317 total rebuild path(s)

43317 package rebuild(s)

First fifty rebuilds by attrpath

ArchiSteamFarm
AusweisApp2
BeatSaberModManager
CHOWTapeModel
ChowCentaur
ChowKick
ChowPhaser
CuboCore.coreaction
CuboCore.corearchiver
CuboCore.corefm
CuboCore.coregarage
CuboCore.corehunt
CuboCore.coreimage
CuboCore.coreinfo
CuboCore.corekeyboard
CuboCore.corepad
CuboCore.corepaint
CuboCore.corepdf
CuboCore.corepins
CuboCore.corerenamer
CuboCore.coreshot
CuboCore.corestats
CuboCore.corestuff
CuboCore.coreterminal
CuboCore.coretime
CuboCore.coretoppings
CuboCore.coreuniverse
CuboCore.libcprime
CuboCore.libcsys
DisnixWebService
EBTKS
EmptyEpsilon
Fabric
HentaiAtHome
LAStools
LASzip
LASzip2
LibreArp
LibreArp-lv2
Literate
MACS2
MIDIVisualizer
MMA
NSPlist
OSCAR
OVMF
OVMFFull
PageEdit
PlistCpp

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/9fqjw20l3s976zqgg1an55bl5gysfsys-krb5-1.21 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A krb5 https://github.com/r-ryantm/nixpkgs/archive/dfd031fddca74307f10587e65d925353ad4a8e02.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/9fqjw20l3s976zqgg1an55bl5gysfsys-krb5-1.21
ls -la /nix/store/9fqjw20l3s976zqgg1an55bl5gysfsys-krb5-1.21/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings

Superseded by  #255483


ci: Node16

Platforms affected
All
Motivation and Context

Adds Node16 to our CI matrix
Progresses https://github.com/apache/cordova/issues/286
Description

Testing

N/A
Checklist

[x] I've run the tests to see all new and existing tests pass
[x] I added automated test coverage as appropriate for this change
[x] Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
[x] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
[x] I've updated the documentation if necessary

Superceded by GH Actions.


Remove static access to executors through psij.executors.init.py

The issue here is executors with dependencies when we would like to guard against import failures due to missing dependencies, such as is the case for the FluxJobExecutor.
We could wrap the import into a try block. However, I don't see how this could be made to work with static type checking. The fundamental problem is that mypy imports modules and checks against the resulting symbols. If the import protection mechanism replaces the FluxJobExecutor attribute in psij.executors.__init__.py with a mock object, mypy cannot effectively check against the specifics of FluxJobExecutor.
We could do something like 6e04d2114acf96b74c975df4e848af0e5c0f76c6, but we run into the same problem within the Flux executor, although with a different manifestation: we can't make mypy happy without hiding the type of the guarded variables.
Even if the executors are not accessible as psij.executors.<name>, they remain accessible statically through their canonical names, such as psij.executors.flux.FluxJobExecutor, so the consequences are minor.
This is not a problem with the dynamic executor loading scheme since objects returned by the executor factory have the base JobExecutor type.
@andre-merzky, @jameshcorbett: thoughts?

Your points all make sense but they are just persuading me that mypy sucks (I mean it's great and all yadda yadda yadda)
Anyway just removing __init__.py didn't make a difference for me:
(UQP37) ishirini-na-ti:psi-j-python corbett8$ make typecheck
mypy --config-file=.mypy --strict src tests
src/psij/executors/batch/test/qlib.py:9: error: Library stubs not installed for "filelock" (or incompatible with Python 3.7)
src/psij/executors/batch/test/qlib.py:9: note: Hint: "python3 -m pip install types-filelock"
src/psij/executors/batch/test/qlib.py:9: note: (or run "mypy --install-types" to install all missing stub packages)
src/psij/executors/batch/test/qlib.py:9: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
src/psij/executors/flux.py:32: error: Incompatible types in assignment (expression has type "None", variable has type Module)
Found 2 errors in 2 files (checked 42 source files)
make: *** [Makefile:24: typecheck] Error 1
(UQP37) ishirini-na-ti:psi-j-python corbett8$ echo "" > src/psij/executors/__init__.py
(UQP37) ishirini-na-ti:psi-j-python corbett8$ make typecheck
mypy --config-file=.mypy --strict src tests
src/psij/executors/batch/test/qlib.py:9: error: Library stubs not installed for "filelock" (or incompatible with Python 3.7)
src/psij/executors/batch/test/qlib.py:9: note: Hint: "python3 -m pip install types-filelock"
src/psij/executors/batch/test/qlib.py:9: note: (or run "mypy --install-types" to install all missing stub packages)
src/psij/executors/batch/test/qlib.py:9: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
src/psij/executors/flux.py:32: error: Incompatible types in assignment (expression has type "None", variable has type Module)
Found 2 errors in 2 files (checked 42 source files)
make: *** [Makefile:24: typecheck] Error 1

#104 removes explicit access to anything but core executors with no dependencies from psij.executors(.init.py), which addresses the initial issue.


[FEATURE]: destagger function enabled for xarray

Description
Hello,
I want to raise a hopefully straightforward issue to "dip my toes" into contributing to this project
One of the common tasks (alluded to in #10) dealing with wrf data is "destaggering" wrf variables on edge-cells to cell-center points.  This gets done in WRF-Python. Wind fields (U and V) are common examples
Implementation
In WRF-Python, this is done by simply taking the mean of the cells to the left/right or top/bottom of the center point. (https://github.com/NCAR/wrf-python/blob/22fb45c54f5193b849fdff0279445532c1a6c89f/src/wrf/destag.py).
In xarray this is easy enough to do using the ".loc" indexer and taking the mean of the the 1:n and 0:n-1 slices along the staggered coordinate.
Tests
This could be tested against the wrf-python feature. The dimensions of the output coordinate should be one less than the dimension of the staggered coordinate.
Questions
I think it makes sense to have a completely generic function to do this for one variable at a time (similar to the wrf-python version). I would picture such a function (let's say "_destagger_var"), being called by another class/function like "destagger_all_vars" to apply to all of the staggered vars...
Maybe this is something that "xgcm" does and doesn't need to be handled separately? I'm not familiar with it.
I have a PR ready for one but I wanted to raise the issue first.
Thanks!

Great, thanks for the initative. I'm not quite sure whether we want do add a dependency onto xgcm, so we should discuss this. However, the way xgcm would do this is using xgcm.Grid.interp(to='centre') as far as i know.

I agree that if we can avoid a dependency on xgcm, we should.  But it all depends on the complexity of the code that we have to write.  xgcm is a "generalish purpose" utility, and we only need a solution that works specifically with WRF data/grids.  @bsu-wrudisill:  If your solution is relatively compact and robust, I say we implement it with the xarray .loc method, as you suggest.


Remove unused dependency on Revise.jl

See https://github.com/timholy/Revise.jl/issues/728

Fixed.


Not reading full plate

Hi,
I am trying to use javaanpr for Indian number plates. I am using this as an input file

The report generation here :

Can you tell me what thing i am going wrong. I am getting this issue when there is a space in the number plate.
Here is what i am using:
<?xml version="1.0" encoding="iso-8859-2"?>

structure>

type name="India">
char content="abcdefghijklmno0pqrstuvwxyz"/>
char content="abcdefghijklmno0pqrstuvwxyz"/>
char content=" "/>
char content="o0123456789"/>
char content="o0123456789"/>
char content=" "/>
char content="abcdefghijklmno0pqrstuvwxyz"/>
char content="abcdefghijklmno0pqrstuvwxyz"/>
char content=" "/>
char content="o0123456789"/>
char content="o0123456789"/>
char content="o0123456789"/>
char content="o0123456789"/>
/type>

</structure>

i adjusted the size of image , and now i am getting this :

Why is it ommitting the first 2 ?
I changed my syntax file too ..
?xml version="1.0" encoding="iso-8859-2"?>
structure>
type name="India">
char content="abcdefghijklmno0pqrstuvwxyz"/>
char content="abcdefghijklmno0pqrstuvwxyz"/>
char content="o0123456789"/>
char content="o0123456789"/>
char content="abcdefghijklmno0pqrstuvwxyz"/>
char content="abcdefghijklmno0pqrstuvwxyz"/>
char content="o0123456789"/>
char content="o0123456789"/>
char content="o0123456789"/>
char content="o0123456789"/>
/type>
/structure>

You seem to have done everything correctly as far as I can tell (if you only forgot to paste the first two characters of every line in your config and have them in your file).
One thing that occurred to me now: are you sure you are actually using the correct syntax file?
JavaANPR seems to be looking for 10 characters, where you have configured 11 in your syntax file type. Make sure you remove the other types from the syntax file (or create a new one and point the config at it).

i am not able to understand when is this syntax file actually getting used. I removed all the contents of the syntax file in target folder and still it was giving me results .

In the String parse(RecognizedPlate recognizedPlate, int syntaxAnalysisMode) method of Parser. You might want to try "1" as syntax_analysis_mode

I will do that. Can u please look at my above comment . Also are u using JFK 1.6 for development environment . I am getting some errors in eclipse setup like generic types which I can post here but that will mix two topics. I will open a separate issue for that

I believe you are saying this

<!-- syntax analysis mode : 0 - do not correct 1 - correct characters only
    if character count matchs 2 - correct characters anyway (eliminate redundant
    characters) -->

1

<!-- syntax analysis mode -->
<entry key="intelligence_syntaxDescriptionFile">syntax/syntax.xml</entry>

<!-- CAR SNAPSHOT, BAND, PLATE GRAPH ANALYSIS -->

I am using the value as 1 .

Hey , i observed one thing in letters which are not getting shown up  !! I will just look up where this value is getting calculated!

You might want to open another issue about your dev environemnt not working.
I'll get to your questions later, during the weekend probably :)

The development stuff is sorted out. I actually have to show this in my college day after tomorrow.  Don't what u to test it out but just two questions
1.what is the use of syntax.xml and when is it used
2.the pattern that I made for above pic is right ? What to do when u encounter a space in the plate. Do we specify another char entry for that ?

Can u please just answer these questions ? I need it urgently
. I actually have to show this in my college day after tomorrow.  Don't
what u to test it out but just two questions
1.what is the use of syntax.xml and when is it used
2.the pattern that I made for above pic is right ? What to do when u
encounter a space in the plate. Do we specify another char entry for that ?
On 2 Aug 2016 2:38 a.m., "Ondrej Skopek"<EMAIL_ADDRESS>wrote:

In the String parse(RecognizedPlate recognizedPlate, int
syntaxAnalysisMode) method of Parser. You might want to try "1" as
syntax_analysis_mode
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oskopek/javaanpr/issues/27#issuecomment-236708430,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH7qtDpo-yJ4IkWJWolCcn_5JNUS-mGeks5qbmBggaJpZM4JZg0m
.

Already told you, take a look at the String parse(RecognizedPlate recognizedPlate, int syntaxAnalysisMode) method of the Parser. As far as I can tell, your syntax file is correct. Verify that you're actually using the correct syntax file in the config file.

Consult the original documentation http://javaanpr.sourceforge.net/anpr.pdf (chapters 5 and 6 might be useful), and experiment around :)

Pull Requests are always welcome, either for documentation enhancement or code enhancements.

Also, I tried the image you supplied, and it worked just fine with the correct syntax:

"correct syntax file in the config file."
I am using the syntax file i.e generated in the target folder after a full
build.
In src folder : P:\code_workspace\javaanpr\src\main\resources\syntax   This
is the one which gets copied to the the target folder. I am modifyng the
one in the target as the jar that i run will use this syntax file in target
folder.
But syntax file in config file ? I did modified the config file just to see
if it takes the image and gives the result .
On Wed, Aug 3, 2016 at 2:11 AM, Ondrej Skopek<EMAIL_ADDRESS>wrote:

Also, I tried the image you supplied, and it worked just fine with the
correct syntax:
[image: javaanpr_plate_example]
https://cloud.githubusercontent.com/assets/1811716/17344410/3c2d63ea-5902-11e6-9aae-251017c68ec4.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oskopek/javaanpr/issues/27#issuecomment-237036695,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH7qtLw6PrZAl9X8TRd_R8Ilz_Gc5djSks5qb6t9gaJpZM4JZg0m
.

And one thing , not to mention, you really have done a great work sir. Its
a pleasure to be learning from you
On Wed, Aug 3, 2016 at 8:41 PM, Nishant Singh<EMAIL_ADDRESS>wrote:

"correct syntax file in the config file."
I am using the syntax file i.e generated in the target folder after a full
build.
In src folder : P:\code_workspace\javaanpr\src\main\resources\syntax
This is the one which gets copied to the the target folder. I am modifyng
the one in the target as the jar that i run will use this syntax file in
target folder.
But syntax file in config file ? I did modified the config file just to
see if it takes the image and gives the result .
On Wed, Aug 3, 2016 at 2:11 AM, Ondrej Skopek<EMAIL_ADDRESS>wrote:

Also, I tried the image you supplied, and it worked just fine with the
correct syntax:
[image: javaanpr_plate_example]
https://cloud.githubusercontent.com/assets/1811716/17344410/3c2d63ea-5902-11e6-9aae-251017c68ec4.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oskopek/javaanpr/issues/27#issuecomment-237036695,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH7qtLw6PrZAl9X8TRd_R8Ilz_Gc5djSks5qb6t9gaJpZM4JZg0m
.

Config file = src/main/resources/config.xml, see this part: <entry key="intelligence_syntaxDescriptionFile">syntax/syntax.xml</entry>

I debugged this to find where this syntax.xml file is getting loaded.
Added some sysouts
21:14:43.679 [main] DEBUG n.s.j.neuralnetwork.NeuralNetwork - Created
neural input 19 with weight -3.617587524230886.
File initialised config.xml
syntax file present in syntax\syntax.xml
Stream with syntax file initialised
Reading the syntax file and loading the xml nodes
Head of document #document
Structure node read structure has value null :
has childs [structure: null]
structureNode.getChildNodes() refers to a node 3
Starting to read the type node
Starting to read the type node
type node read is type:
has child nodes [type: null]
Reading plateform for the typenode India
Here u can see, its loading India ! which means i am modifying the right
file. I am just checking when does an image gets displayed and when does it
not and what relation does it have with this syntax.xml contexts which is
loaded in plateform .
On Wed, Aug 3, 2016 at 11:15 PM, Ondrej Skopek<EMAIL_ADDRESS>wrote:

Config file = src/main/resources/config.xml, see this part: syntax/syntax.xml
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oskopek/javaanpr/issues/27#issuecomment-237304921,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH7qtP8AXzNUw9A1SNY63SFKP3HqqyS_ks5qcNOxgaJpZM4JZg0m
.

I already told you twice, check out the Parser. Specifically, String parse(RecognizedPlate recognizedPlate, int syntaxAnalysisMode).

Yes , i am just looking at that only now.
On Thu, Aug 4, 2016 at 3:20 AM, Ondrej Skopek<EMAIL_ADDRESS>wrote:

I already told you twice, check out the Parser. Specifically, String
parse(RecognizedPlate recognizedPlate, int syntaxAnalysisMode).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oskopek/javaanpr/issues/27#issuecomment-237385849,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH7qtHpCYJ9WPm6gJJ1OvYbJb5CENe8dks5qcQ0QgaJpZM4JZg0m
.

Ohk , i got this . When ur control comes in parser method. it checks for if
(syntaxAnalysisMode == 1) . If this is 1, , it will go and compare the form
elements in the for loop : for (int i = 0; i <= (length - form.length());
i++) { // moving the form on the plate
I got it till here . Now , if i have specified the correct syntax.xml and
all , why i am getting weird results for Number plates which have the same
format.
There can be one reason :
1.The image is blurred ( " which is ok ")
But what i am observing is , if the number plate has a space like below
i am getting weird results.
On Thu, Aug 4, 2016 at 3:20 AM, Ondrej Skopek<EMAIL_ADDRESS>wrote:

I already told you twice, check out the Parser. Specifically, String
parse(RecognizedPlate recognizedPlate, int syntaxAnalysisMode).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oskopek/javaanpr/issues/27#issuecomment-237385849,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH7qtHpCYJ9WPm6gJJ1OvYbJb5CENe8dks5qcQ0QgaJpZM4JZg0m
.

Finally its done . Thank you so much . After submitting the project , i
will fork the repo and will work on this again to read 2 line number
plates.
On Wed, Aug 3, 2016 at 2:11 AM, Ondrej Skopek<EMAIL_ADDRESS>wrote:

Also, I tried the image you supplied, and it worked just fine with the
correct syntax:
[image: javaanpr_plate_example]
https://cloud.githubusercontent.com/assets/1811716/17344410/3c2d63ea-5902-11e6-9aae-251017c68ec4.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oskopek/javaanpr/issues/27#issuecomment-237036695,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH7qtLw6PrZAl9X8TRd_R8Ilz_Gc5djSks5qb6t9gaJpZM4JZg0m
.

If you feel this issue is resolved, please close it :) Thanks for using JavaANPR!

Yes I will.
On 7 Aug 2016 7:31 p.m., "Ondrej Skopek"<EMAIL_ADDRESS>wrote:

If you feel this issue is resolved, please close it :) Thanks for using
JavaANPR!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/oskopek/javaanpr/issues/27#issuecomment-238084052,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH7qtFPRJCx-80oNtBkrALoKw-ald55Wks5qdeUpgaJpZM4JZg0m
.


Admission Control Threat Model

This is a PR for the admission control threat model work that we've been doing in SIG-Security Docs.

@savitharaghunathan does this one look ok to merge, or do you think we've got some changes to make? Just thinking that ideally it'd be good to get this merged before the blog post comes out, so we can link the threat model from the blog post :)

@savitharaghunathan does this one look ok to merge, or do you think we've got some changes to make? Just thinking that ideally it'd be good to get this merged before the blog post comes out, so we can link the threat model from the blog post :)

I just have the TOC question. Other than that its lgtm from me. Thanks @raesene :)

Does this PR address / fix issue #7 ?

Does this PR address / fix issue #7 ?

@PushkarJ yes :)

/lgtm
(Adding this for K8s two person review guidance, as now @savitharaghunathan can approve when she thinks its ready)
@raesene Loving the use of deciduous, btw

@savitharaghunathan cool thanks, I've removed that TOC link it was just an artifact of the conversion from gdocs.
@PushkarJ cool thanks for the review :)

Thanks @raesene 😊
/lgtm
/approve
/hold
For @PushkarJ

/lgtm
/hold remove

/hold cancel


Core | Nested relatives fragments with root involved

Hi,
I think this is a bug.
I have those routes :
export default {
  '/': {
    title: 'HOME',
    '/toto': {
      title: 'TOTO',
    },
    '/tvshow/:id': {
      title: 'TVSHOW',
    },
  },
}

When I use this root Component it works :
  <div>
    <Search />
    <RelativeFragment forRoute="/toto">
      <Results />
    </RelativeFragment>
  </div>

When i use this root Component it doesn't work :
  <RelativeFragment forRoute="/">
    <Search />
    <RelativeFragment forRoute="/toto">
      <Results />
    </RelativeFragment>
  </RelativeFragment>

(I assume It works when the Results Component is printed when i go to /toto)

There's a pretty huge bug in <RelativeFragment> I found today, should have a fix in by tomorrow 👍

Great 👍

Fixed in v9.0.3!

Thank you for your work @tptee
Works well here.


Lessons are missing Script include for Bootstrap

For a novice learner, like me, most of the bootstrap lessons are missing the script link or include to the bootstrap.min.js.
Doesn't the following line need to be in your code view in order to use the classes such as (button class "button-block"  or responsive img ??)
"http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js
This file is missing in the black code view screens.

That's sort of addressed in the first Bootstrap instuctions:
Fortunately, we have access to a Responsive CSS Framework called Bootstrap. You can add Bootstrap to any app just by including it with <link rel='stylesheet' href='//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css'/> at the top of your HTML. But we've gone ahead and automatically added it to your Cat Photo App for you.
I believe it's missing from the editor HTML because Boostrap is included in FCC's HTML, but I might be wrong? It would probably be good to include the <link> in the editor HTML for clarity.

@ahstro Is correct.
Happy Coding!


allow specifying an IP resolver

I'm trying to run tart as a gitlab-executor on a host, that is also running qemu: as a consequence, the host has two network bridges:
$ ifconfig
[...]
bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=63<RXCSUM,TXCSUM,TSO4,TSO6>
	ether 36:5b:95:ab:14:40
	Configuration:
		id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
		maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
		root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
		ipfilter disabled flags 0x0
	member: en2 flags=3<LEARNING,DISCOVER>
	        ifmaxaddr 0 port 12 priority 0 path cost 0
	member: en3 flags=3<LEARNING,DISCOVER>
	        ifmaxaddr 0 port 13 priority 0 path cost 0
	member: en4 flags=3<LEARNING,DISCOVER>
	        ifmaxaddr 0 port 14 priority 0 path cost 0
	member: en5 flags=3<LEARNING,DISCOVER>
	        ifmaxaddr 0 port 15 priority 0 path cost 0
	nd6 options=201<PERFORMNUD,DAD>
	media: <unknown type>
	status: inactive
[...]
bridge100: flags=8a63<UP,BROADCAST,SMART,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
	options=3<RXCSUM,TXCSUM>
	ether 9e:76:0e:a3:47:64
	inet <IP_ADDRESS> netmask 0xffffff00 broadcast <IP_ADDRESS>
	inet6 fe80::9c76:eff:fea3:4764%bridge100 prefixlen 64 scopeid 0x1c
	inet6 fdbd:ab55:9e51:a104:14a4:c78c:623:634c prefixlen 64 autoconf secured
	Configuration:
		id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0
		maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
		root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0
		ipfilter disabled flags 0x0
	member: vmenet0 flags=3<LEARNING,DISCOVER>
	        ifmaxaddr 0 port 27 priority 0 path cost 0
	nd6 options=201<PERFORMNUD,DAD>
	media: autoselect
	status: active

now, for many (if not all) VMs brought up by tart, tart ip reports an address in the <IP_ADDRESS>/24 network, although the VMs themselves report an IP in the <IP_ADDRESS>/24 network, which means that the gitlab-runner cannot access the VM.
now I've found that tart ip --resolver arp returns the correct IP address (the one that the VM uses internally).
therefore I conclude that if I was able to tell gitlab-tart-executor to use the arp resolver rather than the default dhcp resolver, my problem could be worked around.
unfortunately, i haven't found a way to specify such a configuration option.
i guess the ideal solution would be to allow for a configuration file that is read by the executor and can be used to override options to specific tart invocations, e.g.
# ~/.tart/gitlab-tart-executor.toml
[ip]
resolver = "arp"
## in case your VMs are booting really slowly...:
wait = 120

an alternative idea (though i don't like it very much) could be using envvars.
e.g.
$ cat /usr/local/bin/gitlab-tart-executor-wrapper
#!/bin/sh
export TART_IP_RESOLVER=arp
gitlab-tart-executor "$@"

$ cat .gitlab-runner/config.toml
[...]
[[runners]]
  [runners.custom]
    prepare_exec = "/usr/local/bin/gitlab-tart-executor-wrapper"
    prepare_args = ["prepare"]
    run_exec = "/usr/local/bin/gitlab-tart-executor-wrapper"
    run_args = ["run"]
    cleanup_exec = "/usr/local/bin/gitlab-tart-executor-wrapper"
    cleanup_args = ["cleanup"]

I think the only important thing is to be able to set this on a per runner basis (rather than in the  .gitlab-ci.yml configuration, as the users of the runner should be oblivious of the actual host specifics)
This is a follow up of https://github.com/cirruslabs/tart/issues/668

Let's address this via https://github.com/cirruslabs/tart/pull/669 and re-open if that doesn't help.


feat: [DO NOT MERGE UNTIL READY TO SUPPORT NEW OSCAL DRAFT] support draft OSCAL proposal and mapping

Types of changes

[ ] Hot fix (emergency fix and release)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Documentation (change which affects the documentation site)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Release (develop -> main)

Quality assurance (all should be covered).

[x] My code follows the code style of this project.
[ ] Documentation for my change is up to date?
[x] My PR meets testing requirements.
[x] All new and existing tests passed.
[x] All commits are signed-off.

Summary
Code changes to support draft OSCAL schema and associated mapping classes
Key links:

Sonar coverage

Before you merge

Ensure it is a 'squash commit' if not a release.
Ensure CI is currently passing
Check sonar. If you are working for a fork a maintainer will reach out, if required.

@jpower432 I think this should be closed. I think it conflicts with the work that @degenaro has completed.

@butler54 @jpower432 Please leave this open, until OSCAL mapping model is officially released by NIST and incorporated into trestle. The underlying branch is actively used.


A workflow to forward port changes to main branch.

Is your feature request related to a problem? Please describe
Since plugins have transitioned to follow the same branching mechanisms that is utilized by core, we have seen increased scenarios where our main branch is broken while we are working on time-sensitive PRs for the latest minor version release (ex: 2.4).
This means that are sometimes developing against the 2.x branches instead of main which we have in the past. In such cases we then need to forward port our changes to main branch so its also included in the future 3.0 release.
Describe the solution you'd like
We have already added a workflow in the past to allow adding labels such as backport 2.4 to backport changes to different branches after they merge. Would it be possible to add a label such as forward-port main or port main to create automatic PRs to merge our changes to main branch after we have merged to 2.x branch. If some changes have conflicts then we can either open our own PRs or make changes to the current PR opened by the bot (not sure if this is possible).
This can save some development time the same adding the backport label has saved development time for us.
Describe alternatives you've considered
No response
Additional context
No response

[Triage] Tagging @bbarani to add comments here.

@VachaShah Do you have any inputs on implementing forward port workflow similar to backport?

@VachaShah Do you have any inputs here?

I recently saw a label backport main (sorry cannot recollect in which repo) that port the changes to main branch. I believe the tool does its job of porting the changing from one commit to specified branch whether it is backport or port.
@amitgalitz Did you try that?

@VachaShah Do you have any inputs here?

Hi @bbarani, sorry I missed this! For the scenario that @amitgalitz is describing, if the backport workflow is present on the 2.x branch, you can add a label backport main to the PR and it will cherry-pick the changes into a PR towards the main branch. Similar to what @gaiksaya has mentioned above. It will work in the same way as backports work now.

@amitgalitz Did you try the suggestion by @gaiksaya ?

This is being used in multiple repositories now. Example: https://github.com/opensearch-project/k-NN/pulls?q=is%3Apr+label%3A"backport+main"+is%3Aclosed
Please give it a try and let us know.
Closing this issue! Please re-open if issue still persist.
Thanks!


Add watch permission for services

After https://github.com/inspektor-gadget/inspektor-gadget/pull/2347 changed the way we keep a up-to-date list of all pods and services (watchers instead of polling) everything seem to work.
IPs get resolved successfully to pod names and service names.
But in the gadget logs we see the following:
1 reflector.go:147] pkg/mod/k8s.io/client-go@v0.29.0/tools/cache/reflector.go:229: Failed to watch *v1.Service: unknown (get services)
This PR adds the missing watch permissions for our ServiceAccount.
(I also added logging of the returned errors, but in this case they didn't help at all and logged nothing -> no error)

Hi!
I would like to test it, any way to do so? Just deploy and I should check there is not the above mentioned message?
Best regards.

Correct. Best way would be check on main and then check with this PR.

Hi!
I would like to test it, any way to do so? Just deploy and I should check there is not the above mentioned message?
Best regards.

Correct. Best way would be check on main and then check with this PR.

Additionally you need to start a gadget which uses the Cache. So something like trace tcp or trace network should do the trick


Not Working in vue.js

page hosting the iFrames:
import * as Resize from 'iframe-resizer/js/iframeResizer.contentWindow';
Vue.use(Resize);
Parent page:

No errors in javascript console
Parent warning:
iframeResizer.js:144 [iFrameSizer][Host page: player_iframe] IFrame has not responded within 5 seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning.

What version? Can you try the one I released yesterday, I hope I fixed this already

sorry. already resolved with personal source code wuthout external library


CHANGES: add info about M1 and removed modules

Should this PR also add mention of BG/Q's deprecation?

Should this PR also add mention of BG/Q's deprecation?

We should make another PR that does that while also adding deprecation messages to the build scripts for the BG/Q target.

Needs another review.


more useful /info endpoint

no login should be required to access the info endpoint
info should only contain login info and supported IdPs
additional query for authorisation info per IdP (depends on #14):

e.g. /info?idp=<url> or /info/<url>
login with specified IdP required (users who don't have an account there should not know which groups are authorised)

/info endpoint shows login info and list of supported OPs, no authentication needed
querying authorisation information supported via /info/authorisation path

authentication with valid token from supported OP
will show authorisation info for token's issuer


Nested Elm variable when using webpack2

I tried to reproduce this with the included webpack2 example but I couldn't get that one running.
The issue is that using webpack2 seems to nest the Elm javascript variable.
Example (working code):
var Elm = require('./Main')
Elm.Elm.Main.init({node: document.getElementById('main')});

Found this while upgrading elm-select here

Same here https://github.com/sporto/elm-webpack-serve-repro/blob/master/src/app.js#L5

PRs welcome

Have confirmed this is also happening with WP4 and Elm 0.19.

For those of us using es6 modules, this did the trick for me:
import { Elm } from '../elm/src/Main.elm'

Elm.Main.init({ node: document.getElementById('elm') })

The clunkier way would be:
import Elm from '../elm/src/Main.elm'

Elm.Elm.Main.init({ node: document.getElementById('elm') })


[NEW FEATURE] List Port

Describe the solution you'd like
Add a column for exposed port(s) for each container - a single container could expose many ports, so need to think the best way to display this, and also if any all interfaces, or <IP_ADDRESS> etc, and local to host mappings
Additional context
Maybe, in a not to distant future, enable the user to select which columns should be visible, would need to save this data somewhere

This feature would be very appreciated if implemented. I run multiple containers in my VPS and am always confused which port is used.

Exactly one year later 😀, please add that feature.


Enable Users to Select Specific Product Identifiers for Barcode Scanning Instead of Limiting to Primary/Secondary

What is the motivation for adding/enhancing this feature?

Currently, we offer users a choice between primary and secondary product identifiers for barcode scanning. To improve flexibility and user experience, we should enhance this feature by allowing users to directly select the specific identifier they want the barcode scanning to recognize. This change will provide greater control and adaptability, enabling users to tailor the scanning functionality to their specific needs.
What are the acceptance criteria?

[ ] ...

Can you complete this feature request by yourself?

[ ] YES
[ ] NO

Additional information

Verified and working fine in release v2.27.5. Hence, closing this ticket.