Add issue templates

What kind of PR is this?
Enhancement to GitHub issue templates
What does does this PR do / why we need it:
In order to streamline / enhance GitHub bug submission and to direct
users, we must create issue templates to appropriately submit issues.
This PR:

Adds descriptions with regards where to ask for support
(StackOverflow, Slack, documentation) before submitting asking
developers
Adds improvement to the bug report process

Which issue(s) this PR fixes:
N/A
How to test changes / Special notes to the reviewer:
Yes. Before merging, it's suggested to create the enhancement label in
order to appropriately label all incoming enhancement issues.
Signed-off-by: Charlie Drage<EMAIL_ADDRESS>

The inspiration for this comes from:
https://github.com/kubernetes/kubernetes/tree/master/.github/ISSUE_TEMPLATE

similar to #7179, can you use the issue template in the Helm 2 branch instead? https://github.com/helm/helm/blob/dev-v2/.github/ISSUE_TEMPLATE.md
once that's in place, we can discuss the limitations with that template in an issue and go from there. It's best to bring up the discussion first so others can chime in before coming to a solution.

I've opened up https://github.com/helm/helm/issues/7190 with regards to having a discussion with regards to issue templating @bacongobbler

Thanks.


Migrate eslint-config-edx

JIRA Issue: https://openedx.atlassian.net/browse/BOM-3387
DESC
This PR replaces the deprecated eslint-config-edx with the newer @edx/eslint-config package.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


how to compile nvidia caffe fork with cudnn v5

I want to install DIGITS from scratch.
I have 2 questions:

Does the nvidia caffe fork version 0.15.9 or nvdia caffe master support compiled with cudnn v5 ?
If it does support cudnn v5, how can i enable the feature in cmake project, because the document suggest to use Cmake to compile the project.
I already know how to configure the feature in raw makefile, but no idea with cmake.

Hello, Nvidia Caffe 0.15.9 supports CuDNNv5. If you installed CuDNNv5 using sudo apt-get install libcudnn5-dev (see prerequisites) then Cmake will find it automatically.
You should not use the master branch of Nvidia Caffe.

Thanks, it works.


Restarting a killed job

If dbotu3 is killed while it's running, there should be a way to recover so that you don't have to start over from scratch. Any ideas about how to make this happen?

Ideally, all the relevant information is included in the log file. We could read that in, find which sequences have been merged, and which sequences have been fixed as their own OTUs. Then the algorithm just proceeds from that point. Does that sounds like what you were hoping for?
Did the job get killed because of time or space contraints?

Time constraints. However, see my other issue with the huge log files. Any way you can not put the whole list of sequences in each OTU, but instead, just which representative OTU each sequence is associated with instead? Then you can read in the log file, get that information and rebuild the relationships from there.

I have a few more clarifying questions before I want to dive in.
First, do you have any memory problems? The current approach requires reading in the whole fasta and sequence table. I've thought of doing some fancy footwork to read in and process the data record-by-record. I'm wondering if this update should happen at the same time.
re: this and log files (#3). I'm weighing two ways to do this. In both cases, I think having a separate debug log is the way to go.
Way 1: Generate a log file that has a header with information about the run (parameter values, input/output filenames) and is continuously updated with information about new and merged OTUs. Each input sequence would create a log entry like "seqA is new OTU" or "seqB was merged into seqA".
Way 2: At regular intervals (say, every 1000 input sequences), pickle an object that carries information about the parameter values, the input data, and the current algorithm progress. (This is basically the DBCaller object without the input/output filehandles.) Separately, the program will spit out some information about its progress (maybe sending that info to stderr).
In way 1, it is easy to create the log and it is human-readable. Cons are that the log could still become large, that restarting a run would require re-reading all the data, and that it will be more work to write the code to restart the run.
In way 2, the pickled object is a file that is a self-contained state of the run. You don't need any external files or anything to restart the run. Also, the size of the pickled object is fixed: its size shouldn't exceed the combined size of the input and final output. However, making that object will be more of a pain, and if you are running dbotu as a job on a cluster, you will probably capture stderr to a file anyway, which means you are effectively creating the log file from way 1.
I think in #3 you suggested that the log file be basically like the membership file (one line per OTU; representative sequence ID is the first field, member sequence IDs are the rest of the fields). This saves space, but it's problematic to update on disk on the fly: you'd basically be writing the current membership file at every step in the algorithm. You also lose the temporal aspect: you don't necessarily know which sequence was processed last.
I'm thinking to go with way 1. Questions? Thoughts?

Making a re-start script would be fine as well, although I'm not sure I follow what will happen with the "ad-hoc" table. Is the table going to only contain OTU representative sequences and remove and that were merged by this point? If so, that's difficult, because you couldn't figure out which sequences were assigned into which OTU from this abbreviated table. Also, you will still have to go through the comparison of all those OTUs again, which is redundant and as you said might result in a different answer. I think the resulting output files should be identical whether the script is re-started or not. As long as that happens, it should be fine.

Word. This does seem like a weird way to go about it. I reverted to way 1 and implemented the restart script on a branch. Have a look, maybe try it out. If it looks good, I'll merge it into the main repo.

Great! Our cluster is going down for maintenance soon, so that will give me the opportunity to try this new restart command. I'll let you know how it goes.

So I finally got around to checking out the restart function. I ran this:
python ~/work/lib/dbotu3/dbotu.py unique.f0.mat unique.fa -o unique.output.txt -
l unique.output.log -m unique.membership -a 0
After 4 days, this process was killed, so I restarted it with:
python ~/work/lib/dbotu3/scripts/restart_dbotu.py unique.output.log
But I got this error:
Traceback (most recent call last):
File<EMAIL_ADDRESS>line
98, in
restart_dbotu_run(args.log)
File<EMAIL_ADDRESS>line
76, in restart_dbotu_run
raise RuntimeError('progress log item "{}" is not a string or 2-item list'.f
ormat(elt))
RuntimeError: progress log item "None" is not a string or 2-item list
Any ideas?

It seems like the log file is overwritten upon I restart. Does it loose information, depending on when/how it dies?

I think I know what's going on, but I'll need to see the log file to debug
this. Maybe you can do a short run that gets killed (wall time of 10
minutes or something?).
I suppose I should also write something so that, if the parsing fails, the
original log file doesn't get overwritten. I'll look into that.
On Tue, May 30, 2017 at 2:09 PM spacocha<EMAIL_ADDRESS>wrote:

It seems like the log file is overwritten upon I restart. Does it loose
information, depending on when/how it dies?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/swo/dbotu3/issues/2#issuecomment-304961446, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACbmk8b3KmlgZOxakXnpoVX6DkCG2D4fks5r_Fs8gaJpZM4NCHUf
.

--
Scott Olesen, PhD
Postdoctoral Fellow
Harvard School of Public Health
scottolesen.com

Well, I can't give you the original log file for the above error, but I have another job which ended with what seems to be a similar error:
Traceback (most recent call last):
File<EMAIL_ADDRESS>line 98, in
restart_dbotu_run(args.log)
File<EMAIL_ADDRESS>line 15, in restart_dbotu_run
header, progress = yaml.load_all(f)
File<EMAIL_ADDRESS>line 83, in load_all
yield loader.get_data()
File<EMAIL_ADDRESS>line 33, in get_data
return self.construct_document(self.get_node())
File<EMAIL_ADDRESS>line 27, in get_node
return self.compose_document()
File<EMAIL_ADDRESS>line 55, in compose_document
node = self.compose_node(None, None)
File<EMAIL_ADDRESS>line 82, in compose_node
node = self.compose_sequence_node(anchor)
File<EMAIL_ADDRESS>line 110, in compose_sequence_node
while not self.check_event(SequenceEndEvent):
File<EMAIL_ADDRESS>line 98, in check_event
self.current_event = self.state()
File<EMAIL_ADDRESS>line 384, in parse_block_sequence_entry
if not self.check_token(BlockEntryToken, BlockEndToken):
File<EMAIL_ADDRESS>line 116, in check_token
self.fetch_more_tokens()
File<EMAIL_ADDRESS>line 248, in fetch_more_tokens
return self.fetch_double()
File<EMAIL_ADDRESS>line 652, in fetch_double
self.fetch_flow_scalar(style='"')
File<EMAIL_ADDRESS>line 663, in fetch_flow_scalar
self.tokens.append(self.scan_flow_scalar(style))
File<EMAIL_ADDRESS>line 1154, in scan_flow_scalar
chunks.extend(self.scan_flow_scalar_spaces(double, start_mark))
File<EMAIL_ADDRESS>line 1241, in scan_flow_scalar_spaces
"found unexpected end of stream", self.get_mark())
yaml.scanner.ScannerError: while scanning a quoted scalar
in "/scratch/groups/sprehei1/data/Mystic_lake_time_series_dir/raw_data/130823Alm_dir/dbotu3/unique.output.log", line 650838, column 16
found unexpected end of stream
in "/scratch/groups/sprehei1/data/Mystic_lake_time_series_dir/raw_data/130823Alm_dir/dbotu3/unique.output.log", line 650838, column 24
The end of that log file looks like this:
[sprehei1@jhu.edu@compute0078 dbotu3]$ tail unique.output.log

