Allow concourse_client.yaml to support connection details for multiple instances at the same time

When connecting to multiple hosts it would be nice to have username/password, etc stored in a single prefs file.
Something like
connections: [
{
host: a,
username: blah,
password: blah,
environment: blah
},
{
host: b,
username: blah
},
]
There could be a connections key that takes a value that is an array of connection objects.
Other options for key names to consider:

servers
deployments
instances
credentials

Allow each connection object to also have a "name". If the name is provided it can be used for lookups. Otherwise, the host is assumed to be the name,
In ConcourseClientConfiguration

create a list of connections
add any config defined at the root (e.g., host, port, username, password, environment) to the list of connections at the front
for methods like getHost(), getPort() etc return the relevant pieces of the first connection object
add method getConfiguration(String name) -> that returns anonymous ConcouseClientConfiguration that pulls from the list of connections with that name or host if it exists otherwise null

In Concourse (driver handler)

add method connect(String name, ConcourseClientConfiguration config) that will pull the relevant configuration using getConfiguration() and use that to establish the connection

Be sure to test instances where some of the configuration does not have a host. Maybe internally need to store this as a mapping from name/host to the configuration object for fast look up?


Is it really necessary in this project to include both training set and test set?

Since the CAPTCHAs are not too complicated, maybe we can achieve a good recognition rate without even training the parameters.

W never know for sure so it is better to store some training data in case


fix(material/sort): fix undefined object access

This commit fixes hard crash that results from accessing undefined object's property.

The code looks good, but you have to run yarn approve-api sort and commit the changed file.

Unfortunately I'm doing the edits from the GitHub web-interface, so it'll be some weeks (considering my workload atm) before I'm able to setup the whole dev environment for components.

Instead of waiting, can we get this PR merged for a release as this is a production bug to who use current v11 version in their production?

Instead of waiting, can we get this PR merged for a release as this is a production bug to who use current v11 version in their production?

The same problem. When are going to release this fix?

@swftvsn I can pick it up and make sure that the CI passes.

Opened https://github.com/angular/components/pull/22634


webViewController.evaluateJavascript

Is this no longer work? I tried to hide the header, but not working:
webViewController.evaluateJavascript(
                       "document.getElementsById('gridlove-header-responsive').style.display='none';");

Steps to Reproduce

...
...
...

Logs

Logs

Hi @zkenstein, I see in your code that you have
document.getElementsById

document.getElementsById is not defined in javascript, that is why it is not working.
the actual method you should be calling is
document.getElementById

Closing as this is not an actual issue with flutter.
Thank you


[Log in] Page not rendering in full size, scrollbar appears by default

Environment: Chrome 127.0.6533.100 (64-bit).
Reproducible: always
Build found: 05.09.2024
Preconditions
The page GreenCity is open.
Steps to reproduce

Check the page
Observe that the page loads in a smaller view by default
Pay attention if a vertical  scrollbar appears even when there is sufficient space to display the entire page content without scrolling
Pay attention for emplty space below and above the text fields that can be used for text fields and for avoiding scrollbar

Actual result
The page renders smaller than expected, causing a scrollbar to appear by default, making the user scroll to view the content.

Expected result
The page should render in full size by default without the need for a scrollbar, fitting the visible area of the screen appropriately. If the size is smaller because of user's wish,
User story and test case links
https://github.com/ita-social-projects/GreenCity/issues/6793

@Roksana77 Is this an expected behaviour?
I made space on top smaller according to figma.

If screen is too small:

@kovalsofiia1  Yes, it looks perfect.


[GLUTEN-5438] feat: Dynamically sizing off-heap memory

What changes were proposed in this pull request?
Today, in Spark we specify the on-heap and off-heap memory sizes as a configuration value read at the beginning of executing a job.
With this change, we are exposing a new feature that is enabled with a new spark.gluten.memory.dynamic.offHeap.sizing.enabled setting. When this setting is configured to true, the offheap setting will be ignored in Gluten and we will size the offheap as the same size as the spark.executor.memory setting.
We will then proceed to enforcing a total memory quota, calculated by the sum of what memory is committed and in use in the Java heap (calculated with Runtime.getRuntime().totalMemory() - Runtime.GetRuntime().freeMemory()) plus the tracked off-heap memory in TreeMemoryConsumer. When there is an allocation that would tide us over this total amount of committed memory, we will fail the allocation and trigger an OOM.
Note that with this change, we perform the "quota check" when an allocation in the native engine is informed to Gluten. In practice, this means that it is possible that the Java codebase can oversubscribe memory as it allocates, which is under the on-heap quota, although there is enough off-heap usage where we should fail the allocation.
A test exercising this setting is part of this change.
Fixes: #5438
How was this patch tested?
Manual testing with Spark and included test

Thank you for your PR! @zhanglistar may do a test quickly

I'm fine with this pr, looking forward some best practices, thank you @supermem613 @zhztheplayer

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_5439_time.csv
log/native_master_05_13_2024_33f993554_time.csv
difference
percentage

q1
35.79
36.42
0.634
101.77%

q2
23.46
23.70
0.232
100.99%

q3
38.97
36.61
-2.359
93.95%

q4
38.60
37.83
-0.769
98.01%

q5
68.38
70.62
2.231
103.26%

q6
7.09
7.47
0.382
105.39%

q7
81.94
85.08
3.134
103.82%

q8
83.31
84.30
0.994
101.19%

q9
121.28
121.00
-0.281
99.77%

q10
47.24
45.37
-1.878
96.03%

q11
20.38
19.49
-0.895
95.61%

q12
26.39
26.52
0.130
100.49%

q13
53.79
55.08
1.290
102.40%

q14
18.64
21.53
2.894
115.53%

q15
28.90
29.02
0.115
100.40%

q16
13.97
14.00
0.026
100.19%

q17
102.15
103.62
1.469
101.44%

q18
145.97
146.24
0.271
100.19%

q19
15.28
13.35
-1.932
87.36%

q20
26.28
29.06
2.778
110.57%

q21
284.19
282.54
-1.641
99.42%

q22
14.65
14.61
-0.034
99.77%

total
1296.65
1303.44
6.791
100.52%

I'm also a bit confused here, if it cannot prevent onheap memory allocation, will this prevent GC from being triggered?
JVM thought it could allocate memory, so it did not trigger GC, resulting in being killed by k8s or yarn

I'm also a bit confused here, if it cannot prevent onheap memory allocation, will this prevent GC from being triggered? JVM thought it could allocate memory, so it did not trigger GC, resulting in being killed by k8s or yarn

That's the case that this approach doesn't handle yet. The faked on-heap allocations from this feature don't count into JVM's heap size counter so never trigger GC. I assume this feature isn't production-ready before being improved.


Update overview doc

Ciao Davide,
I added some information into the documentation overview document.
What this PR is for?
Improve the documentation

@davidebianchi we should add also in the overview which are the sink and source supported at the moment, and I would specificy how to do if you want to add a source and/or a sink. I didn't find this information in the docs. What do you think about it?

Yes, sure! Do you want to add it in this PR?

Yes, sure! Do you want to add it in this PR?

Yes I guess we can do it in this PR


[STICKY] How are you using react-infinite-calendar

Has anyone tried using this embedded inside a wrapper component/pop up modal? It might be nice if gifs of the ways different people have used this in their apps is added to the examples folder.

Still a work in progress but I'm using this along with react-md.


Env vars do not get cleared by rolling update if previously explicitly set

When an Ansible optional config variable is not explicitly set, its corresponding proxy env var is not set and the proxy uses its internal default value for that configuration item.
If the user explicitly sets an optional configuration variable to a certain value and rolls it out as a rolling config update, the new value is correctly set into the corresponding env var of the recreated proxy container. This is the expected behaviour.
However, if the user later unsets that config variable by commenting it out again in the automation and running the rolling update playbook again, the env var of the recreated container still contains the previously explicitly set value, instead of being unset. This is misleading and makes it more difficult for users to try something and then revert to the proxy internal default if they wish to do so.
┆Issue is synchronized with this Jira Task by Unito
┆Components: Automation
┆Priority: Major

These Ansible issues look relevant to this issue: https://github.com/ansible/ansible/issues/31338 and https://github.com/ansible/ansible/pull/31340.


create overview pages for each image package

Create an index.html file in an image package that embeds the preview image (creating it first, if necessary), and lists all of the xml metadata.

working in https://github.com/isawnyu/isaw.images/tree/issue20

implemented with 7574d3d92e4181b544bfdf9d7cf5991d0b152916


ruby: add pipeline to install the gemspec defined runtime deps

Melange Pull Request Template

Fixes #785. This pipeline installs the gem runtime dependencies that are required by a specific ruby project.
Functional Changes

[ ] This change can build all of Wolfi without errors (describe results in notes)

Notes:
SCA Changes

[ ] Examining several representative APKs show no regression / the desired effect (details in notes)

Notes:
Linter

