Site Support Request for Esquire TV Network web site

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.12.01. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.12.01

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v http://tv.esquire.com/now/team-ninja-warrior/full-episode/college-madness-pt-1-of-5/815232067537
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://tv.esquire.com/now/team-ninja-warrior/full-episode/college-madness-pt-1-of-5/815232067537']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.12.01
[debug] Python version 2.7.12 -<EMAIL_ADDRESS>[debug] exe versions: ffmpeg 2.8.6, ffprobe 2.8.6, rtmpdump 2.4
[debug] Proxy map: {}
[generic]<PHONE_NUMBER>37: Requesting header
WARNING: Falling back on generic information extractor.
[generic]<PHONE_NUMBER>37: Downloading webpage
[generic]<PHONE_NUMBER>37: Extracting information
ERROR: Unsupported URL: http://tv.esquire.com/now/team-ninja-warrior/full-episode/college-madness-pt-1-of-5/815232067537
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/generic.py", line 1626, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/lib64/python2.7/site-packages/youtube_dl/compat.py", line 2526, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/lib64/python2.7/site-packages/youtube_dl/compat.py", line 2515, in _XML
    parser.feed(text)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1653, in feed
    self._raiseerror(v)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 8, column 339
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 694, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/common.py", line 357, in extract
    return self._real_extract(url)
  File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/generic.py", line 2433, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://tv.esquire.com/now/team-ninja-warrior/full-episode/college-madness-pt-1-of-5/815232067537

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Episode (Free to Watch): http://tv.esquire.com/now/team-ninja-warrior/full-episode/college-madness-pt-1-of-5/815232067537
Episode (Requires TV Provider Authentication): http://tv.esquire.com/now/team-ninja-warrior/full-episode/college-madness-pt-2-of-5/819488835643

Description of your issue, suggested solution and other information
I would like support for tv.esquire.com videos.
Some of the videos require TV Provider Authentication and some don't require it.

I recently figured out that I when I posted my last two bugs, I was using version 2016.11.18 instead of the current version 2016.12.01 so for this bug I ran youtube-dl again and updated the log above the new one.
Though it appears no difference was made as the error message is still the same.
Also, I found that when playing a video on Esquire TV, if you right click on the flash player, the menu shows "ThePlatform SDK" so I would guess Esquire TV is using ThePlatform which youtube-dl already supports for NBC, AMC, BBCAmericia and others so that may help when adding support for Esquire TV.

I decided to look at the file extractor/theplatform.py to see how the extractor for 'ThePlatform' works and see if it can be made to work with Esquire TV.
It seems that for supported URLs, it looks in HTML Code for an SMIL file that has the actual file URLs to download in it.
I looked at the source code in Google Chrome and found this line (easy to find by searching for 'theplatform'):

It appears the 'data-release-url' attribute contains the url of the SMIL file as the first line of the file is <smil xmlns="http://www.w3.org/2005/SMIL21/Language"> and there are elements with a URL, bitrate, height and width specificed.
I saved the HTML code and the SMIL file and put them in this zip file Esquire_Video.zip.
I don't know enough about programming in python to make an extractor with this information myself but maybe this information can help someone who does and I can help test that extractor.

