Node.js Mentorship team Meeting 2019-09-20

Time
UTC Fri 20-Sep-2019 16:00 (04:00 PM):

Timezone
Date/Time

US / Pacific
Fri 20-Sep-2019 09:00 (09:00 AM)

US / Mountain
Fri 20-Sep-2019 10:00 (10:00 AM)

US / Central
Fri 20-Sep-2019 11:00 (11:00 AM)

US / Eastern
Fri 20-Sep-2019 12:00 (12:00 PM)

London
Fri 20-Sep-2019 17:00 (05:00 PM)

Amsterdam
Fri 20-Sep-2019 18:00 (06:00 PM)

Moscow
Fri 20-Sep-2019 19:00 (07:00 PM)

Chennai
Fri 20-Sep-2019 21:30 (09:30 PM)

Hangzhou
Sat 21-Sep-2019 00:00 (12:00 AM)

Tokyo
Sat 21-Sep-2019 01:00 (01:00 AM)

Sydney
Sat 21-Sep-2019 02:00 (02:00 AM)

Or in your local time:

https://www.timeanddate.com/worldclock/fixedtime.html?msg=Node.js+Foundation+Community Committee+Meeting+2019-09-20&iso=20190920T16
or https://www.wolframalpha.com/input/?i=04PM+UTC,+Sep+20,+2019+in+local+time

Agenda
Extracted from mentorship-agenda labelled issues and pull requests from the nodejs org prior to the meeting.

Mentorship Program Administration Tool #170
Topics for Node AMAs #171
Minimum Requirements For Mentees to be in the program #172

Invited

Mentorship Members: @nodejs/mentorship

Observers/Guests
Feel free to follow along on the YouTube live stream, or attend meeting as a guest
by calling in to Zoom, using the links below. If you will be attending as a guest,
please comment on this issue to let us know you'll be joining.
Notes
The agenda comes from issues labelled with mentorship-agenda across all of the repositories in the nodejs org. Please label any additional issues that should be on the agenda before the meeting starts.
Joining the meeting

Link for participants: < will be updated >
For those who just want to watch: https://www.youtube.com/nodejs-foundation

Invitees
Please use the following emoji reactions in this post to indicate your
availability.
👍 - Attending
👎 - Not attending
😕 - Not sure yet

The meeting was postponed to 04 October 2019


Use ":" to separate package and executable name in pub global run

This makes it consistent with pub run.

This issue has been moved to dart-lang/pub#1043.


Powershell 7 beta 3 closes after 20 seconds on Ubuntu 18.04

Steps to reproduce
On Ubuntu 18.04.3 VM on Windows 10 Insiders, PowerShell 7 beta 3 only remains open for about 20 seconds before it closes with no indication as to why.   The shell is usable while its open, but when the time runs out, it closes, whether or not any commands have been entered.
I have a console with PowerShell 6.2.2 open at the same time, and it remains open without incident.
I am NOT an avid Linux user, so I don't know much about how it works.

Windows 10 Insiders

Please share the version and how you run Ubuntu VM.

I installed this Ubuntu VM over a year ago.  I downloaded a ISO of the Ubuntu directly from the ubuntu site and installed it from that as a CD in the VM.   Its updated itself many times from the automatic updates from within the operating system.  I use it very little, only to try testing open source cross platform software, once in a while.  I accesses it with the enhanced session and the Xorg Xrdp connector.

@msftrncs Thanks! Please share Windows 10 Insider version.

It changes every Thursday/Friday.  😄 I believe its currently build 18975, so it looks like I'm in the 20H1 fast ring at this time.

preview.5 is no longer doing this.  My guess is something was fixed in .NET Core.


Remove old tags?

In the install guide, we recommend folks issue a "git tags -l" command and then choose the latest tag to issue a checkout request.  The output of "git tags -l" is currently:
(lr)learningregistry@ubuntu:~/gitrepos/LearningRegistry$ git tag -l
0.23.0
0.23.2
0.23.3
0.23.4
2011-07-18-Prod
LRProdSprint3
Plugfest-0.21.0
release-0.1
v0.1
This seems to require a new LR user to think too much about what the latest version is.  Can we archive the old tags that don't use the current version convention in some way to make things easier for new LR users?

Also, it seems that the list of tags should be aligned with / match the list of currently available AMIs.  A list of currently available AMIs is listed here: https://github.com/LearningRegistry/LearningRegistry/wiki/Current-AMI-Instances.  Is there a more authoritative source?  Thoughts on this proposed alignment?


[QUESTION] Should we run the CI for all other branches?

By making the branches consistent we can able to run CI for branches.

By making the branches consistent we can able to run CI for branches.

What do you mean by "making the branches consistent"?

Committing all the changes and merging / cherry picking the commits


[feat] SiteAlert children enhancement

Does your feature request relate to a specific USWDS component?
Site Alert (2.10.x)
Currently SiteAlert requires children to be manually built and passed in. This means we are not encapsulating the (optional) usa-alert__text sub component.
Describe the solution you'd like
See the following thread for enhancement to SiteAlert (and Alert): https://github.com/trussworks/react-uswds/pull/1099#discussion_r609744998
Modifying children to allow string | React.ReactElement | React.ReactElement[] would allow us to render string inside the usa-alert__text internally, otherwise just render children directly.
A further enhancement would be the creation of the AlertText subcomponent which would allow encapsulation of the usa-alert__text class within a p tag based component, and also allow rich text via things like <strong> to be passed in (which would not be possible passing just a string as in the first enhancement).
Describe alternatives you've considered
There are a couple of options in the thread. Use discretion around preserving backwards compatibility, and how much time is available to