[ ] The new check is clean across Wolfi
[ ] The new check is opt-in or a warning

Notes:

I am pretty sure we don't want to do this, as this will result in Gems being vendored.  Instead, melange convert should be used to generate a forest of dependencies.

@kaniini Okay. I'll have a look at 'melange convert' to understand how it could help us here.

Closing this PR! I'll use melange instead to vendor all the runtime deps.


vkCmdClearAttachments flips viewport in SDK 1.3.268.1

Moltenvk shipping with SDK 1.3.268.1 seems to break the viewport orientation after a call to vkCmdClearAttachments (this is using opengl style viewports with VK_KHR_Maintenance1). Please see the attached screenshots. The correct one is with SDK 1.3.261.1 while the flipped one is with SDK 1.3.268.1. This issue only happens when using vkCmdClearAttachments and I assume it might be due to some internal state tracking of moltenvk that goes wrong?
For what it's worth, the pinned moltenvk revision of 1.3.268.1 is  9e4ee9e679a6e1eb612bf82824ea0f68f43e558c. The revision that still works from the 1.3.261.1 sdk is 02a8c011a8ca077dfaa09f3b7ebf68be869dc26f.

Thanks for catching and reporting this.
This was caused during the addition of VK_EXT_extended_dynamic_state & VK_EXT_extended_dynamic_state2.
I'll include a fix for this when support for VK_EXT_extended_dynamic_state3 is added, within the next week or two.

PR #2066 includes a fix for this. Please retest using latest version, and close this issue if the problem is fixed.

can confirm that this is fixed when using the current tip of main. thanks!


Tungsten.js Patterns Doc

Overview
A general doc on patterns (and anti-patterns) in tungsten.js applications.

Current coverage is 86.12% (diff: 100%)

Merging #259 into master will not change coverage

@@             master       #259   diff @@
==========================================
  Files            60         60
  Lines          3200       3200
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           2756       2756
  Misses          444        444
  Partials          0          0

Powered by Codecov. Last update 22acef9...58fabc2


Multiple packages from single repository.

Something that has come up a couple of times is the ability to have one package to export multiple packages at build time.
Say that we have a ocean package that generates an ocean simulation library, Houdini deformer, Maya Deformer, Arnold Shader etc...
I would like to be able to generate packages like:

ocean_core-1.0.0
ocean_deformer_houdini-1.0.0
ocean_deformer_maya-1.0.0
ocean_shader_arnold-1.0.0
The deformers and shaders would have dependency on ocean_core.

Or one package:

ocean-1.0.0
This one would partially include configurations based of the rest of the resolved packages.
i.e. rez-env maya ocean Would not set configurations for Houdini.

I don't know if something like this is already supported.
/Fredrik

Hey Frederik,
This has come up a few times, it's something I call 'subpackages' and
something I would like to do. I haven't had the time as yet.
I'm going to send out a long email on the google group soon outlining this
and other features that I think rez should have.
Thanks,
A
On Thu, Aug 27, 2015 at 2:13 PM, Fredrik Brännbacka <
<EMAIL_ADDRESS>wrote:

Something that has come up a couple of times is the ability to have one
package to export multiple packages at build time.
Say that we have a ocean package that generates an ocean simulation
library, Houdini deformer, Maya Deformer, Arnold Shader etc...
I would like to be able to generate packages like:

ocean_core-1.0.0
ocean_deformer_houdini-1.0.0
ocean_deformer_maya-1.0.0
ocean_shader_arnold-1.0.0 The deformers and shaders would have
dependencie of ocean_core.

Or one package:

ocean-1.0.0 This one would partially include configurations based of
the rest of the resolved packages. e.g. rez-env maya ocean Would not
set configurations for Houdini.

—
Reply to this email directly or view it on GitHub
https://github.com/nerdvegas/rez/issues/244.

This is highly appreciated. The building times are killing us in huge libraries for 7 variants which essentially share 70% of the core code.
Looking forward to your post.

Did anything happen with this? I'm also in the position of wanting to be able to do this now .

This hasn't happened yet, but I'm still interested. Let's talk about what
this would look like though.
So a good canonical example of where this is needed is a DCC plugin that
has a common base across DCCs. So maybe we have a package that logically
separates into 'anim_core', 'anim_maya' and 'anim_houdini'. The trouble at
the moment is, in order to lay the code out like this, you'd need to
manually create and maintain those three separate packages. Alternatively
you can make one anim package, with 3 variants - core, maya and houdini -
but the downside is that you can't share common code across variants (the
core component gets built 3 times), and working with non-mutually-exclusive
variants can cause problems (although this will be addressed with other
features, and can be regarded as a separate issue imo).
So I think there are 2 slightly different requirements here and I'm not
sure if they're the same thing yet:

Create separate packages from a single repo;
Allow variants of a package to reuse builds of other variants within the
package.

Some tricky bits to consider:

If 1., then how does anim_maya use anim_core, if anim_core isn't even
installed yet? Because anim_core isn't actually a package yet, then we
aren't in an env which has had its commands run, and so the env simply
isn't configured to support anim_core yet. Perhaps this has to be handled
as a special case, where just the build output of anim_core is made
available to the other sub-packages... but then what if your sub-packages
(anim_maya etc) need to rpath to something in anim_core? Now you're kinda
screwed, ie you simply can't do this before installing anim_core first.

If 2., we need some way to describe the fact that variants have
dependencies on one another, which is getting a bit weird.

Thoughts welcome. I don't think these are insurmountable problems, but
doing any of this is gonna touch a lot of code so we should be clear about
what people want out of it first.
Cheers
A
On Fri, Mar 30, 2018 at 3:27 PM, Anders Langlands<EMAIL_ADDRESS>wrote:

Did anything happen with this? I'm also in the position of wanting to be
able to do this now .
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/nerdvegas/rez/issues/244#issuecomment-377442147, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABjqSud8kj_o73i3AI4yDFEKL4Bh5oBCks5tjbQjgaJpZM4FzpdX
.

So after resurrecting this is I thought about it over the weekend and ended
up refactoring my project into separate repos.
This is currently a bit painful as it’s forced me to consider the interface
between the different sub projects much more carefully but ultimately I
think it’s for the better once I get everything worked out.
On Tue, 3 Apr 2018 at 13:09, allan johns<EMAIL_ADDRESS>wrote:

This hasn't happened yet, but I'm still interested. Let's talk about what
this would look like though.
So a good canonical example of where this is needed is a DCC plugin that
has a common base across DCCs. So maybe we have a package that logically
separates into 'anim_core', 'anim_maya' and 'anim_houdini'. The trouble at
the moment is, in order to lay the code out like this, you'd need to
manually create and maintain those three separate packages. Alternatively
you can make one anim package, with 3 variants - core, maya and houdini -
but the downside is that you can't share common code across variants (the
core component gets built 3 times), and working with non-mutually-exclusive
variants can cause problems (although this will be addressed with other
features, and can be regarded as a separate issue imo).
So I think there are 2 slightly different requirements here and I'm not
sure if they're the same thing yet:

Create separate packages from a single repo;
Allow variants of a package to reuse builds of other variants within the
package.

Some tricky bits to consider:

If 1., then how does anim_maya use anim_core, if anim_core isn't even
installed yet? Because anim_core isn't actually a package yet, then we
aren't in an env which has had its commands run, and so the env simply
isn't configured to support anim_core yet. Perhaps this has to be handled
as a special case, where just the build output of anim_core is made
available to the other sub-packages... but then what if your sub-packages
(anim_maya etc) need to rpath to something in anim_core? Now you're kinda
screwed, ie you simply can't do this before installing anim_core first.

If 2., we need some way to describe the fact that variants have
dependencies on one another, which is getting a bit weird.

Thoughts welcome. I don't think these are insurmountable problems, but
doing any of this is gonna touch a lot of code so we should be clear about
what people want out of it first.
Cheers
A
On Fri, Mar 30, 2018 at 3:27 PM, Anders Langlands <
<EMAIL_ADDRESS>wrote:

Did anything happen with this? I'm also in the position of wanting to be
able to do this now .
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/nerdvegas/rez/issues/244#issuecomment-377442147,
or mute
the thread
<
https://github.com/notifications/unsubscribe-auth/ABjqSud8kj_o73i3AI4yDFEKL4Bh5oBCks5tjbQjgaJpZM4FzpdX
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/nerdvegas/rez/issues/244#issuecomment-378095735, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AB2IXZqGbrwx4B5IrFzBOQajGkfD914cks5tksuzgaJpZM4FzpdX
.


cli name change

Saiyam Pathak<EMAIL_ADDRESS>Hi This PR is for the name change for the cli from k3ai-cli to k3ai
I have built and tested

#71

Codecov Report

Merging #72 (29b2612) into main (53c61c4) will decrease coverage by 6.33%.
The diff coverage is 34.24%.