Hey, is there anything I can do to help move this issue forward (without writing the extractor myself as I'm not familiar enough with python to do that)?
I would really like to be able to download Team Ninja Warrior as Esquire doesn't provide an Android or Roku app and my cable provider doesn't provide Esquire TV in HD so using the web site is the only way to get HD or close to HD episodes of the show.

Just in case it might motivate the creators of youtube-dl a little, it appears that the format and platform for full episodes is virtually identical to that of E! Online, which I see has also been requested (https://github.com/rg3/youtube-dl/issues/6198).  So if you could create a working extractor for Esquire it would probably take all of two minutes after copying it to make it also work for E!, since the two sites appear to be virtual clones, at least in the way videos are presented.  You'd be adding two services for the effort of one! :)


Host.Service: add signals

This commit brings signals to the host. With the possibility for the
services to send info to their client counterpart while running.
The signal can take file descriptors as extra parameters to send data on
separate files.

Forgot to push actual changes? cc7537c8fa8c480dba95f2ebfe675bc86b341b74 and ae5775a159725b3777ec710cad1ad7ca2000ee9e are identical.

Oh yeah. lol I'm tired today


Trying to create a new message when assigned to a team with no name, app crashes.

If a user is assigned to a team that does not have a name set and that user tries to create a new message the app freezes or crashes.

Can't reproduce, must have been fixed in a previous bug


Workflow for OSD Version Increment: Update plugin_helpers

Description
Workflow for OSD Version Increment: Update plugin_helpers
Issues Resolved
https://github.com/opensearch-project/opensearch-build/issues/3333
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #3467 (5c4b9b7) into main (1348cbb) will decrease coverage by 0.27%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main    #3467      +/-   ##
==========================================
- Coverage   91.81%   91.55%   -0.27%
==========================================
  Files         181      181
  Lines        5268     5268
==========================================
- Hits         4837     4823      -14
- Misses        431      445      +14

see 2 files with indirect coverage changes

For context:
Some plugins use plugin-helpers and others use plugin_helpers for pointing to node ../../scripts/plugin_helpers. To work around that inconsistency, this change is introduced here.


on change event

Hi, reporting that the jquery "change", "select2:select", "select2:change", etc... events are not working for me using 3.3.2 (jquery 3.3.1) In vanilla js, it works ok.
This is not working:
$("#myselect2id").on("change", function() { // or "select2:select" or "select2:change"...
  console.log("myselect2id changed");
});

This works:
document.querySelector('select[name="myselect2name"]').onchange=function() {
  console.log("myselect2name changed");
};

Hmmm... Could that have something to do with the version of jquery that your own code uses being separate from the version that we use to install Select2 and DAL's js? I don't think that makes sense, but I'm not a JS guru.
Does the first code block work if you use DAL version 3.3.0?

hi @coredumperror,

I'm using django 2.1.1. In my templates I use the django admin jquery ({% static 'admin/js/vendor/jquery/jquery.js' %}), which I think is the same that uses django-autocomplete-light
I've tried with DAL 3.3.0, but the first code block didn't work.
I am not a JS guru either, so I don't know how to debug it.

Ah, if it doesn't work on 3.3.0 either, then your issue isn't with the changes I made, which got incorporated into 3.3.1 and 3.3.2. Unfortunately, I only joined the project team when I made those changes, so I'm not yet familiar with the codebase outside of that tiny sliver of code I wrote.
One thing that just came to mind though is that your jQuery codeblock is not quite identical to your raw Javascript code block. One selects #myselect2id, while the other selects select[name="myselect2name"]. Maybe the <select> element itself isn't the one that has the ID of myselect2id? If that ID is on a wrapper around the <select>, it would make sense for it to not get sent the "change" or "select2:select" or "select2:change" events.

@XaviP how did you fix the problem?

Dal is back to shipping select2 through a git submodule, if needed we can update it and issue a new release.

Use django-autocomplete-light 3.7.0.dev0. You can capture change event in jquery. But changing the selection with jquery is where the problem lies. $(selector).change(function() {
<--- your code here --->
}); works.
But  $(selector).val(value).trigger('change'); not working.


Quit Leasing when Client disconnects

Attention:
This is a rebase of
https://github.com/containers/netavark-dhcp-proxy/pull/61 which was written by Jack Baude. Jack is tied up in school and I simply performed the rebase to netavark after ithe netavark and netavark-dhcp-proxy projects were merged.
In the case where a client asks the proxy server for a leased address, it is possible that the client would quit (hangup) before the server could respond.  Or more likely, the server is having difficulty obtaining a lease and the client quits.  In either case, when the client quits, the server needs to stop trying to aquire a lease.

start using mozim 0.2.1 with async lease capabilities.
fixed timeout type to match mozim 0.2.1
detect client disconnection with tokio oneshot channel
use async lease DORA

lint is not happy


test(regress): Rearrange regression tests to reduce cross-script dependencies.

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Rearrange regression tests to reduce cross-script dependencies. Make it possible to run individual
test scripts without running the entire test suite. Add test_setup, onek, tenk and test_free to manage the creation and deletion of shared tables
Not created:

table: CHAR_TBL, POINT_TBL, person, emp, student, stud_emp, road, ihighway, shighway.
type: stoplight, float8range, textrange.
function: binary_coercible, ttdummy, get_columns_length, part_hashint4_noop, part_hashtext_length, fipshash.
operator class: part_test_int4_ops, part_test_text_ops.

Checklist

[x] All checks passed in ./risedev check (or alias, ./risedev c)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

When I said "with manageable complexity" I did not mean a PR with +11,866 lines 😅. Could you elaborate on how do we plan to maintain these files?

The majority of the added lines seem to come from data.
IIUC, Postgres uses COPY FROM to load them into the table, while RW does not support this command.
So insert into is used instead.


Deprecated option ServerKeyBits logged by sshd

RancherOS Version: (ros os version)
v1.0.4
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
AWS
Login using SSH, following lines are logged in /var/log/messages:
Aug 15 14:53:41 ip-172-31-21-246 sshd[10309]: rexec line 121: Deprecated option ServerKeyBits
Aug 15 14:53:42 ip-172-31-21-246 sshd[10309]: Accepted publickey for rancher from IP port PORT ssh2

https://github.com/rancher/os/blob/c7b764693d58f205920cc55102da6d5d9829d1b5/cmd/control/console_init.go#L220

This is in v1.5.1


Test coverage revisions revisions

This PR makes the revisions suggested by @gselzer on #28

Codecov Report

Merging #36 (e311482) into main (e3fe6d6) will decrease coverage by 0.00%.
The diff coverage is 77.77%.

:exclamation: Current head e311482 differs from pull request most recent head 7071a6c. Consider uploading reports for the commit 7071a6c to get more accurate results

@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
- Coverage   91.41%   91.41%   -0.01%
==========================================
  Files          11       11
  Lines        1596     1595       -1
==========================================
- Hits         1459     1458       -1
  Misses        137      137

Impacted Files
Coverage Δ

src/napari_imagej/widget.py
73.88% <71.42%> (-0.20%)
:arrow_down:

src/napari_imagej/__init__.py
100.00% <100.00%> (ø)

src/napari_imagej/_module_utils.py
68.72% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e3fe6d6...7071a6c. Read the comment docs.

I also added the revisions for #12, allowing us to close https://github.com/imagej/napari-imagej/issues/23


[Request] Play from the last played song in a album

If it's possible, could the same functionality be applied to albums?

Can you send me an album link for testing purposes?

https://open.spotify.com/album/3MKvhQoFSrR2PrxXXBHe9B?si=7-ottDOeSxGfgtwo8FQS-Q

The extension now supports albums as well, can you update the extension and check if it works as intended?

The extension now supports albums as well, can you update the extension and check if it works as intended?

Can confirm it works! Awesome! Thank you!


5 feature add tag filtering on projects page

This adds a new feature to the projects page.
With this filter module users can:

filter by typing in tags (autocomplete will suggest possible tags)
click on tags in project cards (these will then be added in the tag-list)

The displayed projects update immediately when tags are added or removed.
Invalid tags are not possible (you can only enter tags that are in a predefined list).
This leads to a change in how we manage the information in the CMS.
There should be a list of unique tags in the CMS that the tags for each project can be selected from (I started doing this now).
The same list must be fed into the filter-module.
I introduced a new component that can be used to optionally show/hide content and put the filter-module in it.
That way, users get to see the projects right away and can use the filter if they want to by toggling it open.

p.s. no filtering on the landing page, check the projects page :)


Fix remaining installApkRemotely calls

The parameters to installApkRemotely were changed but two places were missed.
Cc: @spearminty

What functionality exposed this bug? Is this code under unit test coverage? Where are these general.js commands used vs calls to android-adb?
I'd like to know so I can test better in the future
Thank you

I caught this while fixing an issue in appium-selendroid-driver. It seems like we do not at the moment have test coverage for these particular parts. Alas. It's in my queue but so is way too much other stuff.


Feature request: Automatically hide footer and nav bar on map view

A small JS hack allows to automatically hide the footer and navbar, providing maximum map view. Navbar is shown again when mouse enters the area.
In master.tpl change the last script tag to:
        <script type="text/javascript">
            $('#{template:pageId}').addClass("active");

			setTimeout(hideNavbar, 10000);
			setTimeout(hideFooter, 10000);
			function hideFooter(){
				if ( $("#iframe-wrapper").length ) {
					$('#iframe-wrapper').css('bottom', '0px');
				}
			};

			$('#navbar').mouseenter(function() {
				$('#navbar').fadeTo(600, 1.0, function(){
					$('#iframe-wrapper').css('top', '50px');
				});
			});

			$('#navbar').mouseleave(function() {
				setTimeout(hideNavbar, 3000);
			});

			function hideNavbar(){
				if ( $("#iframe-wrapper").length ) {
					$('#navbar').fadeTo(400, 0.05, function(){
						$('#iframe-wrapper').css('top', '0px');
					});
				}
			};
        </script>

Navbar and footer are always shown in any other portal view.

Thanks for the suggestion and code contribution, I will see if i can get a chance to test this and if it works as expected will look to include in my 2.6.0 branch...
Out of interest have you tried viewing this on any mobile device browsers as this may be an area where the reclaimed screen area is most beneficial?

It works, tested on two Android 7". Another option is not to use bootstraps "navbar-fixed-top" but "navbar-static-top". At least then it scrolls away.
Getting the most out of the screen is by using jQuery-UI accordion for the side-bar. I have included that in my dump1090-fa fork. You may have a look at that as well.

This requests relates well with what I am currently working on a truly mobile friendly way to view real time data supplied by dump1090, dump978, etc.. A full screen feature will be added with the new map I am working on for v3.0.0 or possibly v2.7.0.

Added @Mictronics's JavaScript along with an option to toggle navigation and footed auto hiding to the administration area in commit ea73ade7cb561cefb72487a74dab53b67c853212.


Master => develop

Merge latest release back into develop

This change is

Builds ready [a26055b]builds: chrome, firefox, opera
bundle viz: background, ui, inpage, contentscript, ui-libs, bg-libs, phishing-detect
dep viz: background
all artifacts


Refactor instructions in readmes for the samples

So, this does work on Chrome as long as third party cookies are enabled! Should we document that?

@sadasant do you know if this PR is still relevant? If so, would you mind polishing it up so it can merge?

@xirzec sure can do!

@xirzec I think this is good to merge.


Content type error

Hello,
I'm trying to push some release to gitea, but I get the following error :
File type is not allowed
The file I've uploaded is a .tar.gz file, which is supposed to have the application/gzip mime type, and this type is in the default list of allowed type in gitea setting.
Any idea ?

That sounds like an upstream gitea issue, this plugin just uses the gitea go sdk. So please report it on the gitea forum or issue tracker to get support for that.

You can try to allow all file types for testing.

@JonasFranzDEV how do you do that ? the config parameter accept wildcard ?
Anthony.

@atoy40 https://docs.gitea.io/en-us/config-cheat-sheet/#attachment-attachment

Issue seems to be solved


Cannot edit CSS file

Hello, according to the readme, i should be able to edit the HTML and CSS files. However, when i save any changes to the freelancer.css file, it reverts back to the original. Any tips on how to change the color scheme/edit other parts of the CSS?
Thanks!

Dude. Check file permissions. Don't open tickets on GitHub on that.


Frontend doesn't function with recent builds of xi-editor

This doesn't appear to work with recent builds of xi-editor. In particular, the syntax for updates has changed significantly. See the following for more information:
https://github.com/google/xi-editor/blob/protocol_doc/doc/update.md

Hi,
Yeah I know, I've been quite inactive on this project lately.
I should have a little bit of time in the coming weeks so I'll fix that :)

Closed via https://github.com/little-dude/xi-tui/commit/4afc8db5a836aeda3b8131444d27c75c00a92506


Enable pug again

Pug (akryum:vue-pug) doesn't work anymore with this package.
How can pug be enabled again? Is there a way to integrate it in the build process?

We've created a PR to support this.
Meanwhile replace vuejs:vue3 with seamink:vue3 - see details here https://atmospherejs.com/seamink/vue3


Meta - Merge project with similar site

It doesn't make any sense to have two different solutions that are objectively doing the same thing. Since, there is no profit coming out of these projects, I think there should only be one of these.
https://github.com/justdeleteme/justdelete.me
https://github.com/jdm-contrib/jdm

Nvm. The other one is not maintained and this is the fork.

You're welcome :)


BtnGroup + Btn with input-type and input-value not setting checked state on radios/checkboxes

Version & browser
Package:
<EMAIL_ADDRESS>Browser:
<EMAIL_ADDRESS>Which component
Btn
Steps to reproduce the problem
Isolated to the following simplified component.
<template>
  <btn-group>
    <btn input-type="radio" input-value="1" v-model="model">Radio 1</btn>
    <btn input-type="radio" input-value="2" v-model="model">Radio 2</btn>
    <btn input-type="radio" input-value="3" v-model="model">Radio 3</btn>
    <btn input-type="radio" input-value="4" v-model="model" disabled>Radio 4 (Disabled)</btn>
  </btn-group>
</template>
<script>
import { Btn, BtnGroup } from 'uiv';

export default {
  data() {
    return {
      model: '1',
    };
  },
  components: {
    BtnGroup,
    Btn,
  },
};
</script>

Expected behavior
Expecting model to update based on button clicks. Just viewing state using the vue inspector plugin.
Actual behavior
Checkboxes or Radios don't get checked="checked" set so the state doesn't update. Cursory look seems like the inputType.validator is getting an object not a string. Will update when I have some more time to investigate.

Started a fresh Vue project with the component above and all works as it should. Looking like this is likely a conflict between some other module in our project... perhaps lodash. Looking into it now.

https://codepen.io/wxsm/pen/ooOaeb
I can make this work.
Is there any error msgs?

Nope. No errors. Just no change in the model. I had to wrap up work on something else this afternoon but I'll see if I can figure it out in the morning.

change event isn't firing on click. the active class updates so the button looks right but the state doesn't update because on change isn't firing... still looking into it.
          on: {
            change: function() {
              console.log('changing');
              "checkbox" === u.inputType ? h ? u.value.splice(u.value.indexOf(u.inputValue), 1) : u.value.push(u.inputValue) : c.input(u.inputValue)
            }
          }

You don't need a change event on btn, it was handled inside the component, just add watchers to the model if you want to detect change.

Correct. That's the change event in the uiv Btn component... It never fires in my project. The click event fires on the button but the change event doesn't fire on the radio inputs. I'll take another look tomorrow afternoon.

OK... I see. Which bundler you're using? browserify / webpack 1 or 2 / other? I will see if I can reproduce this.

Webpack3 I believe... I'll check

Nope. Weback 2.6.1

Ugh was looking at the wrong branch. Yes<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

I set up a separate project using the same webpack setup and the buttons work as they're supposed to. I haven't been able to nail down the issue within our main project yet however.

Closing due to this might not be an issue of uiv (can not repro). I will see what I can do once you found the root cause, thanks.

Is there any way to make uiv play nicely with bootstrap.min.js?
We're using uiv because we have a large project on bs3 and want to start doing some things with vue. Removing bootstrap.min.js is not an option because other parts of the page are using bs outside of vue.
I've got to think this is a common use-case for uiv - otherwise people would just use bootstrap-vue, right?

@bendytree I dont think that this is 'common', but If you need this badly, pls open another issue for it, and PRs are always welcome.


pulseaudio blocks audio devices for other processes using ALSA

I'm running hassio (Supervisor 209, homeassistant 0.106.6) on a generic linux host (Ubuntu 19.10). The same host runs Kodi which uses ALSA to play sound via the TV (HDMI). Pulseaudio is not installed on the host.
The hassio docker container starts a pulseaudio daemon which prevents Kodi from accessing the audio device via ALSA. As a workaround, I currently have to stop the supervisor and audio containers, start Kodi and then restart the supervisor & audio container. This allows Kodi to grab the audio devices.
I don't need homeassistant to output any audio, so I need some way to prevent the audio container from blocking the audio devices (or preventing the container from starting at all).

Duplicate of #12


V 0.0.2: WorldGen

Provide source(s) for Foundations Clay block to generate.

Having an issue where clay block is not generating in the foundations:river biome.


is there a fix in the works for

Only this json string should be in the channel description otherwise it couldn't be recognized by TeamCord!
the channel decryptions are a big part of mine and many servers can you teach it to ignore anything after its {"Teamcord":{"Channel":000000000}} /n/n
or somen to allow it to just check for its needed string in only the top line or last line type thing?

Same as this #5
In the next release you can copy that json string wherever you want in the description. Teamcord will find it.


Optimize pem parsing

Resolved issues:
N/A
Description of changes:
When analyzing performance of s2n, we notice that pem parsing takes more
CPU time than ECDHE processing. This is largely due to using single byte
read and write operations.
It is possible to safely access the data blob using the read and write
cursors while ensuring we maintain data integrity and gain a 20% speed
improvement.
Call-outs:
N/A
Testing:
Covered by existing unit tests
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #2077 into master will increase coverage by 18.15%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           master    #2077       +/-   ##
===========================================
+ Coverage   57.02%   75.17%   +18.15%
===========================================
  Files         155      233       +78
  Lines       11597    17566     +5969
===========================================
+ Hits         6613    13206     +6593
+ Misses       4984     4360      -624


KON-578 Fix fully qualified name

fullyQualifiedName was broken, because it tries to match first import which CONTAINS the expected type name. Ex: org.AnotherPerson contains Person, but should matches this predicate, but it not the fully qualified name or Perso.
I chose to update existing snippets used in KoTypeDeclarationForKoFullyQualifiedNameProviderTest, instead of trying to build all possible combinations :

current list of use cases
with or without another import… which name start, contains or ends with expected fullyQualifiedName … or not

I think it's preferable.

I think this is a better fix than #774, and would fix #738 and #829.

Thx for the contribution.
I appreciate link to issues 🙂


[Blog Contribution] Develop MicroProfile apps with the new Liberty Tools for Eclipse

**Content copy/edit review (available & optional)
Draft
Social Media Description
Early release of Liberty Tools for Eclipse. A new experience for developing cloud-native Java microservices on @OpenLibertyIO, inc assistance using @MicroProfileIO APIs, editing server config in Maven and Gradle projects, and automatically deploying code changes to your running app. @awisniew90 demos.
Design Card  (for MicroProfile designer)

[ ]  Minimal requirements highlight the MicroProfiler & the title of the blog

Hi @lauracowen,
Thank you for submitting the article. The blog post is now published: https://microprofile.io/2022/08/15/develop-microprofile-apps-liberty-tools-eclipse/
cc: @rstjames Social media is the next step, I'm assigning the ticket to you.

@lauracowen on the SM image:
Who should be as the author.?
I clicked the link from the artical and it says the author is Adam Wisniewski?
Let me know and I will add whoever's image to the SM card.
Thanks,
R

@rstjames hi, yes, it should be Adam. Thanks

@lauracowen

I will put it on MP social today

Looks great, thanks :)