["seq99057", "seq2128"]
["seq99056", "seq2629"]
["seq99055", "seq4308"]
["seq99054", "seq442"]
"seq99053"
["seq99052", "seq133"]
["seq99050", "seq186"]
["seq99048", "seq2994"]
["seq99047", "seq791"]
["seq99046", "seq4244[sprehei1@jhu.edu@compute0078 dbotu3]$

dbotu3 likely died before finishing to print the last line of the log here. Can the restart script deal with partially printed lines (especially at the end)?

Good news and bad news.
The good news: This is the problem I was guessing had happened, and I made a solution. The restart branch now has a new-and-improved restart script, which I think should work.
The bad news:

I previously used YAML for the log file, but (as you saw) the YAML parser doesn't do a good job of telling you what went wrong with your input file. In light of this, I switched to a simplified, tab-separated format. Unfortunately this means you'll need to start those jobs from scratch (or manually convert the YAML log files into the new-style log files).
I don't think I can write code that's smart enough to understand if a final line has been truncated. I could require that every line in the log file end with a newline, but this is tough to do with Python's regular file-reading functions. If I don't require that, then you a final line "merge seqX into seqY" could be interpreted as complete (merge into seqY) or incomplete (if, say, seqYZ is in the data too).
So I'm thinking to ask the user to manually edit weird log files to avoid this kind of ambiguity (or, at least, ask a human to resolve it).

Thoughts on this?

It doesn't seem like the best thing to do to ask a human to intervene- users could potentially mess it up more. Can't you just write something as simple as "end" or ";" at the end of the line to indicate if the line is complete or not? Then just look for that and if you don't have it, don't use any info from that line.

Interesting. I think your idea is that if the only kind of log error that happens are these truncated lines, people choose well-behaved sequence IDs, and folks are only using the restart script for this purpose, then it would be a bad idea to ask them to fiddle with that file.
My concerns are:

Using a record terminator like ; (or any particular character) would require telling users that they can't use that character in their sequence IDs, and then checking that they've not done it. (E.g., if someone named their sequences seq1;size=123 as per usearch then this parsing would fail.) These kinds of gotchas drive me crazy, and I don't want to foist them on someone.
I'm nervous about a restart script that does smart parsing (i.e., inferring when to drop a line) and the actual restarting. I worry that adding this kind of smart parsing will lead to some super-confusing error down the line, when someone expects that a bad log file would throw an error (rather than silently doing certain kinds of [potentially unwanted] fixes).

My compromise: I added a --drop_last option to the script. This should deal with your use case. Check out the --help message and let me know what's un/clear.
As you'll see, I also updated the log file backup behavior so that it doesn't require any manual pushing of y/n keys.
Let me know what you think!

Sarah reported that:

I tried a small test (I think on the command line) and it seems to be ok. But then, when I started over with a big analysis (I ran it for 100 hours), nothing happened in the end and everything was lost.

My first guess is that this is because output flushing: your computer flushes output (i.e., actually writes python's print commands to disk) more often than the cluster does. I propose two tests:

Submit a job that would take a long time to run, but set the wall time very short. If my theory is right, then when the job dies, the log file will be empty.
Do the same thing, but this time using the code on the new restart branch. It's the same as the old code, but I add flush=True to the log print commands. This should ensure that the every line of the log file is immediately written to disk (perhaps at a mild performance cost). If my theory is right, the log file should now exist.

If this works, I'll put that flush=True onto the main branch.

That didn't seem to work. I got this error:
Traceback (most recent call last):
File<EMAIL_ADDRESS>line 397, in
call_otus(args.table, args.fasta, args.output, args.dist, args.abund, args.pval, log=args.log, membership=args.membership, debug=args.debug)
File<EMAIL_ADDRESS>line 355, in call_otus
caller._print_progress_log('---')
File<EMAIL_ADDRESS>line 158, in _print_progress_log
print(*fields, sep='\t', file=self.progress_log, flush=True)
TypeError: 'flush' is an invalid keyword argument for this function

My bad. (Turns out import print_function imports the version of the print function that doesn't have the flush= keyword.)
I made a fix; give that a shot.

Looks like it works for both the main program and while running through the restart command.

Great. And let me know how it works when a job gets killed.


Stripe rows tables via theme and other theme nested overrides

Oftentimes we have a situation in project when we need to redefine nested elements styles via theme. (We tend to use theme instead of styling each component individually because we need extensive skinning support).
The cases:

defining different ripple color for IconButton hover/active states.
defining TableBody > TableRow stripe pattern (not just generic TableRow)
reduce icon size for ListItemIcon in MenuItem

For now that seems to be impossible to do.
We'd expect something like
    MuiTableBody: {
      MuiTableRow: {
        root: {
          "&:nth-of-type(odd)": {
            backgroundColor: "rgba(251,251,251,1)"
          }
        }
      },
    },

I hoped there could be a simple nesting introduced to overrides, since class selectors are meaningless due to CSS mangling in production.
Related: https://github.com/mui-org/material-ui/issues/5286
@oliviertassinari @eps1lon @mbrookes

@dy Could it be a duplicate with #15002?

Yes, I think that's it. Ok, just listed additional cases then.


ImmSet optimisation for multi inserts or multi deletions

Please ensure your pull request adheres to the following guidelines:

[x] For first time contributors, read Submitting a pull request
[x] All code is covered by unit and/or runtime tests where feasible.
[x] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[ ] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[x] Provide a title or release-note blurb suitable for the release notes.
[ ] Are you a user of Cilium? Please add yourself to the Users doc
[ ] Thanks for contributing!

This PR proposes new implementations with lower computational complexity of the following methods of ImmSet :

func (s ImmSet[T]) Insert(xs ...T) ImmSet[T],
func (s ImmSet[T]) Delete(xs ...T) ImmSet[T],
func (s ImmSet[T]) Union(s2 ImmSet[T]) ImmSet[T],
func (s ImmSet[T]) Difference(s2 ImmSet[T]) ImmSet[T].

The first commit of the PR contains benchmarking comparing the existing and the new implementation. For me, the results were as follows:

for Insert, the proposed method becomes faster already with the container of size 1000, and then it performed 10x faster for size 10,000 and 100x faster for size 100,000;
for Delete, the proposed method becomes faster already with the container of size 1000, and then it performed ~5x faster for size 10,000;
for Difference, the proposed method was already 4x faster for size 100, and then it performed 7x faster for size 1000, 35x times faster for size 10,000, and 193x faster for size 100,000;
for Union, the proposed method performs slightly faster, but gains do not visibly grow with increasing size.

The proposed implementation has improved computational complexity, lowering the complexity of Insert, Delete, and Difference from quadratic to linear:

the complexity of Insert is O(len(s.xs)*len(xs)), and the complexity of InsertNew is O(len(s.xs)+len(xs));
the complexity of Delete is O(len(s.xs)*len(xs)), and the complexity of DeleteNew is O(len(s.xs)+len(xs));
the complexity of Difference is O(len(s.xs)*len(s2.xs)) because it uses Delete internally, and the complexity of DifferenceNew is O(len(s.xs)+len(s2.xs));
the complexity of Union is harder to estimate: it involves sorting a slice of size n:=len(s.xs)+len(s2.xs), but this slice is a concatenation of two sorted slices, so most likely this does not lead to the usual O(n*log(n)) complexity; of course, it is at least O(n); the complexity of UnionNew is O(n).

/assign joamaki

/test


x/playground: Read sensitive information of sandbox golang testing on website

What version of Go are you using (go version)?

$ go version
go version go1.13.6 windows/amd64

Does this issue reproduce with the latest release?
Yes
What did you do?
Read sensitve information on /etc/group

What did you expect to see?
It's should not return any information as another output in exec.Command

What did you see instead?
The server return group sandbox information
https://golang.org/pkg/io/ioutil/#example_ReadFile

Best Regards,
Thanks

/cc @dmitshur @toothrot

I don't believe the contents of our gvisor hosted containerized filesystem are secret. Our treatment of this changed in http://golang.org/cl/195983 (by @bradfitz).
There's no persistence between runs, so I believe this to be generally OK.

Yeah that's all fake. Not a security issue.

Thanks for confirming. I'll close this because there's nothing to do.


Unify group names with tendrl-ansible

Do we wan't to unify the ansible group names with tendrl-ansible?

use tendrl-server instead of usm_server ansible group
use gluster-servers instead of usm_nodes ansible group

If we decide to merge this PR, it has to be coordinated with changes in other parts of the workflow.

I would vote for not merging this PR at this time - we will use usm_... groups in our playbooks from usmqe-setup repo and tendrl-server and storage-servers roles when using tendrl-ansible playbooks.


Render interface methods

[x] Add a comment to the fixer stating that it should be removed and replaced with an explicit interface implementation while rendering.

Any progress on this PR. This is all i'm waiting for to port my app (Money) so i can use things like GActionMap and GtkFileChooser.

This PR is my primary focus but I can't promise a finishing date.
I think it is mostly done probably only some corner cases remain.
If you consider porting your app it would probably make sense to familiarize with the code as I expect you will miss other things as well and as of my current situation I'm not able to code as much as I would like to support the needs of other projects.

In case you are interested you are very welcome to join our matrix chat.

Do you have a like to the room for me to join? :)

It is mentioned on the readme but here you go:
#gircore:matrix.org

Seems like a lot of fun going on here :grinning:


Add Joint DOM API to access joint sensors

🎉 New feature
Summary
This adds  sdf::Joint::SensorCount, sdf::Joint::SensorByIndex, sdf::Joint::SensorNameExists, sdf::Joint::SensorByName.
Test it
Run tests
Checklist

[ ] Signed all commits for DCO
[x] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[x] Code check passed (In source directory, run sh tools/code_check.sh)
[x] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review
another open pull request
to support the maintainers

Note to maintainers: Remember to use Squash-Merge

This pull request has been mentioned on Gazebo Community. There might be relevant details there:
https://community.gazebosim.org/t/new-ignition-releases-2022-01-10/1228/1

This pull request has been mentioned on Gazebo Community. There might be relevant details there:
https://community.gazebosim.org/t/new-ignition-releases-2022-03-25-fortress-edifice-citadel/1343/1


After "Oauth And Log In" open redirectUrl dynamically "window.open()"

It would make the oauth process much cleaner and smoother if the redirectUrl would be opened dynamically "window.open()", because then it can be dynamically closed from my side after fetching the query data.

The positioning of ewelink-api-next is a library file, and it should not do business work. For example, I used to store information after logging in, but it should be up to the user to decide how to store it.
But I can https://github.com/nocmt/eWeLinkOAuthLoginDemo Add this step to this project and consider adding an action to automatically close the window at the final actual destination address.


Dapr configuration of metircs has a typo.

In this doc: https://docs.dapr.io/operations/monitoring/metrics/metrics-overview/
it has an example of metrics configuration:
apiVersion: dapr.io/v1alpha1
kind: Configuration
metadata:
  name: tracing
  namespace: default
spec:
  tracing:
    samplingRate: "1"
  metric: # mind this key, it is different from the other doc
    enabled: true

However, in this doc: https://docs.dapr.io/operations/configuration/configuration-overview/#metrics
it says that the key is metrics instead of metric:
metrics:
  enabled: true

so, metrics or metric，which one is right?

It is metrics.

/assign


Not responding to sent messages or signup requests

Hi,
System seems to be down today. No messages since yesterday and no response to 'signup' message. Single tick, not delivered.
Is it my end or is there a problem?
Thanks

Yes, you're right, system is down... We're doing a major update on the code and will probably come back over the weekend...
It's our fault , we did not say a word in advance, but it's our policy not to get in touch with any of the users... :)
You can check de status here:
https://status.inutil.info/
I will close the issue when the service is back.

Thanks for the update. Cheers

system is up again, migration completed :)


fix(App): Remove dead code

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[firebase_messaging] onTokenRefresh is running twice

Describe the bug
I declared onTokenRefresh's listener in initState but it runs twice when app is installed and runs once when app is restarted (when actually token isn't refreshed/changed).
This is my initState method:
@override
	void initState() {
		super.initState();
		var fcmTokenStream = firebaseMessaging.onTokenRefresh;
		onTokenRefreshListen = fcmTokenStream.listen((token) async {
			print("calling saveToken @ onTokenRefresh listen");
			await TokenAPI.saveToken(
				token: token
			);
		});
	}

