Added EndPoint.py

Made a new pull request since some checks failed, hope its better now.

Codecov Report

Merging #275 into master will decrease coverage by 1.64%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #275      +/-   ##
==========================================
- Coverage   59.95%   58.31%   -1.65%
==========================================
  Files          22       23       +1
  Lines         994     1022      +28
  Branches       88       89       +1
==========================================
  Hits          596      596
- Misses        390      418      +28
  Partials        8        8

Impacted Files
Coverage Δ

poseidon/poseidonMonitor/EndPoint.py
0% <0%> (ø)

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 ef42412...8552c2e. Read the comment docs.

Since I'm new to contributing, I don't really understand the checks. What do they check? Especially the codecov checks I don't understand.

@Jorissss the codecov checks are looking at test coverage of the patch you're submitting and the overall project as that patch is applied.  So in this case it's saying none of your PR has test coverage, and it brings the project's overall test coverage down by 1.65% if this was merged into the project.
codacy is complaining about a new issue that is introduced - if you click the details link next to it, should show you the problem you're introducing.

@cglewis Ah, I see, thanks!. So I should close this PR, add tests, fix the issue and try a new PR? Or is there some way to test this locally?

the Dockerfile will run the tests, so if you have docker installed, from the repo directory where the Dockefile is you can run:
docker build -t poseidon .
docker run -it poseidon

and it should spit out the test results locally.
also you can just make commit updates to your branch and it will automatically update the existing PR.

to_json does not export state, next_state

circleci is still failing
https://circleci.com/gh/CyberReboot/poseidon/568?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
it looks like
endpoint1 = endPoint.EndPoint(test_data)
endpoint2 = endPoint.EndPoint.from_json(endpoint1.to_json())
endpoint1 is comprised of strings
endpoint2 is sometimes comprised of unicode strings


toolbox.icon with SVG Path doesn't work for certain paths

Version
4.2.1
Reproduction link
https://jsfiddle.net/yj6x2gh3/13/
Steps to reproduce

Set an icon in the toolbox to path://M8 15A7 7 0 118 1a7 7 0 010 14zM6 4a1 1 0 00-1 1v6a1 1 0 002 0V5a1 1 0 00-1-1zm4 0a1 1 0 00-1 1v6a1 1 0 002 0V5a1 1 0 00-1-1z
The icons stop working

What is expected?
The icon is rendered properly
What is actually happening?
The toolbox is not rendered properly.

We recently updated our SVG minification library. Now for example the path:
M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zM6 4a1 1 0 0 0-1 1v6a1 1 0 0 0 2 0V5a1 1 0 0 0-1-1zm4 0a1 1 0 0 0-1 1v6a1 1 0 0 0 2 0V5a1 1 0 0 0-1-1z

will be minified as
M8 15A7 7 0 118 1a7 7 0 010 14zM6 4a1 1 0 00-1 1v6a1 1 0 002 0V5a1 1 0 00-1-1zm4 0a1 1 0 00-1 1v6a1 1 0 002 0V5a1 1 0 00-1-1z

which is not supported by echarts (apparently). I assume it is a bug in zrender.

Seems to be a bug.

It seems that neither of them is a valid SVG path. See SVG demo here.
A valid SVG path looks like:
M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z

which contains , dividing x and y values.
Please check SVG path data grammar.
If this is the case, ECharts is not responsible for handling such invalid input.

@Ovilia It does render render properly in this SVG demo
Also looking at the spec, it says for example:
coordinate_pair_double::=
    coordinate_pair comma_wsp? coordinate_pair

comma_wsp::=(wsp+ ","? wsp*) | ("," wsp*)
wsp ::= (#x9 | #x20 | #xA | #xC | #xD)

So we have a a coordinate pair with a comma_wsp in between it can either be:

1 or whitespace + optional comma + zero or more white spaces, or
1 comma + zero or more white spaces.

If I look at the start of the minified path:
M8 15A7 7 0 118 1

we can actually produce it with the grammar:
M8 15 is produced by:
moveto(
  "M",
  wsp('') // it's an optional whitespace
  coordinate_pair_sequence(
    coordinate_pair(
      coordinate(8),
      comma_wsp(" "),
      coordinate(15)
    )
  )
);

A7 7 0 118 1 is produced by:
elliptical_arc(
  "A",
  wsp(""), // it's an optional whitespace
  elliptical_arc_argument_sequence(
    elliptical_arc_argument(
      number(7),
      comma_wsp(" "),
      number(7),
      comma_wsp(" "),
      number(0),
      comma_wsp(" "),
      flag(1),
      comma_wsp(""), // it's an optional comma_wsp
      flag(1),
      comma_wsp(""), // it's an optional comma_wsp
      coordinate_pair(
        coordinate(8),
        comma_wsp(" "),
        coordinate(1)
      )
    )
  )
);

@leipert Just to be clear, how do you get this SVG Path? I guess it may be some minifying tool?

Yes, by using https://github.com/svg/svgo

Thanks for the information. I will check it out.

@leipert I checked the ECharts code and it seems that ECharts computes the path commands and draw with these commands. So there may be a bug with this path compiling logic.
Could you please provide the SVG path before minifying with both working and not-working path?
const workingIcon = 'path://M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zM6 4a1 1 0 0 0-1 1v6a1 1 0 0 0 2 0V5a1 1 0 0 0-1-1zm4 0a1 1 0 0 0-1 1v6a1 1 0 0 0 2 0V5a1 1 0 0 0-1-1z';
const nonWorkingIcon = 'path://M8 15A7 7 0 118 1a7 7 0 010 14zM6 4a1 1 0 00-1 1v6a1 1 0 002 0V5a1 1 0 00-1-1zm4 0a1 1 0 00-1 1v6a1 1 0 002 0V5a1 1 0 00-1-1z';


Add a way to know what is being used for event loop

Is there any way I can make sure the event loop extension is working? Or even better, add an env var to set the event loop extension and show error if it's inaccessible.
This part of the doc is quite challenging to me.

Hey @cornzzy, that's not something we have on the roadmap right now. You can check the extension is installed on your environment by running php -m. If any of the extensions are installed, Reverb will use it.


Use translation by default in the auth scaffolding views

To make a multilingual app with auth, I need to change the different auth views to add the trans helper and retrieve lines from language files.
Why not enable this by default ?

Check #15024 i guess that this is the same situation.


Exporting requires internet access

Steps to reproduce

turn off internet
export a novel

Expected behavior
successful export
Actual behavior

LNReader version
1.1.18
Android version
Android 8 miui 8
Device
Huawei p8 lite 2017
Other details
A dev said it should not ask internet access ( a must).
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with a source, I should be opening an issue in the sources repository.
[X] I have updated the app to version 1.1.18.
[X] I will fill out all of the requested information in this form.

Exporting EPUBs would require internet access as the images are downloaded in the process.
Ideally the creation shouldn't fail due to it but that'd be an upstream issue in react-native-epub-creator.


Internal Server Error: When running fiber on vercel

I made a test for this. See https://github.com/AchoArnold/fiber-vercel-test
This line https://github.com/gofiber/adaptor/blob/c8931f7dd8ba2ea3b403db8e0fed70687bbf0a67/main.go#L83 Requires the r.remoteAddr to have a port but vercel doesn't include the port in the request handler.
Can we apply some kind of wrapper around it so it includes the default port :80 if one is missing? I have a POC here
https://github.com/AchoArnold/fiber-vercel-test/blob/d52c862c9102c4bbd0811366f2155decdfdf29ff/server.go#L39
You can see the app live at https://fiber-now-test.achoarnold.vercel.app/ and if I remove the work-around, https://fiber-now-test.achoarnold.vercel.app/error

Hi! Thank you for the report, will do :)
It would also help a bit if you showed me the exact error log from Vercel.

@jozsefsallai, There's no error log from Vercel. It works as it should technically, So it routes the request to our app and our application responds with a 500, internal server error. It's NOT a panic, It's just our application throwing a 500 response when the port is not set.

Nice catch guys, tagged in https://github.com/gofiber/adaptor/releases/tag/v2.0.3 👍

👍🏿 thanks @Fenny


Add node with specific ID

Firstly, I would like to thank you for your work on the plugin, it's the best Vue Flow editor available.
The only issue I am having is with the node ID's. I would like to update the node ID after saving a node to the database (Async). Looking through the code there does not appear to be any support for manually setting the ID (except UUID).
When using the import feature I am able to load the correct ID's however I don't want to import the entire flow when an individual node is saved. Ideally I would like to save the node and then replace the node based on the servers response.
I tried using addNodeImport however getNodeFromId failed as the module name was not returned which resulted in this.drawflow.drawflow[moduleName] being undefined. I don't think using the import feature is they way to go but I thought I would mention what I have tried.
I think the best plan of action would be to add an optional id parameter to addNode which could then be used as the node Id. Please could you let me know if you have any potential concerns with this approach? I understand the connections would also need to be updated, however, this is no big deal as functions exist to create connections.
Let me know what you think and I will take a look if you don't have the capacity at the moment.

Hi @Wolf-Byte
View: https://github.com/jerosoler/Drawflow/issues/126#issuecomment-902159417
And look this comment.

I've changed my logic a little, and made it! I'm running editor.addNode() only after the post, than I can return the new id synchronously with getUuid().

This will surely help you.

Hi @Wolf-Byte
View: #126 (comment)
And look this comment.

I've changed my logic a little, and made it! I'm running editor.addNode() only after the post, than I can return the new id synchronously with getUuid().

This will surely help you.

Thank you for the swift response, I took a look over #126 and for my senario I would prefer not to make two api requests to the server to add a node (One to save the node and the other to get the id within getUuid).
I could store the id from the first response in a variable and then use the variable within getUuid however, I envisage this becoming a little confusing especially as we are using HashIds. I would also need to bind the context to functions which adds another layer of complexity.
For now I opted to add an additional parameter to the addNode function, when set the value will be applied to the nodes id.
I have not created a pull request, however, if you would like me to just let me know.
https://github.com/Wolf-Byte/Drawflow/commit/d9e5cbd1dea1b5dd3dd90039f44debfde0f7e53e
Many thanks again,
Joel

I prefer not to add that ids can be added, as it can cause duplicate id's problem.
Another simpler option:
editor.addNodeId  = function (name, num_in, num_out, ele_pos_x, ele_pos_y, classoverride, data, html, typenode = false, id) {
          const lastId = editor.nodeId;
          editor.nodeId = id;
          editor.addNode(name, num_in, num_out, ele_pos_x, ele_pos_y, classoverride, data, html, typenode = false)
          editor.nodeId = lastId;
        }