@lauracowen sorry but your tweet is over the characters.  323 / 280 can you please shorten it?
Thanks

Ah sorry. How's this:
Early release: Liberty Tools for Eclipse. Develop cloud-native Java microservices on @OpenLibertyIO, inc assistance using @MicroProfileIO APIs, edit server config in Maven & Gradle projects, auto deploy code changes to your running app. @awisniew90 demos.

All set to go out.


Reasoning for External Command Execution

Hi,
first of all congrats for a truly great package. The provided API looks really good and provides a real benefits to the iOS ecosystem which is lacking a good UCI implementation.
i was wondering about the reason you chose to fork Stockfish and lc0 in order to allow external command execution. I found similar packages for flutter/capacitor used by the lichess mobile app and to me it seems like they are sending commands through a stdin pipe. This way the engines source code does not need to be modified and I assume it makes updating the engine version much easier. Also you reduce the risk of introducing bugs/crashes by the given changes.
Would you mind sharing your thoughts on that?
The other thing i was wondering about is that you stated in #6 that you experienced some threading/concurrency issues. I saw that you recently worked on some related things. Do you still see these issues? Any update here would be great in order to decide whether using this library would work for me.
Kind regards,
David

@dehlen thank you for your comments!
Regarding the external command execution, at the time I first wrote the package I was having issues getting Stockfish to recognize commands sent through stdin. There was this post I found explaining a way it can be done: https://forums.developer.apple.com/forums/thread/690310 but it makes use of Process() which isn't available on iOS. I can try to revisit now and see if I can find another way because I agree it would be a lot similar and more future-proof to not have to change the internal Stockfish code. I will look at the libraries you mentioned to see if there's another way.
Regarding the performance, yes I've moved the communication to a background thread and it has improved greatly in my experience.

Hi,
Thanks for getting back to me.
I was especially looking at https://github.com/lichess-org/dart-stockfish/blob/master/ios/FlutterStockfish/ffi.cpp as this is used in the rewritten Lichess mobile app. I would assume this wrapper could be used as well in this package as already everything is in place for an Objective-C++ wrapper. You could then probably use the created pipe to create a FileHandle for writing. Although CPP is not exactly my speciality I am a professional iOS developer myself. So if i can help I would happily do so.
Kind regards,
David

@dehlen good news! I managed to get the pipe working in the other direction so we can write directly to stdin. I've opened PR #12 for this.
I also updated the Stockfish fork to now use the latest 16.1. The one change I couldn't avoid however is that I had to rename main.cpp to _main.cpp and introduce a header file to import it for use with the engine messenger. This is because Swift Package Manager complains when there is a main.cpp in a package that does not have an executable target. I'll try to find a way around this but for now this is a reasonable compromise as it requires no modification of the Stockfish (and presumably any other engine) code!
Here is the commit with these changes if you're interested: https://github.com/chesskit-app/Stockfish/pull/3/commits/419cbc2477c5a451f7aa9458f4ace18b414b8cf8

That was fast thank you very much 😄
The problem with main is something i also encountered while having a look but I think it is a reasonable change, if everything else can be untouched.  If you would like I can have a closer look at the Draft PR and provide code review comments. Anyway thanks for your time and the ongoing effort. I myself wrote a Swift package to parse PGN files which I ported from https://github.com/niklasf/rust-pgn-reader/tree/master. If you are interested I could share my implementation which does not rely on any regex to be quite performant. It can also handle multiple games in a single file just fine.

Yes any comments on the PR would be great.
I would also love to see the PGN parser. I have my own in my other chess package: https://github.com/chesskit-app/chesskit-swift/blob/master/Sources/ChessKit/Parsers/PGNParser.swift but it's nothing special and I haven't really tested the performance of it much. It's also still missing a few things like parsing annotations and variations.

Ok i'll have a look and will add my comments once i find time (probably will take me some days). Regarding the pgn parser i just made my WIP repo public for you to have a look at. As I am on paternity leave I find myself regularly away from the keyboard so this isn't really tested yet. However I added unit tests and on my first look at it it seemed to work just fine. A few quick notes on the implementation:

It operates on bytes (UInt8) for performance reasons
It uses a RingByteBuffer again for performance reasons. This way even large PGN files can be read since I only load parts of it into memory at once
It does not check whether moves are valid as this would have a performance penalty and ultimately I think is job of the Chess logic SDK one is using
It can read multiple games in a single PGN file just fine. One can either call readGames or readGame. There also is an Iterator available.
Annotations and Variations are supported
You can use the Visitor pattern of the library to transform the parsed data into your own data structure. I think it should be fairly simple to use it in your ChessKit package

No hard feelings if it doesn't fit your needs. If it does, feel free to use though. I thought i would bring it up in order to give you something in return of your work on this engine package.
Link: https://github.com/dehlen/UntitledChessApp (see Packages/PGNKit)

Looks great! I will take a closer look when I have some time and see if it's a good fit for ChessKit.


Fix backoffice

To fix:

[ ] "Add questions" lead to a bad route
[ ] Check what admin can do with users

Create an "Administrateurs" part to create and list admins

Backoffice has been reworked.


magnum-auto-healer: Remove Node object after Heat stack update

What this PR does / why we need it:
Delete Kubernetes Node after updating the Heat stack, this is to avoid the following issues:

If an error happens during the repairing process in the cloud provider, there is no chance to fix the failed node in the future because the Node object has been deleted from Kubernetes.
If the magnum-auto-healer(master) is running on a failed node, there is no chance for the slaves to fix that node because the Node object has been deleted from Kubernetes.

Which issue this PR fixes: fixes #700
Special notes for your reviewer:
Release note:

/lgtm
/approve


Use case for unbox tuple on demo/pwm_button_ats/DATS/main.dats

https://github.com/fpiot/arduino-ats/commit/b6c68c62f7653d6c63d68ea06fa73933b0186126#diff-1dd66ab8180e748a13c89a51de0192ee

An discussion with Hongwei: https://github.com/fpiot/arduino-ats/commit/b6c68c62f7653d6c63d68ea06fa73933b0186126#commitcomment-10836053

It's caused by ATS2 compiler's BUG. Fixed at https://github.com/fpiot/arduino-ats/commit/f0bdd5c2677277ee01ffea90609ec349bba0f999.


Create interface descriptions for COM modules

Story Points: 13

User Story:
„As software architect I want to define the interfaces to finish static view of Com Handling."
DoD:

All tasks completed
Review passend
Documentation available

Tasks:

[x] All interfaces are described

interfaces defined - specification of required structures will be done during detailes design


fix: adds missing configurable swagger-ui-url

This enables swagger to operate... as we expect.

Codecov Report
Base: 16.57% // Head: 16.57% // No change to project coverage :thumbsup:

Coverage data is based on head (27467d8) compared to base (b82182d).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #54   +/-   ##
=========================================
  Coverage     16.57%   16.57%
  Complexity      430      430
=========================================
  Files           167      167
  Lines          6384     6384
  Branches        569      569
=========================================
  Hits           1058     1058
  Misses         5270     5270
  Partials         56       56

Impacted Files
Coverage Δ

...io/dsub/sweatboys/opendiscogs/api/Application.java
33.33% <ø> (ø)

...gs/api/label/projection/LabelDetailProjection.java
100.00% <ø> (ø)

.../api/label/infrastructure/LabelRepositoryImpl.java
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Support Jira 8.0

Jira 8.0 is now released, but the addon does not yet work for Jira 8.0 (Nullpointer exception).
Please add support for Jira 8.0

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d38cad90-6574-38c2-3262-059a9f975064
Version Independent ID: dd08d5c5-65a4-c2cc-8b51-7a35268dde68
Content: Tutorial: Azure Active Directory integration with JIRA SAML SSO by Microsoft
Content Source: articles/active-directory/saas-apps/jiramicrosoft-tutorial.md
Service: azure-active-directory
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@arnrist Thank you for your feedback . We do have a request on the azure uservoice feedback forum and we would request you to vote for the same .
Vote for Updating Jira plugins
Additionally we would update the author as well for this request.
@jeevansd Could you please have a look at this request.

@arnrist We have recorded your request and informed the author . However this may take some time. At this point we have closed this request but the uservoice request is in the pipeline. We do not have a specific timeline to share for the same because there are a lot of requests which have a higher demand from customers however , we hope to get this looked into soon. We encourage you to use the uservoice feedback site to vote for this feature request.
Thank you.

@arnrist We are working on this and as soon as we update the plugin I will let you know here and then we can close this thread.

@chetansriv FYI.

My team hit the same issue last evening when upgrading to JIRA Server 8.02. Please update your integration piece so we can continue to utilize.  As well as keeping up to date with Confluence integration.

+1 for Jira 8 support. And keep up to date with Service desk releases too.

@max-allan-surevine @scootafire @arnrist We are testing the plugin for JIRA 8.0  so soon we will update the plugin.
Also note that we have tested the plugin against the JIRA Service Desk 3.0 3.1 and 3.2 on Ubuntu 16.04 and on Windows. All these service desk versions are supported on the new plugin. So please download this and try again.

This is good news.
@jeevansd - I was wondering, did you also test the plugin against the JIRA Service Desk 4.0?
JIRA Service Desk 4.0 was released with Jira v.8.0. It would be appropriate to test the Jira Service Desk version that matches the highest supported Jira Software/Core version.

@arnrist Thanks for letting me know. I will park the ServiceDesk 4.0 in our testing queue once the JIRA 8.0 is complete then we can take this next.
Thanks.

