A possible issue with Multi-geometries and Name and Description inside KML Plugin?

(Using KML Plugin version from Master)
We have an internal service that creates a KML which we try to display on our map. This KML has a name and description element inside of a Placemark that is defined as a Multigeometry. It seems that inside the parsePlacemark it recurses back into the parsePlacemark function with the "Multi-type" elements. These elements, subsequently don't have the Name and/or Description fields.
Is this non-standardized KML which I just have to account for, or is this an issue with the KML plugin?
I do not have a KML sample which I can post here as it's on a closed system. I could, however, try to fashion a sample, but basically it's just a <Placemark> element with <Name> and <Description> and <Multigeometry> and children (at the same level).
Thanks.

You should have a look at KML specs and provide a jsfiddle reproducing the bug ;)

I looked at the KML specs and while the words appear to be in English, I
don't think they are. I'll see if I can find a few minutes to throw up a
fiddle. I was more curious than anything. And, like I said... the KML we
have is on a closed network that I CANNOT make public, so it's going to be
very difficult for me to do this. But, I'll see what I can do.
On Mon, Mar 28, 2016 at 9:42 AM, b_b<EMAIL_ADDRESS>wrote:

You should have a look at KML specs and provide a jsfiddle reproducing the
bug ;)
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/shramov/leaflet-plugins/issues/215#issuecomment-202398587

Also, is there a reason the description is not shown if there's no name for
the Placemark?
On Mon, Mar 28, 2016 at 9:45 AM, Bill Oberacker<EMAIL_ADDRESS>wrote:

I looked at the KML specs and while the words appear to be in English, I
don't think they are. I'll see if I can find a few minutes to throw up a
fiddle. I was more curious than anything. And, like I said... the KML we
have is on a closed network that I CANNOT make public, so it's going to be
very difficult for me to do this. But, I'll see what I can do.
On Mon, Mar 28, 2016 at 9:42 AM, b_b<EMAIL_ADDRESS>wrote:

You should have a look at KML specs and provide a jsfiddle reproducing
the bug ;)
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/shramov/leaflet-plugins/issues/215#issuecomment-202398587

Also, is there a reason the description is not shown if there's no name for the Placemark?

Mainly historical reason, see :
https://github.com/shramov/leaflet-plugins/blob/master/layer/vector/KML.js#L289
Maybe we can change this, feel free to provide a pull request for that.

Thanks!
I am trying to create a fiddle for the original issue... how do I add your KML plugin? Is there a CDN link?

No CDN for now, there is a PR for that on cdnjs/cdnjs#6137 but it's done yet, so you have to use direct link to raw file from here.

Here is the fiddle for the initial question:
http://fiddle.jshell.net/kybp2dcd/32/
The KML with name and description OUTSIDE of the multigeometry is at:
https://gist.githubusercontent.com/ismail44/880dfedaed05186f14ff/raw/58a6c986cc50bb21a9eaea5d5f2d534fe0fed234/gistfile1.txt
When you try to click on the marker (or the polygon) you don't see the name or description.
Thanks.

Hmm strange but your fiddle doesn't show any map... am i missing something ?

For some reason there's an SSL error on the site for the leaflet code. Let
me see what I can do.
On Mon, Mar 28, 2016 at 11:53 AM, b_b<EMAIL_ADDRESS>wrote:

Hmm strange but your fiddle doesn't show any map... am i missing something
?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/shramov/leaflet-plugins/issues/215#issuecomment-202453731

I removed the "https" bits... try this link:
https://fiddle.jshell.net/kybp2dcd/38/
On Mon, Mar 28, 2016 at 12:00 PM, Bill Oberacker<EMAIL_ADDRESS>wrote:

For some reason there's an SSL error on the site for the leaflet code. Let
me see what I can do.
On Mon, Mar 28, 2016 at 11:53 AM, b_b<EMAIL_ADDRESS>wrote:

Hmm strange but your fiddle doesn't show any map... am i missing
something ?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/shramov/leaflet-plugins/issues/215#issuecomment-202453731

Still no map...

HMMM
Then I don't really know what to do. Is there a fiddle you use when demoing
(with leaflet v.0.7.7) that I can clone?
On Mon, Mar 28, 2016 at 1:57 PM, b_b<EMAIL_ADDRESS>wrote:

Still no map...
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/shramov/leaflet-plugins/issues/215#issuecomment-202508135

Can you verify that when you go to the fiddle you are connecting to fiddle.net over the standard http port and not the https port? (Meaning, make sure it's http and not https).

I have the same problem.  I'm using the url: http://gis.hamweather.net/kml/hwadv_all.kml fi you want to reproduce the problem.  So I hacked the parsePlacemark function to remove the recursion (after line 247):
		var layers = [];

		var multi = ['MultiGeometry', 'MultiTrack', 'gx:MultiTrack'];
		for (h in multi) {
			el = place.getElementsByTagName(multi[h]);
			for (i = 0; i < el.length; i++) {
//				return this.parsePlacemark(el[i], xml, style, opts);
				var parse = ['LineString', 'Polygon', 'Point', 'Track', 'gx:Track'];
				for (j in parse) {
					var tag = parse[j];
					el = place.getElementsByTagName(tag);
					for (i = 0; i < el.length; i++) {
						var l = this['parse' + tag.replace(/gx:/, '')](el[i], xml, opts);
						if (l) { layers.push(l); }
					}
				}
			}
		}

I'm not sure if this conforms to the KML spec...


Update init.py

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.52%. Comparing base (6acfb5b) to head (b1f0d52).
Report is 8 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
- Coverage   94.54%   89.52%   -5.02%
==========================================
  Files          10       11       +1
  Lines         458      506      +48
  Branches       96      108      +12
==========================================
+ Hits          433      453      +20
- Misses         16       41      +25
- Partials        9       12       +3

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


Allow application to register custom AuthProviderFactory. Refs #1984

Hey, I just made a Pull Request!
Address one of the missing bits for allow custom Auth Handlers.
Refs #1984
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)

I  exported all the types currently present in the types.ts as they were already marked as export.
I added an additional function registerAuthProvider to register a custom Provider.
Please take a look at the changes and provide me feedback on this.

@Rugvip   @freben
Apologies for the rather noisy PR :sweat_smile: !
There is a prettier check failing, that I will try to fix.
I have done my best to structure the exports as per ADR004.
Please take a look at it and provide me feedback.
There is still one issue with the OAuthAdapter class:
The populateIdentity method tries to create an identity if the auth server doesn't provide one.
https://github.com/backstage/backstage/blob/master/plugins/auth-backend/src/lib/oauth/OAuthAdapter.ts#L211
The frameHandler uses this method before responding with a valid authorization message to the frontend
https://github.com/backstage/backstage/blob/master/plugins/auth-backend/src/lib/oauth/OAuthAdapter.ts#L129
The OAuthHandlers class that is wrapped by the OAuthAdapter makes idToken an optional property in
the OAuthProviderInfo type
https://github.com/backstage/backstage/blob/master/plugins/auth-backend/src/lib/oauth/types.ts#L40
This means that anyone trying to implement an OAuthHandlers can choose not to send an idToken as part of the response.
In the AuthResponse type that is the actual type of Successful authentication, the backstageIdentity is optional.
https://github.com/backstage/backstage/blob/master/plugins/auth-backend/src/providers/types.ts#L131
since both OAuthProviderInfo and AuthResponse declare idToken and backstageIdentity as optional properties,
there is an edge case, wherein an OAuth wrapper , not returning an idToken or a backstageIdentity will cause the frontendAPI to throw an error AFTER the flow succeeds on the backend, because there is no backstageIdentity object.
( I am not 100% sure how the frontend handles this,but IIRC, the frontend needs the backstageIdentity to be non-null)
My suggestion would be to a) throw an Error if there is neither an idToken not an identityObject or b) allow the implementation to be able to  choose how to create the backstageIdentity .
I would strongly lean towards the latter, as a custom implementation should take full responsibility of the actual details and that the frontend should only have a contract/API that it requires a BackstageIdenity object at the end of the auth flow with certain fields.
Please let me know your thoughts on this.

On the other hand, your PR checks are amazing. It even caught a typo in my documentation !
https://github.com/backstage/backstage/runs/1431192776?check_suite_focus=true


Migrate from tui to ratatui

With the recent release of ratatui, the tui-rs revival project, I think it would be best to support the new version to help people convert over.
There are a few other crates moving already, like ansi-to-tui.

I have added this as an optional feature: ratatui-support. The default tui feature need to be disabled.
Please try.

The ratatui-support feature works great, thanks!


initial commit of cloud tutorial notebook

Add tutorial notebook for UWG cloud demo.  This works on the 2i2c Openscapes instance

@andypbarrett I didn't realize there was a pull request already open on this branch. Hopefully my commits are descriptive enough, but essentially I just updated the notebook to match our tutorial template and changed earthdata code to earthaccess. I haven't added a rendered version of the notebook yet, as I wanted to get your feedback/suggestions first. Thanks!

I think the text, especially in the overview section, could be reworked and reordered.  There is quite a bit of repetition.  I think repetition is OK where it reinforces concepts but it is not always necessary.
I'm struggling with what the main objective of this notebook is.  On the one hand, it demonstrates using earthaccess to search for and access cloud-hosted data.  On the other hand, it demonstrates how to open ICESat-2 data in HDF5 format using xarray.  The plotting bit is an add-on to round out the workflow.  I think it would be helpful to highlight the generic nature of the search and access part.  We also need to convey that the user is in the cloud and the data is in the cloud.
I have three possible titles.

"Accessing and working data in the cloud: an example using ICESat-2."
"Accessing and working with ICESat-2 data in the cloud".
"Accessing and working with cloud-hosted ICESat-2 data in the cloud".

The first paragraph needs to be corrected.  I had originally put ATL03 but we actually use ATL06).
A suggested first paragraph:
"This notebook demonstrates searching for cloud-hosted ICESat-2 data and directly accessing a Land Ice Height (ATL06) file from an Amazon Compute Cloud (EC2) instance using the earthaccess package.   NASA data "in the cloud" are stored in AWS Simple Storage Service (S3) Buckets.  Direct Access is an efficient way to work with data stored in an S3 Bucket when you are working in the cloud.  Cloud-hosted files can be opened and loaded into memory without the need to download them first.  This allows you to take advantage of the scalability and power of cloud computing.
As an example dataset, we use ICESat-2 Land Ice Height (ATL06) over the Juneau Icefield, AK, for March 2003.  ICESat-2 data files, including ATL06, are stored in HDF5 format.  We demonstrate how to open an HDF5 and access data variables using xarray.  Land Ice Heights are then plotted using hvplot."
I have asked the cloud devs for a plain language definition of direct access.
I think the S3 token blurb can be moved to a section that describe earthaccess and why we use it.  Maybe all we need to say is that earthaccess manages getting S3 access tokens.
on-prem is jargon.  I'd have to look at some earlier discussions but I think NSIDC-DAAC hosted vs cloud-hosted might be a good way to distinguish on-prem from cloud-hosted.
Add "an AWS EC2 instance in region us-west-2" to prerequisites.
Do we need the list of packages after the prerequisites?  I forget what the template is.  If we need to have packages listed than maybe remove them from learning objectives.  However, that seems a better place for them.
In Authenticate section: "Login requires your Earthdata login and password..."
I wonder if it makes more sense for the description/explanation of what the get method returns to be after the command.
Maybe we need a sub-heading for "Searching for cloud-hosted" data.
I can't decide if "spatiotemporal" is too jargony or not.  Is "search using a geographic bounding box and date range" better?
I think now that the ICESat-2 data is public Query.hits() will return the count of files found.
We had a discussion in Openscapes about whether we should use granules (NASA-speak) or files.  The consensus was to use files.  I'm not sure what USO does.  It is probably better to be consistent.
I talk about photon clouds in the markdown but the code deals with land ice heights.  I need to change this.