@@            Coverage Diff             @@
##             main      #72      +/-   ##
==========================================
- Coverage   53.21%   46.87%   -6.34%
==========================================
  Files          10       12       +2
  Lines         218      256      +38
==========================================
+ Hits          116      120       +4
- Misses         73      109      +36
+ Partials       29       27       -2

Impacted Files
Coverage Δ

cmd/tools/cli/formatting.go
0.00% <0.00%> (ø)

cmd/tools/cli/list.go
26.08% <0.00%> (-3.92%)
:arrow_down:

internal/plugins/remote_contents.go
48.48% <12.50%> (-13.06%)
:arrow_down:

internal/plugins/groups.go
15.38% <14.28%> (-31.99%)
:arrow_down:

internal/plugins/plugins.go
31.81% <22.22%> (-22.03%)
:arrow_down:

cmd/tools/cli/init.go
52.00% <52.00%> (ø)

internal/plugins/shared.go
61.53% <53.84%> (-7.70%)
:arrow_down:

cmd/tools/cli/cli.go
68.42% <100.00%> (-3.01%)
:arrow_down:

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 ad8c8b9...29b2612. Read the comment docs.


Docker: updated dev.x86_64 image

However, perception failures increased to 24. Please help check them.

Not work on my side.
And I also fount an interesting thing:
bazel test //modules/perception/common/geometry:basic_test will fail as of now.
But if I rename the TEST name from calculate_dist_and_dir_to_boundary_list to calculate_dist_and_dir_to_boundary_lists or something else, it will PASS :(

C++17seems resolve the alignment issue, but need to some extensive study to see how it's implemented. Could be explicitly specified?

C++17seems resolve the alignment issue, but need to some extensive study to see how it's implemented. Could be explicitly specified?

We will investigate this later to make it work with c++14 and 17 both.


Implementing addReaction function

@mangotec or @ravkr
Could you test if it works? For me I getting error.

I am getting the same error

@mangotec I did changes, try it now, actually I got a error from utils.js, but for you it could works.

Yeah getting the same error as you

OK so I got it to work by changing doc_id to what was in the request, it is not the same as the thread id, but i am not sure what it is

And it seems you cannot use emojis other than the default ones :(

@mangotec
By using your doc_id it's works (on my country it still not visisble, but in thread_info I got reactions)! Now wondering wthat doc_id could be, maybe static definition of app or something...

I can't test it right now, but is there any way to remove reactions?

@ravkr I don't know, probably yes, but don't know how request looks

To remove a reaction you just need to replace "ADD_REACTION" with "REMOVE_REACTION"

@mangotec Thank you! I will implement that!

Great to see this collaboration!  Let me know when it's ready to merge :)

@GAMELASTER you could use git rebase instead of merging from master, it just looks cleaner :D

@ravkr yeah,I like rebase more than merging, but I don't know why, it's merged instead of rebase/fast-forward :D

you can try this next time :smile:
git remote add upstream git@github.com:Schmavery/facebook-chat-api
git fetch upstream
git rebase upstream/master
git push -f origin master

Okay, I got the reactions update! Let's go finish it :blush:
@ravkr ahh yeah, I used merge instead rebase (when I use merge, it will in some conditions rebase only the code)

It's ready!
@Schmavery please review the changes! :blush:

Oyy, I again merged instead of rebase! 😆 All reviews has been solved!

Should be okay right now I hope! 😆

Work for you @ravkr?

everything seems to work fine :smile:
my test code:
var fs = require("fs");
var login = require("facebook-chat-api");

var x = 0;
var reactions = [
    "\uD83D\uDE0D",
    "\uD83D\uDE06",
    "\uD83D\uDE2E",
    "\uD83D\uDE22",
    "\uD83D\uDE20",
    "\uD83D\uDC4D",
    "\uD83D\uDC4E",
    ":heart_eyes:",
    ":laughing:",
    ":open_mouth:",
    ":cry:",
    ":angry:",
    ":thumbsup:",
    ":thumbsdown:"
]

login({appState: JSON.parse(fs.readFileSync('appstate.json', 'utf8'))}, (err, api) => {
    if(err) return console.error(err);

    api.setOptions({listenEvents: true, logLevel: "silly"});

    var stopListening = api.listen((err, event) => {
        if(err) return console.error(err);

        if (event.type === "message" && event.body.toLowerCase().indexOf("rav") === 0) {
            console.log(JSON.stringify(event));
            api.setMessageReaction(reactions[x], event.messageID, (err) => {
                console.error(err);
            })
            console.log(`reaction test #${x}`);
            x = (x+1)%reactions.length;
        }
    });
});


add other helpers?

:+1: looking forward to this too. If possible please default to UTC.

:+1: I'd love to have timezone support in the component. Agree with @kenips that UTC should be default

I have this implemented in ember-intl, which relies on the native Intl API.  I will try and get the PR for this in.


continue hadoop job for sparse intervals

I messed up the previous PR so I recreated it. Thanks Gian for the comments - I agree that having FSSpideringIterator return an empty iterator is less brittle than trying to manage an exception.
Hadoop jobs would fail with a FileNotFoundException when a granularity inputSpec was used and there wasn't data for each portion of the segment - for example, if dataGranularity was hour and the interval was 2015-11-10T00:00Z/2015-11-11T00:00Z, we would fail if our input data folder structure looked like this:
/dataSource/y=2015/m=11/d=10/H=00
/dataSource/y=2015/m=11/d=10/H=01
/dataSource/y=2015/m=11/d=10/H=03
/dataSource/y=2015/m=11/d=10/H=04
/dataSource/y=2015/m=11/d=10/H=08
/dataSource/y=2015/m=11/d=10/H=09
/dataSource/y=2015/m=11/d=10/H=15
/dataSource/y=2015/m=11/d=10/H=23
This caused segment creation to fail for sparse data which may not have an event every hour. We now ignore intervals with no data and allow the job to continue.

Thanks for the feedback @himanshug , I removed PowerMock and created local temp files for the unit test.

:+1:

@dclim can you rebase from master to get the fixes for all these transient failures?


Body not logged

I'm using Postman and the body field remains empty. The payload isn't being logged!
I've set it up as per the readme!
Any suggestions would be really appreciated!
@vishalanandl177

Closing due to inactivity.


lua-language-server inserts Windows line endings on Linux

Describe the bug
lua-language-server inserts Windows line endings on Linux, every time I save the file.
I'm using Neovim, and every time I save a .lua file the file it gets reformatted and more over, the newlines are replaced with CRLF.
To Reproduce
https://user-images.githubusercontent.com/11463919/156796968-82e9d740-91a7-4831-8e0b-11aff6e9804a.mp4
Expected behavior
The file should not get reformatted on save nor it shouldn't have newlines replaced with Windows' newlines.
Environment (please complete the following information):

OS: Arch Linux
Client: Neovim (Built-in LSP)

Provide logs
file_home_ignacio_.dotfiles.log
service.log

This bug should have been fixed in 2.6.6, please try to update your version

It seems I'm using 2.6.5:
[N] ~ $ pacman -Qi lua-language-server
Name            : lua-language-server
Version         : 2.6.5-1
Description     : Lua Language Server coded by Lua
Architecture    : x86_64
URL             : https://github.com/sumneko/lua-language-server
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : bash  gcc-libs
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 6.16 MiB
Packager        : Daniel M. Capella<EMAIL_ADDRESS>Build Date      : Thu 17 Feb 2022 03:02:32 -03
Install Date    : Thu 17 Feb 2022 15:28:48 -03
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

I will update to 2.6.6, thanks!

And please read this: https://github.com/sumneko/lua-language-server/issues/960

And please read this: #960

Will do, thanks.
I updated to 2.6.6 and the issue is gone. Closing.


Create query with LIKE, IN seem does't work

Dear everyone
I'm new to Xorm, I use like that in my project:
query := config.Engine.Table("news").Select("*")

// get keyword from get param
keyword := c.Params.Query.Get("keyword")
if keyword != "" {
	query.And("title LIKE ?",  utils.STRINGToLike(keyword))
}

// just create a random int array then combine it to string with "," delimiter
var randArr [20]int
for i := 0; i < 20; i++ {
	rand := utils.INTRandom(1, 9506)
	randArr[i] = rand
}

stringIDs := utils.ARRAYToString(randArr[0:], ",")
query.And("id IN(?)", stringIDs)

But it always return empty array. But which that query, I don't use the "?" operator like that:
//query.And("title LIKE ?",  utils.STRINGToLike(keyword))
query.And("title LIKE " +  utils.STRINGToLike(keyword))

//query.And("id IN(?)", stringIDs)
query.And("id IN("+ stringIDs+ ")")

It worked.
(note: utils.STRINGToLike: will create a string like that '%keyword%')
Can you help me on that please?
Thanks!

query.And(builder.In("id", stringIDs)
When you building complicated conditions, please use github.com/go-xorm/builder

Closed with thanks


[BUG] Fatal error when launching the game (version 1.6.1130.0)

Hello,
I have the latest update of Skyrim Anniversary Edition, which is version 1.6.1130.0. I also have the latest version of SKSE, which is version 2.2.5.
I downloaded the latest version of your Faster HDT-SMP 2.1.0 and I encounter an error when I want to start my game. SKSE Plugin Loader tells me this: "hdtSMP64dll: disabled, fatal error occured while loading plugin".
Thank you for your work.

hey
this vortex-related bug is being worked on.
you can track progress in this thread in the FSMP Discord

Thank you :)

You can also read this thread. It's a compilation of all SKSE plugins : https://modding.wiki/en/skyrim/users/skse-plugins


Analyze Microsoft.UI.Xaml.FrameworkElement properties for accuracy (P thru W)

Pages to analyze:

FrameworkElement.Parent: https://learn.microsoft.com/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.frameworkelement.parent
FrameworkElement.RequestedTheme: https://learn.microsoft.com/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.frameworkelement.requestedtheme
FrameworkElement.Resources: https://learn.microsoft.com/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.frameworkelement.resources
FrameworkElement.Style: https://learn.microsoft.com/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.frameworkelement.style
FrameworkElement.Tag: https://learn.microsoft.com/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.frameworkelement.tag
FrameworkElement.Triggers: https://learn.microsoft.com/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.frameworkelement.triggers
FrameworkElement.VerticalAlignment: https://learn.microsoft.com/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.frameworkelement.verticalalignment
FrameworkElement.Width: https://learn.microsoft.com/windows/windows-app-sdk/api/winrt/microsoft.ui.xaml.frameworkelement.width

What to look for:

Statements/code that were appropriate for UWP/WinUI 2, but are no longer accurate for WinUI 3/Windows App SDK
Unnecessary/invalid links to UWP docs
Unnecessary/invalid links to WinUI 2 docs
References to UWP or WinUI 2
Mentions of Windows 8/8.1, whether they may need to be removed or just updated to be relevant for Win 10/11
Mentions of Windows Phone
Windows 10 is specified but it feels like Windows 11 is also applicable. (The text should either just specify "Windows" or "Windows 10 build xxxx and later" instead)

Closing issue from MVP Summit activity.


Wildcard DNS validation with IIS binding

This is a follow up to #1079.
I can now successfully generate the PEM files for my wildcard host.
What I'm trying now is to automatically install it for my matching IIS domains (I'm on Windows Server 2016).
When trying this:

"C:\Program Files\letsencrypt\wacs.exe" --target iisbinding --host *.zeta-uploader.com --validationmode dns-01 --validation dnsscript --dnscreatescript "C:\Scheduler\Ssl\Route53-Create.ps1" --dnscreatescriptarguments "'{RecordName}' '{Token}'" --dnsdeletescript "C:\Scheduler\Ssl\Route53-Delete.ps1" --dnsdeletescriptarguments "'{RecordName}' '{Token}'" --installation iis

I get this error:
[INFO] A simple Windows ACMEv2 client (WACS)
[INFO] Software version <IP_ADDRESS> (RELEASE)
[INFO] IIS version 10.0
[INFO] Please report issues at https://github.com/PKISharp/win-acme

[INFO] Running in mode: Unattended
[EROR] Target plugin IISBinding aborted or failed

When I change from iisbinding target back to manual, using this:

"C:\Program Files\letsencrypt\wacs.exe" --target manual --host *.zeta-uploader.com --validationmode dns-01 --validation dnsscript --dnscreatescript "C:\Scheduler\Ssl\Route53-Create.ps1" --dnscreatescriptarguments "'{RecordName}' '{Token}'" --dnsdeletescript "C:\Scheduler\Ssl\Route53-Delete.ps1" --dnsdeletescriptarguments "'{RecordName}' '{Token}'" --installation iis

I get this error:
[INFO] A simple Windows ACMEv2 client (WACS)
[INFO] Software version <IP_ADDRESS> (RELEASE)
[INFO] IIS version 10.0
[INFO] Please report issues at https://github.com/PKISharp/win-acme

[INFO] Running in mode: Unattended
[INFO] Target generated using plugin Manual: *.zeta-uploader.com
[EROR] Exception: Install plugin IIS aborted or failed

So I'm rather clueless, whether IIS binding is supported with IIS at all. Looking at the Wiki page it seems that it is supported.
My question:
How can I use a wildcard certificate with all matching IIS sites via command line?

The error message is obviously not very helpful, so I'll check to see if it can be made more clear. What I think is going wrong here is that the IIS installer doesn't know for which site to create or update https bindings. You should specify the ID of the site with --installationsiteid.
If you use this certificate for more than one site, you'll have to update or create whose bindings manually, but only once. On subsequent renewals the program detects that the previously issued certificate has been on other bindings (outside of the original installation site) and will update those as well.

Okay, thanks @WouterTinus. I thought that --installationsiteid is optional, because it was written in [] in the Wiki.
I've now tried with this:

"C:\Program Files\letsencrypt\wacs.exe" --target manual --host *.zeta-uploader.com --validationmode dns-01 --validation dnsscript --dnscreatescript "C:\Scheduler\Ssl\Route53-Create.ps1" --dnscreatescriptarguments "'{RecordName}' '{Token}'" --dnsdeletescript "C:\Scheduler\Ssl\Route53-Delete.ps1" --dnsdeletescriptarguments "'{RecordName}' '{Token}'" --installation iis --installationsiteid 13 --force

And it seems to work:
 [INFO] A simple Windows ACMEv2 client (WACS)
 [INFO] Software version <IP_ADDRESS> (RELEASE)
 [INFO] IIS version 10.0
 [INFO] Please report issues at https://github.com/PKISharp/win-acme

 [INFO] Running in mode: Unattended
 [INFO] Target generated using plugin Manual: *.zeta-uploader.com
 [WARN] Overwriting previously created renewal
 [INFO] Authorize identifier: zeta-uploader.com
 [INFO] Cached authorization result: valid
 [WARN] Using cached certificate for [Manual] *.zeta-uploader.com. To force issue of a new certificate within 24 hours, delete the .pfx file from the CertificatePath or run with the --force switch. Be ware that you might run into rate limits doing so.
 [INFO] Installing certificate in the certificate store
 [INFO] Adding certificate [Manual] *.zeta-uploader.com 2019.3.28 11:54:54 to store WebHosting
 [INFO] Installing with IIS...
 [INFO] Updating existing https binding zech.zeta-uploader.com:443
 [INFO] Committing 1 https binding changes to IIS
 [INFO] Next renewal scheduled at 2019.5.23 10:58:27

In can see in IIS Manager that the binding of the site with the ID of 13 has correctly selected the new wildcard certificate.
Now when doing it for other site IDs, I see that it just tells it suceeded, but in IIS it is not selected in IIS Manager.
I guess this is what you mention by saying:

If you use this certificate for more than one site, you'll have to update or create those bindings manually,

Since I'm programmatically generating IIS sites, I have to find a way to also programmatically (i.e. without any clicking in IIS Manager) assign a wildcard certificate to the other sites.
Or maybe I'll ditch the wildcard idea altogether and simply programmatically request a "normal" certificate for each IIS site I create programmatically?!?


Filter loses focus after reloading list

I have a simple textinput field like described here: https://marmelab.com/admin-on-rest/List.html
When I enter something and wait a bit, the list filters correctly, but focus is lost on the TextInput.
I've checked out the demo-application as well, where that isn't the case.

Ok I realized this happens when you pass the ReactElement of <Filter> directly to filters= instead of wrapping it in React.createElement first. Man… react can be confusing.

@fab1an I have same issue. Could you post an example what did you do?


add grid and flexbox cheatsheets

Adding my favorite CSS Grid and Flexbox cheatsheets to the list of links

CC @philsinatra


mjml-button - Added attributes and updated readme for letter-spacing

Updated docs too https://github.com/mjmlio/mjml/pull/289

Hi @jitendravyas
I'm closing this PR because it's hasn't been updated for a while now. Feel free to reopen a new one based on master branch !


Add checkQuotaAvailability to vmwarevirtustream 2019-08-09-preview swagger spec

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[x] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

I was porting this to the 2020-03-20-preview API and noticed a couple of new warnings that apply to this as well. Do you wish to resolve the warnings?
WARNING (PostOperationIdContainsUrlVerb/R2066/SDKViolation): OperationId should contain the verb: 'checkquotaavailability' in:'Quota_Get'. Consider updating the operationId
    - file:///azure-rest-api-specs/specification/vmwarevirtustream/resource-manager/Microsoft.VMwareVirtustream/preview/2020-03-20-preview/vmwarevirtustream.json:139:8 ($.paths["/subscriptions/{subscriptionId}/providers/Microsoft.VMwareVirtustream/locations/{location}/checkQuotaAvailability"].post.operationId)

WARNING (EnumInsteadOfBoolean/R3018/ARMViolation): Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: quotaEnabled
    - file:///azure-rest-api-specs/specification/vmwarevirtustream/resource-manager/Microsoft.VMwareVirtustream/preview/2020-03-20-preview/vmwarevirtustream.json:1147:8 ($.definitions.QuotaGet.properties.quotaEnabled)
Semantically validating  /azure-rest-api-specs/specification/vmwarevirtustream/resource-manager/Microsoft.VMwareVirtustream/preview/2020-03-20-preview/vmwarevirtustream.json: without error.


Apply grouped-interface transmission flow constraints from ReEDS in PRAS

We now have two categories of grouped-interface transmission flow constraints in ReEDS:

Energy flow constraints between transgrp regions:
NERC-region PRM trading constraints (after this PR is merged: https://github.nrel.gov/ReEDS/ReEDS-2.0/pull/1222)

We currently model interzonal transmission in ReEDS2PRAS/PRAS using PRAS "Lines", so it seems like we should be able to add these constraints using PRAS "Interfaces" (groups of lines).

After further discussion, we established that addressing this issue would require deeper changes to the PRAS solver. The capability may be added in the future, but not any time soon.


HADOOP-18618 : Support custom property for credential provider.

Hadoop allows the configuration of a credential provider path through the property "hadoop.security.credential.provider.path", and the Configuration#getPassword() method retrieves the credentials from this provider.
However, using common credential provider properties for components like Hive, HDFS, and MapReduce can cause issues when they want to configure separate JCEKS files for credentials. For example, the value in the core-site.xml property file can be overridden by the hive-site.xml property file. To resolve this, all components should share a common credential provider path and add all their credentials.
Azure storage supports account-specific credentials, and thus the credential provider should permit the configuration of separate JCEKS files for each account, such as the property "fs.azure.account.credential.provider.path..blob.core.windows.net".
To accommodate this, the Configuration#getPassword() method should accept a custom property for the credential provider path and retrieve its value. The current default property can be overridden to achieve this.
public char[] getPassword(String name) throws IOException {
......
......
}
public char[] getPassword(String name, String providerKey) throws IOException {
......
......
}

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  0s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
46m  2s

trunk passed

+1 :green_heart:
compile
25m 24s

trunk passed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04

+1 :green_heart:
compile
21m 37s

trunk passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08

+1 :green_heart:
checkstyle
1m  7s

trunk passed

+1 :green_heart:
mvnsite
1m 40s

trunk passed

-1 :x:
javadoc
1m  9s
/branch-javadoc-hadoop-common-project_hadoop-common-jdkUbuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04.txt
hadoop-common in trunk failed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04.

+1 :green_heart:
javadoc
0m 41s

trunk passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08

+1 :green_heart:
spotbugs
2m 43s

trunk passed

+1 :green_heart:
shadedclient
28m 18s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 11s

the patch passed

+1 :green_heart:
compile
24m 39s

the patch passed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04

+1 :green_heart:
javac
24m 39s

the patch passed

+1 :green_heart:
compile
21m 37s

the patch passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08

+1 :green_heart:
javac
21m 37s

the patch passed

-1 :x:
blanks
0m  0s
/blanks-eol.txt
The patch has 1 line(s) that end in blanks. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

-0 :warning:
checkstyle
1m  0s
/results-checkstyle-hadoop-common-project_hadoop-common.txt
hadoop-common-project/hadoop-common: The patch generated 8 new + 117 unchanged - 0 fixed = 125 total (was 117)

+1 :green_heart:
mvnsite
1m 37s

the patch passed

-1 :x:
javadoc
0m 59s
/patch-javadoc-hadoop-common-project_hadoop-common-jdkUbuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04.txt
hadoop-common in the patch failed with JDK Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04.

+1 :green_heart:
javadoc
0m 41s

the patch passed with JDK Private Build-1.8.0_352-8u352-ga-1~20.04-b08

+1 :green_heart:
spotbugs
2m 42s

the patch passed

+1 :green_heart:
shadedclient
27m 57s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
18m 12s

hadoop-common in the patch passed.

+1 :green_heart:
asflicense
0m 53s

The patch does not generate ASF License warnings.

230m 37s

Subsystem
Report/Notes

Docker
ClientAPI=1.42 ServerAPI=1.42 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5352/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5352

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux c0fb78311c1c 4.15.0-200-generic #211-Ubuntu SMP Thu Nov 24 18:16:04 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 6e7e232a37bfc4121200f28b185e883c61e2e8a4

Default Java
Private Build-1.8.0_352-8u352-ga-1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.17+8-post-Ubuntu-1ubuntu220.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_352-8u352-ga-1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5352/1/testReport/

Max. process+thread count
1375 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5352/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

updated patch

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 52s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
49m 56s

trunk passed

+1 :green_heart:
compile
18m 33s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
compile
16m 56s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
checkstyle
1m 14s

trunk passed

+1 :green_heart:
mvnsite
1m 40s

trunk passed

+1 :green_heart:
javadoc
1m 12s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
0m 48s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
2m 39s

trunk passed

+1 :green_heart:
shadedclient
40m 37s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 57s

the patch passed

+1 :green_heart:
compile
17m 41s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javac
17m 41s

the patch passed

+1 :green_heart:
compile
16m 49s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
javac
16m 49s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m 12s
/results-checkstyle-hadoop-common-project_hadoop-common.txt
hadoop-common-project/hadoop-common: The patch generated 8 new + 117 unchanged - 0 fixed = 125 total (was 117)

+1 :green_heart:
mvnsite
1m 38s

the patch passed

-1 :x:
javadoc
1m  8s
/results-javadoc-javadoc-hadoop-common-project_hadoop-common-jdkUbuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1.txt
hadoop-common-project_hadoop-common-jdkUbuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1 with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1 generated 3 new + 0 unchanged - 0 fixed = 3 total (was 0)

+1 :green_heart:
javadoc
0m 50s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
2m 45s

the patch passed

+1 :green_heart:
shadedclient
40m 24s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
18m 51s

hadoop-common in the patch passed.

+1 :green_heart:
asflicense
0m 59s

The patch does not generate ASF License warnings.

239m 53s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5352/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5352

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 46b516257d86 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / d55b17e059d97c5e7a40650f50cab314bf021af7

Default Java
Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5352/2/testReport/

Max. process+thread count
3137 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5352/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 49s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
51m 54s

trunk passed

+1 :green_heart:
compile
18m 33s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
compile
16m 48s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
checkstyle
1m 14s

trunk passed

+1 :green_heart:
mvnsite
1m 38s

trunk passed

+1 :green_heart:
javadoc
1m 14s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
0m 48s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
2m 40s

trunk passed

+1 :green_heart:
shadedclient
40m 41s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 58s

the patch passed

+1 :green_heart:
compile
17m 43s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javac
17m 43s

the patch passed

+1 :green_heart:
compile
16m 50s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
javac
16m 50s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m 12s

the patch passed

+1 :green_heart:
mvnsite
1m 35s

the patch passed

-1 :x:
javadoc
1m  8s
/results-javadoc-javadoc-hadoop-common-project_hadoop-common-jdkUbuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1.txt
hadoop-common-project_hadoop-common-jdkUbuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1 with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1 generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)

+1 :green_heart:
javadoc
0m 49s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
2m 42s

the patch passed

+1 :green_heart:
shadedclient
39m 52s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
18m 50s

hadoop-common in the patch passed.

+1 :green_heart:
asflicense
0m 58s

The patch does not generate ASF License warnings.

241m 19s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5352/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5352

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 1bc6e15dea92 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 6c83999a3429409b29550ca1d6d0c3724e6a9b7a

Default Java
Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5352/3/testReport/

Max. process+thread count
1727 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5352/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m 27s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
56m 51s

trunk passed

+1 :green_heart:
compile
23m 18s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
compile
22m  4s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
checkstyle
1m 35s

trunk passed

+1 :green_heart:
mvnsite
1m 55s

trunk passed

+1 :green_heart:
javadoc
1m 30s

trunk passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javadoc
0m 52s

trunk passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
3m  3s

trunk passed

+1 :green_heart:
shadedclient
45m 48s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 58s

the patch passed

+1 :green_heart:
compile
17m 49s

the patch passed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1

+1 :green_heart:
javac
17m 49s

the patch passed

+1 :green_heart:
compile
17m  7s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
javac
17m  7s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m 12s

the patch passed

+1 :green_heart:
mvnsite
1m 36s

the patch passed

-1 :x:
javadoc
1m  8s
/patch-javadoc-hadoop-common-project_hadoop-common-jdkUbuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1.txt
hadoop-common in the patch failed with JDK Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1.

+1 :green_heart:
javadoc
0m 49s

the patch passed with JDK Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

+1 :green_heart:
spotbugs
2m 41s

the patch passed

+1 :green_heart:
shadedclient
40m 53s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
20m 26s

hadoop-common in the patch passed.

+1 :green_heart:
asflicense
0m 59s

The patch does not generate ASF License warnings.

266m 31s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5352/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/5352

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 1cfb36abbd3d 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 27babb4d8aed95ff22853b97f190bca78e290b6a

Default Java
Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.19+7-post-Ubuntu-0ubuntu120.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~20.04-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5352/4/testReport/

Max. process+thread count
1253 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-5352/4/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Issues on Database download page

As noted by Sammy:

[ ] "Download Rating Data" is broken (see Download Rating Data error below)
[ ] "Download User Data" is broken (see Download User Data error below)

Download Rating Data error
Request Method: | GET
Request URL: | http://mwa-image-plane.duckdns.org/download_data/rating/
Django Version: | 4.2
Exception Type: | ValueError
Exception Value: | Illegal format object.
Exception Location: | /opt/conda/lib/python3.10/site-packages/astropy/io/fits/column.py, line 2524, in _convert_record2fits
Raised during: | candidate_app.views.download_data
Python Executable: | /opt/conda/bin/python
Python Version: | 3.10.14
Python Path: | ['/home/app/web','/opt/conda/lib/python310.zip','/opt/conda/lib/python3.10','/opt/conda/lib/python3.10/lib-dynload','/opt/conda/lib/python3.10/site-packages']
Server time: | Wed, 14 Aug 2024 02:10:12 +0000
Download User Data error
Request Method: | GET
Request URL: | http://mwa-image-plane.duckdns.org/download_data/user/
Django Version: | 4.2
Exception Type: | ValueError
Exception Value: | Illegal format object.
Exception Location: | /opt/conda/lib/python3.10/site-packages/astropy/io/fits/column.py, line 2524, in _convert_record2fits
Raised during: | candidate_app.views.download_data
Python Executable: | /opt/conda/bin/python
Python Version: | 3.10.14
Python Path: | ['/home/app/web','/opt/conda/lib/python310.zip','/opt/conda/lib/python3.10','/opt/conda/lib/python3.10/lib-dynload','/opt/conda/lib/python3.10/site-packages']
Server time: | Wed, 14 Aug 2024 02:14:16 +0000

Downloading Candidate / Observation / Filter tables works without error.

Issue is that some columns in the database are datetime columns, and fits doesn't know how to store these.
In 267a4641b195e3001f95c6942415495886801a07 I've implemented a filter so that datetime columns are converted into strings before writing as a fits file.

I have also annotated the tables so that any column which is a link to another table will also show the name of the record.
For example: Rating table has a column called classification, which is normally filled with integers (the pk of the classification row), but now also contains classification_name which will be the name of the classification selected (e.g. rfi).


Added static typing to pydicer modules

Hi @pchlap,
Just thought I'd go ahead and add static typing to all of Pydicer and get back into contributing to the repo :)
Pytest was happy so I assume that the type additions are okay for now, but if anything pops up during real world usage, I'll be happy to fix things in the codebase. Not sure if additional tests will be needed for this static typing, may well be but let me know what you think...
I'll have a look around the issues we've got and get back into the swing of things. If you're happy with the types being added, happy to merge this through. Thanks!

Thanks a lot @dalmouiee, this is great.
Yeah given that all the tests are passing I don't see any issues here. I don't believe that static types are actually enforced when running Python code. But they will flag when unexpected types are being used by linters, so this will be super useful for anyone who uses PyDicer in their projects.


Made laughing therapy page

Issue #44
https://user-images.githubusercontent.com/94471189/185785602-1fd23bb0-865b-41a5-915a-0f8a6bbe312c.mp4

nice work


Chuck notification crashes when opened with Android X

App crashes in conjunction with Android X library. Please help

Hey @rr0055256
Side note: Looks like this project is no longer maintained.
We forked it and we're rewriting it in Kotlin/Room (modern stuff, etc.) here:
https://github.com/ChuckerTeam/chucker
You can maybe try chucker and see if is still crashing. If so, we can help you fix the issue :)