How soon will the JIRA 8.0 be completed.  Also how about the Confluence support for 6.15 for that pluin?

Does anyone know how to tweak the log-out timer for Jira AD Integration?
Currently users are being prompted numerous times per day and having to go through MFA constantly.
We want a login to last at least 8 hours before re-prompting.

@max-allan-surevine @scootafire @arnrist I have an update for you.
We have completed the development for the JIRA 8.0 and now testing it. Planning to take this out by next week.

@PirateBread  Please use this solution for now https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-configurable-token-lifetimes

is the JIRA 8,0 version ready for download?

@scootafire We are planning to release this by end of this week.

Is this ready for download and installation on our JIRA yet?

@jeevansd Hi. It's now well past the end of previous week. When is the plugin available?

@pauska  Yes, it is ready. Currently this is on it way to the Microsoft Download Center. If you need this early then please reach out to our team<EMAIL_ADDRESS>

@arnrist @scootafire @max-allan-surevine @pauska Now we have published the new JIRA plugin version on the Microsoft Download Center. So please feel free to download it from there and then you can use it.
I will close this thread now. We will also update this doc to show the support for new JIRA 8.0 version in our plugin.

#please-close

#please-close

@jeevansd - I downloaded and installed the app now and it is not working.
Can see a error in the logs when trying to enable the app:
nested exception is java.lang.IllegalStateException: The bundle is uninstalled.
Tested on Jira 8.0.0
Tried re-installing the app.
Did you see any issues related to this under your testing?

@arnrist Please reach out to us on<EMAIL_ADDRESS>and then we can investigate this issue with you.

#please-close

The documentation still shows compatible upto 7.12. Atlassian has now released 8.2 version. Can you please confirm if the app works for 8 and above versions without any issues?

@jaswanthpadigala Yes, our plugin is been tested with version 8.0 so if you are using JIRA version 8.0 then it should work. We are in the process of testing the plugin for version 8.1 and 8.2.
Also to note that the document is still getting updated. Should be up to date by next week.

Hi Jeevan, looks like the app doesn't support the latest Jira version 8.3.1 yet though Jira shows the app is compatible in the admin console. The login button is not visible in the login page inspite of enabling the app and checking all the settings. Have you tested this and is there a plan to release a compatible version in the near future?

Hi @jeevansd Is there a plan to release a compatible version with jira 8.5.1  in the near future?

Hi @jeevansd
Does this add-on compatible with jira 8.2.6?


Improve scalar quoting performance