and dispose method:
@override
	void dispose() {
		super.dispose();
		onTokenRefreshListen.cancel();
	}

To Reproduce
Steps to reproduce the behavior:

add a listener to onTokenRefresh
it'll run with old token

Expected behavior
It should not run when app is started but when a token is refreshed/changed. If I even accept that it'll run on app startup still it should not run twice with the same token when app is reinstalled.
Flutter doctor
Run flutter doctor and paste the output below:
[✓] Flutter (Channel stable, v1.17.0, on Linux, locale en_US.UTF-8)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Android Studio (version 3.6)
[✓] Connected device (1 available)

• No issues found!

For now (cause this app is in production) I'm using:
var fcmTokenStream = firebaseMessaging.onTokenRefresh.distinct();

So if onTokenRefresh stream is even being changed two times (with the same token) listener is called only once.

Issue does exist
closing as duplicate of https://github.com/FirebaseExtended/flutterfire/issues/1824


Wired interface names on windows {C685FC7C-553A-11EC-8BBC-806E6F6E6963}

First of all thanks for forking the original project and continue working on it!
On windows all the network interfaces have an UUID like name format but i would suspect it returning the name of the network device as shown in the configuration panel > network connections.
What is returned by this package:
Interface {
    name: "{59837432-A818-4A26-934C-95AA7E3B38B8}",
    addr: V6(
        Ifv6Addr {
            ip: 2001:1c01:3b03:bc00:893d:d764:d21b:e1d0,
            netmask: ffff:ffff:ffff:ffff::,
            broadcast: None,
        },
    ),
}
Interface {
    name: "{59837432-A818-4A26-934C-95AA7E3B38B8}",
    addr: V6(
        Ifv6Addr {
            ip: 2001:1c01:3b03:bc00:e00f:77c8:6e1e:9d2a,
            netmask: ffff:ffff:ffff:ffff::,
            broadcast: None,
        },
    ),
}
Interface {
    name: "{59837432-A818-4A26-934C-95AA7E3B38B8}",
    addr: V4(
        Ifv4Addr {
            ip: <IP_ADDRESS>,
            netmask: <IP_ADDRESS>,
            broadcast: Some(
                <IP_ADDRESS>,
            ),
        },
    ),
}
Interface {
    name: "{C685FC7C-553A-11EC-8BBC-806E6F6E6963}",
    addr: V6(
        Ifv6Addr {
            ip: ::1,
            netmask: ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff,
            broadcast: None,
        },
    ),
}
Interface {
    name: "{C685FC7C-553A-11EC-8BBC-806E6F6E6963}",
    addr: V4(
        Ifv4Addr {
            ip: <IP_ADDRESS>,
            netmask: <IP_ADDRESS>,
            broadcast: Some(
                <IP_ADDRESS>,
            ),
        },
    ),
}
Interface {
    name: "{EE4F5BC4-EBAD-46B5-B1CD-745513792416}",
    addr: V4(
        Ifv4Addr {
            ip: <IP_ADDRESS>,
            netmask: <IP_ADDRESS>,
            broadcast: Some(
                <IP_ADDRESS>,
            ),
        },
    ),
}

The names i suspected:

I don't know much about Windows so I'm unable to help. Feel free to open a PR if you find a way to do that.

You need friendlyName for that, which require to not set flag GAA_FLAG_SKIP_FRIENDLY_NAME
https://github.com/messense/if-addrs/blob/master/src/windows.rs#L50

I'd like to pick this up, but some questions before I start:

Is it OK to make the breaking change of using the human-readable name instead of the GUID?
Is it OK to add a windows-only guid field to the pub struct Interface? The GUIDs are still useful when integrating with npcap, as that doesn't expose names either.


Sales Tracking

Sales Tracking
We need a way to store and track sales.
Acceptance Criteria

Stores amount of sales based on item.
Stores the dates attached to sales.
Stores sale amount, profit for the day, taxes for the day, etc.

Has been split!


SS3.2: But in Locale menu

Fatal error: Call to a member function Link() on a non-object in /vagrant/www/fluent/code/extensions/FluentExtension.php on line 320
Somehow
DataObject::get($class)->byID($id)->Link();

crashes, when re-publishing the page it works. Dunno why.
when debugging i see that
Page::get()->byID(3) => null
Page::get()->filter('ID', 3) => DataList....
Maybe related to https://github.com/silverstripe/silverstripe-framework/issues/4700 and hopefully resolved in 3.2.1 ?

Sorry, this is a bug in fluent, got the wrong button clicked.


[#678] improvement: Write hdfs files asynchronously when detectStorage

What changes were proposed in this pull request?
Write files to hdfs asynchronously and reduce the time of detectStorage
Why are the changes needed?
Fix: #678
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Origin uts.

Codecov Report

Merging #680 (c186d7d) into master (1951376) will increase coverage by 0.02%.
The diff coverage is 80.00%.

@@             Coverage Diff              @@
##             master     #680      +/-   ##
============================================
+ Coverage     63.05%   63.07%   +0.02%
- Complexity     1837     1841       +4
============================================
  Files           207      207
  Lines         10677    10686       +9
  Branches       1067     1065       -2
============================================
+ Hits           6732     6740       +8
- Misses         3598     3601       +3
+ Partials        347      345       -2

Impacted Files
Coverage Δ

...orage/LowestIOSampleCostSelectStorageStrategy.java
79.66% <77.77%> (+8.75%)
:arrow_up:

...ategy/storage/AppBalanceSelectStorageStrategy.java
80.00% <82.35%> (+8.00%)
:arrow_up:

.../java/org/apache/uniffle/server/ShuffleServer.java
59.60% <0.00%> (-3.95%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

We should avoid multple threads operate the same file.

This doesn't seem to be caused by this pr.
Errors:
Error:    QuorumTest.case2:337->registerShuffleServer:281 » StatusRuntime DEADLINE_EXCEE...

This doesn't seem to be caused by this pr.
Errors:
Error:    QuorumTest.case2:337->registerShuffleServer:281 » StatusRuntime DEADLINE_EXCEE...

Same problem as #667 .

Thanks all! @advancedxy @xianjingfeng @jerqi


Erroneous error message with onion peel.

Kevin Roe created a plot and did an onion peel operator displaying 2 or 3 layers. He then cloned the plot and drew it and VisIt put up an error that the selected seed zone was a ghost zone. The original plot didn't have the error, so this seems wrong. I haven't attempted to recreate this.
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 2834
Status: Pending
Project: VisIt
Tracker: Bug
Priority: High
Subject: Erroneous error message with onion peel.
Assigned to: Kathleen Biagas
Category: -
Target version: 2.13.4
Author: Eric Brugger
Start: 05/24/2017
Due date:
% Done: 0%
Estimated time:
Created: 05/24/2017 05:25 pm
Updated: 08/21/2018 06:09 pm
Likelihood: 3 - Occasional
Severity: 4 - Crash / Wrong Results
Found in version: 2.12.1
Impact:
Expected Use:
OS: All
Support Group: Any
Description:
Kevin Roe created a plot and did an onion peel operator displaying 2 or 3 layers. He then cloned the plot and drew it and VisIt put up an error that the selected seed zone was a ghost zone. The original plot didn't have the error, so this seems wrong. I haven't attempted to recreate this.
Comments:
Having trouble coming up with a reproducer. Have asked Kevin for data and OnionPeel settings.

Never received feedback from Kevin. Still unable to reproduce. Closing.


timingSafeEqual, DKIM support, dns setup script and GitHub action

Features:

timingSafeEqual token check
DKIM support
DNS setup bash script
GitHub action

lol; the amount of things similar between our two PRs is hilarious #17

Lol! I did not checked the another PRs!😅 I found that project about 2 days ago, because I want a backup email solution to an ongoing CTF event.

I found this project about a month ago but only started integrating it into production for http://magicsnap.org/ about 2 days ago :)


Client Freezes and ‘X-logs’ me

I’ve used this client for about a week now, done some Zulrah trips, some jad, some vorkath. No issues,  however went I went to Lizardman Shamans after 20 minutes my game would freeze, thus me having to reload client and log back in. Though it was a once off, but it happened 30 minutes later.
I stopped using the client for a day or two but missed the features too much, went back to it and after a day of playing I went back to Shamans and 15 minutes later same problem.
Not sure what the issue is, but I’ve never had any issue with clients freezing and gameplay stopping except for this.

I'm having the same issue. It only popped up for me in the latest release, but now it is impossible for me to PvM because it keeps freezing.

I too have this issue, the entire client freezes, not responding to any input and not doing any GUI updates, resulting in a screen-shot like appearance.
The entire window, including screenshot button, sidebar button, and drag ability does not respond to hovering or clicking/dragging.
Windows does not detect the application as unresponsive.
The Program still presents a Java-Like "Are you sure you want to close" Yes/No Box, when right clicking the program in the task bar, and selecting Exit.
It occurs with both "--mode=OFF" used to disable hardware acceleration, and with it on.
The client was in Resizable Mode, on Windows 10 x64 bit.
Windows was not lacking in hardware resources at the time.
Timing for this can occur from 1 hour into NMZ, or 5 hours into NMZ, at random.

This seems inreproducible and we have like x other bugs, with same mostly 0 info and 0 solutions.


mongoDB error

Hello Matteo. I having some trouble to run the meteor boilerplate on Modulus.IO server. Without the the boilerplate, works well. Whats the solution? Thanks.
You have any other server sugestions to use Meteor?
The error:
/mnt/data/2/node_modules/fibers/future.js:173
throw(ex);
^
Error: database names cannot contain the character ' '
at validateDatabaseName (/mnt/data/2/node_modules/mongodb/lib/mongodb/db.js:233:59)
at new Db (/mnt/data/2/node_modules/mongodb/lib/mongodb/db.js:95:3)
at connectFunction (/mnt/data/2/node_modules/mongodb/lib/mongodb/mongo_client.js:243:29)
at Function.MongoClient.connect (/mnt/data/2/node_modules/mongodb/lib/mongodb/mongo_client.js:313:5)
at Function.Db.connect (/mnt/data/2/node_modules/mongodb/lib/mongodb/db.js:2035:23)
at new MongoConnection (packages/mongo/mongo_driver.js:151:1)
at new MongoInternals.RemoteCollectionDriver (packages/mongo/remote_collection_driver.js:4:1)
at Object. (packages/mongo/remote_collection_driver.js:44:1)
at Object.defaultRemoteCollectionDriver (packages/underscore/underscore.js:750:1)
at new Mongo.Collection (packages/mongo/collection.js:98:1)
[2015-03-08T21:28:58.141Z] Application CRASH detected. Exit code 8.
[2015-03-08T21:28:58.180Z] Application restarted

What is the name of your collection?

I dont know. I have only uploaded the boilerplate for test.
2015-03-09 6:20 GMT-03:00 Matteo De Micheli<EMAIL_ADDRESS>
What is the name of your collection?
—
Reply to this email directly or view it on GitHub
https://github.com/matteodem/meteor-boilerplate/issues/79#issuecomment-77821404
.

--
Abraços!
11 95343-7141 - TIM
Rodrigo Gabriel Piris http://www.facebook.com/rodrigogabrielp
http://TudoPara.Vc

Please ask modulus.io what this error could be, since the boilerplate is succesfully hosted on boilerplate.meteor.com

Thanks Matteo! I changed the server to Digital Ocean. Its a nice option and works very well.


Add simplex row and column matrix constraints

Summary
This adds the functions simplex_row_constrain and simplex_column_constrain to be used by the stan language for matrices with simplexes along the rows or columns of the matrix. This is just the constrain version which is already a lot of code. I'm going to add the free functions in a separate PR
Tests
Tests were added in mix and prim and can be run with
python ./runTests.py -j3 ./test/unit/math/mix/fun/simplex_column_constrain_test.cpp
python ./runTests.py -j3 ./test/unit/math/mix/fun/simplex_row_constrain_test.cpp
python ./runTests.py -j3 ./test/unit/math/prim/fun/simplex_row_constrain_test.cpp

A prim test for simplex_column_constrain was not written because under the hood simplex_column_constrain for doubles just calls simplex_constrain
Side Effects
There is one interesting thing to point out in the reverse mode versio nof simplex_column_constrain. I think this is one of the only places in the Stan math library we use Eigen::RowMajor to have row major underlying matrices.
For each of these algorithms we want to access memory in a contiguous manner. For rows of simplex matrices we start with a (N, M) and get back a (N, M + 1) where we operate on each column of the matrix from left to right. For columns of simplex matrices we start with an (N, M) and get back a (N + 1, M) where we need to operate on the row of the matrix from top to bottom. So for the row simplex everything is nice with column major order because that's how our access happens. But for columns of simplex vectors for reverse mode, we make a hard copy of the input changing it from column major to row major so that the rest of our memory access is contiguous. That means that for the rest of the reverse mode code we access things nicely, but then pay the cost of different storage orders when copy the input to the arena matrix in forward mode and then when we copy the adjoint from the reverse mode into the input's adjoint. But reading from different storage orders twice I think is better than reading from the noncontiguous memory for the entire algorithm.
Release notes
Adds constrain function for creating matrices holding row or column simplexes
Checklist

[x] Copyright holder: Simons foundation
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

[x] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
dependencies checks pass, (make test-math-dependencies)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[x] the code is written in idiomatic C++ and changes are documented in the doxygen

[x] the new changes are tested

@andrjohns could you take a look at this?

@syclik could you give this anotherl look?

@SteveBronder, sorry, I just saw a comment that I missed. Thought I'd put it here so you can track it. (It's more of a question about the PR than a single line of code.)

@syclik
Question: would it now be worth writing a function that accepts a pointer and length? And then using that function instead of reimplementing the same logic.

@SteveBronder
Sorry I'm not following, where would you want to use this?

The question I was asking was whether both simplex_row_constrain and simplex_column_constrain could call a function that consolidates the implementation. The chunk of code that looked like duplication was:
stan/math/prim/fun/simplex_row_constrain.hpp
  eigen_arr stick_len = eigen_arr::Constant(N, 1.0);
  for (Eigen::Index k = 0; k < Km1; ++k) {
    auto z_k = inv_logit(y_ref.array().col(k) - log(Km1 - k));
    x.array().col(k) = stick_len * z_k;
    stick_len -= x.array().col(k);
  }
  x.array().col(Km1) = stick_len;

stan/math/rev/fun/simplex_column_constrain.hpp
  arr_vec stick_len = arr_vec::Constant(M, 1.0);
  for (Eigen::Index k = 0; k < N; ++k) {
    const double log_N_minus_k = std::log(N - k);
    arena_z.row(k)
        = inv_logit(arena_y.array().row(k).val_op() - log_N_minus_k).matrix();
    x_val.row(k) = stick_len.array() * arena_z.array().row(k);
    stick_len -= x_val.array().row(k);
  }
  x_val.row(N) = stick_len;

The version with the jacobian also repeats. I guess I was wondering if it's better to have a C-like function that takes the pointer to data and length and consolidates the computation. We'd still have the same functions from the outside to handle types and everything.
It's a question, not even a suggestion. I was just reading the code and found the logic to be complicated enough and duplicated where it made me wonder. (Repeating code twice isn't that big of a deal in the long run.)