@andypbarrett @asteiker this is ready for another review when you have time. Andy I have hopefully addressed all your comments. One thing I want to highlight is that I have ensured the terms granules and collections have been used throughout. I chose this instead of files and data sets because earthaccess uses the granules and collections terminology and I was trying to keep it consistent with that. I understand that openscapes have decided on files, and I did briefly raise this issue with Seamus and USO, but in short I think this needs a larger discussion about how and which terminology to use.

@jroebuck932 Thanks for raising this issue! I know that @andypbarrett and I had gone back and forth on granule vs file, as there are pros/cons to using both terms. I think guidance from SCG would be really helpful here so that we can be consistent across all our content at NSIDC. Given that earthaccess utilizes "granule" and "collection", as these are the terms used on the backend within CMR, then I think it's reasonable to stick with those.

I agree or granules vs files, etc.  Consistency is important.  I think a glossary would help to explain granules == files and collections == datasets.

I think this looks good.  A few typos and suggestions.  I ran the notebook in 2i2c and had no problems.
Here are my comments, thoughts and suggestions.
Under Learning Objectives: suggest "you" will be able rather than "we".
Prerequisites: Suggest "So you need to create an EC2 instance in the us-west-2 region"  Do we have a glossary of cloud terms or an intro to the cloud that explains instances.  If not we should explain it here.
Import Packages: "This tutorial requires the following packages:"
"This can be entered using an Environment Variable - the default strategy - or using either a.netrc file or interactively."  I am wondering if this is necessary.  Could we just say "We use a .netrc strategy.  For other strategies see earthaccess.login"
The code cell for Authentication uses "interactive" but we say we will use netrc.
Under Use Direct-Access to...  " using a package"

@andypbarrett @asteiker have made all the suggested changes. Andy please take another quick look through, and if all looks good, then before merging I will create a rendered version of the notebook to add to the repo.

The only item I see that needs to be changed is to remove the import pprint because it is not used, as far as I can see.  I'm happy to merge once that is done.

@andypbarrett thank you for making that change. Long story short I am having an issue creating an accurate rendered version of the notebook as there is a bug with the latest version of earthaccess  and the S3 access (earthaccess.open) doesn't work. So I am wondering if we want to wait until that is fixed in the new version, before we merge this? I checked with Luis and I think a new version should available next week.
In more detail, the S3 access does work with the previous version of earthaccess, but in the tutorial we state that Query = earthaccess.collection_query().keyword('ICESat-2') will list both cloud and ECS hosted data sets but with the previous version of earthaccess it will only list the cloud hosted data sets.

creating an accurate rendered version of the notebook

@jroebuck932 Is this just a problem on the rendered notebook? I'd rather this not get hung up on another release of earthaccess but I don't know if I fully understand the problem. Perhaps we could merge this without the rendered version first and come back and update with a rendered notebook after this is fixed.

@asteiker @andypbarrett I have added Readme.md and environment.yml in the notebook folder and also updated the main README.md.  I think this is ready for merging, unless you want to take a quick look at the Readme files.

We will merge this with earthaccess v0.5.0 pinned, and will update once v0.5.2 is released, along with tool metadata for the nsidc website, updated main Readme, and we may also want to caveat usability in Binder given that this requires you to be running in-region.


Add no_std support.

Renamed the "nostd" feature to "std" in order to follow the convention with most crates and to avoid any crate specifying the "nostd" feature as another crate might want "std" collections but it was disabled by the other crate.

Added an "alloc" feature in order to support no_std but additionally alloc structures.

Separated implementation modules for both "std" and "alloc".

Testing can be done as:
cargo build --no-default-features

cargo build --no-default-features --features "alloc"

cargo build

That's great. The nostd feature was a bad idea, features are supposed to be additive. Can you just rebase over the recent changes of the master branch? I've added a CI file. Please also add a test in the CI without the std feature.

@timothee-haudebourg rebased

Great! Now can you add an entry to the test job in ``so it can test without default features? Something like:
- name: Test (no default features)
      run: cargo test --no-default-features --verbose

Just want to make sure that futures changes do not improperly rely on the std or alloc features.

Added it and fixed the example and the doc test to build with and without default features enabled

Thanks!


[Bug]: Search Bar Design Is Broken

Change description

Fix the search bar border in the documentation section.

Before:

After:

Type of change

[x] Bug fix (fixes an issue)
[ ] New feature (adds functionality)

Related issues
Fix #366
Checklists
Development

[ ] Lint rules pass locally
[ ] Application changes have been tested thoroughly
[ ] Automated tests covering modified code pass

Security

[ ] Security impact of change has been considered
[ ] Code follows project security practices and guidelines

Code review

[x] Pull request has a descriptive title and context useful to a reviewer. Screenshots or screencasts are attached as necessary
[ ] Changes have been reviewed by at least one other contributor
[ ] Pull request linked to issue tracker where applicable

@olivierodo can you help me to figure out what's gone wrong?

I run the Test again. Sounds good now.

Thank you @developerHet for your contribution 🎉.
This fix will be added to the next release 1.0.0 🚀


always use endpoints, never reactor.listenXXX or connectXXX

In the future this should be TLSEndpoint, https://twistedmatrix.com/trac/ticket/5642

This PR was made through the website, so I have no idea if CI is going to pass :)

Thanks @glyph! :sparkles: :cake: :sparkles:


Rename content/github/setting-up-and-managing-your-github-profile/abo…

…ut-your-profile.md to содержание/github/настройка и управление вашим профилем на github/about-your-profile-readmi

Why:

What's being changed:

Check off the following:

[ ] All of the tests are passing.
[ ] I have reviewed my changes in staging.
[ ] For content changes, I have reviewed the localization checklist
[ ] For content changes, I have reviewed the Content style guide for GitHub Docs.

@SMAKSS I believe this one's spam 💛


Calibration: 1. Saving values in .csv

Version: c02ee50 ; branch: Dev_v1.0.0
The images will be added later
BUG: Values that are saved with a calibrated OmnAIScope are displayed as dots in the .csv file.

Problem: The values that are measured with a calibrated OmnAIScope are not pure integers anymore. They can be any negative or positive float number.
Therefore two problems occur. The first one is discussed in this issue.
After taking a measurement and pressing the save button, the popup window is opened. The function save() is used in this popup window. The problem seems to be the length of the values. Values with less then 10 digits are saved correctly (tested), values over 10 digits get a wrong format.
device1-2024-08-28T11-58.csv
As the Scope currently only measures values up to the 5th decimal place it should be fine to round the values to the 5th digit as every number after that has no real information about the measurement.
Defintion of done:
The issue is solved if the following points are fullfilled:
Data from a calibrated scope is saved as a float in the format 1.00000 in the .csv file
The changed code is commented
The software should be first uploaded here for testing and possible comments before a PR is created.

Saved a measurement using the settings below for the signal generator on my local calibrated branch.
Wave: SINE
Freq: 1 Hz
Ampl: 5 V
Offset : 0 V
Duty: 50 %
Phase: 0
Values saved in the file match the wave seemingly:

Did I miss something regarding the issue, please?

It seems that the values you measured are not values from the calibrated version. The version that has the bug is : c02ee50 in the Dev_v1.0.0 branch.

That was a result from my local branch which is a combination of Niklas's calibration branch + as few code cleanups and improvements by me.
You can check the executable for that branch feature-read-calibration-values and test both the calibration and values saving.

It is important that the scope that is tested is also calibrated. You should see seconds on the x-axis and a voltage on the y-axis.

Here's a test on the new scope.

Here's also the zipped executable for easier testing.
Still the settings (Wave: SINE, Freq: 1 Hz, Ampl: 5 V, Offset : 0 V, Duty: 50 %, Phase: 0) is used.

Did you test this with the version c02ee50 ?

Tested with this executable https://github.com/skunkforce/OmniView/actions/runs/10591202270 and it seems fine yet.
Did you test the executable I sent, please?

When i test the executable with a calibrated scope, the output has a voltage on the y-axis :

In your example an ADC Count is displayed.
Did you test the application with all the scopes you have ?

Yes, I did.
Have no idea for the y-axis label for the time being as the code has almost zero comment and looks quite messy to me, hence it's a little hard to understand what was meant.
As for saving the values, there's a 3-character room to save each value, hence the range must be: [-99,999]
If the value goes beyond the room, seemingly no value will be saved. You can observe a resembling behavior through this example.
Could you mention the expected range and values, please?

It seems your Scopes are not calibrated, therefore you can only see the ADC Counts and not a voltage.
As mentioned above the values should be rounded to the 5th decimal place, that means a value of +-1,00000.
The value for the number before the decimal point can go up to 100 currently so: +-100,00000 is the range of values.

For that we may need to extend the allocated memory to make room for 9 characters, first, and then round the floating point values to be at most 5 decimal point numbers.

https://github.com/skunkforce/OmniView/pull/174


Added tunnel arg to jenkins::slave, to support this arg for the swarm…

Support for the tunnel argument added to the Jenkins Swarm Plugin in version 1.23.

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

bump on @jhoblitt's feedback

Can this be merged plese?

Picked up in #840


mime/quotedprintable: Unable to parse UTF-8 character in body

What version of Go are you using (go version)?
1.9.2
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
linux-amd64, happens as well on windows-amd64
What did you do?
I am parsing a Slack email using mime/multipart. It contains a special character "forward quote": ’ (not the regular simple quote)
The following program reproduces the issue:
https://play.golang.org/p/jwZKGQ8fQS
What did you expect to see?
The message should be parsed properly and I should be able to get the part displayed in the log/output.
What did you see instead?
Failed to read all part: quotedprintable: invalid unescaped byte 0xe2 in body

Your forward quote is a multi-byte character and must be qp-encoded. It is not. I think mime/quotedprintable is right here.