Results on my system:
Current:
(benchmark 100000 '(emacsql-quote-scalar "I'm learning Python."))
"Elapsed time: 2.657825s (1.080004s in 23 GCs)"

PR:
(benchmark 100000 '(emacsql-quote-scalar "I'm learning Python."))
"Elapsed time: 1.067836s (0.787702s in 17 GCs)"

The original implementation was based on replace-regexp-in-string: 3b70e8f. I switched to the temp buffer version because whatever throwaway benchmark I used at the time showed it was faster, particularly because replace-regexp-in-string generates tons of garbage.
Revisiting it now with Emacs 27.1, there's a crossover point between 3 and 4 apostrophes. The temp buffer has a high startup cost, but is overall more efficient (the gap buffer avoids generating garbage).
;;; -*- lexical-binding: t; -*-
(dotimes (i 25)
  (let ((s (format "abc%sdef" (make-string i ?'))))
    (benchmark 100000 (list 'emacsql-quote-scalar s))))

The regexp-replace version runs the garbage collector much more often:

No matter the number of apostrophes, it spends most of its time in the garbage collector:

Since most string scalars are expected to have fewer than 4 apostrophes, it probably makes sense just to use the replace-regexp version, but I'm still wary about the worst case and generating so much garbage.

Thank you for the detailed insights and explanation of the historical reasons that led to the current implementation.
Interestingly, the replace-regex implementation on my system is always faster. Anyway, I have looked at the implementation of replace-regex and now I have implemented a specialized version, which is much faster:
regexp-replace                                   temp-buffer                                      own implementation

Elapsed time: 0.521850s (0.524323s in 8 GCs)     Elapsed time: 2.559998s (1.298774s in 28 GCs)    Elapsed time: 0.443598s (0.333841s in 5 GCs)
Elapsed time: 0.767311s (0.703203s in 13 GCs)    Elapsed time: 2.969729s (1.616639s in 33 GCs)    Elapsed time: 0.686606s (0.538863s in 10 GCs)
Elapsed time: 1.061757s (0.913401s in 17 GCs)    Elapsed time: 3.216180s (1.788128s in 38 GCs)    Elapsed time: 0.812525s (0.611451s in 11 GCs)
Elapsed time: 1.413832s (1.185098s in 22 GCs)    Elapsed time: 3.816427s (2.116909s in 43 GCs)    Elapsed time: 0.842065s (0.695212s in 13 GCs)
Elapsed time: 1.704233s (1.399007s in 26 GCs)    Elapsed time: 4.111683s (2.391927s in 49 GCs)    Elapsed time: 0.948747s (0.748723s in 14 GCs)
Elapsed time: 2.054108s (1.668513s in 31 GCs)    Elapsed time: 4.198231s (2.453352s in 54 GCs)    Elapsed time: 1.053291s (0.800285s in 15 GCs)
Elapsed time: 2.357662s (1.882876s in 35 GCs)    Elapsed time: 4.572700s (2.619197s in 58 GCs)    Elapsed time: 1.267134s (0.854599s in 16 GCs)
Elapsed time: 2.651335s (2.098092s in 39 GCs)    Elapsed time: 5.015285s (2.917136s in 64 GCs)    Elapsed time: 1.318649s (0.960398s in 18 GCs)
Elapsed time: 3.002761s (2.367188s in 44 GCs)    Elapsed time: 5.384789s (3.157256s in 69 GCs)    Elapsed time: 1.426605s (1.015898s in 19 GCs)
Elapsed time: 3.298794s (2.583839s in 48 GCs)    Elapsed time: 6.189858s (3.695950s in 75 GCs)    Elapsed time: 1.638877s (1.068143s in 20 GCs)
Elapsed time: 3.653449s (2.860977s in 53 GCs)    Elapsed time: 6.193920s (3.765986s in 79 GCs)    Elapsed time: 1.690573s (1.175211s in 22 GCs)
Elapsed time: 3.985965s (3.077324s in 57 GCs)    Elapsed time: 6.444607s (3.869025s in 84 GCs)    Elapsed time: 1.796182s (1.227437s in 23 GCs)
Elapsed time: 4.228551s (3.292603s in 61 GCs)    Elapsed time: 6.861403s (4.213131s in 90 GCs)    Elapsed time: 2.010033s (1.280468s in 24 GCs)
Elapsed time: 4.579165s (3.552230s in 66 GCs)    Elapsed time: 7.236405s (4.441292s in 95 GCs)    Elapsed time: 2.068538s (1.388774s in 26 GCs)
Elapsed time: 4.988655s (3.771820s in 70 GCs)    Elapsed time: 7.431056s (4.595113s in 100 GCs)   Elapsed time: 2.215706s (1.444392s in 27 GCs)
Elapsed time: 5.239030s (4.038972s in 75 GCs)    Elapsed time: 7.802493s (4.873736s in 105 GCs)   Elapsed time: 2.393896s (1.497034s in 28 GCs)
Elapsed time: 5.526718s (4.253166s in 79 GCs)    Elapsed time: 8.137921s (5.080095s in 110 GCs)   Elapsed time: 2.440634s (1.600902s in 30 GCs)
Elapsed time: 5.929200s (4.468238s in 83 GCs)    Elapsed time: 8.626883s (5.356165s in 115 GCs)   Elapsed time: 2.547778s (1.655972s in 31 GCs)
Elapsed time: 6.272569s (4.738194s in 88 GCs)    Elapsed time: 8.847913s (5.546497s in 121 GCs)   Elapsed time: 2.758850s (1.706297s in 32 GCs)
Elapsed time: 6.551936s (5.034335s in 93 GCs)    Elapsed time: 9.078585s (5.633488s in 125 GCs)   Elapsed time: 2.815046s (1.816697s in 34 GCs)
Elapsed time: 6.862757s (5.165854s in 96 GCs)    Elapsed time: 9.448582s (5.894076s in 131 GCs)   Elapsed time: 2.919532s (1.867242s in 35 GCs)
Elapsed time: 7.156676s (5.486435s in 102 GCs)   Elapsed time: 9.682056s (6.110939s in 136 GCs)   Elapsed time: 3.025861s (1.920943s in 36 GCs)
Elapsed time: 7.398661s (5.650340s in 105 GCs)   Elapsed time: 10.027343s (6.341478s in 141 GCs)  Elapsed time: 3.238696s (1.975818s in 37 GCs)
Elapsed time: 7.751980s (5.920265s in 110 GCs)   Elapsed time: 10.654161s (6.716559s in 146 GCs)  Elapsed time: 3.290497s (2.083083s in 39 GCs)
Elapsed time: 8.152714s (6.133111s in 114 GCs)   Elapsed time: 12.392045s (7.733312s in 152 GCs)  Elapsed time: 3.501953s (2.137579s in 40 GCs)


Get issues from Group of projects

Add the ability to get all issues from Group.
Doc Gitlab API :
https://docs.gitlab.com/ee/api/issues.html#list-group-issues

@casz @yteruel31 I will implement this during this week. We also need issues for all projects of a group. The same for the group labels (only labels of the group).

As I see, the Issues client uses GetAsync overloads to get issues (in general) and to get project issues. If we extend this for groups, the overloads are not unique:
public async Task<IList<Issue>> GetAsync(ProjectId projectId, Action<ProjectIssuesQueryOptions> options = null)

public async Task<IList<Issue>> GetAsync(GroupId projectId, Action<GroupIssuesQueryOptions> options = null)

ProjectId and GroupId are normaly implicitly converted from string (name) or id (int). I think, we have to mark the project GetAsync method as DEPRECATED and use more explizit method names, like:

GetForProjectAsync or GetProjectIssuesAsync
GetForGroupAsync or GetGroupIssuesAsync

The IssuesQueryOptions shoudl be than used for all three access possibilities.
An another possibility would be to move the project / group issue end point to the project / group client.
@casz @nmklotas How should we go here?

I would like to reference how this was implemented in node-gitlab
https://github.com/node-gitlab/node-gitlab/blob/481876c186873e8264b6b3c18a8dfc6842658279/src/core/services/Issues.ts#L28-L32
Here you have to use named object map, we could achieve the same.

In general I see several issues in our clients that I want to tackle to get a similar structure to node-gitlab.

So we wood have something like:
GetAllAsync(ProjectId projectId = null, GroupId groupId = null, Action<IssueQueryOptions> options = null)

That could definitely work @WebDucer

@casz OK. Then I mark the two GetAync mehtods as obsolet and create a new GetAllAsync in the issues client.


Patch/test

remove used code
add more test

Codecov Report

Merging #10 (b9e4980) into main (8956733) will increase coverage by 1.01%.
The diff coverage is 0.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #10      +/-   ##
==========================================
+ Coverage   44.97%   45.98%   +1.01%
==========================================
  Files          57       57
  Lines        6816     6792      -24
==========================================
+ Hits         3065     3123      +58
+ Misses       3498     3410      -88
- Partials      253      259       +6

Impacted Files
Coverage Δ

atghelper/atgutil.go
57.28% <ø> (+31.19%)
:arrow_up:

atghelper/envutil.go
0.00% <0.00%> (ø)

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


Missing documentation on coordinate system used for MicGeom

Documentation is not available on how to define the microphone geometry.
Pieces of information from forum posts and comments in the provided examples are not a substitute for documenting the fact that acoular uses a left-handed coordinate system to define the microphone geometry.
The documementation is also the place to explain the reasons for such a choice, when most of our world (and some other phased array software) is defined in right-hand coordinates.
Finally, the documentation can be improved with an example of how to convert between different coordinate systems, when placing a test object and microphone array in a room. It can be assumed that most users would not be interested in describing the room in the coordinate system of the mic array, but would prefer a regular right-handed coordinate system with origin at one of the corners of the room to place the test object and the array.

In addition to the handedness of the coordinate system, I am not able to find documentation about the units used in MicGeom or Grid Generation functions. I have a vague memory, that the units are in [m], but right now I cannot find any confirmation in the docs.


README.md has broken link

See commit comment https://github.com/vuejs/vueify/commit/8350490ea6387c030d2e53b5d81218444b77c9cb#commitcomment-19499740

I created a pull request. (#155). If you want, you can close this issue.


HDDS-3375. S3A failing complete multipart upload with Ozone S3.

What changes were proposed in this pull request?
S3A failing complete multipart upload request due to namespace missing in the request.
S3 documentation also shows the namespace in the request, in response namespace is set, only missing in the request.
Thank You @ChenSammi for reporting this issue.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3375
How was this patch tested?
Existing tests should cover this.

@bharatviswa504 ,  I found the excepion is because request body sent by s3a doesn's carry the namespace.   Send a reference fix on Slack.

Besides, I found a lot of ReadChunk requests during the MultipartUpload process.  Do you have any idea why?
2020-04-11 15:07:18,360 DEBUG org.apache.hadoop.hdds.scm.storage.BlockInputStream: Initializing BlockInputStream for get key to access 17
2020-04-11 15:07:18,361 DEBUG org.apache.hadoop.hdds.scm.XceiverClientGrpc: Executing command cmdType: GetBlock
traceID: "85c1486c88295b04:fa2ca66da8aa065:85c1486c88295b04:1"
containerID: 17
datanodeUuid: "515cab4b-39b5-4439-b1a8-a7b725f5784a"
getBlock {
blockID {
containerID: 17
localID:<PHONE_NUMBER>65455957
blockCommitSequenceId: 1310
}
}
on datanode b65b0b6c-b0bb-429f-a23d-467c72d4b85c{ip: <IP_ADDRESS>, host: host111, networkLocation: /rack1, certSerialId: null}
2020-04-11 15:07:18,361 DEBUG org.apache.hadoop.hdds.scm.XceiverClientGrpc: Send command GetBlock to datanode /rack1/b65b0b6c-b0bb-429f-a23d-467c72d4b85c
2020-04-11 15:07:18,361 DEBUG org.apache.hadoop.hdds.scm.pipeline.Pipeline: Nodes in order is empty, delegate to getFirstNode
2020-04-11 15:07:18,361 DEBUG org.apache.hadoop.hdds.scm.XceiverClientGrpc: Executing command cmdType: ReadChunk
traceID: "17fe78a2a02076e6:7a7655aee1f45721:17fe78a2a02076e6:1"
containerID: 14
datanodeUuid: "515cab4b-39b5-4439-b1a8-a7b725f5784a"
readChunk {
blockID {
containerID: 14
localID:<PHONE_NUMBER>59976746
blockCommitSequenceId: 981
}
chunkData {
chunkName: "103978581259976746_chunk_2"
offset: 4194304
len: 1048576
checksumData {
type: NONE
bytesPerChecksum: 1048576
}
}
}
on datanode ed90869c-317e-4303-8922-9fa83a3983cb{ip: <IP_ADDRESS>, host: host172, networkLocation: /rack2, certSerialId: null}
2020-04-11 15:07:18,361 DEBUG org.apache.hadoop.hdds.scm.XceiverClientGrpc: Send command ReadChunk to datanode /rack2/ed90869c-317e-4303-8922-9fa83a3983cb

/pending need to address @ChenSammi comment based on her fix.

Thank You @ChenSammi for offline discussion and providing information and fix. I will look into it and will update the patch.

Thank You @ChenSammi for the review.
I have addressed the review comments and also added a test for new Unmarshall logic.

Thank You @ChenSammi for the review.
I have addressed the review comments and also added a test for new Unmarshall logic.
We have found a similar kind of issue for MultiDeleteRequest which is handled by HDDS-739. So, do you think we need to fix in S3A to send a request with a namespace or do we need to similar change for all Requests?

@bharatviswa504 , ideally it's the best solution if we can fix it in s3A.  But I'm not sure whether namespace append decision is made by s3a or by the aws sdk used by s3a.  If the high version aws sdk sends this namespace while lower version doesn't,  then to be compatible with as many as aws sdk versions, we may end up with set the namespace in ozone s3g side.

+1,  the patch LGTM.
Thanks @bharatviswa504 for the contribution.

all XML is generated by the AWS SDK
nothing we can do in s3a
all other apps using the library will behave the same

if you want bug-for-bug compatibility with AWS s3, you get to fix

Thank You @steveloughran for info and @ChenSammi for the review and commit.

@steveloughran thank for the info.


[Bug]: After upgrading I started getting __git_ps1 error on each PS1

Expected behavior
that __git_ps1 will work OOTB after an upgrade
Current behavior
on every PS1 the error
-bash: __git_ps1: command not found

occurs
Possible solution
add a source command in here https://github.com/Bash-it/bash-it/blob/master/completion/available/brew.completion.bash
source /usr/local/etc/bash_completion.d/git-prompt.sh

Context
asked in the brew repo and they said it's expected behaviour https://github.com/Homebrew/homebrew-core/issues/96384#issuecomment-1060233448
additonally, a oneliner for plugins themes and aliases:
$ for  i in  plugins aliases  completions ; do echo showing $i; shit show $i | grep '\[x\]'; echo; done
showing plugins
base                 [x]        miscellaneous tools
git                  [x]        git helper functions
man                  [x]        colorize man pages for better readability
osx                  [x]        osx-specific functions
ssh                  [x]        ssh helper functions
sshagent             [x]        sshagent helper functions
xterm                [x]        automatically set your xterm title with host and location info

showing aliases
docker               [x]        docker abbreviations
general              [x]        general aliases
git                  [x]        common git abbreviations
homebrew-cask        [x]        Some aliases for Homebrew Cask
homebrew             [x]        Some aliases for Homebrew
osx                  [x]        osx-specific aliases
tmux                 [x]        Tmux terminal multiplexer

showing completions
aliases              [x]
awscli               [x]
bash-it              [x]
brew                 [x]        brew completion
docker               [x]        docker completion
export               [x]
git_flow             [x]
github-cli           [x]        GitHub CLI completion
go                   [x]        completion for go command using gocomplete
makefile             [x]
ssh                  [x]
system               [x]
tmux                 [x]

Steps to reproduce
_
Bash-it version
v3.0.0
List of enabled plugins, themes and aliases
in the context section
Bash version
GNU bash, version 5.1.16(1)-release (x86_64-apple-darwin20.6.0)
Operating system and version
macOS 11.6.3 20G415 (pulled by sw_vers)
bash-it doctor output
$ bash-it doctor
DEBUG: core: main: Loading libraries(except appearance)...
DEBUG: lib: colors: Loading library file...
DEBUG: lib: helpers: Loading library file...
DEBUG: lib: history: Loading library file...
DEBUG: lib: log: Loading library file...
DEBUG: lib: preexec: Loading library file...
DEBUG: lib: preview: Loading library file...
DEBUG: lib: search: Loading library file...
DEBUG: lib: utilities: Loading library file...
DEBUG: core: reloader: Loading all enabled components...
DEBUG: aliases: docker: Loading component...
DEBUG: aliases: docker: Loaded.
DEBUG: aliases: general: Loading component...
DEBUG: aliases: general: Loaded.
DEBUG: aliases: git: Loading component...
DEBUG: aliases: git: Loaded.
DEBUG: aliases: homebrew-cask: Loading component...
DEBUG: aliases: homebrew-cask: Loaded.
DEBUG: aliases: homebrew: Loading component...
DEBUG: aliases: homebrew: Loaded.
DEBUG: aliases: osx: Loading component...
DEBUG: aliases: osx: Loaded.
DEBUG: aliases: tmux: Loading component...
DEBUG: aliases: tmux: Loaded.
DEBUG: plugin: base: Loading component...
DEBUG: plugin: base: Command 'markdown' does not exist
DEBUG: plugin: base: Command 'mkisofs' does not exist
DEBUG: plugin: base: Loaded.
DEBUG: plugin: git: Loading component...
DEBUG: plugin: git: Loaded.
DEBUG: plugin: man: Loading component...
DEBUG: plugin: man: Loaded.
DEBUG: plugin: osx: Loading component...
DEBUG: plugin: osx: Function 'update_terminal_cwd' does not exist
DEBUG: plugin: osx: Loaded.
DEBUG: plugin: ssh: Loading component...
DEBUG: plugin: ssh: Loaded.
DEBUG: plugin: sshagent: Loading component...
DEBUG: plugin: sshagent: Loaded.
DEBUG: plugin: xterm: Loading component...
DEBUG: plugin: xterm: Loaded.
DEBUG: completion: awscli: Loading component...
DEBUG: completion: awscli: Command 'aws_completer' does not exist
DEBUG: completion: awscli: Loaded.
DEBUG: completion: bash-it: Loading component...
DEBUG: completion: bash-it: Loaded.
DEBUG: completion: docker: Loading component...
DEBUG: completion: docker: Completion for 'docker' already exists
DEBUG: completion: docker: Loaded.
DEBUG: completion: export: Loading component...
DEBUG: completion: export: Loaded.
DEBUG: completion: git_flow: Loading component...
DEBUG: completion: git_flow: Loaded.
DEBUG: completion: github-cli: Loading component...
DEBUG: completion: github-cli: Completion for 'gh' already exists
DEBUG: completion: github-cli: Loaded.
DEBUG: completion: go: Loading component...
DEBUG: completion: go: Command 'gocomplete' does not exist
DEBUG: completion: go: Loaded.
DEBUG: completion: makefile: Loading component...
DEBUG: completion: makefile: Loaded.
DEBUG: completion: ssh: Loading component...
DEBUG: completion: ssh: Loaded.
DEBUG: completion: system: Loading component...
DEBUG: completion: system: Loaded.
DEBUG: completion: tmux: Loading component...
DEBUG: completion: tmux: Loaded.
DEBUG: completion: brew: Loading component...
DEBUG: completion: brew: Loaded.
DEBUG: completion: aliases: Loading component...
DEBUG: completion: aliases: Loaded.
DEBUG: core: main: Loading theme 'roderik'.
DEBUG: themes: base: Command 'battery_percentage' does not exist
DEBUG: core: main: Loading custom aliases, completion, plugins...
DEBUG: core: main: Loading general custom files...
DEBUG: custom: example: Loading custom file...
DEBUG: core: main: Command 'gloobus-preview' does not exist```

### Your ~/.bashrc

```bash
$ cat ~/.bashrc

#!/usr/local/bin/bash
# If not running interactively, don't do anything
case $- in
  *i*) ;;
    *) return;;
esac

# Path to the bash it configuration
export BASH_IT="/Users/rong/.bash_it"

# Lock and Load a custom theme file.
# Leave empty to disable theming.
# location / .bash_it/themes/
export BASH_IT_THEME='roderik'

# (Advanced): Change this to the name of your remote repo if you
# cloned bash-it with a remote other than origin such as `bash-it`.
# export BASH_IT_REMOTE='bash-it'

# Your place for hosting Git repos. I use this for private repos.
export<EMAIL_ADDRESS>
# Don't check mail when opening terminal.
unset MAILCHECK

# Change this to your console based IRC client of choice.
#export IRC_CLIENT=''

# Set this to the command you use for todo.txt-cli
export TODO="t"

# Set this to false to turn off version control status checking within the prompt for all themes
export SCM_CHECK=true

# Set Xterm/screen/Tmux title with only a short hostname.
# Uncomment this (or set SHORT_HOSTNAME to something else),
# Will otherwise fall back on $HOSTNAME.
#export SHORT_HOSTNAME=$(hostname -s)

# Set Xterm/screen/Tmux title with only a short username.
# Uncomment this (or set SHORT_USER to something else),
# Will otherwise fall back on $USER.
#export SHORT_USER=${USER:0:8}

# Set Xterm/screen/Tmux title with shortened command and directory.
# Uncomment this to set.
export SHORT_TERM_LINE=true

# Set vcprompt executable path for scm advance info in prompt (demula theme)
# https://github.com/djl/vcprompt
#export VCPROMPT_EXECUTABLE=~/.vcprompt/bin/vcprompt

# (Advanced): Uncomment this to make Bash-it reload itself automatically
# after enabling or disabling aliases, plugins, and completions.
#export BASH_IT_AUTOMATIC_RELOAD_AFTER_CONFIG_CHANGE=1

# Uncomment this to make Bash-it create alias reload.
# export BASH_IT_RELOAD_LEGACY=1

# Load Bash It
source "$BASH_IT"/bash_it.sh

# for readline
LDFLAGS="-L/usr/local/opt/readline/lib"
CPPFLAGS="-I/usr/local/opt/readline/include"
PKG_CONFIG_PATH="/usr/local/opt/readline/lib/pkgconfig"

source "/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.bash.inc"
source "/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.bash.inc"

source "$HOME/.config/ocm-container/env.source"

CMD=$(cat <<END
paths = [

	"${HOME}/.cargo/bin",
	"${HOME}/.krew/bin",
	"${HOME}/Repositories/jira",
	"${HOME}/Repositories/ops-sop/v4/utils",
        "${HOME}/Repositories/ugbt-update-all-gobin/",
	"${HOME}/bin/",
	"${HOME}/go/bin/",
	"/usr/local/bin",
	"/usr/local/opt/coreutils/libexec/gnubin",
	"/usr/local/opt/findutils/libexec/gnubin",
	"/usr/local/opt/gnu-sed/libexec/gnubin",
	"/usr/local/opt/gnu-tar/libexec/gnubin",
	"/usr/local/opt/icu4c/bin",
	"/usr/local/opt/icu4c/sbin",
	"/usr/local/opt/openjdk@11/bin",
<EMAIL_ADDRESS>	"/usr/local/sbin",

	"" # useful for sorting the paths and not caring for last ','

]
stringed_path = ":".join(paths[:-1])

print(stringed_path)
END
)

PATH_ARGS=$(python3 -c "$CMD")
export PATH=":$PATH"
export PATH=${PATH_ARGS}:${PATH}

#export BASH_SILENCE_DEPRECATION_WARNING=1

if [ -f ~/.bash_aliases ] ; then
	. ~/.bash_aliases
fi
if [ -f ~/.bash_functions ] ; then
	. ~/.bash_functions
fi
bind -f ~/.bash_key_bindings

export LC_CTYPE=en_US.UTF-8

#source /usr/local/etc/bash_completion.d/git-prompt.sh

Notes
No response

Hi @georgettic, can you tell us what was the commit/PR that broke this for you?
you can use git bisect in order to find out. It's weird to me that it only happens now after updating, as we did not source the file beforehand

I'll check it tomorrow :)

I have bash completion from brew, after running the:
==> Caveats
Add the following line to your ~/.bash_profile:

this was solved.
thanks so much and sorry for wasting your time :(


i have implemented the dutch national flag task

where you need to
-generate a rondom array
-check if it sorted
-sort the array
-print the array in words
ok there is a posibility to write a sort ourselfs but is this really required
when rust has it out of the box?

Is this solution good enough to add it to the Rosetta code website? Or does it need some changes?

Yeah, looks good. Do you mind writing a test? Feel free to copy your code over to the wiki!

Awesome work! Thanks!


FIx : Change UI of Reset Password Page #817

Description
I have recently made significant changes to the user interface (UI) of the Reset Password page. The updated design not only looks impressive but also seamlessly integrates with the overall look and feel of the main website.
Fixes:  #817
Checklist:

[x] I have made this from my own
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings

Screenshots
##Before

##After

Hey @anuragverma108  @huamanraj  I have redesigned the UI which seams similar to your main website . Thank you for assigning me this issue .

Great contribution to GSSOC'24! 🎉


release v3.3

Migrated from https://github.com/inveniosoftware/invenio/issues/4002

Closes https://github.com/inveniosoftware/invenio-oaiserver/issues/184

MOVE PR TO MERGE AGAINS maint-3.3

We have to remember to update this one on Monday: https://invenio.readthedocs.io/en/latest/general/requirements.html


Viro360Image pans in an unexpected direction

react: 16.2.0
react-native: 0.55.2
react-viro: 2.5.1
Device: Pixel 2
I've constructed a simple scene containing one Viro360Image component. Its source property is set to a sample TopBottom image.
The first question/issue I have is regarding the rotation properties. I have to set the values to [0, 180, 90] in order for my image to be oriented correctly. If I don't supply these values, the image is on its side (rotated 90 degrees around the Z axis). The text is also on its side (same rotation). I would expect that the default behavior (without specifying rotation values) would be to see the image and text without any rotation.
The second question/issue I have might be related to the first. When I'm in my Viro scene and I rotate my phone, the Viro360Image and ViroText pan in the wrong plane. For example, when I rotate my phone around the X axis (i.e. looking up and down), the image and text pan left-to-right. When I rotate my phone around the Y axis (i.e. looking left and right), the image and text pan up-and-down.
<ViroVRSceneNavigator
	apiKey="..."
	initialScene={{
		scene: () => (
			<ViroScene>
				<Viro360Image
					vrModeEnabled={true}
					stereoMode="none"
					rotation={[0, 180, 90]}
					source={{ uri: "https://files.readme.io/45c93fe-ps_waikiki.jpg" }} />
				<ViroText text="Hello World!" width={2} height={2} position={[0, 0, -2]} style={styles.helloWorldTextStyle} />
			</ViroScene>
		)
	}} />

I have some more information on this issue.
The first time I launch my App and fire up the Viro scene, all the orientation and panning works as expected. However, when I shake the phone and hit "Reload" on the developer menu, that's when things get messed up (as described above). In addition to that, when my App reloads (after tapping the developer Reload menu item), all my screen icons are huge, as if React Native is suddenly confused about my device's dimensions, and it's often stuck in landscape mode.
If I interact with Android's Overview button (the one on the right) or if I completely kill the App and go back in, the orientation and panning work as expected again.

Hey @grahamyesfit, thanks for reaching out, this may be a bug on the Viro Platform when using ReactNative > 0.49 with ViroReact 2.5.1, where events fail to fire across the bridge for some odd reason.
We've actually just pushed ViroReact 2.6 that may resolve this issue (it now works with React Native 0.55). Could you try upgrading ViroReact with the upgrade instructions in that link and re-verify if the bug persists? Thanks!

Thanks for your reply, @dthian. I can confirm that upgrading to ViroReact 2.6 fixed my main issue.
ReactNative does seem to be confused about my device dimensions after a reload. Also, when I navigate my sidebar to go to a different page, my App is stuck in landscape mode. I can open up a new issue to cover this if you prefer, as you've fixed the main issue.

"ReactNative does seem to be confused about my device dimensions after a reload." - How did you come to this conclusion again? If possible, can you provide the visual defects you are seeing with regards to device dimensions (not rotation) upon a reload, and as well as sample code + repro steps if possible.

"Also, when I navigate my sidebar to go to a different page, my App is stuck in landscape mode" - This definitely sounds like a bug. Are you building a 2DReact-VR Hybrid application? I'll just rename and repurpose this issue. Would it be possible to provide sample code on how you are entering VR from your 2D layout, so that we can attempt to repro that on our end?

@dthian , thanks for your response. Yes, I am building a 2DReact-VR Hybrid application.

I came to the conclusion that there was confusion about my device dimensions because I layout our Home screen using the device's width. When I exit Viro, the layout behaves as if the code thinks the device is wider than it is. In my non-VR screen, I retrieve the width with const { width, height } = Dimensions.get('window'), and it appears to me that, after exiting Viro, the width and height are transposed. In other words, React thinks I'm in landscape, but I'm actually in portrait. I just confirmed this theory by doing a console.log on the width and height, and they are reversed. If I perform another developer reload, the issue rectifies itself.

I'm using react-native-router-flux, so to load my VR page, I just do a push to it, from my non-VR home screen. When I exit Viro (using the onExitViro property), I push to my non-VR Home screen, and my App gets stuck in landscape mode.

class NativeViro extends React.Component {

	_onExitViro = () => {
		this.props.push('/home');
	}

	render() {
		return (
			<ViroVRSceneNavigator
				onExitViro={this._onExitViro}
				apiKey="..."
				initialScene={{
					scene: () => (
						<ViroScene>
							<Viro360Image
								vrModeEnabled={true}
								stereoMode="None"
								source={{ uri: "https://s3-us-west-2.amazonaws.com/viro/Assets/photospheres/360_park.jpg" }} />
						</ViroScene>
					)
				}} />
		);
	}
}

Some extra information for (2); I changed my onExitViro action from a push to a pop, and my device re-orientates correctly after exit.

Hi @grahamyesfit, much thanks for your detailed description and sample code - they were extremely helpful. Both (1) and (2) above sounds like different symptoms of the same issue: That when a ViroVRSceneNavigator is rendered (not popped and thus is alive in the stack), the device orientation is not respected.
 Hopefully the above method of popping Viro to re-enable correct re-orientation could work as a momentary mitigation?
I've filed a bug on our back log, and we'll be updating this issue as soon as the patch is pushed to release.


Correction for raw affiliation UMR MoISA (Montpellier Interdisciplinary centre on Sustainable Agri-food systems), Univ Montpellier, CIRAD, CIHEAM-IAMM, INRAE, Institut Agro Montpellier, IRD, Montpellier, France

Correction needed for raw affiliation UMR MoISA (Montpellier Interdisciplinary centre on Sustainable Agri-food systems), Univ Montpellier, CIRAD, CIHEAM-IAMM, INRAE, Institut Agro Montpellier, IRD, Montpellier, France
raw_affiliation_name: UMR MoISA (Montpellier Interdisciplinary centre on Sustainable Agri-food systems), Univ Montpellier, CIRAD, CIHEAM-IAMM, INRAE, Institut Agro Montpellier, IRD, Montpellier, France
new_rors: 05kpkpg04;04abkkz03;051escj72;05q3vnk25;03rnk6m14;0005r2j17;003vg9w96;011xg1225
previous_rors: 05kpkpg04;04abkkz03;051escj72;05q3vnk25;03rnk6m14;0005r2j17;003vg9w96
works_examples: W4399049632;W4402901640
contact: 546b4bc359d530505b8e1431983f6025:27dff9414b31031e @ supagro.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Valid feed but vienna can cannot find articles in feed

Describe the bug
I add the following rss feed which seems to be a valid rss feed but vienna can not find any articles
To Reproduce
Add the following feed:
https://www.deingenieur.nl/nieuws/rss/all
In the log you see:
Connecting to https://www.deingenieur.nl/nieuws/rss/all
124 KB received
And message: No articles in feed
When you open the feed in a browser you see that er many news items in de feed
Screenshots
Add screenshots to help explain your problem, if possible.
Please complete the following information:

Vienna version n 3.8.7 :15608906: (8038)
macOS 13.2.1

Thank you for the quick reply.  I will take it up with the rss provider. Sorry to bother you with this wrong error report.
Tijmen

On 23 Apr 2023, at 13:04, Eitot @.***> wrote:
It is actually not a valid RSS feed https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fwww.deingenieur.nl%2Fnieuws%2Frss%2Fall. The  elements (these are the feed's entries) are supposed to be child elements of the  element. This feed here places the  elements outside of the  element, which is why Vienna does not find them.
—
Reply to this email directly, view it on GitHub https://github.com/ViennaRSS/vienna-rss/issues/1676#issuecomment-1519035685, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVG7NRIFZBW6MPJNTLWE2LXCUEDDANCNFSM6AAAAAAXIODX6A.
You are receiving this because you authored the thread.

I am all in favor of more flexibility.
But there are various popular specifications of RSS which are in fact unrelated, so we'll have to be careful not to break feeds conforming to a specific specification.

Examples:

in the example listed for RSS 0.9,<item>s are outside <channel>
in the example listed for RSS 1.0, <item>s are listed inside <channel> and detailed outside <channel>

Good to know: work on RSS 1.0 and RSS 2.0 were done separately. The later is not the successor of the former.


Ensure server parameter 'log_connections' is set to 'ON' for PostgreSQL Database Server

Possible check to target the following resource

[ ] azurerm_postgresql_configuration

closing, tracking in spreadsheet

closing, tracking in spreadsheet


fold_kind: MATCH_ARM_LIST => FoldKind::Block

As suggested by @matklad in https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/folding.20of.20.60match.60.20and.20.60if.60/near/176109093.
This should let folks fold all the arms in a match expression rather than just each arm individually.

bors r+

bors r+


Use customized youtube-dl to make Windows not to dependent on python

A quickfix but needs some tests first. - https://github.com/EragonJ/node-youtube-dl/commit/1e0709321c02528cdcedd042132913d74e4bc278

Already made it, so marked this as fixed.


Numba fails with numba.errors.LoweringError: Failed in object mode pipeline

This program, a solution for advent of code day 11, part 2, succeeds without numba but fails when I try to jit the maxn function:
import math
import numpy as np
from numba import jit

@jit
def maxn(a, n):
    return max(
        (np.sum(a[i : i + n, j : j + n]), i, j)
        for i in range(300 - n)
        for j in range(300 - n)
    )

def f(x, y, serial):
    power = ((x + 10) * y + serial) * (x + 10)
    return math.floor((power % 1000) / 100) - 5

def do(serial):
    m = np.zeros((300, 300))
    z = np.array([f(x, y, serial) for (x, y), _ in np.ndenumerate(m)]).reshape(300, 300)
    (msum, x, y), n = max((maxn(z, n), n) for n in range(1, 300))
    print(f"{x}, {y}, {n}: {msum}")
    return z

do(9424)

The traceback looks like:
$ python c.py
Traceback (most recent call last):
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/errors.py", line 609, in new_error_context
    yield
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/lowering.py", line 259, in lower_block
    self.lower_inst(inst)
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/pylowering.py", line 96, in lower_inst
    value = self.lower_assign(inst)
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/pylowering.py", line 194, in lower_assign
    return self.lower_yield(value)
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/pylowering.py", line 217, in lower_yield
    yp = self.generator_info.yield_points[inst.index]
AttributeError: 'NoneType' object has no attribute 'yield_points'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c.py", line 31, in <module>
    do(9424)
  File "c.py", line 23, in do
    (msum, x, y), n = max((maxn(z, n), n) for n in range(1, 300))
  File "c.py", line 23, in <genexpr>
    (msum, x, y), n = max((maxn(z, n), n) for n in range(1, 300))
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/dispatcher.py", line 367, in _compile_for_args
    raise e
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/dispatcher.py", line 324, in _compile_for_args
    return self.compile(tuple(argtypes))
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/compiler_lock.py", line 32, in _acquire_compile_lock
    return func(*args, **kwargs)
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/dispatcher.py", line 655, in compile
    cres = self._compiler.compile(args, return_type)
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/dispatcher.py", line 82, in compile
    pipeline_class=self.pipeline_class)
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/compiler.py", line 926, in compile_extra
    return pipeline.compile_extra(func)
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/compiler.py", line 374, in compile_extra
    return self._compile_bytecode()
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/compiler.py", line 857, in _compile_bytecode
    return self._compile_core()
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/compiler.py", line 844, in _compile_core
    res = pm.run(self.status)
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/compiler_lock.py", line 32, in _acquire_compile_lock
    return func(*args, **kwargs)
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/compiler.py", line 255, in run
    raise patched_exception
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/compiler.py", line 246, in run
    stage()
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/compiler.py", line 691, in stage_objectmode_backend
    self._backend(lowerfn, objectmode=True)
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/compiler.py", line 666, in _backend
    lowered = lowerfn()
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/compiler.py", line 638, in backend_object_mode
    self.flags)
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/compiler.py", line 1075, in py_lowering_stage
    lower.lower()
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/lowering.py", line 178, in lower
    self.lower_normal_function(self.fndesc)
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/lowering.py", line 219, in lower_normal_function
    entry_block_tail = self.lower_function_body()
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/lowering.py", line 244, in lower_function_body
    self.lower_block(block)
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/lowering.py", line 259, in lower_block
    self.lower_inst(inst)
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/contextlib.py", line 130, in __exit__
    self.gen.throw(type, value, traceback)
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/errors.py", line 617, in new_error_context
    six.reraise(type(newerr), newerr, tb)
  File "/Users/llimllib/.pyenv/versions/3.7.0/lib/python3.7/site-packages/numba/six.py", line 659, in reraise
    raise value
numba.errors.LoweringError: Failed in object mode pipeline (step: object mode backend)
'NoneType' object has no attribute 'yield_points'

File "c.py", line 11:
def maxn(a, n):
    <source elided>
        for i in range(300 - n)
        for j in range(300 - n)
        ^

[1] During: lowering "$20.23.93 = yield $20.22" at c.py (11)
-------------------------------------------------------------------------------
This should not have happened, a problem has occurred in Numba's internals.

I wouldn't have submitted unless the error message asked me to, I hope this is helpful!

thanks!  This is an error related to our generator support that should have been caught earlier in the pipeline.

Duplicates:
https://github.com/numba/numba/search?q=has+no+attribute+'yield_points'&type=Issues

Looks like #3366 is a very good dupe, I'll close this for that one


deps: update fastify to v4.26.2

Motivation
The latest version includes proper support for returning Uint8Array from handler and will efficiently convert it to a Buffer internally without copying the underlying ArrayBuffer.
The current approach we use is copying it instead which is not ideal
https://github.com/ChainSafe/lodestar/blob/5577996dc2bb8b3648f98a87dd7966abd8206394/packages/api/src/beacon/server/beacon.ts#L26
But I think we can keep this as is for now. I mainly want to test against latest fastify version on the api client refactor branch without increasing the diff there even more by updating dependencies.
Description
Update fastify to v4.26.2 which includes fix for returning Uint8Array from handlers (https://github.com/fastify/fastify/pull/5124)

Also worth noting that although clidependes on fastify (for test), it's not declared in their package.json.

Good catch! I think this PR is a good place this fix this, also updated for light-client package which uses fastify in tests as well

Would be interesting to see what would be the impact of removing the extra Buffer.from.

Will do some testing, haven't looked at actual performance difference yet

:tada: This PR is included in v1.18.0 :tada:


[FEATURE] Ability to fine-tune existing models in a new training run

Ability to pass in existing trained model as a drop down in the launch training dialogue.
Existing models can either be in the add-on packages, root VIAME, or in any other trained models in the system in probably that priority order.
I'll need to comment on how to pass in flags here and what flags get passed in.

This is a relatively involved change, could you set priority?  Should this be in the next sprint?

@mattdawkins could you weigh in on this please?


feat: add bank-account-list and refresh

Type of change

[ ] Chore
[X] Feature
[ ] Bug fix

Linked issue
https://cybrid.atlassian.net/browse/CYB-842
Why
The customer needs to be able to view a list of linked external bank accounts, as well as reconnect accounts with the state refresh_required
How
By adding a bank-account-list component, and adding refresh functionality to the bank-account-connect component.

How are we handling the case where the link token is not returned during the polling interval?

Reconnect uses the same bank-account-connect component. If a link token is not returned within the polling duration (currently set at 5000ms) it triggers a timeout and then the UI error 'unexpected error'.


AWS SDK crashes on publish

When I run carthage_cache publish, I get the following output:
error: . Use --trace to view backtrace
/Library/Ruby/Gems/2.0.0/gems/aws-sdk-resources-2.9.17/lib/aws-sdk-resources/resource.rb:134:in `rescue in exists?': Aws::S3::Errors::Http301Error
	from /Library/Ruby/Gems/2.0.0/gems/aws-sdk-resources-2.9.17/lib/aws-sdk-resources/resource.rb:131:in `exists?'
	from /Library/Ruby/Gems/2.0.0/gems/carthage_cache-0.8.3/lib/carthage_cache/repository.rb:16:in `archive_exist?'
	from /Library/Ruby/Gems/2.0.0/gems/carthage_cache-0.8.3/lib/carthage_cache/application.rb:25:in `archive_exist?'
	from /Library/Ruby/Gems/2.0.0/gems/carthage_cache-0.8.3/lib/carthage_cache/application.rb:43:in `create_archive'
	from /Library/Ruby/Gems/2.0.0/gems/carthage_cache-0.8.3/exe/carthage_cache:73:in `block (2 levels) in <top (required)>'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.3/lib/commander/command.rb:153:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.3/lib/commander/runner.rb:446:in `run_active_command'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.3/lib/commander/runner.rb:68:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.3/lib/commander/delegates.rb:15:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.3/lib/commander/import.rb:5:in `block in <top (required)>'

Interestingly, when I change the bucket name to one that doesn't match what I have on S3, carthage_cache archives everything but fails to find the bucket.

Do you have some AWS environment variables set in your bash_profile? Do you use AWS for other projects as well. That's what's causing the issue on my computer.


[Feature][Dashboards] Coding speed and project sizes dashboard

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Use case

As a technical leader, I want to find bottlenecks, visually explore code quality problems, and prioritize technical debt.
As a developer, I want to find areas for code quality improvement and prioritize technical debt.
As an organizational leader, I want to see detailed aspects of development and compare teams' efforts.

Description
Motivation

DevLake already has entities for tracking changes in code lines and a demo dashboard that utilizes them.
There are closed-source tools that provide various visualizations of code metrics for prioritizing technical debt. For example, codescene.

I think we should try to provide ready-to-use powerfull dashboards for gathering code insights and provide instructions.
I created a dashboard prototype with SQLite and ECharts. I believe that some of the graphics can be recreated in Grafana.
Value
The team's goal is to plan and deliver features and improvements. In this case, the best solution is changes without coding.
The team can identify problems and set goals to decrease the codebase and automate repetitive work, and then track progress measured in code lines or code lines per month.
Main metrics

Package/file change speed (code lines per month) for insights on hot software parts.
Package/file changes per author for insights on bus factor and knowledge keepers.
Project file sizes.

Goal

The ability to compare different repositories/projects is critical for architects and technical leaders.
The ability to easily filter out unimportant content (generated files, tests, not code).

Changes

Add a new "out of the box" dashboard named "Code Insights."
Add a live demo similar to this.
Add documentation for the new metrics here.
Add a dashboard link to the existing metric documentation (1, 2).

Related issues
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

@rusinikita Nice, the dashboard you created looks greate, I like it
@hezyin @Startrekzky Looks interesting, would you take a look and comment.

Looks good. I'm particularly interested in quality and tech debt metrics. In contrast, we should be careful about performance metrics as they might discourage developers.

@Startrekzky Yes, the documentation must include warnings that it is not a team performance or efficiency metric. It is only for coding problem insights.
Could you give me advice on how to provide this feature? Where should I look to change the documentation and dashboards?

@rusinikita

You need to start from your team's own use cases and think about what coding problems you and your colleagues might have.
After you have figured out the problems you have in mind. You can start thinking about what metrics can be used to quantify the problem. DevLake already supports a list of engineering metrics.
You can refer to the domain data model to measure your own metrics.
Add dashboard(s) to visualize the metrics following this Grafana guide.


v2 API for Pots

Documentation hasn't been released yet, but the /pots, /pots/{id}/deposit and /pots/{id}/withdraw API endpoints are now live. These can be used to list pots and transfer funds between the main amount and each pot. I've also fixed/added the unit tests for them, but haven't added a change log entry yet.
I wasn't sure how you would want the deposit and withdraw functions implemented, as there's not really any like this at the moment. I did them the way I would personally use them, but feel free to suggest changes.

Apparantly I forgot to add a unit test for /pots/{id}

Coverage decreased (-0.9%) to 95.671% when pulling 771cb11dae339e511d62407237d61229ade09009 on cyberjacob:pots into b5c8d4f46dcb3a2f475797a8b8ef1c15f6493fb9 on pawelad:master.

ok, unit test added

My suggestion would be to move the API calls of withdrawing and depositing to monzo_api, keeping the context variable on the pots. You then have a couple of helper functions on MonzoPot that just calls the correct function via context. You have the benefits of if you know the pot id and account id, you can just authenticate and do your deposit/withdrawal, and if you don't you can go through the API and still being able to do pot.withdraw.
This means without having to call the API, you could for a cli application use something like:
penny_a_day.py --account acc_0000000000000000000000 --pot pot_0000000000000000000000 --amount 125

@bartonp That makes sense, though should the API call functions not be static functions in the MonzoPot class, as that's what they actually operate on?
And yes; id, amount, etc. were added for PyCharm's version of intellisense.

Cool. For getting intellisense working with PyCharm, you could have a look at this. I'll look at cleaning it up and doing the other items for the current build of pymonzo.
They shouldn't be static functions as you still need to access the pot when going through the helper function. So when you go through the helper on the pot, you only need to specify the amount, and account id. This is because you already know the pot id, from self.id.

First of all, sorry for replying so late. You took the time to contribute, and I didn’t take the time to reply. The library was essential not supported since ~2017. I had some free time recently though and decided to give it some love and release v1.0.0
This should be fixed now so I'm gonna go ahead and close it.
Once again, I'm very sorry for not reviewing this earlier.


Makes key lowercase to match the help style

Not going to update changelog since this is such a minor change.

Going to abuse my privilege this one time.


Is there a way to redirect console output  to some file for ./pkb.py

Hi,
Is there a way to redirect console output  to some file for ./pkb.py, am looking for some command line option to redirect output to specified file.
I know its writing into "/tmp/perfkitbenchmarker//pkb.log. But apart from that I would want to redirect the console output to specified file, do we have any option for that in our perfkit benchmarking?
Thanks
-Srinivas

You should be able to use built-ins from your shell if you don't want the output printed:
./pkb.py .... > pkb-output.txt 2>&1

Or using tee:
./pkb.py ... 2>&1 | tee pkb-output.txt

Yes, I tried in that way and hitting the issue, Its hanging at below step, if we run without redirection its working fine...only hanging if we use redirection
[root@scan01cn26 PerfKitBenchmarker-0.17.0]# /usr/local/bin/python ./pkb.py --static_vm_file=VM1_xvdc.json --os_type=rhel --benchmarks=fio --against_device=True --ip_addresses=EXTERNAL > VM1_4VMtest_iteration1.out 2>&1&
[1] 14968
[root@scan01cn26 PerfKitBenchmarker-0.17.0]# tail -f VM1_4VMtest_iteration1.out
--ip_addresses=EXTERNAL
--os_type=rhel
--static_vm_file=VM1_xvdc.json
--against_device
--benchmarks=fio
2015-09-28 13:13:55,013 a435f9af MainThread fio(1/1) INFO     Preparing benchmark fio
2015-09-28 13:13:55,014 a435f9af Thread-1 fio(1/1) INFO     VM: <IP_ADDRESS>
2015-09-28 13:13:55,014 a435f9af Thread-1 fio(1/1) INFO     Waiting for boot completion.
2015-09-28 13:13:55,014 a435f9af Thread-1 fio(1/1) INFO     Running: ssh -A -p 22<EMAIL_ADDRESS>-2 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -o PreferredAuthentications=publickey -o PasswordAuthentication=no -o ConnectTimeout=5 -o GSSAPIAuthentication=no -o ServerAliveInterval=30 -o ServerAliveCountMax=10 -i /root/reddy/ssh_key hostname
2015-09-28 13:13:55,422 a435f9af Thread-1 fio(1/1) INFO     Running: ssh -A -p 22<EMAIL_ADDRESS>-2 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -o PreferredAuthentications=publickey -o PasswordAuthentication=no -o ConnectTimeout=5 -o GSSAPIAuthentication=no -o ServerAliveInterval=30 -o ServerAliveCountMax=10 -i /root/reddy/ssh_key -t -t bash -l -c "echo 'Defaults:opc !requiretty' | sudo tee /etc/sudoers.d/pkb"

Is there anything interesting in VM1_4VMtest_iteration1.out?

Never mind, we were able to reproduce this.
Could you try redirecting stdin from /dev/null, e.g.:
./pkb.py --benchmarks=cluster_boot --os_type=rhel 2>&1&  < /dev/null

That fixes it for me.

Srinivas - Is this working for you?

Closing as stale. Let us know if you're still having issues.


Make ADC V1.1 release

We kinda sorta made an ADC V1.1 release. When V1.3.1 of the schema was tagged, the ADC API spec had a 1.1.0 version. I say "kinda sorta" because the clone API didn't go through any rigorous testing, and there are some unresolved issues.

[x] AIRR Schema V1.3.1
[ ] The clone schema was only in draft form. Maybe this doesn't matter?
[ ] The /clone/{clone_id} entry point is potentially unusable because uniqueness criteria for clone_id isn't defined.
[ ] No documentation was written.
[ ] The ADC API reference implementation was not updated.
[ ] No example data sets were provided.
[ ] Include OpenAPI V3 spec.
[ ] Async extension API.

How do we want to handle this?
I think one thing we can do is separate ADC API version releases from AIRR schema releases. We can simply do this by having different tags for the ADC API. Because the spec points to a specific schema version, we can manage them separately. This might require some juggling by data repositories if they access both the API and Schema yaml together, but this can be alleviated if older schema versions are kept around (see #582 ).
If we decide upon this, we could technically say ADC V1.1 wasn't released yet, resolve the above issues, then tag a release.

Note that there is a release-1.3 branch, according to our release process which we can use for these changes, and not conflict with AIRR Schema V1.4 and ADC API V1.2

@schristley I would like to mark this as Closed? Any objections? We do not have a tag or branch that maps to the ADC API v1.1 release at the moment. Do we want to tag or create a branch? We have a branch for ADC API v1.2

v1.1 has for when clone end point was added, but this is moot now with v.12


Can it output headers

Is it possible to include the headers in the table_data? So when the result set is returned to the sheet, the headers are the first row?

No there is currently no support for headers.

Thanks for confirming


Split common stuff into vendor chunk for faster incremental dev builds

https://webpack.github.io/docs/code-splitting.html
I can do this if it is considered a good idea.

Yeah, you can give it a go!

https://github.com/este/este/pull/489

Closing in favor of PR.