editor.addNodeId('github', 0, 1, 100, 375, 'github', data, '
Hey

', false, "hii");

I prefer not to add that ids can be added, as it can cause duplicate id's problem.
Another simpler option:
editor.addNodeId  = function (name, num_in, num_out, ele_pos_x, ele_pos_y, classoverride, data, html, typenode = false, id) {
          const lastId = editor.nodeId;
          editor.nodeId = id;
          editor.addNode(name, num_in, num_out, ele_pos_x, ele_pos_y, classoverride, data, html, typenode = false)
          editor.nodeId = lastId;
        }

editor.addNodeId('github', 0, 1, 100, 375, 'github', data, '
Hey

', false, "hii");

I totally understand @jerosoler, the id parameter could cause confusion and result in duplicates if not properly used. I really like your solution to create a new function and the set the nodeId prior to calling addNode.
Thanks again


[Doc] Need more information in "Logging in to Salesforce with Integrated Windows Authentication" page

When I'm referring for Salesforce SSO with IWA, coudn't find the information on
why we are using Entity ID
How we get the value which doc mentioning
I just copy paste the value mentioned in the Doc.  Please add some more information to the Doc regarding this

[1] https://docs.wso2.com/display/IS540/Logging+in+to+Salesforce+with+Integrated+Windows+Authentication

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


Support fragments on Unions and Interfaces

@fubhy's comments in gitter:
Fragments currently don't work with interfaces or union types... only normal types or composite types.
E.g. this doesn't work:
query {
  somethingThatReturnsAUnion(foo: "bar") {
     ... on Something { // Something is a valid type for this union!
        id
     }
  }
}

That is, because we currently only load the inner type (resolve any compose types) and then compare the name of that type with the name of the fragment. In case of unions/interfaces however, we need to also compare it with any of the possible types of the interface/union.
And even possible further nested types.
Will add failing test case.

Unions work now, have to add Interfaces support

fixed by @fubhy in the v<IP_ADDRESS>


Should typespec error if a model used for merge patch includes a nullable property

In the below scenario since the model is used for merge patch it should include null in the possible range of values for any of its properties.
model Foo {
  name?: string
  description?: string | null
}

op Update(@header content-type: "application/merge-patch+json", ...Foo) : void

I believe you mean should not include null? E.g. that you have an example of an error case, here? If so, I agree, although I could imagine ignoring/suppressing the error if you don't particularly care that you can't update a field's value to null for whatever reason.

add a warning diagnostic in http lib when this occurs (linting rule)

est: 3


Implement PEM encoding and decoding

Another feature recently implemented in the Java SDK: https://github.com/hashgraph/hedera-sdk-java/pull/209

@danielakhterov PEM encoding is
LINE OF TEXT HERE
BASE 64 DATA OF KEY
LINE OF TEXT HERE

Split by line
Grab [1] line
Optionally decrypt
Base64-decode
Pass to other methods

Closed by #204


Choices only working as curly braces, not as child elements

In the following example, the div gets appended to the ui-select element rather than appearing in the list. The effect is that I a bunch of blank lines in the select box.
<ui-select ng-model="user.selected">
    <ui-select-match placeholder="existing user">{{$select.selected.name}}</ui-select-match>
    <ui-select-choices repeat="user in users track by $index" refresh="refreshUsers($select.search)" refresh-delay="0">

    </ui-select-choices>
</ui-select>

Whereas here, it works fine
<ui-select ng-model="user.selected">
    <ui-select-match placeholder="existing user">{{$select.selected.name}}</ui-select-match>
    <ui-select-choices repeat="user in users track by $index" refresh="refreshUsers($select.search)" refresh-delay="0">
        {{ user.name }}
    </ui-select-choices>
</ui-select>

Does anyone know why this might be happening?

I am seeing this problem in some cases as well. Curly brace works. I thinking there is some issue with ng-bind-html and how the data is loaded on initialization. When I ng-bind-html, the select choices are all there, but have nothing to display but their padding. The selection displays the name correctly.
Which angular version did you upgrade to get the better error message? I am on 1.2.18.

Closing this issue as over a year old and doesn't have a repro sample.
If you believe its still relevant please update with a plunkr (or similar) against the latest version of ui-select (currently v0.15.0)


Values in yhat don't look like truthful

Hi!
After I do np.exp for yhat* values and print in table
from math import exp
forecast = m.predict(future)
yy=forecast[['ds', 'yhat', 'yhat_lower', 'yhat_upper']]

yy['yhat'] = np.exp(yy['yhat'])

yy['yhat_lower'] = np.exp(yy['yhat_lower'])

yy['yhat_upper'] = np.exp(yy['yhat_upper'])

yy

I saw historical values, which don't seems like in my initial data:
ds 	yhat 	yhat_lower 	yhat_upper
0 	2015-01-01 	374.115050 	323.454765 	430.314696
1 	2015-01-02 	404.581531 	352.531571 	463.097451
2 	2015-01-03 	454.509094 	393.739375 	520.577848
3 	2015-01-04 	417.631754 	360.478112 	477.366897

When my initial data:
2015-01-01,433
2015-01-02,471
2015-01-03,424
2015-01-04,404

I think,that it some mistake or model is very-very bad

I don't think I can really say what exactly is happening here. It is entirely possible that the model is a poor fit for these data, and that seems most likely. You might try setting the input parameter mcmc_samples to something like 500 to get better results (certainly better uncertainty) and try using plots to diagnose the source of the bad fit (maybe outliers? overfitting that can be adjusted with parameters?). If you post a plot of the forecast I might be able to give some comment on why the model is fitting poorly.

maybe I know what's your meaning, the 2015 data is real data,not the predict data . So ,the df.head should be equal to the initial data , maybe there is some problem with output function

def make_future_dataframe(self, periods, freq='D', include_history=True):

This seems to be a matter of a bad forecast on this dataset, I don't think there is a bug here so I'm going to close this for now.


Is-Active Double Bottom Border

The "is-active" class is being assigned twice, leading to an unintended double border at the bottom of the current active tab. Here is the relevant HTML snippet for reference:

        Company Info

Example

which leads double border on the bottom of current active tab
I am giving styles to is-active class as follows:
.is-active {
  font-weight: 500;
  padding-bottom: 10px;
  border-bottom: 1px solid #00DC8C;
}

To resolve this, I would like to take responsibility for fixing this issue. I believe that ensuring only one element receives the is-active class will eliminate the styling conflict and improve the user experience.
Please assign this issue to me so I can proceed with the fix. If there is a recommended approach for addressing this issue or if it has already been resolved in a recent update, kindly let me know.
Thank you for your attention to this matter. I look forward to your response.
@Jacobs63

The is-active should rather be considered as a modifier.
I don't see why this class could not be on both elements, since they're both active.
The simple resolution would be:
.nav-item.is-active {
  font-weight: 500;
  padding-bottom: 10px;
  border-bottom: 1px solid #00DC8C;
}

Or:
.tabs-component-tab-a.is-active {
  font-weight: 500;
  padding-bottom: 10px;
  border-bottom: 1px solid #00DC8C;
}

I do not believe this to be an package issue when it is not caused by the package, rather by using a css selector that does not apply to the desired element.

I got your point Thank You so much..


[BUG] Old TV/Phone UI Shows Up

Steps to reproduce:

Launch App
Reset Channel Data
You are in the old non-Leanback UI that's also used for the phone UI

I don't think that's supposed to happen right?

No it shouldn't happen. I think that I can quickly add an intent redirect
on TVs.
On Mon, May 16, 2016, 1:57 AM Brandon Giesing<EMAIL_ADDRESS>wrote:

Steps to reproduce:

Launch App
Reset Channel Data
You are in the old non-Leanback UI that's also used for the phone UI

I don't think that's supposed to happen right?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/Fleker/CumulusTV/issues/118


Updates the Android Gradle Plugin to 4.2.0-alpha10

Thanks for the PR but we're changing our process a little and will be removing the develop branch. I re-targetted this to the dev_alpha02 branch but there are now some conflicts. If you want to address we can try and land this but we plan to pick up the same changes in our work to update all samples to alpha03 in the dev_alpha03 branch soon.

@googlebot I consent.

@nickbutcher I resolved the merge conflict through Github's UI (didn't even know I could do that!) but now the CLA is failing. I give consent for my commits to be included

Closing as it's obsolete.
Thanks for the changes!


Deprecate brew cask update

brew cask update is simply an alias to brew update. Even so, it’s somewhat common for me to see people recommend brew cask upgrade, or even worse, brew update && brew cask update.
Especially now that two projects are integrated, I think we should just scrape brew cask update altogether, having a transitional period where it will encourage users to simply brew update instead.
Pinging @caskroom/maintainers @MikeMcquaid.

Pretty much in favor of the suggestion! I feel the current behavior blatantly violates POLA.
@vitorgalvao Picking up on your suggestion, I could imagine a transition as follows:

during the transitional period, we want to print a friendly warning while brew cask update continues to “work”,

(optionally) towards the end of the transitional period, we might want to add a deadline to the warning – given the number of bad scripts that appear to be out there, not only would such a warning convey a proper sense of urgency to our users; it would also protect maintainers from non-productive complaints wasting their time post-shutoff,

finally, remove the brew cask update command altogether the night after the deadline without additional notice.

@claui's plan sounds great to me.


Carving

Consider adding a feature that will allow carving based on the degree of depression nesting, etc.

I'm going to close this -- it is an old thought (less-nested depressions more likely to be carved) but I think it falls outside of the scope of DH sensu strictu.


Cranelift: can we get rid of debug_trap?

I think these were a SpiderMonkey-ism? Unused now, AFAICT.

It may be useful for other jit's in the future.

After discussing this in today's cranelift meeting, it seems like the best course of action is probably to remove debug_trap instead, and keep resumable_trap. They are identical except that resumable_trap has a trap code. If the user doesn't want a trap code they can always ignore it or use a custom user trap code that effectively means "no trap code".

Note that debug_trap must keep int3 as lowering. Otherwise debuggers get confused. This could be done by adding a trap code for a breakpoint. I don't think there is precedent for changing codegen depending on the trap code though. I believe it is currently extra information that can be stored in a side table.

I think we must have gotten rid of this at some point, because debug_trap no longer exists in the code base.

It is now called debugtrap and still used by cg_clif for implementing the breakpoint rust intrinsic.

Yeah, I actually discovered the renaming that took place at some point just now as well.
Is there a reason that cg_clif has to use debugtrap instead of a normal trap?

trap generates ud2 which is not resumable and produces SIGILL, while debugtrap generates int3 which is resumable and which debuggers handle identical to a breakpoint set using the debugger itself.

Gotcha.
FWIW, debugtrap produces hlt, not int3, on x64 right now. I guess this doesn't matter though?

It actually generates int3, but the instruction is called wrong in the Cranelift backend: https://github.com/bytecodealliance/wasmtime/blob/34b6b6738e22e13e66336a28fb4f1a1beb3e46e5/cranelift/codegen/src/isa/x64/inst/emit.rs#L4018-L4020 0xcc is int3. hlt would be 0xf4.

Good to know. Either way, it seems like we shouldn't actually get rid of this, so I'm leaving the issue closed.


Showing double border

Description
When I tried to search profiles and did focus on input, it was showing both blue and red borders. I am curious if this is an intentional design choice or if it may be an error. If it is a bug, I will be more than happy to work on this.
Screenshots

Additional information
No response

Goos spot 👍  I think this is a bug, it could be due to the border width. I have assigned it to you @Vee339

are u still working on it

are u still working on it

Yes, I am working on this

are u still working on it

@manishitMani I know you are excited to work on an issue, but please read the contributing guide, we allow 2 weeks for people to work on an assigned issue. By chasing assignee it can make them feel uncomfortable and put under extra pressure - plus increases notifications for everyone.
I recommend you look at issues that are ready for dev and not assigned (unless there has been no activity for 2 weeks, then we can reassign)

Ok
On Wed, 26 Apr, 2023, 12:27 pm Eddie Jaoude, @.***>
wrote:

are u still working on it
@manishitMani https://github.com/manishitMani I know you are excited to
work on an issue, but please read the contributing guide
https://github.com/EddieHubCommunity/LinkFree/blob/main/CONTRIBUTING.md,
we allow 2 weeks for people to work on an assigned issue. By chasing
assignee it can make them feel uncomfortable and put under extra pressure -
plus increases notifications for everyone.
I recommend you look at issues that are ready for dev and not assigned
(unless there has been no activity for 2 weeks, then we can reassign)
—
Reply to this email directly, view it on GitHub
https://github.com/EddieHubCommunity/LinkFree/issues/6310#issuecomment-1522884060,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZBD4NKSM4AGBDQ2NPCBWOLXDDBMXANCNFSM6AAAAAAXIRYZ5M
.
You are receiving this because you were mentioned.Message ID:
@.***>


Vite warnings when Sourcemaps are enabled

Describe the bug
When sourcemaps are enabled in Vite and building for production, the following warnings are emitted:
vite v5.2.6 building for production...
<EMAIL_ADDRESS>(1:0): Error when using sourcemap for reporting an error: Can't resolve original location of error.
<EMAIL_ADDRESS>(1:0): Error when using sourcemap for reporting an error: Can't resolve original location of error.
<EMAIL_ADDRESS>(1:0): Error when using sourcemap for reporting an error: Can't resolve original location of error.

Your minimal, reproducible example
https://stackblitz.com/edit/vitejs-vite-6wvpyq?file=src%2FApp.css
Steps to reproduce
I tried to repro it in the stackblitz above but could not with a very basic layout, so it might just be something I do in the rest of my app. If there is any indication of that, please just close the issue.
The project is an electron react app, using Vite to bundle.
Expected behavior
No warning in console.
How often does this bug happen?
Every time
Screenshots or Videos

Platform

Item
Value

Remote
WSL: Ubuntu

OS
Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

CPUs
AMD Ryzen 9 3900X 12-Core Processor (24 x 3800)

Memory (System)
31.31GB (28.82GB free)

VM
0%

Tanstack Query adapter
react-query
TanStack Query version
5.28.8
TypeScript version
5.4.3
Additional context
No response

Info for the next traveler:
https://github.com/vitejs/vite/issues/15012 has more conversation on this. It seemed to be an issue in Rollup, but perhaps caused by an issue in esbuild.
sapphi-red there noted it may related to esbuild sourcemaps not having a mapping for 'use client' directives. (https://github.com/evanw/esbuild/issues/3548)
In the meantime, cgaube has a plugin that can hide the warnings.

Solution: bump @vitejs/plugin-react to 4.3.2 or higher


Add domain tag to unregistered field error

What changed?
Add domain tag to unregister field error for ElasticSearch, so we can know where it come from and fix

Why?

How did you test it?
Existing tests

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 01860a48-03af-4aee-b6a6-4d4e706c62b9

2 of 4 (50.0%)  changed or added relevant lines in 1 file are covered.
57 unchanged lines in 11 files lost coverage.
Overall coverage increased (+0.09%) to 57.244%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

service/worker/indexer/processor.go
2
4
50.0%

Files with Coverage Reduction
New Missed Lines
%

service/history/queue/timer_queue_processor_base.go
1
77.26%

common/backoff/retry.go
2
92.11%

common/task/fifoTaskScheduler.go
2
85.57%

common/task/weightedRoundRobinTaskScheduler.go
2
89.12%

common/util.go
2
52.54%

service/history/shard/context.go
2
67.3%

common/persistence/nosql/nosqlplugin/cassandra/workflow.go
3
60.0%

service/matching/taskListManager.go
3
76.87%

service/history/task/transfer_standby_task_executor.go
4
85.98%

common/persistence/nosql/nosqlplugin/cassandra/workflowParsingUtils.go
14
87.16%

Totals

Change from base Build 0185a15c-5142-4e65-9f81-ac35d905aee5:
0.09%

Covered Lines:
84994

Relevant Lines:
148476

💛  - Coveralls


If the existing implementation supports arm64 linux, do we need to make many changes?

If the existing implementation supports arm64 linux, do we need to make many changes?

ARM64 (Linux, macOS, Windows) support is possible by compiling this library for the corresponding OS.
One can try that. I can't test arm64 devices here.

Except, of course, I could try Qemu with arm64 compiled binaries.  Help is appreciated.

I'd be happy to participate, but I don't know much about it and I probably can't submit much help.

I found two articles
https://github.com/mpromonet/webrtc-streamer/wiki/Cross-compile-WebRTC-for-Raspberry-Pi/584f937d5396196fc9093582274b69c5a8e5287a?_ga=2.216402773.296291003.1675945176-861602644.1674317035
https://stackoverflow.com/questions/38637212/cross-compile-webrtc-for-arm?_ga=2.216402773.296291003.1675945176-861602644.1674317035
but have failed on the penultimate line "fetch --no-history webrtc" on my raspberry pi4 (armhf)
in line "sudo debootstrap --arch armhf --foreign --include=g++,libasound2-dev,libpulse-dev,libudev-dev,libexpat1-dev,libnss3-dev,libgtk2.0-dev wheezy rootfs" need to replace wheezy to correct linux distribution
after success execution may to try maven build


Implement StageLabel for Box

The use-case that I couldn't achieve with the current API of Bevy was iterating over all existing stages and inserting additional stages that would execute before or after the iterated ones.

Here's, for instance, the code that I wrote to measure stages execution time with Puffin that requires this
let stages = builder
    .app
    .schedule
    .iter_stages()
    .map(|(stage_label, _)| stage_label.dyn_clone())
    .collect::<Vec<_>>();
for stage_label in stages {
    let puffin_id: &'static str = Box::leak(format!("{:?}", stage_label).into_boxed_str());
    let before_stage_label: &'static str =
        Box::leak(format!("puffin_before {:?}", stage_label).into_boxed_str());
    let after_stage_label: &'static str =
        Box::leak(format!("puffin_after {:?}", stage_label).into_boxed_str());
    let stage_label_to_remove = stage_label.dyn_clone();
    builder.add_stage_before(
        stage_label.dyn_clone(),
        before_stage_label,
        SystemStage::parallel().with_system(
            (move |_world: &mut World| {
                PUFFIN_SCOPES.with(|scopes| {
                    let mut scopes = scopes.borrow_mut();
                    scopes.insert(
                        stage_label.dyn_clone(),
                        puffin::ProfilerScope::new(
                            puffin_id,
                            puffin::current_file_name!(),
                            "",
                        ),
                    );
                });
            })
            .exclusive_system(),
        ),
    );
    builder.add_stage_after(
        stage_label_to_remove.dyn_clone(),
        after_stage_label,
        SystemStage::parallel().with_system(
            (move |_world: &mut World| {
                PUFFIN_SCOPES.with(|scopes| {
                    let mut scopes = scopes.borrow_mut();
                    scopes.remove(&stage_label_to_remove);
                });
            })
            .exclusive_system(),
        ),
    );
}

CI error is an ICE on nightly from wgpu
error: internal compiler error: failed to process buffered lint here (dummy = false)
  --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-core-0.9.2/build.rs:7:5
   |
7  | /     cfg_aliases::cfg_aliases! {
8  | |         // Vendors/systems
9  | |         wasm: { target_arch = "wasm32" },
10 | |         apple: { any(target_os = "ios", target_os = "macos") },
...  |
18 | |         gl: { any(wasm, unix_wo_apple) },
19 | |     }
   | |_____^
   |
   = note: delayed at /rustc/014026d1a7ca991f82f12efa95ef4dffb29dc8af/compiler/rustc_lint/src/early.rs:402:18
   = note: this error: internal compiler error originates in the macro `$crate::cfg_aliases` (in Nightly builds, run with -Z macro-backtrace for more info)

The downside here is that it seems like this would allow Box<Box<Box<dyn SystemLabel>>> if you aren't careful. The example above already results in one level of nesting. Unfortunately, I don't have a good solution to this problem that doesn't involve changing our interfaces to:
    pub fn add_stage_before<S: Stage>(
        &mut self,
        target: &dyn StageLabel,
        label: &dyn StageLabel,
        stage: S,
    ) -> &mut Self {

Then cloning when ownership is needed. Requiring references here seems like a net loss in UX relative to nested boxes.

Agreed. Nested boxes is an obvious code smell, so I'm not too concerned about that. The ergonomics loss is more important.
It would be nice to have the same change made for the other label types, but it's not immediately clear that this PR is the place to do it.

In this case, the nested boxing isn't particularly obvious. The type is never written out and the boxing happens internally on a method that accepts a impl StableLabel. If you aren't aware of this behavior, it will "just happen".
Imagine a worst case scenario where you write logic that moves stages around on every frame, cloning and reusing the label on each frame. You would have nested boxing on a level that should never be allowed.

@cart what if we change our APIs to use dyn StageLabel and force a Copy bound? The label types should be fine to be copied, and that removes the UX loss.

dyn StageLabel isn't an option because it doesn't have a size (which will fail to compile). Only &dyn StageLabel works (and copy isn't required here, clone works equally well / would be abstracted from the user). And requiring references for labels doesn't feel great to me (as I mentioned above).

Hey @cart, I agree, allowing Box<Box<Box<dyn StageLabel>>> would be unfortunate.
I assumed that doing as_ref inside the self.as_ref().dyn_clone() expression would avoid that. But I'm not sure how to check it. (Though the thing I'm certain of is that it avoids going into infinite recursion.)
Not sure whether this confirms anything, but the debugger seems to suggest that both variables point to the same address, so I'd assume that there's no double-indirection.

Omg, they do point to the different addresses! I shouldn't write anything in GitHub right before going to sleep. :D
Yeah, it sucks...

I've made a little playground reproduction that should be helpful for experiments and explanations.

Might be helpful to extend it with an impl Label for Box<dyn Label> and a function that takes an impl Label as input and stores a boxed version of it, for a baseline reproduction of the desired api.

Arg sorry you already did the Label impl

Boxing a box is very possible with this style of api:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=352832b951b3d9548ed8e46d74a24b06
dyn_clone() can be implemented in a way to avoid the double boxing. However double-boxing can still occur if you call Box::new() on a T: Label, where T is boxed label. In practice this would mean disallowing calling Box::new on Labels by convention (in favor of calling dyn_clone()). This makes me more than a little bit uncomfortable.
@BoxyUwU  called out that we could impl Label for BoxedLabel, where struct BoxedLabel(Box<dyn Label>), to at least avoid accidentally passing in a Box<dyn Label> into something that accepts T: Label and boxes it internally. But it would still require adopting the "no boxing T: Label by convention" pattern. This is relatively enforceable on our end (but would require vigilance). And users writing functions that accept T: Label and box it should be relatively uncommon.
But this lack of real type safety still gives me pause. People generally assume they can safely box traits.

Good call @cart! I've added the wrapper type, which hopefully will help to avoid passing Box<dyn Label> to impl Label functions, but yeah, it's still perfectly possible to add an additional level of wrapping by doing something like BoxedLabel(Box::new(boxed_label)).
Also, unfortunately, it's impossible to make the BoxedLabel constructor private, as we have the StageLabel derive, which requires it.
I get the type safety concern so I'll understand if this won't be merged. But having said that I'd still be glad to see it released, as it unblocks me from using the iter_stages function, until we get stageless executors.

Also, unfortunately, it's impossible to make the BoxedLabel constructor private, as we have the StageLabel derive, which requires it.

Could we make it #[doc(hidden)] at least?

What's the status of this now that #4957 has been merged?

This can be closed out; we can make an equivalent PR if the need arises.


fix ruby 2.6

docker-compose up --build rspec-2.6
rspec-2.6_1  | Fetching gem metadata from https://rubygems.org/.........
rspec-2.6_1  | Your bundle is locked to dry-struct (1.5.2) from rubygems repository
rspec-2.6_1  | https://rubygems.org/ or installed locally, but that version can no longer be
rspec-2.6_1  | found in that source. That means the author of dry-struct (1.5.2) has removed
rspec-2.6_1  | it. You'll need to update your bundle to a version other than dry-struct (1.5.2)
rspec-2.6_1  | that hasn't been removed in order to install.
k8s-ruby_rspec-2.6_1 exited with code 7

commented out 2.6 in https://github.com/k8s-ruby/k8s-ruby/commit/587a7c1ee44f76dff8265cc07386fad3a22755cf for now

#39


Remove Old History, Old Swap, All Rx Library!!!! - After removing FT

Description of the changes

Wait after FT "keyapp_swap_jupiter_enabled" and "history_service_enabled" are allowed to be removed

Needs to remove "jupiterSwapEnabled" FT from the list, since it has no use anymore

Remove New folder from: "WalletDetail/New" -> "WalletDetail/"

Needs to remove "jupiterSwapEnabled" FT from the list, since it has no use anymore

It has already been removed. Or did you mean "remove from firebase"?

Remove "New" folder from: "WalletDetail/New" -> "WalletDetail/"

Thanks. But at the moment I will only remove file, the file structure will be keep unchanged to prevent it from conflict with wormhole


This is a question about CSS styling

(The current content is translated by software. Please excuse me if there is any impoliteness. )
I would like to ask the author about the issue of custom CSS styles. I can only think of asking here.
Currently, my custom CSS style file does not take effect in "the editing mode of the whiteboard card" and "right-click to open in a new window".
I have searched online and still haven't found relevant posts. However, I found that the effect of the minimal theme can work normally. But my code knowledge is close to zero and I can't understand the code content of the theme file, so I come to ask the author for advice.
(Screenshots are for demonstration purposes and the minimal theme has not been enabled.)

Please use the appearance channels in Obsidian's official community
https://obsidian.md/community

请使用 Obsidian 官方社区中的出现频道 https://obsidian.md/community

OK. Thank you for your suggestion. I'll give it a try.


HADOOP-17277. Correct spelling errors for separator

NOTICE
Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HADOOP-XXXXX. Fix a typo in YYY.)
For more details, please see https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
28m 26s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s
No case conflicting files found.

+0 :ok:
markdownlint
0m  1s
markdownlint was not available.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+0 :ok:
mvndep
3m 21s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
26m 15s
trunk passed

+1 :green_heart:
compile
19m 33s
trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
compile
17m 49s
trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
checkstyle
2m 45s
trunk passed

+1 :green_heart:
mvnsite
9m 25s
trunk passed

+1 :green_heart:
shadedclient
26m 44s
branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
5m 27s
trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javadoc
6m 50s
trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+0 :ok:
spotbugs
0m 41s
Used deprecated FindBugs config; considering switching to SpotBugs.

+0 :ok:
findbugs
0m 21s
branch/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site no findbugs output file (findbugsXml.xml)

+0 :ok:
findbugs
0m 21s
branch/hadoop-hdfs-project/hadoop-hdfs-native-client no findbugs output file (findbugsXml.xml)

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 27s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
8m  0s
the patch passed

+1 :green_heart:
compile
18m 48s
the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

-1 :x:
cc
18m 48s
root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 generated 8 new + 155 unchanged - 8 fixed = 163 total (was 163)

+1 :green_heart:
golang
18m 48s
the patch passed

+1 :green_heart:
javac
18m 48s
the patch passed

+1 :green_heart:
compile
16m 49s
the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

-1 :x:
cc
16m 49s
root-jdkPrivateBuild-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01 with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01 generated 30 new + 133 unchanged - 30 fixed = 163 total (was 163)

+1 :green_heart:
golang
16m 49s
the patch passed

+1 :green_heart:
javac
16m 49s
the patch passed

+1 :green_heart:
checkstyle
2m 40s
the patch passed

+1 :green_heart:
mvnsite
10m 20s
the patch passed

-1 :x:
whitespace
0m  0s
The patch 1 line(s) with tabs.

+1 :green_heart:
shadedclient
14m  7s
patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
5m 25s
the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javadoc
7m  5s
the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+0 :ok:
findbugs
0m 19s
hadoop-hdfs-project/hadoop-hdfs-native-client has no data from findbugs

+0 :ok:
findbugs
0m 23s
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site has no data from findbugs

_ Other Tests _

+1 :green_heart:
unit
9m 34s
hadoop-common in the patch passed.

-1 :x:
unit
99m 34s
hadoop-hdfs in the patch passed.

+1 :green_heart:
unit
8m  9s
hadoop-hdfs-native-client in the patch passed.

-1 :x:
unit
8m 33s
hadoop-hdfs-rbf in the patch passed.

-1 :x:
unit
145m 36s
hadoop-yarn in the patch failed.

-1 :x:
unit
0m 37s
hadoop-yarn-site in the patch failed.

-1 :x:
unit
0m 38s
hadoop-mapreduce-client-nativetask in the patch failed.

+0 :ok:
asflicense
0m 37s
ASF License check generated no output?

537m 13s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.namenode.TestNameNodeRetryCacheMetrics

hadoop.hdfs.server.namenode.ha.TestUpdateBlockTailing

hadoop.hdfs.TestSnapshotCommands

hadoop.hdfs.TestFileChecksumCompositeCrc

hadoop.hdfs.TestFileChecksum

hadoop.hdfs.TestGetFileChecksum

hadoop.hdfs.server.federation.router.TestRouterRpcMultiDestination

hadoop.yarn.server.resourcemanager.reservation.TestCapacityOverTimePolicy

hadoop.yarn.server.resourcemanager.recovery.TestLeveldbRMStateStore

Subsystem
Report/Notes

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

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

Optional Tests
dupname asflicense mvnsite markdownlint compile cc javac unit golang javadoc mvninstall shadedclient findbugs checkstyle

uname
Linux 85652c44d161 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 7a6265ac425

Default Java
Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

cc
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2322/1/artifact/out/diff-compile-cc-root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt

cc
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2322/1/artifact/out/diff-compile-cc-root-jdkPrivateBuild-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01.txt

whitespace
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2322/1/artifact/out/whitespace-tabs.txt

unit
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2322/1/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt

unit
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2322/1/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs-rbf.txt

unit
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2322/1/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn.txt

unit
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2322/1/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-site.txt

unit
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2322/1/artifact/out/patch-unit-hadoop-mapreduce-project_hadoop-mapreduce-client_hadoop-mapreduce-client-nativetask.txt

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

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

modules
C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-native-client hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask U: .

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

versions
git=2.17.1 maven=3.6.0 findbugs=4.0.6

Powered by
Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 29s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+0 :ok:
markdownlint
0m  0s
markdownlint was not available.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+0 :ok:
mvndep
3m 20s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
26m 12s
trunk passed

+1 :green_heart:
compile
19m 37s
trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
compile
16m 53s
trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+1 :green_heart:
checkstyle
2m 45s
trunk passed

+1 :green_heart:
mvnsite
9m 10s
trunk passed

+1 :green_heart:
shadedclient
26m 21s
branch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
5m 35s
trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javadoc
6m 57s
trunk passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+0 :ok:
spotbugs
0m 42s
Used deprecated FindBugs config; considering switching to SpotBugs.

+0 :ok:
findbugs
0m 24s
branch/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site no findbugs output file (findbugsXml.xml)

+0 :ok:
findbugs
0m 25s
branch/hadoop-hdfs-project/hadoop-hdfs-native-client no findbugs output file (findbugsXml.xml)

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 28s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
7m 56s
the patch passed

+1 :green_heart:
compile
18m 54s
the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

-1 :x:
cc
18m 53s
root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 generated 8 new + 155 unchanged - 8 fixed = 163 total (was 163)

+1 :green_heart:
golang
18m 53s
the patch passed

+1 :green_heart:
javac
18m 53s
the patch passed

+1 :green_heart:
compile
16m 56s
the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

-1 :x:
cc
16m 56s
root-jdkPrivateBuild-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01 with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01 generated 29 new + 134 unchanged - 29 fixed = 163 total (was 163)

+1 :green_heart:
golang
16m 56s
the patch passed

+1 :green_heart:
javac
16m 56s
the patch passed

+1 :green_heart:
checkstyle
2m 43s
the patch passed

+1 :green_heart:
mvnsite
9m 58s
the patch passed

-1 :x:
whitespace
0m  0s
The patch 1 line(s) with tabs.

+1 :green_heart:
shadedclient
14m  2s
patch has no errors when building and testing our client artifacts.

+1 :green_heart:
javadoc
5m 37s
the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1

+1 :green_heart:
javadoc
7m  5s
the patch passed with JDK Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

+0 :ok:
findbugs
0m 22s
hadoop-hdfs-project/hadoop-hdfs-native-client has no data from findbugs

+0 :ok:
findbugs
0m 24s
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site has no data from findbugs

_ Other Tests _

+1 :green_heart:
unit
9m 19s
hadoop-common in the patch passed.

-1 :x:
unit
100m  6s
hadoop-hdfs in the patch passed.

+1 :green_heart:
unit
8m 57s
hadoop-hdfs-native-client in the patch passed.

+1 :green_heart:
unit
9m 30s
hadoop-hdfs-rbf in the patch passed.

-1 :x:
unit
226m  0s
hadoop-yarn in the patch passed.

+1 :green_heart:
unit
0m 42s
hadoop-yarn-site in the patch passed.

+1 :green_heart:
unit
10m 50s
hadoop-mapreduce-client-nativetask in the patch passed.

+1 :green_heart:
asflicense
1m 11s
The patch does not generate ASF License warnings.

599m  9s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.namenode.TestNameNodeRetryCacheMetrics

hadoop.hdfs.TestMaintenanceState

hadoop.hdfs.TestSnapshotCommands

hadoop.hdfs.TestDFSStripedOutputStreamWithRandomECPolicy

hadoop.hdfs.TestDecommissionWithStripedBackoffMonitor

hadoop.hdfs.server.datanode.TestBPOfferService

hadoop.hdfs.TestDecommissionWithStriped

hadoop.hdfs.server.blockmanagement.TestUnderReplicatedBlocks

hadoop.hdfs.TestErasureCodingExerciseAPIs

hadoop.hdfs.TestErasureCodingPolicies

hadoop.hdfs.TestFileChecksumCompositeCrc

hadoop.hdfs.TestFileChecksum

hadoop.yarn.applications.distributedshell.TestDistributedShell

hadoop.yarn.server.resourcemanager.security.TestDelegationTokenRenewer

Subsystem
Report/Notes

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

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

Optional Tests
dupname asflicense mvnsite markdownlint compile cc javac unit golang javadoc mvninstall shadedclient findbugs checkstyle

uname
Linux 0b60ee0c7d97 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 6b5d9e2334b

Default Java
Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01

cc
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2322/2/artifact/out/diff-compile-cc-root-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt

cc
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2322/2/artifact/out/diff-compile-cc-root-jdkPrivateBuild-1.8.0_265-8u265-b01-0ubuntu2~18.04-b01.txt

whitespace
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2322/2/artifact/out/whitespace-tabs.txt

unit
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2322/2/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt

unit
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2322/2/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn.txt

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

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

modules
C: hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-native-client hadoop-hdfs-project/hadoop-hdfs-rbf hadoop-yarn-project/hadoop-yarn hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask U: .

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

versions
git=2.17.1 maven=3.6.0 findbugs=4.0.6

Powered by
Apache Yetus 0.13.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

All LGTM; sole change I think we need is to revert the fix for the .h file,
as I don't know where that #define is.
We have to consider it public API.
Thanks for review ！
Done


Replace usage of uint256.NewInt(0).SetUint64(xx) with uint256.NewInt(xx)

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1285  👈
#1283
#1284
feature/proof-of-stake

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @lazynina and the rest of your teammates on  Graphite

Merge activity

May 7, 9:37 AM EDT: @lazynina started a stack merge that includes this pull request via Graphite.


5.회신기능 추가

lib/main.dart에 'forgot-password'가 path로 설정되어 있는 GoRoute 부분에 final arguments = state.queryParameters; 부분에서 이대로 실행할 시 queryParameters 부분에서 "The getter 'queryParameters' isn't defined for the type 'GoRouterState'. Try importing the library that defines 'queryParameters', correcting the name to the name of an existing getter, or defining a getter or field named." 라는 error가 발생합니다. 이를 final arguments = state.uri.queryParameters;로 수정하니 잘 실행되었습니다.

Firebase for Flutter -> 5.(Add reply function.. maybe?)
In the lib/main.dart file, within the GoRoute section where 'forgot-password' is set as the path, when executing as it is with 'final arguments = state.queryParameters;', an error "The getter 'queryParameters' isn't defined for the type 'GoRouterState'. Try importing the library that defines 'queryParameters', correcting the name to the name of an existing getter, or defining a getter or field named." occurs. This was resolved by modifying it to 'final arguments = state.uri.queryParameters;'.

Hi @ChilsungCider. Thanks for filing this. Per this PR https://github.com/flutter/codelabs/pull/1791, I see this has been fixed and should be released soon. See also: https://github.com/flutter/codelabs/blob/main/firebase-get-to-know-flutter/step_05/lib/main.dart
Thank you!


parent option

I can't make the parent option work..

The parent option works fine for us.
Could you please provide some code or a fiddle ?

This is a demo i created jsfiddle demo
This is the script:
// Script without the parent option
$(function() {
  $("img.scale").imageScale();
});
// Script with the parent option
$(function() {
  $("img.scale-child").imageScale({
  	parent: 'div.image-container-parent'
  });
});

I hope i am using it in a right way.
I hope you can help me on my problem.

Thanks for the example.
The problem is that the parent option require a jQuery object.
You should change parent: 'div.image-container-parent' by parent: $('div.image-container-parent')


Exception in org.apache.mesos.chronos.scheduler.mesos.MesosJobFramework.resourceOffers

We're running up against an exception from within the chronos service that causes mesos to stop offering resources to the chronos framework. The chronos framework is still visible in the mesos ui, but it just doesn't have any resources, so it cannot run any jobs. The service is running on a master node, which is also running mesos-master and marathon. Here's some info on the master node:
[centos@master-1 ~]$ java -version
openjdk version "1.8.0_45"
OpenJDK Runtime Environment (build 1.8.0_45-b13)
OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode)

[centos@master-1 ~]$ service chronos status
Redirecting to /bin/systemctl status  chronos.service
chronos.service - Chronos
   Loaded: loaded (/usr/lib/systemd/system/chronos.service; enabled)
   Active: active (running) since Wed 2015-06-10 17:12:02 UTC; 1h 47min ago
 Main PID: 13104 (java)
   CGroup: /system.slice/chronos.service
           ├─13104 java -Xmx512m -Djava.library.path=/usr/local/lib:/usr/lib64:/usr/lib -Djava.util.logging.SimpleFormatter.format=%2$s %5$s%6$s%n -cp /usr/bin/...
           ├─13114 logger -p user.info -t chronos[13104]
           └─13115 logger -p user.notice -t chronos[13104]
Hint: Some lines were ellipsized, use -l to show in full.

[centos@master-1 ~]$ yum info chronos
Installed Packages
Name        : chronos
Arch        : x86_64
Version     : 2.3.3
Release     : 1.0.1.el7
Size        : 35 M
Repo        : installed
From repo   : mesosphere
Summary     : Fault tolerant job scheduler for Mesos which handles dependencies and ISO8601 based schedules
URL         : https://github.com/mesos/chronos
License     : Apache-2.0
Description : Fault tolerant job scheduler for Mesos which handles dependencies and ISO8601 based schedules

[centos@master-1 ~]$ yum info mesos
Installed Packages
Name        : mesos
Arch        : x86_64
Version     : 0.22.1
Release     : 1.0.centos701406
Size        : 33 M
Repo        : installed
From repo   : mesosphere
Summary     : Cluster resource manager with efficient resource isolation
URL         : http://incubator.apache.org/mesos/
License     : Apache-2.0
Description : Cluster resource ...

The exception can be found in the master's /var/log/messages. The relevant part is pasted here.
Let me know if there is more information you need from me. Thanks.

Thanks for investigating this, @Jeffdude. You are encountering the following bug,  which is fixed in release 2.3.4.  See the following checkin, which fixed the bug: https://github.com/mesos/chronos/commit/5c157b787aba18d3d61301339ef9f5b3c330085b#diff-dbe22945a328d8be8975a8af4dd0c402
Closing this issue, but feel free to reopen if you encounter it in the latest release.


code for larger network

Hi, thanks for implementing the ZOO paper in pytorch, it is quite useful.
I am wondering if your code can be also used for larger newtork (e.g. Inception-v3). As shown in the paper, there are some tricks for this large network.
Thanks!

Hi, I am glad you find the implementation useful.
Although, the code is not yet fully compatible for larger image size data like ImageNet (I think you want to use inception v3 for dataset like that) as it requires the functionality of  importance sampling, hierarchical attack, and dimentional reduction.
I have yet to include them in the code and they will be included soon.
Let me know if any other help needed.

Hi @yulu0724 I have modified the code but not yet tested. Not sure if this will help you. this is google colab link for the same link


Arithmetic on a pointer to void is a GNU extension.

LLVM 13.0.0 complains about this as a warning with -Wpointer-arith.

Thank you for fixing the pointer arithmetic warning for LLVM! It is merged into the code repository.


Annealer update

This includes a number of interrelated improvements to the schedule generator:

Improved room assignment to account for the fact that sessions created later receive fewer votes. (In the past, popular sessions created at the last minute got assigned to rooms that were too small.)
Improved schedule scoring to better account for the preferences of people who expressed interest in a large number of sessions.
Refactored scheduler code to improve readability. Parts of it even verge on being comprehensible now.
Improved interpretation of the app:generate_schedule task’s quality setting.
Switched to annealer gem (which was originally pulled out of this code, but has been improved since).

I'd like to include these improvements when generating this year’s schedule, especially the first. This is a big PR; however, almost all of the changes are isolated to the scheduler task (which we run manually), so I believe it’s reasonably safe.

Coverage decreased (-1.1%) to 91.33% when pulling 3b7306226dd05e586ba3a9af047be928e4a5b529 on annealer-update into 8eb3bbb6c28b9edb78c00cb3be555feaedd29b98 on master.

:+1: Looks good


cmd: always call setproctitle

We have to always call the gspt.SetProcTitle to adjust the title, or it will be reset to args[0] after the gspt package initialized.
See: https://github.com/erikdubbelboer/gspt/blob/ce36a5128377/gspt.go#L55

Codecov Report

Merging #1361 (66602dd) into main (5c6d557) will increase coverage by 0.19%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1361      +/-   ##
==========================================
+ Coverage   59.41%   59.61%   +0.19%
==========================================
  Files         128      128
  Lines       21663    21670       +7
==========================================
+ Hits        12872    12918      +46
+ Misses       7254     7205      -49
- Partials     1537     1547      +10

Impacted Files
Coverage Δ

cmd/main.go
56.12% <100.00%> (+0.51%)
:arrow_up:

cmd/bench.go
78.78% <0.00%> (-1.35%)
:arrow_down:

pkg/meta/tkv.go
75.44% <0.00%> (-0.75%)
:arrow_down:

pkg/chunk/disk_cache.go
80.29% <0.00%> (+1.47%)
:arrow_up:

pkg/chunk/cached_store.go
73.18% <0.00%> (+2.42%)
:arrow_up:

cmd/mount_unix.go
54.23% <0.00%> (+6.77%)
:arrow_up:

cmd/gc.go
64.76% <0.00%> (+15.84%)
:arrow_up:

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 5c6d557...66602dd. Read the comment docs.


Support invoking LaunchCudaKernel

Hi, I'm not a reviewer of your works, but since you are merging into main, I would ask you to kindly take some effort to rebase the commit history, here are some suggestions:

IMHO this PR should not need more than 2 commits
obviously, fix the conflicts
59cdac3 makes no sense in this PR, it should be the other way around.
there are consecutive commits named "Refine Code". Please squash them into one.
commit message should be meaningful, for example "temp" isn't a good one.

Please don't take this as criticism. I just want to point out the bad practice.
cheers.


add scala-collection-contrib

fyi @julienrf @szeiger
scala-collection-contrib is currently on M4, so my guess is this won't work until we do something about that, but I would like to do the addition anyway, we have plenty of failing projects in the 2.13 build, one more won't hurt

https://scala-ci.typesafe.com/job/scala-2.13.x-integrate-community-build/1778/ (404 til Jenkins gets up off the couch)

as expected, there are compilation failures. merging anyway


RFC: Hysteresis for parallel jobs vs parallel make

What I find in building my subset of ports for my workstation is that there are ports that bottleneck the build for a long time and they can be distributed through the dependency graph.  I can manually curate a list of ports for parallel make, but it seems to change as deps change and it's not obvious how to manage it efficiently by hand over time.  The other issue is, by adding too many ports to parallel make, you can overwhelm the system since they might run with other jobs.
What would be interesting is on a fresh run, the system uses parallel jobs only and records the build time for the ports.  Then, it "promotes" the longest builds into a parallel make bucket.  The system alternates between parallel jobs mode and parallel make mode as the dependency graph dictates (i.e. only approximately one parallel make should run at a time, so when it's time to run one you begin quiescing parallel jobs)
P.S. This is just a random idea for discussion, the issue doesn't need to stay open a long time since it's probably non-trivial to implement.

I can say as a user with a similar use-case (building a relatively small collection of ports for a workstation), I think this is an idea worth investigating. In fact this is happening right now:
[2017-09-25_17h38m37s] [parallel_build:] Queued: 977 Built: 741 Failed: 2   Skipped: 2   Ignored: 0   Tobuild: 232  Time: 03:42:26
        [03]: devel/llvm40                     build           (03:01:24)

yep, llvm is nearing 3 hours of compile time here too

There's more discussion related to this in #387.
I don't think this idea is complete. Allowing a build to use -jALL for all ports won't tell us much due to oversubscribing and random order of jobs due to other factors. It also doesn't tell us much about how effective using -j was. We would need quite a few builds to determine anything and ports changes all the time. There may be a useful case of tracking things to improve over time. At the very least for automatic queue boosting.
I had a branch (in #613) where I would allow bottlenecked jobs (the whole queue was stuck on a new job) to automatically use -jALL but it was only effective in small builds where things would get blocked on perl. For bulk -a it only added overhead and complexity. For small builds it was somewhat predictable which ports would bottleneck and you could just add those to the ALLOW_MAKE_JOBS_PACKAGES list.
Somewhat related also is exclusive ports in #87.
For now I'm trying to focus on distributed support.

As a followup to the discussion in #387, what if you had a poudriere.conf setting to set the -jX number for the ALLOW_MAKE_JOBS_PACKAGES packages (e.g. MAKE_JOBS or some such that would be set to, say, "4").  This would then give you enough information to do the scheduling Mateusz had mentioned.  You would know that packages in ALLOW_MAKE_JOBS_PACKAGES were going to use MAKE_JOBS and other packages were going to use 1, and that would let you then schedule at most NCPU + MAKE_JOBS - 1 "jobs".  This can overcommit, and you can have idle cores if a port doesn't use all N jobs all the time, but my guess is that might be simple-ish to implement and allow users to tweak their builds to get most of the gain they are looking for without requiring annotations for individual ports, etc.

Unless I’m misunderstanding you this, how many jobs for a port when using make jobs, is already a thing you can configure in make.conf. MAKE_JOBS_NUMBER
https://github.com/freebsd/freebsd-ports/blob/eb4f5f9ed525ec632afcd06109f2f93eb804d4ea/Mk/bsd.port.mk#L798
Regards,
Bryan Drewery

On Jun 19, 2021, at 10:43, John Baldwin @.***> wrote:

As a followup to the discussion in #387, what if you had a poudriere.conf setting to set the -jX number for the ALLOW_MAKE_JOBS_PACKAGES packages (e.g. MAKE_JOBS or some such that would be set to, say, "4"). This would then give you enough information to do the scheduling Mateusz had mentioned. You would know that packages in ALLOW_MAKE_JOBS_PACKAGES were going to use MAKE_JOBS and other packages were going to use 1, and that would let you then schedule at most NCPU + MAKE_JOBS - 1 "jobs". This can overcommit, and you can have idle cores if a port doesn't use all N jobs all the time, but my guess is that might be simple-ish to implement and allow users to tweak their builds to get most of the gain they are looking for without requiring annotations for individual ports, etc.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

One thing that's left this not on my mind as much is using globs in poudriere.conf:
ALLOW_MAKE_JOBS_PACKAGES="chromium rust* llvm* gcc* qt5-* firefox thunderbird suitesparse*"
This means I have to tweak the config less often.  But this kind of approach leads to poor interactivity at times (probably partially ZFS related) (and occasional spurious build failures when hitting some kind of limit on high core count  systems).

As a followup to the discussion in #387, what if you had a poudriere.conf setting to set the -jX number for the ALLOW_MAKE_JOBS_PACKAGES packages (e.g. MAKE_JOBS or some such that would be set to, say, "4"). This would then give you enough information to do the scheduling Mateusz had mentioned. You would know that packages in ALLOW_MAKE_JOBS_PACKAGES were going to use MAKE_JOBS and other packages were going to use 1, and that would let you then schedule at most NCPU + MAKE_JOBS - 1 "jobs". This can overcommit, and you can have idle cores if a port doesn't use all N jobs all the time, but my guess is that might be simple-ish to implement and allow users to tweak their builds to get most of the gain they are looking for without requiring annotations for individual ports, etc.

Hah, should have known someone had already thought this through.
Even though MAKE_JOBS_NUMBER exists, it doesn't prevent multiple "big" jobs like LLVM or rust from running in parallel, but this as described I think will do that. If poudriere tracked the number of "expected" jobs by checking the value of MAKE_JOBS_NUMBER for each port before launching the build, and pausing if you would exceed the allowable overcommitment, you could provide a great deal of flexibility with custom src.conf files while at the same time maximizing core usage.


A way to connect to the hub after reconnecting?

hello, the plugin works perfectly but can you please add a way to add a command in the config like /survival /lifesteal in the config menu, so that once it auto connects, we can connect back to our server and not just stay in the hub?

hello, the plugin works perfectly but can you please add a way to add a command in the config like /survival /lifesteal in the config menu, so that once it auto connects, we can connect back to our server and not just stay in the hub?

Sure. I'll try to add it in the near future.

Thank you, cause i've been looking for a mod like this, yours work perfectly, just keeps me in the hub, where as most big servers do have a hub and don't do directly connect to server you wanna play in.
I also noticed you have more plugins, some others I use like the nametagping, it would be helpful if you make a discord server instead so people like me can come there for issues/suggestions

hello, the plugin works perfectly but can you please add a way to add a command in the config like /survival /lifesteal in the config menu, so that once it auto connects, we can connect back to our server and not just stay in the hub?

Sure. I'll try to add it in the near future.

Thank you, cause i've been looking for a mod like this, yours work perfectly, just keeps me in the hub, where as most big servers do have a hub and don't do directly connect to server you wanna play in.
I also noticed you have more plugins, some others I use like the nametagping, it would be helpful if you make a discord server instead so people like me can come there for issues/suggestions

I don't have a Discord server yet, but I'll try to make one later. Thanks for your opinion. If you have any suggestions or issues, you can DM me on my Discord: teshoe_

I've added you on discord with username ChiefMadd, as you're dms are not open to everyone, can you please add me back


added changes for mobile version

In this Project I did:

[ ] add new sections in the HTML file.
[ ] Add new styles in the CSS file.

I had corrected most of the parts that you said in the previous review,
please check the codes more closely.

Message ID: @.***>

Added required changes.


[ARTEMIS-2130]Web console display blank ClientID for the core client

JIRA:- https://issues.apache.org/jira/browse/ARTEMIS-2130
While using core client. Connection.setClientID(String) , set the ServerSession metadata using the key "jms-client-id"

@michaelandrepearce @jbertram Thank you for the review. Yes, session and consumer models need to be re-worked and should have a generic method to get/set client_id accros the different client.
I am closing this PR.


Settings switch buttons should be a checkbox for a11y

Now that we may have 2 buttons in settings (animation & vibrate) I'll make this as "check box as button" component or something.


testing issue: ubuntu 1604 and avahi and lxc

Something is up with avahi on LXC.
https://lists.linuxcontainers.org/pipermail/lxc-users/2016-January/010791.html has some suggestion for how to fix it which is:

# apt-get install avahi-daemon avahi-utils
... bunch of errors ...
# systemctl disable avahi-daemon
# systemctl stop avahi-daemon
# apt-get autoremove
# apt-get install -f avahi-daemon avahi-utils*

I have not tested this yet.
The error ( I think ) from travis:

"Setting up libavahi-core7:amd64 (0.6.32~rc+dfsg-1ubuntu2) ...", "Setting up avahi-daemon (0.6.32~rc+dfsg-1ubuntu2) ...", "Job for avahi-daemon.service failed because the control process exited with error code. See "systemctl status avahi-daemon.service" and "journalctl -xe" for details.", "invoke-rc.d: initscript avahi-daemon, action "start" failed.", "dpkg: error processing package avahi-daemon (--configure):", " subprocess installed post-installation script returned error exit status 1", "dpkg: dependency problems prevent configuration of avahi-utils:", " avahi-utils depends on avahi-daemon; however:", "  Package avahi-daemon is not configured yet.", "", "dpkg: error processing package avahi-utils (--configure):", " dependency problems - leaving unconfigured",

At the end of the install cuda task one sees this from ansible or apt:

"Errors were encountered while processing:", " avahi-daemon", " avahi-utils", " libnss-mdns:amd64"]}

FYI I started working on this

I kind of did a small hack but I'm not quite sure yet if this was the right solution.
https://github.com/lae/ansible-role-cuda/commit/be7f284f0c81e6005ceeddf008e3003c2182303d
https://travis-ci.org/lae/ansible-role-cuda/builds/197455988
I'm doing some more debugging in a different branch.
I should note that I had moved a lot of the container building logic into a separate role to make it more portable across different roles, I hope that doesn't pose an issue for you?

To note:

tried (possibly amateurishly) to map container uids/gids to different ones on the host, in case the avahi user was conflicting (somehow) with the one on the host

doesn't actually seem to be the issue, but it's mentioned in some thread

tried creating the avahi user/group before installing avahi as someone mentioned as a solution, but it complained that the user existed

Also, I wasn't able to reproduce this myself on an AWS Ubuntu 14 instance with LXC. Not sure why - so I'm limited to debugging through Travis testing at the moment. I might try to reproduce on GCE later tonight or something (I forgot that's what Travis was using).

No problem with having the lxc-testing in a different role.
Does seem to be relating to the "resources" thing and maybe dbus?
https://travis-ci.org/CSC-IT-Center-for-Science/ansible-role-cuda/jobs/197554042#L1616-L1619

Opened #12 with the solution I mentioned last week - performing the install of avahi-daemon and then telling it to not run setrlimit so the daemon would start.
https://loune.net/2011/02/avahi-setrlimit-nproc-and-lxc/

Looks good now. Thanks!


[FLOC-4364] Restart the dataset agent after we reboot a node.

If you don't restart the dataset agent after you reboot a node, flocker doesn't work on CentOS on Rackspace.
I did not root-cause the issue.
Should we root-cause it rather than working around it? Should we open a new FLOC to root cause, but in the meantime merge this so that we can test for other regressions? These are the questions I leave for the reviewer.

When I looked into it earlier there were Keystone ConnectionRefused errors.
https://clusterhqteam.slack.com/archives/engineering/p1459366970000667

richardw
12:42 Rackspace Keystone server failures seem to be causing us some problems
12:42

            +-- flocker:node:agents:blockdevice:list_volumes@2,2,2
                |-- _HOSTNAME: acceptance-test-buildbot-fxhurx326zmr2-0.localdomain
                |-- _PROCESS_NAME: flocker-dataset-agent.service
                |-- count: 5
                |-- function: _discover_raw_state
                `-- timestamp: 2016-03-30 05:11:23.781662
            +-- flocker:node:agents:blockdevice:openstack@2,2,3,1/started
                |-- _HOSTNAME: acceptance-test-buildbot-fxhurx326zmr2-0.localdomain
                |-- _PROCESS_NAME: flocker-dataset-agent.service
                |-- operation: [u'list', [], {}]
                `-- timestamp: 2016-03-30 05:11:23.783402
                +-- flocker:node:agents:blockdevice:openstack@2,2,3,2/failed
                    |-- _HOSTNAME: acceptance-test-buildbot-fxhurx326zmr2-0.localdomain
                    |-- _PROCESS_NAME: flocker-dataset-agent.service
                    |-- exception: keystoneclient.openstack.common.apiclient.exceptions.ConnectionRefused
                    |-- reason: Unable to establish connection to https://identity.api.rackspacecloud.com/v2.0/tokens
                    `-- timestamp: 2016-03-30 05:11:23.786389
            +-- flocker:agent:discovery@2,2,4/failed
                |-- _HOSTNAME: acceptance-test-buildbot-fxhurx326zmr2-0.localdomain
                |-- _PROCESS_NAME: flocker-dataset-agent.service
                |-- exception: keystoneclient.openstack.common.apiclient.exceptions.ConnectionRefused
                |-- reason: Unable to establish connection to https://identity.api.rackspacecloud.com/v2.0/tokens
                `-- timestamp: 2016-03-30 05:11:23.786890

12:43

$ grep "flocker:node:agents:blockdevice:openstack" remote_logs.log | wc -l
1738
$ grep "flocker:node:agents:blockdevice:openstack" remote_logs.log  | grep failed | wc -l
653

12:43
I think that might be causing our timeouts @marcus.ewert because when that happens we delay the next loop.
itamarst
12:44 my experience is that if you reboot a node you start getting those errors
12:44
until you restart the dataset agent
12:44
no idea why

I found this bug report

https://bugs.launchpad.net/python-keystoneclient/+bug/1309180

Which has been marked as "won't fix" but it suggests that maybe the keystone service has "internal" and "external" urls.
It makes me wonder if we're connecting to the Rackspace keystone sever before an external IP address has been configured on the machine. So we're attempting to connect with the private IP as source IP and getting this error. Just a guess.
Let's merge this and investigate later.
Perhaps we're better off discussing why disabling the container agent requires a reboot at all and also discussing when we'll be able to remove the container agent and all related tests.
Perhaps the dataset agent connects to

Thanks for adding context! I'm going to merge this now.


Azure - Incorrect unit used for flavor memory size

In Azure, the flavor memory unit is displayed incorrectly (eg KB instead of GB).
the fix:
The memory attribute of the flavor must be stored in bytes
The memory attribute of the instance must be stored in MB
https://bugzilla.redhat.com/show_bug.cgi?id=1317921

@miq-bot add_label darga/yes


[BreadcrumbBar] Fix issue where setting ItemsSource was not respected

Description

When itemssource was changed, the itemsrepeater was not provided the new itemssource.
Motivation and Context

Closes #5986
How Has This Been Tested?

Added new API test
Screenshots (if appropriate):

/azp run


Scatterplot Layer - circle opacity on overlap?

I am using a scatterplot layer with black circles that overlap. I've set opacity on them and the layer as a whole does get opaque; however, the circles are not transparent to each other. Ie, the circles blend together in the same shade, rather than showing the overlaps in a darker shade:

I defined my individual points in the format:
{
  position: [LAT,LONG],
  radius: 3,
  color: [0,0,0,55],
}

And the layer in the format
var myLayer = new ScatterplotLayer({
  id: "my-layer",
  data: myData,
  radiusScale: 50,
  outline: false,
  opacity: 0.5
});

Is there something I am doing wrong here? How do I get the circles to show their overlap?

How do I get the circles to show their overlap?

Great question. We should probably add some docs about this. Can provide more information later, but as a first quick answer to hopefully get you going again, WebGL has blend modes that allow you to control this. Poke around the code base to learn more, see how the other deck.gl examples are doing it. If you need more information, let us know!

Ok thanks I will do that. If you can point me to a specific example that does it, that will help me poke around :) Haven't found one yet but I will look harder

Ok, I got it with
gl.enable(gl.BLEND);
gl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA);