Thanks. It is indeed what one could expect from mime/quotedprintable, however this leaves me with either bypassing entirely qp encoding, or skipping the message altogether. Considering that email displays fine in Gmail, Outlook, Thunderbird and all the popular mai clients, there is no reason I should not be able to read it as well using golang's stdlib.
The only workaround I see for now is removing Content-Transfer-Encoding: quoted-printable from the mail headers whenever the read fails, in order to bypass quotedprintable when reading the mail part body from mime/multipart's output. This is obviously not optimal. The other solution would be to fork mime/quotedprintable to add a "relaxed" flag of some sorts, allowing unencoded characters to be let through.
But IMO this flag should be in the stdlib, especially considering it doesn't seem blocking for any other parser/mail client/mail service.

In the discussion of illegal substrings of quoted-printable data, RFC 2045 says:

Control characters other than TAB, or CR and LF as parts of CRLF pairs, must not appear. The same is true for octets with decimal values greater than 126.  If found in incoming quoted-printable data by a decoder, a robust implementation might exclude them from the decoded data and warn the user that illegal characters were discovered.

So I suppose the question here is whether the mime/quotedprintable package should permit invalid bytes or not.  Right now we return an error.  One possibility would be:

upon encountering an invalid byte, if there are any bytes already read, unread the invalid byte and return the bytes read so far
if no bytes have been read so far, return the invalid byte with a new exported error
allow future reads to continue as usual

That would maintain the current behavior for most callers, while permitting callers who want to permit invalid bytes to simply ignore the new exported error and carry on as though it did not occur.

Per discussion with @bradfitz and @ianlancetaylor, let's just accept the >=0x80 bytes (for Go 1.11). CL welcome for Go 1.11.

@RalphCorderoy It's certainly not ideal, but I think our priority has to be supporting the less sophisticated user.  Since other systems are apparently doing the wrong thing, we need to support that.  The different approach I outlined a few comments above seemed too complex.  It's very simple for the sophisticated user to detect this problematic case by scanning the bytes returned from the Read method.


UAT | Judgement Order

In the judgement order, the following issues exist:

details prepopulated from case details are not displayed in order
based on the holding, final outcome is not updated on view a case page
case is not appearing in closed cases
judgement update not available on view a case overview screen  (https://www.figma.com/design/fwFYdlymVjggLOltqnXWsY/Hand-off-(Digit)?node-id=7707-99424&t=ghUMDKuebnaVwM84-0)

enhacement:
Put note as follows below judgement heading:
All documents marked as evidence will automatically be attached to the judgement. In case any additional evidences are to be considred, please mark them as an evidence from the documents tab in the case.

@vaibhavct go through this to implement judgement order types https://github.com/pucardotorg/mdms-data/blob/develop/data/pg/case/OutcomeType.json

@Taherabharmal
from where I should get these fields for judgement order?
Date of Occurence
Date of Apprehension
Date of Release on Bail
Date of Commencement of Trial
Date of close of trial
Date of sentence or Order
Offence

See mapping in functional specs sheet
Regards,
Tahera Bharmal
Product Manager
eGovernment Foundation
+91<PHONE_NUMBER>
On Tue, 13 Aug 2024 at 5:43 PM, vaibhavct @.***> wrote:

@Taherabharmal https://github.com/Taherabharmal
from where I should get these fields for judgement order?
Date of Occurence
Date of Apprehension
Date of Release on Bail
Date of Commencement of Trial
Date of close of trial
Date of sentence or Order
Offence
—
Reply to this email directly, view it on GitHub
https://github.com/pucardotorg/dristi/issues/1337#issuecomment-2286100825,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A7PRVEA7354ENVID7KSEAI3ZRHZ5BAVCNFSM6AAAAABML6QLK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBWGEYDAOBSGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

From where should I pick these values, @atulgupta2024 ?

See here, field mapped to fields collected/generated during case:
https://docs.google.com/spreadsheets/d/12tJW0ipniwRyJ9mUo4bEVmm98VZqyQdiZih7wWJ43wc/edit?gid=250166509#gid=250166509

@Taherabharmal  These fields are not coming in case search API. That is why I asked @atulgupta2024  From where I should collect these dates from
c.c. @Ramu-kandimalla

@vaibhavct  we discussed this yesterday evening. hope this is sorted out now.

Hi @rajeshcherukumalli  Please verify and confirm the issue in UAT environment

Hi @ashishbeehyv
I am still encountering issues with the judgment of the order:
1)In the 'Finding/Holding' field dropdown, the 'Partially Allowed' option is currently displayed in all capital letters. It should be formatted in standard case, with only the first letter capitalized and the rest in lowercase. https://jam.dev/c/08eacd8b-056e-47c9-9868-07db12a987cd
2)The 'Complainant's Residence' or 'Description of Complainant' is missing. (If the residence is coming from the back end, there’s no need for the description; otherwise, the description field should be shown as an optional input.) https://jam.dev/c/6275713b-aaa7-4dbb-bf09-0b4facf9cc8e
3) The 'Content' field is supposed to have an audio option as per the Figma design, but it is incorrectly showing up in the 'Sentence of Order' field.https://jam.dev/c/f6ae60e4-6c29-4311-8d9c-5e754821a8bf

Hi @ashishbeehyv, I verified the issues mentioned earlier in the solution dev env, and they are working as expected. However, today I encountered two new issues related to this ticket. Please check and address them.
1)In the judgement order, if we select 'Partially Convicted' and 'Partially Allowed' in the finding/holding field, the case does not appear with a closed status after the judgement.https://jam.dev/c/98d6cc38-1b6d-4c06-b8d8-6d0afa441db9
2)After the judgment, I am unable to click on 'View Judgment Order' in the case overview screen.https://jam.dev/c/453f237a-9548-4418-b7b4-5abb1f6b512d

Hi @Ramu-kandimalla, I have verified this ticket in the Dev solution, and it is working as expected. However, the newly added fixes are not yet reflected in the UAT solution environment. Once the fixes are applied in UAT, I will test the ticket, attach the test cases, and proceed accordingly.

Hi @devarajd94,
I have verified the judgment order for all the fixes in the UAT solution environment, and all updates have been applied as expected.
url: https://dristi-kerala-uat.pucar.org/digit-ui/employee/user/language-selection
Test Cases:
1.Verify that the Case Number field is disabled and system-filled.
2.Verify that the Name of Judge field is disabled and system-filled (Known Issue).
3.Verify that the Name of Court field is disabled and system-filled.
4.Verify that the Description of the Accused field is optional, allowing the judge to fill in data as needed.
6.Verify that the Description of the Accused Residence field is disabled and system-filled.
7.Verify that the Date of Occurrence field is disabled and system-filled.
8.Verify that the Date of Complaint field is disabled and system-filled.
9.Verify that the Date of Apprehension field is disabled and system-filled.
10.Verify that the Date of Release on Bail field is disabled and system-filled.
11.Verify that the Date of Commencement of Trial field is disabled and system-filled.
12.Verify that the Date of Close of Trial field is disabled and system-filled.
13.Verify that the Date of Sentence or Order field is disabled and system-filled.
14.Verify that the Complainant Name field is disabled and system-filled.
15.Verify that the Description of the Complainant field is optional, allowing the judge to fill in data as needed.
16.Verify that the Complainant Advocate field is disabled and system-filled.
17.Verify that the Accused Advocate field is disabled and system-filled.
18.Verify that the Offence field is disabled and system-filled.
19.Verify that under the Plea section, there are two options (Guilty and Not Guilty), and only one option can be selected at a time.
20.Verify that under the Finding/Holding section, there is a dropdown with the options: Partially Convicted, Convicted, Partially Allowed, Allowed, and Dismissed, and that the judge is able to select an option.
21.Verify that the Sentence/Order is an alphanumeric text field that allows the judge to type data.
22.Verify that the Content is an alphanumeric text field that allows the judge to either type data or use the audio option to input data.
23.Verify that clicking the "click here" link in the Witnesses section navigates the judge to the Complaint page in the View Case for that particular case.
24.Verify that clicking the "click here" link in the Marked Evidence section navigates the judge to the Documents page in the View Case for that particular case.
25.Verify that with all the different combinations of Plea and Finding/Holding, the judge should be able to click on the "Review Order" button.
26.Verify that when the judge clicks on the "Review Order" button, a popup box is displayed, showing the review order details.
27.Verify that when the judge clicks on "View Document," the document is downloaded to the system.
Verify that after clicking "Add Signature" and completing the e-sign process, the judge should be able to click on "Issue Order."
28.Verify that after clicking "Issue Order," the order should be successfully saved.
29.Verify that the case for which the judgment is given is visible in the "Closed" section under "Your Cases" after the judge goes to the home page.
30.Verify that when the judge clicks on the case for which the judgment is given, they can then click on "View Judgment Order."
31.Verify that after clicking "View Judgment Order," the judge can see the judgment order displayed.
32. Verify that after clicking the "Download Order" button, the judge can successfully download the judgment order.
Reference link: https://jam.dev/c/f8b69e58-7f8e-4c04-978d-93df5023f412
User Ids link: https://docs.google.com/spreadsheets/d/1w0RT8lHfx7T2-WaTW2DS-66THYjtyNYTw-FDoqJp5-o/edit?gid=0#gid=0

Hi @devarajd94  This issue is fixed


Use sunodo/devnet container image

📚 Context
To deploy a localnode, we're using sunodo/anvil and copying the state from sunodo/rollups-node at an initContainer.
After the release of sunodo/devnet container image, we can use it without the need to copy the anvil state from another image.
✔ Solution
Use sunodo/devnet directly for the helm-chart localnode.
Subtasks

[ ] Use sunodo/devnet;
[ ] Migrate from cartesi/rollups-cli to cast to make deployments when needed;

We have removed the localnode option from helm chart. That's why we do not need to work on this issue anymore !


First float32_to_int16, and then int16_to_float32?

during training, you transform the waveform from float32 to int16, and then back to float32.  could you tell me why ?
but in pytorch/inference.py , you don't  do this.  could you tell me why ?

He does that to save some space.
The raw data is ~ 1.1Tb, and by just this simple transformation, the datasize gets halved without much of a drawback.

He does that to save some space.
The raw data is ~ 1.1Tb, and by just this simple transformation, the datasize gets halved without much of a drawback.

thanks


Auto assign labels

THis pr updates our templates to auto assign labels, for new bugs and issue that then need to be removed when reviewed.

closing this, i changed the labels a touch


Dataset compose pipeline expalaination?

@kennymckormick,   on the line 137, 138 of pyskl/datasets/pipelines/sampling.py

i dont know the meaning of start_index variable, i have read the uniform sampling algorithm and i found that when i run the code without 2 line below, it run completely. But when i used your original code, there was the error: list index out of range and i think it caused of adding start_index to the indicies of clipping list of uniform sampling (it always + 1 to the indicies and make list out of range). Could you please check your code or explain whether i missed something?