What do folks think is the best location for a AlertText sub-component? This can certainly go alongside the SiteAlert component (since it's not a top-level part of the WDS in and of itself), but the same functionality can used in a similar way in the Alert component as well.

Right now, the Alert component is tightly coupled to sometimes adding in the usa-alert__text class, but that could change if we wanted it to (though I'd worry about introducing a breaking change there).

@kylehilltruss sorry I missed your question here from a few weeks ago.
It's a good question. I'm not aware of two separate, top-level components making use of the same sub-component in our codebase at the moment. I could see us doing something like putting SiteAlert, Alert, and AlertText in an alert directory within the project.
Based on https://trussworks.slack.com/archives/C0122MPMXL3/p1622054137029800 in slack, @christopherhuii is potentially taking a look at this too and may have some input on the refactor of Alert


support specifying multiple target IP's

we now parse multiple ip's, comma separated.
also: validate ip's early on. previously we would silently ignore ip
parse errors
fix #57
note: still need to test further, but this shows how i go about it.

did some testing, seems to work well for me. ready for review ! :)

@Dieterbe  CI build fails, but it's CI bug we are going to fix. Ignore it for now. I will review it manually.

@Dieterbe there are some test that fails
you can run tests with go test or helper script script/coverage.sh
p.s.: can you, please also add a test for multiple IPs
Thank you

@alexei-led how does it look now? codefresh won't show me the build results unless I sign up, and signing up requires a whole bunch of permissions which i'm not willing to permit.  on my system, script/coverage.sh logs some errors, but the same ones as master

@Dieterbe thank you for the contribution!


Updates dependencies for websocket client (fixes #20)

Codecov Report

Merging #75 (28c2d74) into master (421f8f5) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #75   +/-   ##
=======================================
  Coverage   56.03%   56.03%
=======================================
  Files          12       12
  Lines         439      439
  Branches       59       59
=======================================
  Hits          246      246
  Misses        186      186
  Partials        7        7

Impacted Files
Coverage Δ

src/gardena/smart_system.py
35.67% <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 421f8f5...28c2d74. Read the comment docs.


leave warp_curve2straight and warp_straight2curve to be used by other processes

... and if it exists, don't run sct_straighten_spinalcord.
Make the change in:

[ ] sct_smooth_spinalcord
[ ] sct_label_vertebrae
[ ] sct_register_to_template

I've implemented a solution which generates the file straight_ref.nii.gz after sct_straighten_spinalcord. Other functions (e.g., sct_register_to_template) look for this file as well as the warp_straight2curve.nii.gz and warp_curve2straight.nii.gz. If they exist, then straightening is skipped.


vSphere Infrastructure Provider cluster creation fails

What kind of request is this (question/bug/enhancement/feature request):
Error/Bug/Layer 8 problem (idk...)
Steps to reproduce (least amount of steps as possible):
Try to set up a cluster from new nodes with vSphere Node Driver and the official Ubuntu Server OVA as node template
Result:
Nodes fail to register with various errors (like "Failed to start Certificates deployer container on host [HOST_IP]: Error response from daemon: endpoint with name cert-deployer already exists in network bridge").
I have also seen some errors involving some docker socket, but I could not document them before they were replaced by new messages.
There seems to be some kind of looping during certificate deployment, since the setup is already going for more than six hours now.
Also, the Node VMs have not been customized to the spec I defined in the node templates. They all have the stock port group connected (not the one I set), also CPU and RAM values are not the ones I set them too. The VMs have been placed in the Cluster root, not the folder I provided, too. The resource pool is correct, though.
So in summary, the VMs have not been customized at all, even though cloud-init ran as expected (the user I defined was created) and Docker and the corresponding containers have been installed.
Other details that may be helpful:
I'm running vSphere 7 on two ESXi-hosts. I have tested with administrator credentials.
Environment information
Rancher 2.5 standalone on a Ubuntu 20.04 Server VM.
Rancher is connected to a management network (the default network the Ubuntu Server Template places new VMs in). It has routing set up to a different VLAN, on which the nodes should live per my definition.

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): Infrastructure Provider vSphere

Machine type (cloud/VM/metal) and specifications (CPU/memory): VMs with 2C/4GB RAM for master nodes and 8C/16GB RAM for worker nodes

Kubernetes version (use kubectl version): 1.19.2-rancher1-1
not applicable, since the cluster won't come up

Docker version (use docker version):

(paste the output here)

One of the docker socket errors is the following one:
[Failed to start Certificates deployer container on host [HOST_IP]: error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/cert-deployer/start": can not build dialer to [c-pbknb:m-h6rmz]]


Process Metric as a counter if the word is at the end of the tag.

Is your feature request related to a problem? Please describe.
A tag with “Metric” is supposed to be processed like a counter, but we’ve notice that we need a dot after “Metric” for that to happen, so a tag "OurProject.Metric.OurModule" works as a counter, but "OurProject.OurModule.Metric" will be processed as a feature.
Describe the solution you'd like
We think that it could be interesting to make tags ending with "Metric" behave as a counter, so when we make insights of them, we can group by levels as we do with the features, for example, in the previous case, we can visualize all metrics grouped by "OurProject.OurModule".

Thanks for your report.
I believe that this This should be an easy fix:
This line should actually be splitting the string on '.' And checking if any of the components me are Metric. The other cases in this block are similarly a bit suspect and need similar treatment.
https://github.com/microsoft/ApplicationInspector/blob/860d9009b4f4295a3b96afbc129bd9d8f3d5f1d7/AppInspector/MetaDataHelper.cs#L85

I think the original intention was that metrics would all be specified and look like Metric.Foo, Metric.Bar.  I don't think there's a particularly compelling reason to keep that restriction so #395 also changes this to support Metric being any portion of the tag.


Link-to-external-pages-with-anchor-elements not working.

 Instead it indicated a mistake -You need an a element that links to https://www.freecatphotoapp.com
Screenshots

System

Device: [e.g. iPhone6, Laptop]IBM PC
OS: [e.g. iOS 14, Windows 10, Ubuntu 20.4]Windows 7
Browser: [e.g. chrome, safari]Chrome
Version: [e.g. 22]94.0

Additional context

You have put in a wrong line of code for the solution.
Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.
`
You missed the href attribute in the anchor tag


clauses 11 and 19 duplicated

maybe remove 19 and then change the end of 11 from

irrespective of any disability

to

irrespective of any disability, or other impediment.

or something similar?

reopen for discussion at next EGM


Support party town tag

Would love to use this alongside the Nuxt Partydown module:
https://partytown.builder.io/nuxt
I think all that's need is to customize the type like this
type: 'text/partytown'
Thanks!

I just read the source code and found this
Pass a scriptType to the options with text/partytown


A couple of typos in the associated blog post

Thanks for the informative blog and demo code.  I noticed a couple of misleading typos in the blog post which left me confused for a few moments:
The irscan command doesn't take a number-of-bits parameter, so where you say
"You can select the USER0 scan chain like this:
irscan max10.fpga_tap 8 0x00c"
the command should be
"irscan max10.fpga_tap 0x00c"
and likewise the subsequent instruction for selecting the USER1 chain.

Fixed. Thanks!
Tom


Update stable version in repo from 2.2.0 to 2.2.2

Think about update stable version to 2.2.2
Version: stable=2.2.0 (153 days old) => latest=2.2.2 (15 days old)
Installs: stable=886 (70.04%), latest=136 (10.75%), total=1265
Click to edit

This issue seems to be outdated
This issue suggests to update the stable version of this adapter to ${issue.to} but the current stable version is already ${stable[adapter].version}.
So this issue should be closed.

This issue seems to be outdated
This issue suggests to update the stable version of this adapter to 2.2.2 but the current stable version is already 2.2.2.
So this issue should be closed.

This issue seems to be outdated
This issue suggests to update the stable version of this adapter to 2.2.2 but the current stable version is already 2.2.2.
So this issue should be closed.


Installer inconsistencies

[x] I am on the latest Poetry version.

[x] I have searched the issues of this repo and believe that this is not a duplicate.

[ ] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

OS version and name: Debian 9 amd64

Poetry version: 0.12.5

Issue
The installer has a bunch of inconsistencies:

It says you can uninstall with poetry self:uninstall, but that doesn't work:

✗ poetry self:uninstall
[CommandNotFound]
Command "self:uninstall" is not defined.

It says it will modify $HOME/.profile and $HOME/.zprofile to add path, and later even says "Next time you log in this will be done automatically.", but if one of them doesn't exist (at least for the .zprofile case), it won't create it, and you're left without the correct PATH next time you load your shell.

For the first one, I'd remove that from docs until #552 is merged
For the second one, I'd:

Either create ~/.zprofile if it doesn't exists or give a message regarding its inexistence
Give a clearer message on what you should do for adding that path to your shell if you're not using bash


Add electron to workspace tags

This PR adds the electron package to workspaces tags.
Pinging @sana-ajani to validate this

I think this looks good. @sbatten could you review too? We are adding a new tag to the "workspace.stats" event for tracking electron.

LGTM, but as @RMacfarlane has more experience with this event, I will let her confirm.

@RMacfarlane awesome! Anything else I have to do to get this merged?
Thanks!

Nope, at this point feel free to merge it!
The CI build is often flaky, so it's ok if that's failing (though good to check the build results anyway to make sure it's not related to the change 😄 )
I'll go ahead and merge this one


[Bug] Beeftext crashes when clipboard contains a bitmap on Windows 11

Users are experimenting issues with Windows 11 (mostly 22H2), where Beeftext would crash when trying to perform a combo substitution.
The cause seems to the routine taking care of the clipboard backup when it contains an image. This article explains the problem.

Here is a first build that skip bitmap type as a temporary workaround.
Beeftext-15.0-PortableEdition.zip
Beeftext-15.0-Installer.zip

Here is a new build. This one will restore bitmap (in addition to other types of content) to the clipboard after substitution.

Beeftext-15.0-Installer.zip
Beeftext-15.0-PortableEdition.zip

If everything goes well I will release Beeftext v16.0 in a few days. Note that this build is numbered '15.0', so you will get an automatic update to the final v16.0 once it's realeased, provided you have automatic update enabled in the preferences.


Create a Sustainable Living Website

Description:
We're promoting sustainability. Your task is to design a website focused on sustainable living with an eco-friendly and green design.

Difficulty: intermediate
Estimated Time: 6-7 hours

Hi Jayesh,
Hi there! I'm interested in working on this issue. Could you please assign it to me? I believe I can make a valuable contribution to this task.
Looking forward to your response. Thanks!

Hello User,
Thank you for your interest in working on this issue. I've assigned the issue to you, and you can now start working on it. If you have any questions or need any assistance, feel free to ask. Good luck with your contribution!
Best regards,
Jayesh


Add a picklist for party_id for use in attach service contact call

I was asked for the party id at some point and wasn't able to proceed past that prompt as I didn't have one. Where do I find these?

This is probably listed somewhere in the get_case response?

It is in the get_case response. caseParticipant, person otherIdentification. If it's an attorney it's different than for a pro se person.

@BryceStevenWilley given the way we're handling partyID on the proxy server side for the filing interview now, is grabbing this GUID the right approach for independent attach_service_contact calls?

We don't care about "filings" at all--only real cases. so we need to do a case lookup of some kind.


[Android] Expose ArgumentExtractor to BaseJavaModule subclasses

Summary
This change allows subclasses of BaseJavaModule to provide a list of ArgumentExtractor factories.
ArgumentExtractor.Factory is a new interface that allows returning a custom ArgumentExtractor for a given type. By doing this, we allow @ReactMethod annotated methods to take arguments of arbitrary types (not just primitives, ReadableMap and ReadableArray).
Motivation
For any non-trivial use of java modules, you'll quickly need to start sending complex objects through the bridge and it becomes very cumbersome and error prone to manually parse them out of a ReadableMap or ReadableArray every time.
This allows for more flexibility and more powerful java modules with little overhead.
Test Plan
I'm still working on the unit test for this, but opening the PR for early feedback.

By analyzing the blame information on this pull request, we identified @bestander and @astreet to be potential reviewers.

@felipecsl updated the pull request - view changes

Maybe an instrumentation test would be required

@felipecsl updated the pull request - view changes

@felipecsl updated the pull request - view changes

alright test added, @bestander PTAL

I'll send a note to android people

friendly ping again 😄

@felipecsl updated the pull request - view changes

I kinda like this idea but it's a change of how we see the bridge if it can send complex objects, however as you noted we already do this today just not in a graceful way.
Do you have plans to support this on iOS too?

I can look into making this change for iOS too!

I'm ok with this change, @javache are you ok with something similar on iOS?
Nits: we haven't been adding <?> throughout the codebase so lets not just do it in this file.

BTW I don't think I'll have time to make these changes on iOS as well, at least not for now

@lexs any further comments?
@felipecsl there's some conflicts that need to be addressed in CatalystNativeJSToJavaParametersTestCase.java

Added a comment about using a method instead of inheritance, rebase, and I'll happily merge it (or somebody else can go ahead and do it).

@lexs ok thanks for your review, I'll rebase it and update later tonight

@lexs and @astreet PR rebased and updated based on your comments, PTAL

Sorry for the delay -- seems reasonable to me!
@facebook-github-bot shipit

Ping @felipecsl

Closing this because of no response for two weeks. But it was accepted, just needs some minor tweaks and rebase. @felipecsl feel free to send a new PR mentioning this one so people know it should be merged.


Package julia-ctags

Turn this into a proper package.  Further features if desired can be implemented but this provides the minimal functionality.  Having this in a package also means that we can ship a ctags install via Conda.jl or BinaryProvider.jl.

Ok, I am sold on this idea.
but lets not do it til we actually ship the exectuable for testing purposes at least?

I think packaging it will actually make shipping an executable much easier.  Create a ctags binary using BinaryBuilder and install the tarballs with BinaryProvider.  Then when a user adds the package, the ctags executable is installed as a dependency.


Not working

On my game and server pretty pipes stopped working. pipe and stuff are still there. but if i open the terminal or crafting terminal. i dont see the items i had stored. and when i want to empty a chest it dosent suck the item out any more and stuff like that, please fixe this.
date: 19-02-2021
Last update dont work with 1.16.5

Please try removing and replacing your pipes to see if that fixes the issue.

Realy...??? Do u know how much work it is to replace every single pipe. Months of work, I have a huge system that run all, and most of it is hidden. so u want me to break every thing open and replace all the pipes? I think this is a little bit of crazy. dont u think? Every thing workt till the last update. Dont want to replace all the pipe every update, that would be crazy. I didnt change any thing, so why it stopped working i dont know. But it should just work as it should be even after an update. No one wants to replace Miles and miles of pipe!

ok


deepin.deepin-wm: use vala-0.42 to avoid compilation errors

Motivation for this change
The package does not compile with vala >= 0.44
Wanted for #68361
Things done

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

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

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

This patch fixes this linuxdeepin/deepin-wm#49.
Can we update it?

We already have the latest version of the package, in which this patch has already been integrated (upstream). It still does not compile with vala 0.44.

We'll merge this for now, it seems they fix things like this upstream promptly.

backported in f7e407e0caebfb140498bd959150379d6192f482


There is no rel="canonical" link tag

Describe the bug
Site does not get indexed. After spending a bit of time analysing I realised there is no rel="canonical" link header, which is a big problem.
https://techtitbits.com/posts/hugo-canonical-url/

That meta tag is used on duplicate pages.
https://developers.google.com/search/docs/advanced/crawling/consolidate-duplicate-urls


FileField renders as type='text' in template

In admin, the FileField brings up popup nicely to choose image for a field.
In my template, say form.html, FileField is rendered as input element but with type='text', making uploading not possible.
Any way to get same behavior as in admin but then in my own templates? Or at least, fall back to mere input type='file'?

Please wait for an answer on the mailing list where you've already asked this.

Likely, there's been a fix applied. If not, any update on the above? The mailing list question I raised happened to offer no solution.
https://groups.google.com/d/msg/mezzanine-users/2TT4SVUCYc8/zSbRi974AQAJ


Docker image for Jekyll 3.8.6

[x] This feature is not on the latest version

Request

The latest Docker image is currently for Jekyll 3.8.5. Jekyll 3.8.6 was released on July 2nd.

Does something still need to happen before 3.8.6 appears on https://hub.docker.com/r/jekyll/jekyll/tags ? It looks like 3.8.5 is still the latest version there.


partial loader loads incorrect language

So I have the following config:
$translateProvider
	.useSanitizeValueStrategy('escape')
	.registerAvailableLanguageKeys(['en', 'da'])
	// .preferredLanguage('en')
	// .fallbackLanguage('en')
	.useLoader('$translatePartialLoader', {
		urlTemplate: '/app/components/{part}/{part}.{lang}.json'
	});

And during the config phase of ui-router, I add the parts as instructed in the docs:
$stateProvider
	.state('root', {
		abstract: true,
		url: '/{locale:(?:da|en)}',
		views: {
			'main': {
				template: '

',
				controller: AppController,
				controllerAs: 'app'
			}
		},
		resolve: {
			locales: ($translatePartialLoader, $translate) => {
				console.log($translate.proposedLanguage(), $translate.preferredLanguage(), $translate.use());
				$translatePartialLoader.addPart('app');
				return $translate.refresh();
			}
		}
	});

What I want to achieve is when the user lands on the page and has a specific language set in the url myapp.com/en/, use the correct translations.
I tried this by using:
$rootScope.$on('$stateChangeStart', (event, toState, toParams) => {
	console.log(toParams, $translate.proposedLanguage(), $translate.preferredLanguage(), $translate.use());
	$translate.use(toParams.locale);
});

But that does nothing and it does not load any part. If I set the preferred lang or the fallback lang, it, of course, loads that one, but not the one that I actually set in the url.
So my questions is, how do I make this work?
@knalli any pointers?

Ok, so the way I solved this was by using .determinePreferredLanguage(). It looks like on first page load, that is the only way to make this work. The only problem is that during config phase you do not have access to $location, so that makes things a little less ideal:
const langs = [
	'en',
	'da'
];
$translateProvider.determinePreferredLanguage(() => {
	let parts = window.location.pathname.split('/');
	let part = parts.find((part) => langs.includes(part));
	return part;
})

I think you should stick with that. You should consider a fallback (if the path does not include a language).


error/warning about index.m.js.map

please check https://community.home-assistant.io/t/failed-to-load-resource-index-m-js-map-what-is-this/193292 for a community discussion about an error/warning about an index.m.js.map file the bar-card seems to expect.
adding an empty file with the name changes the error in to a warning, but still shouldn't be there?
thanks for having a look

note I didn't have the resources in their own folder yet while I encountered the error, so the bar-card isn't mentioned  yet. after having changed that, and created the file (empty) the warning clearly states bar-card.

Same issue in 0.110.1, still.

Noticed this issue, only after opening a similar one: #85
Simone

and on 0.111.2
did the author ever recognize this issue?

Doesnt appear that he has. That stinks that its been going on for so long.

Here's a "fix".  Go to /home/homeassistant/.homeassistant/www/community/bar-card and open bar-card.js with your editor of choice.
Do a search for index.m.js.map (only one instance and should be at the end of line 2967).
Position cursor before //# and press enter.  This will put it on a new line and in some editors change the color.
So on line 2968 you will end up with "//# sourceMappingURL=index.m.js.map"
This should be commented out, but being at the end of the previous line makes it part of the code and the system doesn't know how to handle it.
Clear browser cache and reload HA page.

Should be fixed in 3.1.7.


[New game]: Tetris Game

🎮 Game Request
Game logic and basic description:

Objective: The goal of Tetris is to score points by arranging falling tetrominoes (geometric shapes composed of four blocks) to create complete horizontal lines on the game board.

Falling Tetrominoes: Tetrominoes descend from the top of the screen one at a time. Players can move and rotate the tetrominoes to fit them into available spaces.

Line Clearing: When a horizontal line is completely filled with blocks, it clears from the board, and the player earns points. Clearing multiple lines simultaneously earns bonus points.

Increasing Difficulty: As the game progresses, the tetrominoes fall faster, making it more challenging to position them correctly. The level increases as the player clears a certain number of lines.

Addictive Gameplay: Tetris is known for its addictive nature due to its simple yet strategic gameplay. Players must think quickly and plan ahead to maximize their score and prevent the board from filling up.
Point down the features
Game points: +1 for correct placement of the block.
Select program in which you are contributing
No response
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @utkarshjaulkar !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @utkarshjaulkar!
We are already having a similar game request in #523 👀
Make sure you come up with a cool unique idea 😀
Waiting for your new game idea 💗.


add documentation to several Hash methods

This would be twice as cool with some examples :grin: (but keep them basic)!

@omninonsense well, there are examples

@ysbaddaden Oh you're right! I think it was collapsed on my phone earlier. So, it already is twice as cool.

Thanks for suggestions. Updated.

Thanks for correction. Updated.


Updated Golang version, and manifest.yml to work on IBM Cloud

Updated Golang version, and manifest.yml to work unchanged and deployed to IBM Cloud Cloud Foundry

Merge please


Kazuha using plunge without skill should exit gracefully

Bug caused by Kazuha using plunge without skill so frame is 0 (and queuing f-1 causes negative).
Kazuha plunge action should have a check at start for skill usage and if skill not used should just exit (return 0,0) doing nothing

in rewrite, the sim does not crash if you try to use high_plunge without skill, so maybe this issue should be closed? the sim doesn't stop users from input invalid actions anyways (except setting frames to 500 if you try to use the last NA in a combo followed by a charge attack on some characters)


Fix pokemon mini scraping

Change from pokemonmini to pokemini

fixed with second update.

fixed with second update.


Feedback not collected

def submit_feedback(user_feedback, prompt, response):
    st.toast(f"Feedback submitted ✅")
    user_feedback["datetime"] = datetime.now().isoformat()
    return user_feedback

if "feedback" not in st.session_state:
    st.session_state.feedback = []
    st.session_state.feedback_key = 0

if prompt := st.chat_input("Write your prompt here"):
    st.session_state.messages.append({"role": "user", "content": prompt})
    with st.chat_message("user"):
        st.markdown(prompt)

    full_response = generate_response(prompt=prompt)
    st.markdown(full_response)

    st.session_state.feedback_key += 1
    st.session_state.feedback.append(streamlit_feedback(
        feedback_type="faces",
        optional_text_label="[Optional] Please provide an explanation",
        on_submit=submit_feedback,
        kwargs={"prompt": prompt, "response": full_response},
        align="flex-end",
        key=st.session_state.feedback_key,
    ))
    st.session_state.messages.append({"role": "assistant", "content": full_response, "datetime" : datetime.now().isoformat()})

I expect this to collect feedback but when I click one of the faces, the st.toast does not appear and the feedback is never collected. However, the front-end components are there to click and textbox will appear for optional feedback. But on click it seems like it suddenly "refreshes" and the feedback faces along with the textbox just disappear, while the prompt and the response is still there and I could prompt it again, same issues happen all over again.
I already tried the simple way without putting the feedback into st.session_state, also the same issue, on click the on_submit function never really ran

@jeffkayne hi, it would be very helpful if you could look into this as well.

This is down to how streamlit components are run. When you click the submit UI button, the whole streamlit app is refreshed, before running the on_submit function. From your code snippet, this means that as the app refreshes, the if prompt := st.chat_input("Write your prompt here"): statement is no longer valid, and therefore the streamlit_feedback() function is not executed, thus neither is the on_submit function.
I'm also guessing that this is just half of your code snippet, so I'm not sure exactly what you are trying to achieve. If it is just a regular chatbot with streamlit's chat elements, there are a number of working examples here. In the chatbot_thumbs_app() example, we use an st.experimental_rerun() to re-execute the app after the if prompt := st.chat_input():, and then collect feedback for each message above. If these examples don't cover your use case, please paste your whole app code and I'll take a deeper look!
Does this answer your question?
Thanks!

This is down to how streamlit components are run. When you click the submit UI button, the whole streamlit app is refreshed, before running the on_submit function. From your code snippet, this means that as the app refreshes, the if prompt := st.chat_input("Write your prompt here"): statement is no longer valid, and therefore the streamlit_feedback() function is not executed, thus neither is the on_submit function.
I'm also guessing that this is just half of your code snippet, so I'm not sure exactly what you are trying to achieve. If it is just a regular chatbot with streamlit's chat elements, there are a number of working examples here. In the chatbot_thumbs_app() example, we use an st.experimental_rerun() to re-execute the app after the if prompt := st.chat_input():, and then collect feedback for each message above. If these examples don't cover your use case, please paste your whole app code and I'll take a deeper look!
Does this answer your question? Thanks!

Absolutely. Thank you! I figured the same thing but could not see the component function itself. I got it running now but the feedback faces are persistent on my app, all the faces chosen are displayed like a face-stack at the right corner.

Great! What do you mean by face-stack? Please share a screenshot if this is an issue

Great! What do you mean by face-stack? Please share a screenshot if this is an issue

all the feedback faces are stacked together


Add SECURITY.md

The Argo maintainers recently agreed to require all Argoproj Labs project repositories to contain a SECURITY.md file which documents:

Contact information for reporting security vulnerabilities
Some minimal information about policies, practices, with possibly links to further documentation with more details

This will help direct vulnerability reporting to the right parties which can fix the issue.
You are free to use the following as examples/templates:

Argoproj
Workflows
CD

Also, please note that in the future we are exploring a requirement that argoproj-labs projects perform a CII self-assessment to better inform its users about which security best practices are being followed.

Bumping this up. Can maintainers of this repository please ensure that this repository has a security policy?


Socket Handles/Connected UDP

Westworld really wants to be built using connected UDP.

https://blog.grijjy.com/2018/08/29/creating-high-performance-udp-servers-on-windows-and-linux/

https://github.com/libp2p/go-reuseport


Generate visualizations during training

I'd like to generate a loss graph as well as dump some generated samples during training. Basically just trying to make the model look cool and show that it's working.

I added a few interesting visualizations of the loss and sample generation. Also dumped some useful data to a JSON file after training. I'll leave this open a bit longer in case I think of more cool visualizations.

The visualizations are good enough, so I'm going to close this case for now.


bugfix bad condition

This line raises error when debugging before set rank for PipelineBlock. The logic here is flawed because both True and False are not None.

Thanks for the fix!


How do I add a custom menu without haxe code?

Describe your problem here.
What is my problem?
I'm thinking of adding my own menu without the HAXE code
But I do not know how =(
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
There is an icon for pressing the menu, there is no code

its either you code one in-song or impossible

But I do not know how to enter the code hx =(

It's impossible with lua because it only works inside playstate.hx aka the part where you actually play the songs
You can learn haxe here https://haxe.org/documentation/introduction/

Simple answer. You can't.

well its possible but only pause menus
i mean, theres custom substates in lua
but
thats just it, theres no main state support in lua

now close this Burj 💀

you tehnically can make a custom menu, it's just gotta be through a "song" being it and alot of work


Add overwriteIfExists option to UploadSegment

Currently, when a segment is uploaded, we always overwrite if a
segment with the same name already exists. Having an overwrite
parameter in the UploadSegment API will give clients finer
control during uploading segments.
Note that the default value is set to true to retain existing
behavior.

Codecov Report

Merging #8125 (21be3e1) into master (5f813c9) will decrease coverage by 6.60%.
The diff coverage is 28.57%.

@@             Coverage Diff              @@
##             master    #8125      +/-   ##
============================================
- Coverage     71.33%   64.73%   -6.61%
+ Complexity     4303     4302       -1
============================================
  Files          1624     1579      -45
  Lines         84140    82264    -1876
  Branches      12596    12393     -203
============================================
- Hits          60024    53251    -6773
- Misses        20015    25218    +5203
+ Partials       4101     3795     -306

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
67.94% <0.00%> (-0.01%)
:arrow_down:

unittests2
14.18% <28.57%> (-0.02%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ache/pinot/common/metadata/ZKMetadataProvider.java
20.14% <0.00%> (-59.57%)
:arrow_down:

...e/pinot/common/utils/FileUploadDownloadClient.java
16.35% <0.00%> (-47.32%)
:arrow_down:

...ces/PinotSegmentUploadDownloadRestletResource.java
39.56% <ø> (-18.70%)
:arrow_down:

...ntroller/helix/core/PinotHelixResourceManager.java
61.96% <ø> (-3.90%)
:arrow_down:

...apache/pinot/controller/api/upload/ZKOperator.java
64.56% <100.00%> (-9.84%)
:arrow_down:

...a/org/apache/pinot/common/metrics/MinionMeter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...g/apache/pinot/common/metrics/ControllerMeter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../apache/pinot/common/metrics/BrokerQueryPhase.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../apache/pinot/common/metrics/MinionQueryPhase.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ache/pinot/server/access/AccessControlFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 372 more

Continue to review full report at Codecov.

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

@kkrugler Please take a look at this PR. Note that our requirement for this is very specific -- for cloud data migration from on-prem were newer segment may have already landed on Azure and the migration script should honor that and not overwrite.

Renamed the parameter to allowRefresh. @Jackie-Jiang  please take a look.


Allow to do Teams environment emulation and self-hosted bot using the Bot Emulator

Hello
Upon development of a Bot for Teams i need to check it. But checking through build is not a good option. Therefore I'd like to have bot and light version of teams inside Bot Emulator so i can like login and do some testing

Hi @SiarheiKuchukBelitsoft ,
We have no plans to emulate other channel behavior (such as Teams, Skype, etc.) inside the Emulator. Please see my comment in #2116
The Emulator does have the ability to listen in on traffic to your bot through the Teams channel and display the traffic within the Emulator UI as it is now. In order to try that out, please check out the in-app Bot Inspector documentation:

@SiarheiKuchukBelitsoft You can also use NGROK to debug locally when using the Teams channel (in case you were not aware). You can also use Service Bus in place of NGROK. Let me know if want directions on how to do that.


Just works

This is a POC sort of merge.
Changed dir structure.
Example app and service added.
Added lots of TODOs

Fixed setup.sh


New flat styling of the transaction log

Task description
In some of the need-to-have flows a new flat style for the transaction log can be seen. This is a nice to have task with low priority.
The new flat design can e.g. be seen in Flow 3, or in the screenshot below.
Important! Please coordinate between between iOS and Android development, so these nice-to-have changes are only done, if there is time to do them on both platforms.

Verified.
Versions

Software Version: Testnet 2.0
OS: iOS 14.8
Browser: N/A
Mobile device: iPhone SE


Bug: When closing the secondary pane with a shortcut, the primary pane stops working as expected.

Description
When we have two panes open in Files and we close the secondary one with the keyboard shortcut Ctrl + Shift + W, the primary pane doesn't regain focus automatically, so opening a folder from the favorites menu no longer works.
A workaround is to click the primary pane again, so it becomes active and focused, and then opening something from the favorites sidebar.
https://user-images.githubusercontent.com/2331058/234363691-0fb0bf95-5a35-467b-9ec8-97096e7374c8.mp4
Steps To Reproduce

Open Files with both panes active.
Click on the second pane, so it's active and has focus.
Press the keyboard shortcut Ctrl + Shift + W to close the secondary pane.
Try to open a folder from the favorites menu.
That won't work because the primary pane is not focused, therefore nothing happens.

Requirements

Fix bug described above

Files Version
<IP_ADDRESS>
Windows Version
10.0.19044.2846
Log file

@rafaskb can you attach the debug file to the description?

@rafaskb this time we don't actually need the log file but in the future, can you upload the actual file instead of copying the text?

I did include the whole content of the debug log in the original issue, seems like it's no longer there though. Is there any difference between including the content of the file and the file itself?

We ask users to upload the file and not copy and paste the contents into the box so it doesn't make a long wall of text on GitHub and allows for searching/reading the contents of the log easier.

@rafaskb a fix has been implemented and will be part of the next feature release (v2.5).


Fix event commands adding semi-colons to output

Prior to this fix having a event-only command follow a query
command will result in a semi-colon being added to the output despite
the event-only command not writing any sort of output.

Coverage decreased (-0.03%) to 93.078% when pulling 47bd350398607f06c093807288ffb8cf6cb7e05e on PolyPik:response_separator_fix into a077a73a54ee0e789d7f39fc1587f20cb0cfd545 on j123b567:master.


adding route /viewing-rooms and a basic list for it

Adding a route and a basic list with some info fetching, for viewing rooms. Currently behind a flag.
to test: xcrun simctl openurl booted "https://artsy.net/viewing-rooms" or from the dev menu.

I added ts-is-present to make the relay edges.node extraction easier.

Fails

:no_entry_sign:
Missing Test Files:

src/lib/Scenes/ViewingRoom/Components/__tests__/ViewingRoomsListItem-tests.tsx
src/lib/Scenes/ViewingRoom/__tests__/ViewingRoomsList-tests.tsx

If these files are supposed to not exist, please update your PR body to include "#skip_new_tests".

  Generated by :no_entry_sign: dangerJS

not sure why you're getting those snapshot failures, might need to update the branch?


Changelog

chore(deps): bump grunt-conventional-changelog
There are a ton of bug fixes and nice new features.
feat(release): use grunt-conventional-github-releaser
You need to set environment variable GH_TOKEN as your github token and make sure you run it after you have pushed your tag.

@stevemao thanks for your contribution. I will review the changes as soon as I can


CP Solutions of LeetCode

Here are some solutions of CP questions from LeetCode

Great work please give this repo a star and follow me for follow back 😊✨


Server Deployment Guide

1. Adjust Server Code

Change server listening port if needed.
In app/index.js, update the following code:
const PORT = 3000

Remove console log info if needed.
In app/index.js, update the following code:
// print request info from front-end to console
// (comment this out if you do not want to see the log)
app.use(morgan('dev'))

Update database config if needed.
Go to app/config/db.js, update the config.

Update secret key for jwt signing if needed.
Go to app/config/key.js, update secret_jwt.

Update email and password for sending verification code.
Go to app/config/nodemailer.config.js, update the following.
// config of email sender
const user =<EMAIL_ADDRESS>const pass = "xxxxxxxxxxxxxxx"

[IMPORTANT] Make the server really send the verification code emails.

Go to app/router/user/register-email-verification-code.js, uncomment the following:
// send verification email
// (temporarily removed)
//await nodemailer.sendVerificationCode_register(_email, _email, _verificationCode)

Go to app/router/user/set-pwd-email-verification-code.js, uncomment the following:
// send verification email
// (temporarily removed)
// await nodemailer.sendVerificationCode_resetPwd(user.name, _email, _verificationCode)

2. Deployment
Tutorial: https://www.youtube.com/watch?v=-oTdaFDvLo4
apt update

#apt install nginx
#service nginx status

apt install mongodb
service mongodb status

apt install npm
npm -v
node -v
# install `n` to manage node version
npm i -g n
n 12

#exit and login to server again
node -v
npm -v

git clone ...

# install dependencies
#npm i -g yarn
#yarn
npm install

#set nginx to deliver static files...

npm i -g pm2

pm2 start ...
#pm2 start app
#pm2 restart app

pm2 status

#set nginx again...
#set server to only listen to localhost...

All contents have been added in README


HHH-17140 Hibernate 6 OneToOne bidirectional produces stack overflow

https://hibernate.atlassian.net/browse/HHH-17140

Is there any update on this issue?

Hi @jellisgwn ,
the issue should have been fixed by https://hibernate.atlassian.net/browse/HHH-17309, see https://github.com/hibernate/hibernate-orm/pull/7537

@dreab8 thanks for the update!
is it likely that this will back-ported? we're dependent on wildfly releases...

Since https://hibernate.atlassian.net/browse/HHH-17309 is an enhancement we will not backport it. You will have to update to the latest Hibernate ORM version or wait until Wildfly updates to that version.

HHH-17140 was a regression relative to the wildfly bundled versions. that it was fixed by an enhancement is that is not currently available in a release is... unfortunate.


Ignore package-lock.json

Do you want to request a feature or report a bug? Just a suggestion

What is the current behavior? Adds package-lock.json to git
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior? Ignore package-lock.json to prevent new contributors to mistakenly ship in package-lock.json when making a PR
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.

Contributors should use yarn anyways...


[Core] Make none Text fields searchable or not

At current state all kind of types can be searchable (text, int, float, bool, date, ..)
Some search engines like Typesense are not supporting this #96. So the general question is should the abstraction support this. Which would require extend the Marshaller to create for int, float, bool, date fields via a Flag addtional searchable text field or not.
Related changes:

#100
#106

None text fields will at current case not be searchable. Dates, Float, Int are formatted differently in different languages and so some search engine do not support them to be searchable. Even some dates are converted to unix timestamp so they would not be searchable at that state.


@broskoski: Signup Modal QA

This does a couple things:

Get client-side + server-side tracking in sync
Add a "full name" field above email
Refresh the page after the thank you message on desktop to show logged in

Most importantly we needed to get client-side and server-side tracking in sync and both sending along the user_id and acquisition_initiative. The other two are should-have UX items.
cc @anipetrov

Looks like a real ❌  but not sure what's going on there. Looks good otherwise!

Is the expected behavior here to get both a client and a server event called created_account in the force_production segment project at each instance of account creation? I will QA and will watch at the data closely once this is deployed.
Having complete double coverage will definitely make it possible for us to distinguish between server and client events in force_production.created_account but eventually it would be nice to have separate force and microgravity server sources set up in segment where we would send all our server side events.
cc @wrgoldstein @joelauerbach

Yep that's correct Ani. I haven't split the server-side events to a different account in this PR


Fix broken deps for Mantl DNS package

mantl-dns package has a broken dep chain due to change in version of NetworkManager in upstream yum repos.
Fixed by baking our own RPM w/ updated version of NetworkManager here https://github.com/datascienceinc/mantl-packaging/commit/baa2a916f8913aa31aa210e61e9d6a8cd483da28 and pushed to S3.
The change in this PR is to use the RPM we baked instead of the version of package in remote yum repo.
Ansible Error:
TASK [mantl-roles/roles/dnsmasq : install mantl-dns] ***************************
fatal: [experimental-worker-003]: FAILED! => {"changed": true, "failed": true, "msg": "Error: Package: mant
l-dns-1.1.0-5.centos.x86_64 (asteris-mantl-rpm)\n           Requires: NetworkManager = 1:1.0.6\n
Available: 1:NetworkManager-1.4.0-12.el7.x86_64 (base)\n               NetworkManager = 1:1.4.0-12.el7\n
        Available: 1:NetworkManager-1.4.0-13.el7_3.x86_64 (updates)\n               NetworkManager = 1:1.4.
0-13.el7_3\n", "rc": 1, "results": ["Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostf
ile\n * base: mirror.web-ster.com\n * epel: s3-mirror-us-west-2.fedoraproject.org\n * extras: mirror.linuxf
ix.com\n * updates: mirror.tocici.com\nResolving Dependencies\n--> Running transaction check\n---> Package
mantl-dns.x86_64 0:1.1.0-5.centos will be installed\n--> Processing Dependency: NetworkManager = 1:1.0.6 fo
r package: mantl-dns-1.1.0-5.centos.x86_64\n--> Processing Dependency: bind-utils = 32:9.9.4 for package: m
antl-dns-1.1.0-5.centos.x86_64\n--> Running transaction check\n---> Package bind-utils.x86_64 32:9.9.4-38.e
l7_3 will be installed\n--> Processing Dependency: bind-libs = 32:9.9.4-38.el7_3 for package: 32:bind-utils
-9.9.4-38.el7_3.x86_64\n--> Processing Dependency: liblwres.so.90()(64bit) for package: 32:bind-utils-9.9.4
-38.el7_3.x86_64\n--> Processing Dependency: libisccfg.so.90()(64bit) for package: 32:bind-utils-9.9.4-38.e
l7_3.x86_64\n--> Processing Dependency: libisccc.so.90()(64bit) for package: 32:bind-utils-9.9.4-38.el7_3.x
86_64\n--> Processing Dependency: libisc.so.95()(64bit) for package: 32:bind-utils-9.9.4-38.el7_3.x86_64\n-
-> Processing Dependency: libdns.so.100()(64bit) for package: 32:bind-utils-9.9.4-38.el7_3.x86_64\n--> Proc
essing Dependency: libbind9.so.90()(64bit) for package: 32:bind-utils-9.9.4-38.el7_3.x86_64\n--> Processing
 Dependency: libGeoIP.so.1()(64bit) for package: 32:bind-utils-9.9.4-38.el7_3.x86_64\n---> Package mantl-dn
s.x86_64 0:1.1.0-5.centos will be installed\n--> Processing Dependency: NetworkManager = 1:1.0.6 for packag
e: mantl-dns-1.1.0-5.centos.x86_64\n--> Running transaction check\n---> Package GeoIP.x86_64 0:1.5.0-11.el7
 will be installed\n---> Package bind-libs.x86_64 32:9.9.4-38.el7_3 will be installed\n--> Processing Depen
dency: bind-license = 32:9.9.4-38.el7_3 for package: 32:bind-libs-9.9.4-38.el7_3.x86_64\n---> Package mantl
-dns.x86_64 0:1.1.0-5.centos will be installed\n--> Processing Dependency: NetworkManager = 1:1.0.6 for pac
kage: mantl-dns-1.1.0-5.centos.x86_64\n--> Running transaction check\n---> Package bind-license.noarch 32:9
.9.4-29.el7_2.2 will be updated\n--> Processing Dependency: bind-license = 32:9.9.4-29.el7_2.2 for package:
 32:bind-libs-lite-9.9.4-29.el7_2.2.x86_64\n---> Package bind-license.noarch 32:9.9.4-38.el7_3 will be an u
pdate\n---> Package mantl-dns.x86_64 0:1.1.0-5.centos will be installed\n--> Processing Dependency: Network
Manager = 1:1.0.6 for package: mantl-dns-1.1.0-5.centos.x86_64\n--> Running transaction check\n---> Package
 bind-libs-lite.x86_64 32:9.9.4-29.el7_2.2 will be updated\n---> Package bind-libs-lite.x86_64 32:9.9.4-38.
el7_3 will be an update\n---> Package mantl-dns.x86_64 0:1.1.0-5.centos will be installed\n--> Processing D
ependency: NetworkManager = 1:1.0.6 for package: mantl-dns-1.1.0-5.centos.x86_64\n--> Finished Dependency R
esolution\n You could try using --skip-broken to work around the problem\n You could try running: rpm -Va -
-nofiles --nodigest\n"]}

👍

added documentation on how to re-build RPM for mantl-dns package:
https://github.com/datascienceinc/mantl-packaging/commit/baa2a916f8913aa31aa210e61e9d6a8cd483da28#commitcomment-20176166

rebased on top of current master

@hcavalle yeah. github releases is a good alternative to s3 hosting. lets see when we have to touch mantl-packaging again. maybe next time we can do a github release instead.


Replace label with placeholder

Description
This Pull Request modifies the useImperativeHandle hook Form component by replacing label attribute with a placeholder tag.
Issue #6289
##Current

##Change

Makes sense thanks.


metadata: Jinja templates are being inherited when a variable is used in calculation

I think this is a new occurrence: When you use an indicator that has Jinja metadata in a calculation (e.g., UN WPP population). The calculated variable inherits this template, and it can cause the step to fail if you don't overwrite the metadata values that are given in the template.
e.g. here in Buildkite. Buildkite is applying a template that doesn't exist in the metadata of the step, but it is the metadata for the variable used in a calculation in this step (etl/steps/data/garden/malnutrition/2024-12-16/malnutrition.py).

(Maybe it's intentional, but in that case I guess it might be good to have a function to strip variable metadata for these kind of variables)

Thanks for reporting this. I've improved the error message to make it clear which variable and metadata are causing the problem.
In this specific case, the issue is that presentation.title_public is inherited from the population indicator, but it's missing the dimensions required to render the metadata. I'm not sure what the best approach is—should we stop inheriting the presentation.title_public field, or would that cause other problems?

Would a function that strips Variable metadata be a possible way to go (or maybe an option in load_dataset())?
I figure it's presentation.title_public this time, but it could be a different one with another variable (although population will be by far the most frequent one!).

That's a great idea, created a PR https://github.com/owid/etl/pull/3728.


Error installing v0.21.1 crds

Bug Report
What did you do?
kubectl apply -f https://github.com/operator-framework/operator-lifecycle-manager/releases/download/v0.21.1/crds.yaml
What did you expect to see?
no error
What did you see instead? Under which circumstances?
customresourcedefinition.apiextensions.k8s.io/catalogsources.operators.coreos.com unchanged
customresourcedefinition.apiextensions.k8s.io/installplans.operators.coreos.com unchanged
customresourcedefinition.apiextensions.k8s.io/olmconfigs.operators.coreos.com unchanged
customresourcedefinition.apiextensions.k8s.io/operatorconditions.operators.coreos.com unchanged
customresourcedefinition.apiextensions.k8s.io/operatorgroups.operators.coreos.com unchanged
customresourcedefinition.apiextensions.k8s.io/operators.operators.coreos.com unchanged
customresourcedefinition.apiextensions.k8s.io/subscriptions.operators.coreos.com unchanged
The CustomResourceDefinition "clusterserviceversions.operators.coreos.com" is invalid: metadata.annotations: Too long: must have at most 262144 bytes

Environment

operator-lifecycle-manager version: v0.21.1

Kubernetes version information:
v1.22.2

Kubernetes cluster kind:
Cloud instance

I was able to install OLM by editing the script and use create instead of apply in the CRD step.

I believe this is a result of the last-provided-configuration annotation that gets appended to the object during an apply call, which doesn't get automatically appended during a create.

Experiencing the same error:
=== Kubernetes Status ===
[+]ping ok
[+]log ok
[+]etcd ok
[+]poststarthook/start-kube-apiserver-admission-initializer ok
[+]poststarthook/generic-apiserver-start-informers ok
[+]poststarthook/priority-and-fairness-config-consumer ok
[+]poststarthook/priority-and-fairness-filter ok
[+]poststarthook/start-apiextensions-informers ok
[+]poststarthook/start-apiextensions-controllers ok
[+]poststarthook/crd-informer-synced ok
[+]poststarthook/bootstrap-controller ok
[+]poststarthook/rbac/bootstrap-roles ok
[+]poststarthook/scheduling/bootstrap-system-priority-classes ok
[+]poststarthook/priority-and-fairness-config-producer ok
[+]poststarthook/start-cluster-authentication-info-controller ok
[+]poststarthook/aggregator-reload-proxy-client-cert ok
[+]poststarthook/start-kube-aggregator-informers ok
[+]poststarthook/apiservice-registration-controller ok
[+]poststarthook/apiservice-status-available-controller ok
[+]poststarthook/kube-apiserver-autoregistration ok
[+]autoregister-completion ok
[+]poststarthook/apiservice-openapi-controller ok
healthz check passed
Client Version: v1.23.4
Server Version: v1.23.4
NAME           STATUS   ROLES                  AGE    VERSION
controlplane   Ready    control-plane,master   2m3s   v1.23.4
node01         Ready    <none>                 102s   v1.23.4

$ VERSION=v0.21.1

$ curl -sL https://github.com/operator-framework/operator-lifecycle-manager/releases/download/$VERSION/install.sh | bash -s $VERSION
customresourcedefinition.apiextensions.k8s.io/catalogsources.operators.coreos.com created
customresourcedefinition.apiextensions.k8s.io/installplans.operators.coreos.com created
customresourcedefinition.apiextensions.k8s.io/olmconfigs.operators.coreos.com created
customresourcedefinition.apiextensions.k8s.io/operatorconditions.operators.coreos.com created
customresourcedefinition.apiextensions.k8s.io/operatorgroups.operators.coreos.com created
customresourcedefinition.apiextensions.k8s.io/operators.operators.coreos.com created
customresourcedefinition.apiextensions.k8s.io/subscriptions.operators.coreos.com created
The CustomResourceDefinition "clusterserviceversions.operators.coreos.com" is invalid: metadata.annotations: Too long: must have at most 262144 bytes

Works fine on the same host with previous version 0.20.0:
$ VERSION=v0.20.0

$ curl -sL https://github.com/operator-framework/operator-lifecycle-manager/releases/download/$VERSION/install.sh | bash -s $VERSION
customresourcedefinition.apiextensions.k8s.io/catalogsources.operators.coreos.com configured
customresourcedefinition.apiextensions.k8s.io/clusterserviceversions.operators.coreos.com created
customresourcedefinition.apiextensions.k8s.io/installplans.operators.coreos.com configured
customresourcedefinition.apiextensions.k8s.io/olmconfigs.operators.coreos.com configured
customresourcedefinition.apiextensions.k8s.io/operatorconditions.operators.coreos.com configured
customresourcedefinition.apiextensions.k8s.io/operatorgroups.operators.coreos.com configured
customresourcedefinition.apiextensions.k8s.io/operators.operators.coreos.com configured
customresourcedefinition.apiextensions.k8s.io/subscriptions.operators.coreos.com configured
customresourcedefinition.apiextensions.k8s.io/catalogsources.operators.coreos.com condition met
customresourcedefinition.apiextensions.k8s.io/clusterserviceversions.operators.coreos.com condition met
customresourcedefinition.apiextensions.k8s.io/installplans.operators.coreos.com condition met
customresourcedefinition.apiextensions.k8s.io/olmconfigs.operators.coreos.com condition met
customresourcedefinition.apiextensions.k8s.io/operatorconditions.operators.coreos.com condition met
customresourcedefinition.apiextensions.k8s.io/operatorgroups.operators.coreos.com condition met
customresourcedefinition.apiextensions.k8s.io/operators.operators.coreos.com condition met
customresourcedefinition.apiextensions.k8s.io/subscriptions.operators.coreos.com condition met
namespace/olm created
namespace/operators created
serviceaccount/olm-operator-serviceaccount created
clusterrole.rbac.authorization.k8s.io/system:controller:operator-lifecycle-manager created
clusterrolebinding.rbac.authorization.k8s.io/olm-operator-binding-olm created
olmconfig.operators.coreos.com/cluster created
deployment.apps/olm-operator created
deployment.apps/catalog-operator created
clusterrole.rbac.authorization.k8s.io/aggregate-olm-edit created
clusterrole.rbac.authorization.k8s.io/aggregate-olm-view created
operatorgroup.operators.coreos.com/global-operators created
operatorgroup.operators.coreos.com/olm-operators created
clusterserviceversion.operators.coreos.com/packageserver created
catalogsource.operators.coreos.com/operatorhubio-catalog created
Waiting for deployment "olm-operator" rollout to finish: 0 of 1 updated replicas are available...
deployment "olm-operator" successfully rolled out
deployment "catalog-operator" successfully rolled out
Package server phase: Installing
Package server phase: Succeeded
deployment "packageserver" successfully rolled out

$ kubectl get deployments -n olm
NAME               READY   UP-TO-DATE   AVAILABLE   AGE
catalog-operator   1/1     1            1           20s
olm-operator       1/1     1            1           20s
packageserver      2/2     2            2           14s

We have updated the install.sh script to use server-side apply when applying objects, this prevents the last-applied-configuration annotation from being appended to the CRD object. This will enable those installing OLM on a fresh cluster to be able to install successfully. Server side apply is done via adding --server-side=true to the kubectl command.
Locally, another option is to simply use create instead of apply when installing OLM.
The install.sh is configured to work only on a cluster where OLM is not previously installed. Unfortunately, there is not currently a supported way to update OLM itself on-cluster -- this is being tracked in #2695.


Modifying the workspace remote path in the configuration does not take effect

application.yml：

error log：

fixed in new version


fix: add dot notation to keyField

fix: #753
Changes proposed in this PR:

add dot notation to keyField

[ ] I have followed (at least) the PR section of the contributing guide.
@90milesbridge/tigger

Pull Request Test Coverage Report for Build 2915

11 of 11 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 80.659%

Totals

Change from base Build 2873:
0.01%

Covered Lines:
2609

Relevant Lines:
3125

💛  - Coveralls


Can it work like an access point?

Is there any way to make it work as an access point?
For example, does it take network data from the ethernet port and release it through the wifi with only one IP address for both? Even with mesh architecture?!

Sure both Ethernet and WIFI can work at the same time. This is a simple test for using both WIFI and Ethernet under Arduino IDE:
https://github.com/OLIMEX/ESP32-POE/tree/master/SOFTWARE/ARDUINO/ESP32_PoE_Ethernet_WIFI_test
If you want more info search online for:
"esp32 ethernet wifi bridge"

I tried to google and the only solution would look like this: https://github.com/espressif/esp-idf/tree/master/examples/ethernet/eth2ap
now i tried to compare your eth_wifi_test with that of espressif. I would like to try with Espressif's ESP-IDF solution and I wanted to know if Are there any parameters that are specific to your Olimex that I need to take into consideration?

ho notato che anche voi avete ESP-IDF https://github.com/OLIMEX/ESP32-POE/tree/master/SOFTWARE/ESP-IDF/ESP32_PoE_Ethernet_IDFv4.2
si può utilizzare per questo scopo? a cosa si riferisce il vostro esempio ESP-IDF?

We have ESP-IDF examples and you can use the example that you linked, of course, as basis for Ethernet connectivity. But we haven't published ESP-IDF example that demonstrates both WIFI and Ethernet (in the same example).

ok i will try the Espressif example than. I will let you know if it works.


scripts: mark multipath scripts as executable

Description
This PR marks the multipath scripts as executable.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

How did you try to break this feature and the system with this change?

@blueorangutan package

@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan test ubuntu22 kvm-ubuntu22

@weizhouapache a [SL] Trillian-Jenkins test job (ubuntu22 mgmt + kvm-ubuntu22) has been kicked to run smoke tests

[SF] Trillian test result (tid-8866)
Environment: kvm-ubuntu22 (x2), Advanced Networking with Mgmt server u22
Total time taken: 53462 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8524-t8866-kvm-ubuntu22.zip
Smoke tests completed. 121 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

LGTM (or even the scripts could be made chmod +x as part of packaging? still worth checking during packaging the executable scripts are retained)

yes, chmod +x is another option. (it is used in cloud.spec, so there is no issues with rocky/alma environments)
the mode flag is kept during the packaging for ubuntu. there is no smoke test failures on ubuntu22 environment.

@weizhouapache , setting this for 4.19.1 (tentatively)

@weizhouapache @shwstppr are we considering this a blocker indeed/should we set milestone <IP_ADDRESS> for this?


Tower-control Icon

Icon Request

Icon name: tower-control
Use case: Airport and travel related websites/tools
Screenshots of similar icons:

I drafted three variants of the icon, happy to recieve improvement suggestions :)

The top looks far too dense in each iteration (there should be a 2px gap between all distinct elements), I think we'll have to stick with a single vertical line in the middle like in the first similar icon, maybe something like this:

(The bottom rounding is also something that we probably shouldn't go with, as it makes it look too much like it's a detached piece of equipment, like some kind of steampunk-ish medieval torch).

You'r totally right about density, I forgot about the 2px distance, sorry.😅
What do you think of this more "zoomed in" approach?

My personal favourite would be the right variant. I think one could omit the bottom of the tower and get more detailed at the top for better recognition.

Not bad, although these parts do go against our guidelines I think:

Under what circumstances could one deviate from the rules? Because I personally think that it looks better with that extra element:

Any updates on this? :)
As I said, I think that it looks slightly better with the extra element on the left, but the right version would also fullfill all rules and does not go against the guidelines.

@jis3r Sorry for late reply.
Can you post a 100%(24x24px) scale comparison?
I think you probably won't see the little line. Or the average person won't see it.

What do you mean by scale comparison? The images I posted should both be 24x24px.

By 100% we mean an image where the icons actually take up a 24 by 24 pixel space, e.g.:

The third one is an alternate suggestion (the line at the bottom suggests that the tower ends there making it look comically short and the overall weight of the icon is maybe a bit too small).

I think the third option looks more like a tower


Update page view + track page change

Problem
Hi! I'm making a page builder where users can create and edit (Prismic) content from a form while previewing changes in their website. I would like to be able to trigger a page change from a documents list, and be able to track a page change from within the iframe to update the documents list state.
Solution
I would like to update the current page view from the Webcontainer instance, eg. container.location.push('/pages/contact') and be able to listen to page changes, eg. container.on('page-change', (url) => ...), without updating the iframe URL.
Alternative
I've tried hacking my way through iframe policies but without success. I guess it would be possible to ask users to add a piece of code on their side that would listen and POST through the network, and would only be used in the context of the iframe, but I don't want to pollute their code because of a limitation on my side.
Thanks!

:wave: Thanks for the report. This is something we've thought about ourselves, but it is quite involved to get working.
I'm going to add link this issue to our internal tracker so we don't forget about it, but I can't really make any promises re: timeline.


GUI : Wrong redirection from /autopilot to /suggested_action

Being on /autopilot page, seeing the message :
Experimental. This will allow LNDg to automatically act upon the suggestions found here.
here points to /suggested_actions instead of newly named : /actions
https://github.com/cryptosharks131/lndg/blob/ea83dd324aedddb6dc8a76b588e0cf4b2494bb4c/gui/templates/autopilot.html#L33
Bellow the definition of /actions page:
https://github.com/cryptosharks131/lndg/blob/d3f20eda6224ba8f821116640d9896ded165e786/gui/urls.py#L41

Fix pushed to master, thanks for the report!
3274c17286bf9ef0b86d709b84849656dda7dbba


Use full path for tee command in MS Windows

In MS Windows, tee.exe has been placed at $VIMRUNTIME and $VIMRUNTIME is added to $PATH in Vim process so executable('tee') returns 1.
However, sudo.exe executes a command in a new environment.
The directory $VIMRUNTIME is not added here, so tee is not found.
Using a full path for tee command to avoid this problem.
(説明が正しいか自信がない 😅)
cc: @mattn

LGTM

Thank you @thinca @mattn 👍


New icons

For new features and changed semantics inbound with release v1.0.0 new icons are needed:

[x] "Source Code" for use in the collapsed bottom pattern toolbar
[x] "Rulers" as action icon to toggle media-query display
[x] "Keyboard key" as action icon to bring up the shortcut lightbox
[x] "Issue" as action icon to bring up the issue lightbox
[ ] "Exit" as inline icon for external links rendered into markdown
[ ] "References" as action icon for a view that shows the connections between docs and patterns

Bonus points for constructing them via JS :trollface:

What do you mean by "contructing via JS"? 😁

@marionebl
Wich icon style would you prefer for media queries:
#1 From PP-Icon set

#2 From Google Design "flip"

#3 From Google Design "Aspect Ratio"

Obsolete


Pipe on command line wrap to 1 char wide output

When piping the help text to "more" all lines are wrapped to 1 column of characters.
wacs --help | more
Work-around:
wacs --help > help.txt
more help.txt

[INFO] A simple Windows ACMEv2 client (WACS)
[INFO] Software version <IP_ADDRESS>9 (RELEASE, PLUGGABLE)
[INFO] IIS version 10.0
[INFO] Running with administrator credentials
[WARN] Scheduled task not configured yet
[INFO] Please report issues at https://github.com/PKISharp/win-acme

You can work around this by changing the TextEncoding in settings.json from "unicode" to "utf8". I will also make that the default for the next release, because while unicode is better for displaying characters in certain Asian languages, it hurts all kinds of scenarios with redirected IO.


hitArea on masked Sprite and cached as bitmap

Hi everyone,
In a project I’m using interactive Sprites, Masks and CacheAsBitmap (for performance reasons).
I have an image as Sprite, this sprite is masked with a Graphics to get only a part of that sprite and rounded corners and the Sprite result is cached as bitmap.
The issue is that when not using the cache as bitmap the hit area is matching the masked sprite (mask bounds) but when using the cache as bitmap the hit area is matching the sprite and not the mask.
I tried to had a hitArea on Sprite without any success and hitArea are really hard to debug because they are not visible.
I don’t know if that is the correct behaviour or a kind of bug…
Hope you can help me

Personally, I spent too many hours in cacheAsBitmap and other generateTexture's derivatives. Others too. Honestly, this thing will hang for weeks, if you dont try to get more info by yourself
Here are relevant lines in source code:
https://github.com/pixijs/pixi.js/blob/dev/packages/interaction/src/TreeSearch.ts#L70
This is what changed for sprite: https://github.com/pixijs/pixi.js/blob/dev/packages/mixin-cache-as-bitmap/src/index.ts#L266 , also updateTransform() doesnt happen for elements inside it while its cached, so some matrices can be wrong


Logging somethimes not working on master.

While testing the VTOL code we realized that many logs (not all, just the important ones) are corrupted.
Flightplot complains about e.g. "Unknown message type: 47". The unknown message type is not always the same.

There is no message with index 47.

@tumbili Please cross-test this branch.

Flightplot has difficulties always after the same messages, for example:
Unknown message type: 63
Message before null: VISN 17236521
Message before that: ATTC 17236521

Unknown message type: 61
Message before null: VISN 68439553
Message before that: ATTC 68439553

Unknown message type: 127
Message before null: VISN 75210376
Message before that: ATTC 75210376

I couldn't spot anything in the logging code that points to a problem with these messages (formats). I don't know if Logmuncher reports the same errors but ignores them.

@AndreasAntener Seems like the logparser is not detecting the ATTC1 message. It is there in the log but he does not see it. I'm checking why right now.

@LorenzMeier @AndreasAntener Got it! Vision and ATTC1 have the same ID

We should have a script which checks that no ID is used two times.

Fixed.


Failing to generate valid profile url for files with absolute url

Hi,
I see the generated profile image url is incorrect when the given url is absolute and also contains white space in the file name.
Eg:ImageProfileManager.GetImageProfileUrl will output

_Profiles/55417301/ff0629ee/Senior%20in%20bathrobe-1.jpg

for the input url

https://xxxx.blob.core.windows.net:443/media/Default/Senior in bathrobe-1.jpg

Fixed in #6867


✨ Add Upload by MIME or Extension

Hi, thanks for your PR, but we don't validate it for now.
We will maybe think a different way to do that.
Thanks for you improvement !


[Bugfix][TIR] Fix duplicate AllocateConst in CacheReadWrite schedule primitive

When inserting a cache_read / cache_write stage, the tir.AllocateConst statement would be duplicated if its body was not a tir.SeqStmt node (e.g. tir.For), leading to compilation failures. This happened because tir.AllocateConst and tir.DeclBuffer statements are always re-attached to the statement's body after the cache_read / cache_write stage is inserted in it, but the stage was being appended to the whole statement (which already contains the tir.AllocateConst) and not just its body, causing duplications.
This commit also adds a test where the first cache_read stage is inserted into a statement whose body is a tir.For, while the second stage is added to a body that is tir.SeqStmt to check for regressions.
cc @Lunderberg @ekalda @lhutton1

@tvm-bot rerun

Oops, I hadn't noticed the fix was already merged. I've also removed the T.reads() now! :)

@tvm-bot rerun

@tvm-bot rerun

Thanks @Anndrey24 @Lunderberg!


Update dependencies to latest version

This will be low priority unless there's a reason to do this (security issue maybe). Right now, for some GNU dependencies, the latest version removes autoconf and only use meson. So we use the last version with autoconf out of laziness (since the script is designed to work with autoconf). It shouldn't be too much effort to get it working with meson as well.

[x] QEMU 5.0.0

QEMU updated to v5.1, will track other libraries.


Some warnings cause Android Not Responding error

Problem description
The function responsible for logging warnings is called incorrectly.
It seems to me that instead of executing a certain piece of JS code, everything is executed at once, which leads to ANR (you can see it in log)
Expected behavior
???
Environment

Tabris.js version: Tabris 3.3.0-20200127-0519
Device: Xiaomi Redmi 5 Plus
OS: Android 8.1.0

Code snippet
import { ImageView, contentView } from 'tabris';

// I don't know why, but if you call this immediately after launch, nothing bad will happen.
setTimeout(() => {
// Here I specifically left a layout error to trigger a warning in the console
    new ImageView({ top: 'prev() 15', right: 0, width: 40, height: 40, cornerRadius: 15, background: '#eee', centerX: 0, highlightOnTouch: true, image: 'https://i.imgur.com/O0g4J0f.png', padding: 15, tintColor: 'gray' })
        .appendTo(contentView);
}, 1000);

ANR Log: https://hastebin.com/migexujaya.pl

I couldn't reproduce the issue. Fave you tired in other devices or OS?

I couldn't reproduce the issue. Have you tired in other devices or OS?

The error was also detected on Xiaomi 8 Lite - Android 9. After a couple of hours, when I get home, I'll try on the OnePlus 5T

@elshadsm Can confirm on OnePlus 5T - Android 9 too

Very interesting...
I tried with 3 devices but I couldn't reproduce it.
Could you please try Tabris nightly version in order to see if you reproduce the issue again?

@elshadsm, As I can see, 3.3.0-20200127-0519 is the latest beta version from Play Market. Should I build my APK using the CLI from GitHub?

You can rebuild either locally or with the online build service by setting the tabris dependency in package.json to latest to grab the latest nightlies of both the native side and the JS SDK.

@fax1ty To find a common device: can you reproduce the issue on the Android emulator?

@mpost
CLI
  version "3.3.0"
  resolved "https://registry.yarnpkg.com/tabris/-/tabris-3.3.0.tgz#fbde823728724a058990151a1f95b1e633392daa"
  integrity sha512-jOtNVrhEAY+KffTr+xV7f2xNgArSiBuYMIT7+rQFQK39+O0Koerb3GAGPO0kxL2jHpvu4pJRnoucHf64KD5JRg==

Tabris App

(from GP)
Emulator
Nox Player  <IP_ADDRESS>
4 cores, 3072 MB RAM preset


[Question]: My self-hosted agent cannot find gradlew

Task name
gradle
Task version
No response
Environment type (Please select at least one enviroment where you face this issue)

[X] Self-Hosted
[ ] Microsoft Hosted
[ ] VMSS Pool
[ ] Container

Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
windows server
Question
I'm still a beginner into this and I'm trying to run my first simple CI to an android app.
trigger:
- develop

pool:
  name: default

steps:
- checkout: none  # Disable automatic checkout
- task: Gradle@3
  inputs:
    gradleWrapperFile: 'gradlew'
    tasks: 'build'
    publishJUnitResults: true
    testResultsFiles: '**/TEST-*.xml'
    javaHomeOption: 'JDKVersion'
    jdkVersionOption: '1.8'
    gradleOptions: '-Xmx3072m'
    sonarQubeRunAnalysis: false
    spotBugsAnalysis: false

and this is the result
##[error]Error: Not found wrapperScript: C:\Users\Administrateur\agent\_work\1\s\gradlew

if you may ask, yes gradle is on the root directory. and when i'm looking into C:\Users\Administrateur\agent\_work\1\s\gradlew it is indeed empty

fixed it with
steps:

task: Gradle@3
inputs:
gradleWrapperFile: 'gradlew'
workingDirectory: '$(Build.Repository.LocalPath)'
tasks: 'build'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
javaHomeOption: 'JDKVersion'
sonarQubeRunAnalysis: false
spotBugsAnalysis: false

but now i'm dealing with a new problem
2024-04-17T13:59:42.8324728Z ##[section]Starting: Gradle
2024-04-17T13:59:42.8358288Z ==============================================================================
2024-04-17T13:59:42.8358382Z Task         : Gradle
2024-04-17T13:59:42.8358427Z Description  : Build using a Gradle wrapper script
2024-04-17T13:59:42.8358484Z Version      : 3.238.1
2024-04-17T13:59:42.8358524Z Author       : Microsoft Corporation
2024-04-17T13:59:42.8358575Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/gradle
2024-04-17T13:59:42.8358651Z ==============================================================================
2024-04-17T13:59:43.0785734Z [command]/home/nada/myagent/_work/3/s/gradlew build
2024-04-17T13:59:43.5567557Z Starting a Gradle Daemon, 1 incompatible and 4 stopped Daemons could not be reused, use --status for details
2024-04-17T13:59:44.4549028Z Configuration on demand is an incubating feature.
2024-04-17T13:59:46.9549230Z Type-safe project accessors is an incubating feature.
2024-04-17T13:59:49.2546949Z
2024-04-17T13:59:49.2558152Z > Configure project :
2024-04-17T13:59:49.2561537Z Project accessors enabled, but root project name not explicitly set for 'plugins'. Checking out the project in different folders will impact the generated code and implicitly the buildscript classpath, breaking caching.
2024-04-17T13:59:50.5547751Z
2024-04-17T13:59:50.5550391Z > Task :plugins:generateExternalPluginSpecBuilders FROM-CACHE
2024-04-17T13:59:50.5551177Z > Task :plugins:extractPrecompiledScriptPluginPlugins FROM-CACHE
2024-04-17T13:59:50.5561877Z > Task :plugins:compilePluginsBlocks FROM-CACHE
2024-04-17T13:59:52.0547786Z > Task :plugins:generatePrecompiledScriptPluginAccessors
2024-04-17T13:59:52.0548248Z > Task :plugins:generateScriptPluginAdapters FROM-CACHE
2024-04-17T13:59:52.3550650Z > Task :plugins:compileKotlin FROM-CACHE
2024-04-17T13:59:52.3551211Z > Task :plugins:compileJava NO-SOURCE
2024-04-17T13:59:52.3551556Z > Task :plugins:pluginDescriptors
2024-04-17T13:59:52.4547194Z > Task :plugins:processResources
2024-04-17T13:59:52.4549078Z > Task :plugins:classes
2024-04-17T13:59:52.4549732Z > Task :plugins:inspectClassesForKotlinIC
2024-04-17T13:59:52.6549920Z > Task :plugins:jar
2024-04-17T13:59:53.3546905Z
2024-04-17T13:59:53.3547495Z > Configure project :app
2024-04-17T13:59:53.3548151Z WARNING:The option setting 'android.experimental.lint.version=8.0.0-alpha10' is experimental.
2024-04-17T13:59:54.1547637Z WARNING:BuildType(nightly): resValue 'string/app_name' value is being replaced.
2024-04-17T13:59:57.0556690Z
2024-04-17T13:59:57.0557513Z FAILURE: Build failed with an exception.
2024-04-17T13:59:57.0557759Z
2024-04-17T13:59:57.0558035Z * What went wrong:
2024-04-17T13:59:57.0558642Z A problem occurred configuring project ':libraries:rustsdk'.
2024-04-17T13:59:57.0559358Z > Could not open proj generic class cache for build file '/home/nada/myagent/_work/3/s/libraries/rustsdk/build.gradle' (/home/nada/.gradle/caches/7.5.1/scripts/5s1ak5rssh3e33ty70252onac).
2024-04-17T13:59:57.0560136Z    > BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 63
2024-04-17T13:59:57.0560330Z
2024-04-17T13:59:57.0560469Z * Try:
2024-04-17T13:59:57.0560763Z > Run with --stacktrace option to get the stack trace.
2024-04-17T13:59:57.0561107Z > Run with --info or --debug option to get more log output.
2024-04-17T13:59:57.0561424Z > Run with --scan to get full insights.
2024-04-17T13:59:57.0592870Z
2024-04-17T13:59:57.0593268Z * Get more help at https://help.gradle.org
2024-04-17T13:59:57.4095708Z
2024-04-17T13:59:57.4096196Z BUILD FAILED in 13s
2024-04-17T13:59:57.4096517Z 10 actionable tasks: 5 executed, 5 from cache
2024-04-17T13:59:57.4096655Z
2024-04-17T13:59:57.4161187Z Error: The process '/home/nada/myagent/_work/3/s/gradlew' failed with exit code 1
2024-04-17T13:59:57.4163382Z     at ExecState._setResult (/home/nada/myagent/_work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/3.238.1/node_modules/azure-pipelines-task-lib/toolrunner.js:943:25)
2024-04-17T13:59:57.4166226Z     at ExecState.CheckComplete (/home/nada/myagent/_work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/3.238.1/node_modules/azure-pipelines-task-lib/toolrunner.js:926:18)
2024-04-17T13:59:57.4167263Z     at ChildProcess. (/home/nada/myagent/_work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/3.238.1/node_modules/azure-pipelines-task-lib/toolrunner.js:839:19)
2024-04-17T13:59:57.4167794Z     at ChildProcess.emit (node:events:518:28)
2024-04-17T13:59:57.4168148Z     at maybeClose (node:internal/child_process:1105:16)
2024-04-17T13:59:57.4168544Z     at ChildProcess._handle.onexit (node:internal/child_process:305:5)
2024-04-17T13:59:57.6058497Z No test result files matching /home/nada/myagent/_work/3/s/**/TEST-*.xml were found, so publishing JUnit test results is being skipped.
2024-04-17T13:59:57.6084689Z ##[error]Code analysis failed. Gradle exit code: -1. Error: Error: The process '/home/nada/myagent/_work/3/s/gradlew' failed with exit code 1
2024-04-17T13:59:57.6111143Z ##[section]Finishing: Gradle

fixed it
steps:

task: Gradle@3
inputs:
gradleWrapperFile: 'gradlew'
workingDirectory: '$(Build.Repository.LocalPath)'
tasks: 'build'
publishJUnitResults: true
testResultsFiles: '**/TEST-*.xml'
javaHomeOption: 'JDKVersion'
sonarQubeRunAnalysis: false
spotBugsAnalysis: false

but now i'm dealing <with a new problem
2024-04-17T13:59:42.8324728Z ##[section]Starting: Gradle
2024-04-17T13:59:42.8358288Z ==============================================================================
2024-04-17T13:59:42.8358382Z Task         : Gradle
2024-04-17T13:59:42.8358427Z Description  : Build using a Gradle wrapper script
2024-04-17T13:59:42.8358484Z Version      : 3.238.1
2024-04-17T13:59:42.8358524Z Author       : Microsoft Corporation
2024-04-17T13:59:42.8358575Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/gradle
2024-04-17T13:59:42.8358651Z ==============================================================================
2024-04-17T13:59:43.0785734Z [command]/home/nada/myagent/_work/3/s/gradlew build
2024-04-17T13:59:43.5567557Z Starting a Gradle Daemon, 1 incompatible and 4 stopped Daemons could not be reused, use --status for details
2024-04-17T13:59:44.4549028Z Configuration on demand is an incubating feature.
2024-04-17T13:59:46.9549230Z Type-safe project accessors is an incubating feature.
2024-04-17T13:59:49.2546949Z
2024-04-17T13:59:49.2558152Z > Configure project :
2024-04-17T13:59:49.2561537Z Project accessors enabled, but root project name not explicitly set for 'plugins'. Checking out the project in different folders will impact the generated code and implicitly the buildscript classpath, breaking caching.
2024-04-17T13:59:50.5547751Z
2024-04-17T13:59:50.5550391Z > Task :plugins:generateExternalPluginSpecBuilders FROM-CACHE
2024-04-17T13:59:50.5551177Z > Task :plugins:extractPrecompiledScriptPluginPlugins FROM-CACHE
2024-04-17T13:59:50.5561877Z > Task :plugins:compilePluginsBlocks FROM-CACHE
2024-04-17T13:59:52.0547786Z > Task :plugins:generatePrecompiledScriptPluginAccessors
2024-04-17T13:59:52.0548248Z > Task :plugins:generateScriptPluginAdapters FROM-CACHE
2024-04-17T13:59:52.3550650Z > Task :plugins:compileKotlin FROM-CACHE
2024-04-17T13:59:52.3551211Z > Task :plugins:compileJava NO-SOURCE
2024-04-17T13:59:52.3551556Z > Task :plugins:pluginDescriptors
2024-04-17T13:59:52.4547194Z > Task :plugins:processResources
2024-04-17T13:59:52.4549078Z > Task :plugins:classes
2024-04-17T13:59:52.4549732Z > Task :plugins:inspectClassesForKotlinIC
2024-04-17T13:59:52.6549920Z > Task :plugins:jar
2024-04-17T13:59:53.3546905Z
2024-04-17T13:59:53.3547495Z > Configure project :app
2024-04-17T13:59:53.3548151Z WARNING:The option setting 'android.experimental.lint.version=8.0.0-alpha10' is experimental.
2024-04-17T13:59:54.1547637Z WARNING:BuildType(nightly): resValue 'string/app_name' value is being replaced.
2024-04-17T13:59:57.0556690Z
2024-04-17T13:59:57.0557513Z FAILURE: Build failed with an exception.
2024-04-17T13:59:57.0557759Z
2024-04-17T13:59:57.0558035Z * What went wrong:
2024-04-17T13:59:57.0558642Z A problem occurred configuring project ':libraries:rustsdk'.
2024-04-17T13:59:57.0559358Z > Could not open proj generic class cache for build file '/home/nada/myagent/_work/3/s/libraries/rustsdk/build.gradle' (/home/nada/.gradle/caches/7.5.1/scripts/5s1ak5rssh3e33ty70252onac).
2024-04-17T13:59:57.0560136Z    > BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 63
2024-04-17T13:59:57.0560330Z
2024-04-17T13:59:57.0560469Z * Try:
2024-04-17T13:59:57.0560763Z > Run with --stacktrace option to get the stack trace.
2024-04-17T13:59:57.0561107Z > Run with --info or --debug option to get more log output.
2024-04-17T13:59:57.0561424Z > Run with --scan to get full insights.
2024-04-17T13:59:57.0592870Z
2024-04-17T13:59:57.0593268Z * Get more help at https://help.gradle.org
2024-04-17T13:59:57.4095708Z
2024-04-17T13:59:57.4096196Z BUILD FAILED in 13s
2024-04-17T13:59:57.4096517Z 10 actionable tasks: 5 executed, 5 from cache
2024-04-17T13:59:57.4096655Z
2024-04-17T13:59:57.4161187Z Error: The process '/home/nada/myagent/_work/3/s/gradlew' failed with exit code 1
2024-04-17T13:59:57.4163382Z     at ExecState._setResult (/home/nada/myagent/_work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/3.238.1/node_modules/azure-pipelines-task-lib/toolrunner.js:943:25)
2024-04-17T13:59:57.4166226Z     at ExecState.CheckComplete (/home/nada/myagent/_work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/3.238.1/node_modules/azure-pipelines-task-lib/toolrunner.js:926:18)
2024-04-17T13:59:57.4167263Z     at ChildProcess. (/home/nada/myagent/_work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/3.238.1/node_modules/azure-pipelines-task-lib/toolrunner.js:839:19)
2024-04-17T13:59:57.4167794Z     at ChildProcess.emit (node:events:518:28)
2024-04-17T13:59:57.4168148Z     at maybeClose (node:internal/child_process:1105:16)
2024-04-17T13:59:57.4168544Z     at ChildProcess._handle.onexit (node:internal/child_process:305:5)
2024-04-17T13:59:57.6058497Z No test result files matching /home/nada/myagent/_work/3/s/**/TEST-*.xml were found, so publishing JUnit test results is being skipped.
2024-04-17T13:59:57.6084689Z ##[error]Code analysis failed. Gradle exit code: -1. Error: Error: The process '/home/nada/myagent/_work/3/s/gradlew' failed with exit code 1
2024-04-17T13:59:57.6111143Z ##[section]Finishing: Gradle

Hi @rotekii thank you for reporting. This new error seems related to a different issue. While looking for this error message on Gradle forums I found that it is often caused by incompatibility between the versions of Gradle and JDK. Can it be the case for you?


Revert "Added new testcase:Kill NFS executor pod during backup and re…

…store (#1711)"
This reverts commit fe5d094910663898ca7445a4368e9cfdbfb8abaa.

What this PR does / why we need it:
Which issue(s) this PR fixes (optional)
Closes #
Special notes for your reviewer:

No need to revert


Some Time PDF not Loaded

Attach (recommended) or Link to PDF file here:
Configuration:

Web browser and its version:16 version
Operating system and its version: IOS(safari)
PDF.js version: v3.5.141
Is a browser extension:

Steps to reproduce the problem:

Some Time PDF not Loaded

I use the viewer.html to iframe in the react

i get a pdfFrame element (const pdfViewerFrame = document.getElementById('pdfFrame')
pdfFrame.onload() => (
pdfViewerFrame.contentWindow.PDFViewerApplication.open({data: pdfData, password: filePWD})
)

can i know the reason??
What is the expected behavior? (add screenshot)
pdf load
What went wrong? (add screenshot)
screenshot
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

oh sorry.... i use ios(safari 16) version
Thank you


Add KV Filtering of keys

Resolves #521

@mtmk , how important is this bit from the ADR? It looks as though it doesn't impact this implementation. Just making sure we don't need an additional check.
// When multiple filters are passed, client library should check `consumer info` from `consumer create method` if the filters are matching,
// as nats-server < 2.10 would ignore them.

@rickdotnet good point. created an issue for it:

#546


Document how to update DNA

Description

As reported by @bernhard-adobe, right now, there is minimal documentation that show show to update DNA, but it doesn't work due to optionalDependencies being ignored.
Link to documentation

https://github.com/adobe/spectrum-css/blob/master/components/vars/README.md#updating-from-dna
Additional context

One way around this:
npx lerna clean
rm -rf node_modules/
rm .yarnrc
yarn install
cd components/vars
npm run update
cd ../../
git checkout .yarnrc
gulp dev

Another way:
npx lerna clean
rm -rf node_modules/
yarn install
yarn add -W -O @spectrum/spectrum-dna
cd components/vars
npm run update
cd ../../
gulp dev

my steps to success were:
update correct @a4u artifactory settings:
(removed -local) from https://wiki.corp.adobe.com/display/AdobeDesign/Setting+up+the+development+environment#Settingupthedevelopmentenvironment-AddSpectrumArtifactorySources(forallrepositories)
(I updated the Wiki)
Maybe optional:
npx lerna clean
rm -rf node_modules/
rm .yarnrc

definitely needed for DNA updates:
yarn install
yarn add -W -O @spectrum/spectrum-dna
cd components/vars
npm run update

running development:
cd ../../
gulp dev


Minor optimizations

Hey, Alan. Thought I'd check out your new toy...in my favorite way, which is peeking a bit at the benchmarks you cared enough to write. :) I'm afraid this PR isn't particularly exciting; happy to abandon some or all of it at your whim. If there's anything you'd like me to take a more serious look at, though, I'd be happy to do so.

Thanks for the change!

Oops, just realized the big.Ints typo wasn't fixed. Did you push your latest draft? If that's the only delta, don't worry about it.

Doh. Ships in the night. I pushed my latest change moments ago.  I'll send the changes as a new PR. GitHub's code review is, umm, inferior to gerrit.

GitHub's code review is, umm, inferior to gerrit.

It's true. And nice though Gerrit is, within Google we are spoiled with an even nicer system (the direct descendent of the original web-based code review tool developed by Guido van Rossum).


Spike: Add dry run to monitor.check

As we go to implement custom queries in checks we will want the ability to see what data would have been written to the monitoring bucket, without actually writing that data to the monitoring bucket. We should extend flux to allow for this.

cc @goller @stuartcarnie

Maybe would it be good to solve this at the queryd level and support a dry run flag that can be passed that will prevent the execution of any to functions`.

In digging into the code, if we are able to identify functions with the HasSideEffects boolean we may be able to remove them to produce functions that only yield.

Ok, my suggestion is to use
option monitor.write = yield

This would override this line:
https://github.com/influxdata/flux/blob/f69125f7a8c7fbefa240ef27742409b1e46b687f/stdlib/influxdata/influxdb/monitor/monitor.flux#L10
(here is an example of overriding the monitor.write in a flux test: https://github.com/influxdata/flux/blob/master/stdlib/influxdata/influxdb/monitor/check_test.flux#L9)


feat(tesseratos): add way of changing speed of the debug camera

Thanks for the quick work 😌 just make sure to change the scope to tesseratos instead of debug-camera before merging, otherwise LGTM!

Changes addressed.