@SteveBronder, minor changes requested. Once addressed, we can merge!

Actually @syclik do you mind if I just add the free functions to this PR? I think I'm just going to have them call the current simplex_free over the rows / columns so it shouldn't be that much extra code

@SteveBronder, go for it! I think it makes sense.


Improve React support

Currently the application is not able to detect all the react applications. Please propose a solution for this.
Happy hacking!

Can you give an example of an undetected react app?

@gigobyte Try Facebook.


[HTML5] Drag and drop zip in project manager.

With a very nice hack, a new hidden configuration option that delays
dropped files removal at exit.
This still leaks while the project manager is running, but will clear
memory as soon as it exits or load something.
(reminder, dropped files are reguarly removed after the signal is
emitted specifically to avoid leaks, but I prefer hacking the HTML5
config then the project manager).

Thanks!

Cherry-picked for 3.2.4.


Issues opening large files

Problem
I can't open a file that is 32 MB.  With Nano it takes around 10 seconds to open the file. Memory consumption of Nano is pretty low when I open it as well, around 70MB, while micro is at 1.69 GB without ever opening it.
Specifications
Commit hash: 5dc8fe4
OS: Mac Os Sierra 10.12.4
Terminal: iTerm2 3.0.15

Thanks for reporting this. I'd like to try to reproduce it. Is there any way you could provide the file or a similar test case? Also, I recommend you try using a nightly binary and see if that works better for you. A number of optimizations have been made since the last release, but there are still a few problems and I haven't had any time to fix them lately.

You can find the files I tried to open in this repo: https://github.com/emanlapponi/norlem-norwegian-lemmatizer
under the folder models.
I could not open nob.norlem.json

I installed latest binaries and still same issue with opening large files.
Huge load on cpu and memory, and file note opening.
Version: 1.1.5-147
Commit hash: b8debb5
Compiled on April 26, 2017

The problem has to do mostly with the syntax highlighting. Currently there is no column where it cuts off so the highlighter is trying to highlight the entire file at once.
 There are still large issues with softwrap though and even without softwrap on, micro is still slower than it should be.
I'll try to optimize some of this stuff at some point.

@zyedidia It occurs to me, although I have no idea how to implement this, that syntax highlighting should only apply for lines as they come into the view, and for about one buffer length "behind" and "ahead" of the lines in view. That is, scarcely more than 300 non-softwrapped lines at a time. In addition, where possible, I think that micro should effectively act as a bidirectional pager, similar to less and similar tools. Most importantly, I think that buffers should only be kept in RAM for a few minutes and then cached when they haven't been updated recently, this could be worked into an improved autosave system. Caching could be done to the config directory or possibly to some sort of temporary or swap directory specified by micro's config. I have some other ideas too and I feel another refactor for the view system should come into play soon as soft-wrapping is fairly non-functional at present. All of this is factoring into this issue, which I've been having as well.

Micro's syntax highlighting already only highlights the lines in the view. Every line has an end state that it keeps track of so that micro can know if the current view is currently in a multiline comment even when the comment started 1,000,000 lines earlier in the buffer, but the actually highlight colors are only stored for the lines currently in the buffer.
Clearly micro has performance issues when it tries to open a 32MB file which only contains one line, especially when asked to softwrap the line, but I don't think this is very common behavior. Micro is primarily meant for editing normal files. Softwrapping also has problems currently but only for lines that are so long that they take more than the height of the view to display, and the only issue there is that it is not possible to view the rest of the line (which is a problem, but the editor isn't crashing or anything).
I don't completely understand the caching idea. The buffer must be in memory at least during drawing to display the view.

@zyedidia I have issues softwrapping much shorter lines, including ones that only wrap 4 times: That is they occupy four visual columns. I use micro for a lot of html editing and especially writing wherein I need to be able to navigate more as a conventional GUI text editor. That's why I use micro over e3 ( minimalist emacs ), and vim. ( Vim being more powerful for heavy-duty codesmithing the kind of which I barely need to do. ) Its mouse support, informing me of which and how many buffers I have open and its better syntax highlighting are why I prefer it to nano, which would otherwise so far be better suited to the type of text file I most often edit. So the performance hit and instability ( crashes and out-of-bounds errors noticeably more often and I think syntax highlighting doesn't like to play well with softwrapping is a big part of what causes the stuttering and occasional hang ) is a big deal even for normal files. As per keeping track of the end state to such a degree, I'd say that tracking a million line comment is enough of a non-standard case and performance intensive enough that we shouldn't do so, rather keeping it down to some sort of feasible upper limit that helps prevent hangs in cases like this.
Okay, well I think I see what you mean, but I think I misrepresented what I'm talking about. For reasons that are somewhat idiosyncratic and somewhat due to optimal workflow, I frequently open 80 tabs worth of buffers ( not actually that uncommon a case, run micro * on a directory full of config files or html documents ), and the performance noticeably suffers. What I'm saying is that if after loading into memory, a tab hasn't been switched to within the past arbitrary time ( let's say five minutes ), put it in a  FIFO queue to write it off to a cache file that's essentially reopened when one switches to that tab. With each call to the save or autosave being written to the original file if it can still be found and asking the user what to do otherwise. Sure, disk usage will increase, but RAM usage will decrease and hopefully it'll alleviate the performance issues I've experienced when editing multiple files at once. Naturally, some larger files could even theoretically be split into multiple cached files for even better performance. ( Say we're editing the mythic 4 MB file, have every x lines - Let's say 100,000 because why not? - be written to a different cache file, a la cache._filepath_.0, cache._filepath_.1, etc. so that only so much of the file ( the line range you're currently editing ) actually needs to be in memory at once while still being able to piece together the cache files to write out the original file plus with your edits. ) I wouldn't suggest that if mere RAM usage were the only performance hit we're seeing, but I actually find micro to run more sluggish and handle things like softwrapping, highlighting, and navigation within a single file poorer when there are over ~20 files open. Granted, each file in my case is only a few dozen to a few hundred files each, so the issue might be something to do with how tabs are handled, but I'd think this would help with bugs like this one. I can't wrap my head around micro's data structure enough to say for sure until we try it.