But no clue if that's a good blend function to use or not :). If you can provide any resources or suggestions for a scatterplot overlay, that would be great. Thanks for the quick response

The default blend mode of deck.gl is
gl.blendFunc(GL.SRC_ALPHA, GL.ONE_MINUS_SRC_ALPHA)
This is set during _onRendererInitilialized(). In case you are wondering about WebGL's blend mode and it's effect, please check a wonderful webpage here:
http://delphic.me.uk/webglalpha.html


Adding a member

How does one become a member on the website (https://heliopython.org/people/)? I can open a PR to add myself, but I wasn't sure if there were more requirements. Since I have a project listed (with more on the way), I'd like to be listed. I will try to attend more meetings, but sometimes it's difficult because of conflicts. Thanks!

Good question! I don't know that we document this well anywhere. There's no formal process beyond opening a PR to add yourself to _data/members.yml. I certainly count you as a member, so if you want to open that PR I'll merge it.

Done! Thanks!


Phrases on the subtitles not displaying properly

Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
Latest (3.2.0)
Are you using the demo app or your own custom app?
Custom app
If custom app, can you reproduce the issue using our demo app?
Yes, on "Sintel" at 2:14 the subtitle "A dragon." doesn't rendered at first, on full screen, but I rewind a few seconds and appeared as expected. And at 2:17 "I'm searching for someone." wasn't displayed, without full screen.
What browser and OS are you using?
Microsoft Edge 92.0.902.55
What are the manifest and license server URIs?
Sent to the email.
What configuration are you using?  What is the output of player.getConfiguration()?
Sent to the email.
What did you do?
Played the movie, watched until missing phrases on the subtitles.
What did you expect to happen?
Display all phrases on the subtitles properly.
What actually happened?
Sometimes, during a dialog, some sentences are not displayed correctly, either with full screen on or off. Apparently they appear in the HTML (through the browser's developer mode) but they don't actually show up on the screen. This inconsistency was also noticed in some parts of the shaka player demo. After a few seconds backwards it may show up actually.

@renatosalopes, have you able to solve this issue ?
I run into it a while ago, my solution (accidentally discoverd) was to put a canvas on top of the subtitle to force chrome to render https://github.com/google/shaka-player/issues/3432.
It work for me :shrug: , I hope it work for you too.

Hey @kocoten1992, thanks for the suggestion!
I talked to another developer here at the company, he set the z-index at 999 and it worked as expected.
As I didn't see another issue open and I could reproduce this failure in the demo so I thought it was something not cataloged.
Thank you again. I will close the topic.

Hello!
I am experiencing the same bug. I've done a bit of investigating, and noticed a few things about affected cues:

Frequently, this bug occurs when the endTime of the previous cue is equal to the startTime of the next cue. Perhaps a race condition is present in the chrome rendering library which doesn't re-render the dom if the insertion/deletion happens too quickly in succession?
This is irregular and seemingly random. I am not able to reproduce with the same cue repeatedly.
This issue appears more frequently when in full-screen mode.

A potential fix may be to prevent adding/removing elements from the dom, and simply updating the text within a core 'subtitle' element. However I'm not convinced that this is an effective way to display captions.
Not sure where to turn to next. Will attempt with the z-index fix :)

I'd love to hear more about your experiment!


Tooltip font not showing correctly

Current Behavior

Expected Behavior
No response
Tamagui Version
1.30.21

Reproduction
go to https://tamagui.dev/docs/components/tooltip/1.0.0

System Info
No response

fixed


Add config file for development environment

Summary

Previously the development environment and production environment share the same config file path, this cause a lot of confusion even for me. This PR adds a config file path for the development environment (~/.config/wukong/dev/config.toml). Running wukong without prod features, which only happens during development, will use the development environment config file.

Ticket:
What's Changed

Added

[x] add config file for development environment

Changed

[x] migrate lazy_static crate to once_cell crate since Rust will include once_cell API in the future. https://github.com/clap-rs/clap/issues/3828

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: jk-gan
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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


Updating lambda http version to use the current minor release.

I'm not sure if this is the best approach, since it could introduce breaking changes in the future. I think for now, let's just update lambda_http to the newest version and release a new version of this crate in tandem.

I have updated it to the current minor release


Bill cosponsors not showing up in the "cosponsors" field

Here's my query:
https://congress.api.sunlightfoundation.com/bills/search?query="lgbtq"&order=introduced_on&fields=cosponsors_count,cosponsors

Here's the results:
 {
   "results": [
     {
       "bill_id": "hres772-114",
       "cosponsors_count": 15,
       "search": {
         "score": 3.3260274,
         "type": "bill"
       }
     },
     {
       "bill_id": "s2765-114",
       "cosponsors_count": 15,
       "search": {
         "score": 0.1978575,
         "type": "bill"
       }
     },
     {
       "bill_id": "sres399-114",
       "cosponsors_count": 2,
       "search": {
         "score": 0.29858115,
         "type": "bill"
       }
     },
     {
       "bill_id": "hres329-114",
       "cosponsors_count": 17,
       "search": {
         "score": 2.0582209,
         "type": "bill"
       }
     }
   ],
   "count": 4,
   "page": {
     "count": 4,
     "per_page": 20,
     "page": 1
   }
 }

Each bill has multiple cosponsors, yet, none of them are provided in the cosponsors field.

This is actually an issue for the Sunlight API: https://github.com/propublica/congress-api-docs/issues/


[2.1] Docs for PSR-7 support

Need to document #11328

Things to document:

PSR-7 concept.
Middlewares concept.
Using existing middleware.
Wiring your own middleware.


cargo guppy commandline improvements

While exploring Libra's dependency graph I found some bugs and made a number of improvements:

enable filter options on dups command
added filter options for direct third-party dependencies
remove the count command, which duplicates select and can be replaced by ... | wc -l
worked around bug with cyclic graph by iterating over edges instead of nodes
fixed a bug with root set selection

@bmwill @sunshowers this is ready for review I think


Incorrect representation of mandatory parameters

Every parameter is defined as "optional", but trying to execute the cmdlet without parameters results in an error ("Get-DnsServerResourceRecord : Parameter set cannot be resolved using the specified named parameters.").
But either the parameter names -RRType or -ZoneName seem to be necessary to define a valid parameter set name, AND -ZoneName must also be provided in both parameter sets.

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

ID: a3339b20-fc7d-5b03-d2cb-c83d603b7b1e
Version Independent ID: e095ff30-ca24-6b9a-4f9b-bedf8fdc4109
Content: Get-DnsServerResourceRecord (DnsServer)
Content Source: docset/winserver2022-ps/dnsserver/Get-DnsServerResourceRecord.md
Product: w10
Technology: windows
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Smart assertion doesn't work with raw api

Are you requesting a feature or reporting a bug?
Bug
What is the current behavior?
Assertion executes before testcafe navigates to the next page
What is the expected behavior?
Smart assertion should wait for page to load
How would you reproduce the current behavior (if this is a bug)?
Run specified test.
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code
{
    "fixtures": [
        {
            "name": "New Fixture",
            "pageUrl": "http://9-18ok.ru/content/about_company",
            "tests": [
                {
                    "name": "New Test",
                    "commands": [
                        {
                            "callsite": "0",
                            "options": {},
                            "selector": {
                                "type": "js-expr",
                                "value": "Selector('[class^=\"src-components-Header-HeaderContacts-_logo src-com\"][data-reactid=\"30\"]').find('svg').find('g').find('path').nth(1)"
                            },
                            "type": "click"
                        },
                        {
                            "actual": {
                                "type": "js-expr",
                                "value": "Selector('div').withText('Новинки').nth(15).find('[class^=\"src-components-Home-_titleSlider src-components-Ho\"]').exists"
                            },
                            "assertionType": "ok",
                            "callsite": "1",
                            "options": {},
                            "type": "assertion"
                        }
                    ]
                }
            ]
        }
    ]
}

Specify your

operating system: Windows 10
testcafe version: 0.19.1
node.js version: 7.9.0

I'm working on this


Add dev env documentation for Ubuntu. Change default Vagrant to CentOS.

Thanks @myechuri - this is certainly a section which is worth improving, and explaining how we actually do things (instead of the quickest way to get set up - Vagrant and tox) is really useful. Please resubmit when you have addressed the comments.

Can someone verify this PR?

This PR has been around for a while. Maybe we should close it for now?

This has been mostly addressed  in a separate PR: #2730


Feature request: support alternate data format in bar chart

Right now the bar chart only supports data in an array of numbers.
I'd like to propose also supporting an array of objects like { x:1, y:2 }
The reason for this request is so that you can plot bars on a time chart when source:data (after that feature is implemented)

@benmccann good feature. I think this is a duplicate of #2892.


Correct usage of EC2 filters

Im trying to use filters such as describe_instances_filters. Cant find an example anywhere and I have tried what I think should be correct from the documents...
ExAws.EC2.describe_instances([max_results: 5, filter_1: [tag: "atagvalue"] ] )
Have I misread the documentation? How should this be done?
Thanks

That looks correct based on the typespecs. I didn't actually write that bit though so maybe @sashaafm can weigh in?
@sashaafm is there a reason why we need the _1 suffix on filter_1 ?

It looks as though the filters might be fundamentally wrong, but I'm not sure. The filter_1 is so that the querystring for AWS ends up as &Filter.1.Name=...&Filter.1.Value=...
This is a working query for example
%ExAws.Operation.RestQuery{http_method: :get, params: %{"Action" => "DescribeInstances", "Filter.1.Name" => "private-dns-name", "Filter.1.Value.1" => _your_DNS_, "Version" => "2015-10-01"}, path: "/", service: :ec2}
But looking into the codebase I cant see how the filters in the array get turned into those Name and Value pairs

yeah I agree. The EC2 API is massive and this just seems to be an oversight. @sashaafm any chance you've got some bandwidth to tackle this? If not I'll try to take a look at it later this week.

By way of update: This project is at this point a product of not just my own efforts but the efforts of many collaborators. I do not have the time to be 100% involved in every aspect of this enormous API. Particularly in situations like these where I am not the original author of the API in question, I am going to defer to the original author or new contributors who want to make improvements.
Specifically in this case that's @sashaafm.

Not a problem. For now I have a workaround, furthermore I hope to find time to have a go at this myself. Some ideas but little time.

Hello @thehosepipe and @benwilson512 yes I wrote both the EC2 and RDS API implementations. I'm going to try to have a look at this during the weekend (I'll try to allocate an hour or two). I was pretty sure everything was working as I tried to test every single function with the various input possibilites (and I also heavily used both services in the past), but like Ben said it might have been an oversight, the EC2 API is truly huge.