Hi, viet-hoang-99,
I think that in this codebase, 'start_index' is always set 0. You can find that the default value of start_index is set to 0 in both PoseDataset and VideoDataset. You are experiencing some unexpected behavior, and I think the possible reason is that you implement a new dataset based on the BaseDataset, but forget to set start_index to 0.


⚠ ClamAV has degraded performance

In 07d0ae7, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 108 ms

Resolved: ClamAV performance has improved in a81efdf after 5 minutes.


QtTesting

Record Macro in Slicer should ask for the file to write AFTER the macro is recorded, not before.

@benjaminlong Could you confirm this is something you already implemented ?

No we only discute of this, because it wasn't a high priority

Ok - Thanks for clarifying.


RTMP Display Streaming

youtube audio is doing stuttering, how i can fix that?
how i can mute and unmute mic?
its likely encoding issue

youtube audio is doing stuttering, how i can fix that? how i can mute and unmute mic?

It seems encoder issue

Hi Pedro,
Any update?

Hello,
Mute audio feature is not available for now. I will add this feature in the next days.
About audio stuttering. Can you tell me audio configuration? I will try reproduce the case today and fix it.

Hello,
Mute audio feature is not available for now. I will add this feature in the next days. About audio stuttering. Can you tell me audio configuration? I will try reproduce the case today and fix it.

Hello,
Mute audio feature is not available for now. I will add this feature in the next days. About audio stuttering. Can you tell me audio configuration? I will try reproduce the case today and fix it.

private func startStreaming(endpoint: String) {
    guard let rtmpDisplay = rtmpDisplay else { return }
    rtmpDisplay.setAudioCodec(codec: .AAC)
    rtmpDisplay.setVideoCodec(codec: .H264)

    // Set the audio and video parameters
    let audioBitrate = 256 * 1024
    let audioSampleRate = 48000
    let isStereo = true
    let videoFPS = 30
    let videoBitrate = 13500
    let iFrameInterval = 2
    let rotation = 0

    // Prepare audio and video
    if rtmpDisplay.prepareAudio(bitrate: audioBitrate, sampleRate: audioSampleRate, isStereo: isStereo) && rtspDisplay.prepareVideo(fps: videoFPS, bitrate: videoBitrate, iFrameInterval: iFrameInterval, rotation: rotation) {

        do {
            // Configure and activate the audio session
            try AVAudioSession.sharedInstance().setCategory(.playAndRecord, options: [.defaultToSpeaker, .mixWithOthers])
            try AVAudioSession.sharedInstance().setActive(true)
        } catch {
            print("Failed to set audio session category: \(error)")
        }

        // Start the stream
        rtmpDisplay.startStream(endpoint: endpoint)
    } else {
        print("Failed to prepare audio or video.")
    }

}

here is my config

Hi @pedroSG94,
Did you check the issue?

Hello,
I will start with this today

Hello,
I will start with this today

thank you

private func writeNaluSize(buffer: inout [UInt8], offset: Int, size: Int) {
// Check if size is within the range of a 32-bit unsigned integer
guard size <= UInt32.max else {
fatalError("Size exceeds maximum value of a 32-bit unsigned integer")
}
buffer[offset] = UInt8(size >> 24 & 0xFF)
buffer[offset + 1] = UInt8(size >> 16 & 0xFF)
buffer[offset + 2] = UInt8(size >> 8 & 0xFF)
buffer[offset + 3] = UInt8(size & 0xFF)

}
I Fixed this in RtmpH264Packet if you can implement it in next release library was making app crash

Hello,
Thank for the report but that fix will throw an error anyway. It is not a valid fix.
About the main issue. I was able to reproduce the audio issue and I'm working on it. Also, I added mute/unmute feature in the last commit:
https://github.com/pedroSG94/RootEncoder-iOS/commit/cbf7c1f9edc5fcbafc97274124c5987fa890a3ec

Hello,
Thank for the report but that fix will throw an error anyway. It is not a valid fix.
About the main issue. I was able to reproduce the audio issue and I'm working on it. Also, I added mute/unmute feature in the last commit: cbf7c1f

great to hear mute option is here, waiting for youtube audio fix and if you fix the issue with writeNaluSize as well please

Hello,
Thank for the report but that fix will throw an error anyway. It is not a valid fix.
About the main issue. I was able to reproduce the audio issue and I'm working on it. Also, I added mute/unmute feature in the last commit: cbf7c1f

new update is not being fetched by SPM

Hello,
Thank for the report but that fix will throw an error anyway. It is not a valid fix.
About the main issue. I was able to reproduce the audio issue and I'm working on it. Also, I added mute/unmute feature in the last commit: cbf7c1f

new update is not being fetched by SPM

I just upload version 0.0.3 for the mute feature. (I was waiting until finish the  fix for the audio)

Hello,
Thank for the report but that fix will throw an error anyway. It is not a valid fix.
About the main issue. I was able to reproduce the audio issue and I'm working on it. Also, I added mute/unmute feature in the last commit: cbf7c1f

new update is not being fetched by SPM

I just upload version 0.0.3 for the mute feature. (I was waiting until finish the fix for the audio)

yes 0.0.3 not showing in swift package manger

Hello,
Thank for the report but that fix will throw an error anyway. It is not a valid fix.
About the main issue. I was able to reproduce the audio issue and I'm working on it. Also, I added mute/unmute feature in the last commit: cbf7c1f

new update is not being fetched by SPM

I just upload version 0.0.3 for the mute feature. (I was waiting until finish the fix for the audio)

i can download 0.0.3 now. Mute Unmute is working fine now.

i saw you fixed "[rtmp fix send video packets too large]"
but spm not showing any update

i saw you fixed "[rtmp fix send video packets too large]"
but spm not showing any update

Hi @pedroSG94
any update in this?

Hello,
I haven't done any uploads. I'm with the audio fix and I will upload a version after that.

Hello,
I haven't done any uploads. I'm with the audio fix and I will upload a version after that.

ok thank you

Hello,
I finally found the error about audio shuttering in YT but this fix breaks others features so it is not ready yet. I will report back when all is ready and I will upload a new version

Hello,
I finally found the error about audio shuttering in YT but this fix breaks others features so it is not ready yet. I will report back when all is ready and I will upload a new version

thank you for the update, i will be waiting

Fixed and uploaded.
Try with version 0.0.4

still has same issue its less but when i speak it cracks the voice more over its not streaming directly to youtube i had to use stream forwarder

Hello,
Check again, this should be working with version 0.0.5

working perfect now, thanks a ton.
fix below issue as well please
private func writeNaluSize(buffer: inout [UInt8], offset: Int, size: Int) {
// Check if size is within the range of a 32-bit unsigned integer
guard size <= UInt32.max else {
fatalError("Size exceeds maximum value of a 32-bit unsigned integer")
}
buffer[offset] = UInt8(size >> 24 & 0xFF)
buffer[offset + 1] = UInt8(size >> 16 & 0xFF)
buffer[offset + 2] = UInt8(size >> 8 & 0xFF)
buffer[offset + 3] = UInt8(size & 0xFF)
}

fixed, thank you so much 😊


JsonLdExtensions.DeserializeObject throws away message when a required property is not in the Json

It is impossible to determine what caused the deserialization error. Consider removing "Required" attribute (why should the code enforce this).

Removed required attributes. It will be up to the implementer to include the required data defined by the standards.


Enable multi-factor authentication (MFA) to add an extra layer of security to user accounts.

accidental duplicate


Add support for aliased fields in codegen

This PR adds support for aliased fields in codegen:
query OperationName {
  id
  second_id: id
  a_float: float
  lazy {
    lazy: something
  }
}

Thanks for adding the RELEASE.md file!

Here's a preview of the changelog:

This release adds support for aliased fields when doing codegen.

Here's the preview release card for twitter:

Here's the tweet text:
🆕 Release (next) is out! Thanks to @patrick91 for the PR 👏

Get it here 👉 https://github.com/strawberry-graphql/strawberry/releases/tag/(next)


Running the command pdf(55mb) will time out.

Running the command python magic_doc/cli.py --file-path magic_doc/datas/test.pdf --output magic_doc/datas_new will time out.
magic_doc.docconv.ConvException: Convert timeout.
2024-06-21 18:08:50.926 | INFO     | main:cli_conv:103 - total cost time: 0 seconds
2024-06-21 18:08:50.926 | INFO     | main:cli_conv:104 - total convert error: 0
2024-06-21 18:08:50.926 | INFO     | main:cli_conv:105 - total file broken: 0
2024-06-21 18:08:50.926 | INFO     | main:cli_conv:106 - total unsupported files: 0
2024-06-21 18:08:50.926 | INFO     | main:cli_conv:107 - total time out: 1
2024-06-21 18:08:50.926 | INFO     | main:cli_conv:108 - total success: 0
^CException ignored in: <module 'threading' from '/home/PJLAB/wangzhou/anaconda3/envs/py310/lib/python3.10/threading.py'>
Traceback (most recent call last):
File "/home/PJLAB/wangzhou/anaconda3/envs/py310/lib/python3.10/threading.py", line 1537, in _shutdown
atexit_call()
File "/home/PJLAB/wangzhou/anaconda3/envs/py310/lib/python3.10/concurrent/futures/thread.py", line 31, in _python_exit
t.join()
File "/home/PJLAB/wangzhou/anaconda3/envs/py310/lib/python3.10/threading.py", line 1096, in join
self._wait_for_tstate_lock()
File "/home/PJLAB/wangzhou/anaconda3/envs/py310/lib/python3.10/threading.py", line 1116, in _wait_for_tstate_lock
if lock.acquire(block, timeout):

try to increase the time-out param


Spawning operation on new thread if remaining stack space becomes too small

apply_helper
put_parcel

This should solve the stack-overflows which are assumed to cause problems like reported in #2171

LGTM!


Add spin kinesis trigger plugin info

Content must go through a pre-merge checklist.
Pre-Merge Content Checklist
This documentation has been checked to ensure that:

[x] The title, template, and date are all set
[x] Does this PR have a new menu item (anywhere in templates/*.hbs files) that points to a document .md that is set to publish in the future? If so please only publish the .md and .hbs changes in real-time (otherwise there will be a menu item pointing to a .md file that does not exist)

No new menu item

[x] File does not use CRLF, but uses plain LF (hint: use cat -ve <filename> | grep $'\r' | wc -l and expect 0 as a result)
[x] Has passed bart check

Ran: bart check content/api/hub/plugin_spin_kinesis_trigger.md
Output: ✅ content/api/hub/plugin_spin_kinesis_trigger.md

[x] Has been manually tested by running in Spin/Bartholomew (hint: use PREVIEW_MODE=1 and run npm run styles to update styling)
[x] Headings are using Title Case
[x] Code blocks have the programming language set to properly highlight syntax and the proper copy directive
[x] Have tested with npm run test and resolved all errors

All the errors were transient. The links are valid!

[x] Relates to an existing (potentially outdated) blog article? If so please add URL in blog to point to this content.

Blog has not yet been published, but I will add a link soon!

I will merge this once CI passes. Thanks for this @ogghead


[Question]: bat file execution from host machine

Question
How can I execute a bat file inside the docker container using "docker exec" command from the host machine?

Thanks for the replay :-)
My requirement is simple, I just want to trigger a program or a script from my host machine to the Windows container on demand.


SyncStatus component

Not hooked up to anything. Not sure if that was part of the scope of this ticket - if it is, would be happy to work on that.
The animation part was split off into KBFS-4039.
This also might need a few tweaks to get it to pass lint after the base branch songgao/KBFS-4019-KBFS-4020 is merged into master (#16804).
Issue: KBFS-4012

So I started to add this to various places, and realized it'd be nice to move fs/sync-status into fs/common/sync-status (either inside its own dir or as two files), and export that in fs/common/index.js. Also now that we have the feature flag (kbfsOfflineMode), we can check for that flag in the container, and return ()=>null in container if the flag is disabled. Does it sound good?

I have rebased on master and fixed all the comments. Will merge when CI passes.


I can verify my phone with ANY random number

v: barong 2.3.45
When I add a phone number I can enter ANY random code and the phone verifies

@sundanny26  That is expected if you have "mock" policy for phone verification, which acts exactly as you have described)
check if you have configured BARONG_PHONE_VERIFICATION env
Please check corresponding documentation
https://github.com/openware/barong/blob/2-3-stable/docs/configuration.md#twilio-configuration

Worked like a charm. Thnks mate


Manage group memberships via RBAC

Adds possibility to manage group memberships for users.

WIP
Closes #17
Checklist

[ ] Keep pull requests small so they can be easily reviewed.
[x] Update the documentation.
[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog
[x] Link this PR to related issues.

I actually tried to set up unit tests with Go. However, I was not able to find the API spec for Users or Groups for rbac.authorization.k8s.io. I couldn't find any references to Group struct which would be parsed from the output YAML. The RBAC v1 spec in https://github.com/kubernetes/api/blob/master/rbac/v1/types.go doesn't provide it.
I'll try re-creating our own types.

I tried by creating our own type. Unfortunately not so easy to include in the kubernetes schemes. I propose to leave the unit test for later. At least it's testable manually by inspecting the output yaml when playing around in tests/defaults.yml


feat: Check if token is a JWT

What kind of change does this PR introduce?

Check if token arg is a JWT string.
Based (but not copied) from https://github.com/supabase/supabase-js/blob/6193a967a8d07605889446e9eabab149a275ee54/src/lib/helpers.ts#L75

I have a PR open for this on the supabase-py repo https://github.com/supabase/supabase-py/pull/977

https://github.com/supabase/functions-py/pull/159#issuecomment-2459610986


Add Key Vault quickstart guide for java

Add java quickstart to https://docs.microsoft.com/en-us/azure/key-vault/

Thanks for reporting this @lenala -- @kaerm is tracking our docs.microsoft.com update for Preview 5.  @kaerm could you comment?
/cc @g2vinay

Currently in the process of writing! //cc: @msmbaldwin

And done: https://docs.microsoft.com/en-us/azure/key-vault/quick-create-java


Enhancement: SES 303 multi channel node: SES 002 default node names

Hi @hankolsen
Thank you very much for the smart secure app and for supporting the SES 303 device including the SES 002 external temperature sensor nodes. I'am using Homey Pro since approximately two weeks and from the beginning my "Secure Meters" do work like a charm :)
The only issue regarding usability occurs when trying to distinguish between SES 002 sensor nodes

within the device detail view (see 1st screenshot below) or
when trying to find the correct flow trigger card as shown in the 2nd screenshot below.

It seems that the former node specific names have been removed with c785124606ebd5abb461391ce4adf1f43d4d0f8a . So, all temperature nodes are currently named as "Temperature".
Would it be possible to get some default names/titles back such as "Temperature EXT 1, 2, 3, 4" or so?
Thank you very much for your effort 🥇
Happy new year 2022!
Regards,
Claudio

Thank you for your suggestion @theSequencer82 !
I'll take a look!

@theSequencer82 could you please try to install the test version (https://homey.app/a/com.horstmann/test/) 0.7.0 and see if it solves your problem

THX @hankolsen
I installed v 0.7.0 and restarted the Homey, but the names of the temperature sensor nodes remain the same.
Do I have to uninstall the app first before installing V 0.7.0?
Or do I have to reinclude the devices to get the capabilitiesObj updated?
Homey-App-com-horstmann.txt
Homey-Device-SES303.txt

You don't have to uninstall the app, however, I would like to see if anything changes by re-including the devices.
I am also not sure how and those names are populated so this is a matter of trial and error :)

@theSequencer82 please try the new test version v0.7.1

Hi @hankolsen
Great, it works. Node specific titles now are shown :)
Installing V0.7.1 already led to the update of the titles. So there was no need to re-include the devices first.
Nevertheless I did re-include one of my Secure meters just to confirm if inclusion still works on V0.7.1
Thank you very much for your effort!
Best Regards,
Claudio

(Btw.: The android app shows titles with capitol letters.)

@all-contributors please add @theSequencer82  for idea


Why appear 0 unaccepted, 0 waiting, 0 processing？

I use offline example.
When I use tensor_parallel_size=1, pipeline_parallel_size=1, the result is correct. But when tensor_parallel_size=2, pipeline_parallel_size=2， it will loop infinitely. As show below.
INFO 03:52:48 (decoding) 0 unaccepted, 0 waiting, 0 processing
INFO 03:52:49 (context) 0 waiting, 0 finished but unaccepted, 6 blocks occupied by on-the-fly requests
INFO 03:52:49 (decoding) CPU blocks: 0 / 128 (0.00%) used, (0 swapping in)
INFO 03:52:49 (decoding) GPU blocks: 0 / 2916 (0.00%) used, (0 swapping out)
INFO 03:52:49 (decoding) 0 unaccepted, 0 waiting, 0 processing
INFO 03:52:50 (context) 0 waiting, 0 finished but unaccepted, 6 blocks occupied by on-the-fly requests
INFO 03:52:50 (decoding) CPU blocks: 0 / 128 (0.00%) used, (0 swapping in)
INFO 03:52:50 (decoding) GPU blocks: 0 / 2916 (0.00%) used, (0 swapping out)
INFO 03:52:50 (decoding) 0 unaccepted, 0 waiting, 0 processing
INFO 03:52:51 (context) 0 waiting, 0 finished but unaccepted, 6 blocks occupied by on-the-fly requests
INFO 03:52:51 (decoding) CPU blocks: 0 / 128 (0.00%) used, (0 swapping in)
INFO 03:52:51 (decoding) GPU blocks: 0 / 2916 (0.00%) used, (0 swapping out)
INFO 03:52:51 (decoding) 0 unaccepted, 0 waiting, 0 processing

Here is my code. Thank you.
import argparse
import os
from distserve import OfflineLLM, SamplingParams
from distserve.config import (
    ModelConfig,
    DisaggParallelConfig,
    ParallelConfig,
    CacheConfig,
    ContextStageSchedConfig,
    DecodingStageSchedConfig
)
os.environ['CUDA_VISIBLE_DEVICES']='2,3,4,5,6,7'
parser = argparse.ArgumentParser()
parser.add_argument('--model', type=str, help='The model to use', default='/home/xiaoxu/test/Llama-2-7b-hf')
args = parser.parse_args()

prompts = [
    "Life blooms like a flower. Far away or by the road. Waiting",
    "A quick brown fox",
    "Artificial intelligence is",
    "To be or not to be,",
    "one two three four"
]
sampling_params = SamplingParams(
    temperature=0.8, top_p=0.95, max_tokens=64, stop=["\n"]
)
llm = OfflineLLM(
    model_config=ModelConfig(
        model=args.model,
        tokenizer=None
    ),
    disagg_parallel_config=DisaggParallelConfig(
        context=ParallelConfig(
            tensor_parallel_size=2,
            pipeline_parallel_size=2
        ),
        decoding=ParallelConfig(
            tensor_parallel_size=1,
            pipeline_parallel_size=1
        )
    ),
    cache_config=CacheConfig(
        block_size=16,
        max_num_blocks_per_req=1024,
        gpu_memory_utilization=0.9,
        cpu_swap_space=1.0
    ),
    context_sched_config=ContextStageSchedConfig(
        policy="fcfs",
        max_batch_size=4,
        max_tokens_per_batch=16384
    ),
    decoding_sched_config=DecodingStageSchedConfig(
        policy="fcfs",
        max_batch_size=4,
        max_tokens_per_batch=16384
    )
)
outputs = llm.generate(prompts=prompts, sampling_params=sampling_params)
for prompt, step_outputs in zip(prompts, outputs):
    # new_token_ids = [step_output.new_token_id for step_output in step_outputs]
    # output_text = llm.tokenizer.decode(new_token_ids)
    print(
        f"Prompt: {prompt!r}, Generated text: {' '.join([step_output.new_token for step_output in step_outputs])} ({len(step_outputs)} tokens generated)."
    )

hi Le, I had the same problem, have you solved it yet?

I face the same problem, the move upwards, you can see the problem like this:
(ParaWorker pid=1955026) Error: Peer-to-peer access is unsupported on this platform.
(ParaWorker pid=1955026) In the current version of distserve, it is necessary to use a platform that supports GPU P2P access.
(ParaWorker pid=1955026) Exiting...
Idk how to solve the problem, maybe you can @me if you have any solutions, thank you.

hi Le, I had the same problem, have you solved it yet?你好，Le，我也遇到了同样的问题，你现在解决了吗？

I think if you want to use pp, you need to have multiple nodes. This is my guess。And TP can be used correctly.

hi Le, I had the same problem, have you solved it yet?你好，Le，我也遇到了同样的问题，你现在解决了吗？

I think if you want to use pp, you need to have multiple nodes. This is my guess。And TP can be used correctly.

i use CUDA_VISIBLE_DEVICES=0 python examples/offline.py , and it show :
(autoscaler +6s) Tip: use `ray status` to view detailed cluster status. To disable these messages, set RAY_SCHEDULER_EVENTS=0.
(autoscaler +6s) Error: No available node types can fulfill resource request defaultdict(<class 'float'>, {'GPU': 2.0}). Add suitable node types to this cluster to resolve this issue.
(autoscaler +41s) Error: No available node types can fulfill resource request defaultdict(<class 'float'>, {'GPU': 2.0}). Add suitable node types to this cluster to resolve this issue.

It doesn't seem to be a problem with multiple nodes, but it may be caused by specifying the local model with --model.
You can convert the model like I did, copy the relevant configuration file, and then use the converted model to verify it:
python distserve/downloader/converter.py \
--input "/workspace/models/opt-13b/*.bin" \
--output /workspace/models/distserve/opt-13b \
--dtype float16 \
--model opt

cp *.{json,txt} /workspace/models/distserve/opt-13b

and then  use：
 --model  /workspace/models/distserve/opt-13b

hi Le, I had the same problem, have you solved it yet?你好，Le，我也遇到了同样的问题，你现在解决了吗？

I think if you want to use pp, you need to have multiple nodes. This is my guess。And TP can be used correctly.

i use CUDA_VISIBLE_DEVICES=0 python examples/offline.py , and it show :
(autoscaler +6s) Tip: use `ray status` to view detailed cluster status. To disable these messages, set RAY_SCHEDULER_EVENTS=0.
(autoscaler +6s) Error: No available node types can fulfill resource request defaultdict(<class 'float'>, {'GPU': 2.0}). Add suitable node types to this cluster to resolve this issue.
(autoscaler +41s) Error: No available node types can fulfill resource request defaultdict(<class 'float'>, {'GPU': 2.0}). Add suitable node types to this cluster to resolve this issue.

It doesn't seem to be a problem with multiple nodes, but it may be caused by specifying the local model with --model. You can convert the model like I did, copy the relevant configuration file, and then use the converted model to verify it:
python distserve/downloader/converter.py \
--input "/workspace/models/opt-13b/*.bin" \
--output /workspace/models/distserve/opt-13b \
--dtype float16 \
--model opt

cp *.{json,txt} /workspace/models/distserve/opt-13b

and then use：
 --model /workspace/models/distserve/opt-13b

Your comment works well, now I can run it. Thanks for your help!


Add get chain id method as per EIP 695

Is your feature request related to a problem? Please describe.
EIP-695 adds a new JSON rpc method. Sadly, they did not include an OpenRPC method definition in the EIP. It is now being marked as final, but can still be improved with an OpenRPC method def.
Describe the solution you'd like
Write the method definition, and PR it back to the EIP, as well as this repo.
Additional context
https://github.com/ethereum/EIPs/blob/master/EIPS/eip-695.md

This method is already defined here:
https://github.com/etclabscore/ethereum-json-rpc-specification/blob/5cf0b4fbae8f760923bc3fa6a6fc776775334093/openrpc.json#L148-L162
could PR that definition to EIP-695?

oh yea! nice


Incorrect trace values

These 2 both have a value of 855.
#define UX_TRACE_DEVICE_STACK_CONFIGURATION_GET                         (UX_TRACE_DEVICE_STACK_EVENTS_BASE + 5)             /* I1 = configuration value                                                                         /
#define UX_TRACE_DEVICE_STACK_CONFIGURATION_SET                         (UX_TRACE_DEVICE_STACK_EVENTS_BASE + 5)             / I1 = configuration value                                                                         */
Within TraceX, 856 shows as Event: ux_trace_device_stack_configuration_set (856). The actual event was UX_TRACE_DEVICE_STACK_CONNECT, so I think UX_TRACE_DEVICE_STACK_CONFIGURATION_SET and below are all off by 1.

@sbertin-telular thank you for the feedback we will look into this and get back to you.

IDs are updated in USBX 6.1.8

Thank yoiu.


Automatically re-authenticate when session expires

Every so often, the plugin will receive a 502 response. When this happens, the plugin should automatically re-authenticate. Currently, must restart the plugin.
[7/16/2024, 8:13:12 AM] [homebridge-abode-lights] Caught an unhandled exception: AxiosError: Request failed with status code 502.
[7/16/2024, 8:13:12 AM] [homebridge-abode-lights] Failed to performAuth: Request failed with status code 502
[7/16/2024, 8:13:12 AM] [homebridge-abode-lights] Failed to initialize: Failed to sign into Abode account

testing with 2.0.1-alpha


AttributeError: 'PredNet' object has no attribute 'units'

Hi,
I'm using python=2.7, tensorflow=1.5.0, keras=2.0.2 and I'm facing issue with prednet_train.py
Traceback (most recent call last):
  File "train.py", line 59, in <module>
    errors = prednet(inputs)    # (?, nt, nb_layers)
  File "/home/ubuntu/.virtualenvs/keras_tf/local/lib/python2.7/site-packages/keras/layers/recurrent.py", line 252, in __call__
    return super(Recurrent, self).__call__(inputs, **kwargs)
  File "/home/ubuntu/.virtualenvs/keras_tf/local/lib/python2.7/site-packages/keras/engine/topology.py", line 554, in __call__
    output = self.call(inputs, **kwargs)
  File "/home/ubuntu/.virtualenvs/keras_tf/local/lib/python2.7/site-packages/keras/layers/recurrent.py", line 269, in call
    initial_states = self.get_initial_states(inputs)
  File "/home/ubuntu/.virtualenvs/keras_tf/local/lib/python2.7/site-packages/keras/layers/recurrent.py", line 218, in get_initial_states
    initial_state = K.tile(initial_state, [1, self.units])  # (samples, output_dim)
AttributeError: 'PredNet' object has no attribute 'units'

I'm facing the same issue. How did you solve it?

I faced similar issue as well. Were you able to resolve this issue?


[Rough Nights & Hard Days] console error when initialize rnhd

foundry.js:59187 Error: could not parse spell damage. See console for details
fetch @ foundry.js:59187
_remove @ foundry.js:59171
(anonymous) @ foundry.js:59190
From<EMAIL_ADDRESS>10.291wfrp4e: 6.3.1wfrp4e-core: 3.0.4wfrp4e-rnhd: 3.0.3wfrp4e-starter-set: 3.0.2Active Modules: babele, easy-target, lib-wrapper, token-action-hud, translation-core-it, wfrp4e-it-translation

Closing as non-reproducible


Pyinstaller Packing problem

Thanks for this project!
I found a packaging problem with Pyinstaller
Here is my example code
from curl_cffi import requests
r = requests.get("https://www.zoopla.co.uk/to-rent/branch/johns-and-co-nine-elms-london-68981", impersonate="chrome101")
print(r.text)

It works fine
When I package it with pyinstaller
pyinstaller -F example.py

This error occurred at runtime
Traceback (most recent call last):
  File "ProjectTb\cffi_test\Test.py", line 1, in <module>
  File "PyInstaller\loader\pyimod02_importers.py", line 493, in exec_module
  File "curl_cffi\__init__.py", line 9, in <module>
ModuleNotFoundError: No module named '_cffi_backend'
[13448] Failed to execute script 'Test' due to unhandled exception!

Sometimes they report it wrong
curl_cffi.CurlError: Failed to perform, ErrCode: 77, Reason: error setting certificate verify locations:CAfile: C:\Us
ers\25605\AppData\Local\Temp\_MEI30202\curl_cffi cacert.pem CApath: none

The reason is that the cffi lib and the cert file were not included in your package. You can mannually add them by the following options:
pyinstaller -F .\example.py --hidden-import=_cffi_backend --collect-all curl_cffi

So here we go again with the previous example and this time I'm running it in Windows 11 but this time the error is different
Traceback (most recent call last):   File "ProjectTb\ZooplaGUI20230514\test.py", line 7, in <module>   File "PyInstaller\loader\pyimod02_importers.py", line 352, in exec_module   File "curl_cffi\__init__.py", line 32, in <module> ImportError: DLL load failed: 找不到指定的模块。 [3932] Failed to execute script 'test' due to unhandled exception!
I found this error during the packing process and I don't know if this is the cause
327 WARNING: lib not found: libcurl-cbb416caa1dd01638554eab3f38d682d.dll dependency of c:\users\25605\appdata\local\programs\python\python37\lib\site-packages\curl_cffi\_wrapper.pyd

Please see if #48 fixes your issue.


Remove non-unique fields in generating workerid

What changes are proposed in this pull request?
remove containerHost from workernetaddr.dumpMainInfo as in k8s we can not ensure containerHost kept the same after restart
Why are the changes needed?
both workerId generation and consistent hash ring generation is from WorkerNetAddress.dumpMainInfo, in which containerHost is part of the fields to generate unique workerId, but in k8s containerHost will change after restart worker pod, therefore removing it in  dumpMainInfo.
Does this PR introduce any user facing changes?
N/A

@LuQQiu  @ssz1997  @dbw9580 FYI

Close this PR as we are persisting uuid for workers


Icons added: Jakdojade, vFlat, reVanced Extended

Type of change

:x: Bug fix (non-breaking change which fixes an issue)
:white_check_mark: Icon addition (non-breaking change that adds/modifies Lawnicons's icons)
:x: General change (non-breaking change that doesn't fit the above categories like copyediting)

Icons addition information

Icons added

Jakdojade
vFlat
reVanced Extended

Icons linked

Vanced microG (linked com.mgoogle.android.gms to @drawable/microg_settings)

Hey! Could you change jakdojade and vflat to fit the 160x160px content area size?

Hi, I'm not quite sure what do you mean. jakdojade fits within 160x144px. vflat was slightly touching the 144x144px boundry, so I shrunk it down a bit so it fits within 144x144px.
Could you elaborate on what I'm supposed to fix?

These two icon must be 160x160 and a stroke of 12 or 8.
Jakdojade must be 160x160 instead of 160x144
Vflat must be 160x160 instead of 144x144

These two icons must be have a size of 160x160 and a stroke of 12 or 8. Jakdojade must be 160x160 instead of 160x144 Vflat must be 160x160 instead of 144x144

Ah, I see thank you. Updated.


fix: #266 with incorrect callback external_base_url

Description

Breaking change?

Example

Checklist

[ ] All tests pass
[ ] Tests added in this PR (if applicable)

 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.

We intentionally leave the EXTERNAL_BASE_URL without an explicit port so you can add it manually via ENV to its value e.g. EXTERNAL_BASE_URL=http://<IP_ADDRESS>:3099. We do this because we commonly have a reverse proxy between the API and ordhook that may use a different port from the internal EVENT_PORT. I'm going to close this PR but let me know if you have further comments. Perhaps we can make this clearer in the documentation.


Update qsim to 0.16.0 and Fix slow state cuquantum op

Fixed WORKSPACE to upgrade qsim from jaeyoo's personal repo to official quantumlib/qsim 0.16.0 for gpu support

Also, added automatic detection of libcustatevec.so file and link the .so file to cc_library
By this feature, users don't need to add CUQUANTUM_ROOT and LD_LIBRARY_PATH anymore.

There were some absl and tensorflow::errors/error side errors. I fixed them as bolierplate work.
Because new qsim provides simmux_gpu.h for gpu related simulator, changed #include in TFQ cuquantum ops.
There has been issues about state cuquantum op, which are 10x slower than that of CPU ops in qubit size = 10.

It turns out that even cublasCreate and  cuStatevecCreate for initialization takes 10x slower than the whole simulations in CPUs for 10 qubits.
So, I increased the state op test to 20 qubits. The reason why I decreased it from 20 to 10 was the ComputeLarge() in the  State cuquantum op was too much slow (over 1000 sec), so I couldn't do anything.
Meanwhile, I find out that it was using GetAmpl(), which is moving each element in 2^qubitsize amplitudes from gpu to cpu. It's too inefficient. So I used directly cudaMemcpy, and later I found out Copy() op for cudaDeviceToHost.
Now, state cuquantum op is 10x faster than that of cpu in NVIDIA T4.

LGTM


A None type code results in AttributeError

The docs say that unknown values result in KeyError so this should be fixed to raise a KeyError instead:
mobile_codes.mcc(None)
....
Traceback (most recent call last):
  ...
    country = mobile_codes.mcc(mcc)
  File "/Users/kumar/.virtualenvs/webpay/lib/python2.7/site-packages/mobile_codes/__init__.py", line 2013, in _get
    return _cache[var][':'.join(k.upper() for k in codes)]
  File "/Users/kumar/.virtualenvs/webpay/lib/python2.7/site-packages/mobile_codes/__init__.py", line 2013, in <genexpr>
    return _cache[var][':'.join(k.upper() for k in codes)]
AttributeError: 'NoneType' object has no attribute 'upper'

I don't intend to maintain this library anymore. I've added a note to the readme and sending this comment to people who have an issue on the library so you can fork it or do whatever you'd like.


[BUG]-Cisco Touch10 does not reflect correct source feedback for external sources

When using the External Source API, the Touch 10 is not reflecting the correct source feedback for the external sources
We should be sending a command if External Sources are enabled to select the correct external source.

The client opened a case with Cisco for this. Waiting to hear results from that case. Closing this issue for now.


v1.13: k8s: Restrict configuring reserved:init policy via CNP

[ ] #28007 (@joestringer)

Once this PR is merged, you can update the PR labels via:
for pr in 28007; do contrib/backporting/set-labels.py $pr done 1.13; done

or with
make add-labels BRANCH=v1.13 ISSUES=28007

/test-backport-1.13

k8s-1.19-kernel-4.19 (test-1.19-4.19) -  Provisioning failed: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.19-kernel-4.19/146/execution/node/90/log/

test-1.19-4.19

/test-1.19-4.19

/mlh new-flake Cilium-PR-K8s-1.17-kernel-4.19

/test-1.17-4.19


Add maxSpeechTimeout

Hi!
Please add maxSpeechTimeout param(ms) at listen().

example,
this.service.listen(5000).pipe(...).subscribe(...);
Where 5000 - 5000 ms after which recognition should be completed.

@starman2015
I'm sorry to be late.
It's a good idea because we didn't consider cancellation conditions.
The policy of the library is to make it as a wrapper for the API provided as standard, so we want to make timeout optional.
I also want to be able to provide other options, so what about the API below?

interface IOption {
  timeout?: number;
}

class RxSpeechRecognitionService {
  public listen(option?: IOption);
}

Thanks.

Well Done!


AttributeError: 'dict' object has no attribute 'iteritems'

Hi, I was able to install kaldi-lm-adpat. After running the command on my sentences.txt with the Zamia pretrained model, I got this error
0609 lm.arpa mymodel -w=/home/jupyter/lm_model -f
INFO:root:rm -rf =/home/jupyter/lm_model
INFO:root:copying dictionary and phoneme sets from original model...
INFO:root:creating skeleton destination model...
Traceback (most recent call last):
File "/opt/conda/bin/kaldi-adapt-lm", line 4, in
import('pkg_resources').run_script('kaldi-adapt-lm==0.1.4', 'kaldi-adapt-lm')
File "/opt/conda/lib/python3.7/site-packages/pkg_resources/init.py", line 665, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/opt/conda/lib/python3.7/site-packages/pkg_resources/init.py", line 1463, in run_script
exec(code, namespace, namespace)
File "/opt/conda/lib/python3.7/site-packages/kaldi_adapt_lm-0.1.4-py3.7.egg/EGG-INFO/scripts/kaldi-adapt-lm", line
93, in
kaldi_adapt_lm (kaldi_root, src_model_dir, lm_fn, work_dir, dst_model_name)
File "/opt/conda/lib/python3.7/site-packages/kaldi_adapt_lm-0.1.4-py3.7.egg/kaldiadaptlm/init.py", line 100, i
n kaldi_adapt_lm
misc.render_template ('%s/kaldi-path.sh.template' % tmpl_dir,  '%s/path.sh' % work_dir, kaldi_root=kaldi_root)
File "/opt/conda/lib/python3.7/site-packages/py_nltools-0.5.0-py3.7.egg/nltools/misc.py", line 307, in render_temp
late
for key, value in kwargs.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

Please check the Requirements section of this repo. For the iterItems problem, see e.g. http://docs.buildbot.net/0.9.4/developer/py3-compat.html
You can port this repo to Python 3 and share your results; or you must use Python 2.

Please check the Requirements section of this repo. For the iterItems problem, see e.g. http://docs.buildbot.net/0.9.4/developer/py3-compat.html
You can port this repo to Python 3 and share your results; or you must use Python 2.

Thanks for the reply, how. do i ensure that this uses python 2 to run?

Thanks for the reply, how. do i ensure that this uses python 2 to run?

I change the python path in vi /opt/conda/bin/kaldi-adapt-lm frpm the default python to python 2. Howver i am getting this error
kaldi-adapt-lm /home/jupyter/kaldi-generic-en-tdnn_fl-r20190609 lm.arpa mymodel -w=/home/jupyter/lm_model2 -f -v
Traceback (most recent call last):
File "/opt/conda/bin/kaldi-adapt-lm", line 4, in
import('pkg_resources').run_script('kaldi-adapt-lm==0.1.4', 'kaldi-adapt-lm')
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 3191, in
@_call_aside
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 3175, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 3204, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 583, in _build_master
ws.require(requires)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'kaldi-adapt-lm==0.1.4' distribution was not found and is required by the application

I change the python path in vi /opt/conda/bin/kaldi-adapt-lm frpm the default python to python 2. Howver i am getting this error
kaldi-adapt-lm /home/jupyter/kaldi-generic-en-tdnn_fl-r20190609 lm.arpa mymodel -w=/home/jupyter/lm_model2 -f -v
Traceback (most recent call last):
File "/opt/conda/bin/kaldi-adapt-lm", line 4, in
import('pkg_resources').run_script('kaldi-adapt-lm==0.1.4', 'kaldi-adapt-lm')
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 3191, in
@_call_aside
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 3175, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 3204, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 583, in _build_master
ws.require(requires)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'kaldi-adapt-lm==0.1.4' distribution was not found and is required by the application

You probably must repeat some preparation steps as needed. A fresh install after installing python-is-python2 sometimes work.

You probably must repeat some preparation steps as needed. A fresh install after installing python-is-python2 sometimes work.

I tried installing everything from scratch using python 2.7
sudo python2.7 setup.py install
running install
running bdist_egg
running egg_info
writing requirements to kaldi_adapt_lm.egg-info/requires.txt
writing kaldi_adapt_lm.egg-info/PKG-INFO
writing top-level names to kaldi_adapt_lm.egg-info/top_level.txt
writing dependency_links to kaldi_adapt_lm.egg-info/dependency_links.txt
reading manifest file 'kaldi_adapt_lm.egg-info/SOURCES.txt'
writing manifest file 'kaldi_adapt_lm.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/kaldiadaptlm
creating build/bdist.linux-x86_64/egg/kaldiadaptlm/templates
copying build/lib.linux-x86_64-2.7/kaldiadaptlm/templates/kaldi-cmd.sh -> build/bdist.linux-x86_64/egg/kaldiadaptlm/templates
copying build/lib.linux-x86_64-2.7/kaldiadaptlm/templates/kaldi-run-adaptation.sh -> build/bdist.linux-x86_64/egg/kaldiadaptlm/templates
copying build/lib.linux-x86_64-2.7/kaldiadaptlm/templates/kaldi-path.sh.template -> build/bdist.linux-x86_64/egg/kaldiadaptlm/templates
copying build/lib.linux-x86_64-2.7/kaldiadaptlm/templates/kaldi-model-dist.sh -> build/bdist.linux-x86_64/egg/kaldiadaptlm/templates
copying build/lib.linux-x86_64-2.7/kaldiadaptlm/init.py -> build/bdist.linux-x86_64/egg/kaldiadaptlm
byte-compiling build/bdist.linux-x86_64/egg/kaldiadaptlm/init.py to init.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
copying and adjusting kaldi-adapt-lm -> build/scripts-2.7
creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-2.7/kaldi-adapt-lm -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/kaldi-adapt-lm to 755
copying kaldi_adapt_lm.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying kaldi_adapt_lm.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying kaldi_adapt_lm.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying kaldi_adapt_lm.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying kaldi_adapt_lm.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying kaldi_adapt_lm.egg-info/.ipynb_checkpoints/PKG-INFO-checkpoint -> build/bdist.linux-x86_64/egg/EGG-INFO/.ipynb_checkpoints
copying kaldi_adapt_lm.egg-info/.ipynb_checkpoints/SOURCES-checkpoint.txt -> build/bdist.linux-x86_64/egg/EGG-INFO/.ipynb_checkpoints
copying kaldi_adapt_lm.egg-info/.ipynb_checkpoints/dependency_links-checkpoint.txt -> build/bdist.linux-x86_64/egg/EGG-INFO/.ipynb_checkpoints
copying kaldi_adapt_lm.egg-info/.ipynb_checkpoints/requires-checkpoint.txt -> build/bdist.linux-x86_64/egg/EGG-INFO/.ipynb_checkpoints
copying kaldi_adapt_lm.egg-info/.ipynb_checkpoints/top_level-checkpoint.txt -> build/bdist.linux-x86_64/egg/EGG-INFO/.ipynb_checkpoints
zip_safe flag not set; analyzing archive contents...
kaldiadaptlm.init: module references file
creating 'dist/kaldi_adapt_lm-0.1.4-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing kaldi_adapt_lm-0.1.4-py2.7.egg
removing '/usr/local/lib/python2.7/dist-packages/kaldi_adapt_lm-0.1.4-py2.7.egg' (and everything under it)
creating /usr/local/lib/python2.7/dist-packages/kaldi_adapt_lm-0.1.4-py2.7.egg
Extracting kaldi_adapt_lm-0.1.4-py2.7.egg to /usr/local/lib/python2.7/dist-packages
kaldi-adapt-lm 0.1.4 is already the active version in easy-install.pth
Installing kaldi-adapt-lm script to /usr/local/bin
Installed /usr/local/lib/python2.7/dist-packages/kaldi_adapt_lm-0.1.4-py2.7.egg
Processing dependencies for kaldi-adapt-lm==0.1.4
Searching for py-kaldi-asr
Reading https://pypi.org/simple/py-kaldi-asr/
Downloading https://files.pythonhosted.org/packages/b5/bb/0082185cfa67d63068358de9b1a65661c8dcdbe97e935809427d5881ea17/py-kaldi-asr-0.5.2.tar.gz#sha256=481c401c51ff48797a08e7eeec9ed3145a8600dc1b4699e41e26057794c49680
Best match: py-kaldi-asr 0.5.2
Processing py-kaldi-asr-0.5.2.tar.gz
Writing /tmp/easy_install-aNxuh7/py-kaldi-asr-0.5.2/setup.cfg
Running py-kaldi-asr-0.5.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-aNxuh7/py-kaldi-asr-0.5.2/egg-dist-tmp-LmZXmp
Traceback (most recent call last):
File "setup.py", line 29, in
include_package_data = True
File "/usr/lib/python2.7/dist-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 117, in do_egg_install
cmd.run()
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 443, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 685, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 732, in install_item
self.process_distribution(spec, dist, deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 777, in process_distribution
[requirement], self.local_index, self.easy_install
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 782, in resolve
replace_conflicting=replace_conflicting
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 1065, in best_match
return self.obtain(req, installer)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 1077, in obtain
return installer(requirement)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 704, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 730, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 915, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1183, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1169, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 253, in run_setup
raise
File "/usr/lib/python2.7/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python2.7/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 166, in save_modules
saved_exc.resume()
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-aNxuh7/py-kaldi-asr-0.5.2/setup.py", line 11, in
maintainer_email     =<EMAIL_ADDRESS>Exception: *** cython is needed to build this extension.
But cython is already installed
pip2 install cython
Requirement already satisfied: cython in /home/jupyter/.local/lib/python2.7/site-packages (0.29.21)

I tried installing everything from scratch using python 2.7
sudo python2.7 setup.py install
running install
running bdist_egg
running egg_info
writing requirements to kaldi_adapt_lm.egg-info/requires.txt
writing kaldi_adapt_lm.egg-info/PKG-INFO
writing top-level names to kaldi_adapt_lm.egg-info/top_level.txt
writing dependency_links to kaldi_adapt_lm.egg-info/dependency_links.txt
reading manifest file 'kaldi_adapt_lm.egg-info/SOURCES.txt'
writing manifest file 'kaldi_adapt_lm.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/kaldiadaptlm
creating build/bdist.linux-x86_64/egg/kaldiadaptlm/templates
copying build/lib.linux-x86_64-2.7/kaldiadaptlm/templates/kaldi-cmd.sh -> build/bdist.linux-x86_64/egg/kaldiadaptlm/templates
copying build/lib.linux-x86_64-2.7/kaldiadaptlm/templates/kaldi-run-adaptation.sh -> build/bdist.linux-x86_64/egg/kaldiadaptlm/templates
copying build/lib.linux-x86_64-2.7/kaldiadaptlm/templates/kaldi-path.sh.template -> build/bdist.linux-x86_64/egg/kaldiadaptlm/templates
copying build/lib.linux-x86_64-2.7/kaldiadaptlm/templates/kaldi-model-dist.sh -> build/bdist.linux-x86_64/egg/kaldiadaptlm/templates
copying build/lib.linux-x86_64-2.7/kaldiadaptlm/init.py -> build/bdist.linux-x86_64/egg/kaldiadaptlm
byte-compiling build/bdist.linux-x86_64/egg/kaldiadaptlm/init.py to init.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
installing scripts to build/bdist.linux-x86_64/egg/EGG-INFO/scripts
running install_scripts
running build_scripts
copying and adjusting kaldi-adapt-lm -> build/scripts-2.7
creating build/bdist.linux-x86_64/egg/EGG-INFO/scripts
copying build/scripts-2.7/kaldi-adapt-lm -> build/bdist.linux-x86_64/egg/EGG-INFO/scripts
changing mode of build/bdist.linux-x86_64/egg/EGG-INFO/scripts/kaldi-adapt-lm to 755
copying kaldi_adapt_lm.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying kaldi_adapt_lm.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying kaldi_adapt_lm.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying kaldi_adapt_lm.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying kaldi_adapt_lm.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying kaldi_adapt_lm.egg-info/.ipynb_checkpoints/PKG-INFO-checkpoint -> build/bdist.linux-x86_64/egg/EGG-INFO/.ipynb_checkpoints
copying kaldi_adapt_lm.egg-info/.ipynb_checkpoints/SOURCES-checkpoint.txt -> build/bdist.linux-x86_64/egg/EGG-INFO/.ipynb_checkpoints
copying kaldi_adapt_lm.egg-info/.ipynb_checkpoints/dependency_links-checkpoint.txt -> build/bdist.linux-x86_64/egg/EGG-INFO/.ipynb_checkpoints
copying kaldi_adapt_lm.egg-info/.ipynb_checkpoints/requires-checkpoint.txt -> build/bdist.linux-x86_64/egg/EGG-INFO/.ipynb_checkpoints
copying kaldi_adapt_lm.egg-info/.ipynb_checkpoints/top_level-checkpoint.txt -> build/bdist.linux-x86_64/egg/EGG-INFO/.ipynb_checkpoints
zip_safe flag not set; analyzing archive contents...
kaldiadaptlm.init: module references file
creating 'dist/kaldi_adapt_lm-0.1.4-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing kaldi_adapt_lm-0.1.4-py2.7.egg
removing '/usr/local/lib/python2.7/dist-packages/kaldi_adapt_lm-0.1.4-py2.7.egg' (and everything under it)
creating /usr/local/lib/python2.7/dist-packages/kaldi_adapt_lm-0.1.4-py2.7.egg
Extracting kaldi_adapt_lm-0.1.4-py2.7.egg to /usr/local/lib/python2.7/dist-packages
kaldi-adapt-lm 0.1.4 is already the active version in easy-install.pth
Installing kaldi-adapt-lm script to /usr/local/bin
Installed /usr/local/lib/python2.7/dist-packages/kaldi_adapt_lm-0.1.4-py2.7.egg
Processing dependencies for kaldi-adapt-lm==0.1.4
Searching for py-kaldi-asr
Reading https://pypi.org/simple/py-kaldi-asr/
Downloading https://files.pythonhosted.org/packages/b5/bb/0082185cfa67d63068358de9b1a65661c8dcdbe97e935809427d5881ea17/py-kaldi-asr-0.5.2.tar.gz#sha256=481c401c51ff48797a08e7eeec9ed3145a8600dc1b4699e41e26057794c49680
Best match: py-kaldi-asr 0.5.2
Processing py-kaldi-asr-0.5.2.tar.gz
Writing /tmp/easy_install-aNxuh7/py-kaldi-asr-0.5.2/setup.cfg
Running py-kaldi-asr-0.5.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-aNxuh7/py-kaldi-asr-0.5.2/egg-dist-tmp-LmZXmp
Traceback (most recent call last):
File "setup.py", line 29, in
include_package_data = True
File "/usr/lib/python2.7/dist-packages/setuptools/init.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/usr/lib/python2.7/dist-packages/setuptools/command/install.py", line 117, in do_egg_install
cmd.run()
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 443, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 685, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 732, in install_item
self.process_distribution(spec, dist, deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 777, in process_distribution
[requirement], self.local_index, self.easy_install
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 782, in resolve
replace_conflicting=replace_conflicting
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 1065, in best_match
return self.obtain(req, installer)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 1077, in obtain
return installer(requirement)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 704, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 730, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 915, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1183, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python2.7/dist-packages/setuptools/command/easy_install.py", line 1169, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 253, in run_setup
raise
File "/usr/lib/python2.7/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python2.7/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 166, in save_modules
saved_exc.resume()
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/usr/lib/python2.7/dist-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/tmp/easy_install-aNxuh7/py-kaldi-asr-0.5.2/setup.py", line 11, in
maintainer_email     =<EMAIL_ADDRESS>Exception: *** cython is needed to build this extension.
But cython is already installed
pip2 install cython
Requirement already satisfied: cython in /home/jupyter/.local/lib/python2.7/site-packages (0.29.21)


Create login authN page for CLI

Modeling how the OpenShift client works, we want to create a login endpoint that could return a message like the following to let you know where the /oauth/token/request page is located:
$ oc login
You must obtain an API token by visiting https://foo.bar/oauth/token/request

This does not have to be a protected endpoint since this is general info.
Maybe /login?

@marshallmcdonnell And presumably if there is no oauth or you presented valid credentials to it, it returns an HTTP OK?

@SmithRWORNL yes, that sounds good! Except with Username and Password, it won't really "log you in" for now :grin:

Closed via https://github.com/smart-spectral-matching/ssm-service-catalog/pull/4


(Firmware) Rotate console log

Original report by Brian Calder (Bitbucket: brian_r_calder, ).

The console log on the system can become significantly larger than the data, since it records all new files and each reboot.  This is not ideal.  The log should therefore be managed as a grandfather-father-son with rotation at a configured size to ensure that it never gets larger than a given volume.

Original comment by Brian Calder (Bitbucket: brian_r_calder, ).

Resolved in firmware 1.5.0, commit 3cf09437, tag "firmware-1.5.0"


[Bazel] Updated bazel-skylib

It appears that gRPC needs to upgrade bazel-skylib to 1.7.x or later to have the latest protobuf
(Context: https://github.com/protocolbuffers/protobuf/issues/17687)
Two minor things are done

Removed --spawn_strategy=remote to resolve errors related to https://github.com/bazelbuild/bazel/issues/7480
Upgraded bazelbuild/platforms to 0.0.10

Tested using an adhoc build; https://fusion2.corp.google.com/ci;ids=1930537984/kokoro/prod:grpc%2Fcore%2Fmaster%2Flinux%2Fgrpc_interop_matrix/activity/2a6047ac-1dc3-4075-9bb1-4261463d0665/log


wallet-ext: send keypair to UI instead of entropy

ts-sdk: allow keypairs to be exported
this will allow us to use different keypairs without making the UI aware of how the keypair was created
this will help us to support multiple accounts

closes: APPS-205

@pchrysochoidis ooc: what's the behavior in other popular wallets (ie metamask), are they loading entropy, private keys or keypairs?

@pchrysochoidis ooc: what's the behavior in other popular wallets (ie metamask), are they loading entropy, private keys or keypairs?

It depends the keyring type I think. I think metamask for example stores in extension storage the mnemonic and then derives keypairs from it. For simple keypairs (when you import an account) it uses the private only. (I had a quick look can investigate more if needed)


testing build job trigger

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: roshanirathi
To complete the pull request process, please assign jzhoucliqr
You can assign the PR to them by writing /assign @jzhoucliqr in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

Hi @roshanirathi. Thanks for your PR.
I'm waiting for a spectrocloud member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

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