I'm experiencing the same issue. I just started micro and had it open an empty bash script and pasted a 4 KiB command that didn't contain a single line (yes, such things exist – in my case I wanted to examine the command IntelliJ IDEA is executing to start some Java application of mine, which included hundreds of the class paths and jar files)

@semirke I think it is place where the information could be shared


Create initial validation logic for configuration structs.

We have a validation interface that should be implemented on all the configuration structs. Lets start with Stations and validate that the station has at least one step.
Initial implementation on Pipeline struct is here: _______
pipeline's validate fn should be updated to call validate on sub stations
Please ask @Klaven if you have any questions!

Hey @Klaven!
Maybe I can give this one a go. I think I mentioned on Discord that I'm a Rust newbie but, if this is a good first issue, I'd like to work on it.
Any extra help is welcome!

@salasberryfin Sorry I was sick last week so I am behind on some things but 100% give it a try! if you would like help on it, ask during one of my streams and I would love to step you though what is there! I updated the issue to link to the current implementation that you can just add on to! Thanks for picking this up!

Hi @Klaven,
Thanks! I'll give it a try!


Added<EMAIL_ADDRESS>

Already harvested accurately https://clearlydefined.io/?sortDesc=true&sort=releaseDate&name=minify.js


Default transaction boundary in endpoint

To avoid developers have to think about transaction boundaries in the common case, let's look into doing something like this by default:
export default async function (req: Request): Promise<Response> {
    // BEGIN
    const json = await req.json();
    const user await = User.build(json);
    await user.save();
    return Response("ok");
    // COMMIT or ROLLBACK
}

but also make it possible to have fine-grained control over transactions.
One alternative is to make a high-level API (like the proposals from @danielferragut and @dekimir, for example) that does this "magic" in TypeScript.

@espindola I see you opened https://github.com/chiselstrike/chiselstrike/issues/1351 so we can definitely close this.


Option to only change the title bar

Option to only change the title bar only, without changing the activity bar because the activity bar is tightly coupled with color themes.

thanks for using, and good idea.  i'll add this option within the next few weeks

strapped for time lately.  feel free anyone to open a PR for this

Would be really cool to have this!

I have no idea how to add settings to an extension but I'll try to check it out and put in a PR if I get it working :)

hey @nilsborg i'm actually working on an update for this right now that should be ready in a couple days.

Oh sweet even better!!

On 17. Apr 2019, at 15:51, Stuart C. Robinson<EMAIL_ADDRESS>wrote:
hey @nilsborg i'm actually working on an update for this right now that should be ready in a couple days.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

done!  feel free to let me know what you think

Hi, has this been released already? I don't find the setting in 1.0.51.

ditto, is there a quick hack in the meantime?


i am unable see the option of save in run list chef

please find the attachment

Please zoom out


Skip logging for high-frequency keybinding commands

Reduces telemetry data load.

Blocking on Devin on Telemetry input to confirm this is a good idea.


5894 scalar denomination

Clubhouse Story
Submitter checklist

[x] Test covering functionality added/fixed in
Check the linked story includes the following:

[x] Steps to reproduce
[x] Screenshot (If applicable)

Reviewer Checklist

[ ] Test/lint pass
[ ] Post merge, story marked complete

to reproduce check the market cards on markets list, make sure you have a version of augur.js/augur-node that passes back scalarDenomination and that the markets you are looking at were created with scalarDenomination data


[WFLY-11789]: Intermittent failures in NotClosingInjectedContextTestCase.

Ensuring that  we get the destination before sending to it.
Jira: https://issues.jboss.org/browse/WFLY-11789

retest this please

@ehsavoie
[05:37:23][Step 2/3] [ERROR] /store/work/tc-work/bb15431f347cd651/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/messaging/jms/context/notClosingInjectedContext/auxiliary/Ejb.java:25:8: Unused import - java.util.logging.Level. [UnusedImports]
[05:37:23][Step 2/3] Audit done.
[05:37:23][Step 2/3] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:checkstyle (check-style) on project wildfly-ts-integ-basic: An error has occurred in Checkstyle report generation.

@ehsavoie Needs a rebase.


Switch default interpolator to bicubic, improve speed/quality of binlinear (was: Documentation: interpolateWith)

Maybe it makes sense to mention in the documentation more clearly that:

bilinear interpolation is default interpolator
bilinear is not always suitable for reducing the size of images
bicubic usually provides better quality of reduced images

Hello, yes this has come up a few times recently. A few other options could be:

Experiment with reducing the level of pre-affine blurring when using bilinear to improve its quality and speed.
Make bicubic the default interpolator.
Both of the above.

Commit 84fd1ca implements option 3. This brings a slight performance reduction for the default resize operation, but with much-improved quality. The bilinear option is, when manually selected, now considerably faster. I'll try to update the performance test results before v0.12.0 is published.

The look branch has now been merged to the master branch pending release. Thanks for this suggestion!

@lovell just found this issue.  A there any reasons to not support lanczos3 filter for resize? Any better alternatives?
When implementing https://github.com/nodeca/pica, i've seen another list of presets in chromium skia (by speed):

Nearest neibor (Box)
Hamming
Lanczos, win = 2
Lanczos, win = 3

I'm not saying anything good or bad about algorythms, just try to understand relation between names and quality for common use.

@puzrin Hi Vitaly, when downsampling/reducing, sharp always applies a small Gaussian blur prior to using the selected interpolator, which I believe is approximately equivalent to using a Lanczos 2 filter. This means sharp's default behaviour should be close to *magick's default Lanczos settings.
I've read somewhere that Lanzcos 3 can increase acutance/haloing when downsampling, but this probably depends on the input image, e.g. for text-as-an-image this may be a good thing. Perhaps a measure of entropy within an image could be used to select 2 vs 3, with a lower entropy favouring 3 over 2.
There are people who have spent a lifetime more than me studying filters and interpolators and image resizing in general. If you'd like to know more then please do ask this question over at the libvips repo.
The current plan is to switch sharp to the recently-improved vips_resize as part of #310 so sharp can be more in line with the behaviour of vipsthumbnail and its wisdom in such things.
As an (important) aside, thank you for helping to maintain the excellent js-yaml module. I was using it only last week, demoing its support for private types to some oblivious-then-envious Java-centric developers.

@lovell I'm familiar with situation about hudge number of filters for different needs. Agree that blur + bicubic resampling gives similar result. Problem with this method is, that it contains "maginal numbers" and those should vary on scale. Without statistics such euristic is not very cool. Pure lanczos3 is more predictable from the mathematical point of view.
AFAIK, lanczos3 is more common for downscale (+ unsharp mask after), and bilinear vs bicubic are popular only as start point because of simple implementation. I did't wished to create a new ticket about, because i'm not familiar how deep did you digged this topic before and i don't know your reasons to select blur + bicubic. But if you need any help - i'm ready to share everything i learned while writing pica.


backend-Setup rust environment

Backend is switching to Rust/Actix, which means setting up the coding and build environment, which takes time.

This issue didn't really require a pull request, as it was more for the back-end team to get their environments set up. This has been completed.


fix: upgrade to version 3.1.226

from: https://github.com/jenkins-x/jx-cli

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign abayer
You can assign the PR to them by writing /assign @abayer 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

@jenkins-x-bot-test: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
dba4f220a8d4fad64ca792c70a306c445a372b65
link
/test vault

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 jenkins-x/lighthouse repository. I understand the commands that are listed here.

/retest


Added THORWallet

Added THORWallet

still looking at this. we don't audit, but just looking at how it integrates with and functions with dogecoin.

It's basically a self custody dogecoin wallet, that also optionally interacts with thorchain for dogecoin blockchain native swapping or pooling. The swap/pool functionality on thorchain is achieved by memo txns sent to thorchain secured dogecoin wallets which just pass raw details like swap x for y (which are secured by threshold signature or TSS across about 100 nodes with 75% consensus as opposed). You can use it just as a dogecoin wallet, or you can do that other stuff.
xdefi which is also one of the proposed wallets for dogecoin com works similarly, except that it's a browser wallet. There's a few functional differences like how they achieve dex aggregation for tokens on other chains, and which other chains they support. In both cases there's easy access to the key phrase for importing or exporting. The codebases aren't open source, but there's a module that is, shared across thorchain supporting wallets, and that deals with the main wallet component (including dogecoin).
Not sure if that summary will help, or if you figured that all out already. But figured I'd chime in :P


REST Invoke - Path and Query Params not working

Below is the Rest Invoke Activity definition. I changed the key for security.
I am getting below error when I try to run it.
2019-11-27T16:14:26.909-0500    INFO    [flogo.activity.log] -  404 -> {"Code":"404","Message":"Not found","Reference":"/currentconditions/v1?apikey=95df38db964c4236936b1e894ad2232f","Exception":null}

The same mapping is working fine when I use in logger and getting json logged.
Mapping: "=string.concat('{\"zipC\": \"', $flow.CityCode_Input, '\"}')"
Log Entry:  2019-11-27T16:14:26.722-0500    INFO    [flogo.activity.log] -  '{"zipC": "70604"}' - HostID [3758ec316bc59a057d4364336a20b3bc], HostName [Lambda_GET_WeatherLimit_POC], Activity [Log_Request]
{
            "id": "rest_3",
            "name": "AccuWeather_GET_RESTInvoke",
            "description": "Invokes a REST Service",
            "activity": {
              "ref": "#rest",
              "input": {
                "pathParams": "=string.concat('{\"zipC\": \"', $flow.CityCode_Input, '\"}')",
                "queryParams": "=string.concat('{\"apikey\": \"', 'N1KaG63pxFWtIQRcZuKX9', '\"}')"
              },
              "settings": {
                "uri": "http://dataservice.accuweather.com/currentconditions/v1/:zipC?",
                "method": "GET"
              }
            }
          }