Thanks!


Add tests for compute_fork_digest and compute_subnet_for_attestation

Issue
These compute_fork_digest and compute_subnet_for_attestation helpers have not been tested in our CI.
How to fix it
Add tests in
https://github.com/ethereum/eth2.0-specs/blob/dev/tests/core/pyspec/eth2spec/test/validator/test_validator_unittest.py

I'm happy to take a look at this


The benchmark between Plonk and Groth16 problem

I'm wondering if the PLONK implementation has a optimization space.
This is a benchmark result from AZTEC Team.

MiMC Winner: PLONK
TurboPLONK performs at extraordinary speed on MiMC, outpacing even Groth16 by a factor of ~2.5x

We can see that PLONK perforrms better when proving a MiMC hash circuit.
However, in the current implementation of this repo, I obtain the result on the contrary. The benchmark displays that Groth16 has a better performance.
Have I made a mistake?
 The one you reference is "TurboPLONK". There are couple of work that did build upon PlonK the past year or so (TurboPlonk, UltraPlonk, and recently HyperPlonk).
On a "vanilla plonk" circuit, Groth16 will always outperform Plonk prover.

(also, it is hard to benchmark across implementation and proof system :-) )

Thank you!


Feedback for: engine/examples/mongodb.md

URL: https://docs.docker.com/engine/examples/mongodb.md
I've been trying the tutorial but the line
RUN echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.0.list
fails on lsb_release since it is not available in the container. I am running my docker on an Ubuntu Xenial and when I do it on the command line it works so it is in the container itself it doesn't work.