I ran into this issue with describe_tags - the filter implementation is broken. I'm going to post a PR for that one and get some feedback, then I think all of the describe_% filter params likely need the same treatment.

ps this is the syntax you can currently use to do a tag/value filter as in the original example:
ExAws.EC2.describe_instances([{:"Filter.1.Name", "tag-value"}, {:"Filter.1.Value.1", "atagvalue"}, {:"Filter.2.Name", "tag-key"}, {:"Filter.2.Value.1","tagname"}])

Fixed in master.


BUG: Retread templates and manifests to support ECR integration with buildservice component of TAP

See https://docs.vmware.com/en/VMware-Tanzu-Application-Platform/1.3/tap/GUID-tanzu-build-service-install-tbs.html#use-aws-iam-authentication-for-registry-credentials-5.  The manifests will need some variant capability.

Commit in this PR are meant to address this defect. Needs testing!

Completed as of https://github.com/pacphi/gha-workflows-with-gitops-for-tanzu-application-platform/commit/aba0e6c0bc47c537a0a95e874cc09209e3b813a4.


Mutations in the Example Not Working

I was trying to get the example to work, but I keep getting this error:
gestalt/blogs/mutations/CreatePost.js:19
      title: types.String,
             ^
ReferenceError: types is not defined

It appears that each Mutation example has something like this:
inputFields: {
    title: types.String,
    text: types.String,
  },
  outputFields: {
    user: types.User,
  }

but the "types" is undefined and this causes babel to croak if you include any of the mutations.
I thought that most likely something needed to be imported, but I was unable to figure out the appropriate source for "types"

I found the issue:
in function transformSimpleMutationDefinition(definition) in gestalt-graphql/generate
+  Object.keys(definition.inputFields).forEach(function (key) {
-  Object.values(definition.inputFields).forEach(function (key) {
...
+  Object.keys(definition.outputFields).forEach(function (key) {
-  Object.values(definition.outputFields).forEach(function (key) {

updated in 0.0.20 - thank you for catching this!