The "pathParams" and "queryParams" expects input to be of type Params i.e. map[string]string in go terms. What you are passing in is just type string . So you just be able to do
{
   "pathParams":{\"zipC\":$flow.CityCode_Input}
}

@lixingwang this would be correct mapping, right ?

@skothari-tibco  No, it will not work.  In this kind of cases, we should use object mapping.
@akpuvvada Please change the mapping to below and it should work.
{
  "input": {
    "pathParams": {
      "mapping": {
        "zipC": "=$flow.CityCode_Input"
      }
    },
    "queryParams": {
      "apikey": "N1KaG63pxFWtIQRcZuKX9"
    }
  }
}x

Refer to mapping doc: https://tibcosoftware.github.io/flogo/development/flows/mapping/

@lixingwang ,
It did not work. I am getting same error.
Also, the documentation for Rest Invoke activity shows the data should be given as below and it is also throwing error saying the Path Parameter is not defined.
"input": {
      "params": { "id": "1234"}
    }

Not sure what I am doing wrong.

Also, it works if I give the full URL without Path/Query parameters (hard-code the values).
The Query parameters are working either way. Only Path parameters not working.


Doesn't exist a method to revoke allowances in Fungible Tokens

Description
Good night,
Right now as far as I know, there isn't any method in the SDK to revoke an Allowance for Fungible Tokens. What everybody is doing is keep the same Spender and change the amount to 0. This is really bad, because when we query the MirrorNode, basically It returns a lot fields with allowances, setted to 0, when It shouldn't be happening.
I'd suggest as we have a method for NFTs where we can revoke, Ex:
new AccountAllowanceDeleteTransaction().deleteAllTokenNftAllowances

Add the same for Fungible Tokens and Hbar.
Also this method for NFTs, the name should be changed, because as far as I know is valid only for one NFT at once right? If we want to remove every NFT under one Token Id, we need to use:
new AccountAllowanceApproveTransaction().deleteTokenNftAllowanceAllSerials

So I guess it's really confused. I'd like to suggest to delete one NFT should be called:
deleteTokenNftAllowance

Or If not, modify to allow an Array of SerialNumbers under de same TokenId.
Steps to reproduce
const allowanceTrx = new AccountAllowanceApproveTransaction();
    .setMaxTransactionFee(new Hbar(maxFee))
    .approveHbarAllowance(client.operatorAccountId, spenderAccount, 0)
const txSubmit = await allowanceTrx.execute(client);

const allowanceTrx = new AccountAllowanceApproveTransaction();
    .setMaxTransactionFee(new Hbar(maxFee))
    .approveTokenAllowance(tokenId, client.operatorAccountId, spenderAccount, 0);
const txSubmit = await allowanceTrx.execute(client);

### Additional context

_No response_

### Hedera network

mainnet

### Version

2.24.1

### Operating system

Windows

Hey @AdriMsM91
On the topic of adding a possibility to actually remove the allowance of a Non-Fungible Token being Hbar or other - it is not possible because the network does not support this approach. Furthermore, this is how it is working in Ethereum.
On the second topic about changing the signature of the function - first of all it is a breaking change, meaning that all usage of this functionality up until now would brake the flow in a lot of apps. Also, the first expected parameter of the current deleteAllTokenNftAllowances() method is of type NftId which is a combination of tokenId, serialNumber, hence paying attention to method's signature would be enough IMO

Fair enough @petreze then we will keep going with this. Thanks the answer!


Add Zookeeper upgrade test and integrate integration tests into Frameworks CI.

We'll run tests against a KIND cluster in Circle CI for now.
I'll write user documentation for this in a follow up PR for kudobuilder/kudo#340.
We'll drop the Go stuff and integrate it into kudoctl in kudobuilder/kudo#352.

For some reason, the Zookeeper Framework test fails upgrading the CPU requirements:

https://circleci.com/gh/jbarrick-mesosphere/frameworks/18

This seems to be an issue with KUDO, as far as I can tell, so I will fix the test to not make any changes to the statefulset and then file a ticket about this with instructions to reproduce it once this is merged.


Ensure remote shells generated by SCVMM are closed when finished

The WinRM shells being created for SCVMM are not being closed properly. It seems we did not completely update the code for WinRM 2.x completely when we upgraded. The result is that sometimes the server will refuse the connection until some of the existing shells eventually time out. This fixes that by ensuring a shell is closed once finished.
It also takes advantage of the stdout and stderr methods, and removes an unnecessary variable assignment.
Addresses https://bugzilla.redhat.com/show_bug.cgi?id=1436180
Replaces https://github.com/ManageIQ/manageiq/pull/13637

@djberg96 latest changes good.  👍

@miq-bot fine/yes

@miq-bot add_label darga/no

@miq-bot add_label euwe/no

Fine backport details:
$ git log -1
commit 5c92c904846f4b13dd58f670f82453f51e86aca8
Author: Greg Blomquist<EMAIL_ADDRESS>Date:   Mon Apr 3 14:17:20 2017 -0400

    Merge pull request #14591 from djberg96/powershell4

    Ensure remote shells generated by SCVMM are closed when finished
    (cherry picked from commit 5f36311ecbc827d7665d5e377ab7eb78b5d766f3)

    https://bugzilla.redhat.com/show_bug.cgi?id=1438593


python 3 needs file opned for text, not binary/bytes

tested with:    with open('/etc/hostname', 'wt') as f:

:boat:


[Feature]: Gateway for passive non-interactive data capture

Description
Similar to the feature set of the assignment gateway where data is delivered and encrypted, a gateway for storing external non-interactive data is needed.
What kind of data?

potentially anything binary
first step

Estimated Difficulty
High
Priority
Low

Related to #483

Possible implementation details:

Add API calls on existing gateway to allow for passive data delivery
Add separate gateway service for this.

I imagine eventually this will integrate with an app, and all the "enrollment" features that have, associating a device with a user, providing encryption keys, etc.


Resolve SNS topic ARN by full topic name

:loudspeaker: Type of change

[x] Bugfix
[ ] New feature
[ ] Enhancement
[ ] Refactoring

:scroll: Description
TopicsListingTopicArnResolver had a bug, it could incorrectly resolve ARN based on topic name in the case when there would be more than one topic containing the same string.
:bulb: Motivation and Context
Given ARNs:

arn:aws:sns:eu-west-1:123456789012:MyTopicB
arn:aws:sns:eu-west-1:123456789012:MyTopicC
arn:aws:sns:eu-west-1:123456789012:MyTopic

TopicsListingTopicArnResolver could randomly resolve "MyTopic" to any of above 3 ARNs.
:green_heart: How did you test it?
by unit test
:pencil: Checklist

[x] I reviewed submitted code
[x] I added tests to verify changes
[ ] I updated reference documentation to reflect the change
[x] All tests passing
[x] No breaking changes

:crystal_ball: Next steps

@jkatnik big thanks! @MatejNedic could you take a look?

Thanks @jkatnik , looks good to me!

Hi @maciejwalkowiak
I guess that more than one approval is needed?

@jkatnik it just needs a little time on my side :)


SyntaxError: Import named 'renderToPipeableStream' not found in module 'node_modules/react-dom/server.browser.js'

What version of Remix are you using?
2.0.1
Are all your remix dependencies & dev-dependencies using the same version?

[X] Yes