@ManoMarks Do we have a better MongoDB sample? This one is 2 votes up, 3 votes down, and this report of problems.

Thanks for the report, @Xiobe. Let me do some testing locally and get back with you when I find a workaround or the missing step.

Wow this took me  while to get back to, but it will be fixed when #2523 is merged. Meanwhile, you can get this working by just adding an extra RUN line in the Dockerfile, as shown there.


Use of uninitialized value in concatenation

Hello Qiyunzhu,
Thks for your excellent software, but when I was runing the sample in this directory,I got into trouble with analyzer.pl:
my code :perl scripts/analyzer.pl sample
and be reported as follow:
-> Analyzer: Identify putative HGT-derived genes based on search results. <-
Warning: Prediction result from a previous analysis is detected.
Press Enter to overwrite, or Ctrl+C to exit:
Reading taxonomic information... done.
Analyzing taxonomic information... done.
All input genomes belong to species Galdieria sulphuraria (TaxID: 130081).
Analysis will work on the following taxonomic ranks:
Self: (user-defined self) Galdieria (TaxID: 83373) (1 members),
Close: (user-defined close) Eukaryota (TaxID: 2759) (1 members),
Distal: all other organisms.
Press Enter to continue, or Ctrl+C to exit:
Reading protein sets...done. 1 sets detected.
Analyzing search results...
0-------------25-------------50------------75------------100%
gsul has 100 proteins. Analyzing...
done.
Raw data are saved in result/statistics/rawdata.txt.
You may conduct further analyses on these data.
Press Enter to continue, or Ctrl+C to exit:
Computing statistics...
All protein sets:
done.
Use of uninitialized value in concatenation (.) or string at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"mean"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"mean"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"stdev"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"stdev"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"min"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"min"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"max"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"max"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"median"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"median"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"mad"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"mad"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"q1"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"q1"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"q3"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"q3"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"cutoff"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"cutoff"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value in concatenation (.) or string at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"mean"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"mean"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"stdev"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"stdev"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"min"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"min"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"max"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"max"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"median"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"median"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"mad"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"mad"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"q1"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"q1"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"q3"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"q3"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"cutoff"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"cutoff"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value in concatenation (.) or string at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"mean"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"mean"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"stdev"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"stdev"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"min"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"min"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"max"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"max"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"median"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"median"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"mad"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"mad"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"q1"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"q1"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"q3"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"q3"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"cutoff"} in sprintf at analyzer.pl line 1256,  line 3.
Use of uninitialized value $h{"cutoff"} in sprintf at analyzer.pl line 1256,  line 3.
Result is saved in result/statistics/fingerprint.txt.
Press Enter to proceed with prediction, or Ctrl+C to exit:
Predicting... done.
Prediction results are saved in result/detail/.
I tried to change version of perl in different service but doesnt work,could you give me some advice?t
Thanks again!

Sorry for not addressing this issue. Let me close since it was related to a previous version of the program before I re-engineered the whole program.


Fix Imports for Timer module

The signal import requires Knit then uses Knit.Util.Signal to import the module,
this causes a runtime error in Roblox-TS as Knit isn't a parent of ReplicatedStorage,
instead its a descendant.
I've tested it and I get no initial errors on the require. This comes down to personal preference though.

@Water261 Can you remove the commented-out Knit line too? I'll merge into the v0.0.20-alpha branch after that. Thanks!

@Sleitnick Fixed.


Fix issue #128

This was also reported on the forums.
In order to fix it, is_loaded now uses language files names as keys and sets $idiom as their corresponding values. It's done this way because newly loaded language strings overwrite the old ones and we need to be able to load the old ones again, if needed.
Also:

if $return is a positive value - load() won't return void even in case of an error
fixed behavior with positive $add_suffix

Got any examples of what was failing before?

Not from my own experience, but ... here's the forum topic: http://codeigniter.com/forums/viewthread/209654/
... and the same check would've prevented the $lang array to be returned when having $return == TRUE and the file has already been loaded.
As for the $add_suffix issue - '.php' is stripped before it, so '_lang.' can't be matched in that case as well. I'm surprised that nobody has reported this one yet.


Get make!T to compile when T is a shared value type