Steps to Reproduce
I got this error when trying to run the server for remix app. The build shows renderToPipeableStream imported from react-dom/server. It shouldn't have been wrong, but it was detected as an import from react-dom/server.browser.js so it didn't work.
1 | (function (resolvedSpecifier) {"use strict";
                       ^
SyntaxError: Import named 'renderToPipeableStream' not found in module '/Projects/Personal/Remix/bun-remix/node_modules/react-dom/server.browser.js'.
      at loadCJS2ESM (:1:20)
      at requireESM (:1:20)
      at require (:1:20)

I am using bun and express adapter and simple file server.ts as below:
const express = require("express");
const compression = require("compression");
const morgan = require("morgan");
const { createRequestHandler } = require("@remix-run/express");

const app = express();

app.use(compression());

app.use(express.static("public"));

if (process.env.NODE_ENV === "development") {
  app.use(morgan("dev"));
}

app.all(
  "*",
  createRequestHandler({
    build: require("./build"),
  })
);

let port = process.env.PORT || 3000;

app.listen(port, () => {
  console.log(`Express server started on http://localhost:${port}`);
});

Expected Behavior
The server should be started and serve the remix app.
Actual Behavior
1 | (function (resolvedSpecifier) {"use strict";
                       ^
SyntaxError: Import named 'renderToPipeableStream' not found in module '/Projects/Personal/Remix/bun-remix/node_modules/react-dom/server.browser.js'.
      at loadCJS2ESM (:1:20)
      at requireESM (:1:20)
      at require (:1:20)

Can you provide a minimal reproduction of the issue?

Can you provide a minimal reproduction of the issue?

@brophdawg11 I just did the following steps:
npm run build
bun run server.ts

Remix does not have an official bun template, so we really have no idea what is being built or how it's being built :)
If you're trying to run the standard templates/remix template via bun, then that likely won't work because it's intended for node and bun is not 100% node compatible.
If you want to use bun, you will need to use a bun-specific adapter.  See https://twitter.com/sergiodxa/status/1700277429414027732 or https://github.com/jacob-ebey/bun-remix for some unofficial examples/POC's.

Oh I thought Remix and Bun worked well together. I checked again, it runs fine with NodeJS v18. Hope it works for Bun soon.
Thank you for your support.


show facsimile snippets on hover

it would be desirable to display the snippets in the left column upon hovering over their location (saves a lot of clicking)

added in c488b94fe37241deb4d0e10391694b222b70e86b

This is very helpful, but eliminated the view of the full page, which is important for questions of broader context in case of unrecognizable OCR. Can the full page be re-linked as the standard picture (right now the standard would be the snippet of line 0)? Also, is there any chance of getting a zoom of the snippet by clicking on the line?

@snmnzl Not really - if you click on the images snippets displayed on the leftmost column, a new tab will open with a larger contextual snippet of the according token. In our experience, this is preferable to the full page view, which is so large that it can be hard to identify the token in it. Have you seen this already?
Upscaling the snippet is sth we have to investigate.

@cneud I see - I think this is sufficient in case of context-problems. You are right about the full page view's size.

Perfect. We can also extend the context window size for the larger snippet that is opened in a new tab as required.
Btw, this will generate a URL like http://content.staatsbibliothek-berlin.de/zefys/SNP27646518-18800101-0-3-0-0/124,333,278,82/full/0/default.jpg where ...124,333,278,82 are the pixel coordinates of the snippet. When replaced with full in the URL, this will always retrieve the full image in the browser, e.g. http://content.staatsbibliothek-berlin.de/zefys/SNP27646518-18800101-0-3-0-0/full/full/0/default.jpg.
 The resolution we already show in the snippets is also already taken from the largest image we have here ourselves.
I will close this for now, but feel free to re-open or open a new issue if further needs arise for the facsimile display part of the tool.


Missing Shop Interface

Hi
Have just started running into an issue whereby the Shop seems to be missing most of its interface - can still buy packs so no functionality lost but would like to get this back if possible - the only change made recently was downloading the historic decks from prior videogames package.
Any advice much appreciated

Not get that problem for me

Still having this issue. Is there anything in the json settings file I can try changing? I’m also getting very limited info on the pack selection screen

Still having this issue. Is there anything in the json settings file I can try changing? I’m also getting very limited info on the pack selection screen

If do u have much YUGIOH Master Duel Account. u need to deleted all local data in yugioh game folder. then re-new download again

The issue was specific to that mod. I've fixed it in the latest release of that mod


Create a new Launcher

The existing launcher is outdated, the new launcher should provide verticle deployment with clustering enabled. Additionally it should always read the configuration file in /conf/system/vertx.json so that metrics will be available again. The new launcher should make use of shutdown hooks in the JVM to cleanly undeploy verticles to that the onServerStopped logging event is properly emitted.
The new launcher should remove the need of commandline parameters such as "-cluster" and "-conf " present in the default launcher.

Should include the option to run a bare instance, as a cluster member for backup and scalability. Could also be used when hot redeploying using the deploytool.


API reverts for Date range

Signed-off-by: Yashvi Jain<EMAIL_ADDRESS>:nut_and_bolt: Description: What code changed, and why?
Commenting the code for new API's build for compliance reporting for now and removing upgrade jobs for new indexes.
Moved Changes for ES mapping index and Ingestion for Compliance reporting in a feature branch.

:chains: Related Resources
https://chefio.atlassian.net/jira/software/c/projects/STALWART/boards/361?modal=detail&selectedIssue=STALWART-242
Ticket: https://chefio.atlassian.net/jira/software/c/projects/STALWART/boards/361?modal=detail&selectedIssue=STALWART-243
:+1: Definition of Done
Now all the API are behaving in the prod way. Changes are tested.
Ingestion pipeline is working as expected with no formation of control index
:athletic_shoe: How to Build and Test the Change
rebuild components/compliance_service
rebuild components/automate-gateway/

:white_check_mark: Checklist
All PRs must tick these:

[X] I have read the CONTRIBUTING document.
[X] All commits signed-off for the Developer Certification of Origin.

With occasional exceptions, all PRs from Progress employees must tick these:

[X] Is the code clear? (complicated code or lots of comments--subdivide and use well-named methods, meaningful variable names, etc.)
[X] Consistency checked? (user notifications, user prompts, visual patterns, code patterns, variable names)
[X] Repeated code blocks eliminated? (adapt and reuse existing components, blocks, functions, etc.)
[X] Spelling, grammar, typos checked? (at a minimum use make spell in any component directory)
[X] Code well-formatted? (indents, line breaks, etc. improve rather than hinder readability)

All PRs from Progress employees should tick these if appropriate:

[X] Tests added/updated? (all new code needs new tests)
[X] Docs added/updated? (all customer-facing changes)

Please add a note next to any checkbox above if you are NOT ticking it.
:camera: Screenshots, if applicable

https://user-images.githubusercontent.com/91940132/191913483-4e6ff3d7-6d8f-4b42-918e-610caebee851.mov


Binary clock date is wrong

In the example binary_clock.py the implementation of day is incorrect. How can 31 days be represented by only 4 bits? 5 bits would be needed. However that would interfere with the 4 bits currently used for month. Not sure how this can be fixed.

oof how did I not see this issue, thanks for fixing it guys.
I'm actually working on this again doing a rewrite with things I've learnt over the last 2 years

oof how did I not see this issue, thanks for fixing it guys.
I'm actually working on this again doing a rewrite with things I've learnt over the last 2 years


DO NOT MERGE: Experimenting with builds

This is a PR intended to try the builds without touching the main feedstock
Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Awesome! :)
If you can tag a new version on the repo would be ideal!

Done! If you want I can try updating the feedstock as well and open a PR for you to check

We can use this PR =)
No need to open a new one

@conda-forge-admin, please rerender

Cool! :)
Thanks for this @rapgenic, merging it!


Error on with Youtube Music

What version of Music Assistant has the issue?
2023.2.1
The problem
Can't browser my Playlist, Artist or anything. But search fonction is working.

How to reproduce
Browser for anything in Youtube Music is not working.
Search is working.
Relevant log output
Logger: music_assistant
Source: /usr/local/lib/python3.10/site-packages/music_assistant/mass.py:232
First occurred: 12:14:01 AM (2 occurrences)
Last logged: 12:15:24 AM
Job [Library sync for provider Youtube Music] failed with error 'NoneType' object is not subscriptable.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/music_assistant/models/music_provider.py", line 402, in sync_library
async for prov_item in self._get_library_gen(media_type)():
File "/usr/local/lib/python3.10/site-packages/music_assistant/music_providers/ytmusic/ytmusic.py", line 133, in get_library_artists
artists_obj = await get_library_artists(
File "/usr/local/lib/python3.10/site-packages/music_assistant/music_providers/ytmusic/helpers.py", line 105, in get_library_artists
return await loop.run_in_executor(None, _get_library_artists)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.10/site-packages/music_assistant/music_providers/ytmusic/helpers.py", line 95, in _get_library_artists
artists = ytm.get_library_subscriptions(limit=9999)
File "/usr/local/lib/python3.10/site-packages/ytmusicapi/mixins/library.py", line 174, in get_library_subscriptions
return parse_library_artists(
File "/usr/local/lib/python3.10/site-packages/ytmusicapi/parsers/library.py", line 86, in parse_library_artists
results = nav(results, ITEM_SECTION)
File "/usr/local/lib/python3.10/site-packages/ytmusicapi/parsers/utils.py", line 155, in nav
raise err
File "/usr/local/lib/python3.10/site-packages/ytmusicapi/parsers/utils.py", line 149, in nav
root = root[k]
TypeError: 'NoneType' object is not subscriptable

Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/mass/websockets.py:929
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 12:21:11 AM (4 occurrences)
Last logged: 12:22:10 AM
[139779505232704] Error handling message: Unknown error (unknown_error) from <IP_ADDRESS> (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36)
[139780439039504] Error handling message: Unknown error (unknown_error) from <IP_ADDRESS> (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response
await func(hass, connection, msg)
File "/config/custom_components/mass/websockets.py", line 114, in async_get_mass_func
await orig_func(hass, connection, msg, mass)
File "/config/custom_components/mass/websockets.py", line 929, in websocket_browse
await mass.music.browse(msg.get("path")),
File "/usr/local/lib/python3.10/site-packages/music_assistant/controllers/music.py", line 224, in browse
return await prov.browse(path)
File "/usr/local/lib/python3.10/site-packages/music_assistant/models/music_provider.py", line 338, in browse
items=[x async for x in self.get_library_artists()],
File "/usr/local/lib/python3.10/site-packages/music_assistant/models/music_provider.py", line 338, in
items=[x async for x in self.get_library_artists()],
File "/usr/local/lib/python3.10/site-packages/music_assistant/music_providers/ytmusic/ytmusic.py", line 133, in get_library_artists
artists_obj = await get_library_artists(
File "/usr/local/lib/python3.10/site-packages/music_assistant/music_providers/ytmusic/helpers.py", line 105, in get_library_artists
return await loop.run_in_executor(None, _get_library_artists)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.10/site-packages/music_assistant/music_providers/ytmusic/helpers.py", line 95, in _get_library_artists
artists = ytm.get_library_subscriptions(limit=9999)
File "/usr/local/lib/python3.10/site-packages/ytmusicapi/mixins/library.py", line 174, in get_library_subscriptions
return parse_library_artists(
File "/usr/local/lib/python3.10/site-packages/ytmusicapi/parsers/library.py", line 86, in parse_library_artists
results = nav(results, ITEM_SECTION)
File "/usr/local/lib/python3.10/site-packages/ytmusicapi/parsers/utils.py", line 155, in nav
raise err
File "/usr/local/lib/python3.10/site-packages/ytmusicapi/parsers/utils.py", line 149, in nav
root = root[k]
TypeError: 'NoneType' object is not subscriptable
Additional information
No response
What version of Home Assistant Core are your running
2023.2.5
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)

Please confirm you have YouTube premium

I have the same issue and i have youtube premium

I have youtube premium
Le dim. 19 févr. 2023, 4 h 17 a.m., OzGav @.***> a
écrit :

Please confirm you have YouTube premium
—
Reply to this email directly, view it on GitHub
https://github.com/music-assistant/hass-music-assistant/issues/1101#issuecomment-1435933694,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXKJDQE5XNU4PGB7SCZSYU3WYHQJ5ANCNFSM6AAAAAAVAYJBKI
.
You are receiving this because you authored the thread.Message ID:
@.***>

@marc3k18 Can you provide more detail where you say "search function is working"?

I seem to be having a similar issue... Music assistant downloaded my playlists from YTMusic... Yes I have premium... but it won't play any songs.  Instead I get this:

Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/mass/media_player.py:359
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 8:31:55 AM (3 occurrences)
Last logged: 8:32:05 AM
[139921945320304] 'streamingData'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 200, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1787, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1824, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
future.result()  # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 968, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 720, in _handle_entity_call
await result
File "/config/custom_components/mass/media_player.py", line 359, in async_media_previous_track
await self.player.active_queue.previous()
File "/usr/local/lib/python3.10/site-packages/music_assistant/models/player_queue.py", line 417, in previous
await self.play_index(max(self._current_index - 1, 0))
File "/usr/local/lib/python3.10/site-packages/music_assistant/models/player_queue.py", line 535, in play_index
stream = await self.queue_stream_start(
File "/usr/local/lib/python3.10/site-packages/music_assistant/models/player_queue.py", line 712, in queue_stream_start
stream = await self.mass.streams.start_queue_stream(
File "/usr/local/lib/python3.10/site-packages/music_assistant/controllers/streams.py", line 322, in start_queue_stream
streamdetails = await get_stream_details(self.mass, first_item, queue.queue_id)
File "/usr/local/lib/python3.10/site-packages/music_assistant/helpers/audio.py", line 253, in get_stream_details
streamdetails: StreamDetails = await music_prov.get_stream_details(
File "/usr/local/lib/python3.10/site-packages/music_assistant/music_providers/ytmusic/ytmusic.py", line 394, in get_stream_details
stream_format = await self._parse_stream_format(track_obj)
File "/usr/local/lib/python3.10/site-packages/music_assistant/music_providers/ytmusic/ytmusic.py", line 662, in _parse_stream_format
for adaptive_format in track_obj["streamingData"]["adaptiveFormats"]:
KeyError: 'streamingData'

In my case, when clicking on playlist or any of the options, it remains loading and does not show the content

I have the same issue with Youtube premium, I can't play songs an also player cant download song list from playlist, it keeps searching.

Ill tag @MarvinSchenkel just so he is aware but YT is a problem generally as they have no official API. See the disclaimer at the top of this post https://github.com/music-assistant/hass-music-assistant/discussions/606 and a more detailed explanation here https://github.com/music-assistant/hass-music-assistant/issues/1050#issuecomment-1402393376

Ill tag @MarvinSchenkel just so he is aware but YT is a problem generally as they have no official API. See the disclaimer at the top of this post #606 and a more detailed explanation here #1050 (comment)

Pretty much got nothing to add :-). When 2.0 gets released, it will be easier to trace and solve these kind of issues. So let's (im)patiently wait for 2.0 to be released!

https://github.com/music-assistant/home-assistant-addon
Please move to V2 to resolve this. Note that it is still in beta so other issues may arise. Please report back if it is fixed in v2

https://github.com/music-assistant/home-assistant-addon
Please move to V2 to resolve this. Note that it is still in beta so other issues may arise. Please report back if it is fixed in v2

I have the same issue in V2.

Ok thanks. This will continue to be investigated.

Please confirm if this still present on MA 2.0.0b7

Loving it!

It was not working for me so I uninstalled it... Now I try to reinstall it and it fails:
Error
Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble

Never mind... After actually reading the instructions and following them... It seems to be working now... I will give my impressions after I have used for a while.
Thank you for all you do!!

Great! I am gonna close this issue for now then. If you run into any issues, feel free to open a new one :-)


Private.xml not working

Hello,
I have a japanese keyboard and did a custom private.xml file, like this:
<?xml version="1.0"?> <root>   <item>     <name>backquote</name>     <identifier>private.eisuu_to_backquote</identifier>     <autogen>__KeyToKey__ KeyCode::JIS_EISUU, KeyCode::BACKQUOTE</autogen>   </item> </root>
Unfortunately this code not working. Do you have any idea why?

the XML do looks right.. can you go to last page of Karabiner and open "event viewer" and see what out put it do when you click the JIS_EISUU key


Fix typo in theme-switcher.js

Prefered -> Preferred

Hi @eltociear,
Thank you!
I will merge your PR into the dev branch. It will be merged into master with https://github.com/picocss/pico/pull/289 (I'm late).


[BUG] Fall detection test fails intermittently in PR #282

Describe the bug
It appears that the newly merged PR ambianic/ambianic-edge#282 has tests that fail intermittently in CI on ARM CPU.
___________________ test_fall_detection_2_frame_back_case_2 ____________________

    def test_fall_detection_2_frame_back_case_2():
        """
            Expected to detect a fall using frame[t] and frame[t-2].
            frame[t-2] : A person is in standing position.
            frame[t-1] : A person is mid-way of fall.
            frame[t]   : A person is fall down.
        """
        config = _fall_detect_config()
        result = None

        def sample_callback(image=None, inference_result=None, **kwargs):
            nonlocal result
            result = inference_result

        fall_detector = FallDetector(**config)

        output = _OutPipeElement(sample_callback=sample_callback)
        fall_detector.connect_to_next_element(output)

        # A frame at t-2 timestamp when person is in standing position.
        img_1 = _get_image(file_name='fall_img_1.png')

        # A frame at t-1 timestamp when person is mid-way of fall.
        img_2 = _get_image(file_name='fall_img_2_2.png')

        # A frame at t timestamp when person falls down.
        img_3 = _get_image(file_name='fall_img_2.png')

        fall_detector.receive_next_sample(image=img_1)
        fall_detector.min_time_between_frames = 0.01
        time.sleep(fall_detector.min_time_between_frames)

        fall_detector.receive_next_sample(image=img_2)
        fall_detector.min_time_between_frames = 0.01
        time.sleep(fall_detector.min_time_between_frames)

        assert not result

        fall_detector.receive_next_sample(image=img_3)

>       assert result
E       assert []

To Reproduce
https://github.com/ambianic/ambianic-edge/runs/1810906695?check_suite_focus=true#step:3:3921
Expected behavior
Tests should pass reliably in CI.
Host environment (please complete the following information):

Hardware: github actions CI, ARM virtual environment
OS: Ubuntu
Container: docker

Additional context
In the past this has happened a few times usually because the ARM version of TFLite outputs lower confidence scores for inferences than the x86 version.

@bhavikapanara please ignore. The latest fail due to my mistake. I did not properly merge the PR branch with your latest fix from master. Closing this issue...again :)


Improve API discovery for generating read-only ClusterRole for shoots/viewerkubeconfig subresource

How to categorize this PR?

/area usability
/kind bug
What this PR does / why we need it:
In Shoots that have registered the custom.metrics.k8s.io API group, the previous way of discovering the API lead to overloaded ClusterRoles (sometimes more than 18k entries), which also leads to hitting the 1 MB limit of the respective ManagedResource Secret.
With this PR

we use ServerPreferredResources() instead of ServerGroupsAndResources() (similar to what kubectl api-resources does) - this effectively skips subresources (or, more generally, resources containing a /) - which should be good enough for our "read only" purposes
we continue despite facing discovery failures for some groups (e.g., end-users could have created APIServices which are not Available, hence not discoverable) which sometimes leaded to stuck Shoot reconciliation

Which issue(s) this PR fixes:
Follow-up of https://github.com/gardener/gardener/pull/8870 (https://github.com/gardener/gardener/pull/8870/commits/eb601cc4d5b41d3bad75cbd70bb19cccd3716212)
Special notes for your reviewer:
/cc @ScheererJ @dguendisch
Release note:

An issue has been fixed which caused `Shoot` reconciliation to get stuck because the API discovery used to generate the read-only `ClusterRole` for `shoots/viewerkubeconfig` subresource failed.

/cherry-pick release-v1.90


Be able to define PERL5LIB when debugging

Hi. Thank you for create the clever extension for vscode.
I hope to define PERL5LIB when debugging with vscode-perl-debug extension.
Please examining.
Best regards.

Hi, do you mean like setting -Xlib or the env variable?

@ytnobody Can you try v0.1.2 - I've added a setting inc in the launch config file - it can be an array of one or more path's to include directories.
Note that #3 is about building a proper file/module resolver - so I have to learn how perl resolves modules

It looks so cool !
But...
I tried v0.1.2 and I encountered a following fault on MacOSX.

I know. It means that failed to set specified paths to INC.
Maybe, we have to swap -I ${incPath???} and -d ${command.AskForProgramName} to solve this issue.
I tried it on bash.
bash-3.2$ perl -d t/11_message_request.t -I/Users/azuma.satoshi/Net-Azure-EventHubs/lib

Loading DB routines from perl5db.pl version 1.49
Editor support available.

Enter h or 'h h' for help, or 'man perldebug' for more help.

Can't locate Net/Azure/EventHubs.pm in @INC (you may need to install the Net::Azure::EventHu
bs module) (@INC contains: /Users/azuma.satoshi/.plenv/versions/5.22/lib/perl5/site_perl/5.2
2.0/darwin-2level /Users/azuma.satoshi/.plenv/versions/5.22/lib/perl5/site_perl/5.22.0 /User
s/azuma.satoshi/.plenv/versions/5.22/lib/perl5/5.22.0/darwin-2level /Users/azuma.satoshi/.pl
env/versions/5.22/lib/perl5/5.22.0 .) at t/11_message_request.t line 5.
 at t/11_message_request.t line 5.
        main::BEGIN() called at t/11_message_request.t line 5
        eval {...} called at t/11_message_request.t line 5
BEGIN failed--compilation aborted at t/11_message_request.t line 5.
 at t/11_message_request.t line 5.
Debugged program terminated.  Use q to quit or R to restart,
use o inhibit_exit to avoid stopping after program termination,
h q, h R or h o to get additional info.
  DB<1> q

It failed to set @INC. It is as expected.
Afterwords, I tried again with swapped these options.
bash-3.2$ perl -I/Users/azuma.satoshi/Net-Azure-EventHubs/lib -d t/11_message_request.t

Loading DB routines from perl5db.pl version 1.49
Editor support available.

Enter h or 'h h' for help, or 'man perldebug' for more help.

main::(t/11_message_request.t:7):       my $hub = Net::Azure::EventHubs->new(
main::(t/11_message_request.t:8):           connection_string => 'Endpoint=sb://mysvc.servic
ebus.windows.net/;SharedAccessKeyName=mykey;SharedAccessKey=AexamplekeyAEXAMPLEKEYAexampleke
yAEXAMPLEKEY=;EntityPath=myentity',
main::(t/11_message_request.t:9):       );
  DB<1> q

Looks good :)

Ok so options need to be swapped, Ill fix that

@ytnobody hopefully 0.1.3 should solve the argument order

Wow, looks good! :+1: 🎊

Thank you!!!!

0.1.6 is out adding support for the PERL5LIB environment variable - just in case :)


Open an empty popup

Open a them open an empty or login popup.
Open automatically a popup is strange nowadays, has most browser block this by default.

I created an issue for that #24


[OTEL] Collector Test Environment

See MMF brief
(internal).

Comment added by José Moré in Aha! - View
First phase completed:

Terraform and ansible roles available for basic setup scenarios: single-host, container and orchestrated environment.
This already help us develop and troubleshoot the host monitoring implementation using the host receiver.

We'll revisit scope and determine next steps during FY23 Q1.


Raspberry Pi Memory Error

face_recognition version: 02.1
Python version: 2.7
Operating System: Raspian

Description
I installed to face_recognition my raspberry pi successfully for python 3. Now i am trying to install for Python2 because i need it. When i was trying install i am taking a Memory Error. I attached the images from my error. Please help me

Check out the README here.

Hey,
This error is occurred because caching mechanism is trying to read entire file into memory before caching.
To solve this error, run the below code on terminal.
Sudo nano/etc/dphys.swapfile
CONF_SWAPSIZE = 1024 #change size
Sudo /etc/init.d/dphys.swapfile start
Sudo /etc/init.d/dphys.swapfile stop


Ruby group capstone: set up your Kanban board

Hello Code Reviewer,
We are three in this group
@Alusp
@David-Kasilia
@PRATAP-KUMAR
this is the link for our projects Kanbanboard link of kanban board
We created the Kanban board with these requirments link for reference

Hi Team,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights 💯

Descriptive info ✔
Tasks distributed equally ✔

Optional suggestions
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Thank you @gemmen29


Ability to get all Components that extend from a base component (Polymorphism)

(Kind of related to https://github.com/rbxts-flamework/core/issues/33, but also different)
Currently, there is no possibility to retrieve all components that extend from a base component, which would be a great feature for writing decoupled code.
For example, I have different types of Interaction Classes for things like Seats or Heal Stations, that all derive from a BaseInteraction Class for common functionality. Then, I have a GUI to display an interaction prompt on all of these. Currently, I have to call getAllComponents() for each of these Interaction Classes manually (Which also means I have to reference them), instead of using one getAllComponents() call that supports Polymorphism.
I know that could be hard to implement as these types don't really exist on runtime, but I could imagine something like this working through the metadata that Flamework defines for each Component.

https://github.com/rbxts-flamework/components/pull/4
https://github.com/rbxts-flamework/transformer/pull/15