Making a shared value object currently fails with a message 'template std.conv.emplaceRef cannot deduce function from argument types...'. This PR fixes that.

Is there an issue number for this? If not, please make or or add a changelog entry.

DAutoTest and circle fail due to code.dlang.org being down.


Option to set interpreter to use

I'm looking at using installer to install wheels in our distribution.  At runtime sys.executable is a special python wrapper that we use, but we don't want to use that on the target as it doesn't exist.
I think adding a simple --interpreter option should be sufficient for this use-case to set the interpreter parameter on SchemeDictionaryDestination, leaving the default as sys.executable.

installer's CLI is designed to install the wheel, for the currently running Python.
I'm curious, what exactly is your usecase for you're modifying with sys.executable and having that not point to a regular Python executable? Also, what project is this?

Yocto Project, we're cross-compiling.  We have a magic sysconfig which knows about target paths when asked and assuming that sys.executable is the target is a bad assumption to make.
The interpreter we want to use is a standard interpreter, it's just not the running one.

Hmm... Okie! I'm inclined to suggest that you maintain a tiny Python script that behaves exactly like you want it to, using the installer API -- for now, at the very least.
There's some discussion of an --interpreter option that behaves differently from what you're asking for here in https://github.com/pypa/installer/issues/98#issuecomment-1042484169; and I'm wary of just adding this as a CLI-maps-directly-to-API approach since one of the things I want to avoid is redistributors inventing their own target schemes instead of explicitly using what the interpreter would.

We would need to run the target interpreter to instrospect the install paths anyway, so if that would be viable, so should you running installer on that interpreter directly. As I pointed out in other issues, using the paths from the current interpreter and trying to modify them to fit what we would usually expect to be in an external target interpreter is a bad idea and will cause lots of headaches. So, as @pradyunsg suggests, I think you would be much better off maintaining your own little script that places the files in the locations you expect for your particular usage.

Our "host" Python is of the same version as the target and knows about target paths, so it mostly does do the right thing.  It's literally just the interpreter which needs updating.

I had a quick look at this. I don't understand how writing a custom wrapper to call the installer API will solve my problem, when it's the installer API writing the hashbangs in scripts.py.  Am I missing something?

You can control the interpreter used for those shebangs using the interpreter argument in https://installer.readthedocs.io/en/stable/api/destinations/#installer.destinations.SchemeDictionaryDestination.init
See the example in https://installer.readthedocs.io/en/stable/ and replace the relevant pieces there (get the scheme dict from your sysconfig magic, have interpreter be for whatever you want, and include whatever metadata you want).

I'm gonna mark this as something that we're not going to implement, since I do believe that your usecase is covered by the API.
I'll leave this open so that you can confirm this. To keep this bounded, if there's no responses here after a reasonable amount of time, I'll go ahead and close this out.


Jobs that complete immediately do not always update their status in JobPanel

Some jobs that complete very quickly do not update their status in the job panel correctly (they continue to show the spinning wheel).  This has happened several times,  but it has been intermittent - i.e., it does not happen consistently.
Using S3 data import with the following values:
name: NASA DEMO
s3 bucket: nasanex
prefix: CMIP5/CommonGrid/gfdl-esm2g/rcp45/mon/r1i1p1/pr
check read only

This issue still exists. I personally suspect it's related girder's event system.


e() mathematical constant

Example Problem:
Generate value of e from scratch
Example Solution:
e() returns 2.718281828459045
Further explanation (optional):
https://en.wikipedia.org/wiki/E_(mathematical_constant)
Would you like to be assigned to this:
Yes

hey @lukew3 if you're looking to calculate the constant e from scratch you can assign me to it

python's math module already has math.e built in.


cairo: how to create a surface with pre-allocated buffer?

It seems like there isn't a way to create a Cairo surface that points to an existing slice of memory, (underlying API: cairo_image_surface_create_for_data). Is there another way to approach this that I'm missing or a fundamental reason why this cannot be done?

Ah, never mind, was looking at cairo::Surface, not cairo::ImageSurface that I should've been.

I'm reopening this issue, because cairo::ImageSurface::create_for_data is not actually usable in many situations as the API is constructed today. In particular, the API looks like this:
pub fn cairo::ImageSurface::create_for_data<D: AsMut<[u8]> + 'static>(
    data: D,
    format: Format,
    width: i32,
    height: i32,
    stride: i32
) -> Result<ImageSurface, Error> { ... }

The 'static bound here makes this API almost useless – there are very few ways in Rust to obtain a slice buffer that's 'static. Two that come immediately to mind are Vec::leak and a global static mut array.
Situations where people will want to use this kind of API will instead be mostly with non-'static buffers, where they have an allocated buffer used or provided by some other component and they want to draw a shape or some text on top of it.
Right now the API forces the user to create a new transparent ImageSurface, draw the shapes and whatnot, and blend the resulting surface into the original buffer.

The 'static bound here makes this API almost useless – there are very few ways in Rust to obtain a slice buffer that's 'static. Two that come immediately to mind are Vec::leak and a global static mut array.

That's not true. Vec<u8>, Box<[u8]>, bytes::BytesMut, etc. are all also AsMut<[u8]> + 'static.
Take a look at the cairo_threads example for how to solve this problem safely.
Alternatively you can also use ImageSurface::create_for_data_unsafe if you know what you're doing and your data is not actually 'static :)

@nagisa Does that answer your questions?

So, create_for_data_unsafe is good, but is not available in the current release, which is why I missed it. Image holder or something similar is cool too.

ok :)


how to run with jest

Hi,
I'm starting a new project with react-native (BARE) 0.72.6
I have added dripsy with typescript and all is working well on devices and simulator, but my tests with jest are not working.
I use @testing-library/jest-native/extend-expec
and when I run "jest --no-cache" I have this error :
   /Users/jeremie/Documents/PROJETS/Metyis/kedrion/packages/front/mobile/node_modules/dripsy/build/index.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){export * from './core';

Do you know how to use dripsy with jest please ?
thx
Jeremie.

Honestly not totally sure, I haven’t used jest much before besides simple functions.

I have the answer, I have added this in jest.config.js
**const libsThatRequiredCompilation = ['dripsy', '@expo/html-elements'].join('|');**

module.exports = {
  preset: 'react-native',
  setupFilesAfterEnv: ['@testing-library/jest-native/extend-expect'],
  **transformIgnorePatterns: [
    `node_modules/(?!((jest-)?react-native|${libsThatRequiredCompilation}|@react-native(-community)?)/)`,
  ],**
};


Fix typos in node/node.go

Fix some typos found in goreportcard.

Codecov Report

Merging #86 (9a805b7) into main (9d4a9d3) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 9a805b7 differs from pull request most recent head 96bf30a. Consider uploading reports for the commit 96bf30a to get more accurate results

@@           Coverage Diff           @@
##             main      #86   +/-   ##
=======================================
  Coverage   58.68%   58.68%
=======================================
  Files          21       21
  Lines        1462     1462
=======================================
  Hits          858      858
  Misses        503      503
  Partials      101      101

Impacted Files
Coverage Δ

node/node.go
64.44% <ø> (ø)

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 9d4a9d3...96bf30a. Read the comment docs.


Migrate pkg to istio.io/client-go apis

Migrate pkg to istio.io/client-go apis.
This is preliminary work towards fixing  knative/serving#5969 and knative/serving#5936.

/ok-to-test

@skaslev looks like there are merge conflicts.

/lgtm

Neither Chi nor I are appropriate reviewers for this. I'll Victor, it it's not him he'll at least know...
/uncc @coryrc
/uncc @chizhg
/cc @vagababov

/assign @tcnghia

@skaslev Currently there is no test for this, can you please try out if our integration tests in Knative/serving would pass with this change, using a WIP change?  Thanks

@skaslev Currently there is no test for this, can you please try out if our integration tests in Knative/serving would pass with this change, using a WIP change? Thanks

I've already done it in this PR serving/pull#6041 all serving tests are passing.
The PRs need to be rebased because of merge conflicts though. I'll do that and have them do another run of the tests.

/lgtm
/approve

/assign @vaikas

@mattmoor can you please /approve ?

Do we have a PR that stages this into knative/serving so that we can land these in quick succession?  This will be breaking until that's fixed.

There's knative/serving#6041 which has knative.dev/pkg pinned to my clone for testing but can quickly be switched back after this land.

/approve
/hold
You can use /hold cancel when you are ready to merge this and stage the other.  Feel free to coordinate with me for getting the other PR merged once this lands.

/hold cancel

/hold cancel


Update photo_view_gesture_detector.dart

Allow PhotoViewGestureDetector to test and resolve gestures along any axis simultaniously.
related to #263
p.s. Sorry for the mess with the mess. Kinda new to github. Didn't know you can't add a pull request to a regular issue. (Or I just don't know how) ><

Gonna give a close look into it. This is core and we should be very careful here. Thamnks for the contribution.


[CMake] Failure to add subdirectory externals/json

Building from master.
Seems like CMake tries to include files that do not exist.

CMake Error at CMakeLists.txt:18 (add_subdirectory):
  The source directory

    /home/user/lsps/glsl-language-server/externals/json

  does not contain a CMakeLists.txt file.

oh, my bad, forgot about submodules.


Encrypted fields cannot be searched in the admin

Opening this pre-emptively. I'm not  sure why but my immediate assumption is because it uses an SQL query to do the search which compares a plaintext vs an encrypted value. Not sure how one would get around this...

You are right. It is impossible to search over encrypted values. And there is no workaround.
Probably, the only way is to use some 3d party solution, like haystack, to add a search index, using unencrypted data, but this approach could lead for security issues.


Fix a faulty url to iPXE inside the docs

Fixed a faulty URL pointing to the iPXE project on GitHub.

Thanks!


Add dht

Coverage decreased (-4.3%) to 45.326% when pulling 41b1efc931501d9b53615932b1e694ee04e4bd59 on add/nested-dht into 734e6fc2192aab07c5a894b9261da506154f33e9 on master.


DREF Application: Visibility updates

Task Description
Changes the visibility of the fields when the type of DREF is Imminent.
Expected Behaviors

[ ] Hide the following fields

Operation Overview

[x] Disaster Category
[x] If available, please update Crisis categorization analysis.
[x] Emergency appeal planned.

Event Details

[x] Approximate date of impact
[x] Estimated people in need (Optional)
[ ] Upload photos (e.g. impact of the events, NS in the field, assessments)

Action/Needs

[x] Did the National Society start any anticipatory actions?
[x] Select the actions that apply.
[x] Any identified gaps/limitations in the assessment

Acceptance Criteria

[ ] All above mentioned fields should be hidden when the type of DREF is Imminent

[ ] Event Detail - 'Upload photos (e.g. impact of the events, NS in the field, assessments)' should be hidden

cc @shreeyash07


what api do you use?

Cool service! Is http://toller.xyz api also built by you?

It's not official API really. It's just courtesy of my friend who runs data company.

heh

FYI At the moment I'm transferring to open https://api.golazon.com graphql api


Update utils.py with proper verbage

Proper nomenclature is "TwiML Application SID" not Twilio Application SID

Fixed! https://github.com/TwilioDevEd/call-tracking-django/commit/2576896afc17f7d206a01e0334ddbda2e472cc9a And tested again on Heroku just now to make sure


Getting strange shadow when click a menu button which doesn't has any button.

Hi ,I have a strange bug writing my new project by using egui.
Describe the bug
Getting strange shadow when click a menu button which doesn't has any button.
To Reproduce
Steps to reproduce the behavior:
egui::menu::bar(ui, |ui| {
    ui.menu_button("New", |ui| {
        if ui.button("Http").clicked() {
            self.requests.insert(0, Http::default());
        }
    });
    ui.menu_button("Settings", |_ui| self.settings.show_settings = true);
});

In weaver
Expected behavior

Screenshots

It's ok if the menu button has a button.

Desktop (please complete the following information):

OS: windows 10
Version 0.17.0

Thank you for your contribution,this is a a amazing crate.

There's not much sense in opening an empty menu, and I guess the painting code doesn't handle it well. Seems like you would want to use a normal button in this case.

There's not much sense in opening an empty menu, and I guess the painting code doesn't handle it well. Seems like you would want to use a normal button in this case.

Yeah.You are right.It's not common that there is an empty menu.Maybe I should add a button below it.Thank you.:smiley:


nextdns: 1.10.1 -> 1.11.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/nextdns/nextdns/releases.
meta.description for nextdns is: "NextDNS DNS/53 to DoH Proxy"
meta.homepage for nextdns is: "https://nextdns.io"
meta.changelog for nextdns is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.11.0 with grep in /nix/store/nshv1bjpag95dnfrs3jmba8vjhzaykwd-nextdns-1.11.0

directory tree listing: https://gist.github.com/4a06f58c05825b8f3d0fa807d82ae8f1

du listing: https://gist.github.com/3eda21432f7c7cf1092121765b8b3598

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

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
nextdns

Instructions to test this update (click to expand)

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

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

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

nextdns

Maintainer pings
cc @pnelson @kalbasit for testing.

Builds & binary runs, macos 10.14

Builds & binary runs, linux x86_64

Result of nixpkgs-review pr 116160 run on x86_64-darwin 1

1 package built:

nextdns


⚠ Fortnite has degraded performance

In fd97dbf, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1760 ms

Resolved: Fortnite performance has improved in a419f69.


Resistant armor runes not applying the resistance damage.

As title, the resistant armor rune is not applying the resistance to the character wearing the armor. IWR was turned ON and I have tried on a new world with no modules activated.
Foundry version is 11 build 315 and pf2e version is 5.15.3

Duplicate of #10966


PHP Fatal error:  Uncaught Error: Call to undefined method Discord\CommandClient\Command::addSubCommandAlias()

Trying to register a subCommand using registerSubCommand(), I got the following error:
PHP Fatal error:  Uncaught Error: Call to undefined method Discord\CommandClient\Command::addSubCommandAlias() in /home/<username>/<botname>/vendor/team-reflex/discord-php/src/Discord/CommandClient/Command.php:99
I got it fixed easily by changing
foreach ($options['aliases'] as $alias) {     $this->addSubCommandAlias($alias, $command); }
to
foreach ($options['aliases'] as $alias) {     $this->registerSubCommandAlias($alias, $command); }
I am though unsure whether this is a bug in the code or I just used the method in the wrong way. Anyone else had this problem before?

Thanks!


use mqtt.publish as a service tap-action of Lovelace-UI/Picture-elements allways raise Invalid service data for mqtt.publish: extra keys not allowed @ data['entity_id'].

Home Assistant release with the issue: Frontend
Last working Home Assistant release: No
Operating environment (Hass.io/Docker/Windows/etc.): Hassio
Component/platform: Lovelace-UI / Picture-elements
https://www.home-assistant.io/lovelace/picture-elements/
Description of problem:
if I use mqtt.publish as a service tap-action - always raise error on call service:
Invalid service data for mqtt.publish: extra keys not allowed @ data['entity_id']. Got 'sensor.vent_pwr'
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
Element discription below
 elements:
        - type: image
          entity: sensor.vent_pwr
          tap_action: call-service
          service: mqtt.publish
          service_data:
            topic: "home/vent/power/set"
            payload: "0"
            qos: 0
            retain: false
          state_image:
            "0": /local/vent/0_on.png
          style:
            top: 30%
            left: 10%

Traceback (if applicable):

Additional information:
I think trouble: Picture-elements as default servicedata value always push entity_id - for mqtt service this is wrong,

/move to home-assistant/home-assistant-polymer


Input: Request for OpenUI5 to provide consistent hover text

OpenUI5 version: latest
Browser/version (+device/version): Firefox only
Any other tested browsers/devices(OK/FAIL): Chrome, IE 11 ok
URL (minimal example if possible):http://jsbin.com/devete/edit?html,js,output
User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:

Load the pure HTML example and enter invalid email addresses for both fields
Hover over each field. Since the 2 input fields are typed as "Email", Firefox recognizes the error and displays a hardcoded message "Please enter an email address" for the first field only, since the second one has a configured title.
Do the same in Chrome or IE and note that no hardcoded message appears.

What is the expected result? Expected that the behavior would be consistent across all browsers.
What happens instead? Firefox behaves differently and doesn't allow the application to change the hardcoded message (for example, to localize it).
Any other information? (attach screenshot if possible) This is a request for OpenUI5 to handle this case in Firefox and provide consistent behavior across all common browsers.

Hi Chuck,
thanks for your ticket.
It took me a while to understand your problem, because your example does not use UI5 controls.
I build an example myself http://jsbin.com/xomigohiyu/1/edit?html,js,output with ui5 controls.
The problem is that the tooltip of sap.m.Input does not get displayed when you enter a wrong mail format in Firefox. It seems to be that Firefox has its own handling for this case which overwrites our tooltip.
I openend an internal ticket which I forwarded to the regarding developer:<PHONE_NUMBER>
He will provide updates on this issue.
Kind regards,
Janina